:root {
  color-scheme: dark;
  --ink: #211e1a;
  --ink-deep: #1c1916;
  --paper: #f4eddf;
  --muted: #d8d0c3;
  --moss: #bcc25b;
  --rule: rgba(244, 237, 223, .5);
  --soft-rule: rgba(244, 237, 223, .25);
  --gutter: clamp(22px, 4vw, 76px);
  --header-height: 86px;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body { margin: 0; background: var(--ink); color: var(--paper); }
body[data-theme="hellas"] { --moss: #d3ad75; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(ellipse at 35% 45%, #2a241e 0, transparent 65%);
}
::selection { color: var(--ink); background: var(--moss); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .24em; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--moss); outline-offset: 7px; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin: 0; }
.page-width { width: min(1600px, 100%); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 100;
  padding: 14px 20px;
  color: var(--ink);
  background: var(--paper);
  transform: translateY(-170%);
}
.skip-link:focus { transform: translateY(0); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(33, 30, 26, .96);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.header-inner {
  width: min(1600px, 100%);
  min-height: var(--header-height);
  padding: 18px var(--gutter);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.wordmark {
  font-size: clamp(23px, 2.5vw, 35px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
}
nav { display: flex; align-items: center; gap: clamp(25px, 3.2vw, 52px); }
nav a {
  position: relative;
  padding-block: 10px;
  font-size: clamp(15px, 1.25vw, 19px);
  text-decoration: none;
  transition: color 150ms ease;
}
nav a::after {
  content: "";
  position: absolute;
  inset: auto 0 1px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 150ms ease;
}
nav a:hover, nav a[aria-current="location"] { color: var(--moss); }
nav a:hover::after, nav a[aria-current="location"]::after { transform: scaleX(1); }
.world-study { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.world-study > span { color: var(--muted); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 10px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; }
.theme-options { display: flex; border: 1px solid var(--soft-rule); }
.theme-options button { min-height: 42px; padding: 10px 13px; border: 0; border-radius: 0; color: var(--muted); background: transparent; font: inherit; font-size: 13px; line-height: 1.2; cursor: pointer; }
.theme-options button + button { border-left: 1px solid var(--soft-rule); }
.theme-options button:hover { color: var(--paper); background: rgba(244, 237, 223, .08); }
.theme-options button[aria-pressed="true"] { color: var(--ink-deep); background: var(--moss); }
.theme-options button:focus-visible { position: relative; outline-offset: 3px; z-index: 1; }

.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 21 / 9;
  min-height: 410px;
  max-height: 740px;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero-art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: -2; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(20, 20, 16, .92), rgba(20, 20, 16, .82) 120px, transparent 260px);
}
.hero-copy { position: absolute; bottom: clamp(20px, 2vw, 32px); left: 0; right: 0; }
.hero-copy p { max-width: 900px; font-size: clamp(20px, 1.9vw, 28px); line-height: 1.4; text-wrap: pretty; text-shadow: 0 1px 14px rgba(0,0,0,.35); }

.section { padding-block: clamp(44px, 5vw, 76px); }
.eyebrow { color: var(--moss); text-transform: uppercase; font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: 13px; line-height: 1.4; font-weight: 600; letter-spacing: .14em; }
h1, .section-title { font-size: clamp(37px, 4.4vw, 70px); line-height: 1.04; letter-spacing: -.042em; font-weight: 800; text-wrap: balance; }
h1 { margin-top: 22px; }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 45px 0 0; padding: 0; list-style: none; }
.process-step { min-width: 0; padding-inline: 23px; border-left: 1px solid var(--rule); }
.process-step:first-child { padding-left: 0; border-left: 0; }
.process-step:last-child { padding-right: 0; }
.step-heading { display: flex; align-items: baseline; gap: 11px; min-height: 54px; position: relative; }
.step-number { color: var(--moss); font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; font-size: clamp(20px, 1.7vw, 28px); letter-spacing: -.05em; font-weight: 400; }
.step-heading h2 { font-size: clamp(24px, 2.45vw, 39px); line-height: 1.08; letter-spacing: -.035em; font-weight: 750; }
.step-arrow { position: absolute; top: -1px; right: -16px; color: var(--muted); font-size: 24px; font-weight: 400; transform: translateX(50%); padding: 0 3px; background: var(--ink); z-index: 1; }
.process-art { margin-top: 18px; margin-bottom: 22px; }
.process-art img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.process-step > p { color: var(--paper); font-size: clamp(16px, 1.35vw, 21px); line-height: 1.45; text-wrap: pretty; }

.modes-section { border-top: 1px solid var(--rule); }
.section-title { margin-top: 21px; }
.modes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 43px; }
.mode { padding-inline: 26px; min-width: 0; border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.mode:first-child { padding-left: 0; border-left: 0; }
.mode:last-child { padding-right: 0; }
.mode h3 { font-size: clamp(34px, 3.55vw, 56px); line-height: 1.06; letter-spacing: -.045em; font-weight: 800; }
.mode p { margin-top: 12px; margin-bottom: 23px; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.4; max-width: 390px; min-height: 2.8em; text-wrap: pretty; }
.mode img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; margin-top: auto; }

.about-section { padding-block: 40px 28px; border-top: 1px solid var(--rule); }
.about-statement { max-width: 770px; margin-top: 18px; font-size: clamp(24px, 2.6vw, 38px); line-height: 1.24; font-weight: 500; letter-spacing: -.025em; text-wrap: pretty; }
.footer-line { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 36px; padding-top: 25px; border-top: 1px solid var(--soft-rule); color: var(--muted); font-size: 14px; line-height: 1.4; }
.back-top { display: inline-flex; align-items: center; gap: 10px; white-space: nowrap; text-decoration: none; }
.back-top:hover { color: var(--paper); }

@media (min-width: 1600px) {
  .step-arrow { right: -17px; }
}

@media (max-width: 1100px) {
  .process-step { padding-inline: 17px; }
  .step-heading { gap: 8px; }
  .step-heading h2 { font-size: 26px; }
  .step-number { font-size: 20px; }
  .step-arrow { right: -11px; font-size: 21px; }
  .mode { padding-inline: 20px; }
}

@media (max-width: 950px) {
  :root { --header-height: 124px; }
  .header-inner { flex-wrap: wrap; gap: 14px 28px; }
  .world-study { width: 100%; justify-content: flex-end; }
  .hero { min-height: 440px; }
  .hero-art { object-position: 56% center; }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 0; }
  .process-step { padding-inline: 24px; }
  .process-step:nth-child(odd) { border-left: 0; padding-left: 0; }
  .process-step:nth-child(even) { padding-right: 0; }
  .process-step:nth-child(2) .step-arrow { display: none; }
  .step-heading { min-height: auto; }
  .step-heading h2 { font-size: clamp(29px, 4.5vw, 39px); }
  .step-number { font-size: 24px; }
  .step-arrow { right: -17px; font-size: 25px; }
  .process-art { margin-top: 23px; }
  .process-step > p { font-size: 18px; }
  .modes-grid { gap: 0; }
  .mode { padding-inline: 17px; }
  .mode h3 { font-size: 32px; }
  .mode p { font-size: 16px; min-height: 4.2em; }
}

@media (max-width: 600px) {
  :root { --gutter: 22px; --header-height: 145px; }
  .header-inner { flex-wrap: wrap; justify-content: flex-start; gap: 12px 20px; padding-block: 17px 10px; }
  .wordmark { font-size: 24px; }
  nav { width: 100%; justify-content: space-between; gap: 24px; }
  nav a { font-size: 14px; padding-block: 6px; }
  .world-study { justify-content: space-between; }
  .hero { aspect-ratio: auto; height: 520px; min-height: 0; }
  .hero-art { object-position: 58% center; }
  .hero-shade { background: linear-gradient(0deg, rgba(20,20,16,.92), rgba(20,20,16,.82) 180px, transparent 340px); }
  .hero-copy { bottom: 22px; }
  .hero-copy p { max-width: 330px; font-size: 21px; line-height: 1.4; }
  .section { padding-block: 40px; }
  h1, .section-title { font-size: clamp(34px, 8.7vw, 48px); line-height: 1.07; letter-spacing: -.038em; }
  h1 br { display: none; }
  h1 { margin-top: 18px; }
  .eyebrow { font-size: 11px; }
  .process-grid { grid-template-columns: 1fr; gap: 0; margin-top: 30px; }
  .process-step, .process-step:nth-child(odd), .process-step:nth-child(even) { padding: 26px 0; border-left: 0; border-top: 1px solid var(--soft-rule); }
  .process-step:first-child { border-top: 0; padding-top: 0; }
  .process-step:last-child { padding-bottom: 0; }
  .step-heading { gap: 13px; }
  .step-heading h2 { font-size: 34px; }
  .step-number { font-size: 25px; }
  .step-arrow { display: none; }
  .process-art { margin-top: 18px; margin-bottom: 17px; }
  .process-art img { aspect-ratio: 6 / 5; }
  .process-step > p { max-width: 380px; font-size: 18px; line-height: 1.45; }
  .modes-grid { grid-template-columns: 1fr; margin-top: 31px; gap: 30px; }
  .mode, .mode:first-child, .mode:last-child { border: 0; padding: 0; }
  .mode + .mode { padding-top: 27px; border-top: 1px solid var(--soft-rule); }
  .mode h3 { font-size: 40px; }
  .mode p { min-height: 0; font-size: 18px; margin-top: 9px; margin-bottom: 18px; }
  .about-section { padding-block: 32px 25px; }
  .about-statement { font-size: 26px; }
  .footer-line { flex-wrap: wrap; gap: 18px; margin-top: 27px; padding-top: 22px; font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}
