/* ==========================================================================
   RIVERRMAIN LTD — Main stylesheet
   --------------------------------------------------------------------------
   Brand colours are taken directly from the official logo, which is a
   monochrome mark (solid black on white). The palette below is built
   entirely from that black/white pair plus neutral tints between them, so
   the site stays true to the logo. No hue has been invented.
   ========================================================================== */

:root {
  /* Brand — extracted from logo */
  --brand-black: #000000;      /* primary: logo mark and wordmark */
  --brand-white: #ffffff;      /* secondary: logo ground */

  /* Neutral system derived from the brand pair */
  --ink: #0b0b0b;              /* main dark background */
  --charcoal: #131313;         /* alternate dark background */
  --graphite: #1c1c1c;         /* raised dark surfaces */
  --steel: #2a2a2a;            /* borders on dark */
  --paper: #f3f2ee;            /* light editorial background */
  --paper-2: #e7e5df;          /* light alternate */
  --stone: #8b8a85;            /* muted mid-tone */

  /* Text */
  --text-on-dark: #f4f4f1;
  --muted-on-dark: #a9a8a3;    /* 7.6:1 on --ink */
  --text-on-light: #0b0b0b;
  --muted-on-light: #55544f;   /* 6.9:1 on --paper */

  /* Accent — the brand white, used for CTAs on dark, inverted on light */
  --accent: var(--brand-white);
  --accent-ink: var(--brand-black);

  --line-dark: rgba(255, 255, 255, 0.12);
  --line-light: rgba(0, 0, 0, 0.12);

  /* Type */
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Layout */
  --wrap: 1320px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(80px, 11vw, 160px);
  --header-h: 96px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-on-dark);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 16px; background: var(--brand-white); color: var(--brand-black); transform: translateY(-200%); transition: transform .2s; }
.skip-link:focus { transform: none; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.light { background: var(--paper); color: var(--text-on-light); }
.light-2 { background: var(--paper-2); color: var(--text-on-light); }
.dark-2 { background: var(--charcoal); }
.light .muted, .light-2 .muted { color: var(--muted-on-light); }
.muted { color: var(--muted-on-dark); }

/* ---------- Typography ---------- */
.display { font-size: clamp(2.8rem, 7.4vw, 7.2rem); font-weight: 800; letter-spacing: -0.035em; line-height: .95; }
.h1 { font-size: clamp(2.5rem, 6vw, 5.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: .98; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.9rem); letter-spacing: -0.028em; }
.h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); letter-spacing: -0.015em; }
.h4 { font-size: 1.15rem; letter-spacing: -0.01em; line-height: 1.25; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.4rem); line-height: 1.55; max-width: 40ch; }
.prose { max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }

.label {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 0.74rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase;
  margin-bottom: 26px; color: var(--muted-on-dark);
}
.light .label, .light-2 .label { color: var(--muted-on-light); }
.label::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.label--plain::before { display: none; }

/* ---------- Viewfinder corners (taken from the logo's frame marks) ---------- */
.vf { position: relative; }
.vf::before, .vf::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  --c: 22px; --w: 2px; --col: rgba(255,255,255,.85);
  background:
    linear-gradient(var(--col),var(--col)) top left / var(--c) var(--w) no-repeat,
    linear-gradient(var(--col),var(--col)) top left / var(--w) var(--c) no-repeat,
    linear-gradient(var(--col),var(--col)) top right / var(--c) var(--w) no-repeat,
    linear-gradient(var(--col),var(--col)) top right / var(--w) var(--c) no-repeat;
}
.vf::after {
  background:
    linear-gradient(var(--col),var(--col)) bottom left / var(--c) var(--w) no-repeat,
    linear-gradient(var(--col),var(--col)) bottom left / var(--w) var(--c) no-repeat,
    linear-gradient(var(--col),var(--col)) bottom right / var(--c) var(--w) no-repeat,
    linear-gradient(var(--col),var(--col)) bottom right / var(--w) var(--c) no-repeat;
}
.vf--inset::before, .vf--inset::after { inset: 18px; }
.vf--dark::before, .vf--dark::after { --col: rgba(0,0,0,.8); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 0 28px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  border: 1px solid transparent; border-radius: var(--radius); cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--solid { background: var(--accent); color: var(--accent-ink); }
.btn--solid:hover { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost { border-color: rgba(255,255,255,.4); color: var(--text-on-dark); }
.btn--ghost:hover { border-color: var(--brand-white); background: rgba(255,255,255,.08); }
.light .btn--solid, .light-2 .btn--solid { background: var(--brand-black); color: var(--brand-white); }
.light .btn--solid:hover, .light-2 .btn--solid:hover { background: transparent; color: var(--brand-black); border-color: var(--brand-black); }
.light .btn--ghost, .light-2 .btn--ghost { border-color: rgba(0,0,0,.35); color: var(--text-on-light); }
.light .btn--ghost:hover, .light-2 .btn--ghost:hover { border-color: var(--brand-black); background: rgba(0,0,0,.04); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding-bottom: 4px; border-bottom: 1px solid currentColor;
}
.link-arrow .arrow { transition: transform .3s var(--ease); }
.link-arrow:hover .arrow { transform: translateX(5px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  transition: background-color .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled, .site-header.is-solid {
  background: rgba(11,11,11,.92);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line-dark);
  --header-h: 70px;
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; max-width: 1480px; }
.brand { display: flex; align-items: center; flex-shrink: 0; }
.brand img { height: 74px; width: auto; transition: height .35s var(--ease); }
.is-scrolled .brand img { height: 54px; }

.nav { display: flex; align-items: center; gap: 34px; }
.nav__list { display: flex; gap: 26px; }
.nav__list a {
  position: relative; font-size: .92rem; font-weight: 500; padding: 6px 0;
  color: rgba(255,255,255,.82); transition: color .25s;
}
.nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__list a:hover, .nav__list a[aria-current="page"] { color: #fff; }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { min-height: 46px; padding: 0 22px; font-size: .9rem; }

.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--line-dark); border-radius: var(--radius); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1140px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 40px;
    padding: 100px var(--gutter) 40px;
    background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
    overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav__list { flex-direction: column; gap: 6px; }
  .nav__list a { font-family: var(--font-display); font-size: clamp(1.7rem, 6vw, 2.6rem); font-weight: 700; letter-spacing: -0.02em; color: #fff; }
  .nav__list a::after { display: none; }
  .nav__list a[aria-current="page"] { opacity: .55; }
  .nav .btn { min-height: 54px; padding: 0 28px; font-size: 1rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.1) 30%, rgba(0,0,0,.35) 60%, rgba(0,0,0,.88) 100%),
    linear-gradient(90deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,0) 60%);
}
.hero__inner { width: 100%; padding-top: calc(var(--header-h) + 60px); padding-bottom: clamp(56px, 9vh, 110px); }
.hero__title { max-width: 13ch; margin-bottom: 28px; }
.hero__text { max-width: 52ch; font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: rgba(255,255,255,.86); margin-bottom: 40px; }
.hero__meta { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.hero__scroll { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.7); display: flex; flex-direction: column; align-items: center; gap: 12px; }
.hero__scroll::after { content: ""; width: 1px; height: 56px; background: linear-gradient(#fff, transparent); animation: scrollLine 2.2s var(--ease) infinite; transform-origin: top; }
@keyframes scrollLine { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero .vf { position: absolute; inset: calc(var(--header-h) + 14px) var(--gutter) 28px; pointer-events: none; }

.page-hero { min-height: 74vh; min-height: 74svh; }
.page-hero .hero__title { max-width: 16ch; }
.page-hero .hero__inner { padding-bottom: clamp(48px, 8vh, 90px); }

.crumbs { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); margin-bottom: 26px; display: flex; gap: 10px; flex-wrap: wrap; }
.crumbs a:hover { color: #fff; }

/* ---------- Split / grid layouts ---------- */
.split { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.split > .col-5 { grid-column: span 5; }
.split > .col-6 { grid-column: span 6; }
.split > .col-7 { grid-column: span 7; }
.split > .col-4 { grid-column: span 4; }
.split > .col-8 { grid-column: span 8; }
.split--center { align-items: center; }
@media (max-width: 900px) { .split > [class*="col-"] { grid-column: 1 / -1; } }

.section-head { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: end; margin-bottom: clamp(44px, 6vw, 80px); }
.section-head .h2 { margin: 0; max-width: 18ch; }
.section-head p { max-width: 46ch; margin: 0; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; } }

/* ---------- Media ---------- */
.media { overflow: hidden; position: relative; background: var(--graphite); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s var(--ease); }
.media--4x3 { aspect-ratio: 4 / 3; }
.media--4x5 { aspect-ratio: 4 / 5; }
.media--16x9 { aspect-ratio: 16 / 9; }
.media--3x2 { aspect-ratio: 3 / 2; }
.media--tall { aspect-ratio: 3 / 4; }
.hover-zoom:hover img, a:hover > .media img, a:focus-visible > .media img { transform: scale(1.045); }

.tag {
  display: inline-block; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 10px; background: rgba(0,0,0,.65); color: #fff; border: 1px solid rgba(255,255,255,.2);
}
.media .tag { position: absolute; left: 14px; top: 14px; z-index: 3; }

/* ---------- Intro (home) ---------- */
.intro-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(40px, 7vw, 120px); }
.intro-grid .h2 { max-width: 12ch; }
.disciplines { margin-top: 48px; border-top: 1px solid var(--line-light); }
.disciplines li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.disciplines .num { font-family: var(--font-mono); font-size: .8rem; color: var(--muted-on-light); padding-top: 3px; }
.disciplines strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 4px; }
.disciplines p { margin: 0; color: var(--muted-on-light); font-size: .98rem; }
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

/* ---------- Service mosaic (home) ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(48px, 5vw, 72px) clamp(18px, 2vw, 28px); }
.svc { grid-column: span 6; display: flex; flex-direction: column; }
.svc:nth-child(1), .svc:nth-child(4) { grid-column: span 7; }
.svc:nth-child(2), .svc:nth-child(3) { grid-column: span 5; }
.svc .media { height: clamp(260px, 28vw, 440px); }
.svc .media { margin-bottom: 22px; }
.svc__num { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; color: var(--muted-on-dark); margin-bottom: 10px; display: block; }
.svc h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); margin-bottom: 10px; }
.svc p { color: var(--muted-on-dark); margin-bottom: 18px; max-width: 46ch; }
.svc .link-arrow { margin-top: auto; align-self: flex-start; }
@media (max-width: 1000px) { .svc, .svc:nth-child(n) { grid-column: span 6; } }
@media (max-width: 640px) { .svc, .svc:nth-child(n) { grid-column: 1 / -1; } .svc .media { height: auto; aspect-ratio: 4/3; } }

/* ---------- Showcase (home) ---------- */
.showcase { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.showcase__mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.showcase__mosaic .media:nth-child(1) { grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.showcase__mosaic .media:nth-child(2), .showcase__mosaic .media:nth-child(3) { aspect-ratio: 1 / 1; }
.showcase__list { margin: 36px 0 44px; border-top: 1px solid var(--line-dark); }
.showcase__list li { display: flex; justify-content: space-between; gap: 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.showcase__list strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; }
.showcase__list span { color: var(--muted-on-dark); font-size: .94rem; text-align: right; }
@media (max-width: 960px) { .showcase { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .showcase__list li { flex-direction: column; gap: 2px; } .showcase__list span { text-align: left; } }

/* ---------- AV tech list ---------- */
.tech-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 40px; border-top: 1px solid var(--line-light); margin-top: 40px; }
.tech-list li { padding: 22px 0; border-bottom: 1px solid var(--line-light); }
.tech-list strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.tech-list p { margin: 0; font-size: .95rem; color: var(--muted-on-light); }
@media (max-width: 600px) { .tech-list { grid-template-columns: 1fr; } }

.benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: clamp(56px, 7vw, 90px); padding-top: 40px; border-top: 1px solid var(--line-light); }
.benefits h3 { font-size: 1.15rem; margin-bottom: 8px; }
.benefits p { margin: 0; color: var(--muted-on-light); font-size: .97rem; }
@media (max-width: 800px) { .benefits { grid-template-columns: 1fr; } }

/* ---------- Work grid (featured + portfolio) ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(18px, 2vw, 28px); }
.work-grid--feature .work:nth-child(1) { grid-row: span 2; }
.work-grid--feature .work:nth-child(1) .media { aspect-ratio: auto; height: 100%; min-height: 420px; }
.work { position: relative; display: block; }
.work .media { aspect-ratio: 4 / 3; }
.work__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 60px 22px 20px; background: linear-gradient(transparent, rgba(0,0,0,.85)); display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.work__cap h3 { font-size: 1.25rem; margin: 0 0 4px; }
.work__cap small { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.75); }
.work__icon { flex-shrink: 0; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.5); display: grid; place-items: center; transition: background .3s, color .3s; }
.work:hover .work__icon, .work:focus-visible .work__icon { background: #fff; color: #000; }
.work .media::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.15); transition: background .4s; }
.work:hover .media::after { background: rgba(0,0,0,0); }
.disclaimer { font-size: .88rem; color: var(--muted-on-dark); margin-top: 28px; max-width: 80ch; }
.light .disclaimer { color: var(--muted-on-light); }
@media (max-width: 700px) { .work-grid { grid-template-columns: 1fr; } .work-grid--feature .work:nth-child(1) .media { min-height: 0; aspect-ratio: 4/3; } }

/* ---------- Reasons ---------- */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); }
.reasons li { padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.reasons .num { font-family: var(--font-mono); font-size: .78rem; color: var(--muted-on-light); display: block; margin-bottom: 40px; }
.reasons h3 { font-size: 1.3rem; margin-bottom: 10px; }
.reasons p { color: var(--muted-on-light); margin: 0; font-size: .98rem; }
@media (max-width: 900px) { .reasons { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .reasons { grid-template-columns: 1fr; } .reasons .num { margin-bottom: 18px; } }

/* ---------- CTA band ---------- */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: left; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.9), rgba(0,0,0,.55)); }
.cta .h1 { max-width: 14ch; }
.cta p { max-width: 54ch; color: rgba(255,255,255,.85); font-size: 1.15rem; margin-bottom: 40px; }

/* ---------- Footer ---------- */
.site-footer { background: #050505; border-top: 1px solid var(--line-dark); padding: clamp(70px, 8vw, 110px) 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.3fr; gap: 48px; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 22px; }
.footer-brand p { color: var(--muted-on-dark); max-width: 36ch; }
.site-footer h2 { font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-on-dark); margin-bottom: 22px; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-links a { color: rgba(255,255,255,.85); }
.footer-contact a { display: inline-block; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; color: #fff; }
.footer-contact small { display: block; color: var(--muted-on-dark); font-size: .8rem; margin-top: 2px; }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line-dark); color: rgba(255,255,255,.85); transition: background .3s, color .3s, border-color .3s; }
.social a:hover { background: #fff; color: #000; border-color: #fff; text-decoration: none; }
.social svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 70px; padding-top: 26px; border-top: 1px solid var(--line-dark); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; color: var(--muted-on-dark); font-size: .85rem; }
.footer-bottom a { color: var(--muted-on-dark); }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.big-statement { font-family: var(--font-display); font-size: clamp(1.7rem, 3.4vw, 3rem); font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; max-width: 26ch; }
.two-halves { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 1px solid var(--line-dark); }
.two-halves > div { padding: clamp(32px, 4vw, 56px) clamp(0px, 3vw, 48px) 0 0; }
.two-halves > div + div { border-left: 1px solid var(--line-dark); padding-left: clamp(24px, 3vw, 48px); }
.check-list li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line-dark); }
.light .check-list li, .light-2 .check-list li { border-bottom-color: var(--line-light); }
.check-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 14px; height: 1.5px; background: currentColor; }
@media (max-width: 760px) { .two-halves { grid-template-columns: 1fr; } .two-halves > div + div { border-left: 0; padding-left: 0; } }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); counter-reset: step; border-top: 1px solid var(--line-light); }
.steps li { padding: 32px 28px 0 0; position: relative; }
.steps li::before { counter-increment: step; content: "0" counter(step); display: block; font-family: var(--font-mono); font-size: .78rem; color: var(--muted-on-light); margin-bottom: 30px; }
.steps li::after { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: currentColor; }
.steps h3 { font-size: 1.25rem; margin-bottom: 8px; }
.steps p { color: var(--muted-on-light); font-size: .97rem; margin: 0; }
.dark-steps { border-top-color: var(--line-dark); }
.dark-steps li::before, .dark-steps p { color: var(--muted-on-dark); }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Services page ---------- */
.subnav { position: sticky; top: 70px; z-index: 50; background: rgba(11,11,11,.95); border-bottom: 1px solid var(--line-dark); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex-shrink: 0; font-size: .85rem; padding: 9px 14px; border: 1px solid var(--line-dark); color: rgba(255,255,255,.8); transition: background .25s, color .25s, border-color .25s; }
.subnav a:hover, .subnav a.is-active { background: #fff; color: #000; border-color: #fff; }

.service { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.service__media { grid-column: 1 / span 6; position: sticky; top: 150px; }
.service__body { grid-column: 7 / span 6; }
.service--rev .service__media { grid-column: 7 / span 6; grid-row: 1; }
.service--rev .service__body { grid-column: 1 / span 6; grid-row: 1; }
.service__num { font-family: var(--font-mono); font-size: .78rem; letter-spacing: .14em; }
.service .h2 { margin-bottom: 20px; }
.service__summary { font-size: 1.2rem; line-height: 1.55; margin-bottom: 24px; }
.includes { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; margin: 32px 0; }
.includes li { padding: 12px 0 12px 24px; position: relative; border-bottom: 1px solid var(--line-dark); font-size: .97rem; }
.light .includes li, .light-2 .includes li { border-bottom-color: var(--line-light); }
.includes li::before { content: ""; position: absolute; left: 0; top: 23px; width: 10px; height: 1.5px; background: currentColor; }
.benefit-box { padding: 26px 28px; border: 1px solid var(--line-dark); margin: 32px 0; }
.light .benefit-box, .light-2 .benefit-box { border-color: var(--line-light); }
.benefit-box h3 { font-family: var(--font-mono); font-size: .74rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.benefit-box ul li { padding: 5px 0; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); margin: 32px 0; }
.process li { background: var(--ink); padding: 18px 16px; }
.process strong { display: block; font-family: var(--font-display); margin-bottom: 4px; }
.process span { font-size: .86rem; color: var(--muted-on-dark); display: block; line-height: 1.45; }
.process em { font-style: normal; font-family: var(--font-mono); font-size: .7rem; color: var(--muted-on-dark); display: block; margin-bottom: 10px; }
.service-wide { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: 48px; }
.service-wide .media { aspect-ratio: 4/3; }
@media (max-width: 960px) {
  .service__media, .service__body, .service--rev .service__media, .service--rev .service__body { grid-column: 1 / -1; grid-row: auto; position: static; }
  .process { grid-template-columns: repeat(2, 1fr); }
  .service-wide { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .includes { grid-template-columns: 1fr; } }

/* ---------- Photography & videography ---------- */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line-light); }
.offer-grid li { padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line-light); }
.offer-grid li:not(:nth-child(3n+1)) { padding-left: 28px; border-left: 1px solid var(--line-light); }
.offer-grid h3 { font-size: 1.25rem; margin-bottom: 8px; }
.offer-grid p { margin: 0; font-size: .97rem; color: var(--muted-on-light); }
.dark-offers { border-top-color: var(--line-dark); }
.dark-offers li { border-bottom-color: var(--line-dark) !important; border-left-color: var(--line-dark) !important; }
.dark-offers p { color: var(--muted-on-dark); }
@media (max-width: 900px) {
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .offer-grid li:not(:nth-child(3n+1)) { padding-left: 0; border-left: 0; }
  .offer-grid li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--line-light); }
}
@media (max-width: 560px) { .offer-grid { grid-template-columns: 1fr; } .offer-grid li:nth-child(even) { padding-left: 0; border-left: 0; } }

.edit-list li { display: grid; grid-template-columns: 70px 1fr; gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line-dark); }
.edit-list .num { font-family: var(--font-mono); font-size: .8rem; color: var(--muted-on-dark); padding-top: 4px; }
.edit-list strong { display: block; font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 3px; }
.edit-list p { margin: 0; color: var(--muted-on-dark); font-size: .96rem; }

.gallery { columns: 3 300px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; overflow: hidden; }
.gallery img { width: 100%; height: auto; transition: transform 1s var(--ease), filter .5s; }
.gallery button:hover img, .gallery button:focus-visible img { transform: scale(1.04); }
.gallery figcaption { font-size: .82rem; color: var(--muted-on-dark); padding: 8px 2px 0; }
.gallery button::after { content: "View"; position: absolute; right: 12px; bottom: 12px; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; background: #fff; color: #000; opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; transform: none; }

/* ---------- Portfolio ---------- */
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border: 1px solid var(--line-dark); background: var(--graphite); font-size: .95rem; color: rgba(255,255,255,.85); margin-bottom: 44px; }
.notice svg { flex-shrink: 0; width: 20px; height: 20px; margin-top: 2px; }
.notice p { margin: 0; }
.light .notice { background: #fff; border-color: var(--line-light); color: var(--text-on-light); }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.filters button { min-height: 44px; padding: 0 18px; border: 1px solid var(--line-dark); background: transparent; cursor: pointer; font-size: .9rem; color: rgba(255,255,255,.85); transition: background .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: rgba(255,255,255,.5); }
.filters button[aria-pressed="true"] { background: #fff; color: #000; border-color: #fff; }

.pf-grid { display: grid; grid-auto-flow: dense; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }
.pf-item { position: relative; }
.pf-item[hidden] { display: none; }
.pf-item.is-wide { grid-column: span 2; grid-row: span 2; }
.pf-item.is-wide .media { aspect-ratio: auto; height: 100%; }
.pf-item button { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: inherit; position: relative; }
.pf-item .media { aspect-ratio: 4/3; }
.pf-item video { position: absolute; inset: 0; opacity: 0; transition: opacity .5s; }
.pf-item.is-playing video { opacity: 1; }
.pf-item .play { position: absolute; z-index: 3; top: 14px; right: 14px; display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 6px 10px; background: #fff; color: #000; }
.pf-item.is-filtering { animation: pfIn .5s var(--ease); }
@keyframes pfIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 1000px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .pf-grid { grid-template-columns: 1fr; } .pf-item.is-wide { grid-column: auto; grid-row: auto; } .pf-item.is-wide .media { aspect-ratio: 4/3; height: auto; } }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(0,0,0,.94); display: none; align-items: center; justify-content: center; padding: 70px 20px 90px; }
.lightbox.is-open { display: flex; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lightbox__stage { max-width: min(1400px, 100%); max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__stage img, .lightbox__stage video { max-width: 100%; max-height: calc(100vh - 190px); width: auto; height: auto; object-fit: contain; background: #000; }
.lightbox__cap { margin-top: 16px; text-align: center; color: rgba(255,255,255,.85); font-size: .92rem; max-width: 70ch; }
.lightbox__cap small { display: block; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-on-dark); margin-top: 6px; }
.lb-btn { position: absolute; width: 52px; height: 52px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; transition: background .25s, color .25s; }
.lb-btn:hover { background: #fff; color: #000; }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 30px; left: 24px; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; color: var(--muted-on-dark); }
@media (max-width: 700px) { .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; } .lb-prev { left: calc(50% - 62px); } .lb-next { right: calc(50% - 62px); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.contact-methods { border-top: 1px solid var(--line-light); margin: 36px 0; }
.contact-method { display: block; padding: 26px 0; border-bottom: 1px solid var(--line-light); }
.contact-method .label { margin-bottom: 10px; }
.contact-method a { font-family: var(--font-display); font-size: clamp(1.35rem, 2.4vw, 1.9rem); font-weight: 700; letter-spacing: -0.02em; word-break: break-word; }
.contact-method a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact-method p { margin: 6px 0 0; color: var(--muted-on-light); font-size: .93rem; }
.demo-note { font-size: .86rem; padding: 14px 16px; border-left: 2px solid currentColor; background: rgba(0,0,0,.04); color: var(--muted-on-light); }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.form { background: #fff; color: var(--text-on-light); padding: clamp(26px, 4vw, 52px); border: 1px solid var(--line-light); }
.form .h3 { margin-bottom: 8px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; margin-top: 30px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .88rem; font-weight: 600; }
.field label .opt { font-weight: 400; color: var(--muted-on-light); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #c9c7c1; border-radius: var(--radius); background: #fff; color: var(--text-on-light);
  transition: border-color .2s, box-shadow .2s; font-size: 1rem;
}
.field textarea { min-height: 160px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23000' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(0,0,0,.12); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #a1100f; }
.field .error { font-size: .84rem; color: #a1100f; min-height: 0; }
.field .error:empty { display: none; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted-on-light); }
.consent input { width: 20px; height: 20px; min-height: 0; margin-top: 2px; accent-color: #000; flex-shrink: 0; }
.consent a { text-decoration: underline; text-underline-offset: 3px; color: var(--text-on-light); }
.form-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form-status { margin-top: 22px; padding: 16px 18px; font-size: .95rem; border: 1px solid; display: none; }
.form-status.is-visible { display: block; }
.form-status.is-info { border-color: #000; background: #f6f5f1; }
.form-status.is-ok { border-color: #1f5f2c; background: #eef6ef; color: #12391a; }
.form-status.is-err { border-color: #a1100f; background: #fbeeee; color: #6d0b0a; }
.form-status a { text-decoration: underline; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Legal ---------- */
.legal { max-width: 78ch; }
.legal h2 { font-size: 1.6rem; margin: 2.2em 0 .6em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { list-style: disc; padding-left: 1.3em; margin-bottom: 1.1em; }
.legal li { margin-bottom: .4em; }
.legal a { text-decoration: underline; text-underline-offset: 3px; }
.placeholder { background: #fff3c4; color: #3d3200; padding: 0 4px; }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; display: grid; place-items: center; background: #fff; color: #000; border: 1px solid #000; cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .3s, transform .3s, visibility .3s; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: #000; color: #fff; border-color: #fff; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .08s; } .reveal-d2 { transition-delay: .16s; } .reveal-d3 { transition-delay: .24s; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-l { margin-top: clamp(40px, 5vw, 64px); }
.center { text-align: center; }
.rule { height: 1px; background: var(--line-dark); border: 0; margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  :root { --header-h: 72px; }
  .brand img { height: 56px; }
  .btn { padding: 0 22px; }
  .hero .vf { display: none; }
}

/* ---------- Additions ---------- */
.work__title { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 4px; color: #fff; }
.process--light { background: var(--line-light); border-color: var(--line-light); }
.process--light li { background: var(--paper); }
.process--light span, .process--light em { color: var(--muted-on-light); }
.subnav ~ section[id] { scroll-margin-top: 60px; }
.pf-item .media { display: block; }
.pf-item .media img { position: absolute; inset: 0; }
@media (max-width: 700px) { .hero__scroll { display: none; } }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 960px) { .service { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }
.showcase__mosaic { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); }
.showcase > *, .split > *, .service > *, .contact-grid > *, .intro-grid > * { min-width: 0; }
@media (max-width: 960px) { .showcase { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 480px) { .btn { white-space: normal; text-align: center; padding-top: 12px; padding-bottom: 12px; } }
