/* ==========================================================================
   One Page Loft — shared demo stylesheet
   --------------------------------------------------------------------------
   Every sample site (contractor, attorney, CPA) loads this file and supplies
   only its own tokens. Structure, spacing and motion live here so all three
   demos stay in step and a fourth vertical costs a palette, not a rebuild.

   The structural signatures below are lifted from onepageloft.com so a demo
   reads as the same studio's work:
     · numbered section labels with a short accent rule   (index.html .section-label)
     · the dark scrolling ticker strip                    (index.html .strip-track)
     · the pulsing scroll cue under the hero              (index.html .hero-scroll)
     · fade-up reveals on scroll                          (index.html .reveal)

   A demo MUST define, in its own :root:
     --ink --ink-deep --body-ink --accent --accent-hover --paper --line
     --display --body-font
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  margin: 0;
  line-height: 1.04;
}
h1 { font-size: clamp(44px, 6.6vw, 82px); }
h2 { font-size: clamp(32px, 4.4vw, 52px); }
h3 { font-size: 25px; }
p  { margin: 0 0 16px; max-width: 64ch; }
a  { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

/* ─── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 4px;
  font-family: var(--body-font); font-weight: 600; font-size: 16px; line-height: 1;
  letter-spacing: 0.04em; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s;
}
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline.on-dark { color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-outline.on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn:focus-visible, a:focus-visible, button:focus-visible,
summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}

/* ─── Section label — the numbered eyebrow with its accent rule ─────────── */
.section-label {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--body-font);
  font-size: 11px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--accent); margin: 0 0 20px;
}
.section-label::after {
  content: ''; width: 40px; height: 1px; background: var(--accent); opacity: 0.7;
}
.section.ink .section-label { color: var(--accent); opacity: 0.9; }
.section-label.centered { justify-content: center; }

/* ─── Top bar + nav ────────────────────────────────────────────────────── */
.topbar { background: var(--ink-deep); color: rgba(255,255,255,0.62); font-size: 13.5px; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 16px; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .back { color: rgba(255,255,255,0.62); font-weight: 500; }
.topbar .back:hover { color: #fff; }

.nav { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 20px; }
.brand { font-family: var(--display); font-size: 25px; color: var(--ink); text-decoration: none; line-height: 1.1; }
.brand small {
  display: block; font-family: var(--body-font); font-size: 11px; font-weight: 400;
  color: var(--body-ink); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 5px;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.nav ul a { text-decoration: none; font-size: 14px; letter-spacing: 0.06em; color: var(--ink); }
.nav ul a:hover { color: var(--accent); }
.nav .btn { padding: 12px 20px; font-size: 14px; }
@media (max-width: 900px) { .nav ul { display: none; } }

/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: min(88vh, 780px);
  display: flex; align-items: flex-end; color: #fff;
  isolation: isolate; overflow: hidden;
}
.hero .hero-media { position: absolute; inset: 0; z-index: -2; }
.hero .hero-media img { width: 100%; height: 100%; object-fit: cover; }
/* Two scrims. The horizontal one puts solid ground under the headline column
   whatever the photograph is doing behind it; the vertical one seats the hero
   on the section below. Without the first, type lands on whatever the picture
   happens to be bright at. */
/* Neutral black, never the brand ink. Tinting a scrim with a saturated colour
   lays a glaze over the whole photograph — the navy or the green washes across
   faces and materials and the picture stops reading as a photograph. Black
   darkens where the type needs ground and leaves the colour in the image alone.
   The horizontal ramp clears by two-thirds across, so the subject side of the
   frame is essentially untouched. */
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(96deg,
      rgba(0,0,0,0.78) 0%,
      rgba(0,0,0,0.56) 26%,
      rgba(0,0,0,0.20) 50%,
      rgba(0,0,0,0) 70%),
    linear-gradient(180deg,
      rgba(0,0,0,0.10) 0%,
      rgba(0,0,0,0.04) 38%,
      rgba(0,0,0,0.52) 100%);
}
@media (max-width: 900px) {
  /* Narrow screens put the text over the middle of the frame, so the
     horizontal ramp stops helping and an even wash reads better. */
  .hero::after {
    background: linear-gradient(180deg,
      rgba(0,0,0,0.42) 0%,
      rgba(0,0,0,0.50) 45%,
      rgba(0,0,0,0.72) 100%);
  }
}

/* The composed-artwork heroes are already dark by construction, so they need
   far less on top than a photograph does. */
.hero:has(.hero-media.art)::after {
  background:
    linear-gradient(96deg, rgba(0,0,0,0.42) 0%, rgba(0,0,0,0.18) 44%, rgba(0,0,0,0) 72%),
    linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.34) 100%);
}
.hero .wrap { padding-top: 128px; padding-bottom: 78px; width: 100%; }
.hero .section-label { color: #fff; opacity: 0.85; }
.hero .section-label::after { background: #fff; }
.hero h1 { color: #fff; max-width: 13ch; }
.hero p.lede { font-size: clamp(18px, 2vw, 21px); color: rgba(255,255,255,0.86); max-width: 54ch; margin: 24px 0 32px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero .promise { margin-top: 24px; font-size: 14.5px; color: rgba(255,255,255,0.66); }

/* Scroll cue, as on the main site */
.hero-scroll {
  position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.scroll-line { width: 1px; height: 42px; background: #fff; opacity: 0.4; }
@media (prefers-reduced-motion: no-preference) {
  .scroll-line { animation: scrollPulse 2.2s infinite; }
  @keyframes scrollPulse { 0%,100% { opacity: 0.25 } 50% { opacity: 0.75 } }
}
@media (max-width: 860px) { .hero-scroll { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  .hero .section-label, .hero h1, .hero .lede, .hero .actions, .hero .promise {
    animation: heroRise 0.8s cubic-bezier(.2,.7,.2,1) both;
  }
  .hero h1 { animation-delay: .08s } .hero .lede { animation-delay: .18s }
  .hero .actions { animation-delay: .28s } .hero .promise { animation-delay: .36s }
  @keyframes heroRise { from { opacity: 0; transform: translateY(14px) } to { opacity: 1; transform: none } }
}

/* ─── Scrolling ticker strip ───────────────────────────────────────────── */
.strip { background: var(--ink); padding: 17px 0; overflow: hidden; }
.strip-track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .strip-track { animation: ticker 34s linear infinite; }
  @keyframes ticker { from { transform: translateX(0) } to { transform: translateX(-50%) } }
}
.strip-item {
  display: flex; align-items: center; gap: 34px; padding-right: 34px;
  font-size: 11px; letter-spacing: 0.26em; text-transform: uppercase;
  color: rgba(255,255,255,0.72); white-space: nowrap;
}
.strip-item::after { content: '·'; color: var(--accent); }

/* ─── Trust rail ───────────────────────────────────────────────────────── */
.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.trust .item { padding: 26px 20px; border-left: 1px solid var(--line); }
.trust .item:first-child { border-left: 0; padding-left: 0; }
.trust b { display: block; font-family: var(--display); font-size: 26px; color: var(--ink); line-height: 1.1; }
.trust span { font-size: 13px; letter-spacing: 0.04em; color: var(--body-ink); }
@media (max-width: 780px) {
  .trust .wrap { grid-template-columns: 1fr 1fr; }
  .trust .item { border-top: 1px solid var(--line); padding-left: 20px; }
  .trust .item:nth-child(odd) { border-left: 0; padding-left: 0; }
  .trust .item:nth-child(-n+2) { border-top: 0; }
}

/* ─── Sections ─────────────────────────────────────────────────────────── */
.section { padding: 104px 0; }
.section.paper { background: var(--paper); }
.section.ink { background: var(--ink); color: rgba(255,255,255,0.74); }
.section.ink h2, .section.ink h3 { color: #fff; }
.lead { font-size: 19px; color: var(--body-ink); max-width: 60ch; margin: 18px 0 0; }
.section.ink .lead { color: rgba(255,255,255,0.7); }
@media (max-width: 860px) { .section { padding: 72px 0; } }

/* ─── Services: alternating photo bands ────────────────────────────────── */
.service {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: center; padding: 56px 0; border-top: 1px solid var(--line);
}
.service:first-of-type { border-top: 0; padding-top: 48px; }
.service:nth-of-type(even) .media { order: 2; }
.service .media { aspect-ratio: 4/3; border-radius: 4px; overflow: hidden; background: var(--paper); }
.service .media img { width: 100%; height: 100%; object-fit: cover; }
.service h3 { font-size: 31px; margin-bottom: 12px; }
.service .fact {
  font-weight: 600; color: var(--ink); font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-top: 20px; padding-top: 14px; border-top: 1.5px solid var(--accent);
  display: inline-block;
}
@media (max-width: 900px) {
  .service { grid-template-columns: 1fr; gap: 26px; }
  .service:nth-of-type(even) .media { order: 0; }
}

/* ─── Gallery ──────────────────────────────────────────────────────────── */
.gallery {
  display: grid; grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px; gap: 10px; margin-top: 44px;
}
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: 4px; background: var(--ink); }
.gallery figure:first-child { grid-column: span 2; grid-row: span 2; }

/* An even grid, for a gallery whose images are all the same weight. The
   featured-tile layout above needs one frame strong enough to carry it and a
   source big enough to fill it; where neither holds, equal tiles read better
   than a hero tile that has been upscaled to fit. */
.gallery--even { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
.gallery--even figure:first-child { grid-column: auto; grid-row: auto; }
@media (max-width: 900px) {
  .gallery--even { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
}
@media (max-width: 560px) {
  .gallery--even { grid-template-columns: 1fr; grid-auto-rows: 220px; }
}
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px;
  font-size: 12px; letter-spacing: 0.08em; color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.8));
}
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; } }

/* ─── Process steps ────────────────────────────────────────────────────── */
.steps {
  list-style: none; margin: 44px 0 0; padding: 0; counter-reset: step;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px;
}
.steps li { counter-increment: step; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.2); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 44px; color: var(--accent);
  line-height: 1; display: block; margin-bottom: 12px;
}
.steps h3 { font-size: 22px; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: rgba(255,255,255,0.7); margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .steps { grid-template-columns: 1fr; } }

/* ─── Who we serve ─────────────────────────────────────────────────────── */
.serve { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 48px; margin-top: 40px; }
.serve div { padding: 22px 0; border-top: 1px solid var(--line); }
.serve h3 { font-size: 22px; margin-bottom: 6px; }
.serve p { margin: 0; font-size: 15.5px; }
@media (max-width: 780px) { .serve { grid-template-columns: 1fr; } }

/* ─── Owner note ───────────────────────────────────────────────────────── */
.owner {
  display: grid; grid-template-columns: 200px 1fr; gap: 36px; align-items: center;
  margin-top: 60px; padding: 34px; border: 1px solid var(--line);
  border-radius: 4px; background: #fff;
}
.owner .media { width: 200px; height: 200px; border-radius: 4px; overflow: hidden; }
.owner .media img { width: 100%; height: 100%; object-fit: cover; }
.owner blockquote { margin: 0; font-family: var(--display); font-size: 24px; color: var(--ink); line-height: 1.34; }
.owner cite { display: block; font-style: normal; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--body-ink); margin-top: 16px; }
@media (max-width: 660px) { .owner { grid-template-columns: 1fr; } .owner .media { width: 100%; height: 220px; } }

/* ─── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin-top: 40px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; font-weight: 600; font-size: 18px;
  color: var(--ink); padding: 22px 44px 22px 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+'; position: absolute; right: 2px; top: 16px;
  font-family: var(--display); font-size: 30px; color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 22px; margin: 0; max-width: 66ch; }

/* ─── Estimate / enquiry form ──────────────────────────────────────────── */
.estimate { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: start; margin-top: 44px; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 4px; padding: 32px; }
.form label { display: block; font-weight: 600; font-size: 13px; letter-spacing: 0.06em; color: var(--ink); margin: 0 0 7px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 4px;
  font: inherit; color: var(--ink); background: #fff; margin-bottom: 18px;
}
.form textarea { min-height: 96px; resize: vertical; }
.form .btn { width: 100%; }
.form .fine { font-size: 13px; margin: 14px 0 0; color: var(--body-ink); }
.success { display: none; background: var(--paper); border-left: 2px solid var(--accent); border-radius: 4px; padding: 22px 24px; margin-top: 18px; }
.success.show { display: block; }
.success strong { font-family: var(--display); font-size: 22px; color: var(--ink); display: block; margin-bottom: 6px; }
.call { padding: 32px; border-radius: 4px; background: var(--ink); color: rgba(255,255,255,0.72); }
.call h3 { color: #fff; font-size: 26px; margin-bottom: 8px; }
.call a.num { display: block; font-family: var(--display); font-size: 40px; color: #fff; text-decoration: none; margin: 12px 0; }
.call p { font-size: 15.5px; margin: 0; }
@media (max-width: 900px) { .estimate { grid-template-columns: 1fr; } }

/* ─── Footer ───────────────────────────────────────────────────────────── */
footer { background: var(--ink-deep); color: rgba(255,255,255,0.5); padding: 52px 0 110px; font-size: 13.5px; }
footer .wrap { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer a { color: #fff; text-decoration: none; }
.built a { color: var(--accent); font-weight: 600; }

/* ─── Sticky mobile action bar ─────────────────────────────────────────── */
.stickybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 35; display: none; gap: 10px;
  padding: 10px 12px; background: #fff; border-top: 1px solid var(--line);
  box-shadow: 0 -10px 30px rgba(0,0,0,0.08);
}
.stickybar .btn { flex: 1; padding: 14px 10px; font-size: 15px; }
@media (max-width: 900px) { .stickybar { display: flex; } footer { padding-bottom: 120px; } }

/* ─── Scroll reveals ───────────────────────────────────────────────────── */
/* Gated on `.js`, which the page sets in <head>. Without scripting the content
   is simply visible rather than stuck at opacity 0. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.js .reveal.visible { opacity: 1; transform: none; transition: opacity .7s ease, transform .7s ease; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal.visible { opacity: 1; transform: none; transition: none; }
}

/* ─── Composed artwork ─────────────────────────────────────────────────────
   Each demo renders its imagery from its own tokens rather than shipping grey
   placeholder boxes. Every panel is a layered composition — a directional
   ground, an accent light, and an architectural motif drawn from the trade.
   It is finished work, not a hole waiting for a photograph.

   To use a real photograph instead: drop an <img> inside the container and
   remove the `art` class. The `data-shot` attribute on each panel names the
   photograph that belongs there; append ?shots to the URL to see those notes
   rendered on the page.
   -------------------------------------------------------------------------- */
.art { position: relative; overflow: hidden; background: var(--ink); }

/* Ground: a directional wash from a lifted tint down into the deep ink. */
.art::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(112% 82% at 74% 16%,
      color-mix(in srgb, var(--accent) 42%, transparent) 0%,
      transparent 58%),
    radial-gradient(90% 70% at 12% 88%,
      color-mix(in srgb, var(--paper) 20%, transparent) 0%,
      transparent 62%),
    linear-gradient(157deg,
      color-mix(in srgb, var(--ink) 62%, #ffffff 38%) 0%,
      var(--ink) 52%,
      var(--ink-deep) 100%);
}
@supports not (color: color-mix(in srgb, red, blue)) {
  .art::before {
    background: linear-gradient(157deg, #4a5666 0%, var(--ink) 52%, var(--ink-deep) 100%);
  }
}

/* Motif: fine ruled geometry, faded out so it reads as texture, not pattern. */
.art::after {
  content: ''; position: absolute; inset: 0;
  opacity: 0.95;
  -webkit-mask-image: linear-gradient(200deg, #000 4%, rgba(0,0,0,0.45) 58%, transparent 94%);
  mask-image: linear-gradient(200deg, #000 4%, rgba(0,0,0,0.45) 58%, transparent 94%);
}

/* Roofline — pitched rules converging, the geometry of a gable. */
.art--roof::after {
  background:
    repeating-linear-gradient(38deg,  rgba(255,255,255,0.20) 0 1px, transparent 1px 26px),
    repeating-linear-gradient(-38deg, rgba(255,255,255,0.11) 0 1px, transparent 1px 40px),
    repeating-linear-gradient(38deg,  rgba(255,255,255,0.07) 0 2px, transparent 2px 130px);
}
/* Colonnade — vertical light, the geometry of a portico. */
.art--columns::after {
  background:
    repeating-linear-gradient(90deg,
      rgba(255,255,255,0.22) 0 1px,
      transparent 1px 7px,
      rgba(255,255,255,0.08) 7px 8px,
      transparent 8px 46px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 138px);
}
/* Ledger — ruled columns and rows, the geometry of a page of figures. */
.art--ledger::after {
  background:
    repeating-linear-gradient(0deg,  rgba(255,255,255,0.13) 0 1px, transparent 1px 19px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.20) 0 1px, transparent 1px 76px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.07) 0 2px, transparent 2px 228px);
}

/* One accent mark per large panel — the single bright note in the composition. */
.art > .art-rule { position: absolute; z-index: 1; background: var(--accent); }
.hero .art > .art-rule    { left: 0; bottom: 0; width: 34%; height: 3px; }
.service .art > .art-rule { left: 0; bottom: 0; width: 44%; height: 3px; }

/* Variation: each panel gets its own light source, so a column of them never
   reads as one tile repeated. Position, warmth and motif weight all shift. */
.service:nth-of-type(2) .art::before {
  background:
    radial-gradient(96% 76% at 18% 22%, color-mix(in srgb, var(--accent) 52%, transparent) 0%, transparent 56%),
    linear-gradient(28deg, var(--ink-deep) 0%, var(--ink) 46%, color-mix(in srgb, var(--ink) 56%, #ffffff 44%) 100%);
}
.service:nth-of-type(2) .art::after { opacity: 0.62; }
.service:nth-of-type(3) .art::before {
  background:
    radial-gradient(120% 92% at 88% 84%, color-mix(in srgb, var(--accent) 34%, transparent) 0%, transparent 62%),
    linear-gradient(198deg, color-mix(in srgb, var(--ink) 50%, #ffffff 50%) 0%, var(--ink) 58%, var(--ink-deep) 100%);
}

.gallery figure:nth-child(2n) .art::before { transform: scaleX(-1); }
.gallery figure:nth-child(3n) .art::before {
  background:
    radial-gradient(108% 84% at 22% 78%, color-mix(in srgb, var(--accent) 46%, transparent) 0%, transparent 58%),
    linear-gradient(12deg, var(--ink-deep) 0%, var(--ink) 62%, color-mix(in srgb, var(--ink) 60%, #ffffff 40%) 100%);
}
.gallery figure:nth-child(4n) .art::after { opacity: 0.5; }
.gallery figure:nth-child(5n) .art::before {
  background:
    radial-gradient(96% 90% at 62% 12%, color-mix(in srgb, var(--paper) 34%, transparent) 0%, transparent 60%),
    linear-gradient(212deg, var(--ink) 0%, var(--ink-deep) 78%);
}

/* The hero carries the composition at full scale, with the light high and wide. */
.hero .hero-media.art::before {
  background:
    radial-gradient(78% 86% at 82% 8%, color-mix(in srgb, var(--accent) 58%, transparent) 0%, transparent 54%),
    radial-gradient(70% 60% at 96% 62%, color-mix(in srgb, var(--accent) 26%, transparent) 0%, transparent 66%),
    radial-gradient(84% 72% at 6% 96%, color-mix(in srgb, var(--paper) 16%, transparent) 0%, transparent 60%),
    linear-gradient(163deg, color-mix(in srgb, var(--ink) 54%, #ffffff 46%) 0%, var(--ink) 46%, var(--ink-deep) 100%);
}
.hero .hero-media.art::after {
  opacity: 0.7;
  -webkit-mask-image: linear-gradient(232deg, #000 0%, rgba(0,0,0,0.3) 52%, transparent 82%);
  mask-image: linear-gradient(232deg, #000 0%, rgba(0,0,0,0.3) 52%, transparent 82%);
}

/* Shot notes: hidden by default so the page reads as finished work.
   Append ?shots to the URL to render them for a photography brief. */
.art[data-shot]::marker { content: none; }
.shot-note { display: none; }
.show-shots .shot-note {
  display: block; position: absolute; z-index: 2; left: 0; bottom: 0;
  padding: 8px 12px; font-family: var(--body-font);
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); background: var(--accent);
}

/* ─── Assistant widget ─────────────────────────────────────────────────── */
.ai-bubble {
  position: fixed; right: 20px; bottom: 20px; z-index: 50;
  display: flex; align-items: center; gap: 10px; padding: 13px 20px 13px 15px;
  border-radius: 999px; background: var(--ink); color: #fff; border: 0; cursor: pointer;
  font: 600 14px var(--body-font); letter-spacing: 0.04em;
  box-shadow: 0 14px 34px rgba(0,0,0,0.3);
}
.ai-bubble .pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
@media (prefers-reduced-motion: no-preference) {
  .ai-bubble .pulse { animation: aiPulse 2.4s infinite; }
  @keyframes aiPulse { 0% { opacity: .45 } 50% { opacity: 1 } 100% { opacity: .45 } }
}
@media (max-width: 900px) { .ai-bubble { bottom: 78px; } }

.ai-panel {
  position: fixed; right: 20px; bottom: 88px; z-index: 51;
  width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px));
  background: #fff; border-radius: 6px; border: 1px solid var(--line);
  box-shadow: 0 30px 70px rgba(0,0,0,0.32);
  display: none; flex-direction: column; overflow: hidden;
}
.ai-panel.open { display: flex; }
@media (max-width: 900px) { .ai-panel { bottom: 140px; } }
.ai-head { display: flex; align-items: center; justify-content: space-between; padding: 16px; background: var(--ink); color: #fff; }
.ai-head b { display: block; font-size: 14px; letter-spacing: 0.04em; }
.ai-head small { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-top: 3px; }
.ai-head button { background: transparent; border: 0; color: #fff; font-size: 22px; cursor: pointer; line-height: 1; padding: 4px 6px; }
.ai-log { flex: 1; overflow: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--paper); }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 4px; font-size: 14.5px; line-height: 1.45; }
.msg.a { background: #fff; border: 1px solid var(--line); color: var(--ink); align-self: flex-start; }
.msg.u { background: var(--ink); color: #fff; align-self: flex-end; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.chip {
  background: #fff; border: 1px solid var(--ink); color: var(--ink);
  border-radius: 999px; padding: 8px 14px; font: 500 13.5px var(--body-font); cursor: pointer;
}
.chip:hover { background: var(--ink); color: #fff; }
.booked {
  align-self: flex-start; background: #fff; color: var(--ink);
  border: 1px solid var(--accent); border-left-width: 2px; border-radius: 4px;
  padding: 11px 14px; font-size: 13.5px; font-weight: 600;
}
.ai-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.ai-input input { flex: 1; padding: 12px 14px; border: 1px solid var(--line); border-radius: 4px; font: inherit; }
.ai-input button { padding: 12px 18px; border-radius: 4px; border: 0; background: var(--accent); color: #fff; font: 600 14px var(--body-font); cursor: pointer; }
.ai-input button:hover { background: var(--accent-hover); }
.ai-foot { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--body-ink); text-align: center; padding: 8px 10px 11px; background: #fff; }
