/* ==========================================================================
   ARTOLEX — site styles (v2: dark-green theme)
   Theme taken from the previous ARTOLEX site: deep greens, white text, a
   mint "signal" accent and small technical (HUD) details on media frames.
   Layout: one page, quiet and compact; the hero photo and the showreel are
   the two big moments, everything else sits at a calm reading scale.
   ========================================================================== */

/* --------------------------------------------------------------------------
   Brand fonts
   Maheni (display) and Tomato Grotesk (body) are the brand fonts. When you
   have licensed web files, put them in /assets/fonts/ and uncomment this
   block; the font stacks below already list them first.
   --------------------------------------------------------------------------
@font-face { font-family: "Maheni"; src: url("../fonts/maheni-regular.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "Tomato Grotesk"; src: url("../fonts/tomato-grotesk-light.woff") format("woff"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Tomato Grotesk"; src: url("../fonts/tomato-grotesk-regular.woff") format("woff"); font-weight: 400; font-display: swap; }
*/

:root {
  /* Greens (brand Emerald #0F3D2E is the page colour) */
  --bg: #0F3D2E;
  --bg-2: #124434;
  --bg-3: #18503d;
  --bg-deep: #0a2d21;

  /* Text on green */
  --ink: #F9F8F7;            /* Milk White, 11.5:1 on --bg */
  --ink-2: #d6e2db;          /* 9.1:1 */
  --mute: #a9bdb2;           /* 6.1:1 */

  /* Accents */
  --signal: #7dffc4;         /* mint, used sparingly: dots, brackets, focus */
  --sage: #86c3a2;

  /* Light section */
  --paper: #F4F1EC;          /* Bone White */
  --paper-ink: #0F3D2E;
  --paper-body: #3A3A3A;     /* Graphite */
  --paper-line: rgba(15, 61, 46, 0.16);

  --line: rgba(249, 248, 247, 0.14);
  --line-2: rgba(249, 248, 247, 0.28);

  --font-display: "Maheni", "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Tomato Grotesk", "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  /* Type scale: calm, not zoomed */
  --t-xs: 0.6875rem;   /* 11px labels */
  --t-sm: 0.875rem;    /* 14px */
  --t-md: 1rem;        /* 16px body */
  --t-lg: 1.125rem;    /* 18px lead */
  --t-h3: clamp(1.125rem, 1rem + 0.4vw, 1.375rem);
  --t-h2: clamp(1.75rem, 1.3rem + 1.6vw, 2.625rem);
  --t-h1: clamp(2.375rem, 1.5rem + 3.4vw, 4.5rem);

  --gutter: clamp(16px, 4.5vw, 64px);
  --maxw: 1240px;
  --section: clamp(64px, 5rem + 3vw, 128px);
  --header-h: 68px;
  --cut: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: dark;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--bg) var(--noise);
  background-size: 200px 200px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--t-md);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body::before {
  content: ""; position: fixed; inset: 0 0 auto; z-index: 60;
  height: env(safe-area-inset-top, 0px); background: var(--bg);
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
[hidden] { display: none !important; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.on-paper :focus-visible { outline-color: var(--paper-ink); }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 400;
  background: var(--ink); color: var(--bg); padding: 10px 16px; text-decoration: none; font-size: var(--t-sm);
}
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 10px); }

.wrap {
  width: 100%;
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

/* Type */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1;
  text-wrap: balance;
}
.h2 { font-size: var(--t-h2); }
.lede { font-size: var(--t-lg); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: var(--t-xs); font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--sage);
}
.eyebrow::before { content: "//"; letter-spacing: 0; opacity: 0.8; }

/* Placeholder marker: anything still to be supplied */
.ph { border-bottom: 1px dashed currentColor; }

.spark { width: 0.9em; height: 0.9em; flex: none; }

/* Grain on photographic areas */
.grain { position: relative; isolation: isolate; }
.grain::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.2 -.1'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* HUD corner brackets on media frames */
.hud-frame { position: relative; }
.hud-frame::before {
  content: ""; position: absolute; inset: 8px; z-index: 3; pointer-events: none; opacity: 0.7;
  background:
    linear-gradient(var(--signal), var(--signal)) top left / 12px 1px no-repeat,
    linear-gradient(var(--signal), var(--signal)) top left / 1px 12px no-repeat,
    linear-gradient(var(--signal), var(--signal)) top right / 12px 1px no-repeat,
    linear-gradient(var(--signal), var(--signal)) top right / 1px 12px no-repeat,
    linear-gradient(var(--signal), var(--signal)) bottom left / 12px 1px no-repeat,
    linear-gradient(var(--signal), var(--signal)) bottom left / 1px 12px no-repeat,
    linear-gradient(var(--signal), var(--signal)) bottom right / 12px 1px no-repeat,
    linear-gradient(var(--signal), var(--signal)) bottom right / 1px 12px no-repeat;
}

/* --------------------------------------------------------------------------
   Buttons — square with one diagonally cut corner (cut on a pseudo-element
   so focus rings are never clipped)
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--bg);
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  min-height: 44px; padding: 0.75em 1.35em 0.75em 1.2em;
  color: var(--btn-fg); text-decoration: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; line-height: 1.1;
  transition: color 0.25s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--btn-bg);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: clip-path 0.4s var(--ease), background-color 0.25s var(--ease), box-shadow 0.25s;
}
.btn:hover::before { clip-path: polygon(0 0, 100% 0, 100% 0, 100% 100%, var(--cut) 100%, 0 calc(100% - var(--cut))); }
.btn .spark { width: 10px; height: 10px; transition: transform 0.5s var(--ease); }
.btn:hover .spark { transform: rotate(90deg); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost::before { display: none; }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--signal); color: var(--signal); }
.btn--dark { --btn-bg: var(--bg); --btn-fg: var(--ink); }
.btn .play-ico { width: 10px; height: 10px; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.5em; text-decoration: none;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
  padding-block: 0.35em; border-bottom: 1px solid var(--line-2);
  transition: border-color 0.25s, color 0.25s;
}
.text-link:hover { border-color: var(--signal); color: var(--signal); }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  height: var(--header-h); margin-bottom: calc(-1 * var(--header-h));
  color: var(--ink); border-bottom: 1px solid transparent;
  transition: background-color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.site-header.is-solid {
  background: rgba(15, 61, 46, 0.92);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-color: var(--line);
}
.site-header .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; color: inherit; text-decoration: none; padding: 8px 0; }
.brand svg { width: clamp(104px, 9vw, 124px); height: auto; }
.nav { display: flex; align-items: center; gap: clamp(20px, 2.4vw, 36px); }
.nav ul { display: flex; gap: clamp(18px, 2vw, 30px); margin: 0; padding: 0; list-style: none; }
.nav a:not(.btn) {
  position: relative; text-decoration: none; color: var(--ink-2);
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; padding: 8px 0;
  transition: color 0.2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="true"] { color: var(--ink); }
.nav a[aria-current="true"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--signal); }
.site-header .btn { min-height: 38px; padding: 0.6em 1.1em 0.6em 1em; font-size: 0.6875rem; }

.menu-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 4px; color: inherit;
  font-size: 0.75rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em;
}
.menu-toggle .bars { width: 20px; height: 9px; position: relative; }
.menu-toggle .bars::before, .menu-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}
.menu-toggle .bars::before { top: 0; }
.menu-toggle .bars::after { top: calc(100% - 1.5px); }
.menu-open .menu-toggle .bars::before { top: 4px; transform: rotate(45deg); }
.menu-open .menu-toggle .bars::after { top: 4px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 45; background: var(--bg); color: var(--ink);
  padding-top: calc(env(safe-area-inset-top, 0px) + var(--header-h) + 16px);
  padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px);
  display: flex; flex-direction: column;
}
.mobile-menu .wrap { display: flex; flex-direction: column; gap: 28px; height: 100%; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; display: grid; }
.mobile-menu li { border-bottom: 1px solid var(--line); }
.mobile-menu a:not(.btn) {
  display: block; padding: 16px 0; text-decoration: none;
  font-family: var(--font-display); text-transform: uppercase; font-size: 1.625rem; line-height: 1;
}
.mobile-menu .meta { margin-top: auto; color: var(--mute); font-size: var(--t-sm); }
.menu-open .site-header { background: var(--bg); border-color: var(--line); }
body.menu-open { overflow: hidden; }
@media (max-width: 899px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}

/* --------------------------------------------------------------------------
   Hero (kept from v1, rescaled)
   -------------------------------------------------------------------------- */
.hero {
  position: relative; background: var(--bg); color: var(--ink);
  min-height: min(86svh, 820px);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--header-h) + 40px);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__media picture { display: block; width: 100%; height: 100%; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 64% 40%; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(15,61,46,0.95) 0%, rgba(15,61,46,0.82) 32%, rgba(15,61,46,0.3) 56%, rgba(15,61,46,0) 74%),
    linear-gradient(0deg, rgba(15,61,46,1) 0%, rgba(15,61,46,0) 40%);
}
.hero__content { position: relative; z-index: 2; padding-bottom: clamp(28px, 4vw, 44px); }
.hero__title { font-size: var(--t-h1); max-width: 11em; }
.hero__title span { display: block; }
.hero__lede { margin-top: clamp(16px, 2vw, 24px); color: var(--ink-2); max-width: 32em; font-size: var(--t-lg); }
.hero__actions { margin-top: clamp(22px, 2.6vw, 32px); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.hero__rail { position: relative; z-index: 2; border-top: 1px solid var(--line); }
.hero__rail .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 12px 28px; flex-wrap: wrap;
  padding-block: 14px; font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-2);
}
.hero__rail ul { display: flex; flex-wrap: wrap; gap: 6px 24px; margin: 0; padding: 0; list-style: none; }
.hero__rail li { display: inline-flex; align-items: center; gap: 9px; }
.hero__rail li .spark { width: 9px; height: 9px; color: var(--signal); }

@media (prefers-reduced-motion: no-preference) {
  .hero__media { animation: cut-open 1.4s var(--ease) both; }
  .hero__title span { animation: rise 0.9s var(--ease) both; }
  .hero__title span:nth-child(2) { animation-delay: 0.1s; }
  .hero__lede, .hero__actions { animation: rise 0.9s var(--ease) 0.25s both; }
}
@keyframes cut-open {
  from { clip-path: polygon(46% 0, 54% 0, 50% 100%, 42% 100%); }
  to   { clip-path: polygon(-30% 0, 130% 0, 130% 100%, -30% 100%); }
}
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 699px) {
  .hero { min-height: auto; padding-top: 0; }
  .hero__media { position: relative; height: 56svh; min-height: 320px; max-height: 500px; }
  .hero__media img { object-position: 30% 50%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(15,61,46,1) 0%, rgba(15,61,46,0) 55%); }
  .hero__content { margin-top: -96px; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.section--paper { background: var(--paper); color: var(--paper-body); }
.section-head { display: grid; gap: 14px 48px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .display { color: var(--ink); margin-top: 4px; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; }
  .section-head > :first-child { grid-column: 1; }
  .section-head > .lede, .section-head > .head-aside { grid-column: 2; justify-self: end; max-width: 30em; }
}
.section--paper .display, .section--paper .section-head .display { color: var(--paper-ink); }
.section--paper .eyebrow { color: var(--paper-ink); }
.section--paper .lede { color: var(--paper-body); }

/* Showreel */
.reel {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--line-2); background: var(--bg-3); text-align: left; color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(6, 28, 20, 0.7);
  transition: border-color 0.3s, box-shadow 0.4s;
}
.reel:hover { border-color: rgba(125, 255, 196, 0.55); box-shadow: 0 40px 80px -40px rgba(6,28,20,.7), 0 0 44px -12px rgba(125,255,196,.4); }
.reel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel img { transition: transform 1s var(--ease); }
.reel:hover img { transform: scale(1.025); }
.reel::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,45,33,.15) 0%, transparent 40%, rgba(10,45,33,.85) 100%); }
.hud { position: absolute; z-index: 3; font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.16em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.hud.tl { left: 20px; top: 18px; }
.hud.tr { right: 20px; top: 18px; display: flex; align-items: center; gap: 8px; }
.hud .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 10px var(--signal); }
@media (prefers-reduced-motion: no-preference) { .hud .dot { animation: pulse 2.6s ease-in-out infinite; } }
@keyframes pulse { 50% { opacity: 0.3; } }
.reel__meta {
  position: absolute; z-index: 3; left: clamp(16px, 3vw, 32px); right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 2.6vw, 28px);
  display: flex; justify-content: space-between; align-items: flex-end; gap: 20px;
}
.reel__meta strong { display: block; margin-top: 8px; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: clamp(1.125rem, 1rem + 1vw, 1.75rem); line-height: 1.05; }
.play {
  flex: none; width: clamp(52px, 6vw, 72px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; background: var(--ink); color: var(--bg);
  box-shadow: 0 0 0 6px rgba(249, 248, 247, 0.12);
  transition: transform 0.35s var(--ease);
}
.play svg { width: 32%; margin-left: 6%; }
.reel:hover .play, .vcard:hover .play { transform: scale(1.08); }
@media (max-width: 760px) { .hud.tr { display: none; } }

/* Studio statement */
.statement { display: grid; gap: clamp(24px, 4vw, 64px); }
@media (min-width: 900px) { .statement { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }
.statement__big { font-size: var(--t-h2); }
.statement__big span { display: block; }
.statement__copy { display: grid; gap: 16px; max-width: 34em; color: var(--ink-2); }
.statement__copy p:first-child { font-size: var(--t-lg); color: var(--ink); }
.principles {
  margin-top: clamp(48px, 6vw, 80px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  border-top: 1px solid var(--line);
}
.principles > div { padding: 24px 0 0; display: grid; gap: 8px; align-content: start; }
@media (min-width: 840px) {
  .principles > div { padding: 28px 32px 0 0; }
  .principles > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
}
.principles dt {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: var(--t-h3); line-height: 1;
}
.principles dt .spark { color: var(--signal); width: 12px; height: 12px; }
.principles dd { margin: 0; color: var(--ink-2); font-size: 0.9375rem; max-width: 30em; }

/* Services (light section) */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--paper-line); }
.service {
  display: grid; gap: 12px 40px; padding-block: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--paper-line); scroll-margin-top: calc(var(--header-h) + 12px);
}
@media (min-width: 900px) { .service { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr); align-items: start; } }
.service__name { font-size: clamp(1.375rem, 1.1rem + 1vw, 1.875rem); color: var(--paper-ink); display: flex; gap: 0.45em; align-items: flex-start; }
.service__name .spark { width: 12px; height: 12px; margin-top: 0.3em; transition: transform 0.6s var(--ease); }
.service:hover .service__name .spark { transform: rotate(90deg); }
.service__desc { max-width: 30em; }
.service__label { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--paper-ink); margin-bottom: 6px; }
.service__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; font-size: 0.9375rem; }
.service__list li { display: flex; gap: 10px; align-items: baseline; }
.service__list li::before { content: ""; width: 12px; height: 1px; background: currentColor; flex: none; transform: translateY(-4px); opacity: 0.7; }

/* Video work */
.filters {
  display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: clamp(28px, 3.5vw, 44px);
}
.chip {
  min-height: 36px; padding: 8px 14px; border: 1px solid var(--line-2); border-radius: 3px;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2);
  transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.group + .group { margin-top: clamp(40px, 5vw, 64px); }
.group-title { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 20px; }
.group-title h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: var(--t-h3); line-height: 1.1; }
.group-title span { font-size: var(--t-sm); color: var(--mute); }
.vgrid { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.vgrid--short { grid-template-columns: repeat(auto-fill, minmax(min(46%, 190px), 1fr)); gap: 24px 16px; }
.vcard { display: block; width: 100%; text-align: left; color: var(--ink); }
.vcard__thumb {
  display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 9; background: var(--bg-3);
  border: 1px solid var(--line); transition: border-color 0.3s, box-shadow 0.4s;
}
.vcard__thumb.is-vertical { aspect-ratio: 9 / 16; }
.vcard__thumb img, .vcard__thumb .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.vcard__thumb::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 50%, rgba(8, 40, 30, 0.65)); pointer-events: none; }
.vcard:hover .vcard__thumb { border-color: rgba(125, 255, 196, 0.55); box-shadow: 0 0 40px -14px rgba(125, 255, 196, 0.45); }
.vcard:hover .vcard__thumb img, .vcard:hover .vcard__thumb .art { transform: scale(1.035); }
.vcard .play { position: absolute; right: 12px; bottom: 12px; z-index: 3; width: 40px; box-shadow: 0 0 0 4px rgba(249,248,247,.12); }
.tag {
  position: absolute; left: 12px; top: 12px; z-index: 3;
  font-size: 0.5625rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 9px; border: 1px solid var(--line-2); border-radius: 999px;
  background: rgba(10, 45, 33, 0.78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.tag--ph { left: auto; right: 12px; color: var(--signal); }
.vcard__thumb.is-vertical .tag--ph { left: 12px; right: auto; top: 40px; }
.vcard__info { display: flex; justify-content: space-between; gap: 6px 16px; align-items: baseline; flex-wrap: wrap; padding-top: 12px; }
.vcard__title { font-size: 0.9375rem; font-weight: 500; line-height: 1.3; }
.vcard__info span { font-size: 0.75rem; color: var(--mute); letter-spacing: 0.04em; }
.art svg { width: 100%; height: 100%; }
.work-empty { padding: 40px 0; color: var(--mute); }
.work-foot { margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.work-foot p { color: var(--ink-2); max-width: 36em; font-size: 0.9375rem; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); border-top: 1px solid var(--line); counter-reset: step; }
.step { counter-increment: step; padding: 24px 24px 0 0; display: grid; gap: 8px; align-content: start; }
.step::before { content: counter(step, decimal-leading-zero); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.1em; color: var(--signal); font-variant-numeric: tabular-nums; }
.step h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: var(--t-h3); line-height: 1.1; }
.step p { color: var(--ink-2); font-size: 0.9375rem; }

/* Testimonial */
.quote { display: grid; gap: 22px; max-width: 860px; }
.quote blockquote { font-family: var(--font-display); font-size: var(--t-h2); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.quote figcaption { display: flex; gap: 12px; align-items: center; color: var(--ink-2); font-size: var(--t-sm); }
.quote figcaption .spark { color: var(--signal); width: 12px; height: 12px; }

/* Contact */
.contact { position: relative; overflow: hidden; }
.contact__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 420px at 80% -10%, rgba(134, 195, 162, 0.28), transparent 68%),
    linear-gradient(180deg, #104534 0%, var(--bg) 70%);
}
.contact__mark { position: absolute; right: -6%; top: 8%; width: min(48vw, 620px); color: var(--ink); opacity: 0.05; z-index: 0; }
.contact .wrap { position: relative; z-index: 2; }
.contact__grid { display: grid; gap: clamp(36px, 5vw, 80px); }
@media (min-width: 980px) { .contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); } }
.contact__intro { display: grid; gap: 18px; align-content: start; }
.contact__intro .display { font-size: var(--t-h2); }
.contact-list { display: grid; margin: 10px 0 0; border-top: 1px solid var(--line); }
.contact-list > div { display: grid; grid-template-columns: 7rem minmax(0, 1fr); gap: 12px; padding-block: 14px; border-bottom: 1px solid var(--line); }
.contact-list dt { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); padding-top: 3px; }
.contact-list dd { margin: 0; overflow-wrap: anywhere; font-size: 0.9375rem; }

.form-card {
  position: relative; background: rgba(10, 45, 33, 0.55); border: 1px solid var(--line-2);
  padding: clamp(22px, 3.4vw, 40px);
}
.form-card h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: var(--t-h3); line-height: 1.1; }
.form-card > p { margin-top: 8px; color: var(--ink-2); font-size: 0.9375rem; }
.form { display: grid; gap: 18px; margin-top: 24px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; min-width: 0; }
.field label, .field legend { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); padding: 0; }
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; padding: 11px 14px; border: 1px solid var(--line-2); border-radius: 0;
  background: var(--bg-2); color: var(--ink); font-size: 0.9375rem; line-height: 1.4; appearance: none;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea::placeholder { color: var(--mute); opacity: 1; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%), linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px;
}
.field select option { background: var(--bg-2); color: var(--ink); }
.field textarea { min-height: 128px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--mute); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible {
  outline: none; border-color: var(--signal); background: var(--bg-3);
  box-shadow: 0 0 0 1px var(--signal), 0 0 24px -8px rgba(125, 255, 196, 0.5);
}
.field [aria-invalid="true"] { border-color: var(--ink); border-width: 2px; }
.field .error { color: var(--ink); font-size: 0.8125rem; font-weight: 500; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2px; }
.pick { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span {
  display: inline-flex; align-items: center; min-height: 38px; padding: 7px 13px;
  border: 1px solid var(--line-2); font-size: 0.875rem; transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.pick input:hover + span { border-color: var(--mute); }
.pick input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pick input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.form__foot p { font-size: 0.8125rem; color: var(--mute); max-width: 26em; }
.form-status { padding: 12px 14px; font-size: 0.875rem; border: 1px solid var(--signal); color: var(--ink); }
.form-status[data-state="error"] { border-color: var(--ink); }
.form-status strong { color: var(--signal); font-weight: 600; }
.form-status[data-state="error"] strong { color: var(--ink); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

/* Footer */
.site-footer { background: var(--bg-deep); color: var(--ink-2); border-top: 1px solid var(--line); padding-top: clamp(48px, 6vw, 72px); padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 28px); }
.footer-top { display: grid; gap: 36px; }
@media (min-width: 860px) { .footer-top { grid-template-columns: minmax(0, 5fr) repeat(3, minmax(0, 2fr)); } }
.footer-brand { display: grid; gap: 16px; align-content: start; }
.footer-brand svg { width: 132px; height: auto; color: var(--ink); }
.footer-brand p { font-size: var(--t-sm); max-width: 28em; }
.footer-top h2 { font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-bottom: 14px; }
.footer-top ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: var(--t-sm); }
.footer-top a { text-decoration: none; }
.footer-top a:hover { color: var(--signal); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
  margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.75rem; color: var(--mute);
}
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--signal); }

/* --------------------------------------------------------------------------
   Video player (modal)
   -------------------------------------------------------------------------- */
.modal {
  position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(8, 36, 27, 0.95);
}
.modal__box { width: min(1080px, 100%); max-height: 100%; overflow: auto; }
.modal__stage { position: relative; }
.modal__media { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-deep); border: 1px solid var(--line); }
.modal__media.is-vertical { aspect-ratio: 9 / 16; width: min(380px, 100%); max-height: 76vh; margin-inline: auto; }
.modal__media iframe, .modal__media video, .modal__media .art, .modal__media > img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.modal__note { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-2); font-size: 0.9375rem; background: rgba(10,45,33,.35); }
.modal__note b { display: block; margin-bottom: 8px; font-family: var(--font-display); font-weight: 500; text-transform: uppercase; color: var(--ink); font-size: 1.125rem; }
.modal__note a { color: var(--signal); }
.modal__info { display: flex; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 18px 2px 0; }
.modal__info h3 { font-family: var(--font-display); font-weight: 500; text-transform: uppercase; font-size: var(--t-h3); line-height: 1.1; }
.modal__info p { color: var(--ink-2); font-size: 0.9375rem; max-width: 56ch; margin-top: 8px; }
.modal__info dl { margin: 0; display: grid; grid-template-columns: auto auto; gap: 4px 16px; font-size: 0.8125rem; color: var(--mute); align-content: start; }
.modal__info dd { margin: 0; color: var(--ink); }
.modal__btn {
  position: absolute; z-index: 4; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink);
  border: 1px solid var(--line-2); background: rgba(10, 45, 33, 0.85);
  transition: background-color 0.2s, color 0.2s;
}
.modal__btn:hover { background: var(--ink); color: var(--bg); }
.modal__btn svg { width: 14px; height: 14px; }
.modal__close { top: 12px; right: 12px; }
.modal__prev { left: 12px; top: 50%; transform: translateY(-50%); }
.modal__next { right: 12px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .modal__prev, .modal__next { display: none; } }
body.modal-open { overflow: hidden; }

/* Content pages (privacy, 404) */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 100px)); padding-bottom: clamp(40px, 5vw, 72px);
  background: var(--noise), radial-gradient(900px 420px at 82% -20%, rgba(134, 195, 162, 0.3), transparent 68%), linear-gradient(180deg, #104534 0%, var(--bg) 100%);
  background-size: 200px 200px, auto, auto;
}
.page-hero .display { font-size: var(--t-h1); }
.page-hero p { margin-top: 16px; color: var(--ink-2); max-width: 36em; }
.prose { max-width: 42rem; display: grid; gap: 1em; color: var(--ink-2); }
.prose h2 { font-family: var(--font-display); text-transform: uppercase; font-weight: 500; color: var(--ink); font-size: var(--t-h3); line-height: 1.1; margin-top: 1.2em; }
.prose ul { padding-left: 1.2em; display: grid; gap: 0.35em; }
.prose a { color: var(--signal); text-underline-offset: 3px; }
.notice { padding: 14px 16px; border: 1px solid var(--line-2); border-left: 3px solid var(--signal); background: var(--bg-2); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
.field label.pick { font-size: 0.875rem; font-weight: 400; letter-spacing: 0; text-transform: none; color: var(--ink); }
