/* ==========================================================================
   Why Dot Innovation Hub — Design System
   Custom build, structured for a later port to WordPress + Elementor Pro.
   Every token below maps 1:1 to an Elementor Global Color / Global Font.
   ========================================================================== */

:root {
  /* --- Brand colours: identical in both themes (→ Elementor Global Colors) --- */
  --c-coral:        #FF6B4A;   /* Primary   */
  --c-coral-deep:   #E4522F;   /* Primary hover */
  --c-yellow:       #F4B400;   /* Accent    */
  --on-brand:       #1A1A1A;   /* text on coral/yellow — always dark, both themes */

  /* --- Semantic tokens: LIGHT. Components only ever reference these. --- */
  --bg:              #FAF7F2;  /* page ground        */
  --bg-alt:          #FFFFFF;  /* raised surfaces, cards, "white" sections */
  --bg-invert:       #1A1A1A;  /* the deliberately dark band */
  --fg:              #1A1A1A;  /* body text          */
  --fg-soft:         #4A4744;  /* secondary text     */
  --fg-invert:       #FAF7F2;  /* text on the dark band */
  --fg-invert-soft:  #C9C3BA;
  --line:            #E6DFD5;
  --line-invert:     #333333;
  --dotgrid:         rgba(26, 26, 26, .16);
  --shadow:          rgba(26, 26, 26, .45);
  --shadow-strong:   rgba(26, 26, 26, .55);
  --blob-opacity:    .17;
  --ring-opacity:    .14;

  /* --- Typography (→ Elementor Global Fonts) --- */
  --f-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-body:    'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Fluid type scale — clamp() keeps CLS at zero across breakpoints */
  --t-hero:   clamp(2.85rem, 7.2vw, 6.25rem);
  --t-h2:     clamp(2.1rem, 4.4vw, 3.6rem);
  --t-h3:     clamp(1.35rem, 2.1vw, 1.85rem);
  --t-lead:   clamp(1.1rem, 1.5vw, 1.375rem);
  --t-body:   1.0625rem;
  --t-small:  0.875rem;
  --t-eyebrow:0.8125rem;

  /* --- Spacing & layout --- */
  --gutter:   clamp(1.25rem, 4vw, 3rem);
  --max:      1240px;
  --max-text: 68ch;
  --sec-y:    clamp(4.5rem, 9vw, 8.5rem);
  --radius:   18px;
  --radius-s: 10px;

  /* --- Motion --- */
  --ease: cubic-bezier(.22, .61, .36, 1);
}


/* --- Semantic tokens: DARK ------------------------------------------------
   Three states, not two. A viewer who has never touched the toggle carries no
   data-theme attribute at all, so the media query has to do the work; the
   :not([data-theme="light"]) guard means an explicit light choice still wins
   over a dark OS, and the [data-theme="dark"] block lets the toggle win the
   other way. Only tokens are redefined here — never a component rule. */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:              #14120F;
    --bg-alt:          #1D1A16;
    --bg-invert:       #0B0A08;
    --fg:              #F2EDE5;
    --fg-soft:         #ABA398;
    --fg-invert:       #F2EDE5;
    --fg-invert-soft:  #A29A8E;
    --line:            #322D26;
    --line-invert:     #2A2621;
    --dotgrid:         rgba(242, 237, 229, .13);
    --shadow:          rgba(0, 0, 0, .6);
    --shadow-strong:   rgba(0, 0, 0, .7);
    --blob-opacity:    .26;
    --ring-opacity:    .20;
  }
}
:root[data-theme="dark"] {
  --bg:              #14120F;
  --bg-alt:          #1D1A16;
  --bg-invert:       #0B0A08;
  --fg:              #F2EDE5;
  --fg-soft:         #ABA398;
  --fg-invert:       #F2EDE5;
  --fg-invert-soft:  #A29A8E;
  --line:            #322D26;
  --line-invert:     #2A2621;
  --dotgrid:         rgba(242, 237, 229, .13);
  --shadow:          rgba(0, 0, 0, .6);
  --shadow-strong:   rgba(0, 0, 0, .7);
  --blob-opacity:    .26;
  --ring-opacity:    .20;
}

/* --------------------------------------------------------------------------
   Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.028em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: var(--t-hero); }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); letter-spacing: -0.02em; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--c-yellow); color: var(--on-brand); }

:focus-visible {
  outline: 3px solid var(--fg);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--fg); color: var(--bg); padding: .75rem 1.25rem;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.section { padding-block: var(--sec-y); position: relative; }
.section--tight { padding-block: clamp(3rem, 5vw, 4.5rem); }
.section--ink   { background: var(--bg-invert); color: var(--fg-invert); }
.section--coral { background: var(--c-coral); color: var(--on-brand); }
.section--white { background: var(--bg-alt); }

.measure { max-width: var(--max-text); }
.center  { text-align: center; margin-inline: auto; }

.eyebrow {
  font-family: var(--f-body);
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-coral);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: currentColor;
  flex: none;
}
.section--ink .eyebrow  { color: var(--c-yellow); }
.section--coral .eyebrow { color: var(--on-brand); }

.lead { font-size: var(--t-lead); line-height: 1.5; color: var(--fg-soft); }
.section--ink .lead { color: var(--fg-invert-soft); }
.section--coral .lead { color: #4a1f12; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--c-coral);
  --btn-fg: var(--on-brand);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: 1rem 1.75rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  border: 2px solid var(--btn-bg);
  border-radius: 999px;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease), border-color .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); background: var(--c-coral-deep); border-color: var(--c-coral-deep); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: currentColor;
}
.btn--ghost:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.section--ink .btn--ghost { --btn-fg: var(--fg-invert); }
.section--ink .btn--ghost:hover { background: var(--fg-invert); color: var(--bg-invert); border-color: var(--fg-invert); }

.btn--dark { --btn-bg: var(--fg); --btn-fg: var(--bg); }
.btn--dark:hover { background: color-mix(in srgb, var(--fg) 86%, var(--bg)); border-color: color-mix(in srgb, var(--fg) 86%, var(--bg)); }

.btn-row { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }

/* Text link with animated underline */
.tlink {
  font-weight: 700;
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 2px;
  transition: background-size .3s var(--ease);
}
.tlink:hover { background-size: 0% 2px; background-position: 100% 100%; }

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck { border-bottom-color: var(--line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

/* Wordmark — pure CSS so it stays crisp; swap for the client's SVG later */
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: .12em;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -.04em;
  text-decoration: none;
  color: var(--fg);
}
/* The coral dot is the "o" of Dot: a filled circle with a hairline ring in the
   text colour, so it stays visible on the dark menu and in the dark footer. */
.brand .dot {
  display: inline-block;
  box-sizing: border-box;
  width: .60em;
  height: .60em;
  margin: 0 .015em;
  border-radius: 50%;
  border: .045em solid currentColor;
  background: var(--c-coral);
  vertical-align: baseline;
  position: relative;
  top: .012em;   /* round shapes overshoot the baseline, same as a real "o" */
}

.nav-actions { display: flex; align-items: center; gap: .75rem; }

.nav-cta { padding: .8rem 1.4rem; }
@media (max-width: 560px) { .nav-cta { display: none; } }

/* Burger — visible at every breakpoint; the menu is a full-screen overlay */
.nav-toggle {
  position: relative;
  z-index: 2;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
  width: 48px; height: 48px; padding: 0 11px;
  background: none; border: 0; cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--fg);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .2s var(--ease), background-color .35s var(--ease);
}
.nav-toggle[aria-expanded="true"] span { background: var(--fg-invert); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Header goes transparent while the overlay is open so the burger reads on dark */
.site-header.is-open { background: transparent; backdrop-filter: none; border-bottom-color: transparent; }
.site-header.is-open .brand { color: var(--fg-invert); }
.site-header.is-open .nav-cta { opacity: 0; pointer-events: none; }


/* --------------------------------------------------------------------------
   Theme toggle
   Two states in the UI, three in reality: the button follows the OS until the
   first click, then pins a choice. The icon shows where the click WILL take
   you, not where you are — that is what people reach for.
   -------------------------------------------------------------------------- */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--fg);
  cursor: pointer;
  transition: border-color .25s var(--ease), transform .25s var(--ease), background-color .25s var(--ease);
}
.theme-toggle:hover { border-color: var(--fg); transform: rotate(-12deg); }
.theme-toggle svg { width: 18px; height: 18px; display: block; }
.theme-toggle .icon-moon { display: none; }
.theme-toggle[data-mode="dark"] .icon-moon { display: block; }
.theme-toggle[data-mode="dark"] .icon-sun  { display: none; }

/* While the dark menu overlay is open the header sits on ink, both themes */
.site-header.is-open .theme-toggle { color: var(--fg-invert); border-color: var(--line-invert); }

/* Toggle stays visible on phones/tablets too; tighten the header gap instead */
@media (max-width: 420px) { .nav-actions { gap: .35rem; } .theme-toggle { width: 44px; height: 44px; } }

/* --------------------------------------------------------------------------
   Full-screen menu overlay
   -------------------------------------------------------------------------- */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: var(--bg-invert);
  color: var(--fg-invert);
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease), visibility .4s var(--ease);
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }
.nav-overlay[hidden] { display: none; }

/* Coral wash in the corner, echoing the hero blob */
.nav-overlay::after {
  content: "";
  position: absolute;
  right: -12vw; bottom: -18vw;
  width: min(52vw, 620px); aspect-ratio: 1;
  background: var(--c-coral);
  border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%;
  opacity: .16;
  pointer-events: none;
}

.nav-overlay__inner {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: grid;
  align-content: center;
  gap: clamp(2.5rem, 6vw, 5rem);
  padding-block: clamp(7rem, 14vh, 10rem) clamp(3rem, 8vh, 5rem);
}
@media (min-width: 900px) {
  .nav-overlay__inner { grid-template-columns: 1.25fr .75fr; align-items: center; }
}

.nav-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: clamp(.35rem, 1vw, .75rem);
}
.nav-list li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i, 0) * 60ms + 80ms);
}
.nav-overlay.is-open .nav-list li { opacity: 1; transform: none; }

.nav-list a {
  display: inline-block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.25rem, 6.4vw, 4.5rem);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-decoration: none;
  color: var(--fg-invert);
  transition: color .25s var(--ease), transform .25s var(--ease);
}
.nav-list a:hover,
.nav-list a:focus-visible { color: var(--c-coral); transform: translateX(10px); }
.nav-list a[aria-current="page"] { color: var(--c-yellow); }

.nav-overlay__aside {
  display: grid;
  gap: .6rem;
  align-content: start;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s var(--ease) .35s, transform .5s var(--ease) .35s;
}
.nav-overlay.is-open .nav-overlay__aside { opacity: 1; transform: none; }
.nav-overlay__aside .eyebrow { color: var(--c-yellow); }
.nav-overlay__mail {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  letter-spacing: -.02em;
  color: var(--fg-invert);
  text-decoration: none;
  border-bottom: 2px solid var(--c-coral);
  padding-bottom: 3px;
  justify-self: start;
  transition: color .25s var(--ease);
}
.nav-overlay__mail:hover { color: var(--c-coral); }
.nav-overlay__aside p { color: var(--fg-invert-soft); font-size: .95rem; }

@media (prefers-reduced-motion: reduce) {
  .nav-list li, .nav-overlay__aside { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   Hero — dot-grid ground plus a few loose workshop shapes.
   Everything here is decorative; it sits behind .hero__inner (z-index 2).
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(3.5rem, 7vw, 6.5rem) clamp(3rem, 6vw, 5rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* Dot grid — the whiteboard/notebook reference, kept faint */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--dotgrid) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.45) 55%, transparent 92%);
          mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,.45) 55%, transparent 92%);
  z-index: -2;
  pointer-events: none;
}

.hero__deco { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__deco .shape { position: absolute; display: block; }

/* Soft coral blob, the anchor of the composition */
.shape--blob {
  right: -12vw; top: -12vw;
  width: min(54vw, 660px); aspect-ratio: 1;
  background: var(--c-coral);
  border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%;
  opacity: var(--blob-opacity);
  animation: morph 20s ease-in-out infinite;
}
@keyframes morph {
  50% { border-radius: 56% 44% 58% 42% / 44% 58% 42% 56%; transform: rotate(10deg) scale(1.04); }
}

/* Outlined circle — the "O" of a marker drawn round something */
.shape--ring {
  right: 4vw; bottom: 8%;
  width: clamp(96px, 13vw, 178px); aspect-ratio: 1;
  border: 2.5px solid var(--fg);
  border-radius: 50%;
  opacity: var(--ring-opacity);
  animation: floaty 13s ease-in-out infinite;
}

/* Yellow dot */
.shape--dot {
  right: 9vw; top: 9%;
  width: clamp(52px, 6.5vw, 96px); aspect-ratio: 1;
  background: var(--c-yellow);
  border-radius: 50%;
  opacity: .9;
  animation: floaty 9s ease-in-out infinite .6s;
}

/* Sticky note, slightly askew */
.shape--note {
  left: 47%; bottom: 7%;
  width: clamp(64px, 8vw, 116px); aspect-ratio: 1;
  background: var(--c-coral);
  border-radius: 6px;
  transform: rotate(-11deg);
  box-shadow: 0 14px 30px -18px var(--shadow-strong);
  animation: wobble 11s ease-in-out infinite;
}

@keyframes floaty {
  50% { transform: translateY(-22px); }
}
@keyframes wobble {
  50% { transform: rotate(4deg) translateY(-16px); }
}

@media (max-width: 1099px) {
  .hero__deco .shape--note { display: none; }
}

@media (max-width: 899px) {
  /* Keep one shape on small screens; four is noise at 390px */
  .hero__deco .shape--ring,
  .hero__deco .shape--note { display: none; }
  .hero__deco .shape--dot { right: 6vw; top: 6%; width: clamp(46px, 12vw, 70px); }
  .hero::before { background-size: 22px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .shape--blob, .shape--ring, .shape--dot { animation: none; }
  .shape--note { animation: none; transform: rotate(-11deg); }
}

.hero__inner { position: relative; z-index: 2; }
.hero h1 { max-width: 16ch; margin-bottom: .35em; }
/* Marker swipe under the highlighted words.
   Painted as a background gradient rather than a pseudo-element so it wraps
   with the text instead of forcing a nowrap line that overflows on mobile. */
.hero .hl {
  background-image: linear-gradient(var(--c-yellow), var(--c-yellow));
  background-repeat: no-repeat;
  background-position: 0 86%;
  background-size: 0% .3em;
  padding-inline: .05em;
  -webkit-box-decoration-break: clone;
          box-decoration-break: clone;
  animation: swipe .75s .35s var(--ease) forwards;
}
@keyframes swipe { to { background-size: 100% .3em; } }
@media (prefers-reduced-motion: reduce) {
  .hero .hl { animation: none; background-size: 100% .3em; }
}

.hero .lead { max-width: 52ch; }

/* Long headlines take a smaller size. Display type is sized against the length
   of the sentence, not against the viewport alone — 12 words at 100px is five
   lines of hero and no room left for the offer or the buttons. */
.hero--long h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.9rem);
  max-width: 21ch;
}


/* Client marquee */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: 1.15rem;
  overflow: hidden;
  background: var(--bg-alt);
}
.marquee__track {
  display: flex;
  gap: 3.5rem;
  width: max-content;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.marquee__item {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -.01em;
  color: var(--fg-soft);
  white-space: nowrap;
}

/* --------------------------------------------------------------------------
   Section head
   -------------------------------------------------------------------------- */
.sec-head { max-width: 62ch; margin-bottom: clamp(2.25rem, 4vw, 3.5rem); }
.sec-head--split {
  max-width: none;
  display: grid;
  gap: 1.5rem clamp(2rem, 5vw, 5rem);
  align-items: end;
}
@media (min-width: 900px) { .sec-head--split { grid-template-columns: 1.1fr .9fr; } }

/* --------------------------------------------------------------------------
   Capability list (WHAT WE DO)
   -------------------------------------------------------------------------- */
.caps { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 700px)  { .caps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .caps { grid-template-columns: repeat(4, 1fr); } }

.cap {
  background: var(--bg-alt);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  transition: background-color .3s var(--ease);
}
.cap:hover { background: var(--bg); }
.cap__mark {
  display: block;
  width: 30px; height: 4px;
  background: var(--c-coral);
  border-radius: 2px;
  margin-bottom: 1.75rem;
}
.cap:nth-child(even) .cap__mark { background: var(--c-yellow); }
.cap h3 { margin-bottom: .5rem; }
.cap p { font-size: .975rem; color: var(--fg-soft); }


.caps-note { margin-top: 2rem; max-width: 62ch; }

/* Capability grid with labels only (no invented body copy) */
.caps--bare .cap { display: flex; flex-direction: column; justify-content: flex-end; min-height: 190px; }
.caps--bare .cap h3 { margin-bottom: 0; }
.caps--bare .cap__mark { margin-bottom: auto; }
@media (min-width: 700px) and (max-width: 1049px) { .caps--bare .cap { min-height: 170px; } }

/* --------------------------------------------------------------------------
   Offer cards (HOW WE DO IT)
   -------------------------------------------------------------------------- */
.offers { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 940px) { .offers { grid-template-columns: repeat(2, 1fr); } }

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.85rem, 3.4vw, 3rem);
  border-radius: var(--radius);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.offer:hover { transform: translateY(-4px); box-shadow: 0 22px 48px -28px var(--shadow); }
.offer::before {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 6px;
  background: var(--offer-accent, var(--c-coral));
}
.offer--coral  { --offer-accent: var(--c-coral); }
.offer--yellow { --offer-accent: var(--c-yellow); }

.offer__kicker {
  font-size: var(--t-eyebrow);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--fg-soft);
  margin-bottom: .75rem;
}
.offer h3 { font-size: clamp(1.75rem, 3vw, 2.4rem); margin-bottom: .6rem; }
.offer > p { color: var(--fg-soft); }

.ticks { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: .75rem; }
.ticks li { position: relative; padding-left: 2rem; font-size: .975rem; }
.ticks li::before {
  content: "";
  position: absolute; left: 0; top: .45em;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--offer-accent, var(--c-coral));
}
.offer .btn-row { margin-top: auto; padding-top: 2rem; }

/* --------------------------------------------------------------------------
   Fit list (WHO IS THIS FOR)
   -------------------------------------------------------------------------- */
.fit { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 980px) { .fit { grid-template-columns: .85fr 1.15fr; } }

.fit-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.fit-list li {
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  line-height: 1.45;
}
.fit-list li:last-child { border-bottom: 1px solid var(--line); }
.fit-list .mark {
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--c-coral);
  margin-top: .62em;
}
.section--ink .fit-list li { border-color: var(--line-invert); }
.section--ink .fit-list .mark { background: var(--c-yellow); }

/* --------------------------------------------------------------------------
   Pull quote / manifesto
   -------------------------------------------------------------------------- */
.manifesto .quote {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.7vw, 2.15rem);
  line-height: 1.28;
  letter-spacing: -.022em;
  max-width: 22ch;
}
.manifesto .body { font-size: var(--t-lead); line-height: 1.6; max-width: 58ch; }
.section--ink .manifesto .body { color: var(--fg-invert-soft); }
.section--ink .manifesto .body strong { color: var(--fg-invert); }

/* --------------------------------------------------------------------------
   Stats
   -------------------------------------------------------------------------- */
.stats { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 780px) { .stats { grid-template-columns: repeat(3, 1fr); } }

.stat { border-top: 3px solid var(--fg); padding-top: 1.25rem; }
.section--ink .stat { border-color: var(--c-yellow); }
.stat__num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3rem, 6.5vw, 4.75rem);
  line-height: 1;
  letter-spacing: -.04em;
  display: block;
  margin-bottom: .35rem;
}
.stat p { font-size: 1rem; max-width: 34ch; }
.stat cite { display: block; margin-top: .75rem; font-size: var(--t-small); font-style: normal; opacity: .65; }

/* --------------------------------------------------------------------------
   Work / case studies
   -------------------------------------------------------------------------- */
.work-grid { display: grid; gap: 1.25rem; }
@media (min-width: 720px)  { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  text-decoration: none;
  transition: transform .3s var(--ease), border-color .3s var(--ease);
}
.work-card:hover { transform: translateY(-4px); border-color: var(--fg); }
.work-card__tag {
  align-self: flex-start;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  background: var(--c-yellow);
  color: var(--on-brand);
  padding: .35rem .7rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.work-card__tag--research { background: var(--c-coral); }
.work-card h3 { font-size: 1.3rem; margin-bottom: .4rem; }
.work-card p { font-size: .95rem; color: var(--fg-soft); }
.work-card__meta {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  font-size: var(--t-small);
  font-weight: 600;
  color: var(--fg-soft);
}
.work-card__meta span { display: inline-flex; align-items: center; gap: .4rem; }
.work-card__meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--c-coral); }

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  counter-increment: step;
  display: grid;
  gap: .5rem 2rem;
  padding: clamp(1.75rem, 3vw, 2.5rem) 0;
  border-top: 1px solid var(--line);
}
.step:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 860px) { .step { grid-template-columns: 5rem 1fr 1.1fr; align-items: start; } }
.step::before {
  content: "0" counter(step);
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--c-coral);
}
.step h3 { margin: 0; }
.step p { color: var(--fg-soft); margin: 0; }

/* --------------------------------------------------------------------------
   People
   -------------------------------------------------------------------------- */
.people { display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 760px) { .people { grid-template-columns: repeat(2, 1fr); } }
.person {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.person__avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 1.6rem;
  background: var(--c-coral);
  color: var(--on-brand);
  margin-bottom: 1.25rem;
}
.person:nth-child(2) .person__avatar { background: var(--c-yellow); }
.person h3 { margin-bottom: .15rem; }
.person__role { font-size: var(--t-small); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--fg-soft); margin-bottom: 1rem; }

/* --------------------------------------------------------------------------
   FAQ (details/summary — zero JS, good for SEO FAQ schema)
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.35rem 3rem 1.35rem 0;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute; right: .25rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--c-coral);
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding-bottom: 1.5rem; max-width: var(--max-text); color: var(--fg-soft); }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band .eyebrow { justify-content: center; }
.center-eyebrow { justify-content: center; }
.cta-band h2 { max-width: 18ch; margin-inline: auto; }
.cta-band .lead { max-width: 46ch; margin-inline: auto; }
.cta-band .btn-row { justify-content: center; }

/* --------------------------------------------------------------------------
   Contact / form
   -------------------------------------------------------------------------- */
.contact { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 940px) { .contact { grid-template-columns: .9fr 1.1fr; } }

.form { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-size: var(--t-small); font-weight: 700; letter-spacing: .04em; }
.field input, .field select, .field textarea {
  font: inherit;
  font-size: 1rem;
  padding: .9rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-s);
  background: var(--bg-alt);
  color: var(--fg);
  transition: border-color .2s var(--ease);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fg); outline: none; }
.field textarea { min-height: 140px; resize: vertical; }
.form [aria-hidden="true"] input { font-size: 16px; }
/* /_nw/select.js: dropdown με το σχέδιο του site */
.field .nw-sel { display: block; width: 100%; }
.form { --nw-select-accent: var(--c-coral); }
@media (min-width: 620px) { .form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; } }
.form__note { font-size: var(--t-small); color: var(--fg-soft); }

.contact-facts { list-style: none; margin: 1.75rem 0 0; padding: 0; display: grid; gap: 1rem; }
.contact-facts li { display: grid; gap: .15rem; }
.contact-facts strong { font-size: var(--t-small); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-soft); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--bg-invert);
  color: var(--fg-invert);
  padding-block: clamp(3.5rem, 7vw, 6rem) 1.75rem;
  position: relative;
  overflow: hidden;
}
/* a single coral rule across the top edge ties the footer to the brand */
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-coral) 0 62%, var(--c-yellow) 62% 100%);
}
.site-footer .brand { color: var(--fg-invert); font-size: 1.9rem; }
.site-footer .lead { color: var(--fg-invert-soft); font-size: 1rem; }

/* Sign-off: the tagline set large, with the contact route beside it */
.footer-top {
  display: grid;
  gap: 2rem;
  align-items: end;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line-invert);
}
@media (min-width: 900px) { .footer-top { grid-template-columns: 1.3fr 1fr; } }
.footer-sign {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 7vw, 5.6rem);
  line-height: .95;
  letter-spacing: -.045em;
}
.footer-sign .dot {
  display: inline-block;
  box-sizing: border-box;
  width: .6em;
  height: .6em;
  margin: 0 .015em;
  border-radius: 50%;
  border: .04em solid currentColor;
  background: var(--c-coral);
  position: relative;
  top: .012em;
}
.footer-reach { display: grid; justify-items: start; gap: .9rem; }
@media (min-width: 900px) { .footer-reach { justify-items: end; text-align: right; } }
.footer-kicker { margin: 0; color: var(--fg-invert-soft); font-size: 1rem; }
.footer-mail {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: -.02em;
  color: var(--fg-invert);
  text-decoration: none;
  background-image: linear-gradient(var(--c-coral), var(--c-coral));
  background-size: 100% 2px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  padding-bottom: 3px;
  transition: background-size .3s var(--ease);
  overflow-wrap: anywhere;
}
.footer-mail:hover { background-size: 0% 2px; background-position: 100% 100%; }
.footer-btn { margin-top: .4rem; }

.footer-grid { display: grid; gap: 2.25rem 2rem; padding-block: clamp(2.5rem, 5vw, 3.5rem); grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
@media (max-width: 819px) { .footer-contact { grid-column: 1 / -1; order: 1; } }
@media (min-width: 820px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-brand { grid-column: auto; }
}
.footer-brand p { margin: 1rem 0 0; max-width: 34ch; color: var(--fg-invert-soft); font-size: .95rem; line-height: 1.55; }
.footer-brand .footer-place { margin-top: .6rem; font-size: var(--t-small); }
.footer-place::before {
  content: "";
  display: inline-block;
  width: .5em; height: .5em;
  margin-right: .5em;
  border-radius: 50%;
  background: var(--c-coral);
}
.footer-grid h3 { font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--c-yellow); font-family: var(--f-body); font-weight: 700; margin: 0 0 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.footer-grid ul a { text-decoration: none; color: var(--fg-invert); opacity: .82; transition: opacity .2s var(--ease), color .2s var(--ease); }
.footer-grid ul a:hover { opacity: 1; color: var(--c-coral); }

.footer-bottom {
  border-top: 1px solid var(--line-invert);
  padding-top: 1.5rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem;
  justify-content: space-between;
  font-size: var(--t-small);
  color: var(--fg-invert-soft);
}
.footer-bottom a { color: inherit; text-decoration: none; transition: color .2s var(--ease); }
.footer-bottom a:hover { color: var(--fg-invert); }
.footer-credit, .footer-credit a { font-size: 11px; font-weight: 400; text-decoration: none; }
.footer-credit a { color: inherit; }
.footer-credit a:hover { color: var(--c-coral); }
.footer-top-link { font-weight: 600; }
@media (max-width: 560px) { .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* --------------------------------------------------------------------------
   Scroll reveal (Intersection Observer adds .is-in)
   -------------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* --------------------------------------------------------------------------
   Loose ends — small, deliberate tilts. Nothing rotates more than 3deg.
   -------------------------------------------------------------------------- */

/* Buttons lean a touch on hover */
.btn:hover { transform: translateY(-2px) rotate(-1deg); }

/* Case-study tags read as stickers stuck on slightly crooked */
.work-card__tag { transform: rotate(-2.5deg); transition: transform .3s var(--ease); }
.work-card:hover .work-card__tag { transform: rotate(1.5deg); }

/* Capability cards tilt into the hover */
.cap { transition: background-color .3s var(--ease), transform .3s var(--ease); }
.cap:hover { transform: rotate(-.8deg); }

/* Offer cards straighten up rather than just lifting */
.offer { transform: rotate(0deg); }
.offer:hover { transform: translateY(-4px) rotate(.5deg); }

/* Dot grid returns on the closing CTA so the page bookends */
.cta-band { position: relative; overflow: hidden; isolation: isolate; }
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(26,26,26,.18) 1.4px, transparent 1.4px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse at center, transparent 38%, #000 100%);
          mask-image: radial-gradient(ellipse at center, transparent 38%, #000 100%);
  z-index: -1;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .btn:hover, .cap:hover, .offer:hover, .work-card:hover .work-card__tag { transform: none; }
}

/* ==========================================================================
   Motion
   One idea per moment: the hero introduces itself once, sections arrive as you
   reach them, numbers count because they are numbers. Everything is transform
   and opacity only (compositor-friendly), and everything is switched off under
   prefers-reduced-motion.
   ========================================================================== */

/* --- Reading progress, hairline under the sticky header ------------------ */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: 3px;
  background: var(--c-coral);
  transform: scaleX(var(--p, 0));
  transform-origin: 0 50%;
  will-change: transform;
}

/* --- Hero entrance ------------------------------------------------------- */
.hero__inner > * {
  opacity: 0;
  transform: translateY(20px);
  animation: rise .75s var(--ease) forwards;
}
.hero__inner > *:nth-child(1) { animation-delay: .05s; }
.hero__inner > *:nth-child(2) { animation-delay: .15s; }
.hero__inner > *:nth-child(3) { animation-delay: .28s; }
.hero__inner > *:nth-child(4) { animation-delay: .38s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* The decorative shapes fade up as a group, then take over their own loops */
.hero__deco { opacity: 0; animation: fadein 1.1s .2s var(--ease) forwards; }
@keyframes fadein { to { opacity: 1; } }

/* Scroll parallax — one transform on the group, set from a single rAF loop */
.hero__deco { transform: translate3d(0, calc(var(--sy, 0) * 1px), 0); will-change: transform; }

/* --- Eyebrow rule draws itself in --------------------------------------- */
[data-reveal] .eyebrow::before {
  width: 0;
  transition: width .55s var(--ease) .12s;
}
[data-reveal].is-in .eyebrow::before { width: 26px; }

/* --- List items arrive in sequence inside a revealed block --------------- */
[data-reveal] .ticks li,
[data-reveal] .fit-list li,
[data-reveal] .contact-facts li {
  opacity: 0;
  transform: translateX(-12px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  transition-delay: calc(var(--i, 0) * 70ms + 140ms);
}
[data-reveal].is-in .ticks li,
[data-reveal].is-in .fit-list li,
[data-reveal].is-in .contact-facts li { opacity: 1; transform: none; }

/* The bullet pops after its line has landed */
[data-reveal] .ticks li::before,
[data-reveal] .fit-list .mark {
  transform: scale(0);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
  transition-delay: calc(var(--i, 0) * 70ms + 320ms);
}
[data-reveal].is-in .ticks li::before,
[data-reveal].is-in .fit-list .mark { transform: scale(1); }

/* --- Cards land slightly off-square, then straighten -------------------- */
.work-card[data-reveal] { transform: translateY(24px) rotate(-1.2deg); }
.work-card[data-reveal].is-in { transform: none; }
.offer[data-reveal] { transform: translateY(26px) scale(.985); }
.offer[data-reveal].is-in { transform: none; }
.cap[data-reveal] { transform: translateY(20px) rotate(1deg); }
.cap[data-reveal].is-in { transform: none; }

/* --- Stat rules wipe in, numbers count up ------------------------------- */
.stat[data-reveal] { border-top-color: transparent; }
.stat[data-reveal]::after {
  content: "";
  position: absolute;
  inset: -3px auto auto 0;
  height: 3px; width: 0;
  background: var(--fg);
  transition: width .7s var(--ease) .1s;
}
.section--ink .stat[data-reveal]::after { background: var(--c-yellow); }
.stat { position: relative; }
.stat[data-reveal].is-in::after { width: 100%; }
.stat__num { font-variant-numeric: tabular-nums; }

/* --- Marquee keeps moving, slows under the cursor ----------------------- */
.marquee:hover .marquee__track { animation-play-state: paused; }

/* --- Menu links get a coral dot on hover, like the wordmark ------------- */
.nav-list a { position: relative; }
.nav-list a::before {
  content: "";
  position: absolute;
  left: -.55em; top: 50%;
  width: .16em; height: .16em;
  border-radius: 50%;
  background: var(--c-coral);
  transform: translateY(-50%) scale(0);
  transition: transform .3s cubic-bezier(.34, 1.56, .64, 1);
}
.nav-list a:hover::before,
.nav-list a:focus-visible::before { transform: translateY(-50%) scale(1); }

@media (prefers-reduced-motion: reduce) {
  .hero__inner > *,
  .hero__deco { opacity: 1; transform: none; animation: none; }
  [data-reveal] .eyebrow::before { width: 26px; transition: none; }
  [data-reveal] .ticks li,
  [data-reveal] .fit-list li,
  [data-reveal] .contact-facts li { opacity: 1; transform: none; transition: none; }
  [data-reveal] .ticks li::before,
  [data-reveal] .fit-list .mark { transform: scale(1); transition: none; }
  .work-card[data-reveal], .offer[data-reveal], .cap[data-reveal] { transform: none; }
  .stat[data-reveal] { border-top-color: var(--fg); }
  .stat[data-reveal]::after { display: none; }
  .scroll-progress { display: none; }
}

/* --------------------------------------------------------------------------
   Photography
   Images are the one thing on this page that can break the layout, so every
   slot declares its own aspect-ratio and the file is cropped into it. width/
   height attributes stay in the markup too, so nothing shifts while loading.
   -------------------------------------------------------------------------- */
.media {
  position: relative;
  overflow: hidden;
  background: var(--bg-alt);
  border-radius: var(--radius);
}
.media img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}

/* Photos taken in workshop rooms are lit all over the place. A shared, very
   light warm wash pulls a mixed set together without looking filtered. */
.media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(255,107,74,.10), rgba(244,180,0,.05));
  mix-blend-mode: multiply;
  pointer-events: none;
}
:root[data-theme="dark"] .media img { filter: brightness(.88) contrast(1.02); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .media img { filter: brightness(.88) contrast(1.02); }
}

/* Case-study cards: the image sits above the tag, edge to edge */
.work-card { padding: 0; overflow: hidden; }
.work-card > *:not(.work-card__media) { margin-inline: clamp(1.5rem, 2.6vw, 2rem); }
.work-card__media { aspect-ratio: 16 / 10; border-radius: 0; margin-bottom: 1.5rem; }
.work-card:hover .work-card__media img { transform: scale(1.04); }
.work-card__tag { margin-top: 0; }
.work-card__meta { margin-bottom: clamp(1.5rem, 2.6vw, 2rem); }
/* cards with no photo keep the original padded look */
.work-card:not(:has(.work-card__media)) { padding: clamp(1.5rem, 2.6vw, 2rem); }
.work-card:not(:has(.work-card__media)) > * { margin-inline: 0; }
.work-card:not(:has(.work-card__media)) .work-card__meta { margin-bottom: 0; }

/* A full-width band — one photo carrying a whole section */
.band { padding: 0; }
.band .media { border-radius: 0; aspect-ratio: 21 / 8; }
@media (max-width: 700px) { .band .media { aspect-ratio: 4 / 3; } }

/* Portrait / about slot */
.media--portrait { aspect-ratio: 4 / 5; }
.media--square { aspect-ratio: 1 / 1; }

/* Photo at the top of an offer card — pulled out to the card's edges.
   The coloured rule (.offer::before) stays above it. */
.offer__media {
  aspect-ratio: 16 / 10;
  border-radius: 0;
  margin: calc(-1 * clamp(1.85rem, 3.4vw, 3rem)) calc(-1 * clamp(1.85rem, 3.4vw, 3rem)) clamp(1.4rem, 2.4vw, 1.9rem);
}
.offer::before { z-index: 2; }
.offer:hover .offer__media img { transform: scale(1.03); }

/* Six items in a four-column grid leaves two empty cells, and the grid's own
   background shows through them as a stray block. Column count follows the
   item count instead: 6 fits exactly as 3x2 or 2x3. */
@media (min-width: 1050px) {
  .caps--3 { grid-template-columns: repeat(3, 1fr); }
}
/* Belt and braces: if a count ever stops dividing evenly, the leftover space
   reads as page background rather than as a lighter panel. */
.caps { background: transparent; gap: 1px; }
.cap { box-shadow: 0 0 0 1px var(--line); }

/* Video sits in the same .media box as a photo, cropped the same way */
.media video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

/* ============================================================
   Case-study dialog
   The card became a <button>, so it needs the button reset; the
   dialog itself is one element reused for all eight cases.
   ============================================================ */
button.work-card {
  font: inherit;
  color: inherit;
  width: 100%;
  text-align: left;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: var(--bg-alt);
}
button.work-card:focus-visible { outline: 3px solid var(--c-coral); outline-offset: 3px; }

.work-card__more {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-top: 1.1rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--fg);
}
.work-card__more .arw { transition: transform .25s var(--ease); }
.work-card:hover .work-card__more .arw { transform: translateX(5px); }

.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center;
         padding: clamp(1rem, 4vw, 2.5rem); }
.modal[hidden] { display: none; }

.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(18, 16, 14, .62);
  backdrop-filter: blur(2px);
  border: 0;
  animation: modal-fade .25s var(--ease) both;
}

.modal__panel {
  position: relative;
  width: min(660px, 100%);
  max-height: min(86vh, 800px);
  overflow-y: auto;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: clamp(1.75rem, 4vw, 2.75rem);
  box-shadow: 0 30px 80px -30px var(--shadow);
  animation: modal-in .34s var(--ease) both;
}

.modal__close {
  position: absolute; top: 1rem; right: 1rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--bg);
  color: var(--fg);
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease);
}
.modal__close svg { width: 18px; height: 18px; }
.modal__close:hover { transform: rotate(90deg); background: var(--bg-alt); }

.modal__body .work-card__tag { display: inline-block; transform: rotate(-2deg); }
.modal__body h3 {
  font-size: clamp(1.6rem, 3.4vw, 2.3rem);
  line-height: 1.12;
  margin: 1rem 0 .9rem;
  max-width: 20ch;
}
.modal__body p { font-size: 1.05rem; line-height: 1.65; color: var(--fg-soft); }
.modal__body .work-card__meta { margin-top: 1.5rem; }

.modal__nav {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  margin-top: 2rem; padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.modal__count {
  font-size: .8rem; font-weight: 700; letter-spacing: .08em;
  color: var(--fg-soft); white-space: nowrap;
}
.btn--sm { padding: .55rem 1rem; font-size: .8rem; }

body.modal-open { overflow: hidden; }

@keyframes modal-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(18px) scale(.97) }
  to   { opacity: 1; transform: none }
}

@media (prefers-reduced-motion: reduce) {
  .modal__backdrop, .modal__panel { animation: none; }
  .modal__close:hover { transform: none; }
  .work-card:hover .work-card__more .arw { transform: none; }
}

/* ============================================================
   Calendly embed
   ============================================================ */
/* Full-bleed embed: the calendar sits on a white band across the whole
   section width. Calendly's page is white, so the band stays white in both
   themes and the iframe edges disappear into it. */
/* white in both themes, like Calendly's own page, with dark text and
   coral accents so heading and calendar read as one surface */
.section--calendar {
  background: #FFFFFF;
  color: var(--on-brand);
  padding-bottom: clamp(1.5rem, 3vw, 2.25rem);
}
.section--calendar .sec-head { margin-bottom: clamp(1rem, 2vw, 1.5rem); }
.section--calendar .eyebrow { color: var(--c-coral-deep); }
.section--calendar h2 { color: var(--on-brand); }
.section--calendar .lead { color: #4A4744; }
.cal-hl { color: var(--c-coral); }
.calendly-embed {
  position: relative;
  width: 100%;
  background: #FFFFFF;
}
/* placeholder until the iframe paints over it */
.calendly-embed::before {
  content: "Loading calendar\2026";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: .95rem;
  font-weight: 600;
  color: #8A8A8A;
  transition: opacity .3s;
}
.calendly-embed.is-ready::before { opacity: 0; }
.calendly-frame {
  position: relative;
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
}
@media (max-width: 700px) { .calendly-frame { height: 1000px; } }

.calendly-fallback {
  margin-top: 1rem;
  font-size: .9rem;
  color: #6B6560;
}
.calendly-fallback .tlink { color: var(--c-coral-deep); }

/* ============================================================
   Homepage revisions
   ============================================================ */

/* The hero band sits directly under the hero, so it is shallower than
   the mid-page bands — it frames the headline, it doesn't interrupt it. */
.band--hero .media { aspect-ratio: 21 / 9; }
/* εικόνα πρώτα (responsive, LCP), το βίντεο από πάνω όταν παίξει */
.band--hero .media video { position: absolute; inset: 0; }
@media (max-width: 700px) { .band--hero .media { aspect-ratio: 4 / 3; } }

/* The one-line "for when…" under each service name. */
.offer__line {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.45;
  margin-bottom: .9rem;
  max-width: 34ch;
}

/* ---- Founders' story: one reading column, then a full-width photo ---- */
.story { max-width: 62ch; }
.story p + p { margin-top: 1.15rem; }
.story .lead { margin-bottom: 1.15rem; }
/* story on the left, one tall photo on the right that stays put while the
   story scrolls — otherwise the right half of this section is dead space */
.founders { display: grid; gap: clamp(2rem, 4vw, 3.5rem); }
.founders__media { aspect-ratio: 4 / 3; }
@media (min-width: 980px) {
  .founders { grid-template-columns: minmax(0, 1fr) minmax(0, .8fr); align-items: start; }
  .founders__media { position: sticky; top: 7rem; aspect-ratio: 1 / 1; }  /* founders photo is square */
}

/* ---- Smaller client cells: nine names, so the boxes get quieter ---- */
.caps--sm .cap { padding: 1.1rem 1.2rem; }
.caps--bare.caps--sm .cap { min-height: 118px; }
.caps--sm .cap h3 { font-size: 1.02rem; line-height: 1.3; }
.caps--sm .cap__mark { width: 18px; height: 18px; }
@media (min-width: 700px) and (max-width: 1049px) {
  .caps--bare.caps--sm .cap { min-height: 112px; }
}

/* ---- Case-study dialog: photo gallery + booking CTA ---- */
.work-card__photos {
  display: grid;
  gap: .6rem;
  margin-top: 1.6rem;
  grid-template-columns: 1fr;
}
.work-card__photos:has(> .media:nth-child(2)) { grid-template-columns: repeat(2, 1fr); }
.work-card__photos:has(> .media:nth-child(3)) { grid-template-columns: repeat(3, 1fr); }
.work-card__photos .media { aspect-ratio: 4 / 3; border-radius: 12px; }
@media (max-width: 560px) {
  .work-card__photos,
  .work-card__photos:has(> .media:nth-child(2)),
  .work-card__photos:has(> .media:nth-child(3)) { grid-template-columns: repeat(2, 1fr); }
  .work-card__photos > .media:first-child:last-child { grid-column: span 2; }
}

.modal__cta { margin-top: 1.75rem; }
.modal__cta .btn { width: 100%; justify-content: center; }

/* Client's call: the claim is the big headline (h1), and "We do this through…"
   sits under it as a smaller supporting line — same order as before. */
.hero--xlong h1 {
  font-size: clamp(2.15rem, 4.6vw, 3.9rem);
  line-height: 1.08;
  max-width: 22ch;
  margin-bottom: .55em;
}
.hero__sub {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.4;
  letter-spacing: -.01em;
  max-width: 44ch;
  margin-bottom: 1.6rem;
  color: var(--fg);
}

/* ============================================================
   Doodles
   Hand-drawn marks in the same family as the blob and the ring.
   Every path carries pathLength="1", so the draw-on is exact with
   dasharray:1 — no measuring, no JS.
   ============================================================ */
.doodle {
  position: absolute;
  display: block;
  pointer-events: none;
  z-index: 0;
  color: var(--c-coral);
}
.doodle svg { width: 100%; height: auto; display: block; overflow: visible; }
.doodle path { stroke-dasharray: 1; stroke-dashoffset: 1; }

/* drawn in when the block it belongs to reveals */
[data-reveal] .doodle path,
.doodle[data-reveal] path { transition: stroke-dashoffset 1.3s var(--ease) .25s; }
[data-reveal].is-in .doodle path,
.doodle[data-reveal].is-in path { stroke-dashoffset: 0; }
[data-reveal].is-in .doodle path:nth-child(2),
.doodle[data-reveal].is-in path:nth-child(2) { transition-delay: 1.1s; }

/* heroes draw themselves on load, after the shapes have faded in */
.hero__deco .doodle path { animation: doodle-draw 1.5s var(--ease) .55s forwards; }
.hero__deco .doodle path:nth-child(2) { animation-delay: 1.4s; }
@keyframes doodle-draw { to { stroke-dashoffset: 0; } }

/* ---- placements ---- */
.doodle--hero-a { left: 3%; bottom: 4%; width: clamp(100px, 12vw, 175px); opacity: .55; }
.doodle--hero-b { right: 30%; top: 14%; width: clamp(28px, 3.4vw, 46px); color: var(--c-yellow); }

#who-is-this-for .fit > div { position: relative; }
.doodle--who {
  display: none;
  right: -4%; bottom: -6%;
  width: clamp(110px, 12vw, 160px);
  transform: rotate(6deg);
}
@media (min-width: 980px) { .doodle--who { display: block; } }

.is-circled { position: relative; display: inline-block; }
.doodle--circle {
  left: -6%; top: -12%;
  width: 113%;
  color: var(--c-yellow);
  z-index: -1;
}

.manifesto { position: relative; }
.doodle--manifesto {
  left: 1%; bottom: 2%;
  width: clamp(110px, 13vw, 190px);
  opacity: .5;
  transform: rotate(-8deg);
}

.cta-band .container { position: relative; }
.doodle--cta {
  right: 2%; top: 4%;
  width: clamp(110px, 14vw, 200px);
  color: var(--on-brand);
  opacity: .45;
  transform: rotate(-6deg);
}

@media (max-width: 700px) {
  .doodle--manifesto, .doodle--cta { display: none; }
  .doodle--hero-a { bottom: 3%; opacity: .4; }
}

@media (prefers-reduced-motion: reduce) {
  .doodle path { stroke-dashoffset: 0; animation: none; transition: none; }
}

/* ============================================================
   Ink layer
   Brush strokes and splatter as section background art. The SVGs
   are fill="currentColor", so each section paints them in its own
   ink — no second set of assets for dark mode.
   ============================================================ */
.ink-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.ink {
  position: absolute;
  display: block;
}
.ink svg { width: 100%; height: auto; display: block; }

/* sections that host ink have to clip it and sit above it */
.section--ink,
.section--coral,
.section--white,
.cta-band { position: relative; overflow: hidden; }
.section--ink > .container,
.section--coral > .container,
.section--white > .container,
.cta-band > .container { position: relative; z-index: 1; }

.section--white .ink-layer { color: var(--c-coral); }
.section--white .ink--hook {
  left: -6%; bottom: -18%;
  width: clamp(200px, 24vw, 360px);
  opacity: .1;
  transform: rotate(18deg) scaleX(-1);
}
@media (max-width: 700px) { .section--white .ink--hook { display: none; } }

/* ---- hero: coral brushwork behind the headline ---- */
.hero__deco .ink-layer { color: var(--c-coral); }
/* the brush sweep hugs the bottom edge so it never crosses the headline */
.hero__deco .ink--slash {
  left: -12%; bottom: -26%;
  width: clamp(460px, 72vw, 1020px);
  color: var(--c-coral-deep);
  opacity: .24;
  transform: rotate(2deg) scaleX(-1);
}
.hero__deco .ink--splatter {
  left: -7%; top: 46%;
  width: clamp(150px, 17vw, 250px);
  color: var(--c-yellow);
  opacity: .5;
}

/* ---- dark manifesto: bold paper ink, the loudest of the three ---- */
.section--ink .ink-layer { color: var(--fg-invert); }
.section--ink .ink--whip {
  right: -13%; top: -22%;
  width: clamp(220px, 28vw, 420px);
  opacity: .26;
  transform: rotate(12deg);
}
.section--ink .ink--splatter {
  left: -6%; bottom: -16%;
  width: clamp(240px, 32vw, 470px);
  opacity: .2;
}

/* ---- coral CTA band: dark ink on the brand colour ---- */
.section--coral .ink-layer { color: var(--on-brand); }
.section--coral .ink--hook {
  right: -3%; top: -34%;
  width: clamp(240px, 30vw, 430px);
  opacity: .2;
  transform: rotate(-12deg);
}
.section--coral .ink--splatter {
  left: -7%; bottom: -22%;
  width: clamp(220px, 28vw, 400px);
  opacity: .17;
}

@media (max-width: 700px) {
  .hero__deco .ink--splatter { display: none; }
  .hero__deco .ink--slash { right: -30%; bottom: 0; width: 130%; opacity: .12; }
  .section--ink .ink--whip { right: -8%; width: 190px; }
  .section--coral .ink--hook { right: -18%; width: 240px; }
}

/* ==========================================================================
   The Work: photo-led case features (client's call, 23/09)
   The photo is the headline; the project text follows it. A second photo
   sits over the corner of the first like a print pinned to it, and the
   features alternate sides so the page reads as a walk through the rooms.
   ========================================================================== */
.work-features-wrap { padding-top: clamp(1rem, 3vw, 2.5rem); }
.work-features { display: grid; gap: clamp(4.5rem, 10vw, 8.5rem); }

button.work-card.work-feature {
  display: grid;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  overflow: visible;
}
button.work-card.work-feature > * { margin-inline: 0; }
.work-feature:hover { transform: none; }
.work-card.work-feature[data-reveal] { transform: translateY(32px); }
.work-card.work-feature[data-reveal].is-in { transform: none; }

.work-feature__media {
  position: relative;
  display: block;
  padding-bottom: clamp(2.5rem, 6vw, 4rem);
  padding-right: clamp(1.5rem, 5vw, 3.5rem);
}
.work-feature .media { display: block; }
.work-feature__main {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -38px var(--shadow);
}
.work-feature__inset {
  position: absolute;
  right: 0; bottom: 0;
  width: 38%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  border: clamp(5px, .8vw, 9px) solid var(--bg-alt);
  box-shadow: 0 22px 40px -22px var(--shadow-strong);
  transform: rotate(3deg);
  transition: transform .5s var(--ease);
}
.work-feature:hover .work-feature__main img { transform: scale(1.035); }
.work-feature:hover .work-feature__inset { transform: rotate(-1.5deg) translateY(-6px); }

.work-feature__text { display: block; position: relative; max-width: 46ch; }
.work-feature__num {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(3.5rem, 7vw, 5.5rem);
  line-height: .9;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--c-coral);
  margin-bottom: 1rem;
}
.work-feature .work-card__tag { display: inline-block; margin-bottom: 1.1rem; }
.work-feature h3 { font-size: var(--t-h3); margin-bottom: .6rem; }
.work-feature p { font-size: var(--t-body); line-height: 1.65; }
.work-feature .work-card__meta { display: flex; margin: 0; padding-top: 1.35rem; }
.work-feature .work-card__more {
  margin-top: 1.6rem;
  padding: .7rem 1.15rem;
  border: 1.5px solid var(--fg);
  border-radius: 999px;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.work-feature:hover .work-card__more { background: var(--fg); color: var(--bg); }

@media (min-width: 900px) {
  button.work-card.work-feature { grid-template-columns: 8fr 5fr; }
  button.work-card.work-feature:nth-child(even) { grid-template-columns: 5fr 8fr; }
  .work-feature:nth-child(even) .work-feature__media { order: 2; padding-right: 0; padding-left: clamp(1.5rem, 5vw, 3.5rem); }
  .work-feature:nth-child(even) .work-feature__inset { right: auto; left: 0; transform: rotate(-3deg); }
  .work-feature:nth-child(even):hover .work-feature__inset { transform: rotate(1.5deg) translateY(-6px); }
  .work-feature:nth-child(even) .work-feature__text { justify-self: end; }
}
@media (max-width: 899px) {
  .work-feature__num { position: absolute; top: -.2em; right: 0; margin: 0; font-size: 3.2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .work-feature:hover .work-feature__inset,
  .work-feature:nth-child(even):hover .work-feature__inset { transform: rotate(3deg); }
  .work-feature:hover .work-feature__main img { transform: none; }
}

/* The two cases without photos: a quiet pair of cards at the end */
@media (min-width: 720px) { .work-grid--rest { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1050px) { .work-grid--rest { grid-template-columns: repeat(2, 1fr); } }
.work-grid--rest { margin-top: 1.5rem; }

/* Dialog gallery: four photos read better as a 2×2 than 3 + 1 */
.work-card__photos:has(> .media:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
.work-card__photos .media { display: block; }
.work-card__photos[hidden] { display: none; }

/* ============================================================
   Legal pages (privacy-policy.html, terms-of-use.html)
   ============================================================ */
.legal-hero { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.legal-hero h1 { margin-bottom: 1rem; }
.legal-hero .lead { max-width: 60ch; }
.legal-date { margin-top: 1.25rem; font-size: var(--t-small); font-weight: 600; color: var(--fg-soft); }

.legal { display: grid; gap: clamp(2rem, 4vw, 4rem); align-items: start; }
@media (min-width: 960px) { .legal { grid-template-columns: 260px minmax(0, 1fr); } }

.legal-toc {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  background: var(--bg);
}
@media (min-width: 960px) { .legal-toc { position: sticky; top: 100px; } }
.legal-toc__title { margin: 0 0 .75rem; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--c-coral-deep); }
.legal-toc ol { margin: 0; padding-left: 1.2rem; display: grid; gap: .45rem; font-size: .92rem; }
.legal-toc a { color: var(--fg-soft); text-decoration: none; }
.legal-toc a:hover { color: var(--fg); text-decoration: underline; }

.legal-text { max-width: 70ch; font-size: 1.02rem; line-height: 1.7; }
.legal-text h2 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin: 2.75rem 0 .9rem;
  scroll-margin-top: 100px;
}
.legal-text h2:first-child { margin-top: 0; }
.legal-text p { margin: 0 0 1rem; color: var(--fg-soft); }
.legal-text strong { color: var(--fg); }
.legal-text ul { margin: 0 0 1.25rem; padding-left: 1.2rem; display: grid; gap: .55rem; color: var(--fg-soft); }
.legal-text li::marker { color: var(--c-coral); }
.legal-text a { color: var(--fg); font-weight: 600; text-decoration: underline; text-decoration-color: var(--c-coral); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.legal-text a:hover { text-decoration-color: currentColor; }
