@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'M PLUS Rounded 1c'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/m-plus-rounded-1c-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: italic; font-weight: 100; font-display: swap; src: url("/assets/fonts/raleway-latin-100-italic.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 100; font-display: swap; src: url("/assets/fonts/raleway-latin-100-normal.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: italic; font-weight: 200; font-display: swap; src: url("/assets/fonts/raleway-latin-200-italic.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 200; font-display: swap; src: url("/assets/fonts/raleway-latin-200-normal.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: italic; font-weight: 300; font-display: swap; src: url("/assets/fonts/raleway-latin-300-italic.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/raleway-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: italic; font-weight: 400; font-display: swap; src: url("/assets/fonts/raleway-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/raleway-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: italic; font-weight: 500; font-display: swap; src: url("/assets/fonts/raleway-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/raleway-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: italic; font-weight: 600; font-display: swap; src: url("/assets/fonts/raleway-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/raleway-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: italic; font-weight: 700; font-display: swap; src: url("/assets/fonts/raleway-latin-700-italic.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 700; font-display: swap; src: url("/assets/fonts/raleway-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: italic; font-weight: 800; font-display: swap; src: url("/assets/fonts/raleway-latin-800-italic.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 800; font-display: swap; src: url("/assets/fonts/raleway-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: italic; font-weight: 900; font-display: swap; src: url("/assets/fonts/raleway-latin-900-italic.woff2") format("woff2"); }
@font-face { font-family: 'Raleway'; font-style: normal; font-weight: 900; font-display: swap; src: url("/assets/fonts/raleway-latin-900-normal.woff2") format("woff2"); }
:root {
  --bg-light-base: #ffffff;
  --fg-light-base-body: #14303a;
  --fg-light-base-heading: #14303a;
  --fg-light-base-muted: #4a6670;
  --fg-light-base-link: #0b6a7a;
  --fg-light-base-inverse: #2c4a53;
  --bg-light-card: #e4f3f5;
  --fg-light-card-body: #14303a;
  --fg-light-card-heading: #14303a;
  --fg-light-card-muted: #4a6670;
  --fg-light-card-link: #0b6a7a;
  --fg-light-card-inverse: #2c4a53;
  --bg-light-elevated: #c4e6eb;
  --fg-light-elevated-body: #14303a;
  --fg-light-elevated-heading: #14303a;
  --fg-light-elevated-muted: #2c4a53;
  --fg-light-elevated-link: #0b6a7a;
  --fg-light-elevated-inverse: #2c4a53;
  --brand-light-accent: #0b6a7a;
  --brand-light-accent-hover: #07505c;
  --brand-light-on-accent: #ffffff;
  --focus-light-ring: #0b6a7a;
  --border-light-default: #5a7b81;
  --border-light-subtle: #c9e6ea;
}
.bg-surface-base { background: var(--bg-light-base); --fg-body: var(--fg-light-base-body); --fg-heading: var(--fg-light-base-heading); --fg-muted: var(--fg-light-base-muted); --fg-link: var(--fg-light-base-link); --fg-inverse: var(--fg-light-base-inverse); }
.bg-surface-card { background: var(--bg-light-card); --fg-body: var(--fg-light-card-body); --fg-heading: var(--fg-light-card-heading); --fg-muted: var(--fg-light-card-muted); --fg-link: var(--fg-light-card-link); --fg-inverse: var(--fg-light-card-inverse); }
.bg-surface-elevated { background: var(--bg-light-elevated); --fg-body: var(--fg-light-elevated-body); --fg-heading: var(--fg-light-elevated-heading); --fg-muted: var(--fg-light-elevated-muted); --fg-link: var(--fg-light-elevated-link); --fg-inverse: var(--fg-light-elevated-inverse); }
.text-role-body { color: var(--fg-body); overflow-wrap: anywhere; }
.text-role-heading { color: var(--fg-heading); overflow-wrap: anywhere; }
.text-role-muted { color: var(--fg-muted); }
.text-role-link { color: var(--fg-link); }
.text-role-inverse { color: var(--fg-inverse); }
.text-role-link { text-decoration: underline; }
.text-role-link:hover { color: var(--brand-light-accent-hover); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--focus-light-ring); outline-offset: 2px; }
img { max-width: 100%; height: auto; }
.site-logo { max-width: 100%; height: auto; }
.site-menu > summary { list-style: none; cursor: pointer; }
.site-menu > summary::-webkit-details-marker { display: none; }
:where(section[data-section][style]) { background-size: cover; background-position: center; padding: clamp(1.5rem, 4vw, 3rem); }
:where(section[data-section][style] > .bg-surface-card) { padding: clamp(1rem, 3vw, 2rem); }
:where(section[data-section][style] > .bg-surface-card > :first-child) { margin-top: 0; }
:where(section[data-section][style] > .bg-surface-card > :last-child) { margin-bottom: 0; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { position: static; padding: 0.25rem 0.5rem; outline: 2px solid var(--focus-light-ring); }

:root {
  --heading: 'M PLUS Rounded 1c', 'Trebuchet MS', sans-serif;
  --body: 'Raleway', 'Segoe UI', sans-serif;
  --accent: var(--brand-light-accent);
  --accent-hover: var(--brand-light-accent-hover);
  --on-accent: var(--brand-light-on-accent);
  --line: var(--border-light-default);
  --line-soft: var(--border-light-subtle);
  --sole: 2.25rem;
  --pad: 1.75rem;
  --rail: 15.5rem;
  --measure: 40rem;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.7;
  font-variant-numeric: proportional-nums;
}

h1, h2, h3, h4 {
  font-family: var(--heading);
  color: var(--fg-heading);
  line-height: 1.2;
  margin: 0;
}

h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(1.3rem, 1.1rem + 0.8vw, 1.65rem); font-weight: 800; letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }

p { margin: 0 0 1.1em; }

a { text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

/* ---------- Shell: sea-glass tide rail on desktop, sticky sea-glass bar on small screens ---------- */

.text-role-heading, .text-role-body { overflow-wrap: break-word; }

.shell { min-height: 100vh; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.6rem 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  flex: 0 1 auto;
  color: var(--fg-heading);
  text-decoration: none;
  font-family: var(--heading);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.15;
  min-height: 44px;
}

.brand-name { overflow-wrap: normal; hyphens: none; }

.brand .site-logo { width: 2rem; height: 2rem; flex: none; }

.site-nav { display: none; }

.site-menu { position: relative; flex: none; }

.site-menu > summary {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 44px;
  min-height: 44px;
  padding: 0.4rem 0.9rem;
  border: 2px solid var(--line);
  border-radius: 0.9rem 0.9rem 0.9rem 0.3rem;
  font-family: var(--heading);
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
}

.site-menu > summary:hover, .site-menu[open] > summary { border-color: var(--accent); }

.menu-icon {
  position: relative;
  width: 1.1rem;
  height: 0.75rem;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  border-radius: 2px;
}

.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  margin-top: -1px;
  border-top: 2px solid currentColor;
}

@media (max-width: 30rem) {
  .site-menu > summary { padding: 0.4rem 0.75rem; }
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

.site-menu > ul {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  width: min(18rem, calc(100vw - 32px));
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--bg-light-elevated);
  border-radius: 1.25rem 0.4rem 1.25rem 1.25rem;
  box-shadow: 0 22px 44px -26px rgba(13, 79, 92, 0.7);
}

.site-menu li a {
  display: block;
  padding: 0.7rem 0.9rem;
  border-radius: 0.8rem;
  color: var(--fg-link);
  text-decoration: none;
  font-family: var(--heading);
  font-weight: 700;
}

.site-menu li a:hover { background: var(--bg-light-base); color: var(--accent-hover); }

.page { min-width: 0; }

.site-footer {
  margin: 4rem 16px 16px;
  padding: 2rem var(--pad);
  border-radius: 0.5rem var(--sole) var(--sole) var(--sole);
  font-size: 0.95rem;
}

.site-footer p { margin: 0 0 0.5rem; max-width: 36rem; }
.footer-name { font-family: var(--heading); font-weight: 800; font-size: 1.1rem; }
.footer-client { margin-top: 1rem; }

.breadcrumbs { padding: 1.25rem 16px 0; font-size: 0.9rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; margin: 0; padding: 0; list-style: none; }
.breadcrumbs li { display: inline-flex; align-items: center; gap: 0.9rem; }
.breadcrumbs li + li::before {
  content: '';
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--line);
}

main { padding: 1.5rem 16px 0; }

@media (min-width: 64rem) {
  .shell {
    display: grid;
    grid-template-columns: var(--rail) minmax(0, 1fr);
    align-items: start;
  }

  .site-header {
    height: 100vh;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 3rem;
    padding: 2.25rem 0 2rem 1.5rem;
    border-radius: 0 0 4.5rem 0;
    overflow-y: auto;
  }

  .brand { gap: 0.75rem; padding-right: 1.25rem; font-size: 1.15rem; }
  .brand .site-logo { width: 2.5rem; height: 2.5rem; }

  .site-menu { display: none; }

  .site-nav { display: block; }
  .site-nav ul { margin: 0; padding: 0; list-style: none; }
  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav li a {
    position: relative;
    display: block;
    padding: 0.95rem 1.25rem 0.95rem 0;
    color: var(--fg-link);
    text-decoration: none;
    font-family: var(--heading);
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.3;
  }
  .site-nav li a::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 0.45rem;
    height: 1.6rem;
    margin-top: -0.8rem;
    border-radius: 999px 0 0 999px;
    background: var(--accent);
    opacity: 0;
  }
  .site-nav li a:hover { color: var(--accent-hover); }
  .site-nav li a:hover::after, .site-nav li a[aria-current]::after { opacity: 1; }
  .site-nav li a:focus-visible { outline-offset: -2px; }

  .breadcrumbs { padding: 2rem 3rem 0; }
  main { padding: 2rem 3rem 0; }
  .site-footer { margin: 5rem 3rem 2rem; }
}

/* ---------- Reading text shared by every body ---------- */

.prose { max-width: var(--measure); }
.prose > * + h2 { margin-top: 2.6rem; }
.prose h2 { margin-bottom: 0.9rem; }
.prose h3 { margin: 1.8rem 0 0.6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.4rem; }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.4rem;
  border-radius: 1.5rem;
  background: var(--bg-light-card);
}

.photo-hero, .photo-inline { margin: 0 0 2rem; }
.photo-hero img, .photo-inline img { display: block; width: 100%; border-radius: var(--sole); }

/* ---------- Home: wide calm statement on open white, a tide band of lines, then soft entry cards ---------- */

.home { max-width: 52rem; margin: 0 auto; }

.home-hero { padding: clamp(1.5rem, 5vw, 4rem) 0 0; }

.home-hero h1 {
  max-width: 18ch;
  font-size: clamp(2.2rem, 1.3rem + 3.8vw, 4.2rem);
  line-height: 1.04;
}

.hero-lines {
  max-width: 38rem;
  margin: 2.25rem 0 0 clamp(0rem, 6vw, 5rem);
  padding: 1.5rem clamp(1.25rem, 4vw, 2.25rem);
  border-radius: 0.5rem 2.75rem 2.75rem 2.75rem;
  font-size: 1.08rem;
}
.hero-lines .display-line { margin: 0 0 0.7rem; }
.hero-lines .display-line:last-child { margin-bottom: 0; }
.hero-lines .display-line:first-child { font-weight: 600; }
.hero-lines:empty { display: none; }

.entry-stack { display: grid; gap: 1rem; margin: 3rem 0 3.5rem; max-width: 40rem; }

.entry-card {
  display: grid;
  gap: 0.3rem;
  padding: 1.3rem 1.6rem 1.3rem 1.4rem;
  border: 2px solid var(--line-soft);
  border-left: 0.5rem solid var(--accent);
  border-radius: 0.6rem 1.75rem 1.75rem 0.6rem;
  text-decoration: none;
}

.entry-card:hover { border-color: var(--accent); }
.entry-card:hover .entry-title { color: var(--accent-hover); }
.entry-title { font-family: var(--heading); font-weight: 800; font-size: 1.2rem; line-height: 1.3; }
.entry-note { font-size: 0.97rem; line-height: 1.5; }

.home-body { margin: 0; }

/* ---------- Headings as small rounded tabs (articles, hubs, about) ---------- */

.article-body h2, .hub-intro h2, .about-text h2 {
  display: inline-block;
  padding: 0.35rem 1.1rem 0.45rem;
  border-radius: 999px;
  background: var(--bg-light-card);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
}

/* ---------- Topic hub: stepped bands descending to the right ---------- */

.hub { max-width: 54rem; }
.hub-head { margin-bottom: 1.75rem; max-width: 40rem; }
.hub-intro { margin-bottom: 2.5rem; }

.hub-steps {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border-radius: var(--sole);
}

.hub-steps ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.8rem; }

.hub-steps li a {
  position: relative;
  display: block;
  padding: 1rem 1.4rem 1rem 2.6rem;
  border-radius: 999px;
  background: var(--bg-light-elevated);
  border: 1px solid var(--line-soft);
  text-decoration: none;
  font-family: var(--heading);
  font-weight: 500;
  line-height: 1.35;
}

.hub-steps li a::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 50%;
  width: 0.7rem;
  height: 0.7rem;
  margin-top: -0.35rem;
  border-radius: 50%;
  border: 2px solid var(--accent);
}

.hub-steps li a:hover { border-color: var(--accent); }
.hub-steps li a:hover::before { background: var(--accent); }

@media (min-width: 40rem) {
  .hub-steps li { width: calc(100% - 8rem); }
  .hub-steps li:nth-child(2) { margin-left: 2rem; }
  .hub-steps li:nth-child(3) { margin-left: 4rem; }
  .hub-steps li:nth-child(4) { margin-left: 6rem; }
  .hub-steps li:nth-child(n+5) { margin-left: 8rem; }
}

/* ---------- Article: sticky title rail beside the reading column ---------- */

.article-rail {
  padding: 1.75rem var(--pad);
  border-radius: var(--sole);
  margin-bottom: 2rem;
}

.article-rail h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); }
.rail-note { margin: 1rem 0 0; font-size: 0.92rem; }

@media (min-width: 72rem) {
  .article {
    display: grid;
    grid-template-columns: minmax(15rem, 19rem) minmax(0, var(--measure));
    gap: 3.5rem;
    align-items: start;
  }
  .article-rail { position: sticky; top: 2rem; margin-bottom: 0; }
}

/* ---------- About: mission beside a rounded panel ---------- */

.about-head { max-width: 40rem; margin-bottom: 2rem; }
.about-grid { display: grid; gap: 2rem; }

.about-panel {
  padding: 1.75rem var(--pad);
  border-radius: var(--sole);
  align-self: start;
}

.panel-title { font-size: 1.2rem; margin-bottom: 1rem; }
.panel-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.6rem; }
.panel-list a {
  display: block;
  padding: 0.75rem 1rem;
  border-radius: 1.25rem;
  background: var(--bg-light-elevated);
  font-weight: 600;
  line-height: 1.4;
}

@media (min-width: 60rem) {
  .about-grid { grid-template-columns: minmax(0, 1fr) minmax(15rem, 20rem); gap: 3rem; }
  .about-panel { position: sticky; top: 2rem; }
}

/* ---------- Contact: rounded illustration field beside a soft form ---------- */

.contact { display: grid; gap: 2rem; }

.contact-art {
  display: grid;
  place-items: center;
  min-height: 14rem;
  padding: 2rem;
  border-radius: 4rem 4rem 4rem 1.5rem;
}

.contact-illustration { width: min(12rem, 60%); height: auto; }

.contact-head { margin-bottom: 1.5rem; }
.contact-body { margin-bottom: 2rem; }

.contact-form {
  display: grid;
  gap: 1.25rem;
  max-width: 34rem;
  padding: 1.75rem var(--pad);
  border: 1px solid var(--line-soft);
  border-radius: 2rem;
}

.field { display: grid; gap: 0.45rem; }
.field-label { font-family: var(--heading); font-weight: 500; }

.field input, .field textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: var(--bg-light-base);
  color: var(--fg-body);
  font: inherit;
}

.field textarea { resize: vertical; min-height: 9rem; }

.field input:focus-visible, .field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}

.form-button {
  justify-self: start;
  min-height: 48px;
  padding: 0.75rem 1.9rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-family: var(--heading);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.form-button:hover { background: var(--accent-hover); }

@media (min-width: 60rem) {
  .contact { grid-template-columns: minmax(14rem, 0.8fr) minmax(0, 1.2fr); gap: 3rem; align-items: start; }
  .contact-art { position: sticky; top: 2rem; min-height: 30rem; }
}

/* ---------- Thank you: confirmation card in a centred column ---------- */

.thanks { max-width: 44rem; margin: 0 auto; }

.thanks-card {
  padding: clamp(2rem, 6vw, 4rem) clamp(1.25rem, 5vw, 3.5rem);
  border-radius: 0.6rem 3rem 3rem 3rem;
}

.thanks-head { margin-bottom: 1.5rem; }
.thanks-body { margin: 0; }
.thanks-next { margin: 2rem 0 0; }

.thanks-link {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: var(--bg-light-elevated);
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
