/* Fonts are self-hosted in /fonts, so visitors make no requests to third parties.
   Young Serif for headings, Atkinson Hyperlegible Next for body text (designed for legibility). */
@font-face { font-family: "Young Serif"; src: url("young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("atkinson-hyperlegible-next-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Atkinson Hyperlegible Next"; src: url("atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --forest: #0e3b2c;
  --forest-deep: #0a2c21;
  --moss: #1f5a43;
  --mint: #a5e3c1;
  --mint-soft: #c9eedb;
  --stone: #e7e3da;
  --bone: #f6f4ee;
  --ink: #10211a;
  --muted: #3f5148;
  --display: "Young Serif", Georgia, serif;
  --body: "Atkinson Hyperlegible Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gap: clamp(.5rem, 1.2vw, .9rem);
  --radius: clamp(1.5rem, 3vw, 2.75rem);
  --pad: clamp(1.5rem, 5vw, 5rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: var(--gap);
  font-family: var(--body);
  font-size: 1.125rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--stone);
}

h1, h2, h3 { font-family: var(--display); font-weight: 400; margin: 0; letter-spacing: -.02em; }
p { margin: 0 0 1rem; max-width: 36rem; }
a { color: inherit; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; border-radius: 4px; }

.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: .5rem 1rem; z-index: 20; }
.skip:focus { left: 0; }

main { display: flex; flex-direction: column; gap: var(--gap); margin-top: var(--gap); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--gap) * 2);
  min-height: calc(100svh - var(--gap) * 2);
  display: flex;
  flex-direction: column;
  padding: 0 var(--pad);
  border-radius: var(--radius);
  background: var(--forest);
  color: var(--bone);
}

/* Concentric arcs: a spectrum of greens rising from the corner */
.arcs { position: absolute; right: 0; bottom: 0; width: min(78vw, 1250px); height: auto; aspect-ratio: 1; pointer-events: none; }
.ring { transform-box: view-box; transform-origin: 100% 100%; animation: ring-in 1.1s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--i) * 90ms); }
@keyframes ring-in { from { opacity: 0; transform: scale(.35); } to { opacity: 1; transform: scale(1); } }

.topbar { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .75rem 2rem; padding-block: 1.75rem; }
.brand { font-family: var(--display); font-size: 1.45rem; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 2rem; }
nav a { text-decoration: none; font-size: 1rem; }
nav a:not(.pill-outline):hover { text-decoration: underline; text-decoration-color: var(--mint); text-decoration-thickness: 2px; text-underline-offset: 7px; }

.pill-outline { padding: .55rem 1.25rem; border: 1.5px solid var(--mint); border-radius: 999px; color: var(--mint); transition: background .15s, color .15s; }
.pill-outline:hover { background: var(--mint); color: var(--forest); }

.hero-body { position: relative; z-index: 2; margin-block: auto 0; padding-block: 4rem clamp(2.5rem, 6vw, 5rem); }
.hero h1 { font-size: clamp(2.5rem, 6.8vw, 6.25rem); line-height: 1; letter-spacing: -.035em; margin-bottom: clamp(1.75rem, 4vw, 3rem); max-width: 11em; }
.hero-body p { font-size: 1.3rem; color: #d8ece1; max-width: 30rem; margin-bottom: 2rem; text-wrap: balance; }

.pill { display: inline-block; padding: 1.1rem 2.1rem; border-radius: 999px; background: var(--mint); color: var(--forest); font-weight: 700; text-decoration: none; transition: background .15s, transform .15s; }
.pill:hover { background: var(--mint-soft); transform: translateY(-2px); }

/* Statement */
.statement { padding: clamp(3.5rem, 9vw, 7.5rem) var(--pad); }
.statement p { font-family: var(--display); font-size: clamp(1.9rem, 4.2vw, 3.6rem); line-height: 1.2; letter-spacing: -.02em; max-width: 24em; margin: 0; color: var(--forest); }

/* Services: two big colour panels */
.services { padding: clamp(2rem, 4vw, 3rem) 0 0; }
.services h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); padding: 0 var(--pad); margin-bottom: 1.75rem; color: var(--forest); }
.panels { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); }
.panel { display: flex; flex-direction: column; justify-content: space-between; gap: 4rem; min-height: 26rem; padding: clamp(1.75rem, 4vw, 3.5rem); border-radius: var(--radius); }
.panel h3 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.05; }
.panel p { margin: 0; font-size: 1.15rem; }
.mint { background: var(--mint); color: var(--forest-deep); }
.moss { background: var(--moss); color: var(--bone); }

/* Process: a real sequence, drawn as one */
.process { background: var(--forest); color: var(--bone); border-radius: var(--radius); padding: clamp(2.5rem, 6vw, 5.5rem) var(--pad); }
.process-head { margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.process h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; margin-bottom: 1rem; }
.process-head p { color: #d8ece1; margin: 0; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.steps li { counter-increment: step; border-top: 2px solid #2f7458; padding-top: 1.25rem; }
.steps li::before { content: counter(step); display: block; font-family: var(--display); font-size: 3.4rem; line-height: 1; color: var(--mint); margin-bottom: 1.25rem; }
.steps h3 { font-size: 1.55rem; line-height: 1.2; margin-bottom: .6rem; }
.steps p { margin: 0; color: #cfe6da; font-size: 1.05rem; }
.fees { margin: clamp(2.5rem, 5vw, 4rem) 0 0; padding-top: 1.5rem; border-top: 1px solid #2f7458; font-weight: 500; color: var(--mint); max-width: none; }

/* About: portrait in an arch, echoing the hero arcs */
.about { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; padding: clamp(2.5rem, 6vw, 5.5rem) var(--pad); background: var(--bone); border-radius: var(--radius); }
.arch-wrap { position: relative; width: 100%; max-width: 27rem; justify-self: center; }
.arch-wrap::before { content: ""; position: absolute; inset: -1rem; border: 2px solid var(--mint); border-radius: 999px 999px 2rem 2rem; background: transparent; }
.arch-wrap img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: 999px 999px 1.25rem 1.25rem; background: var(--mint-soft); }
.about-text h2 { font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05; color: var(--forest); margin-bottom: .5rem; }
.letters { font-weight: 500; font-size: 1.15rem; letter-spacing: .02em; color: var(--moss); margin-bottom: .25rem; }
.role { font-weight: 700; color: var(--moss); margin-bottom: 1.75rem; }
.about-text p:not(.role):not(.reg):not(.letters) { color: var(--muted); }
.reg { margin: 2rem 0 0; font-size: .95rem; color: var(--muted); }

/* Contact */
.contact { background: var(--forest); color: var(--bone); border-radius: var(--radius); padding: clamp(3rem, 8vw, 7rem) var(--pad); }
.contact h2 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.05; margin-bottom: 1.25rem; }
.contact p { color: #d8ece1; }
.email { display: block; margin-top: 1.75rem; font-family: var(--display); font-size: clamp(1.15rem, 4.8vw, 2.75rem); line-height: 1.1; letter-spacing: -.025em; color: var(--mint); text-decoration: underline; text-decoration-thickness: .04em; text-underline-offset: .16em; overflow-wrap: anywhere; }
.email:hover { color: var(--mint-soft); }

footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; padding: 1.75rem var(--pad) 1rem; font-size: .92rem; color: var(--muted); }
footer p { margin: 0; max-width: none; }

@media (max-width: 900px) {
  .panels { grid-template-columns: 1fr; }
  .panel { min-height: 0; gap: 2.5rem; }
  .steps { grid-template-columns: 1fr 1fr; row-gap: 2.5rem; }
  .about { grid-template-columns: 1fr; }
  .arch-wrap { max-width: 22rem; }
}
@media (max-width: 560px) {
  nav { gap: .5rem 1.1rem; }
  nav a { font-size: .95rem; }
  .arcs { width: 140vw; }
  .steps { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .ring { animation: none; }
  .pill, .pill-outline { transition: none; }
  .pill:hover { transform: none; }
}
