@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #0d1110;
  --ink-soft: #141a18;
  --stone: #e9e4db;
  --paper: #f6f3ed;
  --muted: #a9afa9;
  --teal: #315f5d;
  --gold: #c8a66c;
  --line: rgba(255,255,255,.13);
  --page: min(1320px, calc(100vw - 80px));
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--paper);
  background: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.ldr-onepage-template { color: var(--paper) !important; background: var(--ink) !important; }
body.dialog-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img, video { display: block; max-width: 100%; }

.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; color: var(--ink); background: var(--paper); }
.skip-link:focus { top: 16px; }
.top-anchor { position: absolute; top: 0; left: 0; width: 1px; height: 1px; pointer-events: none; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 92px;
  padding: 0 max(32px, calc((100vw - 1320px) / 2));
  display: grid;
  grid-template-columns: 220px 1fr auto;
  align-items: center;
  gap: 30px;
  color: var(--ink);
  background: rgba(246,243,237,.97);
  border-bottom: 1px solid rgba(13,17,16,.12);
  box-shadow: 0 8px 35px rgba(8,12,10,.06);
  backdrop-filter: blur(18px);
  transition: background .35s, border-color .35s, height .35s;
}
.site-header.scrolled { height: 76px; background: rgba(246,243,237,.97); border-color: rgba(13,17,16,.16); }
body.admin-bar .site-header { top: 32px; }
.brand img { width: 174px; height: 67px; object-fit: contain; }
.desktop-nav { justify-self: center; display: flex; gap: clamp(24px, 3vw, 54px); font-size: 14px; }
.desktop-nav a { color: #343b37; transition: color .2s; }
.desktop-nav a:hover { color: var(--teal); }
.header-cta { padding: 12px 20px; color: white; background: var(--teal); border: 1px solid var(--teal); border-radius: 999px; font-size: 13px; }
.menu-toggle, .mobile-nav { display: none; }

.hero {
  min-height: 100svh;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(380px, .97fr);
  background: linear-gradient(130deg, #111714 0%, #0c100f 58%, #111816 100%);
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; left: -250px; bottom: -300px; border: 1px solid rgba(200,166,108,.2); box-shadow: 0 0 0 90px rgba(200,166,108,.02), 0 0 0 180px rgba(200,166,108,.015); }
.hero-copy { width: min(680px, calc(100% - 80px)); margin: auto; padding-top: 110px; position: relative; z-index: 2; }
.eyebrow, .section-kicker { margin: 0 0 28px; color: var(--gold); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { margin: 0; color: var(--paper) !important; font-family: "Manrope", sans-serif; font-size: clamp(54px, 6vw, 104px); line-height: .96; letter-spacing: -.055em; font-weight: 500; }
.hero h1 em { color: var(--gold) !important; font-style: normal; font-weight: 400; }
.hero-lead { max-width: 560px; margin: 34px 0 38px; color: #bbc0bb; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 25px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: transform .2s, background .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--ink); background: var(--paper); }
.button-ghost { border: 1px solid rgba(255,255,255,.25); }
.button-ghost:hover { background: rgba(255,255,255,.08); }

.hero-media { position: relative; height: 100svh; min-height: 700px; overflow: hidden; background: #050706; }
.hero-media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(13,17,16,.58), transparent 24%), linear-gradient(0deg, rgba(5,7,6,.54), transparent 38%); pointer-events: none; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .88; }
.video-caption { position: absolute; z-index: 2; left: 34px; bottom: 42px; display: grid; gap: 5px; }
.video-caption span { color: #d1d4cf; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.video-caption strong { font-family: "Manrope"; font-size: 25px; font-weight: 500; }
.hero-index { position: absolute; z-index: 3; left: 34px; bottom: 38px; color: #737b75; font-size: 12px; letter-spacing: .12em; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 38px; color: #9ca29d; font-size: 12px; transform: translateX(-50%); }
.scroll-cue span { color: white; margin-left: 8px; }

.section { width: var(--page); margin: 0 auto; padding: 140px 0; }
.intro { color: var(--ink); background: var(--paper); width: 100%; padding-inline: max(40px, calc((100vw - 1320px) / 2)); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); gap: clamp(60px, 9vw, 150px); align-items: start; }
.intro h2, .projects h2, .approach h2, .contact h2 { margin: 0; font-family: "Manrope"; font-size: clamp(38px, 5vw, 72px); line-height: 1.08; letter-spacing: -.045em; font-weight: 500; }
.intro-copy { padding-top: 10px; }
.intro-copy p { margin: 0 0 22px; color: #515751; font-size: 18px; line-height: 1.75; }
.text-link { display: inline-flex; gap: 20px; margin-top: 16px; padding-bottom: 8px; border-bottom: 1px solid #818781; font-weight: 600; }
.values-strip { margin-top: 96px; padding: 28px 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid #cac8c1; border-bottom: 1px solid #cac8c1; }
.values-strip span { text-align: center; font-family: "Manrope"; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; border-right: 1px solid #cac8c1; }
.values-strip span:last-child { border: 0; }

.projects { padding-bottom: 170px; }
.projects h2 { color: var(--paper) !important; }
.projects-heading { display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; margin-bottom: 74px; }
.projects-heading > p { margin: 0 0 8px; max-width: 430px; color: var(--muted); font-size: 17px; line-height: 1.7; }
.project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.project-card { position: relative; aspect-ratio: 4 / 3; min-height: 0; overflow: hidden; background: #191e1c; cursor: pointer; border: 0; padding: 0; color: white; text-align: left; }
.project-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(4,7,6,.86), transparent 55%); }
.project-card img, .project-card > video { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.project-card:hover img, .project-card:hover > video { transform: scale(1.035); filter: brightness(.9); }
.project-card-copy { position: absolute; z-index: 2; inset: auto 22px 22px; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 18px; }
.project-card-index { color: var(--gold); font-size: 11px; letter-spacing: .16em; }
.project-card h3 { margin: 7px 0 0; color: #fff !important; font-family: "Manrope"; font-size: clamp(20px, 1.75vw, 28px); line-height: 1.16; letter-spacing: -.025em; font-weight: 500; }
.project-card .arrow { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; font-size: 17px; }

.approach { width: 100%; padding: 0; display: grid; grid-template-columns: 1fr 1fr; background: var(--stone); color: var(--ink); }
.approach-media { min-height: 860px; }
.approach-media img { width: 100%; height: 100%; object-fit: cover; }
.approach-copy { padding: clamp(70px, 8vw, 135px); align-self: center; }
.approach-list { margin-top: 65px; }
.approach-list article { display: grid; grid-template-columns: 46px 1fr; gap: 25px; padding: 25px 0; border-top: 1px solid #c3c1ba; }
.approach-list article:last-child { border-bottom: 1px solid #c3c1ba; }
.approach-list article > span { color: var(--teal); font-size: 12px; font-weight: 700; }
.approach-list h3 { margin: -4px 0 8px; font-family: "Manrope"; font-size: 21px; }
.approach-list p { margin: 0; color: #5d625c; line-height: 1.65; }

.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 150px); align-items: start; }
.contact h2 { color: var(--paper) !important; }
.contact-copy > p:last-child { max-width: 500px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.contact-actions { border-top: 1px solid var(--line); }
.contact-card { min-height: 118px; display: grid; grid-template-columns: 130px 1fr auto; gap: 20px; align-items: center; border-bottom: 1px solid var(--line); transition: padding .25s, background .25s; }
a.contact-card:hover { padding-inline: 18px; background: rgba(255,255,255,.035); }
.contact-card span { color: var(--gold); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.contact-card strong { color: var(--paper) !important; font-family: "Manrope"; font-size: clamp(17px, 1.7vw, 25px); font-weight: 500; }
.contact-card b { color: var(--paper) !important; font-size: 20px; font-weight: 400; }

.project-dialog { width: 100%; max-width: none; min-height: 100%; margin: 0; padding: 0; color: var(--ink); background: var(--paper); border: 0; overflow: auto; }
.project-dialog::backdrop { background: rgba(0,0,0,.84); }
.dialog-close { position: fixed; z-index: 4; top: 24px; right: 28px; width: 52px; height: 52px; color: var(--paper); background: var(--ink); border: 0; border-radius: 50%; font-size: 31px; cursor: pointer; }
.dialog-head { width: min(1180px, calc(100% - 64px)); margin: 0 auto; padding: 120px 0 65px; }
.dialog-head h2 { margin: 0; font-family: "Manrope"; font-size: clamp(42px, 7vw, 94px); line-height: 1; letter-spacing: -.05em; }
.dialog-head > p:last-child { max-width: 620px; margin: 28px 0 0; color: #5c625c; font-size: 18px; line-height: 1.7; }
.gallery { width: min(1380px, calc(100% - 40px)); margin: 0 auto 80px; columns: 3 360px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; background: #ddd8cf; }
.gallery img, .gallery video { width: 100%; height: auto; min-height: 220px; object-fit: cover; }
.gallery figcaption { padding: 12px 14px; color: #6b706b; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  :root { --page: calc(100vw - 40px); }
  .site-header { height: 76px; padding: 0 20px; grid-template-columns: 1fr auto; }
  .brand img { width: 138px; height: 53px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { justify-self: end; display: grid; gap: 7px; width: 44px; height: 44px; place-content: center; color: var(--ink); background: transparent; border: 1px solid rgba(13,17,16,.24); border-radius: 50%; }
  .menu-toggle span { display: block; width: 18px; height: 1px; background: currentColor; transition: transform .25s; }
  .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); }
  .mobile-nav { position: fixed; inset: 76px 0 auto; padding: 28px 22px 35px; display: grid; gap: 20px; color: var(--ink); background: rgba(246,243,237,.99); border-bottom: 1px solid rgba(13,17,16,.14); transform: translateY(-130%); opacity: 0; transition: .35s var(--ease); }
  .mobile-nav.open { transform: none; opacity: 1; }
  .hero { display: block; min-height: 100svh; }
  .hero-copy { position: relative; z-index: 2; min-height: 100svh; width: calc(100% - 40px); padding: 145px 0 66px; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero h1 { font-size: clamp(50px, 13vw, 78px); }
  .hero-lead { color: #eef0ec; text-shadow: 0 2px 18px rgba(0,0,0,.4); }
  .hero-media { position: absolute; z-index: 0; inset: 0; height: 100%; min-height: 0; }
  .hero-media::before { background: linear-gradient(180deg, rgba(5,8,7,.18) 15%, rgba(5,8,7,.4) 48%, rgba(5,8,7,.92) 100%), linear-gradient(90deg, rgba(5,8,7,.28), transparent 70%); }
  .hero-media video { object-fit: cover; object-position: center; opacity: 1; }
  .video-caption { display: none; }
  .hero-index, .scroll-cue { display: none; }
  .intro-grid, .projects-heading, .contact { grid-template-columns: 1fr; }
  .section { padding-block: 95px; }
  .intro { padding-inline: 20px; }
  .values-strip { grid-template-columns: 1fr 1fr; }
  .values-strip span { padding: 17px 5px; border-bottom: 1px solid #cac8c1; }
  .values-strip span:nth-child(2) { border-right: 0; }
  .values-strip span:nth-child(3), .values-strip span:nth-child(4) { border-bottom: 0; }
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .approach { grid-template-columns: 1fr; }
  .approach-media { min-height: 600px; }
  .contact-card { grid-template-columns: 95px 1fr auto; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

@media (max-width: 600px) {
  .hero-copy { min-height: 100svh; padding: 138px 0 50px; }
  .hero-lead { font-size: 16px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .hero-media { height: 100%; }
  .hero-media video { object-position: center; }
  .section { padding-block: 78px; }
  .intro h2, .projects h2, .approach h2, .contact h2 { font-size: 40px; }
  .intro-grid { gap: 42px; }
  .values-strip { margin-top: 60px; }
  .projects-heading { gap: 28px; margin-bottom: 42px; }
  .project-grid { grid-template-columns: 1fr; gap: 14px; }
  .project-card { aspect-ratio: 4 / 3; }
  .project-card-copy { inset: auto 20px 22px; }
  .approach-media { min-height: 430px; }
  .approach-copy { padding: 74px 20px; }
  .contact { gap: 45px; }
  .contact-card { min-height: 104px; grid-template-columns: 1fr auto; }
  .contact-card span { grid-column: 1 / -1; align-self: end; }
  .contact-card strong { align-self: start; }
  .dialog-head { width: calc(100% - 40px); padding-top: 100px; }
  .gallery { width: calc(100% - 24px); columns: 1; }
}

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