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

:root {
  --paper: #faf8f5;
  --paper-deep: #f4efea;
  --paper-accent: #fdf5f1;
  --ink: #1c1917;
  --muted: #57534e;
  --rose: #d4613a;
  --rose-dark: #b84e2e;
  --sage: #6b625c;
  --night: #1c1917;
  --gold: #d4613a;
  --line: #e7e5e4;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: .11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }

.experience-page { min-height: 100vh; }
.experience-page.is-loading .page-shell { opacity: 0; }
.page-shell { opacity: 1; transition: opacity .8s var(--ease); }
.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--night);
  transform-origin: top;
  transform: scaleY(0);
  pointer-events: none;
}
.experience-page.is-entering .page-wipe { animation: wipe-out 1.1s var(--ease) both; }
@keyframes wipe-out { 0% { transform: scaleY(1); } 100% { transform: scaleY(0); } }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 64px);
  color: var(--ink);
  transition: background .5s, color .5s, height .5s, border-color .5s;
}
.site-header.scrolled {
  height: 76px;
  background: rgba(250, 248, 245, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.brand {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .27em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.site-nav { display: flex; align-items: center; gap: clamp(18px, 2.2vw, 34px); }
.site-nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  position: relative;
  padding: 12px 0;
}
.site-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transition: right .45s var(--ease);
}
.site-nav a:hover::after, .site-nav a.active::after { right: 0; }
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  color: inherit;
  background: transparent;
  padding: 12px 16px;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.scroll-progress {
  position: fixed;
  z-index: 110;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--rose);
}

.display {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 10.3vw, 158px);
  font-weight: 400;
  line-height: .82;
  letter-spacing: -.055em;
}
.display.medium { font-size: clamp(58px, 8vw, 118px); }
.display.small { font-size: clamp(50px, 6.2vw, 92px); }
.eyebrow {
  margin: 0 0 22px;
  color: var(--rose-dark);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.script {
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 46px);
  font-style: italic;
  font-weight: 400;
}
.lede {
  max-width: 610px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.25;
}
.body-copy { font-size: 15px; line-height: 1.8; color: var(--muted); }
.micro { font-size: 10px; letter-spacing: .17em; text-transform: uppercase; }

.line-mask { display: block; overflow: hidden; padding-bottom: .08em; }
.line-mask > span {
  display: block;
  transform: translateY(112%);
  opacity: 0;
  transition: transform 1.05s var(--ease), opacity .8s var(--ease);
}
.is-visible .line-mask > span, .line-mask.is-visible > span {
  transform: translateY(0);
  opacity: 1;
}
.delay-1 > span { transition-delay: .12s; }
.delay-2 > span { transition-delay: .24s; }
.delay-3 > span { transition-delay: .36s; }

.reveal {
  opacity: 0;
  transform: translateY(46px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-60px); }
.reveal-right { transform: translateX(60px); }
.reveal-left.is-visible, .reveal-right.is-visible { transform: translateX(0); }

.image-reveal { position: relative; overflow: hidden; }
.image-reveal::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--paper-deep);
  transform-origin: right;
  transition: transform 1.25s var(--ease);
}
.image-reveal.is-visible::after { transform: scaleX(0); }
.image-reveal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.7s var(--ease); }
.image-reveal.is-visible img { transform: scale(1); }

.hero-editorial {
  min-height: 100vh;
  padding: 132px clamp(24px, 5vw, 76px) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  align-items: center;
  gap: clamp(36px, 6vw, 100px);
  position: relative;
}
.hero-editorial::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 25px;
  width: 1px;
  height: 64px;
  background: var(--line);
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .lede { margin: 35px 0 0; }
.hero-aside { position: relative; min-height: 68vh; }
.hero-aside .portrait-main { position: absolute; inset: 0 8% 8% 0; }
.hero-aside .portrait-small { position: absolute; width: 43%; height: 39%; right: 0; bottom: 0; border: 10px solid var(--paper); }
.hero-aside .vertical-word {
  position: absolute;
  right: -11px;
  top: 15%;
  writing-mode: vertical-rl;
  font-size: 10px;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.chapter {
  min-height: 85vh;
  padding: clamp(100px, 13vw, 190px) clamp(24px, 7vw, 110px);
  position: relative;
}
.chapter.dark { color: #faf8f5; background: var(--night); }
.chapter.rose { color: var(--ink); background: var(--paper-accent); }
.chapter-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
}
.chapter-copy { grid-column: 2 / span 5; position: relative; z-index: 2; }
.chapter-media { grid-column: 8 / span 5; min-height: min(70vh, 760px); }
.chapter-media.offset { transform: translateY(8vh); }
.chapter-copy.wide { grid-column: 2 / span 8; }
.chapter-copy.right { grid-column: 7 / span 5; }
.chapter-media.left { grid-column: 1 / span 5; grid-row: 1; }

.giant-letter {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(260px, 38vw, 600px);
  line-height: .75;
  color: rgba(255,255,255,.06);
  pointer-events: none;
  left: 38%;
  top: 10%;
}
.quote-mark { font-family: var(--serif); font-size: 150px; line-height: .5; color: var(--gold); opacity: .75; }

.doors-page {
  min-height: 100vh;
  padding: 125px clamp(28px, 4vw, 64px) 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  max-width: 1120px;
  width: 100%;
  margin: 0 auto;
}
.service-door {
  position: relative;
  height: min(57vh, 590px);
  min-height: 410px;
  overflow: hidden;
  border: 1px solid rgba(28,25,23,.2);
  isolation: isolate;
  transition: transform .8s var(--ease);
}
.service-door:nth-child(2) { transform: translateY(22px); }
.service-door:hover { transform: translateY(-12px); }
.service-door:nth-child(2):hover { transform: translateY(10px); }
.service-door img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.72) contrast(.92); transition: transform 1.3s var(--ease), filter .8s; }
.service-door:hover img { transform: scale(1.06); filter: saturate(.95); }
.door-wash { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(36,33,31,.86)); z-index: 1; }
.service-door:nth-child(2) .door-wash { background: linear-gradient(180deg, rgba(78,88,73,.1), rgba(58,67,55,.9)); }
.service-door:nth-child(3) .door-wash { background: linear-gradient(180deg, rgba(110,65,69,.08), rgba(91,54,59,.92)); }
.door-frame { position: absolute; inset: 10px; z-index: 2; border: 1px solid rgba(255,255,255,.45); pointer-events: none; }
.door-copy { position: absolute; z-index: 3; left: 28px; right: 28px; bottom: 26px; color: #f5ecdf; }
.door-copy h2 { margin: 8px 0 6px; font-family: var(--serif); font-size: clamp(34px, 3.4vw, 55px); font-weight: 400; line-height: .95; }
.door-copy p { margin: 0; max-width: 290px; font-size: 12px; line-height: 1.55; opacity: .82; }
.doors-title { text-align: center; margin: 46px auto 0; }
.doors-title .script { margin: 0 0 3px; }
.doors-title h1 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 5.5vw, 82px); font-weight: 400; letter-spacing: -.04em; }

.marquee { overflow: hidden; padding: 34px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; width: max-content; animation: marquee 28s linear infinite; }
.marquee span { font-family: var(--serif); font-size: clamp(42px, 6vw, 88px); white-space: nowrap; color: rgba(28,25,23,.5); }
.marquee i { color: var(--rose); margin: 0 .45em; }
@keyframes marquee { to { transform: translateX(-50%); } }

.story-list { max-width: 1180px; margin: 0 auto; border-top: 1px solid var(--line); }
.story-row {
  min-height: 190px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 100px 1fr 1.1fr 40px;
  gap: 30px;
  align-items: center;
  transition: padding .5s var(--ease), color .4s;
}
.story-row:hover { padding-left: 18px; color: var(--rose-dark); }
.story-row h3 { font-family: var(--serif); font-size: clamp(36px, 4vw, 58px); font-weight: 400; margin: 0; }
.story-row p { color: var(--muted); line-height: 1.65; font-size: 14px; }
.story-arrow { font-size: 28px; }

.button-paper {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 16px 20px;
  border: 1px solid currentColor;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: background .4s, color .4s, transform .4s;
}
.button-paper:hover { background: var(--ink); color: var(--paper); transform: translateY(-3px); }
.dark .button-paper:hover { background: var(--paper); color: var(--night); }
.rose .button-paper:hover { background: var(--rose); border-color: var(--rose); color: #fff; }

.contact-sheet {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  min-height: 100vh;
  padding-top: 96px;
}
.contact-intro { padding: clamp(70px, 10vw, 150px) clamp(28px, 7vw, 110px); display: flex; flex-direction: column; justify-content: center; }
.contact-panel { background: var(--paper-accent); color: var(--ink); padding: clamp(70px, 8vw, 120px) clamp(28px, 6vw, 85px); display: flex; flex-direction: column; justify-content: center; }
.field { margin-bottom: 24px; }
.field label { display: block; margin-bottom: 8px; font-size: 9px; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 0; color: inherit; background: transparent; border: 0; border-bottom: 1px solid var(--line); outline: none; }
.field textarea { min-height: 110px; resize: vertical; }

.site-footer { padding: 70px clamp(24px, 5vw, 76px) 34px; background: #222525; color: #e7ded1; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 60px; max-width: 1300px; margin: 0 auto 70px; }
.footer-title { font-family: var(--serif); font-size: clamp(44px, 5vw, 72px); line-height: 1; margin: 0; }
.footer-links { display: grid; gap: 12px; }
.footer-links a { color: rgba(231,222,209,.65); font-size: 13px; }
.footer-links a:hover { color: white; }
.footer-bottom { max-width: 1300px; margin: 0 auto; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.4); }

@media (max-width: 900px) {
  .site-header { height: 76px; padding: 0 20px; }
  .menu-toggle { display: block; position: relative; z-index: 2; }
  .site-nav {
    position: fixed;
    inset: 0;
    padding: 110px 32px 40px;
    background: var(--paper);
    color: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 6px;
    transform: translateY(-102%);
    transition: transform .8s var(--ease);
  }
  .site-nav.open { transform: translateY(0); }
  .site-nav a { font-family: var(--serif); font-size: 38px; font-weight: 400; letter-spacing: -.02em; text-transform: none; }
  .hero-editorial { grid-template-columns: 1fr; padding-top: 116px; }
  .hero-aside { min-height: 62vh; order: -1; }
  .hero-editorial::after { display: none; }
  .chapter { min-height: auto; padding: 100px 24px; }
  .chapter-grid { grid-template-columns: 1fr; gap: 56px; }
  .chapter-copy, .chapter-copy.right, .chapter-copy.wide, .chapter-media, .chapter-media.left { grid-column: 1; grid-row: auto; }
  .chapter-media { min-height: 65vh; }
  .chapter-media.offset { transform: none; }
  .giant-letter { left: 5%; }
  .doors-page { padding: 108px 20px 70px; }
  .doors { grid-template-columns: 1fr; max-width: 520px; }
  .service-door, .service-door:nth-child(2) { height: 66vh; min-height: 480px; transform: none; }
  .doors-title { order: -1; margin: 0 auto 42px; }
  .story-row { grid-template-columns: 52px 1fr 30px; gap: 14px; }
  .story-row p { grid-column: 2; margin: 0; }
  .story-arrow { grid-column: 3; grid-row: 1; }
  .contact-sheet { grid-template-columns: 1fr; padding-top: 76px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
}

@media (max-width: 560px) {
  .display { font-size: clamp(55px, 18vw, 88px); }
  .display.medium { font-size: clamp(52px, 16vw, 80px); }
  .hero-aside { min-height: 52vh; }
  .hero-aside .portrait-main { right: 2%; }
  .hero-aside .portrait-small { width: 46%; height: 34%; }
  .chapter-media { min-height: 54vh; }
  .story-row { min-height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .line-mask > span { opacity: 1; transform: none; }
}
