:root{
  /* Yellowed-magazine palette */
  --ink: #11110f;
  --paper: #f3eddc; /* brighter base */
  --tone-paper: #f3eddc;
  --tone-ink: #6E4B2F; /* Desktop - matches MP4 video */
  --accent: #d4b85a;
  --accent-dark: #b99d45;
  --accent-light: #fff3bd;
  --shadow: rgba(0,0,0,.18);
  --shadow-light: rgba(0,0,0,.08);
  --border: rgba(255,255,255,.3);
  --border-dark: rgba(0,0,0,.1);
}

*{box-sizing:border-box;margin:0;padding:0}
html{font-size:16px;line-height:1.6;color:var(--ink);background:#ffffff;font-family:'Special Elite',ui-monospace,'Courier New',monospace}
body{overflow-x:hidden}
html{overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{border:none;background:none;cursor:pointer}

.wrap{max-width:70%;margin:0 auto;padding:0 1.5rem}

@media (max-width: 768px) {
  .wrap{max-width:100%}
}
section{padding:clamp(3rem,8vw,6rem) 0}
.tone-paper{background:var(--tone-paper)}
.intro-section.tone-paper{background:#ffffff} /* Override for neutral intro section */
.tone-ink{background:var(--tone-ink);color:var(--paper)}
.torn{position:relative;overflow:hidden}
.torn::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent 0%,var(--border-dark) 20%,var(--border-dark) 80%,transparent 100%)}
.torn::after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:linear-gradient(90deg,transparent 0%,var(--border-dark) 20%,var(--border-dark) 80%,transparent 100%)}
.torn::before{content:none}

header{position:relative;min-height:100vh;display:grid;place-items:center;text-align:center;overflow:hidden;background:#ffffff}
.hero-copy{position:relative;display:inline-block;padding:14px 22px;border-radius:40px;background:rgba(255,249,220,.72);box-shadow:0 12px 30px rgba(0,0,0,.18);border:1px solid rgba(255,255,255,.3)}
.badge{display:inline-block;padding:0.375rem 0.625rem;border:1px solid currentColor;border-radius:999px;font-size:0.75rem;letter-spacing:.04em;text-transform:uppercase;color:#5c5243;background:#fff3bd}
.title{font-size:clamp(2.75rem,8vw,8.75rem);font-style:italic;line-height:.9;margin:0.375rem 0 0.75rem;color:#000;text-shadow:0 0.125rem 0.5rem rgba(255,255,255,.9);letter-spacing:-.01em;font-family:'Zalando Sans',ui-sans-serif,system-ui,-apple-system,sans-serif;text-transform:uppercase}
.subtitle{font-size:clamp(1.25rem,3vw,2rem);color:#493f2d;max-width:48ch;margin:0 auto 0.375rem;font-family:'Special Elite',ui-monospace,'Courier New',monospace;font-weight:400;font-style:normal}
.cta-row{display:flex;gap:0.75rem;justify-content:center;flex-wrap:wrap;margin-top:0.875rem}
.btn{appearance:none;border:2px solid #1d170f;background:#11110f;color:#fff3c4;padding:0.75rem 1.125rem;border-radius:0.875rem;font-weight:800;cursor:pointer;box-shadow:0 0.375rem 0 #d4b85a;transition:transform .08s ease,box-shadow .08s ease}
.btn.secondary{background:transparent;color:#11110f;border-color:#11110f}
.btn:hover{transform:translateY(-1px)}
.btn:active{transform:translateY(0.125rem);box-shadow:0 0.125rem 0 #b99d45}

h2{font-size:clamp(3rem,3.5vw,4rem);line-height:1.05;margin:0 0 1rem;font-family:'Zalando Sans',ui-sans-serif,system-ui,-apple-system,sans-serif;font-style:italic;text-transform:uppercase}
p,li{font-size:clamp(1rem,1.2vw,1.25rem);font-family:'Special Elite',ui-monospace,'Courier New',monospace;letter-spacing:0.03em;line-height:2rem}
.muted{opacity:.72}

.grid{display:grid;gap:clamp(18px,3vw,28px);grid-template-columns:1fr}
@media(min-width:840px){.grid.two{grid-template-columns:1.3fr .9fr}}

.card{background:rgba(255,255,255,.6);border:1px solid var(--border);border-radius:1rem;padding:1.5rem;box-shadow:0 8px 24px var(--shadow-light)}
.card.dark{background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.03));border:1px dashed rgba(255,255,255,.35)}

/* Parallax hero */
.parallax-scene{position:absolute;inset:0;pointer-events:none;overflow:hidden}
.layer{position:absolute;will-change:transform;filter:drop-shadow(0 12px 24px rgba(0,0,0,.35))}
.layer img{display:block;max-width:100vw;height:auto}
#tower-layer .tower-img{max-width:100vw;height:auto;width:auto}
@media (orientation: portrait){
  header{min-height:100vh}
  #tower-layer{top:0}
  #tower-layer .tower-img{width:100vw;height:150vh;object-fit:cover;}
}

/* Collage layer specific sizing */
.high-school-layer img {
  max-width: min(40vw, 400px);
}

.moving-layer img {
  max-width: min(40vw, 400px);
}

.paparazzi-layer img {
  max-width: min(30vw, 300px);
}

.lounge-layer img {
  max-width: min(40vw, 400px);
}

.andrey-shishkin-layer img {
  max-width: min(30vw, 300px);
}

/* Mobile overrides for collage layers */
@media (max-width: 768px) {
  .high-school-layer img {
    max-width: min(80vw, 320px);
  }
  
  .moving-layer img {
    max-width: min(100vw, 400px);
  }
  
  .paparazzi-layer img {
    max-width: min(90vw, 360px);
  }
  
  .lounge-layer img {
    max-width: min(80vw, 320px);
  }
  
  .andrey-shishkin-layer img {
    max-width: min(70vw, 280px);
  }
}
/* Collage section container */
.collage-stage{position:relative;height:110vh;overflow:visible}

/* Override wrap constraints for collage section */
#collage .wrap {
  max-width: 100%;
  padding: 0;
  margin: 0;
}

/* Remove section padding for collage section */
#collage {
  padding: 0;
}

/* Mobile overrides for collage section */
@media (max-width: 768px) {
    .collage-stage{height:100vh}
  }

/* CTA band */
.cta-band{display:grid;place-items:center;text-align:center;padding:42px 0}
.cta-band .btn{background:#d64f3a;border-color:#7a2b21;box-shadow:0 6px 0 #a63c2e;color:#fff}

/* Lightbox */
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.9);display:none;place-items:center;z-index:1000;padding:2rem}
.lightbox.active{display:grid}
.lightbox img{max-width:90vw;max-height:90vh;object-fit:contain;border-radius:0.5rem;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.lightbox-close{position:absolute;top:1rem;right:1rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.3);color:#fff;width:3rem;height:3rem;border-radius:50%;display:grid;place-items:center;cursor:pointer;font-size:1.5rem;transition:background .2s ease}
.lightbox-close:hover{background:rgba(255,255,255,.2)}

/* Responsive images */
picture{display:block}
img[data-optimized="true"]{transition:opacity .3s ease}

/* Section images - 50% max width on larger screens, full width on mobile */
.section-image {
  max-width: 50%;
  width: 100%;
  height: auto;
  margin: 1.5rem 0;
}

/* Video elements should behave like images */
video.section-image {
  display: block;
  object-fit: cover;
  border: none;
  outline: none;
}

/* Show/hide video vs image based on screen size */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
  
  /* Mobile - matches PNG image */
  :root {
    --tone-ink: #63412D;
  }
}

/* Hide video controls and overlays completely */
video.section-image::-webkit-media-controls {
  display: none !important;
}

video.section-image::-webkit-media-controls-panel {
  display: none !important;
}

video.section-image::-webkit-media-controls-play-button {
  display: none !important;
}

video.section-image::-webkit-media-controls-timeline {
  display: none !important;
}

video.section-image::-webkit-media-controls-current-time-display {
  display: none !important;
}

video.section-image::-webkit-media-controls-time-remaining-display {
  display: none !important;
}

video.section-image::-webkit-media-controls-timeline-container {
  display: none !important;
}

video.section-image::-webkit-media-controls-volume-slider {
  display: none !important;
}

video.section-image::-webkit-media-controls-mute-button {
  display: none !important;
}

video.section-image::-webkit-media-controls-fullscreen-button {
  display: none !important;
}

video.section-image::-webkit-media-controls-overlay-play-button {
  display: none !important;
}

video.section-image::-webkit-media-controls-enclosure {
  display: none !important;
}

@media (max-width: 768px) {
  .section-image {
    max-width: 100%;
  }
}

/* Accessibility */
@media(prefers-reduced-motion:reduce){.layer{transform:none!important}}

/* Hero overlay inside header */
.hero-overlay{position:absolute;inset:0;display:grid;align-items:end;justify-items:center;padding-bottom:2vh;z-index:20;pointer-events:none}
.hero-overlay .hero-copy{pointer-events:auto}

/* Zalando Sans font variation settings - applied to all titles */
.title, h2, .intro-section h1{font-stretch: 75%;}


/* Intro section styles - neutral palette */
.intro-section{
  min-height: 110vh; 
  display: grid; 
  place-items: center; 
  text-align: center;
  background: #ffffff; /* Pure white background */
  color: #2c2c2c; /* Neutral dark gray for text */
  position: relative;
  text-align: left;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  box-sizing: border-box;
}

.intro-section .wrap{
  position: relative;
  z-index: 1;
}

/* Texture background overlay */
.intro-section::before{
  content: '';
  position: absolute;
  bottom: 1%;
  left: 5%;
  width: min(400px, 30vw);
  height: min(600px, 45vw);
  background-image: url('img/texture1-400.webp');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

/* Subtle transition from neutral intro to warm site */
.intro-section::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.05) 20%, rgba(0,0,0,.05) 80%, transparent 100%);
}

.intro-section h1{
  font-size: clamp(6rem, 14vw, 12rem); 
  font-style: italic; 
  margin:0;
  font-family: 'Zalando Sans', ui-sans-serif, system-ui, -apple-system, sans-serif; 
  text-transform: uppercase; 
  text-align: right;
  font-weight: 100;
  color: #1a1a1a; /* Darker neutral for heading */
}
.intro-section h2{
    font-style: normal; 
    font-size: clamp(4rem, 8vw, 6rem); 
    font-weight: 200;
    margin-top:1rem;
}

.intro-section p{
  font-size: clamp(1.1rem, 2vw, 1.5rem); 
  max-width: 50ch; 
  margin: 1rem auto 0;
  color: #4a4a4a; /* Medium neutral gray for paragraph text */
  font-family: 'Special Elite', ui-monospace, 'Courier New', monospace;
}

.intro-section img{
  max-width: min(400px, 90vw); 
  width: 100%; 
  height: auto; 
  box-shadow: 0 12px 30px rgba(0,0,0,.12); /* Slightly softer shadow for neutral theme */
  border-radius: 8px; /* Subtle rounded corners */
}
@media (max-width: 768px) {
    .intro-section img{
      max-width: min(300px, 85vw); /* Smaller on mobile */
    }
  }

/* Intro section parallax layers */
.intro-layer{
  will-change: transform;
  transition: transform 0.1s ease-out;
}

/* Greggs halftone image positioning */
.intro-section .greggs-halftone{
  position: absolute;
  bottom: 20%;
  right: max(1%, 10px);
  max-width: min(200px, 20vw);
  opacity: 0.7;
  z-index: 1;
  transform: translateX(0);
}

.intro-section .greggs-halftone img{
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}

/* Mobile responsive adjustments for intro section */
@media (max-width: 480px) {
  .intro-section {
    padding: 0 1rem;
  }
  
  .intro-section .wrap {
    padding: 0 0.5rem;
  }
  
  .intro-section::before {
    width: min(200px, 40vw);
    height: min(300px, 60vw);
    left: 2%;
  }
  
  .intro-section .greggs-halftone {
    right: max(2%, 5px);
    max-width: min(150px, 25vw);
    bottom: 5%;
  }
}
.right-align {
  float: right !important;
  margin-left: 1.5rem !important;
  margin-right: 0 !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1rem !important;
}
footer{
  height: 25vh;
}
