:root{
  --bg:#ffffff;
  --text:#140f0f;
  --silver:#d2d2d2;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  overflow-x:hidden;
}

body{
  font-family:"Instrument Sans",sans-serif;
  background:var(--bg);
  color:var(--text);
  overflow-x:hidden;
}

h1,h2,h3,h4,h5,h6{
  letter-spacing:-0.05em;
  line-height:0.95;
  font-weight:500;
}

p{
  letter-spacing:-0.02em;
  line-height:1.3;
}

.section-header{
  padding:0 4vw 4vh;
}

.section-header h2{
  font-size:clamp(2.5rem,4vw,5rem);
  max-width:14ch;
}

.section-header p{
  margin-top:1rem;
  font-size:clamp(1.05rem,1.8vw,1.4rem);
  max-width:58ch;
}

img{
  display:block;
  width:100%;
}

.contact-pill{
  position:fixed;
  left:50%;
  bottom:32px;
  transform:translateX(-50%);
  z-index:999;
  width:130px;
  height:56px;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  color:white;
  border-radius:999px;
  background:transparent;
  border:1px solid rgba(255,255,255,.5);
  overflow:hidden;
  cursor:pointer;
  transition:
    width .45s cubic-bezier(.22,1,.36,1),
    background .3s ease,
    border-color .3s ease;
}

.contact-pill:hover,
.contact-pill:focus-within,
.contact-pill:active{
  width:230px;
}

.pill-text{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%, -50%);
  width:100%;
  height:1em;
  overflow:hidden;
  text-align:center;
}

.text-layer{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transform:translateY(0%);
  transition:transform .45s cubic-bezier(.22,1,.36,1);
  will-change:transform;
}

.text-layer span{
  height:1em;
  line-height:1;
  white-space:nowrap;
  letter-spacing:-0.01em;
}

.contact-pill:hover .text-layer,
.contact-pill:focus-within .text-layer,
.contact-pill:active .text-layer{
  transform:translateY(-50%);
}

.contact-pill.dark{
  background:#1a1a1a;
  border-color:#1a1a1a;
  color:white;
}

.hero{
  position:relative;
  height:100vh;
  overflow:hidden;
  isolation:isolate;
}
.hero-column{
  position:absolute;
  top:0;
  width:50%;
  height:100%;
}
.hero-column.left{
  left:0;
}
.hero-column.right{
  right:0;
}
.hero-stack{
  position:relative;
  width:100%;
  height:100%;
}
.hero-image{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}
.reveal-base{
  z-index:1;
}
.reveal-overlay{
  z-index:2;
}
.hero-title{
  position:absolute;
  inset:0;
  z-index:50;
  display:flex;
  align-items:center;
  justify-content:center;
  pointer-events:none;
  mix-blend-mode:difference;
}
.hero-title h1{
  color:white;
  font-size:clamp(2.5rem,5vw,5rem);
  text-align:center;
}

.intro-copy{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:10vh 4vw;
}

.intro-line{
  margin:0;
  color:#d2d2d2;
  font-size:clamp(2.5rem,5vw,6rem);
  line-height:.98;
  letter-spacing:-0.04em;
  font-weight:500;
}

.intro-line:not(:last-child){
  margin-bottom:1em;
}

.carousel-section{
  min-height:100vh;
  display:block;
  padding:10vh 0;
  overflow:hidden;
}

.parallax-section{
  width:100%;
  padding:10vh 0;
}

.parallax-frame{
  position:relative;
  width:calc(100% - 8vw);
  max-width:1400px;
  margin:0 auto;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:#f6f6f6;
}

.parallax-media{
  position:absolute;
  top:50%;
  left:50%;
  width:110%;
  height:110%;
  transform:translate(-50%, -50%);
  will-change:transform;
}

.parallax-media img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.depth-flythrough{
  width:100%;
  min-height:100vh;
  padding: 10vh 0;
  background:var(--bg);
  color:var(--text);
}

.depth-frame{
  position:relative;
  width:100%;
  height:100vh;
  overflow:hidden;
}

.scene{
  width:100%;
  height:100%;
  perspective:1000px;
  overflow:hidden;
}

.world{
  position:relative;
  width:100%;
  height:100%;
  transform-style:preserve-3d;
}

.world .card{
  position:absolute;
  left:50%;
  top:50%;
  width:clamp(280px,26vw,420px);
  aspect-ratio:3 / 4;
  background:#f6f6f6;
  overflow:hidden;
  transform-style:preserve-3d;
  will-change:transform, opacity, filter;
}

.world .card-inner{
  width:100%;
  height:100%;
  transition:transform .3s ease, filter .3s ease, opacity .3s ease;
}

.world .card img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.world .card::after{
  content:'';
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(180deg,transparent 0%,rgba(255,255,255,.18) 100%);
}

.world .card{
  opacity:.92;
  filter:brightness(.98);
}

.world .card.active{
  opacity:1;
  filter:brightness(1.02);
}

.world .card.active .card-inner{
  transform:scale(1.03);
}

.cube-section {
  position: relative;
  padding: 12vh 0 12vh;
  overflow: visible;
  background:var(--bg);
  color:var(--text);
}

.cube-section .cube-wrap {
  width: min(86vw, 720px);
  max-width: 720px;
  margin: 5rem auto;
  perspective: 1800px;
  perspective-origin: center center;
  overflow: visible;
}

.cube-section .cube {
  --cube-size: min(70vw, 420px);
  width: var(--cube-size);
  height: var(--cube-size);
  margin: 0 auto;
  position: relative;
  transform-style: preserve-3d;
  transform-origin: center center;
  transform: rotateX(-25deg) rotateY(35deg);
  will-change: transform;
}

.cube-section .cube .face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  backface-visibility: hidden;
  transform-style: preserve-3d;
  box-shadow: 0 24px 80px rgba(20,20,20,0.08);
}

.cube-section .cube .face img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cube-section .cube .face.front {
  transform: rotateY(0deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-section .cube .face.back {
  transform: rotateY(180deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-section .cube .face.right {
  transform: rotateY(90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-section .cube .face.left {
  transform: rotateY(-90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-section .cube .face.top {
  transform: rotateX(90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-section .cube .face.bottom {
  transform: rotateX(-90deg) translateZ(calc(var(--cube-size) / 2));
}

.cube-section .cube .face.back img {
  transform: rotateY(180deg);
}

.cube-section .cube .face.bottom img {
  transform: rotateZ(180deg);
}

.cube-section .cube .face,
.cube-section .cube .face img {
  pointer-events: none;
}

.carousel-container{
  width:100%;
  overflow:hidden;
  padding-left:4vw;
}

.carousel-track{
  display:flex;
  gap:28px;
  align-items:center;
  will-change:transform;
}

.carousel-item{
  flex:0 0 360px;
  will-change:transform;
}

.carousel-item img{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  display:block;
}

.section-caption{
  padding:4vh 4vw 0 4vw;
}

.section-caption p{
  font-size:1rem;
  line-height:1.4;
}
.gallery-section{
  width:100%;
  padding:10vh 0;
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:0;
  width:100%;
}

.gallery-item{
  position:relative;
}

.gallery-img{
  width:100%;
  height:70vh;
  overflow:hidden;
}

.gallery-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1);
  transition:transform 1.2s cubic-bezier(.22,1,.36,1);
  will-change:transform;
}

.gallery-item:hover .gallery-img img{
  transform:scale(1.12);
}

.photo-strip-section{
  width:100%;
  padding:10vh 0;
}

.photo-strip{
  display:grid;
  grid-template-columns:repeat(6,1fr);
  gap:0;
  width:100%;
  font-size:0;
}

.photo-item{
  position:relative;
  height:55vh;
  overflow:hidden;
  font-size:1rem;
}

.outro-section{
  position:relative;
  width:100vw;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:transparent;
  color:#ffffff;
  text-align:center;
  isolation:isolate;
}

.outro-bg{
  position:absolute;
  top:50%;
  left:50%;
  width:130%;
  height:130%;
  transform:translate(-50%, -50%);
  background-image:url("assets/athletics.png");
  background-size:cover;
  background-position:center;
  filter:brightness(0.78);
  will-change:transform;
}

.outro-copy{
  position:relative;
  z-index:2;
  max-width:56ch;
  padding:0 4vw;
  opacity:0;
  transform:translateY(32px);
  transition:opacity 0.9s ease, transform 0.9s ease;
  mix-blend-mode:difference;
  color:#ffffff;
}

.outro-copy.visible{
  opacity:1;
  transform:translateY(0);
}

.outro-heading{
  font-size:clamp(2.5rem, 5vw, 5rem);
  line-height:1.02;
  margin:0;
  letter-spacing: -0.05em;
}

.outro-subtitle{
  margin-top:1.25rem;
  font-size:clamp(1rem, 2vw, 1.2rem);
}

.photo-item p{
  position:absolute;
  bottom:16px;
  left:16px;
  color:white;
  font-size:0.95rem;
  letter-spacing:-0.01em;
  mix-blend-mode: difference;
}

.photo-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform:scale(1);
  transition:transform 1.2s cubic-bezier(.22,1,.36,1);
  will-change:transform;
}

.photo-item:hover img{
  transform:scale(1.12);
}

.reveal{
  opacity:0;
  transform:translateY(12px);
  transition:opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
  will-change:opacity, transform;
}
.reveal.is-visible{
  opacity:1;
  transform:translateY(0);
}

.site-footer{
  background:var(--bg);
  color:var(--text);
  padding:8vh 4vw 0.5rem;
  text-align:left;
}

.site-footer .footer-inner{
  width:100%;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.site-footer .footer-copy{
  font-size:0.85rem;
  line-height:1.4;
  margin:0 0 0.75rem 0;
}

.site-footer .outro-heading.footer-strap{
  margin:0;
  color:var(--text);
  font-size:clamp(2.5rem,5vw,5rem);
  line-height:1.02;
  margin-top:0.25rem;
  padding-bottom:2px;
}

.site-footer .footer-copy a{
  color:inherit;
  text-decoration:underline;
}

.depth-cut-section{
  width:100%;
  padding:10vh 0;
}

.depth-cut-frame{
  position:relative;
  width:calc(100% - 8vw);
  max-width:1400px;
  margin:0 auto;
  aspect-ratio:16 / 9;
  overflow:hidden;
  background:transparent;
}

.depth-cut-scene{
  position:relative;
  width:100%;
  height:100%;
  perspective:900px;
  transform-style:preserve-3d;
}

.depth-cut-scene .strip{
  position:absolute;
  top:0;
  height:100%;
  overflow:hidden;
  will-change:transform;
}

.depth-cut-scene .strip img{
  position:absolute;
  top:0;
  left:0;
  height:100%;
  width:500%;
  object-fit:cover;
  will-change:transform;
}

.cookie-banner{
  position:fixed;
  right:24px;
  bottom:24px;
  z-index:9999;
  width:min(33vw, 520px);
  min-width:320px;
  display:none;
  flex-direction:column;
  gap:1rem;
  padding:1.25rem;
  background:#140f0f;
  color:#ffffff;
  font-size:0.9rem;
  font-weight:400;
  letter-spacing:-0.01em;
  line-height:1.4;
}

.cookie-actions{
  display:flex;
  gap:.5rem;
}

.cookie-actions button{
  height:44px;
  padding:0 1rem;
  border-radius:0;
  cursor:pointer;
  font:inherit;
  font-weight:400;
  letter-spacing:-0.01em;
  transition:all .25s ease;
}

#cookie-accept{
  background:#ffffff;
  color:#140f0f;
  border:none;
}

#cookie-accept:hover{
  transform:translateY(-1px);
}

#cookie-reject{
  background:transparent;
  color:#ffffff;
  border:1px solid rgba(255,255,255,.25);
}

#cookie-reject:hover{
  border-color:rgba(255,255,255,.5);
  transform:translateY(-1px);
}

@media(max-width:768px){
  .cookie-banner{
    left:24px;
    right:24px;
    width:auto;
    min-width:0;
  }
  .cookie-actions{
    width:100%;
  }
  .cookie-actions button{
    flex:1;
  }

}

@media (max-width:900px){
.hero-column{
  width:50%;
}
.hero-title h1{
  font-size:clamp(3rem,14vw,6rem);
}
.gallery-grid{
  grid-template-columns:1fr 1fr;
}
.gallery-img{
  height:45vh;
}
.photo-strip{
  grid-template-columns:repeat(3,1fr);
}
.photo-item{
height:30vh;
}
}