/* ==========================================================================
   Mili Kenworthy: site styles
   White, deep green and a pop of lime. High contrast, easy to read.
   ========================================================================== */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F1F5F2;
  --surface: #FFFFFF;
  --ink: #13201C;
  --ink-soft: #4A5753;
  --border: #DCE4DF;
  --green: #1E4A44;      /* main colour: lines, numbers, small accent text, dark panels */
  --green-soft: #E3EDE8; /* icon badges, quiet fills */
  --lime: #D4EE6F;       /* the pop: highlighter, hover states, photo block. Never as text on white */

  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --sans: "Figtree", "Helvetica Neue", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(4rem, 9vw, 7rem);
  --radius: 6px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --header-h: 4.5rem;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 1rem); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, .97rem + .2vw, 1.125rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
main { flex: 1; }

img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--lime); color: var(--ink); }

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

.skip-link {
  position: absolute; left: 1rem; top: -4rem; z-index: 300;
  padding: .75rem 1rem; background: var(--ink); color: var(--bg); border-radius: var(--radius);
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */

h1, h2, .display { font-family: var(--display); font-weight: 700; letter-spacing: -.03em; }
h1 { font-size: clamp(2.6rem, 1.6rem + 4.4vw, 4.75rem); line-height: 1.04; }
h2 { font-size: clamp(2rem, 1.5rem + 2.2vw, 3rem); line-height: 1.1; }
h3 { font-size: 1.1875rem; font-weight: 700; line-height: 1.3; }

/* Highlighter: lime marker behind deep green text */
.hl {
  color: var(--green);
  background: linear-gradient(transparent 58%, var(--lime) 58%, var(--lime) 90%, transparent 90%);
  padding-inline: .06em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.lede { font-size: clamp(1.125rem, 1.04rem + .4vw, 1.3125rem); color: var(--ink-soft); max-width: 38rem; }
.label { font-size: .8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }

.section { padding-block: var(--section-y); }
.section-alt { background: var(--bg-alt); }
.section.flush-top { padding-top: 0; }
.label + .ticks { margin-top: .75rem; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head .lede { margin-top: .75rem; }
.text-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: .1rem; white-space: nowrap; transition: border-color .2s; }
.text-link:hover { border-color: var(--ink); }

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3.25rem; padding: .8rem 1.6rem;
  border: 2px solid var(--ink); border-radius: 999px;
  font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: var(--green); border-color: var(--green); }
.btn-outline { background: var(--bg); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-small { min-height: 2.6rem; padding: .45rem 1.2rem; font-size: .9375rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

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

/* Header: flush at the top of the page, then lifts into a floating bar once you scroll (.is-floating set in main.js).
   Backgrounds live on pseudo-elements: blur on the header itself would trap the fixed mobile menu. */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); }
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  transition: opacity .35s var(--ease);
}
.header-inner {
  position: relative;
  display: flex; align-items: center; justify-content: space-between;
  height: var(--header-h);
  transition: height .4s var(--ease), padding .4s var(--ease), margin .4s var(--ease), max-width .4s var(--ease);
}
.header-inner::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .86);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(30, 74, 68, .08);
  border-radius: 999px;
  box-shadow: 0 14px 36px -18px rgba(19, 32, 28, .35);
  opacity: 0; transform: translateY(-8px) scale(.98);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  pointer-events: none;
}
.site-header.is-floating::before { opacity: 0; }
.site-header.is-floating .header-inner {
  height: 3.6rem;
  margin-top: .45rem;
  max-width: calc(var(--wrap) - 2rem);
  width: calc(100% - 2 * var(--gutter) + 1.5rem);
  padding-inline: 1.5rem .45rem;
}
.site-header.is-floating .header-inner::before { opacity: 1; transform: none; }
.site-header.is-floating .wordmark { font-size: 1.4rem; }

/* Logo: bold wordmark ("Mili" ink, "Kenworthy" green) with the lime highlighter under the whole name */
.wordmark {
  position: relative; z-index: 60;
  font-family: var(--display); font-size: 1.6rem; line-height: 1;
  text-decoration: none; white-space: nowrap;
  padding-inline: .08em;
  background: linear-gradient(transparent 55%, var(--lime) 55%, var(--lime) 92%, transparent 92%) no-repeat;
  background-size: 100% 100%;
  transition: font-size .4s var(--ease), background-size .5s var(--ease);
}
.wordmark:hover { background-size: 100% 130%; }
.logo-first, .logo-last { font-weight: 800; letter-spacing: -.045em; }
.logo-first { color: var(--ink); }
.logo-last { color: var(--green); }
@media (max-width: 420px) {
  .wordmark, .site-header.is-floating .wordmark { font-size: 1.35rem; }
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul { display: flex; gap: 1.75rem; }
.site-nav ul a { position: relative; font-size: .9375rem; font-weight: 500; text-decoration: none; padding-block: .5rem; color: var(--ink-soft); transition: color .2s; }
.site-nav ul a:hover { color: var(--ink); }
.site-nav ul a[aria-current="page"] { color: var(--ink); font-weight: 700; }
.site-nav ul a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: .1rem; height: 2px; background: var(--green); }

.menu-toggle { display: none; }

@media (max-width: 900px) {
  .menu-toggle {
    position: relative; z-index: 60;
    display: inline-flex; align-items: center; gap: .65rem;
    min-height: 2.75rem; padding: 0 .25rem 0 .75rem;
    background: none; border: 0; color: var(--ink);
    font: inherit; font-weight: 700; font-size: .9375rem; cursor: pointer;
  }
  .menu-toggle-icon { display: grid; gap: 6px; width: 22px; }
  .menu-toggle-icon span { display: block; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-toggle-icon span:last-child { transform: translateY(-4px) rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0; z-index: 55;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 2.5rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: var(--bg);
    visibility: hidden; opacity: 0;
    transition: opacity .3s var(--ease), visibility 0s linear .3s;
  }
  .site-nav.is-open { visibility: visible; opacity: 1; transition: opacity .3s var(--ease), visibility 0s; }
  .site-nav ul { flex-direction: column; gap: .35rem; }
  .site-nav ul a { display: inline-block; font-family: var(--display); font-weight: 700; letter-spacing: -.03em; font-size: clamp(2.1rem, 8.5vw, 2.75rem); line-height: 1.2; color: var(--ink); }
  .site-nav ul a[aria-current="page"] { font-weight: 700; }
  .site-nav ul a[aria-current="page"]::after { bottom: 0; }
  .nav-cta { min-height: 3.25rem; padding-inline: 1.75rem; font-size: 1rem; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding-block: clamp(3.5rem, 8vw, 6rem) clamp(2.5rem, 5vw, 3.5rem); }
.page-hero .label { margin-bottom: 1rem; }
.page-hero h1 { max-width: 18ch; }
.page-hero .lede { margin-top: 1.25rem; }
.thanks { min-height: 60vh; }
.thanks h1 { max-width: 20ch; }
.thanks .btn-row { margin-top: 2rem; }

/* ---------- Home hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem) clamp(3.5rem, 7vw, 5.5rem);
  /* Wallpaper: small leaves in a tight offset repeat (pattern.svg), fading out at the bottom */
  background:
    linear-gradient(rgba(255, 255, 255, 0) 70%, var(--bg) 100%),
    url("pattern.svg") 0 0 / 48px 48px repeat,
    var(--bg);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { margin-top: 1rem; font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.5rem); line-height: 1.02; }
.hero h1 span { display: block; }
.hero h1 .hl { width: fit-content; }
.hero .lede { margin-top: 1.5rem; }
.hero .btn-row { margin-top: 2rem; }

.photo { position: relative; margin: 0 1rem 1rem 0; }
.photo::before {
  content: ""; position: absolute; inset: 1.1rem -1.1rem -1.1rem 1.1rem;
  background: var(--lime); border-radius: var(--radius);
}
.photo img {
  position: relative; width: 100%; height: auto;
  aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%;
  border-radius: var(--radius);
}

/* Home photo is square so it sits level with the text column */
.hero .photo img { aspect-ratio: 1 / 1; object-position: 50% 30%; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero .photo { max-width: 30rem; }
}

/* Credentials under the hero buttons: an editorial credits list, three short columns */
.cred-cols {
  display: grid; grid-template-columns: repeat(3, auto); justify-content: start;
  gap: 1rem clamp(1.75rem, 4vw, 3.25rem);
  margin-top: clamp(2.25rem, 4vw, 3rem);
}
.cred-cols dt {
  display: inline-block; margin-bottom: .6rem; padding-inline: .15em;
  background: linear-gradient(transparent 55%, var(--lime) 55%, var(--lime) 92%, transparent 92%);
}
.cred-cols dd { display: grid; gap: .1rem; }
.cred-cols dd span { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; font-size: 1.1875rem; line-height: 1.3; }

@media (max-width: 420px) {
  .cred-cols { gap: .75rem 1.25rem; }
  .cred-cols dd span { font-size: 1rem; }
}

/* ---------- Cards ---------- */

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
}
a.card { display: block; text-decoration: none; transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
a.card:hover { border-color: var(--green); transform: translateY(-3px); box-shadow: 0 12px 30px -18px rgba(19, 32, 28, .35); }

.num { font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--green); }

/* Interactive surfaces: a soft lime glow follows the cursor (position set in main.js) */
.interactive { position: relative; isolation: isolate; overflow: hidden; }
.interactive::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(22rem circle at var(--mx, 50%) var(--my, 0%), rgba(212, 238, 111, .38), transparent 60%);
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.interactive:hover::after { opacity: 1; }

.icon {
  display: grid; place-items: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  transition: background-color .4s var(--ease), color .4s var(--ease), transform .5s var(--ease);
}
.icon svg { width: 1.5rem; height: 1.5rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon .fill { fill: currentColor; }

/* Home: service cards in a bento grid (one feature card, nothing left alone on a row) */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.svc-card {
  display: flex; flex-direction: column; gap: 1rem;
  min-height: 17rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--ink);
  text-decoration: none;
  transition: color .45s var(--ease), border-color .45s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease);
}
.svc-card:first-child { grid-column: span 2; }
/* Ink fill that rises from the bottom on hover */
.svc-card::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background: var(--green);
  transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.svc-watermark {
  position: absolute; right: 1.25rem; top: .5rem; z-index: -1;
  font-family: var(--display); font-weight: 800; letter-spacing: -.04em; font-size: clamp(4.5rem, 3.5rem + 3vw, 7rem); line-height: 1;
  color: var(--bg-alt);
  transition: color .45s var(--ease), transform .6s var(--ease);
}
.svc-card h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.025em; font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); line-height: 1.15; margin-top: auto; max-width: 18ch; }
.svc-card:first-child h3 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem); }
.svc-quote { font-style: italic; font-size: 1.125rem; line-height: 1.4; color: var(--ink-soft); transition: color .45s var(--ease); }
/* Brands behind each service */
.svc-proof { font-size: .8125rem; font-weight: 700; letter-spacing: .02em; color: var(--green); transition: color .45s var(--ease); }
.svc-cta { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .9375rem; color: var(--green); transition: color .45s var(--ease); }
.svc-cta .arrow { display: inline-block; transition: transform .35s var(--ease); }

.svc-card:hover, .svc-card:focus-visible {
  color: var(--bg);
  border-color: var(--green);
  transform: translateY(-4px);
  box-shadow: 0 22px 40px -24px rgba(19, 32, 28, .55);
}
.svc-card:hover::before, .svc-card:focus-visible::before { transform: translateY(0); }
.svc-card:hover .svc-watermark, .svc-card:focus-visible .svc-watermark { color: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.svc-card:hover .svc-quote, .svc-card:focus-visible .svc-quote { color: #D3E0DA; }
.svc-card:hover .svc-proof, .svc-card:focus-visible .svc-proof { color: var(--lime); }
.svc-card:hover .svc-cta, .svc-card:focus-visible .svc-cta { color: var(--lime); }
.svc-card:hover .svc-cta .arrow { transform: translateX(6px); }
.svc-card:hover .icon, .svc-card:focus-visible .icon { background: var(--lime); color: var(--ink); transform: rotate(-8deg) scale(1.05); }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-card:first-child { grid-column: auto; }
  .svc-card { min-height: 0; }
  .svc-card h3 { margin-top: .25rem; }
}

/* Home: why me, editorial two-column list */
.why-layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.why-head { position: sticky; top: calc(var(--header-h) + 2rem); }
.why-head h2 { margin-top: 1rem; font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.5rem); }
.why-head .lede { margin-top: 1.25rem; }

.why-row {
  position: relative;
  display: grid; grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; align-items: baseline;
  padding: 1.5rem .75rem 1.5rem 0;
  transition: padding-left .45s var(--ease);
}
.why-row::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px;
  background: var(--green); transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease);
}
.why-row:hover { padding-left: .75rem; }
.why-row:hover::before { transform: scaleX(1); }
.why-n { font-family: var(--display); font-weight: 700; font-size: 1.75rem; line-height: 1; color: var(--green); transition: transform .45s var(--ease); }
.why-row:hover .why-n { transform: scale(1.15); }
.why-row h3 { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; font-size: clamp(1.375rem, 1.2rem + .6vw, 1.75rem); line-height: 1.2; }
.why-row p { margin-top: .3rem; color: var(--ink-soft); }

@media (max-width: 900px) {
  .why-layout { grid-template-columns: minmax(0, 1fr); }
  .why-head { position: static; }
}

/* ---------- Services page ---------- */

.service {
  display: grid;
  grid-template-columns: 4rem minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(1rem, 3vw, 3rem);
  padding-block: clamp(2rem, 4vw, 3rem);
}
.service h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.375rem); }
.service .problem { margin-top: 1rem; padding-left: 1rem; border-left: 2px solid var(--green); font-style: italic; font-size: 1.1875rem; line-height: 1.4; color: var(--ink-soft); }
.service-body { display: grid; gap: 1.25rem; align-content: start; }
.service-body > p { font-size: 1.0625rem; }

/* "Where I’ve done this" box on the services page */
.proof { margin-top: .5rem; padding: 1.1rem 1.25rem; background: var(--green-soft); border-radius: 14px; }
.proof .label { margin-bottom: .4rem; }
.proof p:not(.label) { font-size: .9688rem; line-height: 1.55; }

.ticks { display: grid; gap: .5rem; }
.ticks li { position: relative; padding-left: 1.75rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: .8rem; height: .45rem;
  border-left: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

@media (max-width: 820px) {
  .service { grid-template-columns: 3rem minmax(0, 1fr); }
  .service-body { grid-column: 2; }
}
@media (max-width: 480px) {
  .service { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
  .service-body { grid-column: 1; margin-top: .5rem; }
}

/* ---------- Experience page ---------- */

/* Story timeline: a green line fills as you scroll (--progress set in main.js) and each chapter's dot lights up */
.timeline { position: relative; max-width: 62rem; }
.timeline::before,
.timeline::after {
  content: ""; position: absolute; left: .55rem; top: .6rem; bottom: .6rem; width: 2px;
}
.timeline::before { background: var(--border); }
.timeline::after { background: var(--green); transform-origin: top; transform: scaleY(var(--progress, 0)); }

.chapter {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(1.25rem, 5vw, 4rem);
  padding: 0 0 clamp(3rem, 7vw, 5rem) clamp(2.5rem, 5vw, 3.5rem);
}
.chapter:last-child { padding-bottom: 0; }
.chapter::before {
  content: ""; position: absolute; left: 0; top: .2rem; z-index: 1;
  width: 1.25rem; height: 1.25rem; border-radius: 50%;
  background: var(--surface); border: 2px solid var(--border);
  transition: background-color .6s var(--ease) .3s, border-color .6s var(--ease) .3s, transform .6s var(--ease) .3s;
}
.chapter.is-visible::before { background: var(--lime); border-color: var(--green); transform: scale(1.15); }

.chapter-meta h2 { font-size: clamp(1.875rem, 1.5rem + 1.6vw, 2.75rem); margin-top: .5rem; }
.chapter-role { margin-top: .4rem; color: var(--ink-soft); font-weight: 500; }
.chapter-story { display: grid; gap: 1rem; max-width: 36rem; }
.chapter-lead { font-family: var(--display); font-weight: 650; letter-spacing: -.02em; font-size: clamp(1.375rem, 1.2rem + .7vw, 1.75rem); line-height: 1.2; color: var(--green); }
.chapter-story p:not(.chapter-lead) { font-size: 1.0625rem; }

.chapter-now .chapter-story { padding: clamp(1.5rem, 3vw, 2rem); background: var(--green-soft); border-radius: 10px; }

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

/* Lift-and-glow for cards on inner pages */
.card.interactive { transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .45s var(--ease); }
.card.interactive:hover { transform: translateY(-5px); border-color: var(--green); box-shadow: 0 24px 44px -26px rgba(19, 32, 28, .45); }
.format-dark.interactive::after { background: radial-gradient(24rem circle at var(--mx, 50%) var(--my, 0%), rgba(212, 238, 111, .22), transparent 60%); }

/* Services page rows */
.service.interactive { padding-inline: 1rem; margin-inline: -1rem; border-radius: 10px; transition: background-color .45s var(--ease); }
.service.interactive:hover { background: var(--surface); }
.service .num { transition: transform .45s var(--ease); display: inline-block; }
.service.interactive:hover .num { transform: translateX(4px); }
.service .icon { margin-top: 1rem; }
.service.interactive:hover .icon { background: var(--lime); color: var(--ink); transform: rotate(-8deg); }

/* ---------- Working together page ---------- */

.format-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.format { display: grid; gap: 1.1rem; align-content: start; }
.format h2 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.5rem); }
.format .summary { font-size: 1.125rem; font-weight: 500; }
.format-dark { background: var(--green); color: #FFFFFF; border-color: var(--green); }
.format-dark .label { color: var(--lime); }
.format-dark .ticks li::before { border-color: var(--lime); }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; counter-reset: step; }
.step { position: relative; display: grid; gap: .6rem; align-content: start; }
.step p { color: var(--ink-soft); }
.step .num {
  display: grid; place-items: center;
  width: 3rem; height: 3rem; margin-bottom: .5rem;
  border-radius: 50%; background: var(--surface); border: 1.5px solid var(--green);
  font-size: 1.375rem; color: var(--green);
  position: relative; z-index: 1;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.step:hover .num { background: var(--lime); border-color: var(--lime); color: var(--ink); }
/* Connecting line between steps on wide screens */
@media (min-width: 821px) {
  .step:not(:last-child)::after {
    content: ""; position: absolute; top: 1.5rem; left: 3.75rem; right: -.5rem;
    height: 1px; background: repeating-linear-gradient(90deg, var(--green) 0 6px, transparent 6px 12px);
  }
}

.note { margin-top: 1.75rem; padding: 1rem 1.25rem; border-left: 3px solid var(--green); background: var(--surface); border-radius: 0 var(--radius) var(--radius) 0; font-weight: 500; }

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

/* ---------- About page ---------- */

.about-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.about-copy { display: grid; gap: 1.1rem; max-width: 38rem; }
.about-copy p:first-child { font-size: clamp(1.125rem, 1.04rem + .4vw, 1.3125rem); }

.facts { margin-top: 2.5rem; max-width: 38rem; }
.facts div { display: grid; grid-template-columns: 8rem minmax(0, 1fr); gap: 1rem; padding-block: .6rem; }
.facts dt { padding-top: .1rem; }

@media (max-width: 820px) {
  .about-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid .photo { max-width: 22rem; }
}

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
/* Enquiry form */
.enquiry { display: grid; gap: 1.25rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.field { display: grid; gap: .45rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field .optional { font-weight: 400; color: var(--ink-soft); }
.field input, .field select, .field textarea {
  width: 100%; padding: .85rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-alt); border: 1.5px solid transparent; border-radius: 10px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #7A8682; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--border); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: var(--bg); border-color: var(--green); box-shadow: 0 0 0 4px rgba(212, 238, 111, .55); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 24 24%27 fill=%27none%27 stroke=%27%231E4A44%27 stroke-width=%272%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27%3E%3Cpath d=%27M6 9l6 6 6-6%27/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 1.1rem; }
.enquiry-submit { justify-self: start; margin-top: .25rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 560px) { .field-row { grid-template-columns: minmax(0, 1fr); } .enquiry-submit { justify-self: stretch; } }
.contact-sub { font-size: clamp(1.5rem, 1.3rem + .8vw, 1.875rem); margin-bottom: 1.25rem; }
.contact-note { margin-top: 1.5rem; color: var(--ink-soft); }
.about-title { margin-block: 1rem 1.75rem; }

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

/* ---------- CTA band ---------- */

.cta-band { background: var(--green); color: #FFFFFF; padding-block: clamp(3.5rem, 8vw, 5.5rem); }
.cta-band .btn-dark { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.cta-band .btn-dark:hover { background: #FFFFFF; border-color: #FFFFFF; }
.cta-band :focus-visible { outline-color: var(--lime); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; }
.cta-inner h2 { max-width: 16ch; }
.cta-inner p { margin-top: .75rem; color: #D3E0DA; font-size: 1.125rem; }

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

.site-footer { background: var(--ink); color: #C3CFCA; font-size: .9375rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding-block: 2.5rem; }
.footer-mark { font-family: var(--display); font-size: 1.45rem; line-height: 1; }
.footer-mark .logo-first { color: #FFFFFF; }
.footer-mark .logo-last { color: #FFFFFF; }
.footer-mark.wordmark-footer { display: inline-block; padding-inline: .08em; background: linear-gradient(transparent 55%, rgba(212, 238, 111, .55) 55%, rgba(212, 238, 111, .55) 92%, transparent 92%); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--lime); text-decoration: underline; }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

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

@media print {
  .site-header, .copy-btn { display: none; }
  .js .reveal { opacity: 1; transform: none; }
}
