:root {
  --background: #f1efe8;
  --foreground: #171715;
  --paper: #fbfaf6;
  --primary: #6f1f2f;
  --primary-foreground: #fffdf8;
  --muted: #dfdcd3;
  --muted-foreground: #68655f;
  --border: #cbc7bc;
  --font-sans-ui: 'Helvetica Neue', 'Avenir Next', Arial, sans-serif;
  --font-serif-display: 'Iowan Old Style', 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
}

.dark {
  --background: #171715;
  --foreground: #f6f3eb;
  --paper: #201f1c;
  --primary: #d0a4aa;
  --primary-foreground: #171113;
  --muted: #302f2b;
  --muted-foreground: #b9b4a9;
  --border: #46443e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--background); color: var(--foreground); font-family: var(--font-sans-ui); }
body, a { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.site-header {
  position: relative;
  z-index: 20;
  height: 86px;
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
  align-items: center;
  padding: 0 clamp(24px, 4vw, 72px);
  background: var(--paper);
  border-bottom: 1px solid var(--border);
}
.wordmark { width: max-content; display: flex; flex-direction: column; font-family: var(--font-serif-display); font-size: 17px; line-height: .78; letter-spacing: -.025em; text-transform: uppercase; }
.wordmark span:last-child { padding-left: 14px; font-style: italic; }
nav { display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3.2vw, 52px); }
nav a, .header-cta { font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
nav a { position: relative; padding: 8px 0; color: #4c4a45; }
nav a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 2px; height: 1px; background: currentColor; transition: right .25s ease; }
nav a:hover::after { right: 0; }
.header-cta { justify-self: end; display: inline-flex; align-items: center; gap: 11px; }

.hero { min-height: calc(100svh - 86px); display: grid; grid-template-columns: 42% 58%; border-bottom: 1px solid var(--border); }
.hero-copy { position: relative; isolation: isolate; min-height: 760px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: clamp(40px, 5vw, 72px) clamp(28px, 6vw, 96px) clamp(44px, 5vw, 76px); }
.hero-index { display: flex; align-items: center; justify-content: space-between; gap: 24px; color: var(--muted-foreground); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.hero-index, .hero h1, .hero-bottom { position: relative; z-index: 2; }
.hero h1 { margin: 70px 0; font-family: var(--font-serif-display); font-size: clamp(66px, 8vw, 124px); font-weight: 400; line-height: .82; letter-spacing: -.067em; }
.hero h1 em { color: var(--primary); font-weight: 400; }
.hero-line { display: block; animation: line-arrival .95s cubic-bezier(.2,.72,.22,1) both; }
.hero-line-two { animation-delay: .12s; }
.hero-benefit { width: min(470px, 80%); display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-top: 40px; padding: 17px 0 0 18px; border-top: 1px solid var(--primary); border-left: 4px solid var(--primary); animation: line-arrival .95s cubic-bezier(.2,.72,.22,1) .24s both; }
.hero-benefit strong { color: var(--primary); font-family: var(--font-serif-display); font-size: clamp(25px, 2.3vw, 36px); font-style: italic; font-weight: 400; line-height: 1; letter-spacing: -.035em; }
.hero-benefit small { color: var(--muted-foreground); font-family: var(--font-sans-ui); font-size: 8px; font-weight: 600; line-height: 1.55; letter-spacing: .12em; text-align: right; text-transform: uppercase; }
.hero-bottom { display: grid; grid-template-columns: minmax(220px, 390px) auto; align-items: end; justify-content: space-between; gap: 34px; }
.hero-bottom p { margin: 0; color: #4e4c47; font-family: var(--font-serif-display); font-size: clamp(17px, 1.45vw, 22px); line-height: 1.55; }
.primary-action { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 20px; background: var(--foreground); color: #f8f5ed; font-size: 9px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; transition: background .2s ease, transform .2s ease; }
.primary-action:hover { background: var(--primary); transform: translateY(-2px); }

.hero-media { position: relative; isolation: isolate; min-height: 760px; margin: 0; overflow: hidden; border-right: 1px solid var(--border); background: #e4dfd4; animation: photo-reveal 1s cubic-bezier(.2,.72,.22,1) both; }
.hero-media::before { content: ''; position: absolute; z-index: 1; top: -12%; bottom: -12%; left: -55%; width: 34%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); transform: skewX(-13deg); animation: photo-light 7s ease-in-out 1.2s infinite; pointer-events: none; }
.hero-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 52%; transform-origin: 50% 48%; will-change: transform; animation: hero-photo-motion 10s ease-in-out infinite alternate; }
.media-mark { position: absolute; z-index: 2; top: 28px; right: 26px; width: 50px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.75); border-radius: 50%; color: #fff; font-size: 7px; font-weight: 600; letter-spacing: .14em; text-shadow: 0 1px 9px rgba(0,0,0,.4); animation: media-pulse 3.8s ease-in-out infinite; }
.media-mark span { position: absolute; }
.media-mark span:first-child { top: -4px; padding: 0 4px; background: rgba(67,48,39,.38); }
.media-mark span:last-child { font-family: var(--font-serif-display); font-size: 11px; }
.hero-media figcaption { position: absolute; z-index: 2; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; gap: 20px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.7); color: #fff; font-size: 8px; font-weight: 600; letter-spacing: .16em; text-shadow: 0 1px 12px rgba(0,0,0,.35); text-transform: uppercase; }

.motion-band { height: 82px; display: flex; align-items: center; overflow: hidden; background: var(--primary); color: #fff8ee; border-bottom: 1px solid #541622; }
.motion-track { width: max-content; display: flex; align-items: center; flex-shrink: 0; animation: ticker 24s linear infinite; }
.motion-track span { padding: 0 26px; font-family: var(--font-serif-display); font-size: clamp(27px, 2.6vw, 39px); font-style: italic; letter-spacing: -.025em; white-space: nowrap; }
.motion-track i { color: #d7aab1; font-size: 12px; font-style: normal; }

.attribute-rail { min-height: 112px; display: grid; grid-template-columns: minmax(190px, 1fr) 2fr; align-items: center; gap: 40px; padding: 24px clamp(28px, 6vw, 96px); background: var(--paper); border-bottom: 1px solid var(--border); }
.attribute-rail > span, .attribute-rail li { font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.attribute-rail > span { color: var(--primary); }
.attribute-rail ul { display: flex; justify-content: space-between; gap: 28px; margin: 0; padding: 0; list-style: none; }
.attribute-rail li { position: relative; padding-left: 16px; }
.attribute-rail li::before { content: ''; position: absolute; top: 50%; left: 0; width: 4px; height: 4px; transform: translateY(-50%); background: var(--primary); border-radius: 50%; }

.product-statement { display: grid; grid-template-columns: 30% 70%; padding: clamp(100px, 12vw, 190px) clamp(28px, 6vw, 96px); background: var(--paper); border-bottom: 1px solid var(--border); }
.section-label { display: flex; gap: 24px; align-items: flex-start; color: var(--primary); font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.section-label p { margin: 0; }
.section-label span { min-width: 28px; }
.statement-copy { position: relative; }
.statement-lead { position: relative; z-index: 1; max-width: 1050px; margin: 0; font-family: var(--font-serif-display); font-size: clamp(44px, 5.7vw, 84px); line-height: .98; letter-spacing: -.052em; }
.statement-note { display: grid; grid-template-columns: 34% 1fr; gap: 28px; margin-top: 76px; }
.statement-note span { height: 1px; margin-top: 10px; background: var(--foreground); }
.statement-note p { max-width: 520px; margin: 0; color: var(--muted-foreground); font-size: 14px; line-height: 1.72; }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--background); border-bottom: 1px solid var(--border); }
.principles article { position: relative; isolation: isolate; min-height: 430px; display: flex; flex-direction: column; overflow: hidden; padding: 40px clamp(26px, 4vw, 60px); border-right: 1px solid var(--border); transition: color .45s ease, background .45s ease; }
.principles article:last-child { border-right: 0; }
.principles article::before { content: attr(data-number); position: absolute; z-index: -1; top: 20px; right: -12px; color: transparent; font-family: var(--font-serif-display); font-size: clamp(150px, 16vw, 260px); line-height: .8; letter-spacing: -.09em; transition: color .45s ease, transform .6s cubic-bezier(.2,.72,.22,1); }
.principles article > span { color: var(--primary); font-size: 8px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; transition: color .45s ease; }
.principles h2 { margin: auto 0 18px; font-family: var(--font-serif-display); font-size: clamp(39px, 4vw, 62px); font-weight: 400; letter-spacing: -.045em; transition: transform .5s cubic-bezier(.2,.72,.22,1); }
.principles p { max-width: 370px; margin: 0; color: var(--muted-foreground); font-size: 13px; line-height: 1.7; transition: color .45s ease; }
.principles article[data-visual="true"] { background: var(--primary); color: #fff9f1; }
.principles article[data-visual="true"]::before { color: rgba(255,255,255,.075); }
.principles article[data-visual="true"] > span, .principles article[data-visual="true"] p { color: #e7cbd0; }
.principles article[data-visual="true"]:hover::before { transform: translateX(-16px) rotate(-4deg); }
.principles article[data-visual="true"]:hover h2 { transform: translateX(12px); }

.applications { position: relative; display: grid; grid-template-columns: 48% 52%; overflow: hidden; background: #191917; color: #f4f1e9; }
.applications-axis { position: absolute; z-index: 3; top: 28px; left: 50%; display: flex; gap: 22px; transform: translateX(-50%); color: #8d8880; font-size: 7px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; pointer-events: none; }
.applications-axis span { display: flex; align-items: center; gap: 22px; }
.applications-axis span:not(:last-child)::after { content: ''; width: 18px; height: 1px; background: #67635d; }
.applications-intro { position: relative; isolation: isolate; min-height: 720px; display: flex; flex-direction: column; overflow: hidden; padding: clamp(70px, 8vw, 118px) clamp(28px, 6vw, 90px); border-right: 1px solid #44423c; }
.application-media { position: absolute; z-index: -1; inset: 0; margin: 0; overflow: hidden; background: #31241f; }
.application-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,14,.32) 0%, rgba(20,16,14,.38) 35%, rgba(20,16,14,.9) 100%); }
.application-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 50% 54%; animation: image-breathe 19s ease-in-out infinite alternate-reverse; }
.application-media figcaption { position: absolute; z-index: 1; top: 30px; right: 28px; display: flex; flex-direction: column; align-items: flex-end; gap: 5px; color: rgba(255,255,255,.78); font-size: 7px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.section-label-light { color: #bf939a; }
.applications-intro .section-label, .applications-intro h2, .applications-intro > p { position: relative; z-index: 1; }
.applications-intro h2 { margin: auto 0 34px; text-shadow: 0 2px 28px rgba(0,0,0,.25); font-family: var(--font-serif-display); font-size: clamp(55px, 6.8vw, 100px); font-weight: 400; line-height: .88; letter-spacing: -.06em; }
.applications-intro h2 em { color: #c49a9f; font-weight: 400; }
.applications-intro > p { max-width: 480px; margin: 0; color: #bbb7ad; font-size: 13px; line-height: 1.7; }
.application-list { padding: clamp(70px, 8vw, 118px) clamp(28px, 5vw, 76px); }
.application-list article { position: relative; isolation: isolate; min-height: 124px; display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 20px; overflow: hidden; border-bottom: 1px solid #44423c; }
.application-list article:first-child { border-top: 1px solid #44423c; }
.application-list article::before { content: ''; position: absolute; z-index: -2; inset: 0; background: var(--primary); transform: scaleX(0); transform-origin: right; transition: transform .55s cubic-bezier(.2,.72,.22,1); }
.application-list article.visual-row::before { transform: scaleX(1); }
.application-list article.visual-row::after { content: ''; position: absolute; z-index: -1; top: 50%; right: 8%; width: 190px; aspect-ratio: 1; transform: translateY(-50%); border: 1px solid rgba(255,255,255,.11); border-radius: 50%; }
.application-list article > span { color: #9e9890; font-size: 8px; letter-spacing: .15em; transition: color .4s ease; }
.application-list h3 { margin: 0 0 7px; font-family: var(--font-serif-display); font-size: clamp(27px, 3vw, 44px); font-weight: 400; letter-spacing: -.035em; transition: transform .5s cubic-bezier(.2,.72,.22,1); }
.application-list p { margin: 0; color: #9e9a92; font-size: 11px; letter-spacing: .03em; transition: color .4s ease; }
.application-list svg { transition: transform .45s cubic-bezier(.2,.72,.22,1); }
.application-list article.visual-row > span, .application-list article.visual-row p { color: #e0bcc2; }
.application-list article:hover h3 { transform: translateX(12px); }
.application-list article:hover svg { transform: translate(3px, -3px) rotate(45deg); }

.process { display: grid; grid-template-columns: 38% 62%; padding: clamp(100px, 12vw, 190px) clamp(28px, 6vw, 96px); background: var(--paper); border-bottom: 1px solid var(--border); }
.process-heading h2 { max-width: 470px; margin: 60px 0 0; font-family: var(--font-serif-display); font-size: clamp(48px, 5vw, 78px); font-weight: 400; line-height: .95; letter-spacing: -.052em; }
.process-media { position: relative; width: calc(100% - clamp(28px, 4vw, 64px)); height: clamp(190px, 18vw, 280px); margin: 48px 0 0; overflow: hidden; background: #ded8cc; }
.process-media img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 53% 50%; transition: transform 1.1s cubic-bezier(.2,.72,.22,1); }
.process-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 48%, rgba(26,21,18,.48) 100%); pointer-events: none; }
.process-media:hover img { transform: scale(1.045); }
.process-media figcaption { position: absolute; z-index: 1; right: 14px; bottom: 13px; left: 14px; display: flex; justify-content: space-between; gap: 18px; padding-top: 9px; border-top: 1px solid rgba(255,255,255,.62); color: #fff; font-size: 7px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.process ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--border); }
.process li { position: relative; min-height: 190px; display: grid; grid-template-columns: 60px 180px 1fr; align-items: center; gap: 22px; overflow: hidden; border-bottom: 1px solid var(--border); }
.process li::before { content: ''; position: absolute; inset: 0; background: transparent; transition: background .4s ease; }
.process li.visual-row::before { content: attr(data-step); top: 50%; right: 16px; bottom: auto; left: auto; color: color-mix(in srgb, var(--primary) 9%, transparent); background: transparent; font-family: var(--font-serif-display); font-size: 176px; line-height: .7; letter-spacing: -.08em; transform: translateY(-50%); }
.process li::after { content: ''; position: absolute; left: 0; bottom: -1px; width: 0; height: 2px; background: var(--primary); transition: width .6s cubic-bezier(.2,.72,.22,1); }
.process li.visual-row:hover::after { width: 100%; }
.process li > * { position: relative; z-index: 1; }
.process li > span { color: var(--primary); font-size: 9px; font-weight: 600; letter-spacing: .15em; }
.process li h3 { margin: 0; font-family: var(--font-serif-display); font-size: clamp(31px, 3vw, 44px); font-weight: 400; letter-spacing: -.035em; }
.process li p { max-width: 420px; margin: 0; color: var(--muted-foreground); font-size: 13px; line-height: 1.7; }

.quote { position: relative; isolation: isolate; min-height: 590px; display: flex; flex-direction: column; align-items: center; justify-content: center; overflow: hidden; padding: 80px clamp(24px, 8vw, 120px); background: #702132; color: #fff9f1; text-align: center; }
.quote-watermark { position: absolute; z-index: -1; top: 50%; left: 0; width: max-content; transform: translateY(-50%); color: transparent; font-family: var(--font-serif-display); font-size: clamp(150px, 20vw, 320px); line-height: .8; letter-spacing: -.055em; white-space: nowrap; -webkit-text-stroke: 1px rgba(255,255,255,.1); animation: watermark-drift 28s linear infinite; }
.quote p { max-width: 1180px; margin: 0; font-family: var(--font-serif-display); font-size: clamp(55px, 7.5vw, 112px); font-weight: 400; line-height: .89; letter-spacing: -.06em; }
.quote > span { margin-top: 42px; color: #d4adb3; font-size: 8px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }

.contact { position: relative; isolation: isolate; overflow: hidden; padding: clamp(100px, 12vw, 180px) clamp(28px, 6vw, 96px); background: var(--background); }
.contact-grid { display: grid; grid-template-columns: 1.5fr .5fr; align-items: end; gap: 80px; margin-top: 62px; }
.contact h2 { margin: 0; font-family: var(--font-serif-display); font-size: clamp(65px, 9vw, 138px); font-weight: 400; line-height: .82; letter-spacing: -.067em; }
.contact h2 em { color: var(--primary); font-weight: 400; }
.contact-grid > div p { max-width: 390px; margin: 0 0 36px; color: var(--muted-foreground); font-family: var(--font-serif-display); font-size: 19px; line-height: 1.55; }
.contact-grid > div a { display: inline-flex; align-items: center; gap: 13px; padding-bottom: 8px; border-bottom: 1px solid var(--foreground); font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

footer { min-height: 116px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 26px clamp(24px, 4vw, 72px); background: #191917; color: #f4f1e9; }
.footer-mark { color: #f4f1e9; }
footer p, footer > a:last-child { margin: 0; color: #96928a; font-size: 8px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
footer > a:last-child { justify-self: end; }

@keyframes line-arrival {
  from { opacity: 0; transform: translateY(42px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes image-breathe {
  from { transform: scale(1.015); }
  to { transform: scale(1.07); }
}

@keyframes hero-photo-motion {
  0% { transform: scale(1.07) translate3d(-1.5%, -1%, 0); }
  45% { transform: scale(1.14) translate3d(2.2%, 1.2%, 0); }
  100% { transform: scale(1.09) translate3d(-.8%, 2%, 0); }
}

@keyframes photo-reveal {
  from { clip-path: inset(0 100% 0 0); }
  to { clip-path: inset(0 0 0 0); }
}

@keyframes photo-light {
  0%, 18% { left: -55%; opacity: 0; }
  30% { opacity: 1; }
  52%, 100% { left: 125%; opacity: 0; }
}

@keyframes media-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,255,255,.05); }
  50% { box-shadow: 0 0 0 8px rgba(255,255,255,.16); }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes watermark-drift {
  from { transform: translate(0, -50%); }
  to { transform: translate(-33.333%, -50%); }
}

@supports (animation-timeline: view()) {
  .statement-lead, .principles article, .process li, .contact-grid {
    animation: section-reveal both;
    animation-timeline: view();
    animation-range: entry 8% cover 34%;
  }

  .principles article:nth-child(2), .process li:nth-child(2) { animation-range: entry 13% cover 39%; }
  .principles article:nth-child(3), .process li:nth-child(3) { animation-range: entry 18% cover 44%; }
}

@keyframes section-reveal {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 680px; }
  .hero-media { min-height: 650px; border-right: 0; border-bottom: 1px solid var(--border); }
  .product-statement, .process { grid-template-columns: 1fr; gap: 70px; }
  .process-media { width: min(620px, 100%); height: 310px; }
  .principles { grid-template-columns: 1fr; }
  .principles article { min-height: 320px; border-right: 0; border-bottom: 1px solid var(--border); }
  .principles article:last-child { border-bottom: 0; }
  .applications { grid-template-columns: 1fr; }
  .applications-axis { left: auto; right: 28px; transform: none; }
  .applications-intro { min-height: 650px; border-right: 0; border-bottom: 1px solid #44423c; }
  .application-media figcaption { top: 26px; right: 24px; }
  .contact-grid { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 560px) {
  .site-header { height: 72px; padding-inline: 20px; }
  .wordmark { font-size: 15px; }
  .header-cta { font-size: 8px; letter-spacing: .12em; }
  .hero { min-height: auto; }
  .hero-copy { min-height: 620px; padding: 34px 20px 42px; }
  .hero-index span:last-child { display: none; }
  .hero h1 { margin: 68px 0; font-size: clamp(61px, 20vw, 86px); }
  .hero-benefit { width: 100%; align-items: flex-start; margin-top: 34px; padding-top: 15px; }
  .hero-benefit strong { font-size: 28px; }
  .hero-benefit small { max-width: 145px; font-size: 7px; }
  .hero-bottom { grid-template-columns: 1fr; align-items: start; }
  .primary-action { width: max-content; }
  .hero-media { min-height: 500px; }
  .motion-band { height: 68px; }
  .motion-track span { padding-inline: 20px; font-size: 25px; }
  .attribute-rail { grid-template-columns: 1fr; gap: 25px; padding: 32px 20px; }
  .attribute-rail ul { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
  .product-statement, .process { padding: 86px 20px; }
  .statement-note { grid-template-columns: 1fr; }
  .principles article { padding: 34px 20px; }
  .applications-intro, .application-list { padding: 70px 20px; }
  .applications-axis { top: 24px; right: 20px; gap: 10px; }
  .applications-axis span { gap: 10px; }
  .applications-axis span:not(:last-child)::after { width: 8px; }
  .application-list article { grid-template-columns: 34px 1fr auto; }
  .process li { grid-template-columns: 36px 1fr; min-height: auto; padding: 30px 0; }
  .process li p { grid-column: 2; }
  .process-media { height: 230px; margin-top: 36px; }
  .contact { padding: 86px 20px; }
  footer { grid-template-columns: 1fr; gap: 28px; }
  footer > a:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
