/* ==========================================================================
   Roanlight Dental, direction: "CHARTWORK"

   One idea, executed everywhere: a dental chart is a strict grid where every
   tooth has an address. So the whole site is one modular board, flat colour
   cells, photo cells and type cells interlocking on a single 12-column grid
   with hairline white grout. Bright daylight, zero shadow, zero radius.
   Colour is structural: each service family owns a colour and carries it
   across the services list, the detail page and the notes index.

   Deliberately NOT: soft rounded photo cards, dark cinematic arches, or
   print/newsprint emulation.
   ========================================================================== */

/* ---------- faces ----------
   Display and body come from Google Fonts, linked once per page:
   Plus Jakarta Sans 700/800 for headings, Inter 400/600 for running copy.
   The mono stays self hosted, because the chart numerals depend on it. */
@font-face {
  font-family: "DM Mono";
  src: url("/demos/quadrant/fonts/DMMono-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "DM Mono";
  src: url("/demos/quadrant/fonts/DMMono-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* ---------- tokens ---------- */
:root {
  /* ground */
  --paper:    #FFFFFF;
  --mist:     #EDEFF3;   /* cool panel */
  --mist-2:   #DFE3EA;   /* deeper panel */

  /* ink */
  --ink:      #111418;
  --ink-2:    #5B646E;
  --ink-3:    #8B949E;

  /* structural colour, one per service family */
  --ultra:      #1B29D4;   /* preventive + brand primary */
  --ultra-deep: #101A8C;
  --ultra-tint: #DDE1FB;
  --coral:      #FF6B4A;   /* restorative */
  --coral-tint: #FFE2DA;
  --sun:        #FFC53D;   /* cosmetic */
  --sun-tint:   #FFF0CC;
  --sun-ink:    #9A6B00;   /* the cosmetic colour, dark enough to set type in */

  --rule:      rgba(17, 20, 24, 0.14);
  --rule-soft: rgba(17, 20, 24, 0.07);
  --rule-inv:  rgba(255, 255, 255, 0.28);

  --display: "Plus Jakarta Sans", ui-rounded, "Helvetica Neue", Arial, sans-serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --mono:    "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --grout: 4px;
  --gutter: clamp(16px, 4vw, 56px);
  --max: 1380px;
  --row: clamp(76px, 8.4vw, 118px);   /* the board's base module height */

  --ease: cubic-bezier(0.22, 0.8, 0.28, 1);
  --dur: 380ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.05; letter-spacing: -0.014em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible {
  outline: 3px solid var(--ultra);
  outline-offset: 3px;
}
.on-ultra :focus-visible, .on-ink :focus-visible,
.on-ultra:focus-visible, .on-ink:focus-visible,
.c-ultra:focus-visible, .c-ink:focus-visible { outline-color: var(--sun); }

::selection { background: var(--sun); color: var(--ink); }

.skip {
  position: absolute; left: var(--gutter); top: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 12px 18px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.12em; text-transform: uppercase;
  transform: translateY(-140%);
  transition: transform 160ms var(--ease);
}
.skip:focus { transform: none; }

.vh {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- type utilities ---------- */
.mono {
  font: 500 11px/1.3 var(--mono);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.eyebrow { color: var(--ink-2); }
.lede { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
/* running copy inside a board cell, quieter and tighter than a lede */
.cell-copy { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.c-ultra .cell-copy, .c-ink .cell-copy, .c-coral .cell-copy { color: inherit; opacity: 0.86; }

.h-hero {
  font-size: clamp(38px, 6.1vw, 92px);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 0.94;
}
.h-sec {
  font-size: clamp(30px, 4.1vw, 60px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 0.98;
}
.h-cell {
  font-size: clamp(21px, 2.1vw, 30px);
  font-weight: 700;
  letter-spacing: -0.014em;
  line-height: 1.02;
}

/* ---------- shell ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }

/* ---------- header ---------- */
.head {
  position: sticky; top: 0; z-index: 90;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.head__in {
  max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter);
  display: flex; align-items: center; gap: 24px; min-height: 68px;
}
.mark { display: flex; align-items: center; gap: 10px; }
.mark__glyph {
  width: 20px; height: 20px; flex: none;
  display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px;
}
.mark__glyph i { background: var(--ink); display: block; }
.mark__glyph i:nth-child(1) { background: var(--ultra); }
.mark__word {
  font-family: var(--display); font-weight: 800;
  font-size: 19px; letter-spacing: -0.018em;
}
.mark__word span { color: var(--ink-2); font-weight: 700; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 9px 13px; font-size: 14.5px; font-weight: 600; color: var(--ink-2);
  position: relative; transition: color 160ms var(--ease);
}
.nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 4px; height: 2px;
  background: var(--ultra); transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease);
}
.nav a:hover { color: var(--ink); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--ink); }

.head__cta {
  margin-left: 8px; background: var(--ultra); color: #fff;
  padding: 11px 18px; font: 500 12px/1 var(--mono); letter-spacing: 0.13em; text-transform: uppercase;
  transition: background 180ms var(--ease);
}
.head__cta:hover { background: var(--ink); }

.burger {
  display: none; margin-left: auto; background: none; border: 1px solid var(--rule);
  padding: 10px 14px; font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  cursor: pointer;
}
.mobnav { display: none; }

@media (max-width: 900px) {
  .nav, .head__cta { display: none; }
  .burger { display: block; }
  .mobnav { display: block; border-top: 1px solid var(--rule); background: var(--paper); }
  .mobnav[hidden] { display: none; }
  .mobnav ul { padding: 8px var(--gutter) 20px; }
  .mobnav a { display: block; padding: 13px 0; border-bottom: 1px solid var(--rule-soft); font-size: 17px; font-weight: 600; }
  .mobnav .mobnav__cta { background: var(--ultra); color: #fff; text-align: center; margin-top: 14px; border: 0; padding: 15px; }
}

/* ==========================================================================
   THE BOARD, the signature. One grid, many cell types.
   ========================================================================== */
.board {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--grout);
}
.cell {
  position: relative;
  grid-column: span 12;
  min-width: 0;
  padding: clamp(18px, 2vw, 30px);
  display: flex; flex-direction: column;
  background: var(--paper);
}
.cell--flat { padding: 0; }

/* cell grounds */
.c-mist  { background: var(--mist); }
.c-ultra { background: var(--ultra); color: #fff; }
.c-ink   { background: var(--ink); color: #fff; }
.c-coral { background: var(--coral); color: var(--ink); }
.c-sun   { background: var(--sun); color: var(--ink); }
.c-ultratint { background: var(--ultra-tint); }
.c-coraltint { background: var(--coral-tint); }
.c-suntint   { background: var(--sun-tint); }
.c-line  { background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }
.c-ultra .mono, .c-ink .mono { color: rgba(255,255,255,0.72); }
.c-ultra .lede, .c-ink .lede { color: rgba(255,255,255,0.82); }

/* photo cell */
.shot { position: relative; overflow: hidden; background: var(--mist); }
.shot img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 700ms var(--ease);
}
.shot--zoom:hover img { transform: scale(1.035); }

/* a cell that is a link: keyline sweeps in, ground swaps */
.cell--act { cursor: pointer; transition: background 260ms var(--ease), color 260ms var(--ease); }
.cell--act::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 4px;
  background: var(--ultra); transform: scaleY(0); transform-origin: bottom;
  transition: transform 300ms var(--ease);
}
.cell--act:hover::before, .cell--act:focus-visible::before { transform: scaleY(1); }
.cell--act .arrow { transition: transform 300ms var(--ease); }
.cell--act:hover .arrow { transform: translateX(6px); }

.arrow { font-family: var(--display); font-weight: 800; display: inline-block; }

/* the cell footer line pushes to the bottom of any cell */
.cell__foot { margin-top: auto; padding-top: 20px; }

/* ---------- hero board ----------
   Three bands sharing one 12-column grid and one grout width, so they read as
   a single board while each band sizes itself honestly (band 1 to its type,
   bands 2 and 3 to the module height). */
.hero { padding-top: clamp(16px, 2.4vw, 30px); padding-bottom: clamp(28px, 4vw, 56px); }
.hero .board + .board { margin-top: var(--grout); }
.hero .board--band { grid-auto-rows: clamp(380px, 34vw, 476px); }
.hero .board--mods { grid-auto-rows: var(--row); }

.hero__title { grid-column: 1 / 8; justify-content: center; padding-left: 0; padding-block: clamp(14px, 2vw, 30px); }
.hero__shot  { grid-column: 8 / 13; }
.hero__chart { grid-column: 1 / 5;  grid-row: span 2; }
.hero__cta   { grid-column: 5 / 9;  grid-row: span 2; }
.hero__f1    { grid-column: 9 / 13; grid-row: span 2; }
.hero__f2 { grid-column: 1 / 5; }
.hero__f3 { grid-column: 5 / 9; }
.hero__f4 { grid-column: 9 / 13; }
.hero .board--facts { grid-auto-rows: minmax(var(--row), auto); }

.fact { justify-content: space-between; gap: 10px; }
.fact strong { font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.25vw, 18px); letter-spacing: -0.015em; line-height: 1.12; }

/* the chart graphic, an actual dental artifact, used once */
.chart { justify-content: space-between; }
.chart__grid {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 2px; margin-top: 10px;
}
.chart__grid i {
  aspect-ratio: 1; display: grid; place-items: center;
  background: rgba(255,255,255,0.12);
  font: 400 9px/1 var(--mono); color: rgba(255,255,255,0.75); font-style: normal;
}
.chart__grid i.on { background: #fff; color: var(--ultra); font-weight: 500; }

/* the big ink CTA cell */
.cta-cell { justify-content: space-between; }
.cta-cell .h-cell { max-width: 12ch; }

@media (max-width: 1000px) {
  .hero .board--band, .hero .board--mods, .hero .board--facts { grid-auto-rows: auto; }
  .hero__title { grid-column: 1 / 13; padding-bottom: 8px; }
  .hero__shot  { grid-column: 1 / 13; aspect-ratio: 16 / 10; }
  .hero__chart { grid-column: 1 / 7;  grid-row: auto; }
  .hero__cta   { grid-column: 7 / 13; grid-row: auto; min-height: 190px; }
  .hero__f1 { grid-column: 1 / 13; grid-row: auto; min-height: 120px; }
  .hero__f2, .hero__f3, .hero__f4 { grid-column: span 4; min-height: 150px; }
}
@media (max-width: 620px) {
  .hero__chart, .hero__cta { grid-column: 1 / 13; }
  .hero__f2, .hero__f3, .hero__f4 { grid-column: 1 / 13; min-height: 0; }
  .hero__shot { aspect-ratio: 4 / 3; }
}

/* ---------- section framing ---------- */
.sec { padding-block: clamp(46px, 5.4vw, 80px); }
.sec--tight { padding-block: clamp(32px, 3.6vw, 52px); }
.sec__head {
  display: grid; grid-template-columns: 1fr; gap: 18px;
  margin-bottom: clamp(24px, 3vw, 40px);
  padding-bottom: 22px; border-bottom: 1px solid var(--rule);
}
.sec__head .h-sec { max-width: 18ch; }
@media (min-width: 860px) {
  .sec__head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 40px; }
  .sec__head .lede { justify-self: end; }
}
.sec__num { color: var(--ultra); }

/* ---------- services board ---------- */
.svc { grid-column: span 4; grid-row: span 2; }
.svc__tag {
  display: inline-flex; align-items: center; gap: 7px;
}
.svc__chip { width: 9px; height: 9px; flex: none; background: var(--ultra); }
.svc--pre .svc__chip { background: var(--ultra); }
.svc--res .svc__chip { background: var(--coral); }
.svc--cos .svc__chip { background: var(--sun); }
.svc--urg .svc__chip { background: var(--ink); }
.svc p { color: var(--ink-2); font-size: 15.5px; margin-top: 12px; }
.svc .h-cell { margin-top: 14px; }
.svc:hover, .svc:focus-visible { background: var(--mist); }
.svc--pre:hover, .svc--pre:focus-visible { background: var(--ultra); color: #fff; }
.svc--res:hover, .svc--res:focus-visible { background: var(--coral); color: var(--ink); }
.svc--cos:hover, .svc--cos:focus-visible { background: var(--sun); color: var(--ink); }
.svc--urg:hover, .svc--urg:focus-visible { background: var(--ink); color: #fff; }
.svc:hover p, .svc:focus-visible p { color: inherit; opacity: 0.82; }
.svc:hover .mono, .svc:focus-visible .mono { color: inherit; opacity: 0.8; }
.svc--pre:hover .svc__chip, .svc--urg:hover .svc__chip { background: #fff; }
.svc--res:hover .svc__chip, .svc--cos:hover .svc__chip { background: var(--ink); }
@media (max-width: 980px) { .svc { grid-column: span 6; } }
@media (max-width: 640px) { .svc { grid-column: span 12; grid-row: auto; } }

/* ---------- process (a real sequence, so it is really numbered) ---------- */
.step { grid-column: span 3; grid-row: span 2; }
.step__n {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 4.4vw, 62px); line-height: 0.86; letter-spacing: -0.04em;
  color: var(--ultra);
}
.step h3 { font-size: clamp(18px, 1.6vw, 22px); margin-top: 16px; }
.step p { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.step--b .step__n { color: var(--coral); }
.step--c .step__n { color: var(--sun-ink); }
.step--d .step__n { color: var(--ink); }
@media (max-width: 980px) { .step { grid-column: span 6; } }
@media (max-width: 560px) { .step { grid-column: span 12; grid-row: auto; } }

/* ---------- quote / testimonial cells ---------- */
.quote { grid-column: span 4; grid-row: span 2; justify-content: space-between; }
.quote blockquote {
  margin: 0; font-family: var(--display); font-weight: 700;
  font-size: clamp(18px, 1.55vw, 22px); line-height: 1.24; letter-spacing: -0.018em;
}
.quote figcaption { margin-top: auto; padding-top: 24px; }
@media (max-width: 980px) { .quote { grid-column: span 6; } }
@media (max-width: 640px) { .quote { grid-column: span 12; grid-row: auto; } }

/* ---------- notes / articles ---------- */
.note { grid-column: span 4; }
.note .shot { aspect-ratio: 3 / 2; margin: calc(-1 * clamp(18px, 2vw, 30px)); margin-bottom: 20px; }
.note h3 { font-size: clamp(19px, 1.65vw, 23px); margin-top: 4px; }
.note p { color: var(--ink-2); font-size: 15px; margin-top: 10px; }
.note__meta { display: flex; gap: 14px; align-items: center; }
@media (max-width: 900px) { .note { grid-column: span 6; } }
@media (max-width: 620px) { .note { grid-column: span 12; } }

/* ---------- generic spans ---------- */
.s3 { grid-column: span 3; }
.s4 { grid-column: span 4; }
.s5 { grid-column: span 5; }
.s6 { grid-column: span 6; }
.s7 { grid-column: span 7; }
.s8 { grid-column: span 8; }
.s9 { grid-column: span 9; }
.s12 { grid-column: span 12; }
.r2 { grid-row: span 2; }
.r3 { grid-row: span 3; }
@media (max-width: 900px) {
  .s3, .s4, .s5 { grid-column: span 6; }
  .s7, .s8, .s9 { grid-column: span 12; }
  .r2, .r3 { grid-row: auto; }
}
@media (max-width: 600px) {
  .s3, .s4, .s5, .s6 { grid-column: span 12; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ultra); color: #fff; padding: 15px 22px;
  font: 500 12px/1 var(--mono); letter-spacing: 0.13em; text-transform: uppercase;
  transition: background 200ms var(--ease);
  border: 0; cursor: pointer;
}
.btn:hover { background: var(--ink); }
.btn .arrow { transition: transform 260ms var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--on-ink { background: #fff; color: var(--ink); }
.btn--on-ink:hover { background: var(--sun); color: var(--ink); }

/* ---------- prose (article body) ---------- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1.15em; }
.prose p { font-size: 17.5px; line-height: 1.68; color: #23282E; }
.prose h2 { font-size: clamp(24px, 2.4vw, 32px); margin-top: 1.9em; }
.prose h3 { font-size: clamp(19px, 1.7vw, 22px); margin-top: 1.6em; }
.prose ul { display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 24px; font-size: 17px; line-height: 1.6; color: #23282E; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: 10px; width: 9px; height: 9px; background: var(--ultra); }
.prose strong { font-weight: 700; }
.prose a { box-shadow: inset 0 -2px 0 var(--ultra); }
.prose a:hover { background: var(--ultra-tint); }
.pull {
  border-left: 4px solid var(--ultra); padding: 4px 0 4px 22px; margin-block: 1.8em;
  font-family: var(--display); font-weight: 700;
  font-size: clamp(19px, 1.8vw, 24px); line-height: 1.26; letter-spacing: -0.018em;
}

/* ---------- form ---------- */
.field { display: grid; gap: 7px; }
.field label { font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea {
  border: 1px solid var(--rule); background: var(--paper); padding: 13px 14px;
  font-size: 16px; border-radius: 0; width: 100%;
  transition: border-color 160ms var(--ease);
}
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--ink-3); }
.field textarea { min-height: 132px; resize: vertical; }
.form__grid { display: grid; gap: 16px; }
@media (min-width: 620px) { .form__grid--2 { grid-template-columns: 1fr 1fr; } }
.form__note { font-size: 13.5px; color: var(--ink-2); }
.form__ok { margin-top: 16px; padding: 14px 16px; background: var(--ultra-tint); font-size: 15px; }

/* ---------- data list (hours, etc) ---------- */
.dl { display: grid; gap: 0; }
.dl__row {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 12px 0; border-bottom: 1px solid var(--rule-soft);
  font-size: 15.5px;
}
.c-ultra .dl__row, .c-ink .dl__row { border-color: var(--rule-inv); }
.dl__row span:last-child { color: var(--ink-2); text-align: right; }
.c-ultra .dl__row span:last-child, .c-ink .dl__row span:last-child { color: rgba(255,255,255,0.75); }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--rule); margin-top: clamp(40px, 6vw, 90px); }
.foot__in { padding-block: clamp(36px, 4.4vw, 60px); display: grid; gap: 34px; }
@media (min-width: 800px) { .foot__in { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; } }
.foot h4 { font: 500 11px/1 var(--mono); letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 16px; }
.foot li + li { margin-top: 9px; }
.foot a { font-size: 15px; color: var(--ink-2); transition: color 150ms var(--ease); }
.foot a:hover { color: var(--ultra); }
.foot__bar {
  border-top: 1px solid var(--rule); padding-block: 18px;
  display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between;
  color: var(--ink-3);
}

/* ---------- page masthead (inner pages) ---------- */
.phead { padding-top: clamp(28px, 3.6vw, 52px); padding-bottom: clamp(28px, 3.6vw, 48px); }
.phead .board { grid-auto-rows: minmax(0, auto); }
.phead__t { grid-column: 1 / 9; }
.phead__t .h-hero { font-size: clamp(34px, 4.9vw, 72px); }
.phead__side { grid-column: 9 / 13; align-self: end; }
@media (max-width: 900px) { .phead__t, .phead__side { grid-column: 1 / 13; } }

/* ==========================================================================
   MOTION
   Everything below is opacity/transform only. Content is never permanently
   hidden: the inline head script sets .js and also arms a hard 2200ms ceiling
   that adds .reveal-all, so a failed/blocked site.js still shows everything.
   ========================================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 16px, 0);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
  transition-delay: var(--d, 0ms);
}
/* the load sequence: hero cells assemble on the board */
.js [data-load] {
  opacity: 0;
  transform: translate3d(0, 10px, 0) scale(0.985);
}
.js [data-load].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 520ms var(--ease), transform 620ms var(--ease);
  transition-delay: var(--d, 0ms);
}

/* The guarantee. `.is-shown` (set by site.js) and `.reveal-all` (set by the
   inline ceiling in <head>) both SNAP, no transition. A transition would
   need animation frames, and a backgrounded or throttled tab never fires
   them, which would strand the content at opacity 0 forever. */
.js [data-reveal].is-shown, .js [data-load].is-shown,
.js.reveal-all [data-reveal], .js.reveal-all [data-load] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal], .js [data-load],
  .js [data-reveal].is-in, .js [data-load].is-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .shot img, .cell--act::before, .nav a::after { transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   CONCIERGE, styled as one more board cell, not a bolted-on bubble
   ========================================================================== */
.ask {
  position: fixed; right: clamp(12px, 2vw, 24px); bottom: clamp(12px, 2vw, 24px);
  z-index: 120; display: flex; flex-direction: column; align-items: flex-end; gap: 8px;
}
.ask__toggle {
  display: flex; align-items: center; gap: 12px;
  background: var(--ultra); color: #fff; border: 0; cursor: pointer;
  padding: 14px 18px; font: 500 12px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 200ms var(--ease);
}
.ask__toggle:hover { background: var(--ink); }
.ask__toggle i {
  width: 14px; height: 14px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px;
}
.ask__toggle i b { background: rgba(255,255,255,0.42); }
.ask__toggle i b:first-child { background: #fff; }

.ask__panel {
  width: min(374px, calc(100vw - 24px));
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--rule), 0 24px 60px -32px rgba(17, 20, 24, 0.5);
  display: flex; flex-direction: column;
  max-height: min(560px, calc(100vh - 130px));
  transform-origin: bottom right;
}
.ask__panel[hidden] { display: none; }
.js .ask__panel { opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 220ms var(--ease), transform 260ms var(--ease); }
.js .ask__panel.is-open { opacity: 1; transform: none; }

.ask__head {
  background: var(--ultra); color: #fff; padding: 15px 16px;
  display: flex; align-items: center; gap: 12px;
}
.ask__head h2 { font-family: var(--display); font-size: 16px; font-weight: 700; }
.ask__head p { font: 400 11px/1.3 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-top: 4px; }
.ask__close {
  margin-left: auto; background: none; border: 0; color: #fff; cursor: pointer;
  font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase; padding: 8px;
}
.ask__log { padding: 16px; overflow-y: auto; display: grid; gap: 12px; align-content: start; flex: 1; }
.msg { font-size: 15px; line-height: 1.52; padding: 11px 13px; max-width: 88%; }
.msg--bot { background: var(--mist); justify-self: start; }
.msg--me { background: var(--ultra); color: #fff; justify-self: end; }
.msg--sys { background: var(--sun-tint); font-size: 13.5px; justify-self: stretch; max-width: 100%; }
.ask__dots { display: inline-flex; gap: 4px; }
.ask__dots b { width: 5px; height: 5px; background: var(--ink-3); animation: askpulse 1.1s infinite; }
.ask__dots b:nth-child(2) { animation-delay: 0.15s; }
.ask__dots b:nth-child(3) { animation-delay: 0.3s; }
@keyframes askpulse { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .ask__dots b { animation: none; opacity: 0.6; } }

.ask__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 12px; }
.ask__chips[hidden] { display: none; }
.ask__chips button {
  background: var(--paper); box-shadow: inset 0 0 0 1px var(--rule); border: 0; cursor: pointer;
  padding: 8px 11px; font-size: 13px; transition: background 160ms var(--ease);
}
.ask__chips button:hover { background: var(--ultra-tint); }
.ask__form { display: flex; border-top: 1px solid var(--rule); }
.ask__form input { flex: 1; border: 0; padding: 15px 16px; font-size: 15px; background: transparent; }
.ask__form button {
  border: 0; background: var(--ink); color: #fff; cursor: pointer; padding: 0 20px;
  font: 500 11px/1 var(--mono); letter-spacing: 0.14em; text-transform: uppercase;
  transition: background 180ms var(--ease);
}
.ask__form button:hover { background: var(--ultra); }
.ask__form button[disabled] { opacity: 0.5; cursor: default; }

@media (max-width: 480px) {
  .ask__toggle span { display: none; }
  .ask__toggle { padding: 15px; }
}
