/* ==========================================================================
   Decorating Business (demo)
   Layout system after Duna (duna.com) — art band + clean type below,
   two-shape button system, single accent, no shadows/gradients on UI.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink */
  --ink:        #15171a;
  --ink-70:     #4a5157;
  --ink-45:     #7c848b;
  --ink-25:     #aeb4b9;

  /* Ground */
  --ground:     #fcfbf9;
  --ground-2:   #f3f0eb;
  --ground-3:   #e9e4dc;
  --line:       rgba(21, 23, 26, .09);
  --line-2:     rgba(21, 23, 26, .16);

  /* Accent — "Studio Green". The one saturated colour on the site. */
  --green:      #1e3b32;
  --green-2:    #16302a;
  --green-3:    #2c5348;
  --green-tint: #eaf0ed;

  /* Painterly art palette */
  --clay:   #c67a4b;
  --sand:   #e7d3b3;
  --blush:  #e9b9a3;
  --sky:    #9fbfd0;
  --dusk:   #6b7fa3;
  --moss:   #7e9070;
  --amber:  #e0a05c;

  /* Type */
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system,
          "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --gut:        clamp(20px, 4vw, 32px);
  --section-y:  clamp(64px, 9vw, 132px);
  --maxw:       1180px;
  --maxw-tight: 720px;

  /* Radii */
  --r-pill: 999px;
  --r-lg:   20px;
  --r-md:   14px;
  --r-sm:   10px;

  /* Motion */
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* Brush-grain overlay, used on every painterly surface. Self-contained. */
:root {
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.022em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0; text-decoration: none;
}
.skip:focus { left: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: var(--section-y); }
/* Sand-toned section that follows a --ground one. The tone arrives over a
   band rather than at an edge, so there's no seam under the hero buttons. */
.section--sand {
  background: linear-gradient(to bottom,
    var(--ground) 0,
    var(--ground-2) clamp(90px, 12vw, 160px));
}

.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;
}

/* --------------------------------------------------------------------------
   3. Type scale
   -------------------------------------------------------------------------- */
.display {
  font-size: clamp(2.5rem, 6.6vw, 4.6rem);
  letter-spacing: -.035em;
  line-height: 1.02;
}
.h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  letter-spacing: -.03em;
  line-height: 1.08;
}
.h3 { font-size: clamp(1.2rem, 2vw, 1.42rem); letter-spacing: -.02em; }

.lede  { font-size: clamp(1.02rem, 1.5vw, 1.16rem); color: var(--ink-70); line-height: 1.62; }
.muted { color: var(--ink-70); }
.small { font-size: .875rem; }

.eyebrow {
  font-size: .78rem;
  letter-spacing: .04em;
  color: var(--ink-45);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   4. Buttons — exactly two shapes
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: .95rem; font-weight: 500; letter-spacing: -.01em;
  text-decoration: none; cursor: pointer;
  transition: background-color .22s var(--ease), color .22s var(--ease),
              border-color .22s var(--ease), transform .22s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--dark { background: var(--ink); color: var(--ground); }
.btn--dark:hover { background: #000; }

.btn--light {
  background: transparent; color: var(--ink); border-color: var(--line-2);
}
.btn--light:hover { background: var(--ground-2); border-color: var(--line-2); }

.btn--onDark { background: #fff; color: var(--ink); }
.btn--onDark:hover { background: var(--ground-2); }

.btn--sm { padding: 9px 17px; font-size: .875rem; }
.btn--block { width: 100%; justify-content: center; }

/* Text link with arrow */
.arrow-link {
  display: inline-flex; align-items: center; gap: 7px;
  text-decoration: none; font-weight: 500; font-size: .95rem;
  border-bottom: 1px solid var(--line-2); padding-bottom: 2px;
  transition: border-color .2s var(--ease), gap .2s var(--ease);
}
.arrow-link:hover { border-color: var(--ink); gap: 11px; }
.arrow-link svg { flex: none; }

/* --------------------------------------------------------------------------
   5. Painterly art surfaces
   -------------------------------------------------------------------------- */
.art { position: relative; overflow: hidden; background: var(--ground-3); }
.art::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain);
  opacity: .16; mix-blend-mode: multiply; pointer-events: none;
}

/* A wall in raking afternoon light — the hero. */
.art--wall {
  background:
    radial-gradient(120% 90% at 78% 8%,  rgba(255, 246, 232, .95) 0%, rgba(255, 246, 232, 0) 55%),
    radial-gradient(90% 70% at 18% 92%,  rgba(198, 122, 75, .30)  0%, rgba(198, 122, 75, 0)  62%),
    radial-gradient(100% 80% at 92% 78%, rgba(159, 191, 208, .34) 0%, rgba(159, 191, 208, 0) 60%),
    linear-gradient(168deg, #f0dcc0 0%, #e8cdb0 34%, #e5c3ae 58%, #dbc5c2 78%, #d8cfc6 100%);
}

.art--dawn {
  background:
    radial-gradient(90% 70% at 70% 18%, rgba(255, 240, 214, .92) 0%, rgba(255, 240, 214, 0) 58%),
    linear-gradient(160deg, #e8a86a 0%, #dd8f5c 40%, #b9705a 70%, #7d5a63 100%);
}
.art--sage {
  background:
    radial-gradient(85% 65% at 26% 22%, rgba(240, 246, 236, .9) 0%, rgba(240, 246, 236, 0) 60%),
    linear-gradient(155deg, #9fb190 0%, #7e9070 45%, #5c7360 78%, #3c5148 100%);
}
.art--clay {
  background:
    radial-gradient(80% 70% at 74% 20%, rgba(255, 236, 214, .88) 0%, rgba(255, 236, 214, 0) 58%),
    linear-gradient(158deg, #d99a63 0%, #c67a4b 46%, #a45f45 76%, #6f4340 100%);
}
.art--dusk {
  background:
    radial-gradient(90% 70% at 62% 14%, rgba(238, 226, 240, .8) 0%, rgba(238, 226, 240, 0) 60%),
    linear-gradient(162deg, #a9b6cd 0%, #8090ae 42%, #5c6b8c 72%, #38415e 100%);
}
.art--sand {
  background:
    radial-gradient(85% 70% at 30% 20%, rgba(255, 250, 240, .95) 0%, rgba(255, 250, 240, 0) 62%),
    linear-gradient(160deg, #f0e2c8 0%, #e7d3b3 48%, #d3bb98 100%);
}

/* --------------------------------------------------------------------------
   6. Header / nav
   -------------------------------------------------------------------------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}
/* Over the hero photo the header has no bar of its own — just a wash that
   dissolves downward, mirroring the fade at the bottom of the art band. It
   buys the nav its contrast without drawing a line across the picture. */
.header::before {
  content: ""; position: absolute; inset: 0 0 -38px 0; z-index: -1;
  pointer-events: none;
  background: linear-gradient(to bottom,
    rgba(252, 251, 249, .80) 0%,
    rgba(252, 251, 249, .46) 50%,
    rgba(252, 251, 249, 0)  100%);
  transition: opacity .3s var(--ease);
}
.header.is-stuck::before { opacity: 0; }
.header.is-stuck {
  background: rgba(252, 251, 249, .86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
}
/* Three columns rather than space-between, so the nav stays optically
   centred even though the right-hand slot is empty on desktop. */
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 20px; height: 74px;
  /* Wider than --maxw on purpose: the brand belongs near the edge of the
     screen, not indented to the text column. */
  max-width: 1520px;
}
.brand { justify-self: start; grid-column: 1; }
/* Explicit column: when .nav is display:none on mobile it leaves the grid
   entirely, and auto-placement would drop this into the middle column. */
.header__cta { justify-self: end; grid-column: 3; }

.brand {
  display: inline-flex; align-items: center; gap: 13px;
  text-decoration: none; flex: none;
}
.brand__mark { width: 40px; height: 40px; flex: none; border-radius: 9px; }

/* Deliberate two-line lockup: name, then descriptor tracked out beneath it. */
.brand__name {
  display: flex; flex-direction: column; gap: 3px;
  line-height: 1; white-space: nowrap;
}
.brand__name b {
  font-size: 1.06rem; font-weight: 600;
  letter-spacing: .085em; text-transform: uppercase;
}
.brand__name span {
  font-size: .7rem; font-weight: 500; color: var(--ink-45);
  letter-spacing: .225em; text-transform: uppercase;
}

/* Gap is small because the padding below does the spacing now — the links
   need a real hit area, not just their glyph bounds. */
.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  text-decoration: none; font-size: 1rem; font-weight: 500; color: var(--ink);
  padding: 11px 16px; border-radius: var(--r-pill);
  transition: background-color .2s var(--ease);
}
.nav a:hover { background: rgba(21, 23, 26, .07); }
.nav a:focus-visible { border-radius: var(--r-pill); }
.nav a[data-inert] { cursor: default; }

.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line-2);
  border-radius: var(--r-pill); padding: 8px 14px; cursor: pointer;
  font-size: .875rem; align-items: center; gap: 8px;
}

/* Mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 110;
  background: var(--ground);
  display: flex; flex-direction: column;
  padding: 22px var(--gut) 40px;
  transform: translateY(-100%);
  transition: transform .38s var(--ease);
  visibility: hidden;
}
.sheet.is-open { transform: translateY(0); visibility: visible; }
.sheet__top { display: flex; align-items: center; justify-content: space-between; height: 52px; }
.sheet__close {
  background: none; border: 1px solid var(--line-2); border-radius: var(--r-pill);
  padding: 8px 14px; cursor: pointer; font-size: .875rem;
}
.sheet__nav { display: flex; flex-direction: column; gap: 4px; margin-top: 34px; }
.sheet__nav a {
  text-decoration: none; font-size: 1.55rem; font-weight: 500;
  letter-spacing: -.02em; padding: 12px 0; border-bottom: 1px solid var(--line);
}
.sheet__nav a[data-inert] { color: var(--ink-45); }
.sheet__foot { margin-top: auto; display: grid; gap: 12px; }

@media (max-width: 900px) {
  .nav { display: none; }
  .header__cta .btn--phone-label { display: none; }
  .nav-toggle { display: inline-flex; }
  /* Never below a 44px tap target. */
  .header__cta .btn { min-height: 44px; justify-content: center; padding: 10px 16px; }
  .nav-toggle { min-height: 44px; }
}

/* Below this the wordmark, CTA and menu button stop fitting side by side.
   Shed the least important text first: "Decorating", then "Menu". */
@media (max-width: 620px) {
  .nav-toggle__label { display: none; }
  .nav-toggle { min-width: 44px; justify-content: center; padding: 8px; }
  .header__inner { gap: 10px; }
  .brand__mark { width: 34px; height: 34px; border-radius: 8px; }
  .brand__name b { font-size: .96rem; }
}

/* --------------------------------------------------------------------------
   7b. Mobile sticky call bar
   On a phone the number is the conversion. Keep it one thumb away.
   -------------------------------------------------------------------------- */
.callbar { display: none; }

@media (max-width: 900px) {
  .callbar {
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 10px;
    position: fixed; z-index: 90;
    inset: auto 0 0 0;
    padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(252, 251, 249, .93);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-top: 1px solid var(--line);
  }
  .callbar .btn { min-height: 48px; justify-content: center; }
  body { padding-bottom: 78px; }
  .toast { bottom: 90px; }
}

/* --------------------------------------------------------------------------
   7. Hero — art band that dissolves into the page
   -------------------------------------------------------------------------- */
/* Bottom padding matters here: without it the buttons sit flush on the
   section boundary and the tone starts changing the pixel they end. */
.hero { position: relative; padding-bottom: clamp(56px, 7vw, 104px); }

.hero__art {
  position: relative;
  /* + the header height, which now overlaps the art rather than sitting
     above it, so the visible band below the nav is unchanged. */
  height: calc(clamp(380px, 66vh, 660px) + 74px);
}
/* Phones crop hard horizontally at full height, which loses the window and
   the ladder. A shorter band keeps the whole room in frame. */
@media (max-width: 640px) {
  .hero__art { height: calc(clamp(320px, 50vh, 420px) + 74px); }
}

/* Photo hero. The gradient is a second background layer, so if the JPEG
   is missing the painted wall shows through instead of a blank box.
   66% vertical anchor keeps the ladder whole and lets the dust sheet and
   tins ghost through the bottom of the fade. */
.hero__art--photo {
  background:
    url("assets/hero-bridge.jpg") center 10% / cover no-repeat,
    radial-gradient(120% 90% at 78% 8%,  rgba(255, 246, 232, .95) 0%, rgba(255, 246, 232, 0) 55%),
    linear-gradient(168deg, #f0dcc0 0%, #e8cdb0 34%, #e5c3ae 58%, #dbc5c2 78%, #d8cfc6 100%);
}
/* Photos carry their own texture — keep the grain almost off. */
.hero__art--photo::after { opacity: .06; }

/* The dissolve. A long, soft wash so the photo melts into the page rather
   than stopping at an edge — and so type never sits on top of the image. */
.hero__art::before {
  content: ""; position: absolute; inset: auto 0 -1px 0; height: 46%;
  background: linear-gradient(to bottom,
    rgba(252, 251, 249, 0)    0%,
    rgba(252, 251, 249, .18) 24%,
    rgba(252, 251, 249, .48) 46%,
    rgba(252, 251, 249, .78) 66%,
    rgba(252, 251, 249, .95) 84%,
    var(--ground)           100%);
  z-index: 2;
}
.hero__brush {
  position: absolute; inset: 0; z-index: 1;
  opacity: .5; mix-blend-mode: soft-light;
}

.hero__body { position: relative; z-index: 3; text-align: center; margin-top: -78px; }
.hero__body .display { max-width: 15ch; margin-inline: auto; }

/* A full sentence as the headline needs a smaller size and a wider measure
   than a two-beat line. text-wrap:balance evens the rag out at any width. */
.hero__body .display--long {
  font-size: clamp(1.85rem, 4.3vw, 3.25rem);
  letter-spacing: -.028em;
  line-height: 1.08;
  max-width: 21ch;
  text-wrap: balance;
}

.hero__sub { max-width: 46ch; margin: 22px auto 0; }
.hero__actions {
  display: flex; flex-wrap: wrap; gap: 12px;
  justify-content: center; margin-top: 30px;
}
/* Solid white, not the default transparent light pill — it has to hold its
   own next to the black button and against the photo above it. */
.hero__actions .btn--light {
  background: #fff;
  border-color: rgba(21, 23, 26, .12);
}
.hero__actions .btn--light:hover { background: var(--ground-2); }
.hero__note {
  margin-top: 20px; font-size: .85rem; color: var(--ink-45);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--moss); flex: none; }

@media (max-width: 640px) {
  .hero__body { margin-top: -56px; }
}

/* --------------------------------------------------------------------------
   8. Areas marquee (Duna's logo bar slot)
   -------------------------------------------------------------------------- */
.marquee-block { padding-block: clamp(46px, 7vw, 74px) 0; text-align: center; }

/* Static wrapped list, not a marquee. A scrolling track can only ever show
   a few at a time and has to fade at both edges — these all need reading. */
.services {
  list-style: none; margin: 20px auto 0; padding: 0;
  max-width: 940px;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px;
}
.services li {
  padding: 9px 17px;
  border-radius: var(--r-pill);
  background: var(--ground-2);
  border: 1px solid var(--line);
  font-size: .92rem; font-weight: 500;
  color: var(--ink); letter-spacing: -.01em;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .services { gap: 8px; }
  .services li { padding: 8px 14px; font-size: .86rem; }
}
.marquee {
  margin-top: 22px; overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex; width: max-content; gap: 46px;
  animation: slide 42s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  font-size: 1.06rem; font-weight: 500; color: var(--ink-25);
  letter-spacing: -.01em; white-space: nowrap;
  display: flex; align-items: center; gap: 46px;
}
.marquee__item::after {
  content: ""; width: 4px; height: 4px; border-radius: 50%;
  background: var(--ink-25); opacity: .55;
}
@keyframes slide { to { transform: translateX(-50%); } }

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------------------------
   9. Prep hub (Duna's Policy Engine)
   -------------------------------------------------------------------------- */
.hub-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 28px; flex-wrap: wrap;
}
.hub-head__text { max-width: 46ch; }
.hub-head .lede { margin-top: 14px; }

.hub {
  margin-top: clamp(44px, 7vw, 78px);
  display: grid; place-items: center;
  /* Explicit middle track. An `auto` track sizes from max-content and
     collapses under the core's clamped width, squashing the diagram. */
  grid-template-columns: 1fr minmax(240px, 320px) 1fr;
  grid-template-rows: auto auto auto;
  gap: 26px;
  position: relative;
}
.hub__node {
  background: var(--ground-2);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 12px 24px;
  font-size: .95rem; font-weight: 500;
  display: inline-flex; align-items: center; gap: 10px;
  position: relative; z-index: 2;
}
.hub__node b {
  font-weight: 500; font-size: .72rem; color: var(--ink-45);
  font-variant-numeric: tabular-nums;
}
.hub__node--top    { grid-area: 1 / 2; }
.hub__node--left   { grid-area: 2 / 1; justify-self: end; }
.hub__node--right  { grid-area: 2 / 3; justify-self: start; }
.hub__node--bottom { grid-area: 3 / 2; }

.hub__core {
  grid-area: 2 / 2;
  position: relative; z-index: 2;
  width: 100%;
  aspect-ratio: 5 / 2.35;
  border-radius: var(--r-pill);
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 0 0 8px rgba(252, 251, 249, .72), 0 0 0 15px rgba(252, 251, 249, .42);
}
.hub__core span {
  font-size: clamp(1.15rem, 2.2vw, 1.5rem); font-weight: 600;
  letter-spacing: -.02em;
  text-shadow: 0 1px 14px rgba(60, 30, 10, .3);
  position: relative; z-index: 2;
}

/* dotted connectors */
.hub__line { position: absolute; z-index: 1; border-color: var(--line-2); }
.hub__line--v {
  left: 50%; transform: translateX(-50%);
  border-left: 1px dashed var(--ink-25); height: 100%;
  top: 0;
}
.hub__line--h {
  top: 50%; transform: translateY(-50%);
  border-top: 1px dashed var(--ink-25); width: 100%;
  left: 0;
}

@media (max-width: 760px) {
  .hub {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(5, auto);
    gap: 14px;
  }
  .hub__node--top    { grid-area: 1 / 1; }
  .hub__core         { grid-area: 2 / 1; width: min(320px, 86%); }
  .hub__node--left   { grid-area: 3 / 1; justify-self: center; }
  .hub__node--right  { grid-area: 4 / 1; justify-self: center; }
  .hub__node--bottom { grid-area: 5 / 1; }
  .hub__line--h { display: none; }
}

/* --------------------------------------------------------------------------
   10. Reviews bento
   -------------------------------------------------------------------------- */
.section-head { text-align: center; max-width: 52ch; margin-inline: auto; }
.section-head .lede { margin-top: 16px; }

.bento {
  margin-top: clamp(38px, 6vw, 60px);
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.tile {
  border-radius: var(--r-lg);
  overflow: hidden;
  position: relative;
  min-height: 210px;
  display: flex; flex-direction: column;
}
.tile--plain { background: var(--ground-2); border: 1px solid var(--line); }

.tile--review { padding: 26px; justify-content: space-between; gap: 20px; }
.tile--review.on-art { color: #fff; border: 0; }
.tile--review.on-art .tile__meta { color: rgba(255, 255, 255, .82); }
.tile__quote {
  font-size: 1.02rem; line-height: 1.5; letter-spacing: -.012em;
  position: relative; z-index: 2;
}
.tile__foot {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 14px; position: relative; z-index: 2;
}
.tile__meta { font-size: .84rem; color: var(--ink-45); }
.tile__meta strong { display: block; color: inherit; font-weight: 600; font-size: .92rem; }
.tile--review.on-art .tile__meta strong { color: #fff; }

.stars { display: flex; gap: 2px; margin-bottom: 14px; position: relative; z-index: 2; }
.stars svg { width: 15px; height: 15px; }

.gbadge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .76rem; color: var(--ink-45);
  background: rgba(255, 255, 255, .7);
  border: 1px solid var(--line);
  border-radius: var(--r-pill); padding: 4px 10px;
}
.tile--review.on-art .gbadge {
  background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .28);
  color: #fff;
}

.tile--art { min-height: 210px; }

.tile--link {
  padding: 26px; text-decoration: none;
  justify-content: space-between; gap: 18px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.tile--link:hover { background: var(--ground-3); border-color: var(--line-2); }
.tile--link .gbadge { align-self: flex-start; }
.tile__link-body { display: grid; gap: 5px; }
.tile__link-body strong {
  font-size: 1.02rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.35;
}
.tile--link .arrow-link { align-self: flex-start; border-bottom-color: var(--line-2); }
.tile--stat {
  padding: 26px; justify-content: center; align-items: flex-start; gap: 6px;
}
.tile--stat .big {
  font-size: clamp(2.1rem, 4.4vw, 2.9rem); font-weight: 600;
  letter-spacing: -.035em; line-height: 1;
}

/* spans */
.sp-4 { grid-column: span 4; }
.sp-5 { grid-column: span 5; }
.sp-6 { grid-column: span 6; }
.sp-7 { grid-column: span 7; }
.sp-8 { grid-column: span 8; }
.sp-12 { grid-column: span 12; }

@media (max-width: 900px) {
  .sp-4, .sp-5, .sp-7, .sp-8 { grid-column: span 6; }
}
@media (max-width: 620px) {
  .sp-4, .sp-5, .sp-6, .sp-7, .sp-8 { grid-column: span 12; }
}

.bento__after {
  margin-top: 26px; display: flex; justify-content: center;
}

/* --------------------------------------------------------------------------
   11. Person split (Duna Foundation slot)
   -------------------------------------------------------------------------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 72px); align-items: center;
}
.split__text { max-width: 44ch; }
.split__text p + p { margin-top: 16px; }
.split__media {
  border-radius: var(--r-lg); overflow: hidden;
  aspect-ratio: 1 / 1;
}
.split__sig {
  margin-top: 26px; display: flex; align-items: center; gap: 14px;
  padding-top: 22px; border-top: 1px solid var(--line);
}
.split__sig .name { font-weight: 600; letter-spacing: -.015em; }
.split__sig .role { font-size: .86rem; color: var(--ink-45); }

@media (max-width: 800px) {
  .split { grid-template-columns: 1fr; }
  .split__media { order: -1; aspect-ratio: 16 / 11; }
}

/* --------------------------------------------------------------------------
   12. Standards card row (Duna's "in the media" slot)
   -------------------------------------------------------------------------- */
.cardrow {
  margin-top: clamp(30px, 5vw, 46px);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.card {
  background: var(--ground-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 22px;
}
.card__icon {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--green-tint); color: var(--green);
  display: grid; place-items: center; margin-bottom: 16px;
}
.card h3 { font-size: 1rem; letter-spacing: -.015em; }
.card p { margin-top: 7px; font-size: .9rem; color: var(--ink-70); line-height: 1.55; }

/* Services page: 9 cards read better 3-up than 4-up. */
.cardrow--svc { grid-template-columns: repeat(3, 1fr); }

/* About page: three quiet facts in a row. */
.statrow {
  margin-top: clamp(34px, 5vw, 52px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.statrow > div {
  background: var(--ground-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 20px 22px;
}
.statrow strong {
  display: block; font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 600; letter-spacing: -.02em;
}
.statrow span { font-size: .88rem; color: var(--ink-70); }
@media (max-width: 640px) { .statrow { grid-template-columns: 1fr; } }

@media (max-width: 900px) { .cardrow { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cardrow { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   13. Recent work (Duna's resources index)
   -------------------------------------------------------------------------- */
.work-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.work-head .lede { margin-top: 12px; max-width: 48ch; }

.gallery {
  margin-top: clamp(28px, 4vw, 44px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

/* Each tile is a button so the gallery is keyboard-operable. */
.shot {
  appearance: none; background: none; border: 0; padding: 0; margin: 0;
  font: inherit; color: inherit; text-align: left;
  cursor: pointer; display: block; width: 100%;
  border-radius: var(--r-md);
}
.shot:focus-visible { outline: 2px solid var(--green); outline-offset: 4px; }

.shot__media {
  display: block; position: relative; overflow: hidden;
  aspect-ratio: 4 / 3; border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.shot__media > * {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.shot:hover .shot__media > * { transform: scale(1.035); }

/* Hover affordance */
.shot__media::after {
  content: ""; position: absolute; inset: 0;
  background: rgba(21, 23, 26, .16);
  opacity: 0; transition: opacity .3s var(--ease);
}
.shot:hover .shot__media::after, .shot:focus-visible .shot__media::after { opacity: 1; }

.shot__zoom {
  position: absolute; z-index: 2; right: 12px; bottom: 12px;
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255, 255, 255, .94); color: var(--ink);
  display: grid; place-items: center;
  opacity: 0; transform: translateY(6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}
.shot:hover .shot__zoom, .shot:focus-visible .shot__zoom { opacity: 1; transform: none; }

.shot__body { display: block; padding: 13px 2px 0; }
.shot__body h3 { font-size: .97rem; letter-spacing: -.015em; }
.shot__tags {
  margin-top: 6px; font-size: .82rem; color: var(--ink-45);
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
}
.shot__tags i { font-style: normal; display: flex; align-items: center; gap: 8px; }
.shot__tags i + i::before {
  content: ""; width: 3px; height: 3px; border-radius: 50%;
  background: var(--ink-25);
}

@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }

/* --- Photo placeholder ------------------------------------------------
   One consistent neutral instead of a rainbow of coloured blobs, so the
   grid reads as "photos pending" rather than as a design decision. */
.ph {
  background:
    linear-gradient(158deg, #efece5 0%, #e7e2d9 52%, #ddd7cc 100%);
}
.ph::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='46' height='46' fill='none' stroke='%23a9a294' stroke-width='1.5'%3E%3Crect x='5' y='9' width='36' height='28' rx='3.5'/%3E%3Ccircle cx='16' cy='19' r='3'/%3E%3Cpath d='m7 32 9-8 7 6 6-5 8 7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
  opacity: .5;
}

/* --- Lightbox --------------------------------------------------------- */
.lb {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(16, 18, 20, .93);
  display: grid; place-items: center;
  padding: clamp(16px, 4vw, 48px);
  opacity: 0; transition: opacity .28s var(--ease);
}
.lb[hidden] { display: none; }
.lb.is-open { opacity: 1; }

.lb__fig {
  margin: 0; max-width: 1000px; width: 100%;
  display: grid; gap: 18px; justify-items: center;
}
.lb__media {
  /* Stay a true 4:3 box under BOTH limits — width capped by the figure,
     height by the viewport. If max-height clipped a 100%-wide box instead,
     the cover-fit child would crop the photo's edges on short screens. */
  width: min(100%, calc(68vh * 4 / 3));
  aspect-ratio: 4 / 3;
  border-radius: var(--r-md); overflow: hidden; position: relative;
  background: var(--ground-3);
}
.lb__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.lb__cap { text-align: center; color: #fff; }
.lb__cap h3 { font-size: 1.15rem; }
.lb__cap p { margin-top: 6px; font-size: .87rem; color: rgba(255, 255, 255, .62); }

.lb__btn {
  position: absolute; z-index: 3;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color .2s var(--ease);
}
.lb__btn:hover { background: rgba(255, 255, 255, .24); }
.lb__close { top: 20px; right: 20px; }
.lb__prev  { left: 20px;  top: 50%; transform: translateY(-50%); }
.lb__next  { right: 20px; top: 50%; transform: translateY(-50%); }

.lb__count {
  position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%);
  color: rgba(255, 255, 255, .6); font-size: .82rem;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 620px) {
  .lb__prev { left: 10px; }
  .lb__next { right: 10px; }
  .lb__btn { width: 44px; height: 44px; }
  .lb__media { width: min(100%, calc(52vh * 4 / 3)); }
}

/* --------------------------------------------------------------------------
   14. Quote band (Duna's teal CTA)
   -------------------------------------------------------------------------- */
.band {
  background: var(--green); color: #fff;
  position: relative; overflow: hidden;
}
.band::after {
  content: ""; position: absolute; inset: 0;
  background-image: var(--grain); opacity: .1; pointer-events: none;
}
.band__inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 64px); align-items: center;
  padding-block: clamp(52px, 8vw, 92px);
}
.band h2 { color: #fff; }
.band p { color: rgba(255, 255, 255, .74); margin-top: 14px; max-width: 40ch; }
.band__call {
  margin-top: 24px; display: inline-flex; align-items: center; gap: 10px;
  font-size: 1.28rem; font-weight: 600; letter-spacing: -.02em;
  text-decoration: none; color: #fff;
}
.band__call:hover { text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 800px) { .band__inner { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   15. Forms
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 7px; }
.field + .field { margin-top: 16px; }
.field label { font-size: .88rem; font-weight: 500; }
.field .hint { font-size: .8rem; color: var(--ink-45); }

.input {
  width: 100%;
  background: var(--ground);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  font-size: .96rem;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.input::placeholder { color: var(--ink-25); }
.input:focus {
  outline: none; border-color: var(--green); background: #fff;
  box-shadow: 0 0 0 3px var(--green-tint);
}
textarea.input { resize: vertical; min-height: 128px; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5l5-5' stroke='%237c848b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}

.input[aria-invalid="true"] { border-color: #b4432f; background: #fdf6f4; }
.err { font-size: .82rem; color: #b4432f; min-height: 0; }
.err:empty { display: none; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-row .field + .field { margin-top: 0; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }

/* File upload */
.drop {
  position: relative;
  border: 1px dashed var(--line-2);
  border-radius: var(--r-sm);
  background: var(--ground);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.drop:hover, .drop.is-over { border-color: var(--green); background: var(--green-tint); }
.drop input[type="file"] {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer;
}
.drop input[type="file"]:focus-visible + .drop__inner {
  outline: 2px solid var(--green); outline-offset: 3px; border-radius: var(--r-sm);
}
.drop__inner {
  padding: 14px 16px; text-align: center;
  font-size: .88rem; color: var(--ink-45); pointer-events: none;
}
.drop__inner strong { color: var(--ink); font-weight: 600; }

.filelist { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.filelist:empty { margin: 0; }
.filelist li {
  display: flex; align-items: center; gap: 11px;
  background: var(--ground-2); border: 1px solid var(--line);
  border-radius: var(--r-sm); padding: 8px 10px; font-size: .85rem;
}
.filelist .thumb {
  width: 34px; height: 34px; border-radius: 6px; object-fit: cover;
  flex: none; background: var(--ground-3);
}
.filelist .fname {
  flex: 1; min-width: 0; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}
.filelist .fsize { color: var(--ink-45); font-size: .78rem; flex: none; }
.filelist .drop-x {
  flex: none; background: none; border: 0; cursor: pointer;
  color: var(--ink-45); padding: 4px; line-height: 0; border-radius: 4px;
}
.filelist .drop-x:hover { color: #b4432f; background: var(--ground-3); }

.check {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .86rem; color: var(--ink-70); line-height: 1.5;
}
.check input { margin-top: 3px; flex: none; width: 16px; height: 16px; accent-color: var(--green); }

/* Band mini-form (on dark) */
.miniform { display: grid; gap: 12px; }
.miniform .input {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .26);
  color: #fff;
}
.miniform .input::placeholder { color: rgba(255, 255, 255, .55); }
.miniform .input:focus {
  border-color: #fff; background: rgba(255, 255, 255, .16);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, .14);
}
.miniform .err { color: #ffd9d0; }
.miniform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .miniform__row { grid-template-columns: 1fr; } }

.form-status {
  border-radius: var(--r-md); padding: 16px 18px;
  font-size: .92rem; display: none;
}
.form-status.is-error {
  display: block; background: #fdf1ee; border: 1px solid #e8c4ba; color: #8f3222;
}

/* Success panel */
.success {
  display: none;
  border: 1px solid var(--line); border-radius: var(--r-lg);
  background: var(--ground-2); padding: clamp(26px, 4vw, 40px);
  text-align: center;
}
.success.is-visible { display: block; }
.success__mark {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--green); color: #fff;
  display: grid; place-items: center; margin: 0 auto 18px;
}
.success h2 { font-size: 1.5rem; }
.success p { margin-top: 12px; color: var(--ink-70); }
.success__actions { margin-top: 24px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   16. Contact page
   -------------------------------------------------------------------------- */
.page-hero { padding-top: 130px; }
.page-hero .display { max-width: 16ch; }
.page-hero .lede { margin-top: 20px; max-width: 48ch; }

.contact-grid {
  display: grid; grid-template-columns: 1.25fr .85fr;
  gap: clamp(30px, 5vw, 64px); align-items: start;
  margin-top: clamp(38px, 6vw, 58px);
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.panel {
  background: var(--ground-2); border: 1px solid var(--line);
  border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px);
}
.panel + .panel { margin-top: 14px; }
.panel h3 { font-size: 1.05rem; }

.deets { display: grid; gap: 2px; margin-top: 16px; list-style: none; padding: 0; }
.deets li { display: flex; gap: 13px; align-items: flex-start; padding: 11px 0; }
.deets li + li { border-top: 1px solid var(--line); }
.deets svg { flex: none; margin-top: 3px; color: var(--ink-45); }
.deets .k { font-size: .78rem; color: var(--ink-45); }
.deets .v { font-weight: 500; letter-spacing: -.012em; }
.deets a { text-decoration: none; }
.deets a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Inert demo links are role=button, not anchors — keep the link affordance. */
[data-inert] { cursor: pointer; }

.formcard {
  border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(22px, 3.4vw, 34px); background: var(--ground);
}

/* --------------------------------------------------------------------------
   17. Footer — full-bleed scene, nav over the art
   -------------------------------------------------------------------------- */
.footer { position: relative; color: #fff; overflow: hidden; background: #2b3348; }
.footer__scene { position: absolute; inset: 0; z-index: 0; }
.footer__scene svg { width: 100%; height: 100%; object-fit: cover; }
.footer__veil {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(24, 28, 42, .58) 0%, rgba(24, 28, 42, .2) 45%, rgba(24, 28, 42, .5) 100%);
}
.footer__inner { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 76px) 26px; }

.fnav {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px 24px;
}
.fnav h4 {
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  margin-bottom: 14px; color: #fff;
}
.fnav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
/* Plain items (areas, the address) sit a shade quieter than the links, so the
   column reads as a statement of fact rather than five things to click. */
.fnav li { font-size: .9rem; color: rgba(255, 255, 255, .58); }
.fnav a {
  text-decoration: none; font-size: .9rem;
  color: rgba(255, 255, 255, .78);
  transition: color .2s var(--ease);
}
.fnav a:hover { color: #fff; }
.fnav a[data-inert] { cursor: default; }

.footer__base {
  margin-top: clamp(40px, 7vw, 76px);
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px; flex-wrap: wrap;
  font-size: .8rem; color: rgba(255, 255, 255, .68);
}
.footer__base a { text-decoration: none; }
.footer__base a:hover { color: #fff; }

@media (max-width: 760px) { .fnav { grid-template-columns: repeat(2, 1fr); } }
/* Footer CTA — the last ask before the page ends. Duna's pattern: a big
   line and two buttons above the link columns, over the evening scene. */
.footer__cta {
  display: grid; grid-template-columns: minmax(0, 1fr) auto;
  align-items: center; gap: 24px 48px;
  padding-bottom: clamp(34px, 5vw, 54px);
  margin-bottom: clamp(34px, 5vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.footer__cta h2 { color: #fff; }
.footer__cta p {
  margin-top: 10px; max-width: 44ch;
  color: rgba(255, 255, 255, .68);
}
.footer__cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn--ghostDark {
  background: transparent; color: #fff;
  border-color: rgba(255, 255, 255, .38);
}
.btn--ghostDark:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 860px) {
  .footer__cta { grid-template-columns: 1fr; }
}

/* Slim footer: four columns spread across the full width — contact, pages,
   areas as a sentence, and the star rating as the parting proof. */
.fnav--slim {
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  column-gap: 40px;
}
.fnav__note {
  font-size: .88rem; max-width: 26ch; line-height: 1.55;
  color: rgba(255, 255, 255, .58);
}
.stars--footer { margin-bottom: 10px; }
.stars--footer svg { width: 14px; height: 14px; }
.fnav__link {
  display: inline-block; margin-top: 10px; font-size: .9rem;
  color: rgba(255, 255, 255, .78); text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .32); padding-bottom: 1px;
}
.fnav__link:hover { color: #fff; border-color: #fff; }
@media (max-width: 860px) {
  .fnav--slim { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
}

/* --------------------------------------------------------------------------
   18. Toast (for the not-yet-built links)
   -------------------------------------------------------------------------- */
.toast {
  position: fixed; z-index: 300;
  left: 50%; bottom: 26px; transform: translate(-50%, 130%);
  background: var(--ink); color: var(--ground);
  padding: 12px 20px; border-radius: var(--r-pill);
  font-size: .88rem; white-space: nowrap;
  transition: transform .4s var(--ease), opacity .4s var(--ease);
  opacity: 0; pointer-events: none;
  max-width: calc(100vw - 40px);
}
.toast.is-on { transform: translate(-50%, 0); opacity: 1; }

/* --------------------------------------------------------------------------
   19. Scroll reveal
   -------------------------------------------------------------------------- */
/* Hidden state is opt-in via the `js` class, which main.js sets on <html>.
   If JS is blocked or errors before it runs, every section stays visible
   rather than the page rendering half-empty. */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}
