/* cuee.ai — styles.css — written 2026-09-16, revised the same day for the Satoshi brand
   Colours, type and spacing live on :root. The section rhythm follows the reference
   site recorded in BRIEF-2026-09-16.md; the brand is the one from the Front Desk site. */

@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Satoshi"; src: url("assets/fonts/satoshi-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #ffffff;
  --ink: #111318;
  --ink-2: #4a4f5a;
  --ink-3: #6b7180;
  --line: rgba(17, 19, 24, 0.08);
  --line-2: rgba(17, 19, 24, 0.14);
  --grey: #f2f1ee;
  --dark: #0f1115;
  --dark-card: #1a1d24;
  --paper-2: rgba(255, 255, 255, 0.68);
  --paper-3: rgba(255, 255, 255, 0.42);
  --blue: #2a5bff;
  --blue-2: #1f4be6;
  --blue-soft: #9db2ff;
  --font: "Satoshi", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --container: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --inset: clamp(0px, 9vw - 60px, 106px);
  --r: 10px;
  --nav-h: 76px;
  --section: clamp(96px, 12vw, 168px);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 15.5px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .nav.on-dark :focus-visible, .menu :focus-visible { outline-color: var(--blue-soft); }

.wrap { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.inset { padding-inline: var(--inset); }
.section { padding-block: var(--section); }
.light { background: var(--bg); color: var(--ink); }
.dark { background: var(--dark); color: #fff; }

.display { font-size: clamp(28px, 3vw, 40px); font-weight: 500; line-height: 1.12; letter-spacing: -0.028em; text-wrap: balance; }
.lede { margin-top: 20px; font-size: 16px; line-height: 1.55; }
.dark .lede { color: var(--paper-2); }
.light .lede { color: var(--ink-2); }
.centre { text-align: center; max-width: 640px; margin-inline: auto; }
.centre .lede { max-width: 540px; margin-inline: auto; }
.centre .btn { margin-top: 30px; }

/* ---------- buttons and pills ---------- */
.btn {
  display: inline-flex;
  align-items: stretch;
  height: 44px;
  gap: 2px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
}
.btn > span, .btn > i {
  display: inline-flex;
  align-items: center;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn > span { padding: 0 22px; }
.btn > i { width: 44px; justify-content: center; font-style: normal; }
.btn > i svg { width: 13px; height: 13px; }
.btn:hover > span { background: #000; }
.btn:hover > i { background: var(--blue); color: #fff; }
.dark .btn > span, .dark .btn > i { background: #fff; color: var(--ink); }
.dark .btn:hover > span { background: #f2f1ee; }
.dark .btn:hover > i { background: var(--blue); color: #fff; }

.btn-small {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--grey);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  transition: background 0.2s;
}
.btn-small:hover { background: #e8e6e1; }

.pill {
  display: inline-block;
  padding: 5px 9px 6px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}
.dark .pill { border-color: rgba(255, 255, 255, 0.22); }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }
.arrow { width: 13px; height: 13px; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 9px; color: inherit; }
.logo svg { width: 26px; height: 26px; flex: none; }
.logo .logo-square { fill: var(--ink); transition: fill 0.3s; }
.logo .logo-ring { stroke: #fff; transition: stroke 0.3s; }
.logo b { font-size: 24px; font-weight: 700; letter-spacing: -0.03em; line-height: 1; transform: translateY(-1px); }
.nav.on-dark .logo .logo-square, .menu .logo .logo-square, .footer .logo .logo-square { fill: #fff; }
.nav.on-dark .logo .logo-ring, .menu .logo .logo-ring, .footer .logo .logo-ring { stroke: var(--ink); }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--nav-h);
  padding: 0 24px;
  color: var(--ink);
  transition: color 0.3s;
}
.nav.on-dark { color: #fff; }
.nav .logo { justify-self: start; }
.nav-centre { position: relative; display: grid; place-items: center; }
.nav-links { display: flex; gap: 40px; font-size: 14.5px; font-weight: 500; transition: opacity 0.25s, visibility 0.25s; }
.nav-links a { opacity: 0.85; transition: opacity 0.2s; }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.menu-btn {
  position: absolute;
  height: 44px;
  padding: 0 30px;
  border-radius: var(--r);
  background: var(--ink);
  color: #fff;
  font-size: 14.5px;
  font-weight: 500;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, background 0.3s, color 0.3s;
}
.nav.on-dark .menu-btn { background: #fff; color: var(--ink); }
.nav.is-scrolled .nav-links { opacity: 0; visibility: hidden; }
.nav.is-scrolled .menu-btn { opacity: 1; visibility: visible; }
.nav-cta { justify-self: end; }
.nav-cta > span, .nav-cta > i { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14); transition: background 0.3s, color 0.3s; }
.nav.on-dark .nav-cta > span, .nav.on-dark .nav-cta > i { background: #fff; color: var(--ink); }
.nav.on-dark .nav-cta:hover > span { background: #f2f1ee; }
.nav.on-dark .nav-cta:hover > i { background: var(--blue); color: #fff; }

/* full-screen menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  grid-template-rows: var(--nav-h) 1fr auto;
  background: var(--dark);
  color: #fff;
}
.menu-top { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.menu-close { height: 44px; padding: 0 22px; border-radius: var(--r); background: #fff; color: var(--ink); font-size: 14.5px; font-weight: 500; }
.menu-list { align-self: center; padding: 0 var(--gutter); display: grid; gap: 6px; }
.menu-list a { font-size: clamp(36px, 7vw, 68px); font-weight: 500; line-height: 1.08; letter-spacing: -0.03em; }
.menu-list a:hover { color: var(--blue-soft); }
.menu-foot { padding: 24px var(--gutter) 32px; font-size: 13.5px; color: var(--paper-2); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 1fr auto;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg);
}
.hero-stage { position: absolute; inset: var(--nav-h) 0 0 0; display: grid; place-items: center; pointer-events: none; }
.stage-item {
  grid-area: 1 / 1;
  width: min(74vw, 1080px);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 40px 90px rgba(17, 19, 24, 0.22), 0 0 0 1px rgba(17, 19, 24, 0.06);
  opacity: 0;
  transform: translateY(-4vh) scale(0.985);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.stage-item.is-active { opacity: 1; transform: translateY(-4vh) scale(1); }
.stage-item .tpl { aspect-ratio: 16 / 10; }
.stage-item.is-active .tpl-page { animation: tpl-drift 11s ease-in-out infinite alternate; }
@keyframes tpl-drift { from { transform: translateY(0); } to { transform: translateY(calc(-100% + 40em)); } }

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  text-align: center;
  max-width: 820px;
  margin-inline: auto;
  padding: 24px var(--gutter);
  transition: opacity 0.35s, transform 0.5s;
}
.hero.is-previewing .hero-copy { opacity: 0; transform: translateY(-8px); }
.hero h1 { font-size: clamp(48px, 7.4vw, 96px); font-weight: 500; line-height: 0.98; letter-spacing: -0.04em; text-wrap: balance; }
.hero-lede { margin: 28px auto 0; max-width: 34ch; font-size: clamp(17px, 1.7vw, 21px); line-height: 1.45; letter-spacing: -0.012em; color: var(--ink-2); text-wrap: balance; }
.hero-lede b { font-weight: 500; color: var(--ink); }

/* the slideshow strip */
.reel {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 36px 0 16px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.reel-track {
  display: flex;
  gap: 14px;
  width: max-content;
  animation: reel-slide 150s linear infinite;
  will-change: transform;
}
.reel:hover .reel-track, .reel:focus-within .reel-track, .hero.is-previewing .reel-track { animation-play-state: paused; }
@keyframes reel-slide { to { transform: translateX(calc(-50% - 7px)); } }
.reel-track li { flex: 0 0 auto; width: clamp(200px, 17.5vw, 252px); position: relative; }
.reel-item {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--grey);
  box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.07), 0 8px 24px rgba(17, 19, 24, 0.08);
  transition: opacity 0.35s, transform 0.35s, box-shadow 0.35s;
}
.reel-item:hover, .reel-item:focus-visible { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.1), 0 18px 40px rgba(17, 19, 24, 0.16); }
.reel-item .tpl { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
.hero.is-previewing .reel li:not(.is-active) .reel-item { opacity: 0.18; }
.reel-label {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(4px);
  padding: 6px 10px 7px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.reel li.is-active .reel-label { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- the glow: white to dark ---------- */
.glow {
  height: min(78vh, 720px);
  background:
    linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.9) 12%, rgba(255, 255, 255, 0) 42%, rgba(15, 17, 21, 0) 58%, var(--dark) 84%),
    radial-gradient(140% 62% at 50% 44%, rgba(42, 91, 255, 0.95) 0%, rgba(42, 91, 255, 0.55) 30%, rgba(42, 91, 255, 0.12) 58%, rgba(42, 91, 255, 0) 78%),
    linear-gradient(180deg, #fff 0%, #ffffff 20%, #7d8ab8 46%, var(--dark) 74%, var(--dark) 100%);
}

/* ---------- argument + steps ---------- */
.argument .centre + .centre { margin-top: calc(var(--section) * 0.9); }
.argument .lede + .lede { margin-top: 14px; }

.steps { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: calc(var(--section) * 0.6); }
.steps-list { padding-inline-start: var(--inset); }
.step { padding-block: 88px; max-width: 440px; transition: opacity 0.4s; }
.step:first-child { padding-top: 40px; }
.step:not(.is-active) { opacity: 0.3; }
.step-n {
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border: 1px solid currentColor; border-radius: 50%;
  font-size: 11px; font-weight: 500; line-height: 1;
}
.step h3 { margin-top: 18px; font-size: 26px; font-weight: 500; line-height: 1.18; letter-spacing: -0.025em; }
.step p { margin-top: 12px; color: var(--paper-2); }
.steps-figure {
  position: sticky;
  top: calc(50vh - 165px);
  align-self: start;
  height: 330px;
  width: 330px;
  justify-self: center;
}
.steps-figure svg { width: 330px; height: 330px; overflow: visible; }
.steps-figure [data-fig] { opacity: 0; transition: opacity 0.5s; }
.steps-figure[data-step="1"] [data-fig="frame"],
.steps-figure[data-step="2"] [data-fig="frame"], .steps-figure[data-step="2"] [data-fig="words"],
.steps-figure[data-step="3"] [data-fig="frame"], .steps-figure[data-step="3"] [data-fig="words"], .steps-figure[data-step="3"] [data-fig="blocks"],
.steps-figure[data-step="4"] [data-fig] { opacity: 1; }
.steps-figure .fig-live-ring { transform-origin: 262px 68px; animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(0.6); opacity: 0.9; } 100% { transform: scale(2.4); opacity: 0; } }
.fig-label {
  position: absolute;
  top: 300px; left: 24px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px; font-weight: 500; line-height: 1;
}
.fig-label .step-n { width: 20px; height: 20px; font-size: 10px; background: var(--dark); }
.fig-label span:last-child { padding: 6px 9px 7px; border: 1px solid currentColor; border-radius: 999px; background: var(--dark); }

/* ---------- one job: sticky heading + blocks ---------- */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; }
.split-head { position: sticky; top: 130px; align-self: start; max-width: 440px; }
.split-head .btn { margin-top: 30px; }
.blocks { padding-top: 4px; }
.block { padding-block: 44px; max-width: 540px; }
.block + .block { border-top: 1px solid var(--line); }
.block h3 { font-size: 24px; font-weight: 500; line-height: 1.2; letter-spacing: -0.025em; }
.block .pills { margin-top: 14px; }
.block p { margin-top: 18px; font-size: 15px; color: var(--ink-2); max-width: 48ch; }
.block .btn-small { margin-top: 20px; }

/* ---------- price ---------- */
.price { border-top: 1px solid var(--line); }
.price-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; }
.price-big { font-size: clamp(64px, 9vw, 128px); font-weight: 500; line-height: 0.92; letter-spacing: -0.05em; }
.price-big small { display: block; margin-top: 14px; font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; letter-spacing: -0.025em; color: var(--ink-2); }
.price-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; padding-top: 12px; }
.price-cols h3 { font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.price-cols p { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.price-cols .btn-small { margin-top: 18px; }

/* ---------- cards ---------- */
.cards-head { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 48px; margin-bottom: 40px; }
.cards-head svg { width: 28px; height: 28px; justify-self: center; }
.cards-head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; }
.cards-big { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.card-big {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 562 / 707;
  max-height: 707px;
  border-radius: 18px;
  overflow: hidden;
  color: var(--ink);
}
.card-work { background: radial-gradient(70% 50% at 20% 15%, #6f8dff 0%, rgba(111, 141, 255, 0) 60%), radial-gradient(60% 60% at 90% 90%, #9db2ff 0%, rgba(157, 178, 255, 0) 60%), linear-gradient(160deg, #0f1115 0%, #1b3ab8 55%, var(--blue) 100%); }
.card-start { background: radial-gradient(60% 45% at 50% 20%, #ffffff 0%, rgba(255, 255, 255, 0) 70%), var(--grey); }
.card-inner {
  width: 62%;
  aspect-ratio: 335 / 415;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 24px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.28), 0 30px 60px rgba(17, 19, 24, 0.25);
  transition: transform 0.4s;
}
.card-big:hover .card-inner { transform: translateY(-6px); }
.card-inner h3 { font-size: clamp(20px, 2vw, 27px); font-weight: 500; line-height: 1.18; letter-spacing: -0.025em; }
.card-inner .pill { align-self: flex-start; }
.card-art { flex: 1; display: grid; place-items: center; }
.card-art svg { width: 70%; height: auto; }
.card-fan { flex: 1; position: relative; }
.card-fan .tpl { position: absolute; width: 74%; border-radius: 6px; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.06), 0 10px 30px rgba(17, 19, 24, 0.18); }
.card-fan .tpl:nth-child(1) { left: 0; top: 8%; }
.card-fan .tpl:nth-child(2) { left: 13%; top: 26%; }
.card-fan .tpl:nth-child(3) { left: 26%; top: 44%; }

.cards-small { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.card-small {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 283 / 381;
  border-radius: 18px;
  overflow: hidden;
  background: var(--dark);
  color: #fff;
  padding: 24px;
}
.card-small.is-light { background: var(--grey); color: var(--ink); }
.card-small .pill { position: absolute; top: 20px; left: 20px; padding: 9px 12px 10px; background: rgba(255, 255, 255, 0.1); border-color: transparent; }
.card-small.is-light .pill { background: rgba(17, 19, 24, 0.06); }
.card-small .card-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  font-style: normal;
  transition: background 0.2s;
}
.card-small.is-light .card-arrow { background: rgba(17, 19, 24, 0.06); }
.card-small:hover .card-arrow { background: var(--blue); color: #fff; }
.card-small svg { width: 58%; height: auto; }
.card-small .card-price { font-size: clamp(40px, 4.6vw, 68px); font-weight: 500; line-height: 1; letter-spacing: -0.05em; }

/* ---------- thesis ---------- */
.thesis-head { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 48px; }
.thesis-head svg { width: 48px; height: 48px; justify-self: center; }
.thesis-head h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; }
.thesis-body {
  position: relative;
  max-width: 700px;
  margin: 48px auto 0;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.86);
}
.thesis-body p + p { margin-top: 20px; }
.thesis-body.is-clamped { max-height: 320px; overflow: hidden; -webkit-mask-image: linear-gradient(#000 45%, transparent 100%); mask-image: linear-gradient(#000 45%, transparent 100%); }
.thesis-more { display: flex; justify-content: center; margin-top: 8px; }
.thesis-more button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 8px; font-size: 13.5px; font-weight: 500; }
.thesis-more button:hover { background: rgba(255, 255, 255, 0.08); }
.thesis-more svg { width: 12px; height: 12px; }

/* ---------- questions ---------- */
.faq h2 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; margin-bottom: 40px; }
.faq-group { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding-block: 28px; }
.faq-group > span { font-size: 13.5px; font-weight: 500; padding-top: 18px; color: var(--paper-2); }
.faq-list { max-width: 540px; display: grid; gap: 10px; }
.faq details { background: var(--dark-card); border-radius: 12px; }
.faq summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 18px; font-weight: 400; line-height: 1; color: var(--paper-2); transition: transform 0.25s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  position: relative;
  padding: 0 24px 22px 60px;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}
.faq details p::before { content: "\21B3"; position: absolute; left: 32px; top: -2px; color: var(--paper-2); }
.faq details p a { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- close + footer ---------- */
.close h2 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 500; line-height: 1.25; letter-spacing: -0.025em; }
.close p { margin-top: 10px; color: var(--paper-2); }
.close .btn { margin-top: 30px; }

.footer { padding: 0 14px 14px; }
.footer-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.fcard {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  min-height: 250px;
  padding: 24px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--grey);
  color: var(--ink);
}
.fcard b { font-weight: 500; font-size: 18px; letter-spacing: -0.015em; }
.fcard > span:last-child { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; opacity: 0.75; }
.fcard > span:last-child svg { width: 10px; height: 10px; }
.fcard-dark { background: var(--dark-card); color: #fff; }
.fcard-cue { background: var(--blue); color: #fff; }
.fcard-bg { position: absolute; inset: 24px 24px 84px; pointer-events: none; }
.fcard-bg .tpl { position: absolute; left: 0; top: 0; width: 100%; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.06), 0 10px 30px rgba(17, 19, 24, 0.15); border-radius: 6px; }
.fcard-dark svg.fcard-art { position: absolute; top: 24px; right: 24px; width: 64px; height: 64px; opacity: 0.9; }
.footer-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 24px 10px 6px;
  font-size: 13px;
  color: var(--paper-2);
}
.footer-bar ul { display: flex; gap: 20px; }
.footer-bar a:hover { color: #fff; }
.footer-bar .logo { justify-self: end; color: #fff; }
.footer-bar .logo svg { width: 20px; height: 20px; }
.footer-bar .logo b { font-size: 18px; }

/* ---------- inner pages ---------- */
.page-head { padding: calc(var(--nav-h) + 96px) 0 64px; }
.page-head h1 { font-size: clamp(40px, 5.6vw, 76px); font-weight: 500; line-height: 1; letter-spacing: -0.04em; max-width: 14ch; text-wrap: balance; }
.page-head .lede { max-width: 52ch; font-size: 18px; }

.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 24px; padding-bottom: var(--section); }
.work-card { display: grid; gap: 14px; }
.work-card .tpl { aspect-ratio: 16 / 11; border-radius: 12px; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.07), 0 24px 60px rgba(17, 19, 24, 0.12); }
.work-meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.work-meta h2 { font-size: 20px; font-weight: 500; line-height: 1.2; letter-spacing: -0.02em; }
.work-meta p { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }

.pricing-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; padding-bottom: var(--section); }
.pricing-card { border: 1px solid var(--line-2); border-radius: 18px; padding: 32px; }
.pricing-card .price-big { font-size: clamp(56px, 6vw, 92px); }
.pricing-card .price-big small { font-size: 22px; }
.pricing-card p { margin-top: 20px; font-size: 15px; color: var(--ink-2); }
.pricing-card .btn { margin-top: 24px; }
.included h2 { font-size: 16px; font-weight: 500; line-height: 1.4; }
.included ul { margin-top: 16px; display: grid; gap: 0; }
.included li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 21px; font-weight: 500; line-height: 1.3; letter-spacing: -0.02em; }
.included li:last-child { border-bottom: 1px solid var(--line); }
.included li small { display: block; margin-top: 4px; font-size: 13.5px; font-weight: 400; line-height: 1.5; color: var(--ink-2); }
.included p { margin-top: 24px; font-size: 15px; color: var(--ink-2); max-width: 48ch; }

.start-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: start; padding-bottom: var(--section); }
.start-aside p { font-size: 15px; color: var(--ink-2); max-width: 40ch; }
.start-aside p + p { margin-top: 14px; }
.form { display: grid; gap: 22px; max-width: 560px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13.5px; font-weight: 500; }
.field label small { color: var(--ink-3); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  color: inherit;
  padding: 12px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--blue); outline-offset: 0; border-color: transparent; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-size: 13.5px; color: var(--ink-2); }
.form-status.is-error { color: #b3261e; }

/* =====================================================================
   The template previews. Each is a small website drawn in HTML and CSS,
   authored so that 1em is one 64th of the preview's width.
   ===================================================================== */
.tpl {
  container-type: inline-size;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #dcdcdc;
  font-family: var(--font);
  --t-bg: #fff;
  --t-ink: #111318;
  --t-muted: rgba(17, 19, 24, 0.8);
  --t-line: rgba(17, 19, 24, 0.1);
  --t-acc: #111318;
  --t-acc-ink: #fff;
  --t-soft: #f3f2ef;
  --t-img: linear-gradient(135deg, #cfd4d8, #9aa3ab);
  --t-img-2: linear-gradient(135deg, #e3e6e9, #b8bfc6);
  --t-hi: rgba(255, 255, 255, 0.55);
  --t-font: var(--font);
  --t-weight: 500;
}
.tpl.is-serif { --t-font: var(--serif); --t-weight: 400; }
.tpl-in {
  font-size: 1.5625cqw;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--t-bg);
  color: var(--t-ink);
  line-height: 1.4;
}
.tpl-bar { flex: none; height: 2.4em; display: flex; align-items: center; gap: 0.45em; padding: 0 0.9em; background: #e9e9e9; color: #6a6a6a; }
.tpl-bar i { width: 0.65em; height: 0.65em; border-radius: 50%; background: #cfcfcf; }
.tpl-bar b { flex: 1; margin-left: 0.8em; height: 1.5em; line-height: 1.5em; padding: 0 0.7em; border-radius: 0.5em; background: #fff; font-weight: 400; font-size: 0.85em; white-space: nowrap; overflow: hidden; }
.tpl-page { flex: none; display: flex; flex-direction: column; background: var(--t-bg); }
/* nav */
.tpl-nav { display: flex; align-items: center; justify-content: space-between; gap: 1em; padding: 1.2em 2.4em; font-size: 0.95em; }
.tpl-brand { display: inline-flex; align-items: center; gap: 0.55em; font-weight: 700; letter-spacing: -0.02em; font-size: 1.15em; white-space: nowrap; }
.tpl-brand i { width: 1.1em; height: 1.1em; border-radius: 0.3em; background: var(--t-acc); }
.tpl.is-serif .tpl-brand { font-family: var(--t-font); font-weight: 400; font-size: 1.3em; letter-spacing: 0; }
.tpl-links { display: flex; gap: 1.5em; color: var(--t-muted); white-space: nowrap; }
.tpl-cta { padding: 0.55em 1.1em; border-radius: 0.5em; background: var(--t-acc); color: var(--t-acc-ink); font-weight: 500; white-space: nowrap; }
/* hero */
.tpl-hero { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 2.6em; padding: 1.6em 2.4em 2.6em; }
.tpl-copy h4 { margin: 0; font: var(--t-weight) 3.6em/1.02 var(--t-font); letter-spacing: -0.03em; text-wrap: balance; }
.tpl.is-serif .tpl-copy h4 { letter-spacing: -0.02em; }
.tpl-copy p { margin: 0.9em 0 0; max-width: 30em; font-size: 1.05em; color: var(--t-muted); }
.tpl-actions { display: flex; gap: 0.7em; margin-top: 1.4em; }
.tpl-btn { display: inline-block; padding: 0.75em 1.3em; border-radius: 0.5em; background: var(--t-acc); color: var(--t-acc-ink); font-size: 0.95em; font-weight: 500; line-height: 1; white-space: nowrap; }
.tpl-btn.is-ghost { background: transparent; color: var(--t-ink); box-shadow: inset 0 0 0 0.08em var(--t-line); }
.tpl-img { position: relative; aspect-ratio: 4 / 3; border-radius: 0.9em; background: var(--t-img); overflow: hidden; }
.tpl-img::before { content: ""; position: absolute; inset: auto -20% -35% auto; width: 75%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, var(--t-hi), transparent 70%); }
.tpl-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, 0.18)); }
/* sections */
.tpl-sec { padding: 0 2.4em 2.4em; }
.tpl-sec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 1.1em; }
.tpl-sec-head b { font: var(--t-weight) 1.7em/1.1 var(--t-font); letter-spacing: -0.02em; }
.tpl-sec-head span { font-size: 0.9em; color: var(--t-muted); }
.tpl-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1em; }
.tpl-cards figure { margin: 0; display: grid; gap: 0.6em; }
.tpl-cards .tpl-thumb { aspect-ratio: 4 / 3; border-radius: 0.7em; background: var(--t-img-2); }
.tpl-cards figure:nth-child(2) .tpl-thumb { background: var(--t-img); }
.tpl-cards b { font-size: 1em; font-weight: 500; }
.tpl-cards span { font-size: 0.9em; color: var(--t-muted); }
.tpl-rows { display: grid; }
.tpl-rows div { display: flex; align-items: baseline; gap: 0.8em; padding: 0.85em 0; border-top: 0.07em solid var(--t-line); }
.tpl-rows div:last-child { border-bottom: 0.07em solid var(--t-line); }
.tpl-rows b { font-weight: 500; }
.tpl-rows i { flex: 1; border-bottom: 0.07em dotted var(--t-line); transform: translateY(-0.3em); }
.tpl-rows span { color: var(--t-muted); font-size: 0.95em; }
.tpl-rows small { font-size: 0.85em; padding: 0.3em 0.7em; border-radius: 999em; background: var(--t-soft); }
.tpl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1em; }
.tpl-stats div { padding: 1.3em 1.4em; border-radius: 0.8em; background: var(--t-soft); }
.tpl-stats b { display: block; font: var(--t-weight) 2.4em/1 var(--t-font); letter-spacing: -0.03em; }
.tpl-stats span { display: block; margin-top: 0.6em; font-size: 0.9em; color: var(--t-muted); }
.tpl-quote { padding: 1.8em 2em; border-radius: 0.9em; background: var(--t-soft); }
.tpl-quote p { margin: 0; font: var(--t-weight) 1.6em/1.3 var(--t-font); letter-spacing: -0.015em; }
.tpl-quote span { display: block; margin-top: 0.9em; font-size: 0.9em; color: var(--t-muted); }
.tpl-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 9em 9em; gap: 0.8em; }
.tpl-gallery i { border-radius: 0.7em; background: var(--t-img-2); }
.tpl-gallery i:first-child { grid-row: 1 / 3; background: var(--t-img); }
.tpl-gallery i:nth-child(4) { background: var(--t-img); }
.tpl-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1em; }
.tpl-features div { padding: 1.2em 0 0; border-top: 0.12em solid var(--t-acc); }
.tpl-features b { display: block; font-weight: 500; }
.tpl-features span { display: block; margin-top: 0.3em; font-size: 0.9em; color: var(--t-muted); }
.tpl-foot { display: flex; justify-content: space-between; gap: 1em; padding: 1.4em 2.4em; border-top: 0.07em solid var(--t-line); font-size: 0.85em; color: var(--t-muted); }
/* layouts */
.tpl.l-centre .tpl-hero { grid-template-columns: 1fr; text-align: center; padding-bottom: 1.4em; }
.tpl.l-centre .tpl-copy { max-width: 36em; margin-inline: auto; }
.tpl.l-centre .tpl-copy p { margin-inline: auto; }
.tpl.l-centre .tpl-actions { justify-content: center; }
.tpl.l-centre .tpl-img { aspect-ratio: 21 / 8; margin-top: 0.6em; }
.tpl.l-full .tpl-hero { position: relative; grid-template-columns: 1fr; min-height: 24em; padding: 3.2em 2.8em; background: var(--t-img); color: var(--t-hero-ink, #fff); --t-muted: var(--t-hero-muted, rgba(255, 255, 255, 0.78)); isolation: isolate; }
.tpl.l-full .tpl-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0) 70%); z-index: -1; }
.tpl.l-full .tpl-img { display: none; }
.tpl.l-full .tpl-copy { max-width: 28em; }
.tpl.l-full .tpl-btn.is-ghost { color: inherit; box-shadow: inset 0 0 0 0.08em rgba(255, 255, 255, 0.45); }
.tpl.l-full .tpl-sec { padding-top: 2.2em; }
.tpl.l-editorial .tpl-hero { grid-template-columns: 1fr 0.9fr; align-items: end; padding-top: 2.6em; }
.tpl.l-editorial .tpl-copy h4 { font-size: 4.4em; }
.tpl.l-editorial .tpl-img { aspect-ratio: 3 / 4; }
/* the ten palettes */
.t-dental { --t-bg: #f4f8f9; --t-ink: #17323d; --t-muted: rgba(23, 50, 61, 0.78); --t-line: rgba(23, 50, 61, 0.12); --t-acc: #177373; --t-soft: #e6f1f0; --t-img: linear-gradient(140deg, #d9efe9 0%, #8cc9bd 55%, #3f8f86 100%); --t-img-2: linear-gradient(140deg, #eef7f5, #c6e3dd); }
.t-law { --t-bg: #14161b; --t-ink: #f1eee6; --t-muted: rgba(241, 238, 230, 0.78); --t-line: rgba(241, 238, 230, 0.14); --t-acc: #b89b5e; --t-acc-ink: #14161b; --t-soft: rgba(255, 255, 255, 0.06); --t-img: linear-gradient(160deg, #3a3f4b, #1b1e26 70%); --t-img-2: linear-gradient(160deg, #2a2e37, #1b1e26); --t-hi: rgba(255, 255, 255, 0.18); }
.t-gym { --t-bg: #0f0f0f; --t-ink: #fff; --t-muted: rgba(255, 255, 255, 0.78); --t-line: rgba(255, 255, 255, 0.14); --t-acc: #ff4d1f; --t-soft: rgba(255, 255, 255, 0.07); --t-img: linear-gradient(160deg, #3a3a3a 0%, #111 50%, #5a1c0f 100%); --t-img-2: linear-gradient(160deg, #2a2a2a, #161616); --t-hi: rgba(255, 120, 80, 0.35); }
.t-coffee { --t-bg: #efe9df; --t-ink: #2a1b12; --t-muted: rgba(42, 27, 18, 0.78); --t-line: rgba(42, 27, 18, 0.12); --t-acc: #3f2a1e; --t-soft: #e6dccd; --t-img: linear-gradient(150deg, #d5b48e 0%, #8a5a34 55%, #3f2a1e 100%); --t-img-2: linear-gradient(150deg, #e7d6c1, #c9a27a); --t-hi: rgba(255, 240, 220, 0.6); }
.t-furniture { --t-bg: #ececea; --t-ink: #1a1a1a; --t-muted: rgba(26, 26, 26, 0.78); --t-line: rgba(26, 26, 26, 0.12); --t-acc: #1a1a1a; --t-soft: #e2e2df; --t-img: linear-gradient(140deg, #cdd3c3 0%, #9aa58c 55%, #6a7560 100%); --t-img-2: linear-gradient(140deg, #dedfd8, #bfc5b4); }
.t-roofing { --t-bg: #fff; --t-ink: #10203a; --t-muted: rgba(16, 32, 58, 0.78); --t-line: rgba(16, 32, 58, 0.12); --t-acc: #d8352b; --t-soft: #f1f3f6; --t-img: linear-gradient(150deg, #9aa4b2 0%, #4a5566 55%, #26303d 100%); --t-img-2: linear-gradient(150deg, #d5dae1, #a5aeba); }
.t-software { --t-bg: #fafafa; --t-ink: #111; --t-muted: rgba(17, 17, 17, 0.78); --t-line: rgba(17, 17, 17, 0.1); --t-acc: #5b3df5; --t-soft: #f0edff; --t-img: linear-gradient(140deg, #d6ccff 0%, #7c6cf5 50%, #3ec8e8 100%); --t-img-2: linear-gradient(140deg, #ece8ff, #cfc6ff); }
.t-accounts { --t-bg: #f6f3ed; --t-ink: #1f2a22; --t-muted: rgba(31, 42, 34, 0.78); --t-line: rgba(31, 42, 34, 0.12); --t-acc: #2f6b4f; --t-soft: #e9e4d8; --t-img: linear-gradient(150deg, #cfe0d3 0%, #6f9c82 55%, #2f6b4f 100%); --t-img-2: linear-gradient(150deg, #e4ebe4, #bfd3c4); }
.t-restaurant { --t-bg: #1e1410; --t-ink: #f4e9da; --t-muted: rgba(244, 233, 218, 0.78); --t-line: rgba(244, 233, 218, 0.14); --t-acc: #c8553d; --t-soft: rgba(255, 255, 255, 0.06); --t-img: linear-gradient(160deg, #8a3a26 0%, #3a1a12 55%, #1e1410 100%); --t-img-2: linear-gradient(160deg, #4a251a, #2a1710); --t-hi: rgba(255, 180, 120, 0.35); }
.t-property { --t-bg: #fff; --t-ink: #12223a; --t-muted: rgba(18, 34, 58, 0.78); --t-line: rgba(18, 34, 58, 0.12); --t-acc: #12223a; --t-soft: #eef3f7; --t-img: linear-gradient(150deg, #bfe0f2 0%, #4d8fb8 55%, #1f5a80 100%); --t-img-2: linear-gradient(150deg, #e1eef6, #a9d1e8); }

/* ---------- motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  .reel { overflow-x: auto; }
  .reel-track { animation: none; }
}

/* ---------- widths ---------- */
@media (max-width: 1100px) {
  .split, .price-grid, .pricing-grid, .start-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-head { position: static; max-width: 560px; }
  .cards-small { grid-template-columns: repeat(2, 1fr); }
  .card-small { aspect-ratio: 4 / 3; }
}
@media (max-width: 900px) {
  :root { --nav-h: 66px; }
  .nav { padding: 0 16px; }
  .nav-links { display: none; }
  .menu-btn { position: static; opacity: 1; visibility: visible; padding: 0 20px; }
  .nav-cta > span { padding: 0 16px; }
  .reel { padding: 28px 0 14px; }
  .reel-track li { width: 170px; }
  .reel-label { display: none; }
  .hero-stage { display: none; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps-figure { display: none; }
  .steps-list { padding-inline-start: 0; }
  .step { padding-block: 48px; }
  .step:not(.is-active) { opacity: 1; }
  .cards-head, .thesis-head { grid-template-columns: 1fr; gap: 16px; }
  .cards-head svg, .thesis-head svg { justify-self: start; }
  .cards-big { grid-template-columns: 1fr; }
  .card-big { aspect-ratio: 4 / 5; }
  .card-inner { width: 74%; }
  .price-cols { grid-template-columns: 1fr; }
  .faq-group { grid-template-columns: 1fr; gap: 8px; }
  .faq-group > span { padding-top: 0; }
  .footer-cards { grid-template-columns: 1fr 1fr; }
  .fcard { min-height: 200px; }
  .footer-bar { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .footer-bar .logo { justify-self: center; }
  .work-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .btn { height: 42px; font-size: 14px; }
  .btn > span { padding: 0 16px; }
  .btn > i { width: 42px; }
  .nav { grid-template-columns: auto auto auto; justify-content: space-between; gap: 8px; }
  .logo svg { width: 22px; height: 22px; }
  .logo b { font-size: 20px; }
  .menu-btn { height: 42px; padding: 0 14px; font-size: 13.5px; }
  .nav-cta > span { font-size: 13.5px; padding: 0 12px; }
  .nav-cta > i { width: 38px; }
  .hero h1 { font-size: clamp(42px, 12.5vw, 60px); }
  .hero-lede { font-size: 17px; }
  .cards-small { grid-template-columns: 1fr; }
  .card-small { aspect-ratio: 16 / 10; }
  .footer-cards { grid-template-columns: 1fr; }
  .fcard { min-height: 160px; }
  .block h3 { font-size: 21px; }
}


/* ---------- the work wall, added 2026-09-16 ---------- */
.wall { --tile-w: clamp(230px, 26vw, 400px); position: relative; height: 100svh; min-height: 560px; overflow: hidden; background: var(--grey); cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; outline-offset: -3px; }
.wall.is-dragging { cursor: grabbing; }
.wall::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 240px; background: linear-gradient(180deg, var(--grey) 0%, rgba(242, 241, 238, 0.85) 45%, rgba(242, 241, 238, 0) 100%); pointer-events: none; z-index: 1; }
.wall-plane { position: absolute; left: 0; top: 0; will-change: transform; }
.wall-period { position: absolute; }
.wall-tile { position: absolute; width: var(--tile-w); display: block; border-radius: 12px; background: #fff; overflow: hidden; -webkit-user-drag: none; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.07), 0 18px 50px rgba(17, 19, 24, 0.1); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s; }
.wall-tile:hover, .wall-tile:focus-visible { transform: translateY(-6px); box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.1), 0 30px 70px rgba(17, 19, 24, 0.18); z-index: 2; }
.wall-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e8e4; }
.wall-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.wall-meta { display: grid; grid-template-columns: 1fr auto; gap: 1px 12px; align-items: baseline; padding: 11px 14px 13px; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
.wall-meta b { font-weight: 500; color: var(--ink); font-size: 14px; letter-spacing: -0.01em; }
.wall-meta i { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 11.5px; color: var(--ink-3); }
.wall-hud { position: absolute; inset: 0; z-index: 2; pointer-events: none; display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; padding: 108px clamp(20px, 5vw, 72px) 28px; }
.wall-title { max-width: 620px; }
.wall-title h1 { font-size: clamp(28px, 3.6vw, 46px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.06; }
.wall-title p { margin-top: 10px; color: var(--ink-2); font-size: 15px; }
.wall-hud .btn-small { pointer-events: auto; background: #fff; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.08), 0 10px 30px rgba(17, 19, 24, 0.12); }
.work-list-wrap { padding-top: var(--section); padding-bottom: var(--section); }
.work-list { display: grid; border-top: 1px solid var(--line-2); margin: 0; padding: 0; list-style: none; counter-reset: work; }
.work-list li { display: grid; grid-template-columns: 72px 1fr auto auto; gap: 12px 24px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.work-list img { width: 72px; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; border-radius: 4px; box-shadow: 0 0 0 1px var(--line-2); }
.work-list b { font-weight: 500; }
.work-list small { display: block; color: var(--ink-2); font-size: 13.5px; }
.work-list .sub { color: var(--ink-3); font-size: 13px; }
.work-list .acts { display: flex; gap: 8px; flex-wrap: wrap; }
@media (prefers-reduced-motion: reduce) { .wall-tile { transition: none; } }
@media (max-width: 720px) {
  .wall { min-height: 0; height: 88svh; }
  .wall-hud { padding-top: 92px; }
  .work-list li { grid-template-columns: 56px 1fr; }
  .work-list img { width: 56px; }
  .work-list .sub { display: none; }
  .work-list .acts { grid-column: 1 / -1; }
}


/* ---------- pricing page, four packages, 2026-09-16 ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 8px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 40px); border-radius: 20px; background: var(--grey); }
.plan-monthly { background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.plan-price { font-size: clamp(48px, 5.4vw, 80px); font-weight: 500; line-height: 0.92; letter-spacing: -0.05em; }
.plan-price small { display: block; margin-top: 10px; font-size: 16px; font-weight: 500; letter-spacing: -0.01em; color: var(--ink-2); }
.plan h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; line-height: 1.15; letter-spacing: -0.025em; margin-top: 8px; }
.plan-lede { font-size: 16px; color: var(--ink-2); max-width: 44ch; }
.plan ul { margin-top: 10px; display: grid; }
.plan li { padding: 13px 0; border-top: 1px solid var(--line-2); font-size: 17px; font-weight: 500; line-height: 1.3; letter-spacing: -0.015em; }
.plan li:last-child { border-bottom: 1px solid var(--line-2); }
.plan li small { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; line-height: 1.5; color: var(--ink-2); }
.plan-note { font-size: 14px; color: var(--ink-2); }
.plan .btn, .plan .btn-small { margin-top: auto; align-self: flex-start; }
.plan .btn { margin-top: 14px; }
.plan-foot { margin: clamp(48px, 6vw, 80px) 0 var(--section); max-width: 62ch; display: grid; gap: 14px; }
.plan-foot h2 { font-size: 16px; font-weight: 500; }
.plan-foot p { font-size: 16px; color: var(--ink-2); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

/* 2026-09-16: screenshots used as .tpl keep their own proportions */
img.tpl { container-type: normal; height: auto; aspect-ratio: 1000 / 625; }
.fcard-cue > span:last-child { opacity: 1; }

.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; }

.plan-not { margin-top: 6px; padding: 14px 16px; border-radius: 12px; background: rgba(17, 19, 24, 0.04); }
.plan-monthly .plan-not { background: var(--grey); }
.plan-not h3 { font-size: 12px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-2); margin-bottom: 6px; }
.plan-not ul { display: grid; gap: 4px; margin: 0; }
.plan-not li { font-size: 13.5px; font-weight: 400; color: var(--ink-2); padding: 0; border: 0; line-height: 1.5; }
.plan-not li:last-child { border: 0; }
/* wall: the open chip and a steadier hover */
.wall-tile::after { content: "open \2197"; position: absolute; top: 10px; right: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(17, 19, 24, 0.82); color: #fff; font-size: 12px; font-weight: 500; opacity: 0; transform: translateY(-4px); transition: opacity 0.25s, transform 0.25s; pointer-events: none; }
.wall-tile:hover::after, .wall-tile:focus-visible::after { opacity: 1; transform: translateY(0); }
.wall-tile:hover, .wall-tile:focus-visible { transform: translateY(-6px) scale(1.02); }

/* 2026-09-16: hero buttons and the booking calendar */
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 26px; }
.hero-actions .btn-small { height: 48px; padding: 0 20px; font-size: 15px; }
.cal-embed { width: 100%; min-height: 720px; margin: 8px 0 var(--section); border-radius: 18px; overflow: auto; background: #fff; box-shadow: inset 0 0 0 1px var(--line-2); }
.cal-embed:empty::before { content: "Loading the calendar"; display: grid; place-items: center; height: 720px; color: var(--ink-3); font-size: 15px; }
.page-head-second { padding-top: 0; }
.page-head-second h2 { font-size: clamp(28px, 3.4vw, 44px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.06; }

/* 2026-09-16: real photographs inside the drawn mini-sites, and bigger cards in the strip */
.tpl-img.has-photo, .tpl-thumb.has-photo, .tpl-gallery i.has-photo { position: relative; overflow: hidden; }
.tpl-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tpl-img.has-photo::before { display: none; }
.tpl-img.has-photo::after { background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.22)); }
.tpl-bar b { font-size: 1em; }
.reel-track li { width: clamp(300px, 27vw, 430px); }

/* ---------- 2026-09-16, third review: hero link with the counter, industries, wall entrance ---------- */
.hero-cta { display: inline-flex; align-items: baseline; gap: 10px; font-size: clamp(17px, 1.6vw, 20px); font-weight: 500; letter-spacing: -0.015em; color: var(--ink); padding: 6px 2px 8px; border-bottom: 2px solid var(--ink); transition: border-color 0.2s, color 0.2s; }
.hero-cta .hero-count { font-weight: 500; font-variant-numeric: tabular-nums; color: var(--blue); }
.hero-cta .arrow { width: 13px; height: 13px; align-self: center; transition: transform 0.25s; }
.hero-cta:hover { border-color: var(--blue); color: var(--blue); }
.hero-cta:hover .arrow { transform: translate(2px, -2px); }
.industries-lede { max-width: 58ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); margin: -8px 0 48px 120px; }
.industries-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 32px; padding-left: 120px; }
.ind-group h3 { font-size: 13px; font-weight: 500; letter-spacing: 0.02em; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px solid var(--line-2); margin-bottom: 12px; }
.ind-group ul { display: grid; gap: 8px; }
.ind-group li { font-size: 17px; font-weight: 500; letter-spacing: -0.015em; line-height: 1.35; }
.industries-foot { margin: 56px 0 0 120px; font-size: 16px; color: var(--ink-2); max-width: 60ch; }
.industries-foot a { color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.industries-foot a:hover { color: var(--blue); border-color: var(--blue); }
@media (max-width: 900px) { .industries-lede, .industries-grid, .industries-foot { margin-left: 0; padding-left: 0; } .industries-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .industries-grid { grid-template-columns: 1fr; } }
/* the work wall opens zoomed into one site and pulls back; tiles arrive in a fan */
.wall-zoom { position: absolute; inset: 0; transform-origin: 50% 46%; }
.wall.is-entering .wall-zoom { transform: scale(2.6); }
.wall.is-entered .wall-zoom { transform: scale(1); transition: transform 1.7s cubic-bezier(0.16, 0.84, 0.24, 1); }
.wall.is-entered .wall-tile[style*="--i"] { animation: tile-in 0.9s cubic-bezier(0.16, 0.84, 0.24, 1) both; animation-delay: calc(var(--i) * 45ms + 250ms); }
@keyframes tile-in { from { opacity: 0; transform: translateY(18px) scale(0.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .wall.is-entering .wall-zoom, .wall.is-entered .wall-zoom { transform: none; transition: none; } .wall.is-entered .wall-tile[style*="--i"] { animation: none; } }
/* drawn mini-sites: proof line, reviews and footer */
.tpl-proof { display: flex; align-items: center; gap: 0.6em; margin-top: 1.2em; font-size: 0.9em; color: var(--t-muted); }
.tpl-proof i { display: inline-flex; gap: 0.15em; color: var(--t-acc); font-style: normal; letter-spacing: 0.05em; }
.tpl-reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1em; padding: 0 2.4em 2.4em; }
.tpl-reviews div { padding: 1.3em 1.4em; border-radius: 0.9em; background: var(--t-soft); font-size: 0.95em; line-height: 1.45; }
.tpl-reviews div b { display: block; margin-top: 0.8em; font-size: 0.85em; color: var(--t-muted); font-weight: 500; }
.tpl-foot-cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 1.4em; padding: 2em 2.4em 1.4em; border-top: 0.08em solid var(--t-line); font-size: 0.85em; color: var(--t-muted); }
.tpl-foot-cols b { display: block; color: var(--t-ink); font-weight: 600; margin-bottom: 0.5em; }
.tpl-foot-cols span { display: block; margin-top: 0.35em; }
.tpl-bar i:nth-child(1) { background: #f26a5f; } .tpl-bar i:nth-child(2) { background: #f2bf4f; } .tpl-bar i:nth-child(3) { background: #62c454; }

/* ---------- 2026-09-16, third review: real screenshots on the home page ---------- */
.recent-lede { max-width: 58ch; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.5; color: var(--ink-2); margin: -8px 0 40px 120px; }
.recent-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; padding-left: 120px; }
.recent-item { position: relative; display: block; border-radius: 14px; background: #fff; overflow: hidden; box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.07), 0 10px 30px rgba(17, 19, 24, 0.06); transition: transform 0.35s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.35s; }
.recent-item:hover, .recent-item:focus-visible { transform: translateY(-6px) scale(1.02); box-shadow: 0 0 0 1px rgba(17, 19, 24, 0.1), 0 30px 70px rgba(17, 19, 24, 0.16); z-index: 2; }
.recent-item::after { content: "open \2197"; position: absolute; top: 10px; right: 10px; padding: 6px 10px; border-radius: 999px; background: rgba(17, 19, 24, 0.82); color: #fff; font-size: 12px; font-weight: 500; opacity: 0; transform: translateY(-4px); transition: opacity 0.25s, transform 0.25s; pointer-events: none; }
.recent-item:hover::after, .recent-item:focus-visible::after { opacity: 1; transform: translateY(0); }
.recent-shot { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e9e8e4; }
.recent-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; pointer-events: none; }
.recent-meta { display: grid; gap: 2px; padding: 11px 14px 13px; font-size: 12.5px; line-height: 1.3; color: var(--ink-2); }
.recent-meta b { font-weight: 500; color: var(--ink); font-size: 14px; letter-spacing: -0.01em; }
.recent-foot { margin: 36px 0 0 120px; }
@media (max-width: 900px) { .recent-lede, .recent-grid, .recent-foot { margin-left: 0; padding-left: 0; } .recent-grid { grid-template-columns: 1fr 1fr; gap: 16px; } }
@media (max-width: 600px) { .recent-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 10px; scrollbar-width: none; } .recent-grid::-webkit-scrollbar { display: none; } .recent-item { flex: 0 0 78vw; scroll-snap-align: start; } }
@media (prefers-reduced-motion: reduce) { .recent-item { transition: none; } }

/* ---------- 2026-09-16, phone pass ---------- */
a, button { -webkit-tap-highlight-color: transparent; }
.hint-coarse { display: none; }
@media (max-width: 1100px) {
  .reel { overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; }
  .reel::-webkit-scrollbar { display: none; }
  .reel-track { animation: none; will-change: auto; padding-left: var(--gutter); }
}
@media (max-width: 900px) {
  .glow { height: min(24vh, 200px); }
  .step { padding-block: 36px; }
  .field input, .field textarea, .field select { font-size: 16px; }
}
@media (max-width: 560px) {
  .btn { height: 44px; }
  .btn > i { width: 44px; }
  .btn-small { display: inline-flex; align-items: center; min-height: 40px; padding: 10px 15px; font-size: 13.5px; }
  .ind-group ul { display: flex; flex-wrap: wrap; gap: 8px; }
  .ind-group li { font-size: 14.5px; line-height: 1.2; padding: 9px 13px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); }
  .card-big { aspect-ratio: 1 / 1; }
  .cards-small { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card-small { aspect-ratio: 1 / 1; }
  .card-small .pill { top: 14px; left: 14px; }
  .card-small .card-arrow { top: 14px; right: 14px; }
  .card-small .card-price { font-size: 38px; }
  .fcard { min-height: 170px; }
}
/* the calendar embed sets its own min-height after it loads; ours must hold from the first paint so nothing below it moves. Heights measured 2026-09-16 at 1280, 768 and 390. */
.cal-embed { min-height: 570px !important; }
.cal-embed:empty::before { height: 570px; }
@media (max-width: 1024px) { .cal-embed { min-height: 909px !important; } .cal-embed:empty::before { height: 909px; } }
@media (max-width: 600px) { .cal-embed { min-height: 610px !important; } .cal-embed:empty::before { height: 610px; } }
@media (hover: none) and (pointer: coarse) {
  .wall { touch-action: pan-y; cursor: default; }
  .hint-fine { display: none; }
  .hint-coarse { display: inline; }
}
