/* ozokutan.com
   One idea: a single amber line runs down the page like a transit map. Every
   section is a stop on it and the line fills as you read. The same line draws
   the disciplines, the steps and the Travel Planner itinerary. */

/* Fonts — Sofia Sans / Sofia Sans Condensed (SIL OFL 1.1), self-hosted
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/sofia-sans-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;
}
@font-face {
  font-family: "Sofia Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../assets/fonts/sofia-sans-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: "Sofia Sans Condensed";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../assets/fonts/sofia-sans-condensed-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;
}
@font-face {
  font-family: "Sofia Sans Condensed";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("../assets/fonts/sofia-sans-condensed-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;
}

/* Tokens
   -------------------------------------------------------------------------- */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --ink: #0b1220;
  --muted: #3f4a5d;
  --dim: #535e72;
  --line: #dfe4eb;
  --accent: #ee9842;
  --accent-hover: #f6b980;
  --accent-text: #9a4f00;
  --on-accent: #1b1206;
  --header-bg: rgba(255, 255, 255, 0.92);
  --sans: "Sofia Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Sofia Sans Condensed", "Arial Narrow", sans-serif;
  --max: 74rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4rem;
  --rail: 2.25rem;
  --spine-x: 0.6rem;
  --stop-pad: clamp(3.5rem, 7vw, 5.5rem);
  --w: 2px;
}
@media (min-width: 760px) {
  :root { --rail: 5.5rem; --spine-x: 1.5rem; }
}

/* Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ol, ul, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ol, ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; top: 0.75rem; left: 0.75rem; z-index: 100;
  padding: 0.6rem 1rem; border-radius: 999px;
  background: var(--accent); color: var(--on-accent);
  font-weight: 600; text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* Header
   -------------------------------------------------------------------------- */
.top { position: sticky; top: 0; z-index: 10; background: var(--header-bg); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.top__inner { position: relative; display: flex; align-items: center; gap: 1rem; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 0.65rem; margin-right: auto; font-weight: 600; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.brand i { flex: none; width: 0.85rem; height: 0.85rem; border: var(--w) solid var(--accent); border-radius: 50%; }

.nav ul { display: flex; gap: 1.75rem; font-size: 0.9375rem; font-weight: 500; }
.nav a { color: var(--muted); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.nav a[aria-current]::before { content: ""; display: inline-block; width: 0.4rem; height: 0.4rem; margin-right: 0.45rem; border-radius: 50%; background: var(--accent); vertical-align: 0.15em; }

.nav-toggle {
  display: none; align-items: center; gap: 0.5rem; min-height: 2.75rem; padding: 0 0.75rem;
  border: 0; border-radius: 999px; background: none; color: var(--ink);
  font: 500 0.9375rem/1 var(--sans); cursor: pointer;
}
.nav-toggle:hover { background: var(--line); }
.nav-toggle__icon, .nav-toggle__icon::before { display: block; width: 1rem; height: var(--w); background: currentColor; border-radius: var(--w); }
.nav-toggle__icon { position: relative; transform: translateY(-0.2rem); }
.nav-toggle__icon::before { content: ""; position: absolute; top: 0.4rem; left: 0; }

.social { display: flex; align-items: center; gap: 0.15rem; margin-right: -0.6rem; }
.social a { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--muted); transition: color 0.15s ease, background 0.15s ease; }
.social a:hover { color: var(--ink); background: var(--line); }
.social svg { width: 1.15rem; height: 1.15rem; }

/* Below 900px the section links move into a small menu (with JS); without JS
   they stay visible as a wrapping row under the brand. */
@media (max-width: 899px) {
  .top__inner { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; padding-bottom: 0.75rem; }
  .nav ul { flex-wrap: wrap; gap: 0.25rem 1.25rem; }
  .js .top__inner { flex-wrap: nowrap; }
  .js .nav-toggle { display: inline-flex; margin-right: -0.25rem; }
  .js .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 0.5rem var(--gutter) 1.25rem; background: var(--bg); border-bottom: 1px solid var(--line); }
  .js .nav.is-open { display: block; }
  .js .nav ul { flex-direction: column; gap: 0; }
  .js .nav a { display: block; padding-block: 0.7rem; border-top: 1px solid var(--line); font-size: 1.0625rem; }
  .js .nav li:first-child a { border-top: 0; }
}
@media (max-width: 479px) {
  .top__inner { gap: 0.25rem; }
  .js .nav-toggle { width: 2.75rem; justify-content: center; padding: 0; }
  .nav-toggle__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* The track — the line and its stops
   -------------------------------------------------------------------------- */
.track { position: relative; padding-left: var(--rail); }
.track::before, .track__fill { content: ""; position: absolute; top: 0; left: var(--spine-x); width: var(--w); transform: translateX(-50%); border-radius: var(--w); }
.track::before { height: var(--end, 100%); background: var(--line); }
.track__fill { height: var(--fill, 0px); background: var(--accent); }

.stop { position: relative; padding-block: var(--stop-pad); }
.stop__dot {
  position: absolute; left: calc(var(--spine-x) - var(--rail)); top: calc(var(--stop-pad) + 0.45rem);
  width: 0.85rem; height: 0.85rem; transform: translateX(-50%); border-radius: 50%;
  background: var(--bg); border: var(--w) solid var(--line);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.stop.is-reached .stop__dot { border-color: var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .stop__dot { transition: none; }
}
.stop__label { display: flex; align-items: baseline; gap: 0.75rem; font-size: 0.9375rem; font-weight: 600; color: var(--accent-text); }
.stop__label small { color: var(--dim); font-size: 0.875rem; font-weight: 400; }
.stop__title { margin-top: 0.75rem; font-family: var(--display); font-size: clamp(2.25rem, 1.4rem + 2.8vw, 3.75rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.01em; max-width: 32ch; text-wrap: balance; }
.stop--snug-end { padding-bottom: clamp(1.75rem, 4.5vw, 3rem); }
.stop__body { display: grid; gap: 2rem; margin-top: clamp(2rem, 4vw, 3rem); }

/* First stop: larger, filled marker */
.hero { --stop-pad: clamp(3rem, 8vw, 6rem); --hero-top: clamp(0.75rem, 1.5vw, 1.25rem); padding-top: var(--hero-top); padding-bottom: clamp(1.5rem, 4.5vw, 3.25rem); }
.hero .stop__dot { top: calc(var(--hero-top) + 0.3rem); width: 1.25rem; height: 1.25rem; border-color: var(--accent); background: var(--accent); box-shadow: inset 0 0 0 0.25rem var(--bg); }
.hero__role { color: var(--muted); font-weight: 500; }
.hero__title { margin-top: 1.25rem; font-family: var(--display); font-size: clamp(3rem, 1.4rem + 5.4vw, 6.25rem); font-weight: 300; line-height: 0.98; letter-spacing: -0.015em; }
.hero__title span { display: block; }
.hero__lead { margin-top: 2rem; max-width: 38rem; font-size: clamp(1.125rem, 1rem + 0.45vw, 1.3rem); line-height: 1.65; color: var(--muted); }
.hero__lead strong { color: var(--ink); font-weight: 600; }

/* Last stop: filled marker */
.terminus .stop__dot { width: 1.25rem; height: 1.25rem; background: var(--accent); border-color: var(--accent); }

/* Actions
   -------------------------------------------------------------------------- */
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.75rem; margin-top: 2rem; }
.actions--flush { margin-top: 0; }
.btn { display: inline-flex; align-items: center; min-height: 3rem; padding: 0 1.4rem; border-radius: 999px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--accent-hover); }
.more { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--line); padding-bottom: 0.15rem; }
.more:hover { border-color: var(--accent); }

/* Branch line — horizontal on wide screens, vertical on narrow ones
   -------------------------------------------------------------------------- */
.branch { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(3rem, 6vw, 4.5rem); }
.branch::before { content: ""; position: absolute; top: 0.5rem; left: calc(var(--spine-x) - var(--rail)); right: 0; height: var(--w); transform: translateY(-50%); background: var(--accent); border-radius: var(--w); }
.branch li { position: relative; padding-top: 1.75rem; padding-right: 1rem; }
.branch li::before { content: ""; position: absolute; top: 0; left: 0; width: 1rem; height: 1rem; border-radius: 50%; background: var(--bg); border: var(--w) solid var(--accent); }
.branch strong { display: block; font-family: var(--display); font-size: 1.375rem; font-weight: 400; line-height: 1.25; }
.branch span { display: block; color: var(--dim); font-size: 0.9375rem; }

@media (max-width: 759px) {
  .branch { grid-template-columns: 1fr; gap: 1.25rem; padding-left: 1.75rem; }
  .branch::before { top: 0.5rem; bottom: 0.5rem; left: 0.5rem; right: auto; width: var(--w); height: auto; transform: translateX(-50%); }
  .branch li { padding: 0; }
  .branch li::before { left: -1.75rem; top: 0.3rem; }
}

/* Content blocks
   -------------------------------------------------------------------------- */
.lead2 { font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 400; line-height: 1.35; letter-spacing: -0.015em; max-width: 30ch; }
.text { color: var(--muted); max-width: 40rem; }

.list { display: grid; }
.list > li { display: grid; gap: 0.35rem 2rem; padding-block: 1.25rem; border-top: 1px solid var(--line); }
.list > li:last-child { border-bottom: 1px solid var(--line); }
.list h3 { font-family: var(--display); font-size: 1.625rem; font-weight: 400; line-height: 1.2; }
.list p { color: var(--muted); }
.list small { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.list small span { white-space: nowrap; }
@media (min-width: 900px) {
  .list > li { grid-template-columns: 4fr 5fr 5fr; align-items: baseline; }
  .list small { text-align: right; }
}

.mail { display: inline-block; font-family: var(--display); font-size: clamp(2rem, 1rem + 4vw, 4.5rem); font-weight: 300; letter-spacing: -0.01em; line-height: 1.05; text-decoration: none; overflow-wrap: anywhere; }
.mail:hover { color: var(--accent-text); }

/* Long-form text (privacy)
   -------------------------------------------------------------------------- */
.prose { max-width: 42rem; color: var(--muted); }
.prose h2 { margin-top: 2.5rem; color: var(--ink); font-family: var(--display); font-size: 1.75rem; font-weight: 400; line-height: 1.2; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-top: 0.75rem; }
.prose a { color: var(--accent-text); }

/* Footer
   -------------------------------------------------------------------------- */
.foot { padding-block: 2rem 3rem; border-top: 1px solid var(--line); color: var(--dim); font-size: 0.875rem; }
.foot__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.foot ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.25rem; }
.foot a { color: var(--muted); text-decoration: none; }
.foot a:hover, .foot a[aria-current] { color: var(--ink); }
