/* =========================================================
   TALK TO NIKKI - COLOUR CONTROLS
   Change these values to restyle the whole website quickly.
   ========================================================= */
:root {
  --background: #fbf8f3;
  --surface: #ffffff;
  --surface-soft: #f3ede4;
  --text: #302b2e;
  --text-soft: #6a6266;
  --accent: #8a6877;
  --accent-dark: #684b58;
  --accent-soft: #eee5e9;
  --warm: #b6915a;
  --border: #ddd8cf;
  --focus: #765464;
  --shadow: 0 18px 50px rgba(104, 75, 88, 0.12);

  --radius-small: 12px;
  --radius: 22px;
  --radius-large: 36px;
  --max-width: 1180px;
  --content-width: 760px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--accent-dark);
  text-underline-offset: 0.2em;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 5.2vw, 4.9rem);
  font-weight: 650;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 620;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
}

p:last-child {
  margin-bottom: 0;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.narrow {
  max-width: var(--content-width);
}

.section {
  padding: 110px 0;
}

.soft-section {
  background: var(--surface-soft);
}


.intro-section {
  padding: 118px 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: var(--radius-small);
  background: var(--text);
  color: white;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  font-family: Georgia, serif;
  font-size: 1.25rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-nav > a:not(.button) {
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
  text-decoration: none;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  padding: 11px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--surface);
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: var(--text);
}

/* Buttons */
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 0;
  border-radius: 999px;
  background: var(--accent-dark);
  color: white;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  background: var(--text);
  transform: translateY(-2px);
}

.button-small {
  min-height: 42px;
  padding-inline: 18px;
  font-size: 0.9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  padding: 78px 0 110px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.55fr);
  align-items: center;
  gap: clamp(44px, 6vw, 82px);
}

.hero-lead {
  max-width: 690px;
  color: var(--text-soft);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 34px 0 22px;
}

.microcopy {
  max-width: 620px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.portrait-frame {
  position: relative;
  isolation: isolate;
  justify-self: end;
  width: min(100%, 335px);
  aspect-ratio: 9 / 16;
  overflow: visible;
}

.portrait-frame::before {
  position: absolute;
  inset: 5% -16% -5% -18%;
  z-index: -2;
  border-radius: 54% 46% 48% 52% / 40% 45% 55% 60%;
  background:
    radial-gradient(
      circle at 28% 18%,
      rgba(255, 255, 255, 0.68) 0 14%,
      transparent 15%
    ),
    linear-gradient(155deg, var(--accent-soft), #f4eade);
  content: "";
  transform: rotate(-4deg);
}

.portrait-frame::after {
  position: absolute;
  right: -12%;
  bottom: 7%;
  z-index: -1;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: var(--warm);
  content: "";
  opacity: 0.16;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  border-radius: 46px 108px 46px 108px;
  box-shadow: 0 22px 54px rgba(70, 48, 58, 0.18);
  object-fit: cover;
  object-position: center;
}


/* General sections */
.intro-centre {
  text-align: center;
}

.intro-centre p:not(.eyebrow) {
  color: var(--text-soft);
  font-size: 1.15rem;
}

.split-layout,
.boundary-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(48px, 8vw, 130px);
}

.prose {
  color: var(--text-soft);
  font-size: 1.08rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 50px;
}

.section-heading > p {
  max-width: 460px;
  color: var(--text-soft);
}

.compact-heading {
  margin-bottom: 38px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.option-card {
  min-height: 280px;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.option-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.card-number {
  display: block;
  margin-bottom: 70px;
  color: var(--warm);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.option-card p {
  color: var(--text-soft);
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  display: flex;
  gap: 18px;
  padding-top: 26px;
  border-top: 1px solid var(--border);
}

.step-number {
  flex: 0 0 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.steps p {
  color: var(--text-soft);
}

/* Boundaries */
.boundary-section {
  background: var(--accent-dark);
  color: white;
}

.boundary-section .eyebrow,
.boundary-section .text-link {
  color: #e0e7ef;
}

.boundary-section p {
  color: rgba(255, 255, 255, 0.78);
}

/* FAQ */
.faq-list {
  border-top: 1px solid var(--border);
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  position: relative;
  padding: 24px 46px 24px 0;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 22px;
  right: 4px;
  content: "+";
  color: var(--accent-dark);
  font-size: 1.5rem;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list details p {
  padding: 0 48px 26px 0;
  color: var(--text-soft);
}

/* Contact form */
.contact-section {
  background: var(--surface);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.contact-intro {
  position: sticky;
  top: 125px;
}

.contact-intro > p {
  color: var(--text-soft);
}

.contact-note {
  margin-top: 28px;
  padding: 20px;
  border-left: 3px solid var(--warm);
  background: var(--surface-soft);
}

.contact-note p {
  margin-top: 4px;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.contact-form {
  padding: clamp(26px, 5vw, 48px);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--background);
  box-shadow: var(--shadow);
}

.field,
.checkbox-group {
  margin-bottom: 24px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

label,
legend {
  display: block;
  margin-bottom: 8px;
  font-size: 0.92rem;
  font-weight: 700;
}

.optional {
  color: var(--text-soft);
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-small);
  background: var(--surface);
  color: var(--text);
  outline: none;
}

input,
select {
  min-height: 52px;
  padding: 0 14px;
}

textarea {
  min-height: 138px;
  padding: 14px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--focus) 35%, transparent);
  outline-offset: 3px;
}

.field-help {
  margin: -14px 0 24px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.field .field-help {
  margin: 8px 0 0;
}

.checkbox-group {
  padding: 0;
  border: 0;
}

.checkbox-group legend {
  margin-bottom: 14px;
}

.checkbox {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 11px;
  align-items: start;
  margin-bottom: 14px;
  font-weight: 500;
}

.checkbox input {
  width: 18px;
  min-height: 18px;
  margin-top: 4px;
}

.hidden-field {
  position: absolute;
  left: -9999px;
}

.form-submit {
  width: 100%;
}

.form-error {
  margin: 0 0 18px;
  padding: 14px;
  border: 1px solid #b54d4d;
  border-radius: var(--radius-small);
  background: #fff0f0;
  color: #7b2929;
}

/* Urgent support */
.urgent-section {
  padding: 78px 0;
  background: #4b3d44;
  color: white;
}

.urgent-grid {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: clamp(40px, 8vw, 110px);
}

.urgent-section .eyebrow {
  color: #e2cda7;
}

.urgent-section p {
  color: rgba(255, 255, 255, 0.78);
}

/* Footer */
.site-footer {
  padding: 54px 0;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: start;
  gap: 26px;
}

.footer-brand {
  margin-bottom: 14px;
}

.site-footer p {
  color: var(--text-soft);
  font-size: 0.9rem;
}

.site-footer nav {
  display: grid;
  gap: 8px;
}

.site-footer nav a {
  color: var(--text);
  text-decoration: none;
}

.copyright {
  grid-column: 1 / -1;
  margin-top: 18px;
}

/* Supporting pages */
.page-hero {
  padding: 90px 0 55px;
}

.page-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 6vw, 5.5rem);
}

.document-content {
  padding: 20px 0 110px;
}

.document-content article {
  max-width: 820px;
}

.document-content h2 {
  margin-top: 58px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.document-content h3 {
  margin-top: 34px;
}

.document-content p,
.document-content li {
  color: var(--text-soft);
}

.document-content li + li {
  margin-top: 8px;
}

.notice-box {
  margin: 35px 0;
  padding: 24px;
  border-radius: var(--radius);
  background: var(--surface-soft);
}

.success-card {
  max-width: 720px;
  margin: 70px auto 110px;
  padding: clamp(34px, 6vw, 70px);
  border: 1px solid var(--border);
  border-radius: var(--radius-large);
  background: var(--surface);
  box-shadow: var(--shadow);
  text-align: center;
}

.success-mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin: 0 auto 26px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 1.8rem;
}

/* Responsive */
@media (max-width: 940px) {

  .section {
    padding: 90px 0;
  }

  .intro-section {
    padding: 94px 0;
  }

  .hero {
    padding: 58px 0 88px;
  }

  .hero-grid {
    gap: 56px;
  }

  .split-layout,
  .boundary-grid,
  .contact-grid,
  .urgent-grid {
    gap: 42px;
  }

  .section-heading {
    margin-bottom: 40px;
  }

  .contact-form {
    max-width: 760px;
    margin-inline: auto;
  }

  .menu-button {
    display: block;
  }

  .collapsible-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 20px;
    left: 20px;
    display: none;
    align-items: stretch;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow);
  }

  .collapsible-nav.is-open {
    display: grid;
  }

  .collapsible-nav .button {
    margin-top: 8px;
  }

  .hero-grid,
  .split-layout,
  .boundary-grid,
  .contact-grid,
  .urgent-grid {
    grid-template-columns: 1fr;
  }

  .portrait-frame {
    justify-self: center;
    width: min(48vw, 320px);
    margin-inline: auto;
  }

  .card-grid {
    grid-template-columns: 1fr 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .contact-intro {
    position: static;
  }
}

@media (max-width: 640px) {
  :root {
    --radius-small: 11px;
    --radius: 18px;
    --radius-large: 26px;
  }

  html {
    scroll-padding-top: 76px;
  }

  body {
    font-size: 16px;
    line-height: 1.58;
  }

  .container {
    width: min(calc(100% - 40px), var(--max-width));
  }

  .narrow {
    max-width: none;
  }

  .section {
    padding: 64px 0;
  }

  .intro-section {
    padding: 76px 0;
  }

  .nav-wrap {
    min-height: 70px;
    gap: 14px;
  }

  .brand {
    gap: 10px;
    font-size: 0.98rem;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 1.08rem;
  }

  .menu-button {
    width: 42px;
    height: 42px;
    padding: 10px;
  }

  .collapsible-nav {
    right: 16px;
    left: 16px;
    gap: 4px;
    padding: 16px;
    border-radius: 20px;
  }

  .collapsible-nav > a:not(.button) {
    padding: 11px 8px;
  }

  .collapsible-nav .button {
    width: 100%;
    margin-top: 8px;
  }

  .hero {
    padding: 34px 0 66px;
  }

  .hero-grid {
    gap: 44px;
  }

  .hero-copy {
    min-width: 0;
  }

  h1 {
    margin-bottom: 20px;
    font-size: clamp(2.45rem, 11vw, 3.25rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.07;
  }

  h3 {
    margin-bottom: 9px;
    font-size: 1.22rem;
  }

  .eyebrow {
    margin-bottom: 13px;
    font-size: 0.7rem;
    letter-spacing: 0.14em;
  }

  .hero-lead {
    font-size: 1.04rem;
    line-height: 1.58;
  }

  .hero-actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 14px;
    margin: 28px 0 20px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-actions .text-link {
    align-self: center;
    padding: 6px;
  }

  .button {
    min-height: 52px;
    padding-inline: 20px;
  }

  .microcopy {
    font-size: 0.84rem;
    line-height: 1.5;
  }

  .portrait-frame {
    justify-self: center;
    width: min(72vw, 280px);
    margin: 0 auto;
  }

  .portrait-frame::before {
    inset: 6% -12% -4% -13%;
  }

  .portrait-frame::after {
    right: -8%;
    width: 58px;
    height: 58px;
  }

  .portrait-frame img {
    border-radius: 34px 78px 34px 78px;
    box-shadow: 0 17px 38px rgba(70, 48, 58, 0.16);
  }

  .intro-centre p:not(.eyebrow) {
    font-size: 1.02rem;
  }

  .split-layout,
  .boundary-grid,
  .contact-grid,
  .urgent-grid {
    gap: 28px;
  }

  .prose {
    font-size: 1rem;
  }

  .prose p {
    margin-bottom: 18px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 30px;
  }

  .section-heading > p {
    font-size: 0.96rem;
  }

  .compact-heading {
    margin-bottom: 26px;
  }

  .card-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card-grid {
    gap: 14px;
  }

  .option-card {
    min-height: 0;
    padding: 22px 20px 24px;
    border-radius: 18px;
  }

  .card-number {
    margin-bottom: 26px;
  }

  .steps {
    gap: 24px;
  }

  .steps li {
    gap: 14px;
    padding-top: 20px;
  }

  .step-number {
    flex-basis: 34px;
    height: 34px;
  }

  .boundary-section .text-link {
    margin-top: 4px;
  }

  .faq-list summary {
    min-height: 64px;
    padding: 20px 38px 20px 0;
    line-height: 1.35;
  }

  .faq-list summary::after {
    top: 17px;
    right: 2px;
  }

  .faq-list details p {
    padding: 0 34px 22px 0;
  }

  .contact-grid {
    gap: 34px;
  }

  .contact-note {
    margin-top: 22px;
    padding: 16px;
  }

  .contact-form {
    width: 100%;
    padding: 22px 16px;
    border-radius: 24px;
    box-shadow: 0 12px 32px rgba(70, 48, 58, 0.10);
  }

  .field,
  .checkbox-group {
    margin-bottom: 20px;
  }

  .field-row {
    gap: 0;
  }

  label,
  legend {
    margin-bottom: 7px;
    font-size: 0.9rem;
  }

  input,
  select {
    min-height: 54px;
    padding-inline: 13px;
  }

  textarea {
    min-height: 128px;
    padding: 13px;
  }

  .field-help {
    margin: -10px 0 20px;
    line-height: 1.45;
  }

  .field .field-help {
    margin: 7px 0 0;
  }

  .checkbox {
    grid-template-columns: 22px 1fr;
    gap: 10px;
    margin-bottom: 16px;
    line-height: 1.45;
  }

  .checkbox input {
    width: 20px;
    min-height: 20px;
    margin-top: 2px;
  }

  .urgent-section {
    padding: 62px 0;
  }

  .urgent-grid {
    gap: 18px;
  }

  .urgent-section h2 {
    margin-bottom: 0;
  }

  .urgent-section p {
    font-size: 0.95rem;
  }

  .site-footer {
    padding: 44px 0;
  }

  .footer-grid {
    gap: 20px;
  }

  .footer-grid nav {
    gap: 12px;
    margin-top: 4px;
  }

  .copyright {
    margin-top: 8px;
  }

  .page-hero {
    padding: 58px 0 30px;
  }

  .page-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.3rem);
  }

  .document-content {
    padding: 8px 0 72px;
  }

  .document-content h2 {
    margin-top: 42px;
    font-size: 1.8rem;
  }

  .document-content h3 {
    margin-top: 28px;
  }

  .document-content ul {
    padding-left: 22px;
  }

  .notice-box {
    margin: 26px 0;
    padding: 18px;
    border-radius: 18px;
  }

  .success-card {
    margin: 42px auto 72px;
    padding: 30px 20px;
    border-radius: 24px;
  }

  .success-mark {
    width: 56px;
    height: 56px;
    margin-bottom: 22px;
  }

  .simple-nav a:not(:last-child) {
    display: none;
  }
}

@media (max-width: 380px) {
  .container {
    width: min(calc(100% - 34px), var(--max-width));
  }

  h1 {
    font-size: 2.35rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .contact-form {
    padding-inline: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
