/* ==========================================================================
   Ferrars & Hale · concept website (fictional company)
   Designed by Pathfinder Automation Solutions.

   How this maps to Squarespace 7.1
   1. Site Styles ........ fonts, colours and section themes (:root and [data-section-theme])
   2. Fluid Engine ....... .fe is the 24-column section grid; blocks are placed with
                           --d (desktop), --t (tablet override) and --m (8-column mobile)
   3. Blocks ............. buttons, text, image, list, accordion, form, scheduling
   4. Custom CSS ......... anything marked "custom" would live in Design → Custom CSS
   ========================================================================== */

/* ---------- 1. Site Styles: fonts ---------- */
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- 1. Site Styles: colours, spacing ---------- */
:root {
  --ink: #13201a;
  --ink-2: #1b2b23;
  --moss: #2f4a3c;
  --paper: #f4f0e7;
  --paper-2: #faf8f3;
  --bone: #e8e1d3;
  --accent: #b4612a;
  --accent-deep: #94491a;
  --muted: #56615a;
  --rule: rgba(19, 32, 26, 0.15);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;

  --max: 1360px;
  --pad: clamp(20px, 4.4vw, 64px);
  --gap: clamp(12px, 1.6vw, 24px);
  --section-y: clamp(88px, 10.5vw, 168px);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Section themes (Site Styles → Colours → Section themes) */
[data-section-theme="paper"] { --bg: var(--paper); --fg: var(--ink); --fg-muted: var(--muted); --line: var(--rule); --card: var(--paper-2); --field: rgba(19, 32, 26, 0.32); }
[data-section-theme="bone"]  { --bg: var(--bone);  --fg: var(--ink); --fg-muted: #4f5a53; --line: rgba(19, 32, 26, 0.17); --card: #f1ece2; --field: rgba(19, 32, 26, 0.32); }
[data-section-theme="ink"]   { --bg: var(--ink);   --fg: var(--paper); --fg-muted: rgba(244, 240, 231, 0.68); --line: rgba(244, 240, 231, 0.16); --card: var(--ink-2); --field: rgba(244, 240, 231, 0.34); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-weight: 420;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--paper); padding: 10px 14px; font-size: 14px; }
.skip-link:focus { top: 12px; }
section[id] { scroll-margin-top: 64px; }

/* ---------- 2. Fluid Engine grid ---------- */
.fe {
  --cols: 24;
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  column-gap: var(--gap);
  width: min(100% - 2 * var(--pad), var(--max));
  margin-inline: auto;
}
.fe > * { grid-column: var(--d, 1 / -1); grid-row: var(--dr, auto); min-width: 0; }
@media (max-width: 1023px) {
  .fe > * { grid-column: var(--t, var(--d, 1 / -1)); grid-row: var(--tr, auto); }
}
@media (max-width: 767px) {
  .fe { --cols: 8; }
  .fe > * { grid-column: var(--m, 1 / -1); grid-row: auto; }
}

.section { background: var(--bg); color: var(--fg); padding-block: var(--section-y); position: relative; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--serif);
  font-weight: 330;
  font-size: clamp(3.05rem, 1.35rem + 5.55vw, 7.4rem);
  line-height: 0.97;
  letter-spacing: -0.024em;
  text-wrap: balance;
}
.display em { font-style: italic; font-weight: 300; color: var(--accent); letter-spacing: -0.03em; }
.h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-size: clamp(2.15rem, 1.35rem + 2.5vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.lead { font-family: var(--serif); font-weight: 380; font-size: clamp(1.2rem, 1.03rem + 0.5vw, 1.52rem); line-height: 1.45; letter-spacing: -0.003em; }
.label { font-family: var(--sans); font-size: 0.75rem; line-height: 1.3; font-weight: 560; letter-spacing: 0.14em; text-transform: uppercase; }
.label .sect { font-family: var(--serif); font-style: italic; font-size: 1.05rem; letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--accent); margin-right: 0.55em; }
[data-section-theme="ink"] .label .sect { color: #d98a52; }
.muted { color: var(--fg-muted); }

/* ---------- 3. Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 52px; padding: 0 1.55em;
  font-family: var(--sans); font-size: 0.9375rem; font-weight: 560; letter-spacing: 0.005em; line-height: 1;
  border: 1px solid transparent; border-radius: 0;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn__arrow { display: inline-block; transition: transform 0.35s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: var(--moss); }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-deep); }
.btn--ghost { border-color: var(--line); color: var(--fg); background: transparent; }
.btn--ghost:hover { border-color: var(--fg); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.38; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.text-link {
  font-weight: 560; font-size: 0.9375rem;
  text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 0.35em;
  transition: text-decoration-thickness 0.2s, color 0.2s;
}
.text-link:hover { text-decoration-thickness: 2px; }

/* ---------- Announcement bar ---------- */
.announcement {
  position: relative; display: flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 9px 52px; background: var(--ink); color: var(--paper);
  font-size: 0.8125rem; letter-spacing: 0.01em; text-align: center;
}
.announcement a { text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: rgba(244, 240, 231, 0.45); margin-left: 0.4em; }
.announcement a:hover { text-decoration-color: currentColor; }
.announcement__close { position: absolute; right: 12px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; display: grid; place-items: center; opacity: 0.7; }
.announcement__close:hover { opacity: 1; }
.announcement__close svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 1.4; fill: none; }
.announcement.is-hidden { display: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(244, 240, 231, 0.94);
  -webkit-backdrop-filter: saturate(140%) blur(10px); backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, background-color 0.3s;
}
.header.is-scrolled { border-bottom-color: var(--rule); }
.header__inner {
  width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto;
  height: var(--header-h); display: flex; align-items: center; gap: 40px;
  transition: height 0.35s var(--ease);
}
.header.is-scrolled .header__inner { height: 68px; }
.logo { font-family: var(--serif); font-size: 1.6rem; font-weight: 420; letter-spacing: -0.015em; line-height: 1; margin-right: auto; white-space: nowrap; padding-top: 3px; }
.logo__amp { font-style: italic; font-weight: 340; color: var(--accent); padding: 0 0.04em; }
.header__nav { display: flex; gap: 34px; font-size: 0.9375rem; font-weight: 480; }
.header__nav a { position: relative; padding: 6px 0; }
.header__nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.4s var(--ease); }
.header__nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__cta { min-height: 44px; padding: 0 1.25em; }
.burger { display: none; width: 44px; height: 44px; position: relative; margin-right: -10px; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink); transition: transform 0.35s var(--ease), top 0.35s var(--ease); }
.burger span:first-child { top: 18px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 55; background: var(--paper);
  padding: calc(var(--header-h) + 100px) var(--pad) 76px;
  display: flex; flex-direction: column; gap: 32px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a { font-family: var(--serif); font-size: 2.6rem; font-weight: 340; line-height: 1.15; padding: 6px 0; border-bottom: 1px solid var(--rule); }
.mobile-menu .btn { align-self: flex-start; background: var(--ink); color: var(--paper); }
.mobile-menu__note { margin-top: auto; font-size: 0.875rem; color: var(--muted); }
html.menu-open { overflow: hidden; }

/* ---------- Section 1 · Hero ---------- */
.hero { padding-top: clamp(44px, 5.2vw, 76px); padding-bottom: clamp(56px, 6vw, 88px); }
.hero__grid { row-gap: 0; }
.hero__kicker { --dr: 1; color: var(--fg-muted); padding-bottom: clamp(22px, 2.4vw, 34px); }
.hero__title { --dr: 2; padding-bottom: clamp(40px, 4.2vw, 64px); }
@media (min-width: 1024px) {
  .hero__title { font-size: clamp(3.05rem, 7.55vw, 7.3rem); }
}
.hero__l2 { display: block; }
.hero__lead { --dr: 3; display: grid; gap: 34px; align-content: start; }
.hero__lead .lead { max-width: 30em; font-size: clamp(1.2rem, 1rem + 0.42vw, 1.4rem); }
.hero__index { --dr: 3; padding-top: 6px; }
.hero__index .label { color: var(--fg-muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hero__index ol { display: grid; }
.hero__index a { display: flex; gap: 14px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 0.9375rem; transition: padding 0.35s var(--ease), color 0.35s; }
.hero__index a span { font-family: var(--serif); font-style: italic; color: var(--accent); min-width: 1.5em; }
.hero__index a:hover { padding-left: 6px; }
.hero__figure { --dr: 3; align-self: start; }
.hero__image { aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--bone); }
.hero__image img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; filter: saturate(0.82) contrast(1.03); transition: transform 1.6s var(--ease); }
.hero__figure:hover img { transform: scale(1.03); }
.hero__figure figcaption { margin-top: 14px; font-family: var(--serif); font-style: italic; font-size: 0.98rem; line-height: 1.4; color: var(--fg-muted); max-width: 22em; }
.hero__facts { --dr: 4; display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(56px, 6vw, 96px); border-top: 1px solid var(--ink); }
.hero__facts li { padding: 18px 24px 0 0; font-family: var(--serif); font-size: 1.15rem; line-height: 1.35; }
.hero__facts li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.hero__facts .label { display: block; margin-bottom: 8px; color: var(--fg-muted); font-family: var(--sans); font-size: 0.6875rem; }

/* ---------- Section 2 · Signs ---------- */
.signs { padding-top: clamp(40px, 5vw, 80px); }
.section-head { display: grid; gap: 22px; align-content: start; }
.section-head .label { color: var(--fg-muted); }
.signs .section-head { position: sticky; top: 120px; align-self: start; }
.signs .section-head .muted { max-width: 26em; }
.signs__list { border-top: 1px solid var(--ink); counter-reset: sign; }
.signs__list li { display: grid; grid-template-columns: 72px 1fr; gap: 12px; padding: 30px 0 32px; border-bottom: 1px solid var(--line); transition: background-color 0.4s var(--ease); }
.signs__n { font-family: var(--serif); font-style: italic; font-size: 1.35rem; color: var(--accent); line-height: 1.3; padding-top: 2px; }
.signs__list h3 { font-family: var(--serif); font-weight: 380; font-size: clamp(1.45rem, 1.15rem + 0.85vw, 2.05rem); line-height: 1.16; letter-spacing: -0.012em; margin-bottom: 10px; transition: transform 0.5s var(--ease); }
.signs__list p { color: var(--fg-muted); max-width: 36em; }
.signs__list li:hover h3 { transform: translateX(6px); }

/* ---------- Section 3 · Approach (dark) ---------- */
.approach .label { color: var(--fg-muted); margin-bottom: 28px; }
.approach__title { max-width: 15em; margin-bottom: clamp(56px, 6vw, 96px); }
.approach__lead { color: var(--fg-muted); margin-bottom: clamp(56px, 6vw, 96px); max-width: 30em; align-self: end; padding-bottom: 6px; }
.approach__figure { align-self: start; position: relative; overflow: hidden; aspect-ratio: 3 / 4; }
.approach__figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.92); }
.approach__figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(19, 32, 26, 0) 55%, rgba(19, 32, 26, 0.35)); pointer-events: none; }
.principles { display: grid; align-content: start; }
.principle { display: grid; grid-template-columns: 72px 1fr; column-gap: 12px; padding: 28px 0 30px; border-top: 1px solid var(--line); }
.principle:first-child { border-top-color: rgba(244, 240, 231, 0.5); }
.principle__n { grid-row: 1 / 3; font-family: var(--serif); font-style: italic; font-size: 1.5rem; color: #d98a52; line-height: 1.2; }
.principle h3 { font-family: var(--serif); font-weight: 380; font-size: clamp(1.5rem, 1.2rem + 0.8vw, 2rem); line-height: 1.15; margin-bottom: 10px; letter-spacing: -0.01em; }
.principle p { color: var(--fg-muted); max-width: 34em; }
.maxim { margin-top: 36px; padding: 40px 0 0 84px; border-top: 1px solid var(--line); }
.maxim p { font-family: var(--serif); font-style: italic; font-weight: 320; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.9rem); line-height: 1.1; letter-spacing: -0.02em; text-wrap: balance; }
.maxim footer { margin-top: 16px; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); }

/* ---------- Section 4 · Engagements ---------- */
.section-head--row { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: clamp(44px, 5vw, 72px); }
.section-head--row > div { display: grid; gap: 22px; }
.section-head--row .muted { max-width: 25em; padding-bottom: 8px; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); align-items: stretch; }
.card {
  display: flex; flex-direction: column; gap: 0;
  padding: clamp(28px, 2.6vw, 40px) clamp(24px, 2.4vw, 36px) clamp(32px, 2.8vw, 40px);
  background: var(--card); border: 1px solid var(--line);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -30px rgba(19, 32, 26, 0.35); }
.card__n { display: flex; align-items: center; justify-content: space-between; font-family: var(--serif); font-style: italic; color: var(--accent); font-size: 1.2rem; margin-bottom: 44px; }
.card__title { font-family: var(--serif); font-weight: 380; font-size: clamp(1.8rem, 1.45rem + 0.9vw, 2.45rem); line-height: 1.06; letter-spacing: -0.018em; margin-bottom: 12px; }
.card__meta { font-size: 0.8125rem; font-weight: 560; letter-spacing: 0.08em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 22px; }
.card__desc { margin-bottom: 26px; }
.card .ticks { margin-bottom: 34px; padding-top: 22px; border-top: 1px solid var(--line); }
.card > .text-link, .card > .btn { margin-top: auto; align-self: flex-start; }
.card--feature { background: var(--ink); color: var(--paper); border-color: var(--ink); --line: rgba(244, 240, 231, 0.16); --fg-muted: rgba(244, 240, 231, 0.66); }
.card--feature .card__n { color: #d98a52; }
.tag { font-family: var(--sans); font-style: normal; font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 10px; border: 1px solid rgba(244, 240, 231, 0.3); color: var(--paper); }

.ticks, .crosses { display: grid; gap: 11px; }
.ticks li, .crosses li { position: relative; padding-left: 28px; font-size: 0.98rem; line-height: 1.5; }
.ticks li::before, .crosses li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 14px; height: 9px; }
.ticks li::before { border-left: 1.5px solid var(--accent); border-bottom: 1.5px solid var(--accent); transform: rotate(-45deg) translate(2px, -3px); width: 12px; height: 6px; }
.card--feature .ticks li::before { border-color: #d98a52; }
.crosses li::before { top: 0.78em; width: 12px; height: 0; border-top: 1.5px solid var(--fg-muted); }

@media (min-width: 1024px) {
  .cards { grid-template-rows: repeat(6, auto); row-gap: 0; }
  .card { display: grid; grid-row: span 6; grid-template-rows: subgrid; }
  .card > .text-link, .card > .btn { align-self: end; justify-self: start; }
  .card .ticks { align-content: start; }
}

/* ---------- Section 5 · Process ---------- */
.process .section-head { margin-bottom: clamp(48px, 5.4vw, 84px); }
.h2--sm { font-size: clamp(2.05rem, 1.35rem + 1.75vw, 3.25rem); }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 34px clamp(18px, 2.2vw, 36px) 0 0; border-top: 1px solid var(--ink); display: flex; flex-direction: column; }
@media (min-width: 768px) {
  .timeline { grid-auto-rows: auto; }
  .step { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
  .step .step__out { margin-top: 0; align-self: start; }
}
.step::before { content: ""; position: absolute; left: 0; top: -6px; width: 11px; height: 11px; border-radius: 50%; background: var(--bone); border: 1.5px solid var(--ink); transition: background-color 0.4s; }
.step:hover::before { background: var(--accent); border-color: var(--accent); }
.step__when { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 14px; }
.step__title { font-family: var(--serif); font-weight: 360; font-size: clamp(2rem, 1.5rem + 1.3vw, 3rem); line-height: 1; letter-spacing: -0.02em; margin-bottom: 18px; }
.step > p:not(.step__when):not(.step__out) { color: var(--fg-muted); font-size: 0.98rem; margin-bottom: 26px; }
.step__out { margin-top: auto; padding: 16px 0 0; border-top: 1px solid var(--line); font-family: var(--serif); font-size: 1.1rem; line-height: 1.35; }
.step__out span { display: block; font-family: var(--sans); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 6px; }
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: clamp(72px, 8vw, 128px); }
.fit__col { padding: clamp(28px, 3vw, 44px); background: var(--card); border: 1px solid var(--line); }
.fit__col--no { background: transparent; }
.fit__title { font-family: var(--serif); font-weight: 380; font-size: clamp(1.6rem, 1.3rem + 0.8vw, 2.2rem); line-height: 1.1; margin-bottom: 24px; letter-spacing: -0.012em; }

/* ---------- Section 6 · Book + Acuity-style scheduler ---------- */
.book__intro { display: grid; gap: 24px; align-content: start; padding-right: clamp(0px, 2vw, 32px); }
.book__intro .label { color: var(--fg-muted); }
.book__intro > p:not(.label) { color: var(--fg-muted); }
.book__figure { margin-top: 18px; aspect-ratio: 5 / 4; overflow: hidden; }
.book__figure img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 72%; filter: saturate(0.85); }

.scheduler { align-self: start; background: var(--paper-2); border: 1px solid var(--ink); box-shadow: 0 30px 60px -40px rgba(19, 32, 26, 0.35); display: flex; flex-direction: column; }
.scheduler__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 26px; border-bottom: 1px solid var(--rule); }
.scheduler__brand { font-family: var(--serif); font-size: 1.12rem; }
.scheduler__brand span { font-family: var(--sans); font-size: 0.8125rem; color: var(--muted); }
.scheduler__steps { display: flex; gap: 20px; counter-reset: st; font-size: 0.75rem; font-weight: 560; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.scheduler__steps li { counter-increment: st; display: flex; align-items: center; gap: 8px; }
.scheduler__steps li::before { content: counter(st); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--rule); font-size: 0.6875rem; letter-spacing: 0; }
.scheduler__steps li.is-current { color: var(--ink); }
.scheduler__steps li.is-current::before { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.scheduler__steps li.is-done::before { content: "✓"; border-color: var(--accent); color: var(--accent); }
[data-panel] { display: none; }
[data-panel].is-active { display: block; }
.sched-picker.is-active { display: grid; }
.sched-chosen { display: none; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 26px; border-bottom: 1px solid var(--rule); background: rgba(232, 225, 211, 0.4); font-size: 0.9375rem; }
.sched-chosen.is-active { display: flex; }
.sched-chosen strong { font-weight: 600; }
.sched-chosen button { font-size: 0.8125rem; font-weight: 560; text-decoration: underline; text-underline-offset: 0.3em; text-decoration-color: var(--accent); }

.sched-types { border: 0; margin: 0; padding: 26px; display: none; gap: 12px; }
.sched-types.is-active { display: grid; }
.sched-legend { font-family: var(--serif); font-size: 1.35rem; margin-bottom: 14px; padding: 0; }
.sched-type { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--rule); cursor: pointer; transition: border-color 0.25s, background-color 0.25s; }
.sched-type:hover { border-color: var(--ink); }
.sched-type input { position: absolute; opacity: 0; pointer-events: none; }
.sched-type__body { display: grid; gap: 2px; margin-right: auto; }
.sched-type__name { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.sched-type__meta { font-size: 0.875rem; color: var(--muted); }
.sched-type__dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--rule); flex: none; transition: box-shadow 0.25s, border-color 0.25s; }
.sched-type:has(input:checked) { border-color: var(--ink); background: #fff; }
.sched-type:has(input:checked) .sched-type__dot { border-color: var(--ink); box-shadow: inset 0 0 0 5px var(--ink); }
.sched-type:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }

.sched-picker { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.cal { padding: 22px 26px 26px; }
.cal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal__month { font-family: var(--serif); font-size: 1.3rem; }
.cal__nav { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; transition: border-color 0.2s, opacity 0.2s; }
.cal__nav:hover { border-color: var(--ink); }
.cal__nav[disabled] { opacity: 0.3; pointer-events: none; }
.cal__nav svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.cal__dow, .cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; }
.cal__dow { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding-bottom: 8px; }
.cal__grid { row-gap: 4px; }
.cal__day { position: relative; aspect-ratio: 1; max-width: 46px; width: 100%; margin: 0 auto; display: grid; place-items: center; border-radius: 50%; font-size: 0.9375rem; font-variant-numeric: tabular-nums; color: rgba(19, 32, 26, 0.32); }
.cal__day[data-available] { color: var(--ink); font-weight: 600; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.cal__day[data-available]::after { content: ""; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--accent); }
.cal__day[data-available]:hover { background: var(--bone); }
.cal__day.is-selected { background: var(--ink) !important; color: var(--paper); }
.cal__day.is-selected::after { background: var(--paper); }
.cal__day.is-today { box-shadow: inset 0 0 0 1px var(--rule); }

.times { padding: 22px 26px 26px; border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.times__date { font-family: var(--serif); font-size: 1.3rem; line-height: 1.2; }
.times__tz { font-size: 0.8125rem; color: var(--muted); margin: 4px 0 16px; }
.times__list { display: grid; gap: 8px; }
.time { min-height: 44px; border: 1px solid var(--rule); font-size: 0.9375rem; font-weight: 520; font-variant-numeric: tabular-nums; transition: border-color 0.2s, background-color 0.2s, color 0.2s; }
.time:hover { border-color: var(--ink); }
.time.is-selected { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.times__empty { font-size: 0.9375rem; color: var(--muted); }

.sched-details { padding: 26px; display: none; grid-template-columns: 1fr 1fr; gap: 20px; }
.sched-details.is-active { display: grid; }
.sched-done { padding: 44px 30px 46px; text-align: center; }
.sched-done.is-active { display: grid; justify-items: center; gap: 12px; }
.sched-done__icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); margin-bottom: 6px; }
.sched-done__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--paper); stroke-width: 1.8; }
.sched-done h3 { font-family: var(--serif); font-weight: 380; font-size: 2rem; line-height: 1.1; }
.sched-done p { max-width: 30em; }
.sched-done__note { font-size: 0.875rem; color: var(--muted); }
.scheduler__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 26px; border-top: 1px solid var(--rule); background: #fff; }
.scheduler__foot.is-hidden { display: none; }
.scheduler__summary { font-size: 0.9375rem; color: var(--muted); }
.scheduler__summary strong { color: var(--ink); font-weight: 600; }
.scheduler__actions { display: flex; gap: 10px; flex: none; }
.scheduler__actions .btn { min-height: 46px; }

/* Fields (shared by scheduler, enquiry form and newsletter) */
.field { display: grid; gap: 8px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 0.8125rem; font-weight: 560; letter-spacing: 0.02em; }
.field abbr { text-decoration: none; color: var(--accent); }
.opt { font-weight: 420; color: var(--fg-muted, var(--muted)); margin-left: 4px; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid var(--rule); border-radius: 0; background: #fff;
  font-size: 1rem; line-height: 1.4; transition: border-color 0.2s, box-shadow 0.2s; -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(180, 97, 42, 0.18); }
.is-invalid input, .is-invalid textarea, .is-invalid select, input.is-invalid { border-color: #b3261e !important; }
fieldset.is-invalid legend, .consent.is-invalid span { color: #c4453b; }

/* ---------- Section 7 · Enquire (dark form) ---------- */
.enquire__intro { display: grid; gap: 24px; align-content: start; position: sticky; top: 120px; align-self: start; }
.enquire__intro .label { color: var(--fg-muted); }
.enquire__intro > p:not(.label) { color: var(--fg-muted); }
.enquire__note { margin-top: 12px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.875rem; }
.lead-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 28px; }
.lead-form .field input, .lead-form .field textarea, .lead-form .field select {
  background: transparent; border: 0; border-bottom: 1px solid var(--field); padding: 10px 0 12px; min-height: 46px; color: var(--paper);
}
.lead-form .field input::placeholder { color: rgba(244, 240, 231, 0.35); }
.lead-form .field input:focus, .lead-form .field textarea:focus, .lead-form .field select:focus { border-bottom-color: #d98a52; box-shadow: 0 1px 0 0 #d98a52; }
.lead-form .field select option { color: var(--ink); }
.lead-form .field label, .lead-form .field legend { color: rgba(244, 240, 231, 0.8); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 4px; top: 50%; width: 8px; height: 8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-75%) rotate(45deg); pointer-events: none; opacity: 0.7; }
.lead-form .select select { padding-right: 28px; }
.pills { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills legend { width: 100%; margin-bottom: 12px; padding: 0; float: left; }
.pills label { position: relative; cursor: pointer; }
.pills input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.pills input + span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 18px; border: 1px solid var(--field); border-radius: 999px; font-size: 0.9375rem; transition: background-color 0.25s, color 0.25s, border-color 0.25s; }
.pills label:hover input + span { border-color: var(--paper); }
.pills input:checked + span { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.pills input:focus-visible + span { outline: 2px solid #d98a52; outline-offset: 2px; }
.consent { display: flex; gap: 14px; align-items: flex-start; font-size: 0.9375rem; color: rgba(244, 240, 231, 0.8); cursor: pointer; }
.consent input { -webkit-appearance: none; appearance: none; flex: none; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--field); background: transparent; display: grid; place-items: center; cursor: pointer; }
.consent input:checked { background: var(--paper); border-color: var(--paper); }
.consent input:checked::after { content: ""; width: 10px; height: 5px; border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg) translate(1px, -1px); }
.lead-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.form-error { font-size: 0.9375rem; color: #e9a07a; min-height: 1.5em; }
.lead-form__done { padding: 8px 0; display: grid; gap: 18px; }
.lead-form__done h3 { font-family: var(--serif); font-weight: 360; font-size: clamp(2rem, 1.6rem + 1.2vw, 2.8rem); line-height: 1.05; }
.lead-form__done > p { color: var(--fg-muted); max-width: 34em; }
.lead-form__done dl { display: grid; grid-template-columns: max-content 1fr; gap: 10px 28px; padding: 22px 0; border-block: 1px solid var(--line); font-size: 0.9375rem; }
.lead-form__done dt { color: var(--fg-muted); }
.lead-form__done .text-link { justify-self: start; text-decoration-color: #d98a52; }
.lead-form.is-done .lead-form__grid, .lead-form.is-done .lead-form__foot { display: none; }

/* ---------- Section 8 · Questions (accordion) ---------- */
.questions .section-head { position: sticky; top: 120px; align-self: start; }
.accordion { border-top: 1px solid var(--ink); }
.accordion details { border-bottom: 1px solid var(--line); }
.accordion summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + 0.6vw, 1.7rem); font-weight: 380; line-height: 1.25; letter-spacing: -0.008em;
}
.accordion summary::-webkit-details-marker { display: none; }
.acc-icon { position: relative; flex: none; width: 34px; height: 34px; border: 1px solid var(--line); border-radius: 50%; transition: background-color 0.3s, border-color 0.3s; }
.acc-icon::before, .acc-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; transition: transform 0.35s var(--ease); }
.acc-icon::after { transform: rotate(90deg); }
details[open] .acc-icon { background: var(--ink); border-color: var(--ink); color: var(--paper); }
details[open] .acc-icon::after { transform: rotate(0deg); }
summary:hover .acc-icon { border-color: var(--ink); }
.accordion details p { padding: 0 64px 30px 0; color: var(--fg-muted); max-width: 44em; animation: acc-in 0.45s var(--ease); }
@keyframes acc-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
.footer { background: var(--bg); color: var(--fg); padding: clamp(64px, 7vw, 112px) 0 120px; }
.footer .fe { row-gap: 44px; }
.footer__mark { font-family: var(--serif); font-weight: 300; font-size: clamp(3rem, 16.1vw, 14.9rem); line-height: 0.88; letter-spacing: -0.045em; padding-bottom: clamp(24px, 3vw, 48px); border-bottom: 1px solid var(--line); white-space: nowrap; }
.footer__mark span { font-style: italic; color: #d98a52; }
.footer__col { display: grid; gap: 8px; align-content: start; font-size: 0.98rem; }
.footer__col .label, .newsletter .label { color: var(--fg-muted); margin-bottom: 10px; }
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: #d98a52; }
.newsletter { display: grid; gap: 10px; align-content: start; }
.newsletter > p:not(.label) { color: var(--fg-muted); max-width: 30em; }
.newsletter__row { display: flex; gap: 10px; margin-top: 8px; }
.newsletter__row input { flex: 1; width: 0; min-width: 0; min-height: 52px; padding: 0 16px; background: transparent; border: 1px solid var(--field); border-radius: 0; color: var(--paper); }
.newsletter__row input::placeholder { color: rgba(244, 240, 231, 0.45); }
.newsletter__row input:focus { outline: none; border-color: var(--paper); }
.newsletter__msg { font-size: 0.875rem; color: #e9b48f; min-height: 1.4em; }
.footer__legal { display: flex; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--fg-muted); }
.footer__legal a { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-color: rgba(244, 240, 231, 0.35); }
.footer__legal a:hover { color: var(--paper); }

/* ---------- Concept badge (custom) ---------- */
.concept-badge {
  position: fixed; left: 16px; bottom: 16px; z-index: 90;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 14px 9px 12px; border-radius: 999px;
  background: rgba(19, 32, 26, 0.9); color: var(--paper);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  font-family: var(--sans); font-size: 0.75rem; font-weight: 520; letter-spacing: 0.01em; line-height: 1;
  box-shadow: 0 8px 28px -10px rgba(0, 0, 0, 0.45), inset 0 0 0 1px rgba(244, 240, 231, 0.12);
  transition: background-color 0.3s, transform 0.3s var(--ease);
}
.concept-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #d98a52; }
.concept-badge:hover { background: var(--ink); transform: translateY(-2px); }

/* ---------- Scroll reveal (Site Styles → Animations: Fade) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition-delay: var(--delay, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* ==========================================================================
   Tablet (768–1023)
   ========================================================================== */
@media (max-width: 1023px) {
  :root { --header-h: 76px; }
  .header__nav { gap: 24px; }
  .header__nav a:nth-child(4) { display: none; }
  .hero__index { display: none; }
  .hero__lead, .hero__figure { --tr: 3; }
  .hero__figure { align-self: stretch; }
  .hero__image { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .hero__title { padding-bottom: 44px; }
  .signs .section-head, .questions .section-head { position: static; margin-bottom: 44px; }
  .approach__figure { aspect-ratio: 3 / 4.4; }
  .principle { grid-template-columns: 52px 1fr; }
  .maxim { padding-left: 64px; }
  .section-head--row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .cards { grid-template-columns: 1fr; }
  .card { display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
  .card > * { grid-column: 1; }
  .card .ticks { grid-column: 2; grid-row: 1 / 6; margin: 0; padding: 0 0 0 32px; border-top: 0; border-left: 1px solid var(--line); align-self: center; }
  .card > .text-link, .card > .btn { margin-top: 8px; justify-self: start; }
  .card__n { margin-bottom: 28px; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 0; }
  .step:nth-child(-n+2) { padding-bottom: 56px; }
  .book__intro { grid-template-columns: 1fr 1fr; column-gap: 40px; margin-bottom: 48px; padding-right: 0; }
  .book__intro > * { grid-column: 1; }
  .book__figure { grid-column: 2; grid-row: 1 / 6; margin: 0; aspect-ratio: auto; min-height: 100%; }
  .enquire__intro { margin-bottom: 52px; position: static; }
  .footer__col { gap: 6px; }
}

/* ==========================================================================
   Mobile (≤767) · Fluid Engine mobile layout (8 columns)
   ========================================================================== */
@media (max-width: 767px) {
  :root { --header-h: 66px; --section-y: 88px; }
  body { font-size: 1rem; }
  .announcement { font-size: 0.75rem; padding: 9px 46px 9px 16px; justify-content: flex-start; text-align: left; }
  .header__nav, .header__cta { display: none; }
  .burger { display: block; }
  .header.is-scrolled .header__inner { height: 60px; }
  .logo { font-size: 1.42rem; }
  .hero { padding-top: 36px; padding-bottom: 64px; }
  .hero__kicker { padding-bottom: 18px; }
  .hero__title { padding-bottom: 28px; }
  .hero__lead { gap: 28px; }
  .btn-row { gap: 16px 24px; }
  .hero__figure { margin-top: 48px; }
  .hero__image { height: auto; min-height: 0; aspect-ratio: 4 / 3.4; }
  .hero__facts { grid-template-columns: 1fr; margin-top: 44px; }
  .hero__facts li { padding: 16px 0; }
  .hero__facts li + li { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .signs__list li { grid-template-columns: 44px 1fr; padding: 24px 0 26px; }
  .approach__lead { margin-bottom: 44px; }
  .approach__figure { aspect-ratio: 4 / 3.2; margin-bottom: 36px; }
  .principle { grid-template-columns: 44px 1fr; }
  .maxim { padding-left: 0; }
  .card { display: flex; }
  .card .ticks { padding: 22px 0 0; border-left: 0; border-top: 1px solid var(--line); margin-bottom: 30px; }
  .timeline { grid-template-columns: 1fr; row-gap: 0; border-left: 1px solid var(--ink); margin-left: 5px; }
  .step { border-top: 0; padding: 0 0 44px 30px; }
  .step::before { left: -6px; top: 4px; }
  .step:last-child { padding-bottom: 6px; }
  .fit { grid-template-columns: 1fr; margin-top: 64px; }
  .book__intro { display: grid; grid-template-columns: 1fr; margin-bottom: 40px; }
  .book__figure { display: none; }
  .scheduler__head { padding: 16px 18px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .scheduler__steps { gap: 14px; font-size: 0.6875rem; }
  .sched-chosen { padding: 12px 18px; font-size: 0.875rem; }
  .sched-types { padding: 20px 18px; }
  .sched-picker { grid-template-columns: 1fr; }
  .cal { padding: 18px 14px 14px; }
  .cal__head { padding: 0 4px; }
  .times { border-left: 0; border-top: 1px solid var(--rule); padding: 18px; }
  .times__list { grid-template-columns: repeat(3, 1fr); }
  .sched-details { grid-template-columns: 1fr; padding: 20px 18px; }
  .scheduler__foot { padding: 14px 18px; flex-direction: column; align-items: stretch; }
  .scheduler__actions { justify-content: space-between; }
  .scheduler__actions .btn--ink { flex: 1; }
  .lead-form__grid { grid-template-columns: 1fr; gap: 22px; }
  .pills input + span { min-height: 40px; padding: 0 15px; font-size: 0.875rem; }
  .lead-form__foot { flex-direction: column-reverse; align-items: stretch; }
  .lead-form__foot .btn { width: 100%; }
  .lead-form__done dl { grid-template-columns: 1fr; gap: 2px; }
  .lead-form__done dd { margin-bottom: 10px; }
  .accordion summary { padding: 22px 0; }
  .accordion details p { padding-right: 0; }
  .footer { padding-bottom: 96px; }
  .footer .fe { row-gap: 36px; }
  .footer__legal { flex-direction: column; gap: 10px; }
  .concept-badge { left: 12px; bottom: 12px; font-size: 0.6875rem; padding: 8px 12px 8px 10px; }
}
