/* ============================================================
   DVIPA COLLECTIVE — Stylesheet
   Type: Fragment Mono (display + UI) / Inter (body copy)
   ============================================================ */

:root {
  /* Core */
  --black:      #0A0A0A;
  --surface:    #101010;
  --charcoal:   #171717;
  --line:       #262626;
  --line-soft:  #1E1E1E;
  --grey:       #6B6B6B;
  --grey-light: #9A9A9A;
  --white:      #F2F1ED;
  --white-dim:  #A8A7A2;

  /* Accent — single chromatic note */
  --olive:      #8A7A22;
  --olive-mid:  #9B8A2C;
  --olive-lit:  #AC9A3A;

  /* Type */
  --mono: 'Azeret Mono', ui-monospace, monospace;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Metrics */
  --nav-h:  76px;
  --max-w:  1400px;
  --pad-x:  clamp(20px, 5vw, 88px);
  --gap-s:  clamp(56px, 9vw, 120px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--black);
  color: var(--white);
  font-family: var(--body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { border: none; background: none; font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

/* Film grain */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px;
  opacity: 0.03;
  pointer-events: none;
  z-index: 2;
}

/* ---------- Type system ---------- */
h1, h2, h3, h4, .mono {
  font-family: var(--mono);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-transform: lowercase;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--olive-lit);
}
.eyebrow-grey { color: var(--grey); }
.meta {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-light);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  position: relative;
  z-index: 1;
}
.section { padding: var(--gap-s) 0; position: relative; z-index: 1; }
.section-alt { background: var(--surface); }
.section-tight { padding-top: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background .35s, border-color .35s, backdrop-filter .35s;
}
.nav.scrolled {
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: var(--nav-h);
  max-width: var(--max-w); margin: 0 auto;
  padding: 0 var(--pad-x);
}
.logo { display: flex; align-items: baseline; gap: 10px; }
.logo-mark {
  font-family: var(--mono);
  font-size: 26px; font-weight: 300;
  letter-spacing: 0.02em;
  color: var(--olive-lit);
  line-height: 1;
}
.logo-sub {
  font-family: var(--mono);
  font-size: 8px; font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-family: var(--mono);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-dim);
  position: relative;
  padding-bottom: 3px;
  transition: color .3s;
}
.nav-link::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 0; height: 1px; background: var(--olive-lit);
  transition: width .3s ease;
}
.nav-link:hover, .nav-link.active { color: var(--white); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.nav-toggle span { display: block; width: 22px; height: 1px; background: var(--white); transition: all .3s; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4px,4px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4px,-4px); }

.nav-mobile {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: var(--black);
  border-bottom: 1px solid var(--line);
  padding: 24px var(--pad-x) 36px;
  z-index: 99;
  opacity: 0; transform: translateY(-14px); pointer-events: none;
  transition: all .3s ease;
}
.nav-mobile.open { opacity: 1; transform: translateY(0); pointer-events: all; }
.nav-mobile .nav-link {
  display: block;
  font-size: 24px;
  letter-spacing: 0.01em;
  text-transform: lowercase;
  color: var(--white);
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.nav-mobile .nav-link::after { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono);
  font-size: 11px; font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 100px;
  transition: all .3s ease;
  cursor: pointer;
}
.btn-primary { border: 1px solid var(--olive); color: var(--olive-lit); }
.btn-primary:hover { background: var(--olive); color: var(--black); }
.btn-ghost { border: 1px solid var(--line); color: var(--white-dim); }
.btn-ghost:hover { border-color: var(--olive); color: var(--olive-lit); }

/* ---------- Section headers ---------- */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.sec-title { font-size: clamp(30px, 4.2vw, 52px); }
.sec-link {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--grey-light);
  white-space: nowrap;
  transition: color .3s;
}
.sec-link:hover { color: var(--olive-lit); }

.rule { height: 1px; background: var(--line); border: none; }
.rule-olive { width: 56px; height: 1px; background: var(--olive); border: none; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .08s } .d2 { transition-delay: .16s }
.d3 { transition-delay: .24s } .d4 { transition-delay: .32s }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh; min-height: 620px;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(48px, 8vw, 100px);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(10,10,10,.97) 8%, rgba(10,10,10,.55) 48%, rgba(10,10,10,.75) 100%),
    linear-gradient(to right, rgba(10,10,10,.85) 0%, rgba(10,10,10,.15) 65%);
}
.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-eyebrow { margin-bottom: clamp(18px, 3vw, 34px); animation: rise .9s ease .1s both; }
.hero-title {
  font-size: clamp(58px, 11.5vw, 168px);
  line-height: .88;
  letter-spacing: -0.03em;
  animation: rise .9s ease .2s both;
}
.hero-sub {
  font-family: var(--mono);
  font-size: clamp(11px, 1.5vw, 15px);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-light);
  margin-top: 14px;
  animation: rise .9s ease .33s both;
}
.hero-rule { width: 64px; height: 1px; background: var(--olive); margin: clamp(22px,3.5vw,36px) 0; animation: grow .9s ease .48s both; }
.hero-copy {
  font-size: clamp(15px, 1.7vw, 18px);
  color: var(--white-dim);
  max-width: 430px;
  animation: rise .9s ease .58s both;
}
.hero-cta { margin-top: clamp(26px, 4vw, 44px); animation: rise .9s ease .72s both; }
.hero-index {
  position: absolute; right: var(--pad-x); bottom: clamp(48px, 8vw, 100px);
  z-index: 2;
  text-align: right;
  animation: rise .9s ease .9s both;
}
.hero-index-line { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey); }

/* ============================================================
   SERVICES (index preview)
   ============================================================ */
.svc-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.svc-cell {
  background: var(--black);
  padding: clamp(28px, 3.4vw, 46px);
  position: relative; overflow: hidden;
  transition: background .35s;
}
.svc-cell::before {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 1px; background: var(--olive);
  transition: width .55s ease;
}
.svc-cell:hover { background: var(--surface); }
.svc-cell:hover::before { width: 100%; }
.svc-num { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; color: var(--olive-lit); margin-bottom: 20px; }
.svc-name { font-size: clamp(19px, 2.3vw, 27px); margin-bottom: 14px; }
.svc-copy { font-size: 14px; color: var(--white-dim); line-height: 1.7; }

/* ============================================================
   EDITORIAL SPLIT (image + text)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.split-media { position: relative; overflow: hidden; }
.split-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; transition: transform .8s ease; }
.split-media:hover img { transform: scale(1.03); }
.split-caption {
  font-family: var(--mono);
  font-size: 9px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--grey); margin-top: 12px;
}
.split-title { font-size: clamp(28px, 3.8vw, 46px); margin-bottom: 22px; }
.split-copy { color: var(--white-dim); font-size: 15px; }
.split-copy p + p { margin-top: 16px; }

/* ============================================================
   WORK CARDS
   ============================================================ */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.work-card { position: relative; overflow: hidden; display: block; }
.work-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .8s ease, filter .5s; filter: brightness(.72); }
.work-card:hover img { transform: scale(1.04); filter: brightness(.5); }
.work-body {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: clamp(20px, 2.6vw, 34px);
  background: linear-gradient(to top, rgba(10,10,10,.9), transparent);
}
.work-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-lit); margin-bottom: 8px; }
.work-name { font-size: clamp(20px, 2.5vw, 30px); }

/* ============================================================
   FULL-BLEED BREAK
   ============================================================ */
.bleed { position: relative; height: clamp(320px, 48vw, 560px); overflow: hidden; }
.bleed img { width: 100%; height: 100%; object-fit: cover; }
.bleed::after { content: ''; position: absolute; inset: 0; background: rgba(10,10,10,.55); }
.bleed-quote {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 0 var(--pad-x); text-align: center;
}
.bleed-quote p {
  font-family: var(--mono);
  font-weight: 300;
  font-size: clamp(18px, 2.8vw, 34px);
  line-height: 1.45;
  letter-spacing: -0.01em;
  max-width: 900px;
  color: var(--white);
  text-transform: lowercase;
}

/* ============================================================
   ABOUT
   ============================================================ */
.page-hero { padding-top: calc(var(--nav-h) + clamp(52px, 8vw, 104px)); padding-bottom: clamp(48px, 8vw, 96px); }
.page-title { font-size: clamp(44px, 7.5vw, 104px); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: start; }
.about-copy p { font-size: clamp(15px, 1.5vw, 18px); color: var(--white-dim); }
.about-copy p + p { margin-top: 18px; }

.founders { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 34px); }
.founder { border: 1px solid var(--line); position: relative; overflow: hidden; }
.founder::before { content: ''; position: absolute; top: 0; left: 0; width: 56px; height: 1px; background: var(--olive); z-index: 3; }
.founder-img { width: 100%; aspect-ratio: 3/4; overflow: hidden; background: var(--charcoal); }
.founder-img img { width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform .8s ease; filter: contrast(1.04); }
.founder:hover .founder-img img { transform: scale(1.03); }
.founder-body { padding: clamp(22px, 3vw, 40px); }
.founder-role { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-lit); margin-bottom: 12px; }
.founder-name { font-size: clamp(21px, 2.4vw, 31px); margin-bottom: 18px; }
.founder-bio { font-size: 14px; color: var(--white-dim); line-height: 1.72; }

.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.8vw, 24px); }
.value { padding: clamp(22px, 3vw, 36px) 0 0; border-top: 1px solid var(--line); }
.value:first-child { border-top-color: var(--olive); }
.value-num { font-family: var(--mono); font-size: 10px; letter-spacing: .2em; color: var(--grey); margin-bottom: 16px; }
.value-title { font-size: clamp(18px, 2.1vw, 25px); margin-bottom: 12px; }
.value-copy { font-size: 14px; color: var(--white-dim); line-height: 1.72; }

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.svc-row {
  display: grid; grid-template-columns: 64px 1fr 1.1fr;
  gap: clamp(16px, 2.6vw, 48px);
  align-items: start;
  padding: clamp(28px, 4.2vw, 54px) 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.svc-row::before { content: ''; position: absolute; top: 0; left: 0; width: 0; height: 1px; background: var(--olive); transition: width .65s ease; }
.svc-row:hover::before { width: 100%; }
.svc-row:last-of-type { border-bottom: 1px solid var(--line); }
.svc-row-num { font-family: var(--mono); font-size: 12px; letter-spacing: .16em; color: var(--olive-lit); padding-top: 8px; }
.svc-row-name { font-size: clamp(22px, 3vw, 38px); }
.svc-row-copy { font-size: 14px; color: var(--white-dim); line-height: 1.75; padding-top: 6px; }

.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.process-cell { background: var(--black); padding: clamp(22px, 2.8vw, 38px); }
.process-num { font-family: var(--mono); font-size: 34px; font-weight: 200; color: var(--line); line-height: 1; margin-bottom: 18px; }
.process-name { font-size: 17px; margin-bottom: 10px; }
.process-copy { font-size: 13px; color: var(--white-dim); line-height: 1.7; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.filters { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: clamp(32px, 5vw, 60px); }
.filter {
  font-family: var(--mono); font-size: 10px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--grey-light); padding: 9px 18px;
  border: 1px solid transparent; border-radius: 100px;
  transition: all .3s;
}
.filter:hover, .filter.active { color: var(--olive-lit); border-color: var(--line); }

.port-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.port-item { position: relative; overflow: hidden; transition: opacity .4s; }
.port-item.featured { grid-column: 1 / -1; }
.port-item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; filter: brightness(.66); transition: transform .8s ease, filter .5s; }
.port-item.featured img { aspect-ratio: 16/7; }
.port-item:hover img { transform: scale(1.03); filter: brightness(.42); }
.port-body { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(20px, 2.6vw, 36px); background: linear-gradient(to top, rgba(10,10,10,.92), transparent); }
.port-tag { font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--olive-lit); margin-bottom: 8px; }
.port-name { font-size: clamp(20px, 2.6vw, 32px); }
.port-dl {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--olive-lit);
  border: 1px solid var(--line); border-radius: 100px;
  padding: 8px 16px; margin-top: 14px;
  transition: all .3s;
}
.port-dl:hover { border-color: var(--olive); background: rgba(138,122,34,.12); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.info-list { margin-top: clamp(26px, 4vw, 44px); }
.info-row { padding: 18px 0; border-top: 1px solid var(--line); }
.info-row:last-child { border-bottom: 1px solid var(--line); }
.info-label { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--olive-lit); margin-bottom: 7px; }
.info-val { font-size: 15px; color: var(--white-dim); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1px; background: var(--line); border-top: 1px solid var(--line); }
.form-row.full { display: block; }
.field { background: var(--black); padding: 18px 22px; position: relative; transition: background .25s; }
.field:focus-within { background: var(--surface); }
.field:focus-within::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--olive); }
.field label { display: block; font-family: var(--mono); font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: var(--grey-light); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; background: transparent; border: none; outline: none;
  color: var(--white); font-size: 14px; font-weight: 300; font-family: var(--body);
}
.field input::placeholder, .field textarea::placeholder { color: var(--line); }
.field textarea { resize: none; min-height: 110px; }
.field select option { background: var(--black); }
.form-foot {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 20px 22px; background: var(--black);
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.form-note { font-family: var(--mono); font-size: 10px; letter-spacing: .1em; color: var(--grey); }

/* ============================================================
   CTA + FOOTER
   ============================================================ */
.cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-title { font-size: clamp(28px, 4.2vw, 52px); }

.footer { border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 64px) 0 clamp(22px, 3vw, 36px); position: relative; z-index: 1; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(26px, 4vw, 56px);
  padding-bottom: clamp(32px, 4.5vw, 48px);
  margin-bottom: clamp(24px, 3.5vw, 36px);
  border-bottom: 1px solid var(--line);
}
.footer-mark { font-family: var(--mono); font-size: clamp(20px, 2.6vw, 28px); font-weight: 300; color: var(--olive-lit); margin-bottom: 12px; }
.footer-copy { font-size: 13px; color: var(--grey); line-height: 1.7; max-width: 260px; }
.footer-label { font-family: var(--mono); font-size: 9px; letter-spacing: .22em; text-transform: uppercase; color: var(--olive-lit); margin-bottom: 18px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; }
.footer-link { font-size: 13px; color: var(--grey-light); transition: color .3s; }
.footer-link:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; }
.footer-fine { font-family: var(--mono); font-size: 10px; letter-spacing: .08em; color: var(--grey); }

/* ---------- Animations ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes grow { from { width: 0; opacity: 0; } to { width: 64px; opacity: 1; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .svc-row { grid-template-columns: 52px 1fr 1fr; }
  .process { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-mobile { display: block; }

  .svc-grid { grid-template-columns: 1fr; }
  .work-grid { grid-template-columns: 1fr; }
  .port-grid { grid-template-columns: 1fr; }
  .port-item.featured { grid-column: auto; }
  .port-item.featured img { aspect-ratio: 4/3; }
  .split { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 1fr; gap: 14px; }
  .svc-row-num { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .hero-index { display: none; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .sec-head { flex-direction: column; align-items: flex-start; }
}


/* ============================================================
   VISUAL REFINEMENT — editorial polish
   ============================================================ */
:root {
  --black: #080909;
  --surface: #111312;
  --charcoal: #1a1d1b;
  --line: #303330;
  --line-soft: #232623;
  --grey: #727872;
  --grey-light: #b0b5ae;
  --white: #f4f2ea;
  --white-dim: #c0c4bd;
  --olive: #a18c32;
  --olive-mid: #b29b3a;
  --olive-lit: #d1bb58;
  --pad-x: clamp(22px, 6vw, 112px);
}

body { letter-spacing: .005em; }
body::after { opacity: .045; mix-blend-mode: soft-light; }

.nav { height: 84px; }
.nav-inner { height: 84px; }
.logo { gap: 13px; }
.logo-mark { font-size: 28px; letter-spacing: .045em; }
.logo-sub { color: var(--grey-light); opacity: .72; }
.nav-links { gap: 30px; }
.nav-link { font-size: 10px; letter-spacing: .22em; }
.nav.scrolled { background: rgba(8,9,9,.78); border-bottom-color: rgba(209,187,88,.22); }

.hero { min-height: 680px; height: min(94svh, 920px); }
.hero-media img { filter: saturate(.82) contrast(1.06); transform: scale(1.015); }
.hero-media::after {
  background:
    linear-gradient(90deg, rgba(8,9,9,.92) 0%, rgba(8,9,9,.55) 44%, rgba(8,9,9,.18) 100%),
    linear-gradient(0deg, rgba(8,9,9,.98) 1%, rgba(8,9,9,.62) 34%, rgba(8,9,9,.28) 75%, rgba(8,9,9,.62) 100%);
}
.hero-inner { max-width: 720px; }
.hero-eyebrow { margin-bottom: clamp(24px, 3.5vw, 42px); }
.hero-title { font-size: clamp(66px, 12vw, 184px); text-shadow: 0 5px 30px rgba(0,0,0,.18); }
.hero-sub { color: var(--white); opacity: .78; }
.hero-rule { background: var(--olive-lit); height: 2px; }
.hero-copy { max-width: 490px; color: var(--white); opacity: .82; line-height: 1.8; }

.btn { padding: 14px 25px; border-radius: 4px; letter-spacing: .24em; }
.btn-primary { background: var(--olive); border-color: var(--olive); color: var(--black); box-shadow: 0 10px 28px rgba(161,140,50,.16); }
.btn-primary:hover { background: var(--olive-lit); border-color: var(--olive-lit); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(209,187,88,.32); }
.btn-ghost:hover { background: rgba(161,140,50,.08); transform: translateY(-2px); }

.section { padding: clamp(72px, 10vw, 144px) 0; }
.section-alt { background: linear-gradient(135deg, #111312 0%, #0d0f0e 100%); }
.sec-head { margin-bottom: clamp(46px, 6vw, 84px); }
.sec-title { letter-spacing: -.045em; }
.rule { background: rgba(209,187,88,.18); }

.svc-grid, .process { border-color: rgba(209,187,88,.2); background: rgba(209,187,88,.2); }
.svc-cell, .process-cell { background: rgba(8,9,9,.86); }
.svc-cell { padding: clamp(32px, 4vw, 58px); }
.svc-cell:hover { background: #171a17; }
.svc-cell::before, .svc-row::before { background: var(--olive-lit); height: 2px; }
.svc-name, .split-title, .work-name, .port-name { letter-spacing: -.04em; }
.svc-copy, .split-copy, .value-copy, .founder-bio, .process-copy { color: var(--white-dim); }

.split { gap: clamp(42px, 7vw, 112px); }
.split-media, .founder, .work-card, .port-item { box-shadow: 0 20px 60px rgba(0,0,0,.18); }
.split-media img { filter: saturate(.82); }
.split-caption { color: var(--olive-lit); }

.work-grid, .port-grid { gap: clamp(16px, 2vw, 28px); }
.work-card img, .port-item img { filter: brightness(.76) saturate(.88); }
.work-card:hover img, .port-item:hover img { filter: brightness(.56) saturate(1); }
.work-body, .port-body { padding: clamp(24px, 3.2vw, 44px); }
.work-tag, .port-tag, .founder-role, .value-num, .info-label, .footer-label { color: var(--olive-lit); }

.bleed { height: clamp(360px, 52vw, 640px); }
.bleed img { filter: saturate(.7) contrast(1.08); }
.bleed::after { background: linear-gradient(90deg, rgba(8,9,9,.72), rgba(8,9,9,.36), rgba(8,9,9,.72)); }
.bleed-quote p { font-size: clamp(21px, 3.2vw, 40px); max-width: 960px; letter-spacing: -.035em; }

.founder { border-color: rgba(209,187,88,.2); }
.founder-img { background: #171a18; }
.founder-img img { filter: contrast(1.05) saturate(.82); }
.value { border-top-color: rgba(209,187,88,.22); }
.value:first-child { border-top-color: var(--olive-lit); }

.filter { border-radius: 3px; }
.filter:hover, .filter.active { background: rgba(161,140,50,.1); border-color: rgba(209,187,88,.35); }
.port-dl { border-radius: 3px; border-color: rgba(209,187,88,.3); }

.field { background: rgba(8,9,9,.72); }
.field:focus-within { background: #151815; }
.form-foot { background: rgba(8,9,9,.72); }

.footer { background: #080909; }
.footer-mark { letter-spacing: .04em; }
.footer-link:hover { color: var(--olive-lit); }

@media (max-width: 860px) {
  .nav, .nav-inner { height: 74px; }
  .nav-mobile { top: 74px; }
  .hero { min-height: 640px; height: 88svh; }
  .hero-media::after { background: linear-gradient(90deg, rgba(8,9,9,.9), rgba(8,9,9,.35)), linear-gradient(0deg, rgba(8,9,9,.98), rgba(8,9,9,.3)); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}


/* Direction C — deeper, richer editorial finish */
:root {
  --black: #0b100d;
  --surface: #121a15;
  --charcoal: #1a241d;
  --line: #2a392e;
  --line-soft: #1e2b22;
  --grey: #718075;
  --grey-light: #b5c0b5;
  --white: #f1eee3;
  --white-dim: #c2c9c0;
  --olive: #b37a2c;
  --olive-mid: #c38b35;
  --olive-lit: #e0b45b;
}
body { background: radial-gradient(circle at 78% 10%, #18241b 0%, var(--black) 34%, #080b09 100%); }
h1,h2,h3,h4,.mono,.logo-mark,.nav-link,.btn,.eyebrow,.meta { font-family: var(--mono); }
.hero-media img { filter: saturate(.88) contrast(1.11) brightness(.82); }
.hero-media::after { background: linear-gradient(90deg, rgba(8,13,10,.94) 0%, rgba(8,13,10,.58) 45%, rgba(8,13,10,.18) 100%), linear-gradient(0deg, rgba(8,13,10,.98) 0%, rgba(8,13,10,.48) 42%, rgba(8,13,10,.34) 100%); }
.hero-title, .page-title, .sec-title, .split-title, .cta-title { text-shadow: 0 10px 35px rgba(0,0,0,.24); }
.btn-primary { background: var(--olive); border-color: var(--olive); color: #0b100d; }
.btn-primary:hover { background: var(--olive-lit); border-color: var(--olive-lit); }
.section-alt { background: linear-gradient(145deg, #172219 0%, #0e1511 100%); }
.svc-cell, .process-cell, .scope-card { background: rgba(10,16,12,.78); }
.svc-cell:hover, .scope-card:hover { background: #1a281e; }
.svc-grid, .process, .scope-grid { background: rgba(224,180,91,.23); border-color: rgba(224,180,91,.23); }
.scope-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1px; border:1px solid rgba(224,180,91,.23); }
.scope-card { min-height:220px; padding:clamp(26px,3.6vw,54px); position:relative; overflow:hidden; }
.scope-card::before { content:''; position:absolute; inset:0 auto auto 0; width:42px; height:2px; background:var(--olive-lit); transition:width .45s ease; }
.scope-card:hover::before { width:100%; }
.scope-card span { display:block; font-family:var(--mono); color:var(--olive-lit); font-size:11px; letter-spacing:.18em; margin-bottom:34px; }
.scope-card h3 { font-size:clamp(24px,3vw,38px); margin-bottom:14px; letter-spacing:-.05em; }
.scope-card p { color:var(--white-dim); font-size:14px; line-height:1.75; max-width:280px; }
.split-media, .founder, .work-card, .port-item { box-shadow:0 24px 80px rgba(0,0,0,.28); }
.founder-img img { filter: contrast(1.08) saturate(.82); }
@media (max-width: 860px) { .scope-grid { grid-template-columns:1fr; } .scope-card { min-height:0; } }


/* Corrective direction — charcoal, bone, copper; work-led and founder-forward */
:root {
  --black: #0e0d0c;
  --surface: #161412;
  --charcoal: #211d19;
  --line: #39322c;
  --line-soft: #28231f;
  --grey: #82786f;
  --grey-light: #bcb3a8;
  --white: #f2eee6;
  --white-dim: #c7c0b7;
  --olive: #b47748;
  --olive-mid: #c38a5a;
  --olive-lit: #e1b17d;
}
body { background: radial-gradient(circle at 82% 12%, #261e17 0%, var(--black) 36%, #090909 100%); }
.hero-media img { filter: saturate(.82) contrast(1.08) brightness(.72); }
.hero-media::after { background: linear-gradient(90deg, rgba(10,9,8,.92) 0%, rgba(10,9,8,.6) 46%, rgba(10,9,8,.22) 100%), linear-gradient(0deg, rgba(10,9,8,.98), rgba(10,9,8,.48) 42%, rgba(10,9,8,.36)); }
.section-alt { background: linear-gradient(145deg, #201b17 0%, #12100f 100%); }
.btn-primary { background: var(--olive); border-color: var(--olive); color: #0e0d0c; }
.btn-primary:hover { background: var(--olive-lit); border-color: var(--olive-lit); }
.svc-grid, .process { background: rgba(225,177,125,.24); border-color: rgba(225,177,125,.24); }
.svc-cell, .process-cell { background: rgba(14,13,12,.82); }
.svc-cell { padding:clamp(24px,2.6vw,36px); }
.svc-name { font-size:clamp(18px,2vw,24px); }
.work-grid { gap:clamp(18px,2.2vw,32px); }
.work-card, .port-item, .split-media, .founder { box-shadow:0 24px 80px rgba(0,0,0,.34); }
.work-card img, .port-item img { filter:brightness(.74) saturate(.84) contrast(1.04); }
.work-card:hover img, .port-item:hover img { filter:brightness(.52) saturate(.95) contrast(1.06); }
.work-tag, .port-tag, .founder-role, .info-label { color:var(--olive-lit); }
.spotlight { display:grid; grid-template-columns:minmax(260px,.8fr) 1.2fr; gap:clamp(38px,7vw,112px); align-items:center; }
.spotlight-media { max-width:500px; }
.spotlight-media img { width:100%; aspect-ratio:3/4; object-fit:cover; filter:contrast(1.06) saturate(.72); }
.spotlight-copy { max-width:620px; }
.spotlight-copy h2 { font-family:var(--mono); font-weight:400; font-size:clamp(42px,6vw,82px); line-height:.95; letter-spacing:-.06em; margin:18px 0 12px; }
.spotlight-lede { color:var(--olive-lit); font-family:var(--mono); font-size:11px; letter-spacing:.18em; text-transform:uppercase; margin-bottom:28px; }
.spotlight-copy > p:not(.eyebrow):not(.spotlight-lede) { color:var(--white-dim); max-width:500px; margin-bottom:16px; }
.spotlight-copy .btn { margin-top:18px; }
@media (max-width:860px) { .spotlight { grid-template-columns:1fr; } .spotlight-media { max-width:420px; } }


/* Site-wide image headers, gallery rhythm, and restrained motion */
.page-hero-image { min-height:clamp(520px,62vw,760px); display:flex; align-items:flex-end; position:relative; overflow:hidden; padding-bottom:clamp(58px,8vw,110px); }
.page-hero-media, .page-hero-shade { position:absolute; inset:0; }
.page-hero-media { overflow:hidden; }
.page-hero-media img { width:100%; height:100%; object-fit:cover; filter:brightness(.58) saturate(.78) contrast(1.08); transform:scale(1.06) translateY(var(--parallax,0px)); will-change:transform; }
.page-hero-shade { background:linear-gradient(90deg,rgba(10,9,8,.88),rgba(10,9,8,.44) 52%,rgba(10,9,8,.22)),linear-gradient(0deg,rgba(10,9,8,.94),transparent 60%); }
.page-hero-content { z-index:2; }
.page-hero-layout { display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(30px,7vw,110px); align-items:end; }
.page-hero-layout .page-title { font-size:clamp(48px,8.5vw,126px); }
.page-hero-copy, .page-hero-aside { max-width:520px; color:var(--white-dim); font-size:clamp(15px,1.5vw,18px); line-height:1.75; }
.page-hero-aside { padding-bottom:8px; }
.gallery-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:clamp(22px,3vw,46px); }
.gallery-item { margin:0; position:relative; }
.gallery-item.gallery-wide { grid-column:1/-1; }
.gallery-item img { width:100%; aspect-ratio:4/3; object-fit:cover; display:block; filter:brightness(.76) saturate(.82) contrast(1.04); transition:transform .9s cubic-bezier(.2,.65,.2,1), filter .5s; }
.gallery-item.gallery-wide img { aspect-ratio:16/7; }
.gallery-item:hover img { transform:scale(1.025); filter:brightness(.92) saturate(.95) contrast(1.06); }
.gallery-item figcaption { display:grid; grid-template-columns:auto 1fr; column-gap:16px; row-gap:7px; padding:16px 0 0; border-top:1px solid var(--line); margin-top:14px; }
.gallery-item figcaption span { grid-row:1/3; font-family:var(--mono); font-size:10px; letter-spacing:.14em; color:var(--olive-lit); }
.gallery-item figcaption strong { font-family:var(--mono); font-weight:300; font-size:clamp(17px,2vw,24px); letter-spacing:-.035em; }
.gallery-item figcaption em { font-style:normal; color:var(--grey-light); font-size:13px; }
h1,h2,h3,h4,.mono,.logo-mark,.nav-link,.btn,.eyebrow,.meta { font-family:var(--mono); font-weight:300; }
@media (max-width:860px) { .page-hero-layout { grid-template-columns:1fr; gap:22px; } .page-hero-image { min-height:600px; } .gallery-grid { grid-template-columns:1fr; } .gallery-item.gallery-wide { grid-column:auto; } .gallery-item.gallery-wide img { aspect-ratio:4/3; } }


/* Brand mark cue: the guideline's simple horizontal bar, used structurally only. */
.logo::before { content:''; display:block; width:18px; height:3px; background:var(--olive-lit); transform:translateY(-4px); }
.logo { position:relative; }
.section-head-mark::before { content:''; display:block; width:28px; height:3px; background:var(--olive-lit); margin-bottom:18px; }
.founder-img img, .spotlight-media img { filter: contrast(1.02) saturate(.74); }


/* Hand-drawn DVIPA mark and filled pill controls */
.logo::before { content:none; }
.logo-mark::before { content:''; display:inline-block; width:31px; height:8px; margin-right:9px; vertical-align:middle; background:url('../images/dvipa-mark.png') center/contain no-repeat; transform:translateY(-3px) rotate(1deg); }
.btn, .port-dl, .filter { border-radius:999px; }
.btn-primary, .btn-ghost { border:1px solid var(--olive); }
.btn-primary { background:var(--olive); color:#0e0d0c; }
.btn-ghost { background:rgba(180,119,72,.16); color:var(--olive-lit); }
.btn-ghost:hover, .btn-primary:hover { background:var(--olive-lit); color:#0e0d0c; border-color:var(--olive-lit); }
.contact-form-section { padding-top:0; }
.contact-form-wrap { max-width:900px; margin:0 auto; }
.contact-form-wrap form { border-top:1px solid var(--line); }
.contact-form-wrap .field { background:rgba(14,13,12,.82); }
.contact-form-wrap .form-foot { background:rgba(14,13,12,.82); }


/* Final brand-mark alignment: approved DVIPA Olive Gold #8B7A00. */
:root { --olive:#8B7A00; --olive-mid:#9d8b12; --olive-lit:#b7a33a; }
.contact-hero-layout { display:grid; grid-template-columns:1.1fr .9fr; gap:clamp(40px,8vw,120px); align-items:end; }
.contact-hero-title { max-width:760px; }
.contact-hero-copy { max-width:500px; margin-top:28px; color:var(--white-dim); font-size:clamp(15px,1.5vw,18px); line-height:1.75; }
.contact-hero-layout > .info-list { margin-top:0; }
.value::before, .process-cell::before { content:''; display:block; width:24px; height:7px; margin-bottom:24px; background:url('../images/dvipa-mark.png') center/contain no-repeat; }
@media (max-width:860px) { .contact-hero-layout { grid-template-columns:1fr; gap:30px; } .contact-hero-layout > .info-list { margin-top:0; } }


/* Final visual cleanup — quieter rules, static ground, clearer hierarchy */
:root { --black:#10100f; --surface:#171615; --charcoal:#22201d; --line:#302e2a; --line-soft:#272521; }
body { background:var(--black); }
.section-alt { background:var(--surface); }
.nav.scrolled { background:rgba(16,16,15,.94); border-bottom-color:transparent; }
.hero::before, .page-hero-image::before { content:''; position:absolute; z-index:1; width:min(38vw,520px); height:min(38vw,520px); right:-7vw; top:12%; background:url('../images/dvipa-mark.png') center/contain no-repeat; opacity:.055; transform:rotate(-3deg); pointer-events:none; }
.rule, .rule-olive { background:transparent; }
.svc-grid, .process { background:transparent; border:0; gap:clamp(28px,4vw,70px); }
.svc-cell, .process-cell { background:transparent; padding-left:0; padding-right:0; }
.svc-cell::before, .svc-row::before { display:none; }
.info-row, .info-row:last-child { border:0; padding:14px 0; }
.form-row, .form-row.full, .contact-form-wrap form, .form-foot { background:transparent; border:0 !important; }
.field { background:var(--surface); margin-bottom:2px; }
.field:focus-within::after { display:none; }
.gallery-item figcaption { border-top:0; padding-top:6px; }
.founder, .work-card, .port-item, .split-media { box-shadow:0 18px 50px rgba(0,0,0,.24); }
.btn-primary { background:var(--olive); border:0; color:#10100f; box-shadow:0 8px 22px rgba(139,122,0,.18); }
.btn-ghost { background:#7a5337; border:0; color:#f2eee6; }
.btn-primary:hover, .btn-ghost:hover { background:var(--olive-lit); border:0; color:#10100f; transform:translateY(-2px); }
.filter { border:0; background:#25231f; }
.filter:hover, .filter.active { border:0; background:var(--olive); color:#10100f; }
.port-dl { border:0; background:#7a5337; color:#f2eee6; }
.port-dl:hover { border:0; background:var(--olive); }
.form-foot { padding-left:0; padding-right:0; }


/* Contact form note aligns with the field content rather than the outer form edge. */
.contact-form-wrap .form-foot { padding:20px 22px; }
.contact-form-wrap .form-note { margin:0; }
