/* Oscillate Solutions: site styles (design direction: refined, editorial, dark-led).
   Brand board v1 colours and fonts. Expression: hairlines, large regular-weight type, square edges,
   the "seam" wave as the one signature graphic. Contrast rules: never Slate on Sea Glass or Teal,
   never Ink on Teal, never Paper on Sea Glass. */

@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope-var.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("/assets/fonts/source-sans-3-var.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --teal: #0E4F5C; --teal-deep: #0A343C; --sea: #9CC3BA; --mist: #DCEBE7;
  --ink: #14201F; --ink-deep: #0E1716; --slate: #566361; --paper: #F6F4EF; --white: #FFFFFF;
  --head: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --body: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --maxw: 1320px; --gutter: clamp(1.5rem, 4.5vw, 3.5rem); --nav-h: 84px;
  --rule-dark: rgba(246, 244, 239, 0.18); --rule-light: rgba(20, 32, 31, 0.18);
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink-deep); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--body); font-size: 1.125rem; line-height: 1.65; color: var(--ink); background: var(--ink); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; touch-action: manipulation; }
section[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }
:focus-visible { outline: 2px solid var(--accent, var(--teal)); outline-offset: 4px; }
html.nav-open, html.nav-open body { overflow: hidden; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 200; background: var(--paper); color: var(--ink); padding: 0.75rem 1.25rem; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ── Section themes: each sets the colours its children use ── */
.section { --fg: var(--ink); --muted: var(--slate); --rule: var(--rule-light); --accent: var(--teal); --bg: var(--paper);
  background: var(--bg); color: var(--fg); padding: clamp(4.5rem, 10vw, 8.5rem) 0; position: relative; }
.section--ink, .hero, .cta, .site-footer { --fg: var(--paper); --muted: #B9CAC6; --rule: var(--rule-dark); --accent: var(--sea); --bg: var(--ink); background: var(--bg); color: var(--fg); }
.section--teal { --fg: var(--paper); --muted: #C3D6D1; --rule: var(--rule-dark); --accent: var(--sea); --bg: var(--teal); background: var(--bg); color: var(--fg); }
.section--mist { --bg: var(--mist); --muted: #3F4C4B; background: var(--bg); }
.section--white { --bg: var(--white); background: var(--bg); }
.grain::after { content: ""; position: absolute; inset: 0; background-image: var(--grain); opacity: 0.07; mix-blend-mode: overlay; pointer-events: none; }
.muted { color: var(--muted); }

/* ── Type ── */
h1, h2, h3, h4 { font-family: var(--head); font-weight: 400; letter-spacing: -0.028em; margin: 0 0 0.5em; color: inherit; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.6vw, 4.5rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.8vw, 3.1rem); line-height: 1.08; }
h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 500; letter-spacing: -0.02em; }
h4 { font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
.display { font-size: clamp(2.9rem, 8.4vw, 7rem); line-height: 0.98; letter-spacing: -0.042em; }
.display .line { display: block; }
.display .line--sea { color: var(--sea); }
.lead { font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.55; color: var(--muted); max-width: 40rem; }
.statement { font-family: var(--head); font-size: clamp(1.5rem, 3vw, 2.35rem); line-height: 1.22; letter-spacing: -0.025em; max-width: 34ch; margin: 0; text-wrap: pretty; }
.small { font-size: 0.9375rem; line-height: 1.55; }
.eyebrow { display: flex; align-items: center; gap: 0.9rem; font-family: var(--body); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin: 0 0 1.5rem; }
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: currentColor; opacity: 0.7; flex: none; }
.eyebrow i { font-style: normal; }

/* ── Buttons and links ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 52px; padding: 0 1.9rem; border: 1px solid transparent; border-radius: 2px; font-family: var(--head); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.01em; text-decoration: none; cursor: pointer; }
.btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn--line { background: transparent; color: var(--fg); border-color: currentColor; }
.btn--sea { background: var(--sea); color: var(--ink); border-color: var(--sea); }
@media (prefers-reduced-motion: no-preference) { .btn { transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease; } }
@media (hover: hover) and (pointer: fine) {
  .btn--solid:hover { background: transparent; color: var(--fg); }
  .btn--line:hover { background: var(--fg); color: var(--bg); }
  .btn--sea:hover { background: transparent; color: var(--sea); }
}
.btn-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.arrow-link { display: inline-flex; align-items: center; gap: 0.65rem; padding: 0.4rem 0; border-bottom: 1px solid var(--rule); font-family: var(--head); font-weight: 600; font-size: 0.9375rem; text-decoration: none; color: var(--fg); min-height: 44px; }
.arrow-link span { display: inline-block; }
@media (prefers-reduced-motion: no-preference) { .arrow-link span { transition: transform 0.2s ease; } }
@media (hover: hover) and (pointer: fine) { .arrow-link:hover { border-color: var(--accent); } .arrow-link:hover span { transform: translateX(5px); } }

/* ── Header ── */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding-top: env(safe-area-inset-top); background: var(--ink); border-bottom: 1px solid var(--rule-dark); color: var(--paper); }
.js .site-header { background: transparent; border-bottom-color: transparent; }
@media (prefers-reduced-motion: no-preference) { .js .site-header { transition: background-color 0.3s ease, border-color 0.3s ease; } }
.js .site-header.is-solid, html.nav-open .site-header { background: rgba(14, 23, 22, 0.9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom-color: var(--rule-dark); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; position: relative; z-index: 2; }
.brand img { display: block; height: 40px; width: auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 0.15rem; }
.site-nav a:not(.btn) { display: inline-flex; align-items: center; min-height: 44px; padding: 0.4rem 0.95rem; font-family: var(--body); font-weight: 600; font-size: 0.9375rem; letter-spacing: 0.02em; color: rgba(246, 244, 239, 0.82); text-decoration: none; position: relative; }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--paper); }
.site-nav a[aria-current="page"]:not(.btn)::after { content: ""; position: absolute; left: 0.95rem; right: 0.95rem; bottom: 0.35rem; height: 1px; background: var(--sea); }
@media (hover: hover) and (pointer: fine) { .site-nav a:not(.btn):hover { color: var(--paper); } }
.site-nav .btn { margin-left: 1rem; min-height: 44px; padding: 0 1.4rem; --fg: var(--paper); --bg: var(--ink); }
.nav-contact { display: none; }
.nav-toggle { display: none; align-items: center; gap: 0.6rem; min-height: 44px; padding: 0 0.2rem; background: transparent; border: 0; color: var(--paper); font-family: var(--body); font-weight: 600; letter-spacing: 0.04em; cursor: pointer; position: relative; z-index: 2; }
.nav-toggle .bars { width: 22px; height: 10px; position: relative; display: inline-block; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; }
.nav-toggle .bars::before { top: 0; } .nav-toggle .bars::after { bottom: 0; }
html.nav-open .nav-toggle .bars::before { top: 4px; transform: rotate(45deg); }
html.nav-open .nav-toggle .bars::after { bottom: 4px; transform: rotate(-45deg); }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .js .site-header.is-solid, html.nav-open .site-header { -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--ink); }
  .site-nav { position: fixed; top: 0; left: 0; right: 0; bottom: 0; height: 100vh; height: 100dvh; background: var(--ink); padding: calc(var(--nav-h) + 1.5rem) var(--gutter) calc(2rem + env(safe-area-inset-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a:not(.btn) { display: flex; font-family: var(--head); font-weight: 400; font-size: clamp(1.7rem, 7.4vw, 2.3rem); letter-spacing: -0.03em; min-height: 64px; padding: 0.4rem 0; border-bottom: 1px solid var(--rule-dark); color: var(--paper); }
  .site-nav a[aria-current="page"]:not(.btn)::after { display: none; }
  .site-nav .btn { margin: 2rem 0 0; width: 100%; min-height: 56px; --fg: var(--paper); --bg: var(--ink); }
  .site-nav .nav-contact { display: block; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--rule-dark); font-size: 1rem; color: var(--muted); }
  .site-nav .nav-contact a { display: flex; min-height: 44px; align-items: center; font-family: var(--body); font-size: 1.0625rem; letter-spacing: 0; border: 0; color: var(--paper); }
}

/* ── Hero ── */
.hero { position: relative; overflow: hidden; background: radial-gradient(120% 95% at 85% 8%, var(--teal) 0%, var(--teal-deep) 40%, var(--ink) 80%); padding: calc(var(--nav-h) + clamp(4rem, 11vw, 9rem)) 0 clamp(4rem, 9vw, 7rem); }
.hero__lines { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.95; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 58%); mask-image: linear-gradient(90deg, transparent 4%, #000 58%); }
.hero .container { position: relative; z-index: 2; }
.hero .lead { color: #D3E2DE; }
.hero--page { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.hero--page .hero__lines { opacity: 0.6; -webkit-mask-image: linear-gradient(90deg, transparent 20%, #000 75%); mask-image: linear-gradient(90deg, transparent 20%, #000 75%); }
.hero__meta { margin-top: clamp(3rem, 6vw, 5rem); }
@media (prefers-reduced-motion: no-preference) {
  .rise { opacity: 0; transform: translateY(22px); animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
  .rise--2 { animation-delay: 0.12s; } .rise--3 { animation-delay: 0.24s; } .rise--4 { animation-delay: 0.38s; } .rise--5 { animation-delay: 0.52s; }
  @keyframes rise { to { opacity: 1; transform: none; } }
  .js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ── Facts strip ── */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--rule); }
.fact { padding: 1.6rem 1.5rem 0.2rem 0; }
.fact + .fact { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
.fact strong { display: block; font-family: var(--head); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.5rem); letter-spacing: -0.03em; line-height: 1.1; color: var(--fg); }
.fact span { display: block; margin-top: 0.4rem; font-size: 0.9375rem; color: var(--muted); line-height: 1.4; }
.facts--3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 800px) { .facts, .facts--3 { grid-template-columns: 1fr 1fr; } .fact:nth-child(odd) { border-left: 0; padding-left: 0; } .fact:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 1.4rem; } }

/* ── Layout helpers ── */
.split { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 6vw, 6rem); border-top: 1px solid var(--rule); padding-top: clamp(2rem, 4vw, 3rem); }
.split__head h2 { margin-bottom: 0; }
.split--wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; gap: 1.75rem; } }
.section-intro { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }

/* ── Two service lines ── */
.duo { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.duo__item { padding: clamp(2rem, 4vw, 3.5rem) clamp(0rem, 3vw, 3rem) clamp(2rem, 4vw, 3rem) 0; display: flex; flex-direction: column; min-height: 22rem; }
.duo__item + .duo__item { border-left: 1px solid var(--rule); padding-left: clamp(1.5rem, 4vw, 3.5rem); padding-right: 0; }
.duo__n { font-family: var(--head); font-size: 0.9375rem; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 2rem; }
.duo__item h2, .duo__item h3 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; font-weight: 400; line-height: 1.08; margin-bottom: 1.25rem; }
.duo__item p { color: var(--muted); max-width: 30rem; flex: 1; }
.duo__item .arrow-link { align-self: flex-start; margin-top: 1rem; }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } .duo__item { min-height: 0; padding-right: 0; } .duo__item + .duo__item { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; } }

/* ── Rows (process, capabilities) ── */
.rows { list-style: none; margin: 0; padding: 0; counter-reset: row; }
.row { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr) minmax(0, 1.25fr); gap: 1rem 2.5rem; padding: 2rem 0; border-top: 1px solid var(--rule); align-items: baseline; }
.row:last-child { border-bottom: 1px solid var(--rule); }
.row__n { font-family: var(--head); font-size: 0.9375rem; letter-spacing: 0.1em; color: var(--accent); }
.rows--num .row::before { counter-increment: row; content: "0" counter(row); font-family: var(--head); font-size: 0.9375rem; letter-spacing: 0.1em; color: var(--accent); }
.row h3 { margin: 0; font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
.row p { margin: 0; color: var(--muted); }
.row .when { color: var(--accent); font-weight: 600; font-size: 0.875rem; letter-spacing: 0.08em; text-transform: uppercase; display: block; margin-bottom: 0.35rem; }
.rows--plain .row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
@media (max-width: 800px) { .row, .rows--plain .row { grid-template-columns: 1fr; gap: 0.5rem; padding: 1.6rem 0; } }

/* ── Cells (hairline grid instead of cards) ── */
.cells { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.cell { padding: clamp(1.5rem, 3vw, 2.25rem); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cell h3 { font-size: 1.35rem; margin-bottom: 0.5rem; }
.cell p { margin: 0; color: var(--muted); }
.cell .price { margin: 0.25rem 0 0.9rem; }
.cells--3 { --cols: 3; }
@media (max-width: 900px) { .cells--3 { --cols: 1; } }
@media (max-width: 700px) { .cells { --cols: 1; } }

/* ── Prices ── */
.price { font-family: var(--head); font-weight: 400; font-size: clamp(2rem, 3.4vw, 2.75rem); letter-spacing: -0.035em; line-height: 1.05; color: var(--fg); margin: 0.6rem 0 1rem; }
.price small { font-family: var(--body); font-size: 1rem; letter-spacing: 0; color: var(--muted); font-weight: 400; }
.pkg { padding: clamp(1.75rem, 3vw, 2.5rem); border-right: 1px solid var(--rule); display: flex; flex-direction: column; }
.pkg:first-child { padding-left: 0; } .pkg:last-child { border-right: 0; padding-right: 0; }
.pkg__n { font-family: var(--head); font-size: 0.9375rem; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 1.5rem; }
.pkg h3 { font-size: 1.5rem; margin-bottom: 0.25rem; }
.pkg p { color: var(--muted); font-size: 1rem; }
.pkg p:not(.price) { flex: 1; }
.pkg p.price { color: var(--fg); font-size: clamp(2rem, 3vw, 2.6rem); margin: 0.75rem 0 1.25rem; }
.pkg p.price small { font-size: 0.95rem; color: var(--muted); }
.pkgs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
@media (max-width: 1000px) { .pkgs { grid-template-columns: 1fr; } .pkg { border-right: 0; border-bottom: 1px solid var(--rule); padding-left: 0 !important; padding-right: 0 !important; } .pkg:last-child { border-bottom: 0; } }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ticks li { position: relative; padding: 0.85rem 0 0.85rem 2rem; border-top: 1px solid var(--rule); }
.ticks li:last-child { border-bottom: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 0.15rem; top: 1.25rem; width: 0.8rem; height: 0.45rem; border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg); }
.price-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.price-block .price { font-size: clamp(3.5rem, 9vw, 7rem); letter-spacing: -0.05em; margin: 0.5rem 0 0.5rem; }
@media (max-width: 900px) { .price-block { grid-template-columns: 1fr; } }

/* ── Work: index + projects ── */

.work-stage { margin: 0 0 clamp(2rem, 4vw, 3rem); position: relative; border: 1px solid var(--rule); background: var(--ink-deep); overflow: hidden; }
.work-stage__frame { position: relative; aspect-ratio: 2.5 / 1; }
.work-stage__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; opacity: 0; }
.work-stage__frame img.is-active, .work-stage__frame img:first-child { opacity: 1; }
.js .work-stage__frame img:first-child:not(.is-active) { opacity: 0; }
@media (prefers-reduced-motion: no-preference) { .work-stage__frame img { transition: opacity 0.5s ease; } }
.work-stage__cap { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 3rem clamp(1rem, 2.5vw, 1.75rem) 1.1rem; background: linear-gradient(0deg, rgba(14, 23, 22, 0.88), rgba(14, 23, 22, 0)); color: var(--paper); font-size: 0.9375rem; letter-spacing: 0.04em; }
.work-stage__cap b { font-family: var(--head); font-weight: 600; letter-spacing: 0.01em; }
.work-stage__cap a { gap: 0.6rem; color: var(--paper); text-decoration: none; border-bottom: 1px solid rgba(246, 244, 239, 0.5); padding: 0.4rem 0; min-height: 44px; display: inline-flex; align-items: center; }
.work-tabs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.work-tabs li { border-bottom: 1px solid var(--rule); display: flex; }
.work-tabs li:not(:nth-child(3n + 1)) { border-left: 1px solid var(--rule); }
.work-tab { position: relative; flex: 1; display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; gap: 0.5rem 0.75rem; align-items: start; padding: 1.6rem 1.5rem 1.6rem 1.25rem; text-decoration: none; color: var(--fg); }
.work-tabs li:nth-child(3n + 1) .work-tab { padding-left: 0; }
.work-tab::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.work-tab.is-active::before { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) { .work-tab::before { transition: transform 0.35s ease; } .work-tab__go { transition: transform 0.25s ease; } }
.work-tab__n { font-family: var(--head); font-size: 0.8125rem; letter-spacing: 0.1em; color: var(--accent); padding-top: 0.45rem; }
.work-tab__name { display: block; font-family: var(--head); font-size: clamp(1.2rem, 1.9vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.12; }
.work-tab__tag { display: block; margin-top: 0.45rem; font-size: 0.9375rem; line-height: 1.4; color: var(--muted); }
.work-tab__go { color: var(--accent); padding-top: 0.35rem; }
.work-tab.is-active .work-tab__name { color: var(--accent); }
@media (hover: hover) and (pointer: fine) { .work-tab:hover .work-tab__name { color: var(--accent); } .work-tab:hover .work-tab__go { transform: translateX(5px); } }
@media (max-width: 900px) { .work-tabs { grid-template-columns: 1fr 1fr; } .work-tabs li:nth-child(n) { border-left: 0; } .work-tabs li:nth-child(2n) { border-left: 1px solid var(--rule); } .work-tabs li:nth-child(2n + 1) .work-tab { padding-left: 0; } .work-tabs li:nth-child(2n) .work-tab { padding-left: 1.25rem; } }
@media (max-width: 600px) { .work-tabs { grid-template-columns: 1fr; } .work-tabs li:nth-child(n) { border-left: 0; } .work-tab, .work-tabs li:nth-child(n) .work-tab { padding-left: 0; } .work-stage__frame { aspect-ratio: 3 / 2; } .work-stage__cap { position: static; flex-wrap: wrap; gap: 0.25rem 1rem; padding: 0.9rem 1rem 0.5rem; background: var(--ink-deep); } }

.project { display: grid; gap: 1.75rem; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--rule); }
.project:first-of-type { border-top: 0; padding-top: 0; }
.shot { display: block; border: 1px solid var(--rule); background: var(--ink-deep); overflow: hidden; }
.shot img { display: block; width: 100%; height: auto; }
.project__meta { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: start; }
.project__tag { display: block; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.75rem; }
.project h2, .project h3 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; }
.project p { color: var(--muted); max-width: 40rem; }
.project blockquote { margin: 1.5rem 0 0; padding-left: 1.5rem; border-left: 1px solid var(--accent); max-width: 40rem; }
.project blockquote p { color: var(--fg); font-size: 1.125rem; margin-bottom: 0.5rem; }
.project cite { font-style: normal; font-size: 0.9375rem; color: var(--muted); }
@media (max-width: 800px) { .project__meta { grid-template-columns: 1fr; gap: 1rem; } }
.cases-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.cases-2 .project { padding: 0; border: 0; } .cases-2 .project__meta { grid-template-columns: 1fr; gap: 0.75rem; }
@media (max-width: 800px) { .cases-2 { grid-template-columns: 1fr; } }

/* ── Reviews ── */
.pull { margin: 0 0 clamp(2.5rem, 5vw, 4rem); }
.pull p { font-family: var(--head); font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.15; letter-spacing: -0.03em; max-width: 24ch; margin: 0 0 1.5rem; text-wrap: pretty; }
.pull footer, .quote footer { font-size: 0.9375rem; color: var(--muted); line-height: 1.45; }
.pull footer strong, .quote footer strong { color: var(--fg); font-weight: 600; display: block; }
.quote-cols { display: grid; grid-template-columns: repeat(var(--qcols, 4), 1fr); gap: 0; border-top: 1px solid var(--rule); }
.quote { margin: 0; padding: 1.75rem 1.5rem 0.5rem 0; }
.quote + .quote { border-left: 1px solid var(--rule); padding-left: 1.5rem; }
.quote p { font-size: 1rem; line-height: 1.6; }
.stars { color: var(--accent); letter-spacing: 3px; font-size: 0.95rem; margin-bottom: 0.75rem; display: block; }
.quote-cols--3 { --qcols: 3; }
@media (max-width: 1000px) { .quote-cols { --qcols: 2; } .quote:nth-child(3) { border-left: 0; padding-left: 0; } .quote:nth-child(n+3) { border-top: 1px solid var(--rule); margin-top: 1.5rem; } }
@media (max-width: 640px) { .quote-cols { --qcols: 1; } .quote + .quote { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); margin-top: 1.5rem; } }
.google-pill { display: inline-flex; align-items: center; gap: 0.75rem; min-height: 44px; font-size: 0.9375rem; font-weight: 600; color: var(--fg); text-decoration: none; border-bottom: 1px solid var(--rule); padding: 0.4rem 0; margin-top: 1.5rem; }
.google-pill .stars { margin: 0; display: inline; }

/* ── Can / can't, panels ── */
.two-col { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.two-col > div { padding: 2rem 2.5rem 1rem 0; } .two-col > div + div { border-left: 1px solid var(--rule); padding-left: 2.5rem; padding-right: 0; }
.two-col h3 { font-size: 1.5rem; color: var(--accent); }
.two-col p { color: var(--muted); }
@media (max-width: 800px) { .section--mist .two-col > div + div { padding-top: 2rem !important; padding-bottom: 0.5rem; } .two-col { grid-template-columns: 1fr; } .two-col > div { padding-right: 0; } .two-col > div + div { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; } }
.prose { max-width: 40rem; } .prose p { margin-bottom: 1.2em; }
.terms { margin: 0; padding: 0; list-style: none; } .terms li { padding: 0.9rem 0; border-top: 1px solid var(--rule); } .terms li:last-child { border-bottom: 1px solid var(--rule); }

/* ── FAQ ── */
.faq { border-bottom: 1px solid var(--rule); }
.faq details { border-top: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; min-height: 64px; padding: 1.1rem 0; font-family: var(--head); font-weight: 500; font-size: clamp(1.1rem, 1.8vw, 1.3rem); letter-spacing: -0.015em; line-height: 1.3; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font-family: var(--body); font-weight: 400; font-size: 1.75rem; line-height: 1; color: var(--accent); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 1.4rem; max-width: 46rem; color: var(--muted); }

/* ── About / contact ── */
.about-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.portrait { position: relative; border: 1px solid var(--rule); }
.portrait img { display: block; width: 100%; height: auto; }
.portrait__cap { padding: 1.25rem 0 0; }
.portrait__cap h3 { font-size: 1.35rem; margin-bottom: 0.15rem; }
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; } }
.contact-cols { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--rule); }
.contact-col { padding: 2rem 2rem 1rem 0; } .contact-col + .contact-col { border-left: 1px solid var(--rule); padding-left: 2rem; }
.contact-col h3 { font-size: 1.1rem; font-family: var(--body); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.contact-col a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--head); font-size: clamp(1.15rem, 1.9vw, 1.5rem); letter-spacing: -0.02em; overflow-wrap: anywhere; }
.contact-col p { color: var(--muted); font-size: 1rem; }
@media (max-width: 900px) { .contact-cols { grid-template-columns: 1fr; } .contact-col { padding-right: 0; } .contact-col + .contact-col { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; } }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; margin: 1.25rem 0 1.75rem; padding: 0; list-style: none; font-size: 0.9375rem; color: var(--muted); }
.chips li::before { content: "\2014"; margin-right: 0.6rem; color: var(--accent); }

/* ── CTA band ── */
.cta { position: relative; overflow: hidden; padding: clamp(5rem, 11vw, 9rem) 0; background: radial-gradient(110% 120% at 0% 100%, var(--teal) 0%, var(--teal-deep) 45%, var(--ink) 85%); }
.cta .hero__lines { opacity: 0.55; -webkit-mask-image: linear-gradient(270deg, transparent 10%, #000 70%); mask-image: linear-gradient(270deg, transparent 10%, #000 70%); transform: scaleX(-1); }
.cta .container { position: relative; z-index: 2; }
.cta h2 { font-size: clamp(2.2rem, 5.4vw, 4.25rem); letter-spacing: -0.04em; line-height: 1; max-width: 16ch; margin-bottom: 1.25rem; }
.cta p { color: #D3E2DE; max-width: 34rem; }

/* ── Footer ── */
.site-footer { position: relative; overflow: hidden; background: var(--ink-deep); padding: clamp(4rem, 8vw, 6rem) 0 calc(2rem + env(safe-area-inset-bottom)); font-size: 1rem; }
.footer__grid { display: grid; grid-template-columns: 1.7fr 1fr 1.1fr 1.2fr; gap: 2.5rem; position: relative; z-index: 2; }
.site-footer img.footer__logo { height: 38px; width: auto; display: block; margin-bottom: 1.25rem; }
.site-footer h2 { font-family: var(--body); font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sea); margin: 0 0 1rem; }
.site-footer p { color: var(--muted); max-width: 30ch; margin: 0; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer a { color: var(--paper); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .site-footer a:hover { color: var(--sea); } }
.footer__base { margin-top: clamp(3rem, 6vw, 5rem); padding-top: 1.25rem; border-top: 1px solid var(--rule-dark); color: var(--muted); font-size: 0.875rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem; position: relative; z-index: 2; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; } .footer__grid > div:first-child, .footer__grid > div:last-child { grid-column: 1 / -1; } }

@media (max-width: 560px) { body { font-size: 1.0625rem; } .btn-row .btn { width: 100%; } .display { font-size: clamp(2.9rem, 12.2vw, 3.5rem); } .eyebrow, .project__tag, .work-tab__n, .pkg__n, .duo__n { font-size: 0.875rem; } }

.pull blockquote { margin: 0; }

/* ── Home reviews: one at a time on phones ── */
.rev__ctrl { display: none; }
@media (max-width: 700px) {
  .rev__track { position: relative; display: flex; align-items: flex-start; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border-top: 1px solid var(--rule); }
  .rev__track::-webkit-scrollbar { display: none; }
  @media (prefers-reduced-motion: no-preference) { .rev__track { transition: height 0.35s ease; } }
  .rev .quote-cols { display: contents; }
  .rev .pull, .rev .quote { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; margin: 0; padding: 1.75rem 0 0.5rem; border: 0; min-width: 0; }
  .js .rev .reveal { opacity: 1; transform: none; }
  .rev .pull p { font-family: var(--body); font-size: 1.125rem; line-height: 1.6; letter-spacing: 0; max-width: none; margin: 0 0 1rem; }
  .rev .quote p { font-size: 1.125rem; line-height: 1.6; }
  .rev__ctrl { display: flex; align-items: center; justify-content: flex-start; gap: 1rem; margin-top: 0.75rem; border-top: 1px solid var(--rule); padding-top: 0.5rem; }
  .rev__dots { display: flex; }
  .rev__dot { width: 32px; height: 44px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
  .rev__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--fg); opacity: 0.3; }
  .rev__dot[aria-current="true"]::before { opacity: 1; background: var(--accent); width: 10px; height: 10px; }
}

/* ── Phone type scale and spacing (a smaller scale for small screens, not a shrunk desktop) ── */
@media (max-width: 560px) {
  body { font-size: 1rem; line-height: 1.6; }
  h1 { font-size: clamp(1.7rem, 7.4vw, 1.95rem); line-height: 1.12; letter-spacing: -0.025em; }
  h2 { font-size: clamp(1.4rem, 6.2vw, 1.65rem); line-height: 1.15; }
  h3 { font-size: 1.2rem; }
  .display { font-size: clamp(2.35rem, 10.6vw, 2.75rem); line-height: 1; letter-spacing: -0.04em; }
  .lead { font-size: 1.0625rem; line-height: 1.55; }
  .statement { font-size: 1.3rem; line-height: 1.28; }
  .cta h2 { font-size: clamp(1.7rem, 7.6vw, 2rem); line-height: 1.08; }
  .price-block .price { font-size: 3rem; }
  .price { font-size: 1.85rem; }
  .project h2, .project h3, .duo__item h2, .duo__item h3 { font-size: 1.5rem; }
  .row h3 { font-size: 1.2rem; }
  .work-tab__name, .faq summary { font-size: 1.1rem; }
  .fact strong { font-size: 1.2rem; }
  .fact span { font-size: 0.8125rem; margin-top: 0.25rem; }
  .fact { padding: 1.1rem 1rem 0.2rem 0; }
  .fact + .fact { padding-left: 1rem; }
  .fact:nth-child(odd) { padding-left: 0; }
  .fact:nth-child(n+3) { margin-top: 1rem; }
  .eyebrow { margin-bottom: 1rem; letter-spacing: 0.08em; gap: 0.7rem; font-size: 0.72rem; line-height: 1.5; }
  .display .line--sea { margin-top: 0.12em; }
  .eyebrow::before { width: 1.5rem; }

  .section { padding: 3.25rem 0; }
  .cta { padding: 3.5rem 0; }
  .hero { padding: calc(var(--nav-h) + 1.75rem) 0 2.5rem; }
  .hero--page { padding-bottom: 2.25rem; }
  .hero__meta { margin-top: 1.75rem; }
  .hero .lead { margin-bottom: 0; }
  .site-footer { padding-top: 3rem; }
  .section-intro { margin-bottom: 1.75rem; }
  .split { gap: 1.25rem; padding-top: 1.5rem; }
  .row { padding: 1.35rem 0; }
  .cell { padding: 1.25rem; }
  .pkg { padding: 1.5rem 0; }
  .duo__item { padding: 1.75rem 0; }
  .duo__n, .pkg__n { margin-bottom: 1rem; }
  .project { padding: 2rem 0; }

  /* Buttons sit side by side when there are two, so a hero is not three screens of stacked boxes */
  .btn-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr)); gap: 0.75rem; margin-top: 1.5rem; }
  .btn-row .btn { width: auto; min-height: 50px; padding: 0 1rem; }
  .hero h1[style] { max-width: none !important; }
  .hero h1 { margin-bottom: 0.75rem; }
  .hero h2.hero__sub, .hero h2[style] { margin-bottom: 0.75rem !important; }
}
