/* site.css — the only stylesheet. Tokens live here once (plan §5, C4 sea glass; one serif family).
   One <section> per Elementor section; no colours outside :root. */

/* Newsreader, self-hosted — no request leaves the visitor's browser (2026-09-22).
   Variable font: one file per subset covers weights 300–600 and optical sizes 6–72.
   Subsets: latin, latin-ext. Newsreader ships no Cyrillic or Greek — see plan §6. */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(/assets/fonts/newsreader-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Titillium Web 700 — the department-mark titles only, matching the lettering under Assuta's own marks (2026-10-08) */
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/titillium-web-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Titillium Web';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/titillium-web-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --mark-ink: #003C7E;
  --mark-ink-light: #0A5FB4;
  --page: #FDFEFF;
  --page-2: #EFF6F8;
  --wash: #F7FBFC;
  --band: #E6F3F2;
  --on-band: #123F42;
  --ink: #1F2A2C;
  --heading: #154648;
  --heading-deep: #0E3336;
  --muted: #4F5F5D;
  --line: #6B7D79;
  --accent: #B4482F;
  --rule-color: #C9D6D1;
  --dark: #154648;
  --on-dark: #FBF7F0;
  --muted-on-dark: #A9C9C4;
  --line-on-dark: #2E6164;

  --font: "Newsreader", Georgia, "Times New Roman", serif;

  --fs-1: clamp(2.2rem, 1.5rem + 2.4vw, 3.3rem);
  --fs-2: clamp(1.6rem, 1.25rem + 1.2vw, 2.1rem);
  --fs-3: 1.25rem;
  --fs-body: 1rem;
  --fs-small: 0.78rem;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;
  --teaser-fade: linear-gradient(to bottom, #000 0%, transparent 85%);

  --rule: 1px;
  --radius-box: 16px;
  --radius-img: 24px;
  --container: 1200px;
  --gutter: 16px;
}

/* ---- base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.55;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font); font-weight: 500; line-height: 1.12; margin: 0 0 var(--space-2); letter-spacing: -0.005em; color: var(--heading); }
h1 { font-size: var(--fs-1); }
h2 { font-size: var(--fs-2); }
h3 { font-size: var(--fs-3); }
p { margin: 0 0 var(--space-2); }
p:last-child { margin-bottom: 0; }
a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
ul { margin: 0; padding-left: 1.2em; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.eyebrow { font-size: var(--fs-small); font-weight: 400; text-transform: uppercase; letter-spacing: 0.055rem; color: var(--accent); margin-bottom: var(--space-1); }
.lede { font-size: 1.15rem; font-weight: 300; font-style: italic; color: var(--ink); max-width: 40rem; }
.muted { color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- skip link + draft banner ---- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--page); padding: var(--space-1) var(--space-2); z-index: 100; }
.skip-link:focus { left: var(--gutter); }
.draft-banner {
  background: var(--page-2);
  color: var(--ink);
  font-size: var(--fs-small);
  letter-spacing: 0.02rem;
  text-align: center;
  padding: var(--space-1) var(--gutter);
  border-bottom: 1px solid var(--line);
}

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--page); background: color-mix(in srgb, var(--page) 94%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: var(--space-3); min-height: 72px; flex-wrap: wrap; }
.wordmark { font-family: var(--font); font-weight: 500; font-size: 1.3rem; color: var(--heading); text-decoration: none; letter-spacing: 0.01em; }
.site-header .wordmark { white-space: nowrap; }
.wordmark { display: inline-flex; align-items: center; line-height: 0; }
.wordmark__logo { display: block; height: 40px; width: auto; }
.site-footer .wordmark__logo { height: 36px; }
.nav { display: flex; gap: var(--space-3); margin-inline: auto; flex-wrap: wrap; }
.nav__link { color: var(--ink); text-decoration: none; font-size: 0.89rem; padding: var(--space-1) 0; border-bottom: 1px solid transparent; }
.nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: var(--ink); }
.lang { display: flex; gap: var(--space-1); font-size: var(--fs-small); letter-spacing: 0.03rem; list-style: none; padding: 0; margin: 0; }
.lang__item { padding: 2px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); text-decoration: none; }
.lang__item[aria-current="page"] { background: var(--heading); color: var(--page); border-color: var(--heading); }
.lang__item--off { color: var(--muted); border-style: dashed; }

/* ---- buttons ---- */
.btn { display: inline-block; padding: 0.75rem 1.4rem; border-radius: 999px; font-family: var(--font); font-weight: 500; font-size: 0.95rem; letter-spacing: 0.01em; text-decoration: none; border: 1px solid var(--heading); cursor: pointer; transition: background 160ms, color 160ms; }
.btn--primary { background: var(--heading); color: var(--page); }
.btn--primary:hover { background: var(--heading-deep); color: var(--page); }
.btn--ghost { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn--ghost:hover { background: var(--accent); color: var(--page); }

/* ---- sections: a fine rule the width of the content column opens each one.
   Motion 4: the rule draws in from the left when the section scrolls into view. ---- */
.section { padding-block: 0 var(--space-5); }
.section > .container { position: relative; padding-top: var(--space-5); }
.section > .container::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: var(--rule); background: var(--rule-color); }
html.js .section > .container::before { transform: scaleX(0); transform-origin: left center; transition: transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1); }
html.js .section > .container.is-visible::before { transform: scaleX(1); }
.section--first > .container { padding-top: 0; }
.section--first > .container::before { display: none; }
.section--tight > .container { padding-top: var(--space-4); }
.section--tight { padding-bottom: var(--space-4); }
/* one section per page sits on the wash instead of the cream; it carries no rule, the ground is the break */
.section--wash { background: var(--wash); padding-top: var(--space-5); }
.section--wash > .container { padding-top: 0; }
.section--wash > .container::before { display: none; }
.section--band { background: var(--band); color: var(--on-band); padding-top: var(--space-5); }
.section--band > .container { padding-top: 0; }
.section--band > .container::before, .section--band + .section > .container::before { display: none; }
.section--band :is(h2, h3, .fact__num, .lede, .eyebrow, .card__title) { color: var(--on-band); }
.section--band .fact { border-top-color: var(--on-band); }
.section--band .checklist li::before { color: var(--on-band); }
.section__head { max-width: 46rem; margin-bottom: var(--space-4); }
.grid { display: grid; gap: var(--space-3); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.grid--center { align-items: center; }
.grid + .grid { margin-top: var(--space-3); }

/* vertical hairlines between columns of a row */
@media (min-width: 768px) {
  .grid--rules { gap: 0; }
  .grid--rules > * { padding-inline: var(--space-3); }
  .grid--rules > :first-child { padding-left: 0; }
  .grid--rules > * + * { border-left: 1px solid var(--line); }
}

/* ---- boxes: filled with the wash, no border ---- */
.card { background: var(--page-2); border: 1px solid transparent; border-radius: var(--radius-box); padding: var(--space-3); }
.card__title { margin-bottom: var(--space-1); }
/* a card already on the wash keeps its hairline instead, or it would disappear */
.section--wash .card { background: transparent; border-color: var(--line); }

/* ---- image slots (empty until stage 4) ---- */
.img-slot {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--page-2);
  border: 1px dashed var(--line);
  border-radius: var(--radius-img);
  overflow: hidden;
  display: grid;
  place-items: center;
}
.img-slot[data-ratio="16:9"] { aspect-ratio: 16 / 9; }
.img-slot[data-ratio="1:1"] { aspect-ratio: 1 / 1; }
.img-slot[data-ratio="3:4"] { aspect-ratio: 3 / 4; }
.img-slot[data-ratio="21:9"] { aspect-ratio: 21 / 9; }
.img-slot__label { font-size: var(--fs-small); font-style: italic; font-weight: 300; color: var(--muted); letter-spacing: 0.03rem; }
.card .img-slot { margin-bottom: var(--space-2); background: var(--page); }
.img-slot > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.img-slot:has(> img) { border: 0; }
.img-slot > a { display: block; width: 100%; height: 100%; }
.img-slot > a > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.img-slot > a:hover > img { transform: scale(1.03); }
.img-slot:has(> a > img) { border: 0; }
.title-link { text-decoration: none; }
.title-link:hover { text-decoration: underline; text-decoration-thickness: 1px; }

/* ---- hero ---- */
.hero { padding-block: var(--space-5) var(--space-6); }
.hero__grid { display: grid; gap: var(--space-4); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.hero__actions { display: flex; gap: var(--space-2); flex-wrap: wrap; margin-top: var(--space-3); }

/* ---- fader: crossfading image rotator (motion 2) ---- */
.fader { position: relative; }
.fader__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1000ms ease; }
.fader__slide:first-child { position: relative; }
html:not(.js) .fader__slide:first-child, .fader__slide.is-active { opacity: 1; }

/* ---- proximity facts ---- */
.facts { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); }
.fact { border-top: 2px solid var(--accent); padding-top: var(--space-2); }
.fact__num { font-size: var(--fs-2); font-weight: 500; line-height: 1; display: block; margin-bottom: var(--space-1); color: var(--heading); }

/* ---- lists ---- */
.checklist { list-style: none; padding: 0; display: grid; gap: var(--space-1) var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.checklist li { padding-left: 1.5em; position: relative; }
.checklist li::before { content: "—"; position: absolute; left: 0; color: var(--accent); }

/* ---- steps ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr)); }
/* six steps: two rows of three on wide screens, two per row on tablets */
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 560px) and (max-width: 899px) { .steps { grid-template-columns: repeat(2, 1fr); } }
.step { position: relative; padding-top: var(--space-2); border-top: 1px solid var(--line); }
.section__more { text-align: center; margin-top: var(--space-4); }
.step__num { display: inline-grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1px solid var(--heading); color: var(--heading); font-weight: 500; font-size: var(--fs-small); margin-bottom: var(--space-1); }

/* ---- quotes ---- */
.quote { margin: 0; font-size: 1.2rem; font-weight: 300; font-style: italic; line-height: 1.4; }
.quote footer { font-style: normal; font-weight: 400; font-size: var(--fs-small); letter-spacing: 0.03rem; text-transform: uppercase; color: var(--muted); margin-top: var(--space-2); }

/* ---- form ---- */
.form { display: grid; gap: var(--space-2); }
.form__row { display: grid; gap: var(--space-2); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.form__field { display: grid; gap: 0.35rem; }
.form__field label { font-size: var(--fs-small); letter-spacing: 0.03rem; text-transform: uppercase; color: var(--muted); }
.form__field input, .form__field select, .form__field textarea {
  font: inherit; color: var(--ink); background: transparent;
  border: 1px solid var(--line); border-radius: 10px; padding: 0.7rem 0.9rem; width: 100%;
}
.form__field textarea { min-height: 8rem; resize: vertical; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.form__check { display: flex; gap: var(--space-1); align-items: flex-start; font-size: 0.89rem; }
.form__check input { width: auto; margin-top: 0.3rem; }
.form__notice { display: none; border: 1px solid var(--ink); color: var(--ink); padding: var(--space-2); border-radius: 10px; }
.form__notice.is-visible { display: block; }
.contact-list { list-style: none; padding: 0; display: grid; gap: var(--space-1); }

/* ---- footer: the navy block ---- */
.site-footer { background: var(--dark); color: var(--on-dark); padding-block: var(--space-5); font-size: 0.89rem; }
.site-footer__grid { display: grid; gap: var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.site-footer a, .site-footer .wordmark { color: var(--on-dark); }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: 0.35rem; }
.site-footer .lang { display: flex; gap: var(--space-1); }
.site-footer .lang__item { color: var(--on-dark); border-color: var(--on-dark); }
.site-footer .lang__item--off { color: var(--muted-on-dark); border-color: var(--muted-on-dark); }
.site-footer .muted { color: var(--muted-on-dark); }
.site-footer__note { margin-top: var(--space-4); padding-top: var(--space-2); border-top: 1px solid var(--line-on-dark); color: var(--muted-on-dark); }

/* ---- motion 1: reveal on scroll ---- */
html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 600ms ease, transform 600ms ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---- reduced motion: everything static ---- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  html.js .section > .container::before { transform: none; transition: none; }
  .fader__slide { transition: none; }
  .img-slot > a > img { transition: none; } .img-slot > a:hover > img { transform: none; }
  .btn { transition: none; }
}

/* ---- the menu: on desktop the wrapper is invisible and nav + languages sit in the bar ---- */
.site-menu { display: contents; }
.site-header__cta-icon { display: none; }
.menu-toggle { display: none; }
.site-menu__label { display: none; }
.site-menu__langs { display: contents; }

/* ---- compact header below 1280px, every language: the menu folds behind the three lines and the
   button becomes an envelope, so no label length can push the bar off the screen (2026-10-15) ---- */
@media (max-width: 1279px) {
  .site-header__inner { min-height: 56px; gap: var(--space-2); flex-wrap: nowrap; }
  .site-header .wordmark { font-size: 1.1rem; margin-right: auto; }
  .site-header .wordmark__logo { height: 32px; }
  /* the header button shrinks to a round envelope so the company name keeps one line */
  .btn.site-header__cta { order: 2; flex: none; display: inline-grid; place-items: center; width: 2.5rem; height: 2.5rem; padding: 0; }
  .site-header__cta-icon { display: block; }
  .site-header__cta-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  /* the three lines; site.js shows the button and folds the menu away (without JS the menu stays open) */
  html.js .menu-toggle { order: 3; display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; flex: none; padding: 0; border: 0; background: transparent; color: var(--heading); cursor: pointer; }
  .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { display: block; width: 1.4rem; height: 2px; background: currentColor; border-radius: 2px; transition: transform 200ms, background 200ms; }
  .menu-toggle__bars { position: relative; }
  .menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; position: absolute; left: 0; }
  .menu-toggle__bars::before { top: -7px; }
  .menu-toggle__bars::after { top: 7px; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars { background: transparent; }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
  /* the open menu: a panel under the bar, one link per line, languages as the last line */
  .site-menu { display: block; position: absolute; top: 100%; left: 0; right: 0; background: var(--page); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgb(0 0 0 / 0.08); padding: var(--space-1) var(--gutter) var(--space-3); max-height: calc(100vh - 56px); overflow-y: auto; }
  html.js .site-menu:not(.is-open) { display: none; }
  .site-header__inner { position: relative; }
  .nav { display: flex; flex-direction: column; gap: 0; margin: 0; }
  .nav__link { font-size: 1.05rem; padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav__link[aria-current="page"] { font-weight: 500; color: var(--heading); }
  .site-menu__langs { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); padding-top: 0.8rem; }
  .site-menu__label { display: block; font-size: 1.05rem; }
}
/* the full bar (1280px and up) stays one row; a longer label takes the button onto two lines instead */
@media (min-width: 1280px) {
  .site-header__inner { flex-wrap: nowrap; }
  .nav { flex-wrap: nowrap; }
  .nav__link, .site-header .lang { white-space: nowrap; flex: none; }
  .site-header__cta { flex: none; max-width: 10rem; }
  /* only the longer languages need the two-line button; English keeps its one-line button as it was */
  html:not(:lang(en)) .site-header__cta { text-align: center; line-height: 1.2; padding-block: 0.5rem; }
}
@media (min-width: 621px) and (max-width: 1279px) {
  .site-menu { left: auto; width: min(22rem, 100%); border-left: 1px solid var(--line); }
}

/* ---- phones ---- */
@media (max-width: 620px) {
  html { font-size: 100%; }
  .btn { padding: 0.6rem 1.1rem; font-size: 0.88rem; min-height: 2.5rem; }
  :root { --fs-1: 1.85rem; --fs-2: 1.45rem; --fs-3: 1.1rem; }
  .lede { font-size: 1.05rem; }
  .wordmark { font-size: 1.1rem; }
  .section { padding-bottom: var(--space-4); }
  .section > .container { padding-top: var(--space-4); }
  .section--wash { padding-top: var(--space-4); }
  .section--wash > .container { padding-top: 0; }
  .section--band { padding-top: var(--space-4); }
  .section--band > .container { padding-top: 0; }
  .hero { padding-block: var(--space-4) var(--space-5); }
}

/* ---- stage 2: deep pages ---- */
/* page title block — the deep pages' first section: eyebrow, h1, lede, no image */
.page-title { padding-block: var(--space-5) var(--space-4); }
.page-title h1 { max-width: 22ch; }
.page-title .lede { max-width: 44rem; }

/* a plain table with hairlines (the package on /services) */
.table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.table th, .table td { text-align: left; vertical-align: top; padding: var(--space-2) var(--space-2) var(--space-2) 0; border-top: 1px solid var(--line); }
.table th { font-weight: 500; font-size: var(--fs-small); letter-spacing: 0.03rem; text-transform: uppercase; color: var(--muted); border-top: 0; }
.table tr:last-child td { border-bottom: 1px solid var(--line); }
.table-wrap { overflow-x: auto; }

/* FAQ accordion — native details/summary, hairline-separated, works with JS off */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--space-2) 0; font-size: var(--fs-3); font-weight: 500; line-height: 1.25; color: var(--heading); display: flex; justify-content: space-between; gap: var(--space-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 300; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq details > :not(summary) { max-width: 44rem; }
.faq details > p:last-child { padding-bottom: var(--space-2); }

/* the journey on /how-it-works: a vertical list of stages, each a row of hairline columns */
.journey { list-style: none; padding: 0; margin: 0; counter-reset: stage; }
.journey__stage { display: grid; gap: var(--space-2) var(--space-3); grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); padding-block: var(--space-3); border-top: 1px solid var(--line); }
.journey__stage:last-child { border-bottom: 1px solid var(--line); }
.journey__stage h3 { grid-column: 1 / -1; margin-bottom: 0; }
.journey__label { display: block; font-size: var(--fs-small); letter-spacing: 0.03rem; text-transform: uppercase; color: var(--muted); margin-bottom: var(--space-1); }

/* ---- doctors: cards, the home carousel, the doctor page ---- */
/* a doctor card is one link: photo, name and specialty all lead to the doctor's page */
.doctor-card { display: block; text-decoration: none; color: var(--ink); }
.doctor-card .img-slot { margin-bottom: var(--space-2); }
.doctor-card .img-slot > img { transition: transform 400ms ease; }
.doctor-card:hover .img-slot > img, .doctor-card:focus-visible .img-slot > img { transform: scale(1.03); }
.doctor-card:hover .card__title { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.doctor-card .muted { margin-bottom: 0; }

/* the carousel is a scroll-snapping row (swipe works with JS off); site.js adds steps and autoplay */
.carousel__track { list-style: none; margin: 0; padding: 0 0 var(--space-2); display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * var(--space-3)) / 4); gap: var(--space-3); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.carousel__item { scroll-snap-align: start; }
.carousel__controls { display: flex; align-items: center; justify-content: center; gap: var(--space-2); margin-top: var(--space-3); }
.carousel__btn { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--heading); background: transparent; color: var(--heading); font-family: var(--font); font-size: 1.1rem; cursor: pointer; transition: background 160ms, color 160ms; }
.carousel__btn:hover { background: var(--heading); color: var(--page); }
html.js .carousel__btn { display: inline-grid; place-items: center; }
html.js .carousel--static .carousel__btn { display: none; }
.carousel__controls .btn { white-space: nowrap; }
@media (max-width: 1000px) { .carousel__track { grid-auto-columns: calc((100% - 2 * var(--space-3)) / 3); } }
@media (max-width: 760px) { .carousel__track { grid-auto-columns: calc((100% - var(--space-3)) / 2); } }
@media (max-width: 620px) { .carousel__track { grid-auto-columns: calc((100% - var(--space-2)) / 2); gap: var(--space-2); } }
/* the enquiry form: on phones it waits behind one button (site.js); on desktop the button never shows */
.enquiry-open { display: none; }
@media (max-width: 620px) {
  html.js .enquiry-open { display: inline-block; margin-top: var(--space-2); }
  html.js .enquiry-open[aria-expanded="true"] { display: none; }
  html.js #enquiry-form:not(.is-open) { display: none; }
}
/* the testimonials carousel: quotes are text, so three a view on desktop, one with the next peeking on phones */
.carousel--quotes .carousel__track { grid-auto-columns: calc((100% - 2 * var(--space-3)) / 3); }
.carousel--quotes .card { height: 100%; }
@media (max-width: 1000px) { .carousel--quotes .carousel__track { grid-auto-columns: calc((100% - var(--space-3)) / 2); } }
@media (max-width: 620px) { .carousel--quotes .carousel__track { grid-auto-columns: 85%; gap: var(--space-2); } .carousel--quotes .quote { font-size: 1.05rem; } .carousel--quotes .card { padding: var(--space-2); } }
/* the team carousel on home sits under the Why-us grid */
.grid + .carousel { margin-top: var(--space-4); }

/* the Doctors list filter: one dropdown of specialties and a count (one line however many there are) */
.filter { display: none; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); margin-bottom: var(--space-4); }
html.js .filter.is-ready { display: flex; }
.filter__label { font-size: var(--fs-small); letter-spacing: 0.03rem; text-transform: uppercase; color: var(--muted); }
.filter__select { font: inherit; color: var(--ink); background: transparent; border: 1px solid var(--line); border-radius: 10px; padding: 0.6rem 0.9rem; min-width: min(100%, 16rem); cursor: pointer; }
.filter__select:hover { border-color: var(--heading); }
.filter__select:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 2px; }
.filter__count { margin: 0; font-size: 0.89rem; }
@media (max-width: 620px) { .filter__select { flex: 1 1 100%; } .filter__count { flex-basis: 100%; } }
.doctor-card[hidden] { display: none; }
/* the Doctors list: four a row, the last row centred (the user, 2026-10-08); phones: .grid-2up */
.doctor-grid { display: flex; flex-wrap: wrap; justify-content: center; }
.doctor-grid > * { flex: 0 0 calc((100% - 3 * var(--space-3)) / 4); min-width: 0; }
@media (max-width: 1000px) { .doctor-grid > * { flex-basis: calc((100% - 2 * var(--space-3)) / 3); } }

/* the doctor page: portrait beside the facts, then prose and lists */
.doctor-profile .img-slot { max-width: 30rem; }
.prose p { max-width: 44rem; }
/* areas of expertise: one column on phones, at most two beside each other, then the next row */
.checklist--two { grid-template-columns: 1fr; max-width: 52rem; }
@media (min-width: 640px) { .checklist--two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plain-list { padding-left: 1.2em; display: grid; gap: var(--space-1); max-width: 44rem; }
@media (prefers-reduced-motion: reduce) { .doctor-card .img-slot > img, .carousel__btn { transition: none; } .doctor-card:hover .img-slot > img { transform: none; } }

/* ---- assuta hub: services as rows, departments as a grid (build_assuta.py) ---- */
.prose { max-width: 46rem; }
.service-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-2); }
.service-row { display: flex; align-items: center; gap: var(--space-3); padding: var(--space-2); border-radius: var(--radius-box); background: var(--page-2); color: var(--ink); text-decoration: none; transition: background 160ms; }
.service-row:hover { background: var(--page); outline: 1px solid var(--heading); }
.service-row__tile { flex: 0 0 9rem; aspect-ratio: 1 / 1; display: grid; place-items: center; padding: var(--space-2); border-radius: var(--radius-box); background: var(--heading); color: var(--page); font-weight: 500; text-align: center; line-height: 1.25; }
.service-row__text { flex: 1; }
.service-row__tile--img { padding: 0; background: var(--page-2); border: 0; }
.service-row__title { display: block; margin-bottom: 0.25rem; color: var(--heading); font-weight: 500; font-size: 1.05rem; }
.dept-grid { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-3); }
/* the columns never follow the words: min-width 0 so a long word (Γαστρεντερολογία) wraps inside the
   tile instead of widening it, so every language gets the same rows */
.dept-grid__item { flex: 0 0 calc((100% - 4 * var(--space-3)) / 5); min-width: 0; }
.dept-tile { display: block; height: 100%; padding: var(--space-2); border-radius: var(--radius-box); background: var(--page); color: var(--ink); text-decoration: none; transition: outline-color 160ms; outline: 1px solid transparent; container-type: inline-size; }
.dept-tile:hover { outline-color: var(--heading); }
.dept-tile .img-slot { margin-bottom: var(--space-2); }
.dept-tile__title { display: block; font-weight: 500; text-align: center; max-width: 100%; overflow-wrap: break-word; hyphens: manual; }
@media (max-width: 1000px) { .dept-grid__item { flex-basis: calc((100% - 2 * var(--space-3)) / 3); } }
@media (max-width: 620px) { .service-row__tile { flex-basis: 6rem; font-size: 0.85rem; } }
@media (prefers-reduced-motion: reduce) { .service-row, .dept-tile { transition: none; } }
/* department marks (round medallions on white): beside the page heading, and on the hub tiles */
.page-title__with-mark { display: flex; align-items: center; gap: var(--space-3); }
.page-title__mark { flex: 0 0 10rem; }
.page-title__mark .img-slot, .dept-tile__mark { border: 0; background: transparent; border-radius: 50%; }
.dept-tile__mark { width: 75%; margin-inline: auto; }
@media (max-width: 620px) { .page-title__with-mark { flex-direction: column; align-items: flex-start; } .page-title__mark { flex-basis: auto; width: 7rem; } }
/* home and services #specialties: department cards (build_assuta.py) */
.spec-tile__summary { display: block; margin-top: 0.4rem; font-size: 0.85rem; color: var(--muted); text-align: center; }
.dept-grid--3 .dept-grid__item { flex-basis: calc((100% - 2 * var(--space-3)) / 3); }
.dept-grid--3 .dept-tile__mark { width: 45%; }
/* the teaser fade: one look, used by the desktop's faded row and by the phone's (below) */
.dept-grid__item--faded { opacity: 0.45; -webkit-mask-image: var(--teaser-fade); mask-image: var(--teaser-fade); max-height: 11rem; overflow: hidden; }
.spec-more { display: flex; justify-content: center; margin-top: var(--space-3); }
/* phones: department tiles (two a row comes from .grid-2up) — small marks, the name only;
   Specialties keep two full rows, cards 5–6 become the faded row, the desktop's faded row hides */
@media (max-width: 620px) {
  /* names break inside a word only at the soft hyphen render.py puts in (Gastroentero-logy) */
  .dept-grid .dept-tile__title { max-width: 100%; overflow-wrap: normal; hyphens: manual; }
  /* the box follows the word (the lettering's gradient is painted inside the box only, so a narrower
     box cut the last letter) */
  .dept-grid .dept-tile { padding: var(--space-2) var(--space-1); }
  .dept-grid .dept-tile__mark, .dept-grid--3 .dept-tile__mark { width: 55%; }
  .dept-grid .dept-tile .img-slot { margin-bottom: var(--space-1); }
  .dept-grid .dept-tile__title { font-size: 1rem; text-align: center; }
  .spec-tile__summary { display: none; }
  .dept-grid--3 .dept-grid__item:nth-child(n+5):nth-child(-n+6) { opacity: 0.45; -webkit-mask-image: var(--teaser-fade); mask-image: var(--teaser-fade); max-height: 8rem; overflow: hidden; }
  .dept-grid--3 .dept-grid__item--faded { display: none; }
}
/* Assuta's lettering — bold square sans, navy deepening to the ends — written once for both users:
   the title under a department mark, and (department pages only, they alone carry a mark) the
   heading and every section title */
.dept-tile__title, main:has(.page-title__with-mark) h2, .page-title__with-mark h1 { font-family: 'Titillium Web', 'Segoe UI', Arial, sans-serif; font-weight: 700; color: var(--mark-ink); width: fit-content; }
@supports (-webkit-background-clip: text) or (background-clip: text) {
  .dept-tile__title, main:has(.page-title__with-mark) h2, .page-title__with-mark h1 { background: linear-gradient(90deg, var(--mark-ink) 0%, var(--mark-ink-light) 50%, var(--mark-ink) 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
/* the name's size follows its tile (cqi); a long word breaks at its soft hyphen (Gastroentero-logy,
   render.py), so every part keeps the full size in every language */
.dept-tile__title { font-size: min(1.15rem, 10.2cqi); line-height: 1.15; letter-spacing: 0.01em; margin-inline: auto; }
main:has(.page-title__with-mark) h2, .page-title__with-mark h1 { letter-spacing: 0.005em; }

/* ---- shared phone patterns: any list opts in with a class (mobile-rules.md M5b) ---- */
@media (max-width: 620px) {
  /* .grid-2up — two a row in a fixed grid (no 2-2-1 wrapping), an odd last card centred.
     Used by: Assuta departments, Specialties, the About team, the Doctors list (builders add it) */
  .grid-2up { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-2); }
  .grid-2up > * { min-width: 0; }
  .grid-2up > :last-child:nth-child(odd), .grid-2up > .is-lone { grid-column: 1 / -1; justify-self: center; width: calc((100% - var(--space-2)) / 2); }
  /* a filtered list (Doctors): hidden cards would skew the count, so site.js marks the lone card instead */
  .grid-2up[data-filtered] > :last-child:nth-child(odd):not(.is-lone) { grid-column: auto; justify-self: stretch; width: auto; }
  /* small cards: half-width people cards in a .grid-2up or a carousel (not the quotes) */
  :is(.grid-2up, .carousel:not(.carousel--quotes)) .card { padding: var(--space-1); }
  :is(.grid-2up, .carousel:not(.carousel--quotes)) :is(.card, .doctor-card) .img-slot { margin-bottom: var(--space-1); }
  :is(.grid-2up, .carousel:not(.carousel--quotes)) .card__title { font-size: 0.95rem; margin-bottom: 0.2rem; }
  :is(.grid-2up, .carousel:not(.carousel--quotes)) :is(.card, .doctor-card) .muted { font-size: 0.8rem; }
}
