/* ==========================================================================
   Torqal — bold editorial theme (white / black / electric mint)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --ink: #050505;
  --ink-soft: #55565b;
  --mint: #51fec0;
  --mint-ink: #043b2b;      /* dark text on mint */
  --line: #050505;
  --hairline: #e6e6e6;
  --dark: #0a0a0b;          /* dark section bg */

  /* No monospace — it reads as a template tell. Labels use the sans, styled with
     weight + tracking so they still feel like intentional labels. */
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --mono: var(--sans);
  --label: var(--sans);
  --display: "Arial Black", "Helvetica Neue", Helvetica, system-ui, sans-serif;

  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 64px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

a { color: inherit; }
img { max-width: 100%; }

/* Shared duotone image treatment ----------------------------------------- */
.duo { position: relative; overflow: hidden; background: #050505; }
.duo > img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1) contrast(1.06) brightness(.9);
}
.duo::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(150deg, rgba(81,254,192,.5) 0%, rgba(81,254,192,.08) 45%, rgba(5,5,5,.2) 100%);
  mix-blend-mode: screen;
}
.duo::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background: linear-gradient(0deg, rgba(5,5,5,.72) 0%, rgba(5,5,5,.15) 38%, rgba(5,5,5,0) 62%);
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff;
  padding: 10px 16px; z-index: 100;
}
.skip-link:focus { left: 8px; top: 8px; }

:focus-visible { outline: 3px solid var(--mint); outline-offset: 3px; }

/* Shared type ------------------------------------------------------------- */
.eyebrow {
  font-family: var(--label);
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-soft); margin: 0 0 20px;
}
.eyebrow.light { color: #b9bbc2; }

.display {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-size: clamp(2.7rem, 8.5vw, 7.5rem);
  margin: 0;
}
.display-2 {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-size: clamp(1.9rem, 4.6vw, 3.6rem);
  margin: 0;
}
.mark {
  background: var(--mint);
  color: var(--mint-ink);
  padding: 0 0.12em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Header ------------------------------------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.02em; font-size: 22px; text-decoration: none; color: var(--ink);
}
.wordmark .dot { color: var(--mint); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a {
  font-family: var(--label); font-size: 15px; font-weight: 500; letter-spacing: 0.01em;
  text-transform: none; text-decoration: none; color: var(--ink);
}
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav .nav-cta {
  background: var(--ink); color: #fff; padding: 9px 16px; text-transform: none;
}
.nav .nav-cta:hover { background: var(--mint); color: var(--mint-ink); text-decoration: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); display: block; }

/* Hero -------------------------------------------------------------------- */
.hero { padding: clamp(48px, 9vw, 120px) 0 0; }
.hero .display { max-width: 15ch; }
.hero-foot {
  display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px;
  margin-top: clamp(32px, 5vw, 56px);
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); margin: 0; }

.btn {
  display: inline-block; font-weight: 700; text-decoration: none;
  padding: 14px 24px; font-size: 15px; border: 2px solid var(--ink);
  transition: transform .08s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }

/* Marquee ----------------------------------------------------------------- */
.marquee {
  margin-top: clamp(48px, 8vw, 96px);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  overflow: hidden; white-space: nowrap;
}
.marquee-track {
  display: inline-flex; align-items: center; gap: 28px; padding: 16px 0;
  animation: scroll 30s linear infinite;
}
.marquee span {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.1rem, 2.4vw, 1.9rem); letter-spacing: -0.01em;
}
.marquee i { color: var(--mint); font-style: normal; font-size: 1.1rem; }
@keyframes scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* Sections ---------------------------------------------------------------- */
.section { padding: clamp(64px, 11vw, 140px) 0; }
.section-head { margin-bottom: clamp(36px, 6vw, 72px); }
.section-head .eyebrow { margin-bottom: 14px; }

/* Services (big numbered rows) ------------------------------------------- */
.services { list-style: none; margin: 0; padding: 0; }
.service {
  display: grid; grid-template-columns: 90px 1fr; gap: 8px 28px;
  padding: 32px 0; border-top: 1px solid var(--hairline); align-items: start;
}
.service:last-child { border-bottom: 1px solid var(--hairline); }
.service .num {
  font-family: var(--mono); font-size: 15px; color: var(--mint-ink);
  background: var(--mint); padding: 3px 9px; justify-self: start; border-radius: 2px;
}
.service h3 { font-size: clamp(1.3rem, 3vw, 2rem); margin: 0 0 6px; letter-spacing: -0.01em; grid-column: 2; }
.service p { margin: 0; color: var(--ink-soft); max-width: 52ch; grid-column: 2; }

/* Why Torqal -------------------------------------------------------------- */
.why-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 5vw, 64px); align-items: center;
}
.why-media { aspect-ratio: 4 / 5; border-radius: 6px; }
.why-lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink-soft);
  max-width: 46ch; margin: 18px 0 28px;
}
.why-stats {
  list-style: none; margin: 0; padding: 0; display: grid;
  grid-template-columns: repeat(3, auto); gap: clamp(20px, 4vw, 48px);
}
.why-stats li { display: flex; flex-direction: column; }
.stat-n {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1; display: block;
  border-bottom: 3px solid var(--mint); width: fit-content; padding-bottom: 4px;
}
.stat-l {
  font-size: 13px; text-transform: uppercase; letter-spacing: .1em;
  color: var(--ink-soft); display: block; margin-top: 8px;
}

/* Work (dark) ------------------------------------------------------------- */
.section-dark { background: var(--dark); color: #fff; }
.section-dark .display-2 { color: #fff; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-thumb {
  aspect-ratio: 4 / 3; border-radius: 4px; overflow: hidden; margin-bottom: 18px;
}
.work-cap {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  line-height: .9; color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -.01em; text-shadow: 0 2px 20px rgba(0,0,0,.5);
}
.work-type {
  font-family: var(--label); font-size: 13px; font-weight: 700; color: var(--mint);
  text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 6px;
}
.work h3 { font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin: 0; color: #fff; letter-spacing: -0.01em; }

/* Steps ------------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { border-top: 3px solid var(--ink); padding-top: 18px; }
.steps .num { font-family: var(--mono); font-size: 14px; color: var(--ink-soft); }
.steps h3 { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 1.5rem; margin: 8px 0 8px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Contact ----------------------------------------------------------------- */
.contact .contact-h { margin-bottom: clamp(32px, 5vw, 56px); max-width: 16ch; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-copy p { font-size: 18px; max-width: 46ch; }
.email {
  display: inline-block; margin-top: 20px; font-family: var(--mono);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem); text-decoration: none;
  border-bottom: 3px solid var(--mint); padding-bottom: 2px;
}
.contact-form { display: grid; gap: 16px; }
.contact-form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form label { display: grid; gap: 6px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-soft); }
.contact-form input, .contact-form textarea {
  font-family: var(--sans); font-size: 16px; color: var(--ink);
  padding: 12px 14px; border: 2px solid var(--ink); background: #fff; border-radius: 0;
}
.contact-form textarea { resize: vertical; }
.contact-form .btn-solid { justify-self: start; cursor: pointer; }
.form-note { font-family: var(--mono); font-size: 12px; color: var(--ink-soft); }

/* Footer ------------------------------------------------------------------ */
.site-footer { border-top: 1px solid var(--ink); padding: 40px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.small { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); margin: 0; }

/* Responsive -------------------------------------------------------------- */
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column;
    align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--hairline);
    padding: 8px var(--pad) 20px; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav .nav-cta { width: 100%; text-align: center; margin-top: 8px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-media { aspect-ratio: 16 / 10; }
  .svc-preview { display: none; }
  .work-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .service { grid-template-columns: 1fr; }
  .service p, .service h3 { grid-column: 1; }
  .why-stats { grid-template-columns: 1fr; gap: 18px; }
  .steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Motion / "wow" layer
   ========================================================================== */

/* Hero split layout with the dial */
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(24px, 5vw, 56px); align-items: center; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .dial-wrap { order: 2; margin-top: 8px; }
}

/* Kinetic headline: lines rise in, mint highlight wipes across */
/* Top/bottom padding gives caps room so overflow:hidden doesn't clip letter tops.
   Negative margin keeps the visual line spacing tight. */
.hero-h .line { display: block; overflow: hidden; padding: 0.16em 0.03em 0.1em; margin-top: -0.14em; }
.hero-h .line:first-child { margin-top: 0; }
.hero-h .line-in { display: inline-block; transition: transform .75s cubic-bezier(.2,.75,.2,1); }
html.anim .hero-h:not(.in) .line-in { transform: translateY(115%); }
.hero-h.in .line:nth-child(1) .line-in { transition-delay: .05s; }
.hero-h.in .line:nth-child(2) .line-in { transition-delay: .13s; }
.hero-h.in .line:nth-child(3) .line-in { transition-delay: .21s; }
.hero-h.in .line-in { transform: translateY(0); }
.hero-h .mark {
  background: var(--mint);
  background-image: linear-gradient(var(--mint), var(--mint));
  background-repeat: no-repeat; background-size: 0% 100%;
  transition: background-size .8s cubic-bezier(.2,.75,.2,1) .5s;
}
.hero-h.in .mark { background-size: 100% 100%; }

/* Interactive torque dial */
.dial-wrap { display: flex; justify-content: center; }
.dial {
  position: relative; width: min(400px, 78vw); aspect-ratio: 1;
  transition: transform .25s ease; transform-style: preserve-3d; will-change: transform;
}
.dial-svg { width: 100%; height: 100%; display: block; }
.dial-ticks { opacity: .45; }
.dial-text { transform-origin: 150px 150px; animation: dial-spin 24s linear infinite; }
.ring-text {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 3px;
  fill: var(--ink); text-transform: uppercase;
}
.dial-core {
  position: absolute; inset: 0; margin: auto; width: 44%; height: 44%;
  background: var(--mint); border-radius: 50%; display: grid; place-items: center;
  box-shadow: 0 20px 60px rgba(81,254,192,.45); transition: transform .3s ease;
}
.dial:hover .dial-core { transform: scale(1.09); }
.dial:hover .dial-text { animation-duration: 7s; }
@keyframes dial-spin { to { transform: rotate(360deg); } }

/* Scroll reveals — only hidden once JS marks the page (.anim); else always visible */
.reveal { transition: opacity .7s ease, transform .8s cubic-bezier(.2,.75,.2,1); }
html.anim .reveal:not(.in) { opacity: 0; transform: translateY(42px); }

/* Fail-safe: no JS / no .anim -> show everything, no hidden content */
html:not(.anim) .hero-h .line-in { transform: none; }
html:not(.anim) .hero-h .mark { background-size: 100% 100%; }

/* Magnetic buttons (JS sets the offset) */
.magnetic { transition: transform .18s ease, background .15s ease, color .15s ease; will-change: transform; }

/* Work card hover */
.work-thumb { overflow: hidden; transition: transform .35s cubic-bezier(.2,.75,.2,1), box-shadow .35s ease; }
.work:hover .work-thumb { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(0,0,0,.35); }
.work h3 { transition: color .2s ease; }
.work:hover h3 { color: var(--mint); }

/* Reduced motion: kill it all, show final state */
@media (prefers-reduced-motion: reduce) {
  .dial-text { animation: none; }
  .hero-h .line-in { transform: none; }
  .hero-h .mark { background-size: 100% 100%; }
  .reveal { opacity: 1; transform: none; }
  .dial, .magnetic, .work-thumb { transition: none; }
  .svc-preview { display: none; }
}

/* ==========================================================================
   Dramatic hero: dark canvas fluid + cinematic intro
   ========================================================================== */

/* Cinematic intro */
.intro {
  position: fixed; inset: 0; z-index: 9999; background: #050505;
  display: grid; place-items: center;
  animation: intro-out .8s cubic-bezier(.7,0,.3,1) 1.15s forwards;
}
.intro-word {
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  color: #fff; font-size: clamp(2.4rem, 10vw, 6rem); letter-spacing: -0.01em;
  animation: intro-word .9s cubic-bezier(.2,.75,.2,1) both;
}
.intro-word .dot { color: var(--mint); }
@keyframes intro-word {
  from { opacity: 0; transform: translateY(18px) scale(.95); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: none; }
}
@keyframes intro-out { to { transform: translateY(-101%); } }

/* Dark hero */
.hero-dark {
  position: relative; overflow: hidden;
  background: #050505; color: #fff;
  min-height: 90vh; display: flex; align-items: center;
  padding: 120px 0 80px;
}
.hero-canvas {
  position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0;
  display: block;
}
.hero-dark::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(5,5,5,.9), rgba(5,5,5,.55) 45%, rgba(5,5,5,.12) 80%, rgba(5,5,5,0));
}
.hero-inner { position: relative; z-index: 2; }
.hero-dark .display { color: #fff; max-width: 15ch; line-height: 0.98; }
.hero-dark .hero-note { color: #c8c9cf; }
.hero-hint {
  position: absolute; left: var(--pad); bottom: 26px; z-index: 2;
  font-family: var(--mono); font-size: 12px; letter-spacing: .1em;
  text-transform: uppercase; color: #6a6c75;
}

/* Ghost button for dark hero */
.btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.btn-ghost:hover { background: var(--mint); color: var(--mint-ink); border-color: var(--mint); }

/* Headline scramble helper */
.line-in.scramble { color: var(--mint); }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
  .hero-canvas { display: none; }
  .hero-hint { display: none; }
}

/* ==========================================================================
   Premium layer: smooth inertia scroll, custom cursor, progress bar
   ========================================================================== */

/* Smooth scroll: content is transformed by JS; header rides along (not sticky). */
html.smooth { scroll-behavior: auto; }
html.smooth .site-header { position: static; }
html.smooth #scroll-content {
  position: fixed; top: 0; left: 0; width: 100%; will-change: transform;
}

/* Custom cursor — inverts against any background via difference blend */
.cursor {
  position: fixed; top: 0; left: 0; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; mix-blend-mode: difference; pointer-events: none; z-index: 10000;
  transform: translate3d(-50%, -50%, 0); transition: width .22s ease, height .22s ease;
  will-change: transform; display: none;
}
body.cursor-on .cursor { display: block; }
body.cursor-on, body.cursor-on a, body.cursor-on button,
body.cursor-on input, body.cursor-on textarea, body.cursor-on .magnetic { cursor: none; }
.cursor.hover { width: 56px; height: 56px; }

/* Scroll progress bar */
.progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%;
  background: var(--mint); z-index: 9998; will-change: transform;
}
@media (prefers-reduced-motion: reduce) { .progress { display: none; } }
@media (max-width: 820px) { .cursor, .progress { display: none !important; } }

/* ==========================================================================
   Body drama: interactive sections
   ========================================================================== */

/* Services -> hover bands with a mint sweep */
.service { position: relative; overflow: hidden; align-items: center; padding: 34px 24px; }
.service::before {
  content: ""; position: absolute; inset: 0; background: var(--mint);
  transform: translateY(101%); transition: transform .55s cubic-bezier(.2,.75,.2,1); z-index: 0;
}
.service::after {
  content: "\2197"; position: absolute; right: 26px; top: 50%; z-index: 1;
  transform: translateY(-50%) translateX(-10px); font-size: 1.7rem; color: var(--mint-ink);
  opacity: 0; transition: opacity .35s ease, transform .35s ease;
}
.service > * { position: relative; z-index: 1; }
@media (hover: hover) {
  .service:hover::before { transform: translateY(0); }
  .service:hover::after { opacity: 1; transform: translateY(-50%); }
  .service:hover, .service:hover h3, .service:hover p { color: var(--mint-ink); transition: color .3s; }
  .service:hover .num { background: var(--mint-ink); color: var(--mint); }
}

/* Services -> cursor-follow preview */
.svc-preview {
  position: fixed; top: 0; left: 0; width: min(300px, 26vw); aspect-ratio: 4 / 3;
  border-radius: 6px; pointer-events: none; z-index: 40; opacity: 0;
  transform: translate(-50%, -50%) scale(.9);
  transition: opacity .3s ease, transform .3s cubic-bezier(.2,.75,.2,1);
  will-change: transform;
}
.svc-preview.show { opacity: 1; transform: translate(-50%, -50%) scale(1); }
@media (pointer: coarse) { .svc-preview { display: none; } }

/* Work -> 3D tilt + VIEW badge */
.work { perspective: 1000px; }
.work-thumb { position: relative; transform-style: preserve-3d; }
.work-view {
  position: absolute; top: 16px; right: 16px; z-index: 3;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; color: #fff;
  background: rgba(0,0,0,.4); padding: 6px 11px; border-radius: 999px;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .3s ease;
}
.work:hover .work-view { opacity: 1; transform: none; }

/* Kinetic statement band */
.statement { background: var(--ink); color: #fff; padding: clamp(48px, 8vw, 90px) 0; overflow: hidden; white-space: nowrap; }
.statement-track {
  display: inline-flex; align-items: center; gap: 44px; will-change: transform;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  letter-spacing: -0.01em; font-size: clamp(2rem, 6vw, 4.6rem); padding-left: 6vw;
}
.statement-track b { color: var(--mint); font-size: .6em; }

/* Process -> big ghost numbers + line that draws in */
.steps li { position: relative; border-top: none; padding-top: 30px; }
.steps li::before {
  content: ""; position: absolute; top: 0; left: 0; height: 3px; width: 100%;
  background: var(--ink); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .8s cubic-bezier(.2,.75,.2,1);
}
.steps li.in::before, html:not(.anim) .steps li::before { transform: scaleX(1); }
.steps .num {
  display: block; font-family: var(--display); font-weight: 900;
  font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: #e9e9e9; margin-bottom: 6px;
}

/* Contact form polish */
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--mint); outline: none; box-shadow: 0 0 0 3px rgba(81,254,192,.35);
}
.contact-form .btn-solid { width: 100%; text-align: center; }
@media (max-width: 640px) {
  .hero-dark { min-height: 82vh; }
  .hero-hint { display: none; }
}

/* Services: inline photo for touch devices (no hover-preview there).
   Hidden on hover-capable devices, which get the cursor-follow preview instead. */
.service-media { display: none; }
@media (hover: none) {
  .service-media {
    display: block; grid-column: 1 / -1; margin-bottom: 16px;
    aspect-ratio: 16 / 9; border-radius: 6px;
  }
  /* keep the arrow indicator out of the way on touch */
  .service::after { display: none; }
}

/* Work cards → clickable full-colour project screenshots (2-up grid) */
.work-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
.work { display: block; text-decoration: none; color: inherit; }
.work-grid-4 .work-thumb {
  position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden;
  display: block; padding: 0; margin-bottom: 16px; background: #111;
  box-shadow: 0 12px 34px rgba(0,0,0,.4);
}
.work-grid-4 .work-thumb img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
}
.work-live {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  font-family: var(--label); font-size: 12px; font-weight: 700; letter-spacing: .03em;
  color: var(--mint-ink); background: var(--mint); padding: 7px 12px; border-radius: 999px;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s ease, transform .3s ease;
}
.work:hover .work-live, .work:focus-visible .work-live { opacity: 1; transform: none; }
.work-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-family: var(--label); font-size: 11px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; background: rgba(0,0,0,.5);
  padding: 6px 10px; border-radius: 999px;
}
.work-grid-4 .work h3 { margin-top: 4px; }
@media (max-width: 820px) { .work-grid-4 { grid-template-columns: 1fr; } }
