/* Waleed Khan Agency — shared styles (v9)
   Light, confident and greyscale. Huge tight headlines that end in full stops,
   rounded cards, a dark stacked-cards section and a giant closing statement. */

:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --bg: #fbfbfa;
  --card: #f4f3f0;
  --soft: #55554f;
  --line: #dcdcd8;

  --strategy: #f4f3f0;
  --design: #e4e4e0;
  --marketing: #cfcfcb;
  --technology: #b4b4b0;

  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --max: 82rem;
  --header: 4.25rem;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.2em; }
p { margin: 0; }
:focus-visible { outline: 3px solid #0a0a0a; outline-offset: 3px; }
.cta :focus-visible, .finale :focus-visible, .process :focus-visible, .site-footer :focus-visible { outline-color: #fff; }
[id] { scroll-margin-top: var(--header); }

.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;
}

.skip-link {
  position: absolute; left: 0.75rem; top: -4rem; z-index: 100;
  background: var(--black); color: var(--white); padding: 0.6rem 1rem; border-radius: 0.5rem;
}
.skip-link:focus { top: 0.75rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0;
}
h2 { font-size: clamp(3rem, 8.5vw, 7rem); }
h3 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
.sub { margin-top: 1.25rem; max-width: 34rem; font-size: 1.15rem; font-weight: 500; line-height: 1.4; color: var(--black); }

/* ---------- header ----------
   At the top of the page the bar is flat and full width. On scroll (script.js adds
   .is-scrolled) it shrinks into one centred glass capsule. */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; padding-top: 0.75rem; pointer-events: none; }
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; position: relative;
  pointer-events: auto;
  max-width: var(--max);
  border: 1px solid transparent; border-radius: 999px;
  padding-block: 0.35rem;
  transition: max-width 0.55s cubic-bezier(0.22, 1, 0.36, 1), padding 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              background-color 0.4s, border-color 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.site-header.is-scrolled .wrap {
  max-width: min(60rem, calc(100% - 1.5rem));
  padding-inline: 0.45rem 0.5rem;
  background: rgba(255, 255, 255, 0.64);
  border-color: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: blur(16px) saturate(1.6);
  backdrop-filter: url(#wk-glass) blur(10px) saturate(1.6);
  box-shadow: 0 10px 34px rgba(10, 10, 10, 0.14), 0 0 0 1px rgba(10, 10, 10, 0.06),
              inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(10, 10, 10, 0.06);
}

.wordmark { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.03em; white-space: nowrap; padding: 0.1rem 0.9rem 0.1rem 0.1rem; }
.dots { display: none; }

.nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 0.1rem; }
.nav a { position: relative; z-index: 1; text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 0.55rem 1rem; border-radius: 999px; transition: color 0.2s 0.05s, background 0.2s; }
.nav a:hover { background: rgba(10, 10, 10, 0.07); }
.nav a[aria-current="page"] { background: var(--black); color: var(--white); }
/* With JavaScript, two pills glide behind the links: grey follows the cursor, black marks the current page. */
.nav.has-pills a:hover, .nav.has-pills a[aria-current="page"] { background: transparent; }
.nav.has-pills a[aria-current="page"] { color: var(--black); }
.nav.has-pills a.is-active, .nav.has-pills a.is-active:hover { color: var(--white); }
.nav-pill { position: absolute; z-index: 0; top: 0; left: 0; border-radius: 999px; pointer-events: none; opacity: 0;
  transition: transform 0.28s cubic-bezier(0.3, 1.2, 0.5, 1), width 0.28s cubic-bezier(0.3, 1.2, 0.5, 1), height 0.28s, opacity 0.2s; }
.nav-pill.is-hover { background: rgba(10, 10, 10, 0.08); }
.nav-pill.is-current { background: var(--black); }
.nav-pill.no-anim { transition: none; }

/* ---------- buttons ---------- */
.button {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: var(--black); color: var(--white);
  border: 1.5px solid var(--black);
  border-radius: 999px;
  padding: 0.8rem 1.5rem;
  font-weight: 600; font-size: 0.98rem; text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.site-header .button { padding: 0.6rem 1.3rem; }
.button:hover { background: #3a3a3a; border-color: #3a3a3a; }
.button.ghost { background: transparent; color: var(--black); }
.button.ghost:hover { background: var(--black); color: var(--white); }
.button.light { background: var(--white); color: var(--black); border-color: var(--white); }
.button.light:hover { background: #d4d4d0; border-color: #d4d4d0; }

/* ---------- hero ---------- */
.hero { padding-top: calc(var(--header) + clamp(1.5rem, 5vw, 4rem)); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero h1 { font-size: clamp(2.6rem, 10.5vw, 9.5rem); line-height: 0.9; letter-spacing: -0.055em; }
.hero .lead { margin-top: clamp(1.25rem, 2.5vw, 2rem); max-width: 40rem; font-size: clamp(1.1rem, 1.8vw, 1.4rem); font-weight: 500; line-height: 1.35; }
.hero .actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* sliding showcase */
.slider { margin-top: clamp(2.5rem, 5vw, 4rem); overflow: hidden; }
.track { display: flex; width: max-content; padding-left: var(--gutter); }
.slider.is-animated .track { padding-left: 0; }

@media (prefers-reduced-motion: no-preference) {
  .slider.is-animated .track { animation: drift 60s linear infinite; }
  .slider.is-animated:hover .track { animation-play-state: paused; }
  .hero h1 { animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .lead { animation: rise 0.9s 0.12s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .hero .actions { animation: rise 0.9s 0.24s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
}
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes rise { from { opacity: 0; transform: translateY(1.2rem); } to { opacity: 1; transform: none; } }

.card {
  flex: none;
  width: clamp(15rem, 24vw, 21rem);
  margin-right: clamp(0.75rem, 1.4vw, 1.1rem);
  border-radius: 1rem;
  overflow: hidden;
  background: var(--c);
  color: var(--on);
  border: 1px solid rgba(10, 10, 10, 0.08);
  display: flex; flex-direction: column;
}
.card .art { width: 100%; aspect-ratio: 4 / 4.4; padding: 1.75rem; }
.card figcaption {
  display: flex; align-items: center; justify-content: space-between; gap: 0.5rem;
  padding: 0.9rem 1.2rem 1.15rem;
  font-weight: 600; font-size: 0.98rem;
}
.card .pill {
  border: 1.5px solid currentColor; border-radius: 999px;
  padding: 0.1rem 0.6rem; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; order: 2;
}
.c-strategy  { --c: #ffffff;  --on: var(--black); }
.c-design    { --c: #c8c8c8;  --on: var(--black); }
.c-marketing { --c: #8c8c8c;  --on: var(--black); }
.c-technology{ --c: #2a2a2a;  --on: var(--white); }

/* ---------- sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section.tight { padding-top: 0; }

/* service tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.4vw, 1.1rem); margin-top: clamp(2rem, 4vw, 3.5rem); }
.tile {
  background: var(--card);
  border-radius: 1rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  min-height: 26rem;
  display: flex; flex-direction: column;
}
.t-strategy { background: var(--strategy); }
.t-design { background: var(--design); }
.t-marketing { background: var(--marketing); }
.t-technology { background: var(--technology); }
.tile h3 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin-bottom: 1rem; }
.tile > p { max-width: 24rem; font-weight: 500; margin-bottom: 1.5rem; }
.tile ul { list-style: none; margin: 0; padding: 0; }
.tile li { padding: 0.3rem 0; font-size: 0.95rem; }
.tile li::before { content: "\2013\00a0"; }
.go {
  margin-top: auto; align-self: flex-start;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--black); color: var(--white);
  transition: transform 0.2s;
}
.tile ul + .go { margin-top: 2rem; }
.go:hover { transform: translateX(4px); }
.small-tag {
  display: inline-block; margin-left: 0.4rem;
  border: 1.5px solid var(--black); border-radius: 999px;
  padding: 0 0.6rem; font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.small-tag:hover { background: var(--black); color: var(--white); }
.tile.placeholder { border: 2px dashed rgba(10, 10, 10, 0.3); background: transparent; min-height: 16rem; }
.tile .tag {
  margin-top: auto; align-self: flex-start;
  border: 1.5px solid var(--black); border-radius: 999px;
  padding: 0 0.7rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
}

/* one roof */
.together { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); margin: clamp(2rem, 4vw, 3.5rem) 0 0; }
.together > div { border-top: 2px solid var(--black); padding-top: 1.25rem; }
.together dt { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; font-size: 1.6rem; line-height: 1.05; margin-bottom: 0.75rem; }
.together dd { margin: 0; color: var(--soft); }

/* process: dark stacked cards */
.process { background: var(--black); color: var(--white); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.process .sub { color: #cfcfcb; }
.stack { list-style: none; margin: clamp(2rem, 4vw, 3.5rem) 0 0; padding: 0; }
.step {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--card); color: var(--black);
  border-radius: 1rem; overflow: hidden;
  min-height: 22rem;
  margin-bottom: 1rem;
}
.step-text { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: center; }
.step .num { font-weight: 600; font-size: 0.85rem; letter-spacing: 0.08em; margin-bottom: 1.25rem; color: var(--soft); }
.step h3 { font-size: clamp(2.2rem, 4.4vw, 3.8rem); margin-bottom: 0.9rem; }
.step p { max-width: 26rem; font-weight: 500; }
.step-art { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.06em; font-size: clamp(8rem, 18vw, 16rem); line-height: 1; }
.s1 .step-art { background: #ffffff; color: #0a0a0a; }
.s2 .step-art { background: #e4e4e0; color: #0a0a0a; }
.s3 .step-art { background: #b4b4b0; color: #0a0a0a; }
.s4 .step-art { background: #6e6e6a; color: #fff; }
.s5 .step-art { background: #2a2a2a; color: #fff; }

@media (min-width: 56rem) and (min-height: 40rem) {
  .step { position: sticky; margin-bottom: 1.5rem; }
  .s1 { top: calc(var(--header) + 1rem); }
  .s2 { top: calc(var(--header) + 1.9rem); }
  .s3 { top: calc(var(--header) + 2.8rem); }
  .s4 { top: calc(var(--header) + 3.7rem); }
  .s5 { top: calc(var(--header) + 4.6rem); }
}

/* closing statement */
.cta, .finale { background: var(--black); color: var(--white); padding-top: clamp(4rem, 9vw, 8rem); }
.cta h2, .finale h2 {
  font-size: clamp(4rem, 19vw, 17rem); line-height: 0.88; letter-spacing: -0.06em;
  background: linear-gradient(180deg, #ffffff 40%, #8a8a8a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: 0.08em;
}
.cta-row { margin-top: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.cta-row p { max-width: 30rem; color: #cfcfcb; font-weight: 500; }

/* ---------- Khan Labs page ---------- */
.page-hero { padding-bottom: clamp(1rem, 3vw, 2rem); }
.support { max-width: 52rem; }
.support p { margin-top: 1rem; font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: #cfcfcb; padding-block: clamp(2.5rem, 5vw, 4rem) 2.5rem; font-size: 0.92rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1.5rem 2rem; border-top: 1px solid rgba(255, 255, 255, 0.14); padding-top: clamp(1.5rem, 3vw, 2.5rem); }
.site-footer nav { display: flex; flex-direction: column; gap: 0.5rem; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.03em; color: #fff; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- responsive ---------- */
@media (max-width: 62rem) {
  .together { grid-template-columns: 1fr; }
}
@media (max-width: 46rem) {
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 20rem; }
  .step { grid-template-columns: 1fr; }
  .step-art { min-height: 11rem; font-size: 8rem; order: -1; }
}
@media (max-width: 30rem) {
  .wordmark .dots { display: none; }
  .wordmark { font-size: 1.05rem; }
}

/* ---------- multi-page additions ---------- */
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; font-size: 0.95rem; padding: 0.6rem 1.1rem; background: var(--black); color: var(--white); border-radius: 999px; }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 0.75rem); background: var(--black); color: #fff; border-radius: 1rem; padding: 1.25rem 1.75rem; display: flex; flex-direction: column; gap: 0.6rem; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; letter-spacing: -0.03em; min-width: 14rem; }
.menu nav a { text-decoration: none; }

.page-hero { padding-bottom: clamp(1rem, 3vw, 2.5rem); }
.page-hero h1 { font-size: clamp(3.2rem, 13vw, 11.5rem); line-height: 0.88; letter-spacing: -0.06em; }
.kicker { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

.rows { display: flex; flex-direction: column; gap: 0.75rem; }
.row { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; border-radius: 1rem; overflow: hidden; background: var(--c); color: var(--on); min-height: 18rem; border: 1px solid rgba(10,10,10,0.08); }
.row-text { padding: clamp(1.5rem, 3vw, 2.5rem); display: flex; flex-direction: column; justify-content: flex-end; gap: 0.6rem; }
.row-text h3 { font-size: clamp(2rem, 4vw, 3.4rem); }
.row-text p { max-width: 26rem; font-weight: 500; opacity: 1; }
.row-art { display: grid; place-items: center; padding: clamp(1rem, 3vw, 2rem); }
.row-art svg { width: min(100%, 16rem); height: auto; }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.4vw, 1.1rem); }
.pair-card { display: flex; flex-direction: column; justify-content: space-between; gap: 3rem; min-height: 26rem; padding: clamp(1.5rem, 3vw, 2.5rem); border-radius: 1rem; background: var(--card); color: var(--black); text-decoration: none; }
.pair-card.dark { background: var(--black); color: var(--white); }
.pair-card h3 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin-top: 0.75rem; }
.pair-card .go { margin-top: 0; background: var(--black); color: var(--white); }
.pair-card.dark .go { background: var(--white); color: var(--black); }
.pair-card:hover .go { transform: translateX(4px); }
.pair-card .kicker { color: var(--soft); }
.pair-card.dark .kicker { color: #bdbdb8; }

.statement { background: var(--black); color: var(--white); padding-block: clamp(4rem, 9vw, 8rem); text-align: center; }
.statement p { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.04em; font-size: clamp(1.8rem, 4.4vw, 3.6rem); line-height: 1.12; }
.statement .l1 { color: #fff; } .statement .l2 { color: #d8d8d4; } .statement .l3 { color: #a8a8a4; } .statement .l4 { color: #a0a09c; } .statement .l5 { color: #8c8c88; } .statement .l6 { color: #787874; } .statement .l7 { color: #fff; margin-top: 1.5rem; }

.actions-row { margin-top: 1.5rem; }
.actions-row .button { gap: 0.6rem; }

.finale h2 { padding-bottom: 0.08em; }
.foot-side { display: flex; flex-direction: column; gap: 0.5rem; align-items: flex-end; text-align: right; }
.foot-side a { font-weight: 500; }

@media (max-width: 46rem) {
  .menu { display: block; }
  .row { grid-template-columns: 1fr; }
  .row-art { order: -1; min-height: 10rem; }
  .pair { grid-template-columns: 1fr; }
  .pair-card { min-height: 16rem; }
  .foot-side { align-items: flex-start; text-align: left; }
  .site-header .button { display: none; }
}

.logo { width: 2.25rem; height: 2.25rem; border-radius: 0.55rem; display: block; }

.page-hero + .section.tight { padding-top: clamp(2rem, 5vw, 4rem); }

@media (max-width: 62rem) {
  .nav { display: none; }
  .menu { display: block; }
}

/* ---------- contact form ---------- */
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); grid-template-columns: 1fr; align-items: start; }
@media (min-width: 56rem) { .contact-grid { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); } }
.contact-form { display: grid; gap: 1.25rem; background: var(--card); border-radius: 1.5rem; padding: clamp(1.25rem, 4vw, 2.5rem); }
.field { display: grid; gap: 0.45rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field small { font-weight: 400; color: var(--soft); }
.field input, .field textarea {
  width: 100%; font: inherit; color: var(--black); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 0.85rem; padding: 0.85rem 1rem;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--black); outline-offset: 2px; border-color: var(--black); }
.contact-form .button { justify-self: start; gap: 0.6rem; cursor: pointer; font: inherit; font-weight: 600; }
.contact-form .button:disabled { opacity: 0.6; cursor: wait; }
.contact-side h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.contact-side p { margin-top: 0.75rem; font-size: 1.1rem; }
.contact-side .note { font-size: 0.95rem; color: var(--soft); }

@media (prefers-reduced-motion: reduce) { .site-header .wrap, .nav-pill { transition: none; } }

/* ---------- pillars animation (home hero) ---------- */
.hero { position: relative; }
.pillars-canvas { position: absolute; z-index: 0; right: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); top: calc(var(--header) - 1.5rem); width: min(40rem, 48vw); aspect-ratio: 1; pointer-events: none; opacity: 1; }
.hero .wrap, .hero .slider { position: relative; z-index: 1; }
.pillar { border-radius: 0.5em; transition: background-color 0.35s, color 0.35s, box-shadow 0.35s; }
.pillar.is-on { background: var(--black); color: var(--white); box-shadow: 0 0 0 0.14em var(--black); }
@media (max-width: 46rem) {
  .pillars-canvas { width: 78vw; right: -14vw; top: calc(var(--header) + 3rem); opacity: 0.35; }
}

/* ---------- full-screen hero ---------- */
.hero:not(.page-hero) { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: calc(var(--header) + 1rem); padding-bottom: 5.5rem; }
.hero:not(.page-hero) h1 { font-size: clamp(4rem, 15.5vw, 15rem); line-height: 0.86; letter-spacing: -0.06em; }
.hero:not(.page-hero) h1 span { display: block; }
.hero:not(.page-hero) .lead { max-width: 34rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); }
.pillars-canvas { top: 50%; transform: translateY(-46%); right: max(0px, calc((100% - var(--max)) / 2)); width: min(46rem, 51vw); right: max(-2rem, calc((100% - var(--max)) / 2 - 2rem)); }
.scroll-cue { position: absolute; z-index: 1; left: 50%; bottom: 1.5rem; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-decoration: none; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--soft); }
.scroll-cue svg { animation: cue 1.8s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { .scroll-cue svg { animation: none; } }
@media (max-width: 46rem) {
  .hero:not(.page-hero) h1 { font-size: clamp(3.6rem, 21vw, 7rem); }
  .pillars-canvas { width: 96vw; right: -22vw; top: 62%; opacity: 0.38; }
}

/* ---------- service sub-pages ---------- */
.crumb { display: inline-block; margin-bottom: 1.25rem; text-decoration: none; font-weight: 600; font-size: 0.95rem; color: var(--soft); }
.crumb:hover { color: var(--black); }
.tile.compact { min-height: 14rem; }
.tile.compact h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; }
.tile.compact > p { margin-bottom: 0; }
.note-line { margin-top: clamp(1.5rem, 3vw, 2.5rem); max-width: 40rem; color: var(--soft); }
.note-line a { color: var(--black); }

/* ---------- tinted pages (contact, thanks): soft lilac with a violet accent ---------- */
.tinted { --accent: #5a2ca0; --ink: #1b0a33; --lilac-text: #3f3157;
  background: linear-gradient(180deg, #b6adcc 0, #cfc9e0 38rem, #e9e7f1 70rem, #f1f0f6 100%) no-repeat; background-color: #f1f0f6; }
.tinted .page-hero h1 { color: var(--ink); }
.tinted .lead, .tinted .sub { color: var(--lilac-text); }
.tinted .crumb, .tinted .note { color: var(--lilac-text); }
.tinted .nav a:hover { background: rgba(27, 10, 51, 0.08); }
.tinted .site-header.is-scrolled .wrap { background: rgba(240, 238, 248, 0.62); border-color: rgba(255, 255, 255, 0.8); }
.contact-hero { padding-bottom: clamp(2rem, 5vw, 4rem); }
.contact-art { top: 46%; transform: translateY(-50%); right: max(-3rem, calc((100% - var(--max)) / 2 - 3rem)); width: min(34rem, 42vw); opacity: 0.9; }
.facts { display: flex; flex-wrap: wrap; gap: clamp(1.5rem, 4vw, 3.5rem); margin: clamp(2rem, 4vw, 3rem) 0 0; }
.facts dt { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.35rem; }
.facts dd { margin: 0; font-size: 1.1rem; font-weight: 500; color: var(--ink); }
.facts a { color: var(--ink); }
.tinted .contact-form { background: rgba(255, 255, 255, 0.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 20px 60px rgba(60, 30, 110, 0.12); }
.tinted .field input, .tinted .field textarea { border-color: rgba(90, 44, 160, 0.18); }
.tinted .field input:focus-visible, .tinted .field textarea:focus-visible { outline: 2px solid var(--accent); border-color: var(--accent); }
.tinted .contact-form .button { background: var(--ink); border-color: var(--ink); color: #fff; }
.tinted .contact-form .button svg { color: #c4a6ff; }
.tinted .contact-form .button:hover { background: var(--accent); border-color: var(--accent); }
.tinted .contact-side h2 { color: var(--ink); }
.tinted .contact-side a { color: var(--accent); }
.tinted .button:not(.ghost) { background: var(--ink); border-color: var(--ink); }
.tinted .site-header .button { background: var(--ink); border-color: var(--ink); }
@media (max-width: 46rem) { .contact-art { width: 80vw; right: -24vw; top: 30%; opacity: 0.35; } }

/* ---------- live clocks (contact page) ---------- */
.clocks-section { text-align: center; }
.clocks-section .sub { margin-inline: auto; }
.clocks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); margin-top: clamp(2rem, 4vw, 3rem); }
.clock-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.35rem; padding: 0; background: none; border: 0; box-shadow: none; }
.clock { width: min(100%, 15rem); height: auto; margin-bottom: 0.75rem; }
.clock-card h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); color: var(--ink, var(--black)); }
.clock-meta { margin: 0; font-size: 0.98rem; color: var(--lilac-text, var(--soft)); }
.clock-label { font-weight: 600; }
.clock-time { color: var(--accent, var(--black)); font-weight: 600; }
.clock-meta { display: flex; flex-direction: column; align-items: center; gap: 0.1rem; }
@media (max-width: 46rem) { .clocks { grid-template-columns: 1fr; } .clock { width: 12rem; } }
