:root {
  --ink: #18221e;
  --forest: #1b332a;
  --cream: #f3f0e8;
  --paper: #fbfaf6;
  --gold: #c5a26c;
  --line: rgba(24, 34, 30, .18);
  --serif: "Italiana", 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-size: 16px; line-height: 1.65; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }
button { font: inherit; }

.site-header { height: 92px; padding: 0 clamp(24px, 5vw, 76px); display: flex; align-items: center; justify-content: space-between; position: absolute; inset: 0 0 auto; z-index: 20; color: #fff; border-bottom: 1px solid rgba(255,255,255,.25); }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-mark { width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 18px; letter-spacing: -.04em; }
.brand-name { font-family: var(--serif); font-size: 20px; letter-spacing: .03em; }
.main-nav { display: flex; align-items: center; gap: clamp(22px, 3vw, 46px); font-size: 14px; }
.main-nav > a:not(.nav-cta) { position: relative; }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: #fff; transition: right .25s ease; }
.main-nav > a:hover::after { right: 0; }
.nav-cta { border: 1px solid rgba(255,255,255,.65); padding: 12px 18px; transition: .25s ease; }
.nav-cta:hover { background: #fff; color: var(--ink); }
.menu-toggle { display: none; width: 42px; height: 42px; background: transparent; color: inherit; border: 0; padding: 10px; }
.menu-toggle span { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: .25s ease; }

.hero { min-height: 780px; height: 100svh; color: #fff; position: relative; display: flex; align-items: flex-end; overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { height: 100%; object-fit: cover; object-position: center 54%; transform: scale(1.01); animation: hero-in 1.3s cubic-bezier(.2,.8,.2,1) both; }
.hero-shade { background: linear-gradient(90deg, rgba(10,21,17,.78) 0%, rgba(10,21,17,.35) 55%, rgba(10,21,17,.1) 100%), linear-gradient(0deg, rgba(8,18,14,.5), transparent 55%); }
.hero-content { position: relative; z-index: 2; padding: 0 clamp(24px, 8vw, 124px) clamp(82px, 12vh, 136px); max-width: 1020px; }
.eyebrow { text-transform: uppercase; letter-spacing: .19em; font-size: 12px; font-weight: 600; }
.hero h1, .section h2, .contact h2 { margin: 20px 0 26px; font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; line-height: .98; }
.hero h1 { font-size: clamp(62px, 8.6vw, 126px); }
em { font-weight: 400; color: var(--gold); }
.hero-copy { max-width: 580px; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.6; color: rgba(255,255,255,.86); }
.hero-actions { display: flex; align-items: center; gap: 34px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 25px; font-size: 13px; font-weight: 600; letter-spacing: .03em; transition: .25s ease; }
.button-light { background: #fff; color: var(--ink); }
.button-light:hover { background: var(--gold); color: var(--ink); }
.button-dark { background: var(--forest); color: #fff; }
.button-dark:hover { background: var(--gold); color: var(--ink); }
.text-link { display: inline-flex; gap: 16px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 500; }
.text-link span { font-size: 18px; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, 3px); }
.text-link.light { color: #fff; }
.hero-index { position: absolute; z-index: 2; right: clamp(24px, 5vw, 76px); bottom: 42px; display: flex; align-items: center; gap: 22px; color: rgba(255,255,255,.78); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-index span:first-child { color: var(--gold); }

.section { padding: clamp(92px, 12vw, 170px) clamp(24px, 8vw, 124px); }
.section-label { display: flex; gap: 18px; align-items: center; margin-bottom: 58px; text-transform: uppercase; letter-spacing: .17em; font-size: 12px; font-weight: 600; }
.section-label span { color: var(--gold); }
.manifesto { background: var(--paper); }
.manifesto-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(320px,.65fr); gap: clamp(50px, 10vw, 160px); align-items: start; }
.section h2 { font-size: clamp(48px, 6.2vw, 88px); }
.manifesto-grid h2 { margin-top: 0; }
.manifesto-copy .lead { margin: 5px 0 25px; font-family: var(--serif); font-size: clamp(23px, 2.1vw, 30px); line-height: 1.4; }
.manifesto-copy > p:not(.lead) { color: #58605d; }
.manifesto-copy .text-link { margin-top: 25px; }
.values { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); margin-top: clamp(72px, 10vw, 140px); }
.values article { padding: 35px 34px 5px 0; border-right: 1px solid var(--line); }
.values article + article { padding-left: 34px; }
.values article:last-child { border-right: 0; }
.values span { color: var(--gold); font-size: 12px; }
.values h3 { margin: 18px 0 8px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.values p { color: #686e6b; font-size: 14px; }

.projects { background: var(--forest); color: #fff; }
.section-heading { display: grid; grid-template-columns: .8fr 1.2fr .55fr; gap: 40px; align-items: end; margin-bottom: 70px; }
.section-heading .section-label { align-self: start; }
.section-heading h2 { margin: 0; }
.section-heading > p { color: rgba(255,255,255,.65); margin: 0 0 8px; }
.project-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 52px 24px; }
.project-large { grid-row: span 2; }
.project-image { overflow: hidden; background: #ddd; }
.project-card img { height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.75,.2,1); }
.project-card:hover img { transform: scale(1.035); }
.project-large .project-image { aspect-ratio: 4/5; }
.project-card:not(.project-large) .project-image { aspect-ratio: 4/3; }
.project-meta { display: grid; grid-template-columns: 1fr auto; padding-top: 20px; position: relative; }
.project-meta h3 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 27px; }
.project-meta p { margin: 3px 0 0; grid-column: 1; color: rgba(255,255,255,.6); font-size: 13px; }
.project-meta span { grid-column: 2; grid-row: 1 / span 2; color: var(--gold); font-size: 12px; }

.transformations { background: var(--paper); }
.transformations-heading { display: grid; grid-template-columns: 1.25fr .55fr; gap: 60px; align-items: end; margin-bottom: 70px; }
.transformations-heading .section-label { margin-bottom: 35px; }
.transformations-heading h2 { margin: 0; }
.transformations-heading > p { margin: 0 0 10px; color: #686e6b; max-width: 390px; }
.comparison-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 58px 24px; }
.comparison-wide { grid-column: 1 / -1; }
.comparison { --position: 50%; position: relative; overflow: hidden; aspect-ratio: 16 / 8.2; background: #d7d4cc; isolation: isolate; }
.comparison-portrait { aspect-ratio: 4 / 5; }
.comparison img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.comparison-before { z-index: 2; clip-path: inset(0 calc(100% - var(--position)) 0 0); }
.comparison-label { position: absolute; top: 20px; z-index: 4; padding: 7px 12px; background: rgba(16,34,27,.84); color: #fff; font-size: 11px; text-transform: uppercase; letter-spacing: .14em; backdrop-filter: blur(6px); }
.label-before { left: 20px; }
.label-after { right: 20px; }
.comparison-handle { position: absolute; z-index: 4; top: 0; bottom: 0; left: var(--position); width: 1px; background: rgba(255,255,255,.95); transform: translateX(-50%); display: grid; place-items: center; pointer-events: none; }
.comparison-handle::before { content: ""; position: absolute; width: 47px; height: 47px; border-radius: 50%; background: #fff; box-shadow: 0 5px 24px rgba(0,0,0,.24); }
.comparison-handle > span { position: relative; z-index: 1; color: var(--forest); font-size: 19px; line-height: 1; }
.comparison-handle > span:first-child { margin-right: 12px; }
.comparison-handle > span:last-child { position: absolute; margin-left: 15px; }
.comparison-range { position: absolute; z-index: 5; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.comparison-range:focus-visible + * { outline: 0; }
.comparison:focus-within { outline: 3px solid var(--gold); outline-offset: 4px; }
.comparison-meta { display: flex; justify-content: space-between; gap: 20px; align-items: baseline; padding-top: 18px; }
.comparison-meta h3 { margin: 0; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.comparison-meta p { margin: 0; color: #767b78; font-size: 13px; }

.services { background: var(--cream); }
.services-heading { grid-template-columns: .8fr 1.75fr; }
.service-list { border-top: 1px solid var(--line); }
.service-row { display: grid; grid-template-columns: 70px minmax(0,1fr) 190px; gap: 35px; align-items: start; padding: 36px 0; border-bottom: 1px solid var(--line); }
.service-number { color: var(--gold); font-size: 12px; padding-top: 9px; }
.service-row h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.service-row p { margin: 0; max-width: 700px; color: #626864; }
.service-price { text-align: right; padding-top: 10px; font-size: 14px; font-weight: 600; }
.services-note { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-top: 45px; }
.services-note p { color: #626864; }

.process { background: var(--paper); }
.process-grid { display: grid; grid-template-columns: .85fr 1fr; gap: clamp(60px, 10vw, 160px); }
.process-grid h2 { margin-top: 0; }
.process ol { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.process li { display: grid; grid-template-columns: 50px 1fr; gap: 20px; padding: 30px 0; border-bottom: 1px solid var(--line); }
.process li > span { color: var(--gold); font-size: 12px; padding-top: 8px; }
.process h3 { font-family: var(--serif); font-weight: 400; font-size: 28px; margin: 0 0 5px; }
.process p { color: #686e6b; margin: 0; }

.contact { background: var(--forest); color: #fff; padding: clamp(95px, 13vw, 170px) 24px; text-align: center; }
.contact-inner { max-width: 850px; margin: auto; }
.contact h2 { font-size: clamp(62px, 8vw, 110px); }
.contact-inner > p:not(.eyebrow) { max-width: 580px; margin: 0 auto; color: rgba(255,255,255,.68); font-size: 18px; }
.contact-actions { display: flex; justify-content: center; align-items: center; gap: 35px; margin-top: 40px; }
.contact-phone { font-size: 18px; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 4px; }

footer { background: #10221b; color: rgba(255,255,255,.76); min-height: 150px; padding: 45px clamp(24px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 13px; font-family: var(--serif); font-size: 17px; color: #fff; }
.footer-brand .brand-mark { width: 36px; height: 36px; font-size: 14px; }
.footer-links { display: flex; gap: 28px; }
.footer-links a:hover { color: var(--gold); }
footer > p { text-align: right; }

@keyframes hero-in { from { transform: scale(1.08); opacity: .6; } to { transform: scale(1.01); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .hero-media img { animation: none; } * { transition-duration: .01ms !important; } }

@media (max-width: 900px) {
  .site-header { height: 78px; }
  .brand-name { font-size: 18px; }
  .menu-toggle { display: block; position: relative; z-index: 22; }
  .main-nav { position: fixed; inset: 0; background: var(--forest); flex-direction: column; justify-content: center; font-family: var(--serif); font-size: 32px; transform: translateX(100%); transition: transform .35s ease; }
  .main-nav.open { transform: translateX(0); }
  .nav-cta { font-family: var(--sans); font-size: 13px; margin-top: 20px; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .hero { min-height: 720px; }
  .hero-content { padding-bottom: 80px; }
  .hero-index { display: none; }
  .manifesto-grid, .process-grid { grid-template-columns: 1fr; gap: 35px; }
  .values { grid-template-columns: 1fr; }
  .values article, .values article + article { padding: 27px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .section-heading, .services-heading, .transformations-heading { grid-template-columns: 1fr; gap: 25px; }
  .section-heading .section-label { margin-bottom: 12px; }
  .section-heading > p { max-width: 430px; }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  footer > p { text-align: center; }
}

@media (max-width: 680px) {
  .site-header { padding-inline: 20px; }
  .brand-mark { width: 39px; height: 39px; font-size: 15px; }
  .brand-name { font-size: 16px; }
  .hero-media img { object-position: 58% center; }
  .hero h1 { font-size: clamp(54px, 16vw, 72px); }
  .hero-copy { max-width: 360px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .section { padding: 90px 22px; }
  .section-label { margin-bottom: 38px; }
  .section h2 { font-size: clamp(45px, 13vw, 62px); }
  .project-grid { grid-template-columns: 1fr; gap: 48px; }
  .project-large { grid-row: auto; }
  .project-large .project-image, .project-card:not(.project-large) .project-image { aspect-ratio: 4/4.7; }
  .comparison-grid { grid-template-columns: 1fr; gap: 48px; }
  .comparison-wide { grid-column: auto; }
  .comparison, .comparison-portrait { aspect-ratio: 4 / 5; }
  .comparison-meta { align-items: flex-start; flex-direction: column; gap: 3px; }
  .service-row { grid-template-columns: 36px 1fr; gap: 15px; }
  .service-price { grid-column: 2; text-align: left; padding-top: 5px; color: var(--forest); }
  .service-row h3 { font-size: 29px; }
  .services-note { align-items: flex-start; flex-direction: column; }
  .contact h2 { font-size: clamp(56px, 17vw, 78px); }
  .contact-actions { flex-direction: column; gap: 25px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
