/* Kalimera Digital — site styles (v3, 2026-11-21, redesign in staging) for every marketing page:
   /, /villas/, /boat-maps/, /restaurants/, /weddings/, /privacy/ and 404.
   v3 changes: sentence-case serif headings with an italic accent, body text at weight 400, Greek letters
   fall through to Noto Serif Display (headings) and Commissioner (text), 44px touch targets, content is
   never hidden waiting for a scroll animation.
   (history) v2, 2026-10-20 for the marketing pages: /, /villas/, /boat-maps/.
   Speaks the language of the photography brand (mottiavraham.com): thin uppercase Cormorant Garamond,
   light Jost text, cream / sage / taupe / olive, square thin-outlined buttons, real photographs large.
   brand.css (v1) stays for the parked restaurant and wedding pages; client pages carry the client's brand.

   Load in <head>:
     <link rel="stylesheet" href="/brand/fonts/fonts.css">
     <link rel="stylesheet" href="/brand/site.css">
     <script src="/brand/site.js" defer></script> */

:root {
  --cream: #f3eee6;
  --cream-2: #ebe4d8;
  --sage: #c9ccc2;
  --taupe: #a99c84;
  --olive: #6b7350;
  --olive-d: #555c3c;
  --olive-text: #4a5032;      /* olive for small text, >= 4.5:1 on cream, cream-2 and sage */
  --ink: #2a2620;
  --ink-soft: #5d554b;
  --line: rgba(42, 38, 32, .18);
  --on-dark: #f4ede1;
  --on-dark-soft: #cfc6b7;

  --serif: "Cormorant Garamond", "Noto Serif Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Commissioner", "Helvetica Neue", Arial, sans-serif;
  --ease-out: cubic-bezier(.23, 1, .32, 1);

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --section: clamp(80px, 11vw, 150px);
  --header-h: 76px;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); overflow-x: clip; }
body.k { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
.k img { display: block; max-width: 100%; height: auto; }
:where(.k) a { color: inherit; }
.k p { margin: 0; }
.k button { font: inherit; color: inherit; }
.k :focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; }
.k ::selection { background: var(--sage); color: var(--ink); }
.k .skip { position: fixed; top: 10px; left: 10px; z-index: 300; background: var(--ink); color: var(--on-dark); padding: 10px 16px; transform: translateY(-200%); transition: transform 200ms var(--ease-out); }
.k .skip:focus { transform: none; }
.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- type ---------- */
.k h1, .k h2, .k h3 { margin: 0; font-family: var(--serif); font-weight: 300; text-wrap: balance; }
.k h1 { font-size: clamp(40px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.005em; }
.k h2 { font-size: clamp(34px, 4vw, 56px); line-height: 1.06; letter-spacing: -.005em; }
.k h3 { font-size: clamp(23px, 2vw, 28px); line-height: 1.2; font-weight: 400; }
.k h1 em, .k h2 em { font-style: italic; color: var(--olive-d); }
.f-ink h1 em, .f-ink h2 em { color: var(--on-dark); }
/* Greek: the same scale, Noto Serif Display reads larger than Cormorant, so step it down a little */
.k :lang(el) h1, .k h1:lang(el) { font-size: clamp(36px, 4.8vw, 68px); line-height: 1.08; }
.k :lang(el) h2, .k h2:lang(el) { font-size: clamp(30px, 3.6vw, 50px); line-height: 1.1; }
.caps { font: 400 13px/1.5 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; max-width: 46ch; }
.soft { color: var(--ink-soft); }
.script { font-family: var(--serif); font-style: italic; font-weight: 300; }
.stack { display: grid; gap: 22px; align-content: start; }

/* ---------- buttons: square, thin outline, small caps ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 14px 28px;
  font: 400 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
  border: 1px solid currentColor; background: transparent; color: var(--ink); cursor: pointer; white-space: nowrap;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); transition-duration: 100ms; }
.btn--solid { background: var(--olive-d); border-color: var(--olive-d); color: #fff; }
.btn--light { color: var(--on-dark); }
.btn svg { width: 17px; height: 17px; flex: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }
  .btn--solid:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
  .btn--light:hover { background: var(--on-dark); border-color: var(--on-dark); color: var(--ink); }
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { display: inline-flex; align-items: center; min-height: 44px; font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; padding-block: 10px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .textlink:hover { background-size: 0 1px; background-position: 100% 100%; } }

/* ---------- header ---------- */
.hdr { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 100; background: var(--cream); }
.hdr .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: var(--header-h); }
.hdr nav { display: flex; gap: clamp(18px, 2vw, 30px); }
.hdr nav a { font: 400 13px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none; padding: 15px 0; position: relative; white-space: nowrap; }
.hdr nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.hdr nav a[aria-current="page"]::after { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .hdr nav a:hover::after { transform: scaleX(1); } }
.mark { display: grid; justify-items: center; gap: 5px; text-decoration: none; color: var(--ink); line-height: 1; padding-block: 4px; }
.mark b { font: 400 26px/.9 var(--serif); letter-spacing: .16em; text-transform: uppercase; margin-right: -.16em; }
.mark i { font: 400 12px/1 var(--sans); font-style: normal; letter-spacing: .42em; text-transform: uppercase; margin-right: -.42em; color: var(--ink-soft); }
.hdr .side { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: var(--ink); text-decoration: none; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.icon-btn svg { width: 19px; height: 19px; }
.icon-btn:active { transform: scale(.92); }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--ink); color: var(--on-dark); } }
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .hdr .wrap { grid-template-columns: auto 1fr; row-gap: 0; padding-block: 8px 0; }
  .mark { justify-items: start; }
  .mark b { font-size: 22px; }
  .hdr nav { grid-column: 1 / -1; order: 3; gap: 24px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .hdr nav::-webkit-scrollbar { display: none; }
  .hdr .side { grid-column: 2; }
}

/* ---------- sections and fields of colour ---------- */
.sec { padding-block: var(--section); }
.f-cream2 { background: var(--cream-2); }
.f-sage { background: var(--sage); }
.f-taupe { background: var(--taupe); }
.f-ink { background: var(--ink); color: var(--on-dark); }
.f-ink .soft { color: var(--on-dark-soft); }
.f-taupe .soft { color: #3f392f; }
.f-sage .caps-o, .f-cream2 .caps-o, .caps-o { color: var(--olive-text); }
.f-ink .caps-o { color: var(--on-dark-soft); }

/* ---------- photographs ---------- */
.ph { position: relative; margin: 0; overflow: hidden; background: var(--cream-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--ease-out); }
.ph figcaption { margin-top: 12px; font: 400 italic 17px/1.35 var(--serif); color: var(--ink-soft); }
.ph--45 { aspect-ratio: 4 / 5; }
.ph--arch img { border-radius: 999px 999px 0 0; }
a.ph:hover img, .ph-hover:hover .ph img { transform: scale(1.03); }

/* full-bleed photograph band */
.band { position: relative; height: clamp(380px, 72vh, 760px); overflow: hidden; background: var(--ink); }
.band img { width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: auto 0 0 0; height: 40%; background: linear-gradient(180deg, rgba(28, 22, 16, 0), rgba(28, 22, 16, .5)); }
.band figcaption { position: absolute; z-index: 1; left: var(--gutter); bottom: 22px; color: #fff; font: 400 italic 20px/1.3 var(--serif); }

/* ---------- hero with a full-bleed photograph (home) ---------- */
.hero-ph { position: relative; min-height: max(580px, calc(100svh - var(--header-h))); display: grid; align-items: end; color: #fff; background: #3a3128; overflow: hidden; }
.hero-ph picture, .hero-ph picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
@media (max-width: 700px) { .hero-ph picture img { object-position: 50% 62%; } }
.hero-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28, 22, 16, 0) 30%, rgba(28, 22, 16, .62) 100%); }
.hero-ph .wrap { position: relative; z-index: 1; width: 100%; padding-block: 64px 44px; display: grid; gap: 26px; }
.greet { margin: 0; font: 300 clamp(56px, 11vw, 176px)/.9 var(--serif); text-transform: uppercase; letter-spacing: .03em; min-height: .9em; transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.greet.out { opacity: 0; transform: translateY(10px); }
.hero-ph h1 { font: 400 clamp(15px, 1.15vw, 17px)/1.6 var(--sans); text-transform: uppercase; letter-spacing: .2em; max-width: 40ch; }
.hero-ph .row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 22px 40px; }
.langs { display: flex; flex-wrap: wrap; gap: 4px; }
.langs button { min-height: 44px; padding: 8px 13px; border: 1px solid transparent; background: none; color: inherit; cursor: pointer; font: 400 13px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; opacity: .78; transition: opacity 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.langs button:active { transform: scale(.95); }
.langs button[aria-pressed="true"] { opacity: 1; border-color: currentColor; }
@media (hover: hover) and (pointer: fine) { .langs button:hover { opacity: 1; } }
.hero-ph .sub { font: 400 italic clamp(19px, 1.6vw, 22px)/1.3 var(--serif); opacity: .92; }
.hero-ph .credit { font: 400 italic 17px/1.3 var(--serif); opacity: .9; }

/* ---------- hero with the live phone (product pages) ---------- */
.hero-live { padding-block: clamp(48px, 7vw, 96px) clamp(64px, 8vw, 120px); }
.hero-live .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .7fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.hero-live .stack { gap: 28px; }
.hero-live h1 { font-size: clamp(38px, 5.8vw, 84px); }
.phone-col { display: grid; gap: 16px; justify-items: center; }
.phone { width: 320px; max-width: 100%; aspect-ratio: 9 / 18.5; border: 9px solid var(--ink); border-radius: 44px; overflow: hidden; background: var(--ink); }
.phone iframe { width: 100%; height: 100%; border: 0; display: block; background: #fff; }
.phone-col p { font: 400 italic 18px/1.35 var(--serif); color: var(--ink-soft); text-align: center; max-width: 30ch; }
.lang-line { font: 400 italic 20px/1.4 var(--serif); color: var(--olive-text); }
@media (max-width: 860px) { .hero-live .wrap { grid-template-columns: 1fr; } }

/* ---------- statement with floating photographs ---------- */
.statement { position: relative; padding-block: clamp(110px, 14vw, 190px); text-align: center; overflow: hidden; }
.statement .body { position: relative; z-index: 1; max-width: 800px; margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 28px; justify-items: center; }
.statement p.big { font: 300 clamp(22px, 3vw, 36px)/1.3 var(--serif); text-transform: uppercase; letter-spacing: .05em; }
.statement .note { font: 400 italic 21px/1.4 var(--serif); color: var(--olive-text); }
.statement .float { position: absolute; width: clamp(120px, 13vw, 190px); aspect-ratio: 4 / 5; object-fit: cover; }
.statement .float--a { left: 4%; bottom: 56px; }
.statement .float--b { right: 4%; top: 52px; }
@media (max-width: 860px) {
  .statement { padding-block: 72px; }
  .statement p.big { font-size: 22px; }
  .statement .float { position: static; width: 46%; }
  .statement .floats { display: flex; justify-content: center; gap: 12px; margin-top: 40px; padding-inline: var(--gutter); }
}
@media (min-width: 861px) { .statement .floats { display: contents; } }

/* ---------- product block: big photograph + text ---------- */
.prod .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.prod--rev .wrap > .ph { order: 2; }
.prod .stack { gap: 26px; max-width: 520px; }
.prod .price { font: 300 clamp(30px, 3vw, 40px)/1 var(--serif); letter-spacing: .02em; }
.prod .price small { font: 400 italic 20px/1 var(--serif); margin-left: 8px; color: var(--ink-soft); }
@media (max-width: 860px) { .prod .wrap { grid-template-columns: 1fr; } .prod--rev .wrap > .ph { order: 0; } }

/* plain list with an olive dash */
.list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.list li { position: relative; padding-left: 26px; }
.list li::before { content: ""; position: absolute; left: 0; top: .85em; width: 12px; height: 1px; background: var(--olive); }
.f-ink .list li::before { background: var(--on-dark-soft); }

/* ---------- two-column: heading left, content right ---------- */
.split .wrap { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
@media (max-width: 860px) { .split .wrap { grid-template-columns: 1fr; } }
.points { display: grid; gap: 40px; }
.points h3 { margin-bottom: 10px; }
.split .ph { margin-top: 24px; max-width: 420px; }
@media (max-width: 860px) { .split .ph { max-width: none; } }
.points--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 48px; }
@media (max-width: 640px) { .points--2 { grid-template-columns: 1fr; } }

/* ---------- steps (a real sequence) ---------- */
.steps { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
.steps li { display: grid; gap: 12px; align-content: start; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- price sheet ---------- */
.prices { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 0; margin-top: 56px; }
.price-main { background: var(--cream); padding: clamp(28px, 4vw, 56px); display: grid; gap: 22px; align-content: start; }
.price-side { background: var(--sage); padding: clamp(28px, 4vw, 56px); display: grid; gap: 34px; align-content: start; }
.amount { font: 300 clamp(64px, 8vw, 112px)/.9 var(--serif); letter-spacing: -.01em; font-variant-numeric: lining-nums; }
.amount small { font: 400 italic 22px/1 var(--serif); margin-left: 10px; letter-spacing: 0; }
.amount--s { font-size: clamp(44px, 5vw, 64px); }
.fine { font-size: 15px; color: var(--ink-soft); }
@media (max-width: 860px) { .prices { grid-template-columns: 1fr; } }

/* ---------- questions ---------- */
.faq { margin-top: 48px; display: grid; gap: 6px; }
.faq details { background: var(--cream-2); padding-inline: clamp(20px, 3vw, 32px); }
.f-cream2 .faq details { background: var(--cream); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-block: 22px; font: 400 clamp(20px, 1.8vw, 24px)/1.3 var(--serif); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 14px; height: 14px; background: linear-gradient(currentColor, currentColor) center / 14px 1px no-repeat, linear-gradient(currentColor, currentColor) center / 1px 14px no-repeat; transition: transform 300ms var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 26px; max-width: 64ch; }

/* ---------- contact ---------- */
.contact .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.ways { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ways a { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: center; gap: 18px; padding: 14px 0; text-decoration: none; color: inherit; }
.ways .ic { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(244, 237, 225, .5); border-radius: 50%; transition: background-color 200ms ease, color 200ms ease, transform 160ms var(--ease-out); }
.ways .ic svg { width: 22px; height: 22px; }
.ways b { display: block; font: 400 13px/1.4 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--on-dark-soft); }
.ways span { display: block; font: 300 clamp(20px, 2vw, 26px)/1.3 var(--serif); overflow-wrap: anywhere; }
.ways a:active .ic { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .ways a:hover .ic { background: var(--on-dark); color: var(--ink); } }
@media (max-width: 860px) { .contact .wrap { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.ftr { background: var(--cream-2); padding-block: 72px 32px; }
.ftr .name { font: 300 clamp(28px, 7.2vw, 104px)/.9 var(--serif); text-transform: uppercase; letter-spacing: .04em; margin: 0 0 48px; white-space: nowrap; }
.ftr .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.ftr a { text-decoration: none; }
.ftr ul a, .ftr .stack > a { display: inline-flex; align-items: center; min-height: 44px; }
@media (hover: hover) and (pointer: fine) { .ftr ul a:hover { text-decoration: underline; text-underline-offset: 4px; } }
.ftr .icons { display: flex; gap: 6px; margin-top: 4px; }
.ftr .icons .icon-btn { border: 1px solid var(--line); }
.ftr .base { margin-top: 56px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 15px; color: var(--ink-soft); }
.ftr .base a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 760px) { .ftr .cols { grid-template-columns: 1fr; } }

/* ---------- reveal on scroll (content stays visible without script) ---------- */
.js .rv { transform: translateY(14px); transition: transform 700ms var(--ease-out); }   /* moves, never hides */
.js .rv.in { transform: none; }
.js .rv-img img { transform: scale(1.06); transition: transform 1600ms var(--ease-out); }
.js .rv-img.in img { transform: scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv { transform: none; transition: opacity 300ms ease; }
  .js .rv-img img, .js .rv-img.in img, a.ph:hover img { transform: none; }
  .greet { transition: opacity 300ms ease; } .greet.out { transform: none; }
  .btn, .icon-btn, .langs button { transition: background-color 200ms ease, color 200ms ease; }
}


/* =====================================================================
   v3 components (redesign, staging 2026-11-21)
   ===================================================================== */

/* home hero: value first, photograph and a real product screen beside it */
.hero-split { padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px); }
.hero-split .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(36px, 6vw, 88px); align-items: center; }
.hero-split .stack { gap: 24px; }
.hero-split h1 em { display: inline; }
.hero-split .lead { color: var(--ink-soft); max-width: 36ch; }
.hero-split .for { font: 400 15px/1.6 var(--sans); color: var(--ink-soft); }
.hero-split .for b { font-weight: 500; color: var(--ink); }
.hero-fig { position: relative; margin: 0; }
.hero-fig > img { width: 100%; aspect-ratio: 4 / 5; max-height: 660px; object-fit: cover; }
.hero-fig figcaption { margin-top: 12px; font: 400 italic 17px/1.35 var(--serif); color: var(--ink-soft); }
.hero-fig .on-phone { position: absolute; left: -44px; bottom: 40px; width: 42%; max-width: 220px; }
.greet-line { font: 400 italic clamp(20px, 1.8vw, 24px)/1.2 var(--serif); color: var(--olive-text); min-height: 1.2em; transition: opacity 400ms var(--ease-out); }
.greet-line.out { opacity: 0; }
@media (max-width: 860px) {
  .hero-split .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-split .wrap { gap: 40px; }
  .hero-fig > img { max-height: 460px; }
  .hero-fig .on-phone { left: auto; right: 12px; bottom: -28px; width: 38%; }
  .hero-split .actions .btn { flex: 1 1 100%; }
}

/* a real product screen in a phone frame */
.mini { background: #111; border-radius: 26px; padding: 7px; box-shadow: 0 18px 40px rgba(0, 0, 0, .28); }
.mini img { border-radius: 20px; width: 100%; aspect-ratio: 9 / 19.5; object-fit: cover; object-position: top; }

/* who it is for */
.made-for { border-block: 1px solid var(--line); }
.made-for .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px; padding-block: 18px; }
.made-for span { font: 400 13px/1.5 var(--sans); letter-spacing: .2em; text-transform: uppercase; }

/* price line with its unit */
.prod .price small.unit { display: block; margin: 8px 0 0; font: 400 15px/1.4 var(--sans); color: var(--ink-soft); font-style: normal; letter-spacing: 0; }

/* live work */
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.work-grid a { text-decoration: none; display: grid; gap: 10px; align-content: start; }
.work-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.work-grid h3 { font-size: 26px; }
.work-grid p { font-size: 15px; color: var(--ink-soft); }
.tag { justify-self: start; font: 500 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); padding: 8px 12px; }
@media (max-width: 860px) { .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; } }
@media (max-width: 460px) { .work-grid { grid-template-columns: minmax(0, 1fr); } }

/* product-specific next steps in the contact band */
.next { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.next .btn { white-space: normal; text-align: center; }

/* fixed bar on phones (product pages): two actions, never over content */
.sticky-cta { display: none; }
@media (max-width: 700px) {
  .sticky-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--cream) 96%, transparent); border-top: 1px solid var(--line);
    transform: translateY(110%); transition: transform 300ms var(--ease-out); }
  .sticky-cta.show { transform: none; }
  .sticky-cta .btn { min-height: 48px; padding: 12px 10px; white-space: normal; text-align: center; }
  body.has-sticky { padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }   /* the bar never covers the end of the page */
  body.form-focus .sticky-cta { transform: translateY(110%); }                         /* and steps aside while typing */
}
@media (prefers-reduced-motion: reduce) { .sticky-cta { transition: none; } .greet-line { transition: none; } }
