/* ============================================================
   Andreas Aroditis — andreasaroditis.com
   Design system: warm editorial paper, one Aegean accent,
   Fraunces (display) + Inter (text). Single committed light look.
   ============================================================ */

/* ---------- Self-hosted fonts (Fraunces + Inter, SIL Open Font License) ----------
   Subsets: latin, latin-ext, greek. Mirrors Google's own unicode-range split,
   so a browser downloads only the subsets a page actually needs.
   Self-hosted to remove third-party requests and pre-consent data transfer. */

@font-face {
  font-family: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/fraunces-latin-ext-italic-300-600.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: 'Fraunces';
  font-style: italic;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/fraunces-latin-italic-300-600.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: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/fraunces-latin-ext-normal-300-600.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: 'Fraunces';
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
  src: url(../fonts/fraunces-latin-normal-300-600.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: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/inter-greek-normal-400.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/inter-latin-ext-normal-400.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: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/inter-latin-normal-400.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;
}

:root {
  --paper: #fbf8f2;
  --paper-deep: #f2ecdf;
  --ink: #1c1915;
  --ink-soft: #57503f;
  --line: #e0d7c4;
  --line-strong: #c9bda3;
  --aegean: #1d5468;
  --aegean-deep: #143d4c;
  --serif: "Fraunces", "Georgia", serif;
  --sans: "Inter", -apple-system, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --measure: 38rem;
  --container: 71rem;
  --gutter: clamp(1.25rem, 5vw, 2.75rem);
}

/* ---------- Reset & base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  /* The header is sticky (~68px); without this every #anchor deep-link and the
     skip link land with their heading hidden underneath it. */
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* height:auto is not optional. Every <img> carries width/height attributes to
   reserve layout space, but max-width alone shrinks the WIDTH while the height
   attribute holds the original number — squashing the picture. Pairing the two
   keeps every image at its true proportions at any size. */
img, iframe { max-width: 100%; }
img { height: auto; }

a {
  color: var(--aegean);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, var(--aegean) 40%, transparent);
  transition: color .2s ease, text-decoration-color .2s ease;
}

/* hover:hover guards below: on touch devices, :hover can stay "stuck"
   after a tap until the next tap elsewhere — these keep hover effects to
   devices that can actually hover, so nothing visually sticks. */
@media (hover: hover) and (pointer: fine) {
  a:hover { color: var(--aegean-deep); text-decoration-color: currentColor; }
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--aegean);
  outline-offset: 3px;
  border-radius: 1px;
}

/* Focus ring needs a light colour on dark surfaces (WCAG 1.4.11) */
.section--ink a:focus-visible,
.section--ink button:focus-visible,
.site-footer a:focus-visible,
.video-facade:focus-visible {
  outline-color: var(--paper);
}

::selection { background: color-mix(in srgb, var(--aegean) 22%, transparent); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: .6rem 1rem;
  z-index: 100;
  font-size: .9rem;
}

.skip-link:focus { left: 0; }

/* ---------- Typography ---------- */

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 420;
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

/* Fraunces ships no Greek glyphs, so Greek headings would otherwise fall back
   to whatever generic serif the OS picks (Times, usually) — off-brand and
   unintentional. Give Greek an explicit, warm, widely-installed serif instead.
   Body text is unaffected: Inter does cover Greek and is self-hosted above. */
:lang(el) h1,
:lang(el) h2,
:lang(el) h3 {
  font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
  letter-spacing: -0.005em;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.9rem); font-weight: 380; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.5rem); }

p { margin: 0 0 1.15rem; max-width: var(--measure); }

.lede {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: var(--ink);
  max-width: 44rem;
}

.eyebrow {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--aegean);
  margin: 0 0 1.1rem;
}

.muted { color: var(--ink-soft); }

.small { font-size: .9rem; }

/* ---------- Layout ---------- */

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

.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section--tight { padding-block: clamp(2.5rem, 6vw, 4rem); }
.section--deep { background: var(--paper-deep); }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink p { color: color-mix(in srgb, var(--paper) 88%, var(--ink)); }
.section--ink .eyebrow { color: color-mix(in srgb, var(--paper) 65%, var(--aegean)); }
.section--ink a { color: var(--paper); text-decoration-color: color-mix(in srgb, var(--paper) 45%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .section--ink a:hover { color: #fff; }
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 3rem);
}

@media (max-width: 860px) {
  .grid-2, .grid-3 { grid-template-columns: minmax(0, 1fr); }
}

.sticky-aside { position: sticky; top: 6.5rem; }

@media (max-width: 860px) {
  .sticky-aside { position: static; }
}

/* ---------- Header / navigation ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 520;
  letter-spacing: .045em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .wordmark:hover { color: var(--ink); }
}

.site-nav ul {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  font-size: .92rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  padding-block: .35rem;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:hover { color: var(--ink); }
}

.site-nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom: 2px solid var(--aegean);
}

.nav-toggle {
  display: none;
  appearance: none;
  background: none;
  /* --line-strong is only 1.75:1 on --paper, below the WCAG 1.4.11 3:1 floor
     for UI-component borders (same issue already fixed for form borders —
     see .enquiry-form input below). --ink-soft clears it at 7.55:1. */
  border: 1px solid var(--ink-soft);
  border-radius: 2px;
  padding: .5rem .7rem;
  font: inherit;
  font-size: .85rem;
  font-weight: 550;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 820px) {
  /* The collapsible drawer is JS-only. Without JS (no html.js) the nav
     stays visible and the inert toggle is hidden, so navigation still works. */
  .js .nav-toggle { display: inline-flex; align-items: center; }
  .js .site-nav {
    position: absolute;
    inset: 100% 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    display: none;
    padding: .75rem var(--gutter) 1.5rem;
  }
  .js .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav a {
    display: block;
    padding: .9rem 0;
    font-size: 1.05rem;
    color: var(--ink);
  }
  .site-nav a[aria-current="page"] { border-bottom: none; color: var(--aegean); }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(4rem, 11vw, 8.5rem) clamp(3rem, 8vw, 6rem); }

.hero h1 { margin-bottom: 1.4rem; }

.hero .roles {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  color: var(--ink-soft);
  margin-bottom: 2rem;
}

.hero .lede { margin-bottom: 2.4rem; }

/* ---------- Buttons ---------- */

.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 550;
  letter-spacing: .04em;
  text-decoration: none;
  border-radius: 2px;
  padding: .85rem 1.5rem;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover { background: var(--aegean-deep); border-color: var(--aegean-deep); color: #fff; }
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  /* Same WCAG 1.4.11 contrast fix as .nav-toggle above. */
  border: 1px solid var(--ink-soft);
}

@media (hover: hover) and (pointer: fine) {
  .btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
}

.section--ink .btn--primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.section--ink .btn--ghost { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 40%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .section--ink .btn--primary:hover { background: #fff; color: var(--ink); }
  .section--ink .btn--ghost:hover { border-color: var(--paper); }
}

/* ---------- Proof strip ---------- */

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding-block: 1.6rem;
}

.proof-strip ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2.4rem;
  justify-content: space-between;
}

.proof-strip li {
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .02em;
  color: var(--ink-soft);
}

/* Below ~810px, flex-wrap + space-between can strand a lone item on its own
   row (5 items don't divide evenly across the available width at tablet /
   large-phone sizes). Stack instead so nothing orphans. */
@media (max-width: 810px) {
  .proof-strip ul {
    flex-direction: column;
    align-items: flex-start;
    gap: .6rem;
  }
}

.proof-strip strong { color: var(--ink); font-weight: 600; }

/* ---------- Quote band ---------- */

.quote-band blockquote {
  margin: 0;
  max-width: 52rem;
}

.quote-band blockquote p {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 380;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.3;
  max-width: none;
  margin-bottom: 1.4rem;
  text-wrap: balance;
}

.quote-band cite {
  display: block;
  font-style: normal;
  font-size: .88rem;
  font-weight: 550;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.section--ink .quote-band cite { color: color-mix(in srgb, var(--paper) 70%, var(--ink)); }

/* ---------- Pillars (home) ---------- */

.pillar {
  border-top: 2px solid var(--ink);
  padding-top: 1.4rem;
}

.pillar .num {
  font-family: var(--serif);
  font-size: .95rem;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 1.6rem;
}

.pillar h3 { margin-bottom: .8rem; }

.pillar p { font-size: .98rem; color: var(--ink-soft); }

.pillar .more {
  font-size: .9rem;
  font-weight: 550;
  letter-spacing: .05em;
}

/* ---------- Credits list ---------- */

.credits { list-style: none; margin: 0; padding: 0; }

.credits li {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 1rem 2rem;
  padding-block: 1.05rem;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.credits .year {
  font-size: .88rem;
  font-weight: 550;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.credits .work {
  font-family: var(--serif);
  font-size: 1.12rem;
  font-weight: 480;
}

.credits .work em { font-style: italic; }

.credits .detail {
  font-size: .92rem;
  color: var(--ink-soft);
}

@media (max-width: 700px) {
  .credits li { grid-template-columns: 4.2rem minmax(0, 1fr); }
  .credits .detail { grid-column: 2; }
}

/* ---------- Press quotes ---------- */

.press-quote {
  border-left: 2px solid var(--aegean);
  padding-left: 1.5rem;
  margin: 0 0 2.4rem;
}

.press-quote p {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  line-height: 1.4;
  margin-bottom: .8rem;
  max-width: 44rem;
}

/* Same treatment as a press quote, but the speaker is Andreas himself — kept as a
   separate class so nobody later mistakes it for a citable review. */
.press-quote--self { border-left-color: var(--line-strong); }

.press-quote cite {
  font-style: normal;
  font-size: .85rem;
  font-weight: 550;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Video facade ---------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.75rem, 3.5vw, 2.75rem);
}

@media (max-width: 760px) {
  .video-grid { grid-template-columns: minmax(0, 1fr); }
}

.video-item figure { margin: 0; }

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  overflow: hidden;
  border-radius: 2px;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-facade {
  appearance: none;
  border: 0;
  padding: 0;
  margin: 0;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
  background: var(--ink);
  display: block;
  text-decoration: none;
}

.video-facade img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .82;
  transition: opacity .25s ease, transform .4s ease;
  display: block;
}

@media (hover: hover) and (pointer: fine) {
  .video-facade:hover img { opacity: .95; transform: scale(1.02); }
}

.video-facade .play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .video-facade:hover .play { background: var(--paper); }
}

.video-facade .play::after {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: .55rem 0 .55rem .95rem;
  border-color: transparent transparent transparent var(--ink);
  margin-left: .2rem;
}

.video-item figcaption {
  padding-top: .85rem;
  font-size: .92rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.video-item figcaption strong {
  display: block;
  color: var(--ink);
  font-weight: 600;
  font-size: .98rem;
}

/* ---------- Definition rows (teaching, VE) ---------- */

.def-rows { margin: 0; }

.def-rows > div {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 5fr);
  gap: .5rem 2.5rem;
  padding-block: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.def-rows dt {
  font-weight: 600;
  font-size: .95rem;
}

.def-rows dt .sub {
  display: block;
  font-weight: 500;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: .2rem;
}

.def-rows dd { margin: 0; font-size: .98rem; color: var(--ink-soft); }

.def-rows dd p { font-size: inherit; }

@media (max-width: 700px) {
  .def-rows > div { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Fact list ---------- */

.fact-list { list-style: none; margin: 0 0 1.5rem; padding: 0; }

.fact-list li {
  position: relative;
  padding: .45rem 0 .45rem 1.6rem;
  max-width: var(--measure);
}

.fact-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: .6rem;
  height: 1px;
  background: var(--aegean);
}

/* ---------- Portrait figure ---------- */

.portrait-figure {
  margin: 0;
  padding-block: clamp(1rem, 3vw, 2rem) clamp(2rem, 5vw, 3.5rem);
}

.portrait-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

/* ---------- Enquiry form ---------- */

.enquiry-form { max-width: 40rem; }

.enquiry-form .field { margin-bottom: 1.4rem; }

.enquiry-form label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .01em;
  margin-bottom: .45rem;
}

.enquiry-form label { margin-bottom: .2rem; }

/* Sits between <label> and the control; referenced by aria-describedby so it is
   announced once. It is deliberately NOT inside the label, which would make
   screen readers read it twice as part of the accessible name. */
.enquiry-form .hint {
  display: block;
  font-weight: 400;
  font-size: .85rem;
  color: var(--ink-soft);
  margin: 0 0 .45rem;
}

.form-intro {
  font-size: .95rem;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  /* --line-strong is only 1.75:1 on paper; form borders are meaningful UI
     boundaries and need 3:1 under WCAG 1.4.11, so they use ink-soft. */
  border: 1px solid var(--ink-soft);
  border-radius: 2px;
  padding: .8rem .9rem;      /* keeps every control well above the 44px touch floor */
  transition: border-color .2s ease, box-shadow .2s ease;
}

.enquiry-form textarea { min-height: 9rem; resize: vertical; }

.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  outline: none;
  border-color: var(--aegean);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--aegean) 18%, transparent);
}

.enquiry-form input:focus-visible,
.enquiry-form select:focus-visible,
.enquiry-form textarea:focus-visible { outline: 2px solid var(--aegean); outline-offset: 2px; }

.enquiry-form button {
  cursor: pointer;
  /* .btn sets a 1px border; without matching it the submit renders 2px
     shorter than every visually identical CTA on the site. */
  border: 1px solid var(--ink);
  min-height: 44px;
}

.enquiry-form .form-note {
  font-size: .88rem;
  color: var(--ink-soft);
  margin-top: 1rem;
}

/* Honeypot — hidden from people, visible to bots. Not display:none, which some bots skip. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Contact cards ---------- */

.contact-list { list-style: none; margin: 0; padding: 0; }

.contact-list li {
  border-top: 1px solid var(--line);
  padding-block: 1.6rem;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 4fr) auto;
  gap: .75rem 2rem;
  align-items: baseline;
}

.contact-list h3 { font-size: 1.15rem; margin: 0; }

.contact-list p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

.contact-list .action { white-space: nowrap; font-weight: 550; font-size: .95rem; }

@media (max-width: 760px) {
  .contact-list li { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Timeline (about) ---------- */

.timeline { list-style: none; margin: 0; padding: 0; }

.timeline li {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1rem 2rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--line);
}

.timeline .when {
  font-size: .88rem;
  font-weight: 550;
  color: var(--aegean);
  font-variant-numeric: tabular-nums;
}

.timeline .what { font-size: .98rem; color: var(--ink-soft); }

.timeline .what strong { color: var(--ink); font-weight: 600; }

@media (max-width: 600px) {
  .timeline li { grid-template-columns: 5.2rem minmax(0, 1fr); }
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: color-mix(in srgb, var(--paper) 80%, var(--ink));
  padding-block: 3.5rem 2.5rem;
  font-size: .92rem;
}

.site-footer a { color: var(--paper); text-decoration-color: color-mix(in srgb, var(--paper) 35%, transparent); }
@media (hover: hover) and (pointer: fine) {
  .site-footer a:hover { color: #fff; }
}

.site-footer .cols {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2.5rem;
  margin-bottom: 3rem;
}

@media (max-width: 760px) {
  .site-footer .cols { grid-template-columns: minmax(0, 1fr); }
}

.site-footer .wordmark { color: var(--paper); display: inline-block; margin-bottom: 1rem; }

.site-footer ul { list-style: none; margin: 0; padding: 0; }

.site-footer li { padding-block: .28rem; }

.site-footer .legal {
  border-top: 1px solid color-mix(in srgb, var(--paper) 15%, transparent);
  padding-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  justify-content: space-between;
  font-size: .82rem;
}

.site-footer .greek { font-size: .85rem; letter-spacing: .02em; }

/* ---------- Reveal animation ----------
   Scoped under html.js (set by an inline head script) so content is never
   hidden when JavaScript is unavailable. A pure-CSS fallback animation
   reveals everything after 3s even if site.js never runs. */

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  animation: reveal-fallback .001s linear 3s forwards;
}

@keyframes reveal-fallback {
  to { opacity: 1; transform: none; }
}

.js .reveal.is-visible {
  animation: none;
  opacity: 1;
  transform: none;
  transition: opacity .7s ease, transform .7s ease;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
  .js .reveal.is-visible { transition: none; }
  .video-facade img, .video-facade:hover img { transform: none; transition: none; }
}

/* ---------- Utility ---------- */

.mt-0 { margin-top: 0; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.max-measure { max-width: var(--measure); }
.mt-15 { margin-top: 1.5rem; }
.mt-2 { margin-top: 2rem; }
.mt-25 { margin-top: 2.5rem; }
.pt-2 { padding-top: 2rem; }

/* ---------- Touch-target sizing ----------
   WCAG 2.2 AA (2.5.8) sets a 24px floor; 44px is the comfortable phone target.
   Primary controls get 44px; footer links clear the 24px floor without
   turning the footer into a column of buttons. Links inside a sentence are
   exempt under the spec's inline exception, so prose links are left alone. */

/* NB: no `display` here — .nav-toggle is display:none until the mobile
   breakpoint turns it on, and setting display would override that. */
.nav-toggle { min-height: 44px; }

.contact-list .action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: .25rem;
}

.site-footer li a {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
}

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

.note {
  font-size: .88rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  max-width: var(--measure);
}
