:root {
  --ink: #101014;
  --muted: #74747d;
  --paper: #f7f7f4;
  --lilac: #9b6ab3;
  --lilac-dark: #704283;
  --line: #dedde1;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }
.navbar { transition: background .25s ease, box-shadow .25s ease; }
.navbar.scrolled { background: rgba(247,247,244,.96) !important; box-shadow: 0 1px 18px rgba(16,16,20,.08); }
.brand-mark { width: 42px; height: 42px; object-fit: contain; }
.brand-word { font-family: 'Space Grotesk', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -.04em; }
.brand-word span { color: var(--muted); font-weight: 400; }
.nav-link { font-size: .86rem; font-weight: 500; color: #5f5e66 !important; margin-left: 1.1rem; }
.nav-link:hover, .nav-link.active { color: var(--ink) !important; }
.nav-link.active { text-decoration: underline; text-decoration-color: var(--lilac); text-underline-offset: 7px; }
.btn-brand { background: var(--ink); color: var(--white); border: 1px solid var(--ink); border-radius: 2px; padding: .78rem 1.15rem; font-size: .83rem; font-weight: 600; }
.btn-brand:hover { background: var(--lilac-dark); border-color: var(--lilac-dark); color: var(--white); }
.btn-outline-brand { border: 1px solid var(--ink); border-radius: 2px; padding: .78rem 1.15rem; font-size: .83rem; font-weight: 600; }
.btn-outline-brand:hover { background: var(--ink); color: white; }
.hero { min-height: 94vh; display: flex; align-items: end; position: relative; overflow: hidden; background: var(--ink); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 52% center; opacity: .62; }
.hero:after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(16,16,20,.88) 0%, rgba(16,16,20,.42) 48%, rgba(16,16,20,.08) 100%); }
.hero-content { position: relative; z-index: 1; color: white; padding-bottom: 10vh; }
.kicker { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; color: var(--lilac); }
.display-title { font-family: 'Space Grotesk', sans-serif; font-size: clamp(3.4rem, 8vw, 7.8rem); line-height: .91; letter-spacing: -.075em; font-weight: 700; max-width: 820px; }
.display-title em { color: #cba6d8; font-style: normal; }
.hero-note { max-width: 365px; font-size: 1.02rem; line-height: 1.55; color: rgba(255,255,255,.8); }
.scroll-cue { color: rgba(255,255,255,.75); font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; display: flex; align-items: center; gap: .65rem; }
.scroll-cue i { color: #cba6d8; }
.section { padding: 7.5rem 0; }
.section-sm { padding: 4.5rem 0; }
.section-title { font-family: 'Space Grotesk', sans-serif; font-weight: 700; letter-spacing: -.055em; line-height: .98; font-size: clamp(2.4rem, 5vw, 5.3rem); }
.section-intro { max-width: 490px; color: var(--muted); line-height: 1.7; }
.rule { height: 1px; background: var(--line); }
.service-card { border-top: 1px solid var(--line); padding: 1.7rem 0 1.25rem; transition: padding-left .25s ease; }
.service-card:hover { padding-left: .7rem; }
.service-card h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.45rem; letter-spacing: -.04em; margin: 0; }
.service-card p { color: var(--muted); font-size: .92rem; margin: .7rem 0 0; max-width: 430px; line-height: 1.6; }
.service-number { color: var(--lilac-dark); font-size: .75rem; font-weight: 700; }
.feature-photo { width: 100%; height: 540px; object-fit: cover; }
.photo-tall { height: 690px; object-fit: cover; width: 100%; }
.caption { font-size: .72rem; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; padding-top: .8rem; }
.stat { border-top: 1px solid var(--line); padding-top: 1.1rem; }
.stat strong { font-family: 'Space Grotesk', sans-serif; font-size: 2.7rem; letter-spacing: -.07em; }
.stat span { color: var(--muted); font-size: .84rem; display: block; }
.page-hero { padding: 10rem 0 5rem; background: #ece8ef; }
.page-hero .section-title { max-width: 780px; }
.page-hero p { max-width: 520px; color: var(--muted); line-height: 1.7; }
.work-tile { position: relative; overflow: hidden; background: var(--ink); }
.work-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.work-tile:hover img { transform: scale(1.04); }
.work-tile .tile-label { position: absolute; left: 1.3rem; bottom: 1.2rem; color: white; z-index: 1; font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.work-tile:after { content:''; position:absolute; inset: 45% 0 0; background: linear-gradient(transparent,rgba(0,0,0,.7)); }
.form-control, .form-select { border-radius: 0; border: 1px solid var(--line); background: transparent; padding: .9rem 1rem; }
.form-control:focus, .form-select:focus { border-color: var(--lilac); box-shadow: 0 0 0 .2rem rgba(155,106,179,.12); background: white; }
.contact-panel { background: var(--ink); color: white; padding: clamp(2rem, 5vw, 5rem); }
.contact-panel .section-title { color: white; }
.contact-detail { border-top: 1px solid rgba(255,255,255,.18); padding: 1rem 0; color: rgba(255,255,255,.7); font-size: .9rem; }
.contact-detail strong { color: white; display: block; margin-bottom: .3rem; }
footer { background: var(--ink); color: white; padding: 4rem 0 2rem; }
footer .brand-word { color: white; }
footer small { color: rgba(255,255,255,.5); }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (max-width: 767.98px) {
  .navbar { background: rgba(247,247,244,.96); }
  .nav-link { margin-left: 0; padding: .65rem 0; }
  .hero { min-height: 82vh; }
  .hero-photo { object-position: 60% center; }
  .section { padding: 5rem 0; }
  .feature-photo { height: 360px; }
  .photo-tall { height: 460px; }
}
