:root {
  --ink: #0f100e;
  --ink-2: #181916;
  --ink-3: #22231f;
  --cream: #f4efe6;
  --cream-2: #e8e0d1;
  --text-dim: rgba(244, 239, 230, .68);
  --text-2: #5e594f;
  --line: rgba(244, 239, 230, .14);
  --line-dark: rgba(15, 16, 14, .14);
  --brass: #c9a66b;
  --brass-deep: #a5813f;
  --max: 1320px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ink); color: var(--cream); font-family: var(--sans); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
figure { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1; margin: 0; letter-spacing: -.015em; }
h2 { font-size: clamp(2.6rem, 5.4vw, 4.9rem); }
h1 em, h2 em { font-style: italic; color: var(--brass); }
.container { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .container { padding: 0 48px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.muted { color: var(--text-dim); }
section { position: relative; }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, box-shadow .4s, transform .5s var(--ease); }
.site-header.scrolled { background: rgba(15, 16, 14, .78); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header.hidden { transform: translateY(-100%); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 84px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 36px; font-size: .74rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.nav a { text-decoration: none; color: var(--text-dim); transition: color .2s; }
.nav a:hover { color: var(--cream); }
.nav .nav-cta { color: var(--ink); background: var(--brass); padding: 12px 20px; border-radius: 999px; transition: background .25s; }
.nav .nav-cta:hover { background: var(--cream); color: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 17px 28px; border: 1px solid var(--brass); border-radius: 999px; background: var(--brass); color: var(--ink);
  font: 600 .74rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: background .3s, color .3s, border-color .3s;
}
.btn:hover { background: var(--cream); border-color: var(--cream); }
.btn.ghost { background: transparent; color: var(--cream); border-color: rgba(244, 239, 230, .45); }
.btn.ghost:hover { border-color: var(--cream); background: var(--cream); color: var(--ink); }
.btn.dark { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn.dark:hover { background: var(--brass); border-color: var(--brass); color: var(--ink); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { height: 100vh; height: 100svh; min-height: 680px; overflow: hidden; display: flex; align-items: flex-end; }
.hero-media { position: absolute; inset: 0; will-change: transform; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(15,16,14,.55) 0%, rgba(15,16,14,.05) 30%, rgba(15,16,14,.35) 60%, rgba(15,16,14,.96) 100%),
  linear-gradient(90deg, rgba(15,16,14,.5), transparent 60%); }
.hero-inner { position: relative; z-index: 2; width: 100%; padding-bottom: 72px; }
.hero-title { font-size: clamp(3.2rem, 8.6vw, 8.6rem); font-weight: 400; line-height: .96; margin: 22px 0 44px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-title .line > span { display: inline-block; }
.hero-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.hero-copy { max-width: 470px; }
.hero-copy p { margin: 0 0 28px; font-size: 1.08rem; color: rgba(244,239,230,.86); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-thumbs { display: flex; gap: 14px; will-change: transform; }
.thumb { position: relative; width: 170px; height: 120px; border-radius: 12px; overflow: hidden; text-decoration: none; border: 1px solid rgba(244,239,230,.25); }
.thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.thumb:hover img { transform: scale(1.08); }
.thumb span { position: absolute; inset: auto 0 0; padding: 22px 12px 10px; font-size: .66rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.scroll-cue { position: absolute; z-index: 2; right: 48px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: right center; display: flex; align-items: center; gap: 12px; font-size: .64rem; letter-spacing: .3em; text-transform: uppercase; color: var(--text-dim); }
.scroll-cue span { width: 48px; height: 1px; background: rgba(244,239,230,.3); position: relative; overflow: hidden; }
.scroll-cue span::after { content: ""; position: absolute; inset: 0; background: var(--brass); animation: cue 2s infinite; }
@keyframes cue { from { transform: translateX(-100%); } to { transform: translateX(100%); } }

/* ---------- Capabilities bar ---------- */
.capabilities { background: var(--ink-2); border-block: 1px solid var(--line); }
.cap-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.cap { display: flex; align-items: center; gap: 16px; padding: 30px 22px; text-decoration: none; border-left: 1px solid var(--line); transition: background .3s; }
.cap:last-child { border-right: 1px solid var(--line); }
.cap:hover { background: var(--ink-3); }
.cap svg { width: 34px; height: 34px; flex: none; color: var(--brass); transition: transform .4s var(--ease); }
.cap:hover svg { transform: translateY(-3px); }
.cap b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.35rem; line-height: 1.1; }
.cap small { display: block; margin-top: 4px; font-size: .78rem; color: var(--text-dim); }

/* ---------- Intro (cream) ---------- */
.intro { background: var(--cream); color: var(--ink); padding: 150px 0 170px; overflow: hidden; }
.intro .eyebrow { color: var(--brass-deep); }
.intro h2 em { color: var(--brass-deep); }
.intro-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 80px; align-items: center; }
.intro h2 { margin: 18px 0 26px; }
.intro p { color: var(--text-2); font-size: 1.08rem; margin: 0 0 26px; max-width: 52ch; }
.ticks { list-style: none; padding: 0; margin: 0 0 36px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 14px; align-items: center; font-weight: 500; }
.ticks li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--brass); font-size: .8rem; flex: none; }
.intro-visual { position: relative; height: 640px; }
.intro-visual figure { position: absolute; overflow: hidden; border-radius: 16px; box-shadow: 0 40px 70px -40px rgba(15,16,14,.55); will-change: transform; }
.intro-visual figure img { width: 100%; height: 100%; object-fit: cover; }
.iv-a { left: 0; top: 0; width: 72%; height: 78%; }
.iv-b { right: 0; bottom: 0; width: 50%; height: 48%; border: 8px solid var(--cream); }
.spin-badge { position: absolute; left: 52%; top: 4%; width: 150px; height: 150px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; z-index: 2; will-change: transform; }
.spin-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.spin-badge text { font: 600 13px var(--sans); letter-spacing: .28em; fill: var(--cream); }
.spin-badge img { width: 54px; }

/* ---------- Services (dark) ---------- */
.services { padding: 150px 0 120px; background: var(--ink); overflow: hidden; }
.section-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: end; margin-bottom: 70px; }
.section-head h2 { margin-top: 18px; }
.section-head p { margin: 0; color: var(--text-dim); font-size: 1.05rem; }
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 260px; gap: 18px; }
.tile { position: relative; display: block; text-decoration: none; border-radius: 18px; overflow: hidden; background: var(--ink-3); }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile:hover img { transform: scale(1.06); }
.tile-body { position: absolute; inset: auto 0 0; padding: 70px 26px 24px; background: linear-gradient(transparent, rgba(10,11,9,.9)); }
.tile .num { font-family: var(--serif); font-size: 1.05rem; color: var(--brass); }
.tile h3 { font-size: 2rem; margin: 4px 0 6px; }
.tile p { margin: 0; color: rgba(244,239,230,.8); font-size: .94rem; max-width: 46ch; }
.t-photo { grid-column: span 2; grid-row: span 2; }
.t-photo h3 { font-size: 2.8rem; }
.t-video, .t-tour { grid-column: span 1; grid-row: span 1; }
.t-plan { grid-column: span 2; }
.t-web { grid-column: span 2; }
.t-cta { grid-column: span 2; background: var(--brass); color: var(--ink); }
.t-cta .tile-body { position: static; background: none; padding: 28px 26px; height: 100%; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; }
.t-cta h3 { font-size: 1.9rem; }
.t-cta p { color: rgba(15,16,14,.75); }
.tile-link { position: absolute; left: 26px; top: 22px; padding: 8px 14px; border-radius: 999px; background: var(--cream); color: var(--ink); font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease); }
.tile:hover .tile-link, .tile:focus-visible .tile-link { opacity: 1; transform: none; }
@media (hover: none) { .tile-link { opacity: 1; transform: none; } }
.demo-tag { position: absolute; top: 10px; left: 10px; z-index: 2; padding: 4px 9px; border-radius: 999px; background: rgba(15,16,14,.72); color: var(--cream); font: 600 .6rem var(--sans); font-style: normal; letter-spacing: .16em; text-transform: uppercase; }
.slide-img { position: relative; }
.slide-img .demo-tag { top: 16px; left: 16px; font-size: .66rem; }
.sample-note { font-size: .88rem; padding-left: 14px; border-left: 2px solid var(--brass-deep); }
.chip { position: absolute; top: 18px; right: 18px; padding: 7px 12px; border-radius: 999px; background: rgba(15,16,14,.75); font-size: .7rem; font-weight: 600; letter-spacing: .14em; color: var(--brass); }
.play { position: absolute; top: 18px; right: 18px; width: 48px; height: 48px; border-radius: 50%; background: rgba(244,239,230,.9); display: grid; place-items: center; }
.play::after { content: ""; margin-left: 4px; border-left: 13px solid var(--ink); border-block: 8px solid transparent; }

/* ---------- Work: pinned horizontal scroll (cream) ---------- */
.work { background: var(--cream); color: var(--ink); }
.work-pin { height: 100vh; overflow: hidden; display: flex; align-items: center; }
.work-track { display: flex; align-items: center; gap: 28px; padding: 0 48px; will-change: transform; }
.work-intro { flex: 0 0 min(440px, 80vw); padding-right: 30px; }
.work-intro .eyebrow { color: var(--brass-deep); }
.work-intro h2 { margin: 18px 0 22px; }
.work-intro h2 em { color: var(--brass-deep); }
.work-intro p { color: var(--text-2); margin: 0 0 30px; }
.work-intro .btn { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.work-intro .btn:hover { background: var(--brass-deep); border-color: var(--brass-deep); }
.drag-hint { margin-top: 40px; font-size: .7rem; letter-spacing: .24em; text-transform: uppercase; color: var(--text-2); }
.drag-hint span { display: inline-block; margin-left: 8px; color: var(--brass-deep); animation: nudge 1.6s infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.slide { flex: 0 0 auto; width: min(58vw, 760px); text-decoration: none; }
.slide-img { height: min(64vh, 560px); border-radius: 18px; overflow: hidden; }
.slide-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); will-change: transform; transition: filter .4s; }
.slide:hover .slide-img img { filter: brightness(1.06); }
.slide-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 18px 4px 0; }
.slide-cap span { font-size: .72rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--brass-deep); }
.slide-cap b { font-family: var(--serif); font-weight: 500; font-size: 1.7rem; }

/* ---------- Demo ---------- */
.demo-section { padding: 120px 0; background: var(--ink); }
.demo { background: var(--ink-2); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; }
.demo-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; padding: 28px 34px; border-bottom: 1px solid var(--line); }
.demo-head h3 { font-size: 2.3rem; margin-top: 10px; }
.demo-hint { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-dim); }
.demo-frame { height: min(72vh, 660px); }
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Process (image background) ---------- */
.process { padding: 170px 0; overflow: hidden; }
.process-bg { position: absolute; inset: -15% 0; will-change: transform; transform: translateZ(0); }
.process-bg img { width: 100%; height: 100%; object-fit: cover; }
.process-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,16,14,.9), rgba(15,16,14,.62) 40%, rgba(15,16,14,.9)); }
.process-inner { position: relative; }
.process h2 { margin: 18px 0 70px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.steps li { padding: 34px 28px 38px; border-radius: 16px; background: rgba(24,25,22,.82); border: 1px solid rgba(244,239,230,.14); }
.steps .n { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--brass); }
.steps h3 { font-size: 2rem; margin: 22px 0 10px; }
.steps p { margin: 0; color: var(--text-dim); }

/* ---------- Contact ---------- */
.contact { padding: 110px 0 130px; background: var(--ink); overflow: hidden; }
.big-line { white-space: nowrap; font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 13vw, 12rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(201,166,107,.55); margin-bottom: 100px; }
.big-line span { display: inline-block; will-change: transform; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.contact h2 { margin: 18px 0 24px; }
.mail { display: inline-block; margin-top: 18px; font-family: var(--serif); font-size: 1.9rem; text-decoration: none; border-bottom: 1px solid var(--brass); }
.mail:hover { color: var(--brass); }
.contact-form { display: grid; gap: 22px; padding: 40px; border-radius: 20px; background: var(--ink-2); border: 1px solid var(--line); }
.contact-form label { display: grid; gap: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--text-dim); }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--cream); font: 400 1.05rem var(--sans); letter-spacing: 0; text-transform: none; outline: none; transition: border-color .2s; resize: vertical; }
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--brass); }
.contact-form .btn { justify-self: start; margin-top: 8px; }

footer { background: var(--ink); color: var(--text-dim); border-top: 1px solid var(--line); padding: 34px 0; font-size: .82rem; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 16px 32px; flex-wrap: wrap; }
.footer-logo { height: 36px; width: auto; }
.footer-slogan { font-family: var(--serif); font-style: italic; font-size: 1.25rem; color: var(--cream); }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .nav a:not(.nav-cta) { display: none; }
  .scroll-cue { display: none; }
  .hero-thumbs .thumb { width: 130px; height: 96px; }
  .intro-grid, .section-head, .contact-grid { grid-template-columns: 1fr; gap: 50px; }
  .intro-visual { height: 120vw; max-height: 560px; }
  .cap-row { grid-template-columns: 1fr 1fr; }
  .cap { border: 0; border-bottom: 1px solid var(--line); }
  .cap:last-child { border-right: 0; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 240px; }
  .t-photo, .t-plan { grid-column: span 2; }
  .t-photo { grid-row: span 1; }
  .t-web, .t-cta { grid-column: span 1; }
  .steps { grid-template-columns: 1fr 1fr; }
  .intro, .services, .process { padding: 100px 0; }
  /* horizontal work becomes a native swipe row */
  .work-pin { height: auto; padding: 100px 0; display: block; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .work-track { padding: 0 16px; align-items: flex-start; }
  .work-intro { flex-basis: 82vw; scroll-snap-align: start; }
  .slide { width: 80vw; scroll-snap-align: center; }
  .slide-img { height: 62vw; }
  .slide-img img { transform: none; }
}
@media (max-width: 640px) {
  .brand img { height: 32px; }
  .nav .nav-cta { padding: 9px 14px; font-size: .64rem; }
  .hero-thumbs { display: none; }
  .cap-row { grid-template-columns: 1fr; }
  .cap { padding: 20px 4px; }
  .bento { grid-template-columns: 1fr; grid-auto-rows: 280px; }
  .t-photo, .t-plan, .t-web, .t-cta { grid-column: auto; }
  .steps { grid-template-columns: 1fr; }
  .spin-badge { width: 110px; height: 110px; }
  .spin-badge text { font-size: 15px; }
  .contact-form { padding: 26px; }
  .demo-frame { height: 440px; }
}
