/* =====================================================================
   Fidelstine: shared design system
   Colours come from the FN logo: deep indigo navy and brass gold, with
   coral (from Benin coral beads) used sparingly. Layout for each kind of
   device lives in phone.css, tablet.css and desktop.css.
   ===================================================================== */

@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bodoni Moda";
  src: url("/fonts/bodoni-moda-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --indigo: #142143;
  --indigo-2: #1c2c58;
  --indigo-3: #2a3c70;
  --indigo-deep: #0c1429;
  --brass: #cfaf5c;
  --brass-2: #e6d19a;
  --brass-ink: #82621c;
  --coral: #b5402a;
  --paper: #f5f3ee;
  --paper-2: #ebe7dd;
  --surface: #fffdf9;
  --ink: #141a2e;
  --ink-2: #394058;
  --muted: #5f6478;
  --line: rgba(20, 33, 67, 0.13);
  --line-2: rgba(20, 33, 67, 0.24);
  --on-dark: #f4f0e7;
  --on-dark-2: rgba(244, 240, 231, 0.76);
  --line-dark: rgba(244, 240, 231, 0.16);

  --display: "Bodoni Moda", "Bodoni 72", Didot, Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --gutter: clamp(16px, 4.2vw, 56px);
  --maxw: 1280px;
  --r: 16px;
  --r-sm: 10px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --shadow: 0 1px 2px rgba(12, 20, 41, 0.06), 0 18px 40px -18px rgba(12, 20, 41, 0.28);
  --masthead-h: 72px;
  --tabbar-h: 0px;

  /* Adire-style resist-dye pattern: concentric rings and stitched corners */
  --adire: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23cfaf5c' stroke-opacity='.2'%3E%3Ccircle cx='28' cy='28' r='11'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3Cpath d='M0 0l8 8M56 0l-8 8M0 56l8-8M56 56l-8-8'/%3E%3C/g%3E%3Cg fill='%23cfaf5c' fill-opacity='.3'%3E%3Ccircle cx='28' cy='3' r='1.3'/%3E%3Ccircle cx='28' cy='53' r='1.3'/%3E%3Ccircle cx='3' cy='28' r='1.3'/%3E%3Ccircle cx='53' cy='28' r='1.3'/%3E%3C/g%3E%3C/svg%3E");
  --adire-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%23142143' stroke-opacity='.07'%3E%3Ccircle cx='28' cy='28' r='11'/%3E%3Ccircle cx='28' cy='28' r='5'/%3E%3Cpath d='M0 0l8 8M56 0l-8 8M0 56l8-8M56 56l-8-8'/%3E%3C/g%3E%3C/svg%3E");
  /* a strand of beads: coral, brass and indigo on a thread */
  --beads: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14'%3E%3Cpath d='M0 7h36' stroke='%23142143' stroke-opacity='.3'/%3E%3Cellipse cx='6' cy='7' rx='4.3' ry='3.6' fill='%23b5402a'/%3E%3Ccircle cx='18' cy='7' r='4' fill='%23cfaf5c'/%3E%3Cellipse cx='30' cy='7' rx='4.3' ry='3.6' fill='%23142143'/%3E%3C/svg%3E");
  --beads-light: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='14' viewBox='0 0 36 14'%3E%3Cpath d='M0 7h36' stroke='%23f4f0e7' stroke-opacity='.3'/%3E%3Cellipse cx='6' cy='7' rx='4.3' ry='3.6' fill='%23b5402a'/%3E%3Ccircle cx='18' cy='7' r='4' fill='%23cfaf5c'/%3E%3Cellipse cx='30' cy='7' rx='4.3' ry='3.6' fill='%23f4f0e7' fill-opacity='.85'/%3E%3C/svg%3E");
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--masthead-h) + 16px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
/* responsive <picture> wrappers from the image build step shouldn't change layout */
picture { display: contents; }
img { height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; line-height: 1.12; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--brass-ink); outline-offset: 3px; border-radius: 4px; }
.section--indigo :focus-visible, .cta :focus-visible, .footer :focus-visible, .page-hero--indigo :focus-visible { outline-color: var(--brass); }
main:focus { outline: none; }
::selection { background: var(--brass-2); color: var(--indigo-deep); }

.skip {
  position: fixed; left: 12px; top: -60px; z-index: 100;
  background: var(--indigo); color: var(--on-dark); padding: 10px 16px; border-radius: 8px; text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.i { width: 1.2em; height: 1.2em; flex: none; }
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brass-ink);
  display: flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.eyebrow--brass, .section--indigo .eyebrow--brass, .cta .eyebrow, .page-hero--indigo .eyebrow--brass, .purpose__card--indigo .eyebrow--brass { color: var(--brass); }
h1, h2 { font-family: var(--display); font-optical-sizing: auto; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--brass-ink); }
.section--indigo h2 em, .page-hero--indigo h1 em, .cta h2 em { color: var(--brass); }
h3 { font-family: var(--sans); font-weight: 600; font-size: 1.1rem; line-height: 1.3; letter-spacing: -0.005em; }
.numeral { font-family: var(--display); font-style: italic; font-weight: 500; color: var(--brass-ink); }

/* ---------- layout primitives ---------- */
.section { padding-inline: var(--gutter); }
.section > * { max-width: var(--maxw); margin-inline: auto; }
.section__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 52px); }
.section__head h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.4rem); }
.section__lead { color: var(--ink-2); max-width: 60ch; font-size: 1.08rem; }
.section--indigo {
  background: var(--indigo) var(--adire) repeat;
  background-size: 56px 56px;
  color: var(--on-dark);
}
.section--indigo .section__lead, .section--indigo p { color: var(--on-dark-2); }
.section--indigo h2, .section--indigo h3 { color: var(--on-dark); }

.beads { height: 14px; background: var(--beads) repeat-x center / 36px 14px; }
.beads--light { background-image: var(--beads-light); }

/* ---------- buttons and links ---------- */
.btn {
  --b-bg: var(--indigo); --b-fg: var(--on-dark); --b-bd: var(--indigo);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px;
  background: var(--b-bg); color: var(--b-fg); border: 1px solid var(--b-bd);
  border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.98rem; letter-spacing: 0.01em;
  transition: transform 0.2s var(--ease), background-color 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.btn .i { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.btn:hover .i:last-child { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn--ink:hover { --b-bg: var(--indigo-2); box-shadow: 0 10px 24px -12px rgba(12, 20, 41, 0.6); }
.btn--brass { --b-bg: var(--brass); --b-fg: var(--indigo-deep); --b-bd: var(--brass); }
.btn--brass:hover { --b-bg: var(--brass-2); --b-bd: var(--brass-2); }
.btn--line { --b-bg: transparent; --b-fg: var(--indigo); --b-bd: var(--line-2); }
.btn--line:hover { --b-bd: var(--indigo); }
.btn--line-light { --b-bg: transparent; --b-fg: var(--on-dark); --b-bd: var(--line-dark); }
.btn--line-light:hover { --b-bd: var(--brass); --b-fg: var(--brass-2); }
.btn--ghost { --b-bg: transparent; --b-fg: var(--ink-2); --b-bd: transparent; padding-inline: 12px; }
.btn--sm { min-height: 42px; padding: 8px 18px; font-size: 0.92rem; }
.btn[aria-busy="true"] { opacity: 0.7; pointer-events: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--indigo); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.3s var(--ease);
  padding-bottom: 2px;
}
.link-arrow .i { width: 18px; height: 18px; transition: transform 0.25s var(--ease); }
.link-arrow:hover { background-size: 100% 1px; }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow--light { color: var(--brass-2); }

.icon-btn {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
}

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li {
  font-size: 0.8rem; padding: 4px 11px; border-radius: 999px;
  border: 1px solid var(--line-2); color: var(--ink-2); background: var(--surface);
}
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list li {
  padding: 7px 14px; border-radius: 999px; font-size: 0.9rem;
  background: var(--surface); border: 1px solid var(--line);
}

/* ---------- masthead (base; arranged per device) ---------- */
.masthead {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s, transform 0.35s var(--ease);
  padding-top: env(safe-area-inset-top, 0px);
}
.masthead.is-scrolled { border-bottom-color: var(--line); }
.masthead__inner {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto;
  padding-inline: var(--gutter); height: var(--masthead-h);
  display: flex; align-items: center; gap: 24px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--indigo); flex: none; }
.brand__badge { width: 38px; height: auto; }
.brand__word { font-family: var(--display); font-size: 1.45rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1; }
.brand__sub { display: none; }
.topnav, .menu-btn, .masthead__call { display: none; }
.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.masthead--on-dark:not(.is-scrolled) { background: var(--indigo); }
.masthead--on-dark:not(.is-scrolled) .brand, .masthead--on-dark:not(.is-scrolled) .topnav a, .masthead--on-dark:not(.is-scrolled) .masthead__call, .masthead--on-dark:not(.is-scrolled) .menu-btn { color: var(--on-dark); }
.masthead--on-dark:not(.is-scrolled) .menu-btn { border-color: var(--line-dark); }
/* the FN badge has a transparent middle, so it sits on a white tile over dark backgrounds */
.masthead--on-dark:not(.is-scrolled) .brand__badge { background: #fff; border-radius: 8px; padding: 3px; }

/* ---------- menu (tablet drawer / phone sheet) ---------- */
.menu { position: fixed; inset: 0; z-index: 60; }
.menu__scrim { position: absolute; inset: 0; background: rgba(12, 20, 41, 0.5); opacity: 0; transition: opacity 0.3s; }
.menu__panel {
  position: absolute; background: var(--indigo) var(--adire); background-size: 56px 56px; color: var(--on-dark);
  display: flex; flex-direction: column; gap: 28px; overflow-y: auto; overscroll-behavior: contain;
  transition: transform 0.4s var(--ease), opacity 0.3s;
}
.menu.is-open .menu__scrim { opacity: 1; }
.menu__head { display: flex; align-items: center; justify-content: space-between; }
.menu__badge { width: 44px; background: #fff; border-radius: 8px; padding: 4px; }
.menu__head .icon-btn { background: transparent; color: var(--on-dark); border-color: var(--line-dark); }
.menu__links { display: grid; gap: 2px; counter-reset: none; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 10px 0;
  font-family: var(--display); font-size: clamp(1.8rem, 1.2rem + 3vw, 2.6rem); text-decoration: none; color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
}
.menu__links a[aria-current="page"] { color: var(--brass); }
.menu__num { font-family: var(--sans); font-size: 0.75rem; letter-spacing: 0.14em; color: var(--brass); width: 22px; }
.menu__contact { margin-top: auto; display: grid; gap: 14px; }
.menu__contact .eyebrow { color: var(--brass); }
.menu__hours { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--on-dark-2); }

.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.quick__btn {
  display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: var(--r-sm);
  text-decoration: none; font-size: 0.85rem; font-weight: 600;
  background: rgba(244, 240, 231, 0.08); border: 1px solid var(--line-dark); color: var(--on-dark);
}
.quick__btn .i { width: 22px; height: 22px; color: var(--brass); }
.quick--contact .quick__btn { background: var(--surface); border-color: var(--line); color: var(--indigo); }
.quick--contact .quick__btn .i { color: var(--brass-ink); }

/* ---------- tab bar (phones only; switched on in phone.css) ---------- */
.tabbar { display: none; }

/* ---------- ribbon of place names ---------- */
.ribbon { overflow: hidden; border-block: 1px solid var(--line); background: var(--surface); }
.ribbon__track { display: flex; width: max-content; animation: ribbon 60s linear infinite; }
.ribbon__set { display: flex; align-items: center; }
.ribbon__set span { font-family: var(--display); font-style: italic; font-size: 1.15rem; color: var(--indigo); padding: 14px 18px; white-space: nowrap; }
.ribbon__set i { width: 7px; height: 7px; border-radius: 50%; background: var(--coral); flex: none; }
.ribbon__set i:nth-of-type(3n + 2) { background: var(--brass); }
.ribbon__set i:nth-of-type(3n) { background: var(--indigo); }
@keyframes ribbon { to { transform: translateX(-50%); } }
.ribbon:hover .ribbon__track { animation-play-state: paused; }

/* ---------- hero (base) ---------- */
.hero__title { font-size: clamp(2.6rem, 1.3rem + 5.2vw, 5.6rem); line-height: 1.02; letter-spacing: -0.02em; font-weight: 500; }
.hero__title em { display: block; }
.hero__lead { font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem); color: var(--ink-2); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.mosaic a { position: relative; display: block; overflow: hidden; border-radius: var(--r-sm); text-decoration: none; background: var(--indigo-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.mosaic a:hover img { transform: scale(1.05); }
.mosaic__label {
  position: absolute; left: 10px; bottom: 10px; display: flex; align-items: baseline; gap: 8px;
  padding: 6px 12px; border-radius: 999px; font-size: 0.8rem; font-weight: 600; color: var(--indigo);
  background: rgba(255, 253, 249, 0.92);
}
.mosaic__label .numeral { font-size: 0.95rem; }

/* ---------- traditions (base) ---------- */
.tradition { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.tradition__media { background: var(--indigo); }
.tradition__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.tradition__text { display: grid; gap: 12px; align-content: start; }
.tradition__meta { display: flex; align-items: baseline; gap: 10px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.tradition__meta .numeral { font-size: 1.5rem; letter-spacing: 0; text-transform: none; }
.tradition h3 { font-family: var(--display); font-weight: 500; font-size: 1.6rem; line-height: 1.15; }
.tradition__places, .craft-block__places { display: flex; align-items: center; gap: 6px; font-size: 0.88rem; color: var(--muted); }
.tradition__places .i, .craft-block__places .i { width: 16px; height: 16px; color: var(--coral); }
.traditions__index a { text-decoration: none; }
.dots { display: none; }

/* ---------- making / standards ---------- */
.making { position: relative; }
.making > .beads { max-width: none; margin-bottom: clamp(40px, 6vw, 80px); }
.making__step { display: grid; gap: 10px; align-content: start; }
.making__bead {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--display); font-style: italic; font-size: 1.2rem; color: var(--indigo-deep);
  background: radial-gradient(circle at 35% 30%, var(--brass-2), var(--brass) 55%, #a8893f);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.15), 0 4px 10px -4px rgba(12, 20, 41, 0.4);
}
.making__step:nth-child(3n + 2) .making__bead { background: radial-gradient(circle at 35% 30%, #e07a64, var(--coral) 60%, #8e2f1e); color: #fff; }
.making__step:nth-child(3n) .making__bead { background: radial-gradient(circle at 35% 30%, var(--indigo-3), var(--indigo) 60%, var(--indigo-deep)); color: var(--on-dark); }
.making__step p { color: var(--ink-2); }

/* ---------- innovations ---------- */
.innovation {
  display: grid; gap: 14px; align-content: start;
  padding: clamp(24px, 3vw, 40px); border-radius: var(--r);
  background: rgba(244, 240, 231, 0.05); border: 1px solid var(--line-dark);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.innovation__icon { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--brass); color: var(--indigo-deep); }
.innovation__icon .i { width: 26px; height: 26px; }
.innovation h3 { font-family: var(--display); font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.innovation sup { font-family: var(--sans); font-size: 0.45em; color: var(--brass); margin-left: 2px; }
.innovations__more { margin-top: 28px; }

/* ---------- pillars (business teaser) ---------- */
.pillar { display: grid; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: border-color 0.2s, box-shadow 0.3s, transform 0.3s var(--ease); }
.pillar:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.pillar__media { display: block; overflow: hidden; background: var(--indigo); }
.pillar__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.pillar:hover .pillar__media img { transform: scale(1.04); }
.pillar__body { display: grid; gap: 6px; align-content: start; }
.pillar__kicker { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-ink); }
.pillar__name { font-family: var(--display); font-size: 1.55rem; line-height: 1.15; }
.pillar__text { color: var(--ink-2); font-size: 0.97rem; }
.pillar__go { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); color: var(--indigo); transition: background-color 0.2s, color 0.2s; }
.pillar__go .i { width: 18px; height: 18px; }
.pillar:hover .pillar__go { background: var(--indigo); color: var(--on-dark); }
.biz-teaser__cta { margin-top: 32px; }

/* ---------- events teaser ---------- */
.events-teaser__text { display: grid; gap: 18px; align-content: start; }
.events-teaser__text h2 { font-size: clamp(2rem, 1.2rem + 2.6vw, 3.2rem); }
.events-teaser__text > p:not(.eyebrow) { color: var(--ink-2); max-width: 52ch; }
.events-teaser__text .btn { justify-self: start; }
.events-teaser__menu {
  background: var(--indigo) var(--adire); background-size: 56px 56px; color: var(--on-dark);
  border-radius: var(--r); padding: clamp(24px, 3vw, 44px); display: grid; gap: 0;
}
.events-teaser__menu li { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
.events-teaser__menu li:last-child { border-bottom: 0; }
.events-teaser__menu strong { font-family: var(--display); font-weight: 500; font-size: 1.6rem; line-height: 1.1; }
.events-teaser__menu span:last-child { grid-column: 2; color: var(--on-dark-2); font-size: 0.92rem; }
.menu-card__num { font-family: var(--display); font-style: italic; color: var(--brass); font-size: 1.1rem; grid-row: span 2; padding-top: 4px; }

/* ---------- call to action band ---------- */
.cta { background: var(--indigo-deep) var(--adire); background-size: 56px 56px; color: var(--on-dark); padding-inline: var(--gutter); }
.cta__inner { max-width: 820px; margin-inline: auto; text-align: center; display: grid; justify-items: center; gap: 18px; }
.cta h2 { font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.cta p { color: var(--on-dark-2); max-width: 56ch; }
.cta .eyebrow::after { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 10px; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { padding-inline: var(--gutter); position: relative; overflow: hidden; }
.page-hero__inner { max-width: var(--maxw); margin-inline: auto; display: grid; gap: 20px; position: relative; }
.page-hero h1 { font-size: clamp(2.5rem, 1.3rem + 4.6vw, 5rem); line-height: 1.04; letter-spacing: -0.02em; }
.page-hero h1 em { display: block; }
.page-hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 58ch; }
.page-hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.page-hero--indigo { background: var(--indigo) var(--adire); background-size: 56px 56px; color: var(--on-dark); }
.page-hero--indigo .page-hero__lead { color: var(--on-dark-2); }
.page-hero__stats { display: flex; flex-wrap: wrap; gap: 12px 36px; padding-top: 12px; border-top: 1px solid var(--line-dark); }
.page-hero__stats li { display: grid; }
.page-hero__stats strong { font-family: var(--display); font-size: 2.4rem; font-weight: 500; color: var(--brass); line-height: 1.1; }
.page-hero__stats span { font-size: 0.88rem; color: var(--on-dark-2); }
.page-hero__stats::before { content: "Services"; flex-basis: 100%; grid-column: 1 / -1; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.page-hero--craft, .page-hero--events, .page-hero--about { background: var(--paper) var(--adire-light); background-size: 56px 56px; }
.page-hero__story { display: grid; gap: 14px; max-width: 64ch; color: var(--ink-2); font-size: 1.1rem; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jump a {
  display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 16px; border-radius: 999px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 0.92rem; color: var(--indigo);
  transition: border-color 0.2s;
}
.jump a:hover { border-color: var(--indigo); }
.pill-list--hero li { background: transparent; border-color: var(--line-2); }

/* ---------- craft page ---------- */
.craft-block { padding-inline: var(--gutter); scroll-margin-top: calc(var(--masthead-h) + 8px); }
.craft-block__media figure { overflow: hidden; background: var(--indigo); border-radius: var(--r); }
.craft-block__media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.craft-block__numeral { font-family: var(--display); font-style: italic; color: var(--brass); line-height: 1; }
.craft-block__text { display: grid; gap: 14px; align-content: start; }
.craft-block__text h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); }
.craft-block__summary { font-size: 1.1rem; color: var(--ink-2); max-width: 56ch; }
.technique { display: grid; gap: 6px; align-content: start; }
.technique__num { font-family: var(--display); font-style: italic; color: var(--brass-ink); font-size: 1rem; }
.technique p { color: var(--ink-2); font-size: 0.97rem; }
.collection { display: grid; gap: 12px; align-content: start; padding: clamp(22px, 3vw, 34px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.collection__icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--indigo); }
.collection__icon .i { width: 24px; height: 24px; }
.collection h3 { font-family: var(--display); font-weight: 500; font-size: 1.7rem; }
.collection p { color: var(--ink-2); }

/* ---------- business services ---------- */
.services__tab {
  display: grid; text-align: left; border: 0; background: none; padding: 0; color: inherit;
  -webkit-tap-highlight-color: transparent;
}
.services__tab-num { font-family: var(--display); font-style: italic; color: var(--brass-ink); }
.services__tab-name { font-weight: 600; }
.services__tab-kicker { font-size: 0.85rem; color: var(--muted); }
.panel { display: grid; gap: 24px; align-content: start; scroll-margin-top: calc(var(--masthead-h) + 70px); }
.panel:focus-visible { outline-offset: 8px; }
.panel__media { overflow: hidden; border-radius: var(--r); background: var(--indigo); }
.panel__media img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.panel__head { display: grid; gap: 10px; }
.panel__head h2 { font-size: clamp(2rem, 1.3rem + 2vw, 3rem); }
.panel__head > p:last-child { color: var(--ink-2); font-size: 1.08rem; }
.service-list li { display: grid; gap: 4px; padding: 18px 0; border-top: 1px solid var(--line); }
.service-list h3 { font-size: 1.05rem; }
.service-list p { color: var(--ink-2); font-size: 0.97rem; }
.why__grid li { display: grid; gap: 8px; align-content: start; }
.why__num { font-family: var(--display); font-style: italic; font-size: 2.4rem; line-height: 1; color: var(--brass-ink); }
.why__grid p { color: var(--ink-2); }

/* ---------- events page ---------- */
.menu-card { display: grid; gap: 12px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(24px, 3vw, 36px); position: relative; overflow: hidden; }
.menu-card::after { content: ""; position: absolute; inset: auto 0 0 0; height: 14px; background: var(--beads) repeat-x center / 36px 14px; opacity: 0.9; }
.menu-card h3 { font-family: var(--display); font-weight: 500; font-size: 2rem; }
.menu-card > p:not(.menu-card__num):not(.menu-card__best) { color: var(--ink-2); }
.menu-card .menu-card__num { color: var(--brass-ink); font-size: 1.2rem; }
.menu-card__best { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); padding-bottom: 16px; }
.steps__list li { display: grid; gap: 10px; align-content: start; }
.steps__num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--brass); color: var(--brass); font-family: var(--display); font-size: 1.4rem; font-style: italic; }

/* ---------- about page ---------- */
.purpose__card { display: grid; gap: 18px; align-content: start; padding: clamp(28px, 4vw, 56px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.purpose__quote { font-family: var(--display); font-size: clamp(1.35rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.35; }
.purpose__card--indigo { background: var(--indigo) var(--adire); background-size: 56px 56px; color: var(--on-dark); border-color: transparent; }
.visit__text { display: grid; gap: 14px; align-content: start; }
.visit__text h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.8rem); }
.visit__address { font-size: 1.15rem; line-height: 1.6; }
.visit__hours { margin: 0; display: grid; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 24px; }
.visit__hours div { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.visit__hours div:last-child { border-bottom: 0; }
.visit__hours dt { font-weight: 600; }
.visit__hours dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* ---------- forms ---------- */
.form-section__intro { display: grid; gap: 16px; align-content: start; }
.form-section__intro h2 { font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); }
.form-section__intro > p:not(.eyebrow) { color: var(--ink-2); max-width: 48ch; }
.form-section__points { display: grid; gap: 10px; }
.form-section__points li { display: flex; align-items: center; gap: 10px; font-weight: 500; }
.form-section__points .i { width: 20px; height: 20px; color: var(--brass-ink); }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: calc(var(--r) + 4px); box-shadow: var(--shadow); padding: clamp(20px, 3vw, 40px); }

.enquiry { display: grid; gap: 28px; }
.step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 16px; }
.step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin-bottom: 16px; font-family: var(--display); font-size: 1.5rem; font-weight: 500; }
.step__num { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--sans); font-size: 0.85rem; font-weight: 700; background: var(--indigo); color: var(--on-dark); }
.enquiry__progress, .enquiry__stepcount { display: none; }

.types { display: grid; gap: 10px; }
.type {
  position: relative; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px;
  padding: 14px 16px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--surface); cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.type input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.type__icon { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); color: var(--indigo); transition: background-color 0.2s, color 0.2s; }
.type__icon .i { width: 22px; height: 22px; }
.type__text { display: grid; line-height: 1.3; }
.type__text strong { font-weight: 600; }
.type__text small { font-size: 0.85rem; color: var(--muted); }
.type__tick { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: transparent; transition: all 0.2s; }
.type__tick .i { width: 15px; height: 15px; }
.type:has(input:checked) { border-color: var(--indigo); background: color-mix(in srgb, var(--paper) 50%, var(--surface)); box-shadow: inset 0 0 0 1px var(--indigo); }
.type:has(input:checked) .type__icon { background: var(--indigo); color: var(--brass); }
.type:has(input:checked) .type__tick { background: var(--indigo); border-color: var(--indigo); color: var(--on-dark); }
.type:has(input:focus-visible) { outline: 2px solid var(--brass-ink); outline-offset: 2px; }

.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; grid-column: 1 / -1; min-width: 0; }
.field--half { grid-column: span 1; }
.field label, .field .label { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.opt { font-weight: 400; color: var(--muted); font-size: 0.85em; }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px;
  background: var(--paper); border: 1px solid var(--line-2); border-radius: var(--r-sm);
  font-size: 1rem; color: var(--ink); transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5l5-5' fill='none' stroke='%23142143' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--indigo); background: var(--surface); box-shadow: 0 0 0 3px rgba(207, 175, 92, 0.35); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: var(--coral); }
.field__error { font-size: 0.85rem; color: var(--coral); font-weight: 500; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 0.93rem; background: var(--paper); transition: all 0.2s; }
.chip input:checked + span { background: var(--indigo); border-color: var(--indigo); color: var(--on-dark); }
.chip input:focus-visible + span { outline: 2px solid var(--brass-ink); outline-offset: 2px; }
.enquiry__privacy { font-size: 0.86rem; color: var(--muted); }
.enquiry__privacy a { color: var(--indigo); }
.enquiry__error { padding: 12px 16px; border-radius: var(--r-sm); background: #fbeae6; color: #8a2a18; font-weight: 500; border: 1px solid #efc6bb; }
.enquiry__actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.sent { display: grid; gap: 14px; justify-items: start; padding: clamp(8px, 2vw, 20px) 0; }
.sent:focus { outline: none; }
.sent__mark { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: var(--brass); animation: pop 0.5s var(--ease); }
.sent__mark .i { width: 30px; height: 30px; }
.sent__title { font-family: var(--display); font-weight: 500; font-size: 1.9rem; }
.sent__ref { font-variant-numeric: tabular-nums; letter-spacing: 0.06em; }
.sent__more { color: var(--ink-2); }
.sent__more a { color: var(--indigo); font-weight: 600; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- contact page ---------- */
.contact { padding-inline: var(--gutter); }
.contact h1 { font-size: clamp(2.5rem, 1.3rem + 4.4vw, 4.6rem); letter-spacing: -0.02em; line-height: 1.04; }
.contact h1 em { color: var(--brass-ink); }
.contact__head { display: grid; gap: 16px; align-content: start; }
.contact__lead { color: var(--ink-2); font-size: 1.1rem; max-width: 46ch; }
.info { display: grid; gap: 6px; padding: 20px 0; border-top: 1px solid var(--line); }
.info__title { display: flex; align-items: center; gap: 10px; font-family: var(--sans); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.info__title .i { width: 18px; height: 18px; color: var(--brass-ink); }
.info a { color: var(--indigo); font-weight: 500; text-decoration: none; }
.info a:hover { text-decoration: underline; }
.info__hours { margin: 0; display: grid; gap: 4px; }
.info__hours div { display: flex; justify-content: space-between; gap: 12px; max-width: 260px; }
.info__hours dd { margin: 0; font-variant-numeric: tabular-nums; color: var(--ink-2); }

/* ---------- legal and 404 ---------- */
.legal { max-width: 760px; margin-inline: auto; padding: clamp(32px, 6vw, 80px) var(--gutter) clamp(56px, 8vw, 110px); display: grid; gap: 16px; }
.legal h1 { font-size: clamp(2.2rem, 1.4rem + 3vw, 3.4rem); }
.legal h2 { font-family: var(--sans); font-size: 1.2rem; font-weight: 600; margin-top: 18px; }
.legal p { color: var(--ink-2); }
.legal a { color: var(--indigo); }
.legal__updated { font-size: 0.9rem; color: var(--muted) !important; }
.notfound { max-width: 720px; margin-inline: auto; padding: clamp(48px, 10vw, 140px) var(--gutter); display: grid; gap: 18px; }
.notfound__code { font-family: var(--display); font-style: italic; font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: 0.9; color: var(--brass); }
.notfound h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3rem); }
.notfound p { color: var(--ink-2); }
.notfound__links { display: grid; gap: 12px; margin-top: 8px; }

/* ---------- footer (base) ---------- */
.footer { background: var(--indigo-deep); color: var(--on-dark); }
.footer__inner { max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: grid; gap: 28px; }
.footer__badge { width: 52px; background: #fff; border-radius: 10px; padding: 5px; }
.footer__brand { display: grid; gap: 10px; justify-items: start; align-content: start; }
.footer__word { font-family: var(--display); font-size: 1.7rem; letter-spacing: 0.14em; text-transform: uppercase; }
.footer__line { font-family: var(--display); font-style: italic; color: var(--brass-2); }
.footer__col summary { list-style: none; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); }
.footer__col summary::-webkit-details-marker { display: none; }
.footer__col ul, .footer__col address { display: grid; gap: 8px; margin-top: 14px; color: var(--on-dark-2); }
.footer__col a { color: var(--on-dark); text-decoration: none; }
.footer__col a:hover { color: var(--brass-2); }
.footer__hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 220px; font-variant-numeric: tabular-nums; }
.footer__base {
  max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding: 22px var(--gutter);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px;
  border-top: 1px solid var(--line-dark); font-size: 0.85rem; color: var(--on-dark-2);
}
.footer__base a { color: var(--on-dark); }

/* ---------- reveal on scroll (content is visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .ribbon__track { animation: none; }
}

/* ---------- menu: the eight areas under Services (tablet drawer, phone sheet) ---------- */
.menu__sub { display: grid; padding: 4px 0 12px 38px; border-bottom: 1px solid var(--line-dark); }
.menu__links .menu__sub a {
  font-family: var(--sans); font-size: 1rem; font-weight: 500; align-items: center; gap: 12px;
  padding: 9px 0; border-bottom: 0; color: var(--on-dark-2);
}
.menu__links .menu__sub a .i { width: 18px; height: 18px; color: var(--brass); }
.menu__links .menu__sub a[aria-current="page"] { color: var(--brass); }

/* several WhatsApp numbers: the tiles and buttons sit in the parent's grid or row */
.quick { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.quick__wa, .cta__wa { display: contents; }
.quick__btn small { font-size: 0.7rem; font-weight: 500; color: var(--on-dark-2); margin-top: -4px; }
.quick--contact .quick__btn small { color: var(--muted); }
.info__note { font-size: 0.82rem; color: var(--muted); }


.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- home hero: a slideshow of the eight areas ---------- */
.stage { position: relative; overflow: hidden; isolation: isolate; border-radius: 28px; background: var(--indigo-deep); color: #fff; }
.stage__slides { position: absolute; inset: 0; }
.stage__slide { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; opacity: 0; visibility: hidden; transition: opacity 1.1s var(--ease), visibility 0s linear 1.1s; }
.stage__slide.is-active { opacity: 1; visibility: visible; z-index: 1; transition: opacity 1.1s var(--ease); }
.stage__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.14); transition: transform 8s linear; }
.stage__slide.is-active img { transform: scale(1.02); }
.stage__slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 20, 41, 0.05) 30%, rgba(12, 20, 41, 0.55) 62%, rgba(12, 20, 41, 0.92)); }
.stage__caption { position: absolute; z-index: 2; left: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px); bottom: clamp(84px, 9vw, 104px); display: grid; justify-items: start; gap: 6px; }
.stage__num { font-family: var(--display); font-style: italic; font-size: 1.5rem; line-height: 1; color: var(--brass); }
.stage__kicker { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass-2); }
.stage__name { font-family: var(--display); font-weight: 500; font-size: clamp(2rem, 1.4rem + 2vw, 3.1rem); line-height: 1.05; max-width: 16ch; }
.stage__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; padding: 9px 18px; border-radius: 999px; background: rgba(244, 240, 231, 0.14); border: 1px solid rgba(244, 240, 231, 0.3); font-weight: 600; font-size: 0.9rem; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: background-color 0.2s, color 0.2s; }
.stage__go .i { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.stage__slide:hover .stage__go { background: var(--brass); color: var(--indigo-deep); border-color: var(--brass); }
.stage__slide:hover .stage__go .i { transform: translateX(3px); }
.stage__slide.is-active .stage__caption > * { animation: stage-rise 0.9s var(--ease) both; }
.stage__slide.is-active .stage__caption > :nth-child(2) { animation-delay: 0.08s; }
.stage__slide.is-active .stage__caption > :nth-child(3) { animation-delay: 0.16s; }
.stage__slide.is-active .stage__caption > :nth-child(4) { animation-delay: 0.26s; }
@keyframes stage-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
.stage__index { position: absolute; z-index: 3; left: clamp(20px, 3vw, 36px); right: clamp(20px, 3vw, 36px); bottom: clamp(18px, 2.4vw, 28px); display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; }
.stage__index button { display: grid; gap: 6px; width: 100%; padding: 8px 0 0; border: 0; background: none; text-align: left; color: rgba(244, 240, 231, 0.62); font-size: 0.72rem; font-weight: 600; transition: color 0.2s; }
.stage__index button:hover, .stage__index button[aria-current="true"] { color: #fff; }
.stage__dot-num { font-family: var(--display); font-style: italic; font-size: 0.95rem; font-weight: 500; }
.stage__dot-name { display: none; line-height: 1.2; min-height: 2.4em; }
.stage__bar { display: block; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(244, 240, 231, 0.25); }
.stage__bar b { display: block; height: 100%; background: var(--brass); transform-origin: left; transform: scaleX(0); }
.stage__index button[aria-current="true"] .stage__bar b { transform: scaleX(1); }
.stage__index button.is-running .stage__bar b { transform: scaleX(0); animation: stage-bar var(--stage-time, 6s) linear forwards; }
.stage.is-paused .stage__index button.is-running .stage__bar b { animation-play-state: paused; }
@keyframes stage-bar { to { transform: scaleX(1); } }

/* ---------- service areas: photo cards (home, About) ---------- */
.areas-section { padding-block: clamp(56px, 8vw, 110px); }
.areas { display: grid; gap: 18px; }
.areas > li { display: grid; }
.area {
  display: grid; grid-template-rows: auto 1fr; text-decoration: none; color: inherit; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color 0.2s, box-shadow 0.3s, transform 0.35s var(--ease);
}
.area:hover { border-color: var(--line-2); box-shadow: var(--shadow); transform: translateY(-4px); }
.area__media { position: relative; display: block; overflow: hidden; background: var(--indigo); aspect-ratio: 4 / 3; }
.area__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.area:hover .area__media img { transform: scale(1.07); }
.area__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(12, 20, 41, 0.45)); }
.area__num { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 4px 11px; border-radius: 999px; background: rgba(255, 253, 249, 0.92); font-family: var(--display); font-style: italic; font-size: 1rem; color: var(--brass-ink); }
.area__body { position: relative; display: grid; gap: 8px; align-content: start; grid-template-rows: auto auto 1fr auto; padding: 34px clamp(20px, 2vw, 26px) clamp(20px, 2vw, 24px); }
.area__icon { position: absolute; top: -26px; left: clamp(20px, 2vw, 26px); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: var(--brass); border: 3px solid var(--surface); transition: background-color 0.2s, color 0.2s, transform 0.35s var(--ease); }
.area__icon .i { width: 24px; height: 24px; }
.area:hover .area__icon { background: var(--brass); color: var(--indigo-deep); transform: rotate(-8deg) scale(1.05); }
.area__kicker { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.area__name { font-family: var(--display); font-size: 1.45rem; line-height: 1.15; color: var(--indigo); }
.area__text { color: var(--ink-2); font-size: 0.95rem; }
.area__go { display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; font-weight: 600; font-size: 0.9rem; color: var(--indigo); }
.area__go .i { width: 17px; height: 17px; transition: transform 0.25s var(--ease); }
.area:hover .area__go .i { transform: translateX(4px); }

/* ---------- services explorer (Services page) ---------- */
.services__tab-icon { display: none; }
.panel__media { position: relative; }
.panel__media img { transition: transform 1.2s var(--ease); }
.panel.is-active .panel__media img { animation: panel-zoom 9s var(--ease) both; }
@keyframes panel-zoom { from { transform: scale(1.1); } to { transform: scale(1); } }
.panel__badge { position: absolute; left: 16px; bottom: 16px; display: inline-flex; align-items: baseline; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(255, 253, 249, 0.94); color: var(--indigo); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.panel__badge .numeral { font-size: 1.1rem; letter-spacing: 0; }
.panel__highlights { display: flex; flex-wrap: wrap; gap: 8px; }
.panel__highlights li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 0.88rem; font-weight: 600; color: var(--indigo); }
.panel__highlights .i { width: 18px; height: 18px; color: var(--brass-ink); }
.panel__actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }

/* ---------- service area pages: split hero ---------- */
.area-hero { background: var(--indigo) var(--adire); background-size: 56px 56px; color: var(--on-dark); padding-inline: var(--gutter); overflow: hidden; }
.area-hero__inner { max-width: var(--maxw); margin-inline: auto; display: grid; gap: 40px; align-items: center; }
.area-hero__text { display: grid; gap: 20px; align-content: center; }
.area-hero h1 { font-size: clamp(2.5rem, 1.3rem + 4vw, 4.6rem); line-height: 1.04; letter-spacing: -0.02em; color: var(--on-dark); }
.area-hero__lead { font-size: 1.1rem; color: var(--on-dark-2); max-width: 56ch; }
.area-hero__media { position: relative; }
.area-hero__photo { overflow: hidden; border-radius: 22px; background: var(--indigo-deep); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); cursor: zoom-in; }
.area-hero__photo img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 14s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.12); } to { transform: scale(1); } }
.area-hero__card {
  position: absolute; left: -18px; bottom: 28px; display: flex; align-items: center; gap: 14px; padding: 16px 22px 16px 16px;
  border-radius: 18px; background: var(--surface); color: var(--ink); box-shadow: var(--shadow);
  animation: card-float 6s ease-in-out infinite alternate;
}
.area-hero__card-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo); color: var(--brass); }
.area-hero__card-icon .i { width: 24px; height: 24px; }
.area-hero__card p { font-weight: 600; line-height: 1.25; color: var(--indigo); }
.area-hero__card strong { font-family: var(--display); font-size: 1.8rem; font-weight: 500; }
.area-hero__card span { font-size: 0.84rem; font-weight: 500; color: var(--muted); }
@keyframes card-float { from { transform: translateY(0); } to { transform: translateY(-10px); } }

/* ---------- service area pages: highlights, service cards, note ---------- */
.highlights { padding-block: clamp(48px, 7vw, 88px) 0; }
.highlights__list { display: grid; gap: 16px; }
.highlight { position: relative; display: grid; gap: 10px; align-content: start; padding: clamp(22px, 2.6vw, 32px); border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.highlight::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--coral), var(--brass), var(--indigo)); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease); }
.highlight:hover::after, .highlight.is-in::after { transform: scaleX(1); }
.highlight__icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--paper-2); color: var(--indigo); }
.highlight__icon .i { width: 26px; height: 26px; }
.highlight h3 { font-family: var(--display); font-weight: 500; font-size: 1.45rem; }
.highlight p { color: var(--ink-2); }
.svc { padding-block: clamp(56px, 8vw, 104px); }
.svc-cards { display: grid; gap: 14px; counter-reset: none; }
.svc-card {
  position: relative; display: grid; gap: 8px; align-content: start; padding: 24px 24px 26px; border-radius: var(--r);
  background: var(--surface); border: 1px solid var(--line); transition: transform 0.35s var(--ease), box-shadow 0.3s, border-color 0.2s;
}
.svc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-2); }
.svc-card__num { font-family: var(--display); font-style: italic; font-size: 2rem; line-height: 1; color: var(--brass-ink); }
.svc-card h3 { font-size: 1.08rem; }
.svc-card p { color: var(--ink-2); font-size: 0.96rem; }
.svc__note { display: flex; gap: 10px; align-items: flex-start; margin-top: 28px; padding: 16px 18px; border-radius: var(--r-sm); background: var(--paper-2); color: var(--ink-2); font-size: 0.95rem; }
.svc__note .i { width: 20px; height: 20px; color: var(--brass-ink); margin-top: 2px; }
.page-hero__stats--plain::before { content: none; }
.page-hero__num { font-family: var(--display); font-style: italic; font-size: 1.1rem; letter-spacing: 0; text-transform: none; }

/* ---------- service area pages: previous and next, with photos ---------- */
.pager { padding-block: clamp(40px, 6vw, 72px); background: var(--indigo-deep) var(--adire); background-size: 56px 56px; }
.pager__inner { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pager__link { position: relative; display: block; overflow: hidden; border-radius: var(--r); text-decoration: none; color: #fff; min-height: 180px; isolation: isolate; }
.pager__media { position: absolute; inset: 0; z-index: -1; }
.pager__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.pager__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 20, 41, 0.86), rgba(12, 20, 41, 0.35)); }
.pager__link--next .pager__media::after { background: linear-gradient(270deg, rgba(12, 20, 41, 0.86), rgba(12, 20, 41, 0.35)); }
.pager__link:hover .pager__media img { transform: scale(1.06); }
.pager__text { display: grid; gap: 6px; align-content: end; height: 100%; min-height: 180px; padding: 24px; }
.pager__link--next .pager__text { justify-items: end; text-align: right; }
.pager__dir { display: inline-flex; align-items: center; gap: 6px; font-size: 0.74rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); }
.pager__dir .i { width: 16px; height: 16px; }
.pager__name { font-family: var(--display); font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); line-height: 1.15; }
.pager__all-wrap { margin-top: 20px; text-align: center; }
.pager__all { display: inline-flex; align-items: center; gap: 10px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line-dark); color: var(--on-dark); text-decoration: none; font-weight: 600; font-size: 0.92rem; transition: border-color 0.2s, color 0.2s; }
.pager__all:hover { border-color: var(--brass); color: var(--brass-2); }
.pager__all .i { width: 20px; height: 20px; color: var(--brass); }

@media (prefers-reduced-motion: reduce) {
  .stage__slide img, .stage__slide.is-active img { transform: none; transition: none; }
  .area-hero__photo img, .panel.is-active .panel__media img, .area-hero__card { animation: none; }
}

/* the bar of the eight services under the header: laptops only (desktop.css) */
.svcbar { display: none; }
