/* ---------- Fonts (self-hosted: no requests to Google, RODO-friendly) ---------- */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext-opsz-normal.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: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin-opsz-normal.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: 200 800;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin-ext-opsz-italic.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: 200 800;
  font-display: swap;
  src: url(/assets/fonts/newsreader-latin-opsz-italic.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: "Atkinson";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-400-normal.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: "Atkinson";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-next-latin-400-normal.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: "Atkinson";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-400-italic.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: "Atkinson";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-next-latin-400-italic.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: "Atkinson";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-next-latin-ext-700-normal.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: "Atkinson";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/atkinson-hyperlegible-next-latin-700-normal.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 {
  --paper: #f6f7f4;
  --ink: #1e2a2c;
  --muted: #4e5d5a;
  --line: #cfd9d3;
  --tint: #e6eee9;
  --eucalyptus: #4f7366;
  --mulberry: #7b3a5d;
  --mulberry-dark: #632c4a;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Atkinson", "Segoe UI", system-ui, sans-serif;

  --step-0: 1.1875rem;   /* 19px body: comfortable for readers whose eyesight is changing */
  --step-1: 1.375rem;
  --step-2: 1.75rem;
  --step-3: clamp(2rem, 1.4rem + 2.4vw, 2.75rem);
  --step-4: clamp(2.75rem, 1.6rem + 5vw, 5.25rem);

  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --measure: 38rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--mulberry); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--mulberry-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--eucalyptus); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 450;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-2); }
h3 { font-size: var(--step-1); font-weight: 500; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--ink); color: #fff; padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--mulberry);
  color: #fff;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  padding: 0.8em 1.4em;
  border-radius: 999px;
  border: 2px solid var(--mulberry);
  line-height: 1.2;
}
.btn:hover { background: var(--mulberry-dark); border-color: var(--mulberry-dark); color: #fff; }
.btn-small { font-size: 0.9375rem; padding: 0.55em 1.1em; }
.btn-outline { background: transparent; color: var(--mulberry); }
.btn-outline:hover { background: var(--mulberry); color: #fff; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--tint); border-color: var(--tint); color: var(--ink); }
.link-quiet { color: var(--ink); font-weight: 700; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1rem;
}
.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--serif); font-size: 1.6rem; font-weight: 500;
  color: var(--ink); text-decoration: none; letter-spacing: -0.01em;
}
.brand:hover { color: var(--ink); }
.brand-mark { width: 2.2rem; height: auto; color: var(--eucalyptus); }
.site-nav { display: flex; align-items: center; gap: 1rem 1.75rem; flex-wrap: wrap; }
.site-nav ul { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; list-style: none; margin: 0; padding: 0; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: 1.0625rem; padding-block: 0.25rem; }
.site-nav a:not(.btn):hover { text-decoration: underline; }
.site-nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--eucalyptus); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-inner { position: relative; z-index: 1; padding-block: clamp(4rem, 10vw, 8.5rem) clamp(4rem, 9vw, 7rem); }
.hero-title {
  font-size: var(--step-4);
  font-weight: 380;
  line-height: 1.02;
  letter-spacing: -0.025em;
  max-width: 14ch;
  margin-bottom: 0.4em;
}
.hero-text { font-size: var(--step-1); max-width: 32rem; color: var(--ink); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; margin-top: 2rem; }

/* The one memorable element: a soft horizon, a new phase rising */
.horizon {
  position: absolute;
  right: -38vw;
  bottom: -70vw;
  width: 92vw;
  aspect-ratio: 1;
  border-radius: 50%;
  /* "circle" sizes to the farthest corner, so the disc's edge sits at ~70.7% */
  background: radial-gradient(circle at 50% 50%, #eef3ef 0%, #d3e0d7 44%, #b2c8bb 57%, #a594aa 65%, #8e5b7b 70.7%);
  opacity: 0.6;
  pointer-events: none;
}
.horizon::before {
  content: "";
  position: absolute;
  inset: 9%;
  border-radius: 50%;
  border: 1.5px solid rgba(30, 42, 44, 0.18);
}
.horizon::after {
  content: "";
  position: absolute;
  inset: 22%;
  border-radius: 50%;
  border: 1.5px solid rgba(30, 42, 44, 0.12);
}
@media (min-width: 60rem) {
  .horizon { right: -8vw; bottom: -40vw; width: 62vw; }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-tint { background: var(--tint); }
.band { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.two-col { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 52rem) {
  .two-col { grid-template-columns: 1fr 1.6fr; align-items: start; }
}

.help-list { margin: 0; display: grid; gap: 0; }
.help-list > div { padding-block: 1.1rem; border-top: 1px solid var(--line); }
.help-list > div:last-child { border-bottom: 1px solid var(--line); }
.help-list dt { font-weight: 700; margin-bottom: 0.2rem; }
.help-list dd { margin: 0; color: var(--muted); }

.steps { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 2rem; counter-reset: step; }
@media (min-width: 52rem) { .steps { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.steps li { counter-increment: step; position: relative; padding-top: 3.75rem; }
.steps li::before {
  content: counter(step);
  position: absolute; top: 0; left: 0;
  width: 2.75rem; height: 2.75rem; border-radius: 50%;
  border: 1.5px solid var(--eucalyptus); color: var(--eucalyptus);
  font-family: var(--serif); font-size: 1.4rem;
  display: grid; place-items: center;
}
.steps p { color: var(--muted); }

/* ---------- Lists: posts, files ---------- */
.post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.post-list li { padding-block: 1.5rem; border-top: 1px solid var(--line); }
.post-list time { font-size: 0.9375rem; color: var(--muted); }
.post-list h2, .post-list h3 { margin: 0.2rem 0 0.4rem; }
.post-list h2 { font-size: var(--step-2); }
.post-list h2 a, .post-list h3 a { color: var(--ink); text-decoration: none; }
.post-list h2 a:hover, .post-list h3 a:hover { text-decoration: underline; }
.post-list p { margin: 0; max-width: var(--measure); color: var(--muted); }
@media (min-width: 52rem) {
  .section-tint .post-list { grid-template-columns: repeat(3, 1fr); gap: 0 2.5rem; }
}

.file-list { list-style: none; margin: 0; padding: 0; }
.file-list li { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-block: 1rem; border-top: 1px solid var(--line); }
.file-list li:last-child { border-bottom: 1px solid var(--line); }
.file-list a { font-weight: 700; }
.file-info { color: var(--muted); font-size: 0.9375rem; font-weight: 400; }
.btn .file-info { color: inherit; opacity: 0.8; }

.resources { list-style: none; margin: 0; padding: 0; }
.resources li {
  display: grid; gap: 1rem; align-items: center;
  padding-block: 1.75rem; border-top: 1px solid var(--line);
}
.resources li:last-child { border-bottom: 1px solid var(--line); }
.resources h2 { font-size: var(--step-1); margin-bottom: 0.3rem; }
.resources p { margin: 0; color: var(--muted); max-width: var(--measure); }
@media (min-width: 46rem) { .resources li { grid-template-columns: 1fr auto; gap: 2rem; } }

/* ---------- CTA band ---------- */
.cta-band { background: var(--eucalyptus); color: #fff; padding-block: clamp(3rem, 7vw, 5rem); }
.cta-band h2 { font-size: var(--step-3); }
.cta-band a:not(.btn) { color: #fff; }
.cta-inner { display: grid; gap: 1.5rem 4rem; align-items: center; }
@media (min-width: 52rem) { .cta-inner { grid-template-columns: 1.4fr 1fr; } }
.cta-actions p { margin-top: 1.25rem; }

/* ---------- Inner pages ---------- */
.page { padding-block: clamp(2.5rem, 7vw, 5rem) clamp(3.5rem, 8vw, 6rem); }
.page-head { max-width: 46rem; margin-bottom: 2.5rem; }
.lead { font-size: var(--step-1); color: var(--muted); }
.post-meta { color: var(--muted); font-size: 1rem; margin-bottom: 0.75rem; }
.post-meta a { color: var(--muted); }
.post-cover { margin: 0 0 2.5rem; max-width: 52rem; }
.post-cover img { border-radius: 4px; }

.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: 0.45em; }
.prose blockquote {
  margin: 0 0 1.5em; padding: 1rem 1.25rem;
  background: var(--tint); border-left: 3px solid var(--eucalyptus);
}
.prose blockquote p:last-child { margin: 0; }
.prose img { margin-block: 1.5rem; border-radius: 4px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }

.post-cta {
  max-width: var(--measure); margin-top: 3.5rem; padding: 2rem;
  background: var(--tint); border-radius: 4px;
}
.post-cta h2 { font-size: var(--step-1); margin-top: 0; }

/* Services */
.services { list-style: none; margin: 0 0 2rem; padding: 0; max-width: 52rem; }
.services li {
  display: grid; gap: 0.75rem 3rem;
  padding-block: 1.75rem; border-top: 1px solid var(--line);
}
.services li:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 46rem) { .services li { grid-template-columns: 1fr 10rem; } }
.services h2 { font-size: var(--step-1); margin-bottom: 0.35rem; }
.services .service-main p { margin: 0; color: var(--muted); }
.service-meta p { margin: 0; }
@media (min-width: 46rem) { .service-meta { text-align: right; } }
.price { font-family: var(--serif); font-size: var(--step-2); line-height: 1.1; }
.note { max-width: var(--measure); color: var(--muted); font-size: 1rem; margin-bottom: 2rem; }

/* Contact */
.contact-grid { display: grid; gap: 2.5rem 4rem; }
@media (min-width: 52rem) { .contact-grid { grid-template-columns: 1.3fr 1fr; } }
.contact-list { margin: 0; }
.contact-list > div { padding-block: 1.1rem; border-top: 1px solid var(--line); display: grid; gap: 0.2rem; }
.contact-list > div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 36rem) { .contact-list > div { grid-template-columns: 7rem 1fr; } }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; font-size: var(--step-1); overflow-wrap: anywhere; }
.contact-aside { background: var(--tint); padding: 2rem; border-radius: 4px; align-self: start; }
.contact-aside h2 { font-size: var(--step-1); }
.contact-aside .btn { margin-bottom: 1.25rem; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 3rem 2rem; font-size: 1rem; }
.site-footer a { color: var(--ink); }
.footer-grid { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 46rem) { .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; } }
.footer-brand { font-family: var(--serif); font-size: 1.4rem; margin-bottom: 0.4rem; }
.social { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-legal { margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; }
.footer-legal p { margin: 0 0 0.3rem; }

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
@media print {
  .site-header, .site-footer, .horizon, .post-cta, .btn { display: none !important; }
  body { background: #fff; font-size: 12pt; }
}
