/* ============================================================
   RAALSALA — Editorial Portfolio
   Quiet luxury · Fashion Archive meets Architecture Studio
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&display=swap');

@font-face {
  font-family: 'Vogue';
  src: url('assets/Vogue.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* palette */
  --off-white:  #FFFFFF;
  --warm-white: #FFFFFF;
  --charcoal:   #111111;
  --ink-soft:   #2a2a28;
  --gray:       #BDBDBD;
  --gray-line:  #e3e0da;
  --olive:      #6f6a5c;   /* warm stone-gray (muted accent) */
  --bronze:     #5f5a4e;   /* deep stone */
  --stone:      #B5AC8A;   /* warm stone */
  --brand-red:  #C50022;   /* Strong Red */
  --logo-red:   #FE0000;   /* exact logo red */

  /* type */
  --serif: 'Cormorant Garamond', 'Times New Roman', Georgia, serif;
  --display: 'Vogue', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono:  ui-monospace, 'SFMono-Regular', Menlo, 'Courier New', monospace;

  /* rhythm */
  --mx: clamp(24px, 7vw, 150px);
  --section-y: clamp(96px, 13vw, 200px);
  --hair: 1px solid var(--gray-line);
}

/* ---------- reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
body {
  background: var(--off-white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--olive); color: var(--warm-white); }

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--olive);
}
.eyebrow .idx { color: var(--gray); margin-right: 1.1em; }
.brand-dot { display: inline-block; width: 7px; height: 7px; background: var(--brand-red); margin-right: 13px; vertical-align: middle; position: relative; top: -1px; }

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.serif-it { font-style: italic; font-family: var(--serif); }

.lede {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.42;
  color: var(--ink-soft);
}

.body-col p { max-width: 60ch; color: var(--ink-soft); }
.body-col p + p { margin-top: 1.4em; }

/* ---------- placeholder image system ---------- */
.ph {
  position: relative;
  background-color: var(--warm-white);
  background-image:
    repeating-linear-gradient(135deg, transparent 0 13px, rgba(17,17,17,0.018) 13px 14px);
  border: 1px solid var(--gray-line);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  overflow: hidden;
  color: var(--gray);
}
.ph::after {
  content: "";
  position: absolute; inset: 14px;
  border: 1px solid rgba(189,189,189,0.35);
  pointer-events: none;
}
.ph-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a9a59c;
}
.ph-note {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: #c0bcb2;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--mx);
  background: var(--logo-red);
  transition: padding .5s ease, box-shadow .5s ease, border-color .5s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 13px var(--mx);
  border-bottom-color: rgba(255,255,255,0.28);
  box-shadow: 0 14px 40px -26px rgba(0,0,0,0.55);
}
.wordmark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--warm-white);
}
.brand { display: flex; align-items: center; gap: 14px; }
.logo-mark { width: 34px; height: 34px; object-fit: cover; display: block; }
.nav-links { display: flex; gap: clamp(20px, 2.6vw, 46px); }
.nav-links a {
  font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--warm-white);
  transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.nav-links a:hover { color: var(--warm-white); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 6px;
  width: 30px; height: 26px; padding: 0; background: none; border: none; cursor: pointer;
}
.nav-burger span { display: block; width: 28px; height: 2px; background: var(--warm-white); }
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-burger { display: flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 175vh;            /* shorter scroll runway → less scrolling through the hero */
  display: block;
  overflow: clip;
}
.hero-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: flex-end;            /* text sits at the bottom, over the video */
  overflow: hidden;
  background: #0c0c0e;              /* fill behind letterboxed video */
}
.hero-stage::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  /* dark scrim: darken top (nav) + bottom (title), keep the models clear */
  background: linear-gradient(180deg,
    rgba(8,8,10,0.52) 0%,
    rgba(8,8,10,0.10) 16%,
    rgba(8,8,10,0) 36%,
    rgba(8,8,10,0.12) 56%,
    rgba(8,8,10,0.55) 78%,
    rgba(8,8,10,0.86) 100%);
  pointer-events: none;
}
.hero-text {
  position: relative; z-index: 2;
  padding: 0 var(--mx) clamp(66px, 11vh, 150px);
  max-width: 1000px;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  text-shadow: 0 2px 16px rgba(0,0,0,0.62), 0 1px 4px rgba(0,0,0,0.55);
  will-change: opacity, transform;
}
.hero-eyebrow { margin-bottom: 34px; }
/* hero text over the video → light treatment */
.hero .eyebrow { color: rgba(255,255,255,0.82); }
.hero h1 { color: #fff; }
.hero-sub { color: rgba(255,255,255,0.9); }
.hero-cta .btn-fill { background: #fff; color: #111; border-color: #fff; }
.hero-cta .btn-fill:hover { background: var(--brand-red); color: #fff; border-color: var(--brand-red); }
.hero-cta .btn-line { color: #fff; border-color: rgba(255,255,255,0.55); }
.hero-cta .btn-line:hover { background: #fff; color: #111; border-color: #fff; }
.hero h1 {
  font-size: clamp(46px, 6.4vw, 104px);
  margin-bottom: 38px;
}
.hero h1 em { color: var(--logo-red); }
.hero-sub {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
  max-width: 44ch;
  margin-bottom: 48px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-cta .btn { text-shadow: none; }
.hero-media { position: absolute; inset: var(--nav-h, 79px) 0 0 0; z-index: 0; overflow: hidden; }
.hero-media .ph { position: absolute; inset: 0; border-top: none; border-right: none; border-bottom: none; }
.hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top; z-index: 0;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  display: block; opacity: 0; transition: opacity .6s ease;
  background: #0c0c0e; z-index: 1;
  transform-origin: center; will-change: transform;
}
.hero-canvas.ready { opacity: 1; }
.hero-ph { z-index: 0; transition: opacity .6s ease; align-items: flex-end; justify-content: center; padding-right: clamp(40px, 9vw, 170px); background: transparent; }
.hero-ph::after { display: none; }
.hero-ph .ph-tag, .hero-ph .ph-note { color: rgba(255,255,255,0.55); }

/* scroll cue */
.hero-scrollcue {
  position: absolute; bottom: 30px; left: var(--mx); z-index: 3;
  display: flex; align-items: center; gap: 14px;
  transition: opacity .5s ease;
}
.hsc-label {
  font-family: var(--mono); font-size: 10px; letter-spacing: .26em;
  text-transform: uppercase; color: rgba(255,255,255,0.7);
}
.hsc-line {
  display: block; width: 60px; height: 1px; background: rgba(255,255,255,0.4); position: relative; overflow: hidden;
}
.hsc-line::after {
  content: ""; position: absolute; inset: 0; width: 40%;
  background: var(--logo-red);
  animation: hscSlide 1.9s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes hscSlide { 0% { transform: translateX(-110%);} 60%,100% { transform: translateX(260%);} }

@media (max-width: 900px) {
  .hero { min-height: 150vh; }
  .hero-stage::before {
    background: linear-gradient(180deg,
      rgba(8,8,10,0.5) 0%,
      rgba(8,8,10,0) 28%,
      rgba(8,8,10,0.18) 54%,
      rgba(8,8,10,0.62) 76%,
      rgba(8,8,10,0.9) 100%);
  }
  .hero-text { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .hsc-line::after { animation: none; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--sans); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  padding: 17px 30px;
  border: 1px solid var(--charcoal);
  background: transparent; color: var(--charcoal);
  cursor: pointer;
  transition: background .45s ease, color .45s ease, border-color .45s ease;
}
.btn .arr { transition: transform .45s ease; }
.btn:hover .arr { transform: translateX(5px); }
.btn-fill { background: var(--charcoal); color: var(--warm-white); }
.btn-fill:hover { background: var(--brand-red); border-color: var(--brand-red); }
.btn-line:hover { background: var(--charcoal); color: var(--warm-white); }
.btn-light { border-color: var(--warm-white); color: var(--warm-white); }
.btn-light:hover { background: var(--warm-white); color: var(--charcoal); }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: var(--section-y) var(--mx); }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px;
  align-items: end; margin-bottom: clamp(48px, 6vw, 92px);
}
.section-head .eyebrow { margin-bottom: 0; }

/* ---------- ABOUT ---------- */
.about { background: var(--warm-white); border-top: var(--hair); border-bottom: var(--hair); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 8vw, 130px);
  align-items: start;
}
.about h2 {
  font-size: clamp(34px, 4.4vw, 62px);
  margin-bottom: 10px;
}
.about .body-col { font-size: 17px; }
.about-illu {
  display: block; width: 100%; max-width: 580px;
  height: auto; margin: clamp(36px, 5vw, 78px) auto 0;
  /* transparent line-art → force strokes to pure white (alpha kept) so it reads on the dark section */
  filter: brightness(0) invert(1);
  opacity: 0.9;
  pointer-events: none; user-select: none;
}
@media (max-width: 860px){
  .about-illu { max-width: 360px; margin: 30px auto 4px; }
}
.about-aside {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: var(--olive); line-height: 2;
}
.about-aside .k { color: var(--gray); }
@media (max-width: 860px){ .about-grid{ grid-template-columns: 1fr; gap: 44px; } }

/* ---------- SERVICES · editorial index ---------- */
.svc-header { margin-bottom: clamp(28px, 3.2vw, 52px); }
.svc-header .eyebrow { margin-bottom: 18px; }
.svc-display { font-size: clamp(38px, 5.4vw, 84px); max-width: 15ch; line-height: 0.98; }
.svc-list { border-top: 1px solid var(--charcoal); }
.svc-row {
  display: grid;
  grid-template-columns: 84px minmax(200px, 0.85fr) 1.5fr;
  gap: clamp(20px, 4vw, 70px);
  align-items: center;
  padding: clamp(20px, 2.4vw, 36px) 0;
  border-bottom: var(--hair);
}
.svc-num {
  font-family: var(--display); font-size: clamp(20px, 1.9vw, 28px);
  color: var(--gray); letter-spacing: .04em; transition: color .45s ease;
  align-self: start; padding-top: 8px;
}
.svc-title {
  font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.3vw, 48px);
  line-height: 1.04; color: var(--charcoal);
  transition: color .45s ease, transform .55s cubic-bezier(.2,.7,.2,1);
}
.svc-items { display: flex; flex-wrap: wrap; gap: 8px 0; align-content: center; }
.svc-items span {
  font-size: 11px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); padding: 0 16px; line-height: 1.9;
  border-right: 1px solid var(--gray-line);
}
.svc-items span:first-child { padding-left: 0; }
.svc-items span:last-child { border-right: none; }
.svc-row:hover .svc-num { color: var(--logo-red); }
.svc-row:hover .svc-title { color: var(--logo-red); transform: translateX(12px); }
.svc-note {
  margin-top: clamp(50px,6vw,84px);
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(22px, 2.5vw, 36px); line-height: 1.38;
  color: var(--charcoal); max-width: 26ch;
}
.svc-note b { font-style: normal; font-family: var(--display); font-weight: 400; color: var(--logo-red); }
@media (max-width: 860px){
  .svc-row{ grid-template-columns: 44px 1fr; row-gap: 16px; align-items: baseline; }
  .svc-items{ grid-column: 1 / -1; }
  .svc-items span{ padding-left:0; }
  .svc-row:hover .svc-title{ transform:none; }
}

/* ---------- SELECTED WORKS · COVERFLOW CAROUSEL ---------- */
.works { background: var(--warm-white); border-top: var(--hair); overflow: hidden; }
.cf { position: relative; margin-top: 8px; }
.cf-stage {
  position: relative;
  height: clamp(500px, 58vw, 720px);
  perspective: 1900px;
  display: flex; align-items: center; justify-content: center;
  touch-action: pan-y;
  user-select: none;
  cursor: grab;
}
.cf-stage.dragging { cursor: none; }
.cf-stage.dragging .cf-card { transition: none; }
@media (hover: hover) and (pointer: fine){ .cf-stage { cursor: none; } }
.cf-card {
  position: absolute;
  width: clamp(258px, 28vw, 384px);
  transform-style: preserve-3d;
  transition: transform .75s cubic-bezier(.22,.61,.18,1), opacity .6s ease;
  will-change: transform, opacity;
  cursor: pointer;
}
.cf-plate {
  position: relative; width: 100%; aspect-ratio: 29 / 50;
  background: transparent; border: none;
  overflow: visible; transition: filter .6s ease, opacity .6s ease;
}
.cf-plate img { width: 100%; height: 100%; object-fit: contain; display: block; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.cf-card:not(.is-active) .cf-plate { filter: grayscale(0.22) brightness(0.99) opacity(0.92); }
.cf-card.is-active { cursor: none; }
.cf-card.is-active .cf-plate img { filter: drop-shadow(0 38px 46px rgba(17,17,17,0.26)); }
.cf-tag-red {
  display: none;
  position: absolute; top: 16px; left: 16px; z-index: 3;
  width: 9px; height: 9px; background: var(--brand-red);
  opacity: 0; transition: opacity .5s ease;
}
.cf-card.is-active .cf-tag-red { opacity: 1; }

/* meta below stage */
.cf-meta {
  margin-top: clamp(34px, 4vw, 54px);
  text-align: center;
  transition: opacity .35s ease;
  min-height: 150px;
}
.cf-meta-top {
  display: flex; align-items: baseline; gap: 14px; justify-content: center; flex-wrap: nowrap;
}
.cf-name { font-family: var(--display); font-weight: 400; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.05; white-space: nowrap; }
.cf-year { font-family: var(--mono); font-size: 13px; color: var(--gray); letter-spacing: .1em; }
.cf-cat { margin-top: 16px; font-size: 11.5px; font-weight: 500; letter-spacing: .24em; text-transform: uppercase; color: var(--brand-red); }
.cf-desc { margin-top: 18px; font-family: var(--serif); font-weight: 300; font-style: italic; font-size: clamp(17px, 1.7vw, 22px); line-height: 1.45; color: var(--ink-soft); max-width: 46ch; margin-left: auto; margin-right: auto; }

/* controls */
.cf-controls {
  display: flex; align-items: center; justify-content: center; gap: 30px;
  margin-top: clamp(30px, 3.6vw, 46px);
}
.cf-arrow {
  width: 60px; height: 60px; border-radius: 50%;
  border: 1px solid var(--charcoal); background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 19px; color: var(--charcoal); cursor: pointer;
  transition: background .4s ease, color .4s ease, border-color .4s ease;
}
.cf-arrow:hover { background: var(--charcoal); color: var(--warm-white); }
.cf-count { font-family: var(--mono); font-size: 13px; letter-spacing: .14em; color: var(--ink-soft); min-width: 92px; text-align: center; }
.cf-count .cur { color: var(--brand-red); }
@media (max-width: 700px){
  .cf-card { width: clamp(220px, 62vw, 300px); }
  .cf-stage { height: clamp(440px, 100vw, 560px); }
}

/* red ring cursor — site-wide (mouse only) */
.ring-cursor {
  position: fixed; top: 0; left: 0; z-index: 9999;
  width: 34px; height: 34px; border: 1.5px solid var(--brand-red); border-radius: 50%;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none; opacity: 0;
  transition: opacity .25s ease, transform .16s ease, background-color .2s ease;
  will-change: transform;
}
.ring-cursor.show { opacity: 1; }
.ring-cursor.hover { transform: translate(-50%, -50%) scale(1.55); background-color: rgba(197,0,34,0.07); }
.ring-cursor.grab { transform: translate(-50%, -50%) scale(.62); background-color: rgba(197,0,34,0.15); }
@media (hover: none){ .ring-cursor { display: none !important; } }
html.cursor-ring, html.cursor-ring * { cursor: none !important; }

/* ---------- PROCESS · editorial index ---------- */
.process { background: var(--off-white); border-top: var(--hair); }
.process-grid { display: grid; grid-template-columns: 0.8fr 1.6fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.process-aside { position: sticky; top: 120px; }
.process-aside h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 5vw, 80px); line-height: 0.98; margin: 16px 0 28px; }
.process-lead { font-family: var(--serif); font-style: italic; font-weight: 300; font-size: clamp(18px, 1.5vw, 23px); line-height: 1.5; color: #b7b2a8; max-width: 22ch; }
.step {
  display: grid; grid-template-columns: clamp(82px,9vw,156px) 1fr; gap: clamp(24px,3vw,60px);
  padding: clamp(34px,4vw,58px) 0; border-top: 1px solid rgba(255,255,255,0.14);
  align-items: start;
}
.step:last-child { border-bottom: 1px solid rgba(255,255,255,0.14); }
.step-num {
  font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 78px);
  color: var(--logo-red); line-height: 0.86; letter-spacing: .01em;
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.step-body { padding-top: clamp(4px, 0.6vw, 12px); }
.step-label { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 2.7vw, 40px); line-height: 1.04; color: var(--warm-white); margin-bottom: 12px; }
.step-text { font-family: var(--serif); font-weight: 300; font-size: clamp(17px, 1.55vw, 23px); line-height: 1.42; color: #cfccc4; max-width: 42ch; }
.step-text + .step-text { margin-top: 0.7em; }
.step:hover .step-num { transform: translateY(-6px); }
@media (max-width: 860px){
  .process-grid{ grid-template-columns: 1fr; gap: 36px; }
  .process-aside{ position: static; }
  .step{ grid-template-columns: 60px 1fr; gap: 20px; }
}

/* ---------- QUOTE ---------- */
.quote { padding: clamp(120px,16vw,220px) var(--mx); text-align: center; border-top: var(--hair); background: var(--warm-white); }
.quote blockquote {
  font-family: var(--display); font-weight: 400; font-style: normal;
  font-size: clamp(30px, 4.6vw, 70px); line-height: 1.22; letter-spacing: -0.01em;
  max-width: 20ch; margin: 0 auto; color: var(--charcoal);
}
.quote .mark { display: block; font-size: clamp(60px,8vw,120px); line-height: 0.6; color: var(--brand-red); margin-bottom: 30px; font-family: var(--serif); }
.quote cite { display: block; margin-top: 48px; font-style: normal; font-family: var(--sans); font-size: 11.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gray); }

/* ---------- CTA + FOOTER (charcoal) ---------- */
.dark { background: var(--charcoal); color: var(--warm-white); }
.cta { padding: clamp(130px,17vw,230px) var(--mx) clamp(100px,12vw,160px); text-align: center; }
.cta .eyebrow { color: var(--gray); margin-bottom: 30px; }
.cta h2 { font-family: var(--display); font-weight: 400; font-size: clamp(40px, 6vw, 96px); line-height: 1.04; margin-bottom: 34px; }
.cta p { font-family: var(--serif); font-weight: 300; font-size: clamp(19px,2vw,27px); line-height: 1.5; color: #cfccc4; max-width: 46ch; margin: 0 auto 52px; }

.footer { padding: clamp(60px,7vw,90px) var(--mx) 40px; border-top: 1px solid rgba(255,255,255,0.12); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .fwm { font-family: var(--sans); font-weight: 600; font-size: 22px; letter-spacing: .3em; text-transform: uppercase; margin-bottom: 16px; }
.footer-brand p { font-size: 13.5px; color: #b6b2a9; max-width: 30ch; line-height: 1.7; }
.footer-col h4 { font-size: 11px; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--gray); margin-bottom: 18px; }
.footer-col a, .footer-col span { display: block; font-size: 15px; color: #ddd9d0; line-height: 1.9; }
.footer-col a { position: relative; width: fit-content; }
.footer-col a::after { content:""; position:absolute; left:0; bottom:2px; width:100%; height:1px; background:#ddd9d0; transform:scaleX(0); transform-origin:left; transition:transform .4s ease; }
.footer-col a:hover::after { transform: scaleX(1); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(50px,7vw,90px); padding-top: 26px; border-top: 1px solid rgba(255,255,255,0.1); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; color: #8a877f; }
@media (max-width: 860px){
  .footer-top{ grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand{ grid-column: 1 / -1; }
  .footer-bottom{ flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* ============================================================
   ALTERNATING DARK SECTIONS (About, Process)
   ============================================================ */
.section.dark { background: var(--charcoal); color: var(--warm-white); }
.section.dark.about,
.section.dark.process { background: var(--charcoal); border-color: rgba(255,255,255,0.14); }
.section.dark .display,
.section.dark h2,
.section.dark .process-aside h2 { color: var(--warm-white); }
.section.dark .body-col p,
.section.dark .step-text { color: #cfccc4; }
.section.dark .eyebrow { color: #c4b6a6; }
.section.dark .about-aside { color: #b7b2a8; }
.section.dark .about-aside .k { color: #87837a; }
.section.dark .step { border-color: rgba(255,255,255,0.14); }

/* ============================================================
   RED FOOTER — logo as the protagonist
   ============================================================ */
.footer.red-footer { background: var(--logo-red); color: var(--warm-white); border-top: none; }
.red-footer .footer-brand .brand { gap: 20px; margin-bottom: 30px; }
.red-footer .footer-brand .fwm { font-size: 34px; letter-spacing: .34em; color: #fff; }
.red-footer .logo-mark { width: 92px !important; height: 92px !important; }
.red-footer .footer-brand p { color: rgba(255,255,255,0.86); max-width: 34ch; }
.red-footer .footer-col h4 { color: rgba(255,255,255,0.72); }
.red-footer .footer-col a,
.red-footer .footer-col span { color: #ffffff; }
.red-footer .footer-col a::after { background: #ffffff; }
.red-footer .footer-col span[style] { color: rgba(255,255,255,0.7) !important; }
.red-footer .footer-bottom { border-top-color: rgba(255,255,255,0.32); color: rgba(255,255,255,0.8); }

/* ============================================================
   REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}

/* ============================================================
   INSTAGRAM
   ============================================================ */
.ig { background: #ffffff; border-top: var(--hair); }
.ig-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(34px, 4vw, 60px); }
.ig-head .eyebrow { margin-bottom: 16px; }
.ig-title { font-size: clamp(34px, 4.6vw, 74px); line-height: 0.98; }
.ig-handle { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--charcoal); border-bottom: 1px solid var(--charcoal); padding-bottom: 4px; transition: color .3s ease, border-color .3s ease; white-space: nowrap; }
.ig-handle:hover { color: var(--logo-red); border-color: var(--logo-red); }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1vw, 16px); }
.ig-cell { position: relative; aspect-ratio: 4 / 5; background: #ffffff; border: 1px solid var(--gray-line); overflow: hidden; }
.ig-cell img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.ig-cell:hover img { transform: scale(1.04); }
.ig-ov { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(17,17,17,0); opacity: 0; transition: opacity .4s ease, background .4s ease; }
.ig-cell:hover .ig-ov { opacity: 1; background: rgba(17,17,17,0.34); }
@media (max-width: 700px){ .ig-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   LANGUAGE TOGGLE
   ============================================================ */
.lang-toggle {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
  color: var(--warm-white);
  font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 7px 13px; cursor: pointer;
  transition: background .35s ease, color .35s ease, border-color .35s ease;
}
.lang-toggle:hover { background: var(--warm-white); color: var(--logo-red); border-color: var(--warm-white); }

/* ============================================================
   MOBILE MENU OVERLAY
   ============================================================ */
.nav-burger { -webkit-tap-highlight-color: transparent; }
body.menu-open { overflow: hidden; }
.nav-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: var(--charcoal); color: var(--warm-white);
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(70px, 14vw, 110px) var(--mx) clamp(40px, 10vw, 80px);
  transform: translateY(-101%);
  opacity: 0; visibility: hidden;
  transition: transform .65s cubic-bezier(.76,0,.24,1), opacity .4s ease, visibility .65s;
}
body.menu-open .nav-overlay { transform: translateY(0); opacity: 1; visibility: visible; }
.nav-close {
  position: absolute; top: 18px; right: calc(var(--mx) - 6px);
  background: none; border: none; color: var(--warm-white);
  font-size: 38px; line-height: 1; cursor: pointer; padding: 6px;
  font-family: var(--sans); font-weight: 200;
}
.nav-ov-links { display: flex; flex-direction: column; gap: clamp(8px, 2vw, 16px); }
.nav-ov-links a {
  display: flex; align-items: baseline; gap: 16px;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(36px, 11vw, 64px); line-height: 1.04;
  color: var(--warm-white); text-transform: uppercase;
  transition: color .3s ease, transform .4s cubic-bezier(.2,.7,.2,1);
}
.nav-ov-links a .mi { font-family: var(--mono); font-size: 12px; font-weight: 400; letter-spacing: .1em; color: var(--gray); text-transform: none; }
.nav-ov-links a:active { color: var(--logo-red); transform: translateX(8px); }
@media (hover: hover){ .nav-ov-links a:hover { color: var(--logo-red); transform: translateX(8px); } }
.nav-ov-foot {
  margin-top: clamp(38px, 9vw, 72px);
  display: flex; flex-wrap: wrap; gap: 14px 26px;
  font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
}
.nav-ov-foot a { color: #cfccc4; border-bottom: 1px solid rgba(255,255,255,0.32); padding-bottom: 3px; }
.nav-ov-foot a:active { color: #fff; }

/* ============================================================
   WHATSAPP CTA BUTTON
   ============================================================ */
.wa-fab {
  position: fixed; bottom: 26px; right: 26px; z-index: 120;
  display: flex; align-items: center; gap: 11px;
  height: 56px; padding: 0 23px 0 18px; border-radius: 32px;
  background: var(--charcoal); color: #ffffff;
  border: 1px solid var(--charcoal);
  box-shadow: 0 14px 32px -12px rgba(0,0,0,0.45);
  transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, background .35s ease, color .35s ease;
}
.wa-fab:hover { transform: translateY(-3px); box-shadow: 0 20px 44px -12px rgba(0,0,0,0.4); background: #ffffff; color: var(--charcoal); }
/* over dark / red sections → invert to white */
.wa-fab.on-dark { background: #ffffff; color: var(--charcoal); border-color: #ffffff; }
.wa-fab.on-dark:hover { background: var(--charcoal); color: #ffffff; border-color: var(--charcoal); }
.wa-fab svg { flex: 0 0 auto; }
.wa-label {
  font-family: var(--sans); font-size: 13px; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase; white-space: nowrap;
}
@media (max-width: 600px){
  .wa-fab { bottom: 18px; right: 18px; height: 52px; padding: 0 18px 0 15px; gap: 9px; }
  .wa-label { font-size: 12px; letter-spacing: .08em; }
}
