@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --ink: #17232b;
  --ink-soft: #4c5960;
  --navy: #0b1722;
  --navy-light: #142733;
  --paper: #f5f4ef;
  --white: #fffefa;
  --line: rgba(23, 35, 43, 0.14);
  --accent: #9bdced;
  --accent-deep: #39798a;
  --sand: #e9e4d8;
  --shadow: 0 20px 55px rgba(11, 23, 34, 0.12);
  --font-body: "DM Sans", sans-serif;
  --font-display: "Manrope", sans-serif;
  --page-width: 1440px;
  --gutter: clamp(22px, 5vw, 76px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; }
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 4px;
}

::selection { background: var(--accent); color: var(--navy); }

.page-wrap {
  width: min(calc(100% - (var(--gutter) * 2)), var(--page-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--navy);
  color: var(--white);
}

.header-inner {
  width: min(calc(100% - (var(--gutter) * 2)), var(--page-width));
  min-height: 76px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand, .footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-mark {
  width: 34px;
  height: 34px;
  color: var(--accent);
  flex: 0 0 auto;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  padding: 12px 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  display: grid;
  align-content: center;
  gap: 6px;
}

.menu-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--white);
  transition: transform 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.primary-nav {
  position: absolute;
  inset: 76px 0 auto;
  display: none;
  padding: 14px var(--gutter) 24px;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 18px 24px rgba(4, 13, 19, 0.18);
}

.primary-nav.is-open,
.primary-nav[data-open="true"],
.primary-nav.open { display: grid; }

.primary-nav a {
  padding: 11px 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  transition: color 180ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible { color: var(--accent); }

.primary-nav .nav-contact {
  margin-top: 7px;
  padding: 10px 16px;
  border: 1px solid rgba(155, 220, 237, 0.5);
  border-radius: 99px;
  color: var(--accent);
  text-align: center;
}

.hero-wrap {
  position: relative;
  display: grid;
  padding-top: 24px;
  padding-bottom: clamp(68px, 10vw, 140px);
}

.hero-image {
  position: relative;
  min-height: 310px;
  height: min(68vw, 620px);
  overflow: hidden;
  background: var(--sand);
}

.hero-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 45%, rgba(8, 17, 23, 0.54) 100%);
  pointer-events: none;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

.image-kicker {
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 18px;
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, 690px);
  margin-top: -38px;
  padding: clamp(28px, 6vw, 66px) clamp(24px, 6vw, 68px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-deep);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1, h2, strong { font-family: var(--font-display); }
h1, h2, p { margin-top: 0; }

.hero-copy h1 {
  max-width: 610px;
  margin-bottom: 20px;
  font-size: clamp(36px, 8.5vw, 76px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.05;
}

.hero-copy h1 em { color: var(--accent-deep); font-style: normal; }

.hero-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 27px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 24px;
}

.button {
  min-height: 48px;
  padding: 12px 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  border: 1px solid transparent;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: var(--white); }
.button-primary:hover { background: var(--accent-deep); }

.button-quiet {
  border-color: rgba(23, 35, 43, 0.2);
  background: transparent;
  color: var(--ink);
}

.button-quiet:hover {
  border-color: var(--ink);
  background: rgba(23, 35, 43, 0.05);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.text-link span {
  color: var(--accent-deep);
  font-size: 18px;
  transition: transform 180ms ease;
}

.text-link:hover span { transform: translateX(4px); }
.hero-line { display: none; }

.section {
  padding-top: clamp(65px, 9vw, 128px);
  padding-bottom: clamp(65px, 9vw, 128px);
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading h2,
.split-copy h2,
.closing-cta h2 {
  margin-bottom: 0;
  font-size: clamp(29px, 6vw, 52px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.12;
}

.section-heading > p {
  max-width: 390px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.guide-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px 20px;
}

.guide-card { min-width: 0; }

.card-image {
  position: relative;
  display: block;
  height: clamp(250px, 72vw, 420px);
  overflow: hidden;
  background: var(--sand);
  color: var(--white);
}

.card-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(9, 20, 29, 0.03) 23%, rgba(9, 20, 29, 0.78) 100%);
  transition: background-color 240ms ease;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 550ms cubic-bezier(.2, .7, .2, 1);
}

.card-image:hover img,
.card-image:focus-visible img { transform: scale(1.045); }

.card-overlay {
  position: absolute;
  z-index: 1;
  inset: auto 20px 19px;
  display: grid;
  gap: 9px;
}

.card-overlay .eyebrow {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 9px;
}

.card-overlay strong {
  max-width: 340px;
  font-size: clamp(20px, 5vw, 29px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.38);
  color: rgba(255, 255, 255, 0.88);
  font-size: 11px;
  font-weight: 600;
}

.card-cta b { color: var(--accent); font-size: 17px; font-weight: 400; }

.guide-card > p {
  max-width: 450px;
  margin: 13px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.7;
}

.editorial-split {
  display: grid;
  gap: 0;
  padding-top: 0;
  padding-bottom: clamp(70px, 10vw, 140px);
}

.split-image {
  min-height: 300px;
  height: 68vw;
  max-height: 650px;
  overflow: hidden;
  background: var(--sand);
}

.split-image img { width: 100%; height: 100%; object-fit: cover; }

.split-copy {
  position: relative;
  z-index: 1;
  margin: -25px 14px 0;
  padding: clamp(26px, 6vw, 66px) clamp(22px, 5vw, 56px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.split-copy h2 {
  max-width: 510px;
  margin-bottom: 21px;
  font-size: clamp(32px, 6vw, 54px);
}

.split-copy > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.85;
}

.principle-list {
  display: grid;
  gap: 0;
  margin: 27px 0 26px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.principle-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.principle-list li span {
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}

.closing-cta {
  position: relative;
  margin-bottom: clamp(70px, 10vw, 140px);
  padding: clamp(35px, 8vw, 88px) clamp(24px, 7vw, 82px);
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.closing-cta::after {
  position: absolute;
  top: -100px;
  right: -75px;
  width: 270px;
  height: 270px;
  border: 1px solid rgba(155, 220, 237, 0.22);
  border-radius: 50%;
  content: "";
  box-shadow: 0 0 0 30px rgba(155, 220, 237, 0.035), 0 0 0 60px rgba(155, 220, 237, 0.025);
}

.closing-cta .eyebrow { color: var(--accent); }

.closing-cta h2 {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 0 auto 25px;
  font-size: clamp(31px, 6vw, 56px);
}

.closing-cta .button {
  position: relative;
  z-index: 1;
  background: var(--accent);
  color: var(--navy);
}

.closing-cta .button:hover { background: var(--white); }

.site-footer {
  padding: 55px 0 0;
  background: #09141d;
  color: rgba(255, 255, 255, 0.72);
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 38px;
  padding-bottom: 45px;
}

.footer-brand { max-width: 380px; }

.footer-logo {
  display: flex;
  width: fit-content;
  margin-bottom: 5px;
}

.footer-domain {
  display: block;
  margin-bottom: 10px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.footer-brand p {
  margin-bottom: 17px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.75;
}

/* Keep only supplied, usable contact information visible; do not present unknown
   legal identity or address details as factual footer content. */
.footer-brand .legal-placeholder { display: none; }

.footer-brand > a[href^="mailto:"] {
  display: grid;
  justify-items: start;
  gap: 4px;
  width: fit-content;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.footer-brand > a[href^="mailto:"]::before {
  content: "Editorial contact";
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-brand > a[href^="mailto:"]:hover { color: var(--white); }

.footer-main > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.footer-heading {
  margin: 0 0 7px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
}

.footer-main a:not(.footer-logo):not(.footer-domain),
.footer-preferences {
  padding: 0;
  border: 0;
  background: none;
  color: rgba(255, 255, 255, 0.72);
  font-size: 11px;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}

.footer-main a:hover,
.footer-preferences:hover { color: var(--accent); }

.footer-bottom {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding-top: 13px;
  padding-bottom: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  color: rgba(255, 255, 255, 0.62);
  font-size: 10px;
}

.cookie-banner,
.preferences-panel {
  position: fixed;
  z-index: 50;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 12px 55px rgba(3, 12, 18, 0.28);
}

.cookie-banner[hidden],
.preferences-panel[hidden] { display: none !important; }

.cookie-banner {
  inset: auto 14px 14px;
  display: grid;
  gap: 14px;
  padding: 21px;
  border: 1px solid var(--line);
}

.cookie-banner .eyebrow { margin-bottom: 7px; }

.cookie-banner p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.65;
}

.cookie-banner p a {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.cookie-actions .button {
  min-height: 42px;
  padding: 10px 13px;
  font-size: 10px;
}

.preferences-panel {
  inset: auto 14px 14px;
  max-height: min(86vh, 720px);
  overflow-y: auto;
  padding: clamp(22px, 5vw, 34px);
  border: 1px solid var(--line);
}

.preferences-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.preferences-head .eyebrow { margin-bottom: 6px; }

.preferences-head h2 {
  margin: 0;
  font-size: clamp(23px, 5vw, 31px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.2;
}

.icon-button {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.preferences-intro {
  margin: 17px 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.preference-row strong { display: block; font-size: 12px; font-weight: 700; }

.preference-row p,
.preference-row small {
  display: block;
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.55;
}

.required-pill {
  flex: 0 0 auto;
  padding: 5px 9px;
  border-radius: 99px;
  background: #e7f3f4;
  color: #356e78;
  font-size: 9px;
  font-weight: 700;
}

.preference-row input { width: 19px; height: 19px; accent-color: var(--accent-deep); }
.form-status { min-height: 1px; margin: 0; color: var(--accent-deep); font-size: 11px; }

.preferences-panel > .cookie-actions {
  justify-content: flex-end;
  margin-top: 10px;
}

/* Contact enquiry form */
.contact-form {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(24px, 5vw, 54px);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form-note {
  max-width: 720px;
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.75;
}

.contact-form-note a {
  color: var(--accent-deep);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-field-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 21px 20px;
}

.contact-field {
  display: grid;
  align-content: start;
  gap: 8px;
}

.contact-field label {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.contact-field label > span:not(.optional-label) { color: var(--accent-deep); }

.contact-field .optional-label {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 400;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(23, 35, 43, 0.22);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
}

.contact-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-field input:focus-visible,
.contact-field select:focus-visible,
.contact-field textarea:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 2px;
}

.contact-form-submit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 22px;
  margin-top: 28px;
}

.contact-form-submit p {
  max-width: 430px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.65;
}

@media (min-width: 620px) {
  .hero-wrap { padding-top: 34px; }
  .hero-copy { margin-left: 5%; }
  .image-kicker { left: 28px; bottom: 25px; }

  .section-heading {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.62fr);
    align-items: end;
    margin-bottom: 42px;
  }

  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 34px 20px;
  }

  .card-image { height: clamp(270px, 42vw, 390px); }
  .contact-field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-field-full { grid-column: 1 / -1; }

  .footer-main {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner {
    inset: auto 24px 24px;
    grid-template-columns: 1fr auto;
    align-items: end;
    padding: 23px 25px;
  }

  .cookie-actions { justify-content: flex-end; }

  .preferences-panel {
    inset: auto 24px 24px auto;
    width: min(480px, calc(100vw - 48px));
  }
}

@media (min-width: 900px) {
  .header-inner { min-height: 88px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 38px; height: 38px; }
  .menu-toggle { display: none; }

  .primary-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.1vw, 31px);
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .primary-nav a {
    padding: 8px 0;
    font-size: 11px;
    white-space: nowrap;
  }

  .primary-nav .nav-contact { margin: 0 0 0 2px; padding: 9px 16px; }

  .hero-wrap {
    min-height: 690px;
    grid-template-columns: minmax(0, 1.08fr) minmax(380px, 0.82fr);
    align-items: center;
    padding-top: 48px;
    padding-bottom: 90px;
  }

  .hero-image {
    grid-column: 1 / -1;
    grid-row: 1;
    height: min(56vw, 660px);
    min-height: 520px;
  }

  .hero-image img { object-position: center 55%; }

  .hero-copy {
    grid-column: 2;
    grid-row: 1;
    width: 100%;
    max-width: 570px;
    margin: 0 0 0 -70px;
    padding: clamp(38px, 5vw, 70px);
  }

  .hero-line {
    position: absolute;
    right: -35px;
    bottom: 52px;
    display: block;
    width: 125px;
    height: 125px;
    fill: none;
    stroke: var(--accent-deep);
    stroke-width: 1;
    opacity: 0.48;
  }

  .image-kicker { left: 35px; bottom: 32px; }

  .guide-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 42px 24px;
  }

  .guide-card:nth-child(4) { grid-column: 1 / 2; }
  .card-image { height: clamp(300px, 31vw, 420px); }
  .card-overlay { inset-inline: 24px; bottom: 24px; }

  .editorial-split {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
    align-items: center;
    padding-top: 0;
  }

  .split-image {
    grid-column: 1 / -1;
    grid-row: 1;
    height: min(54vw, 660px);
    min-height: 540px;
  }

  .split-copy {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 0 -60px;
    padding: clamp(36px, 5vw, 68px);
  }

  .closing-cta { margin-bottom: 110px; }
  .site-footer { padding-top: 70px; }

  .footer-main {
    grid-template-columns: 1.45fr 0.7fr 0.7fr;
    gap: 70px;
    padding-bottom: 58px;
  }

  .footer-main a:not(.footer-logo):not(.footer-domain),
  .footer-preferences { font-size: 12px; }

  .footer-brand > a[href^="mailto:"] { font-size: 13px; }
}

@media (min-width: 1200px) {
  .hero-wrap { grid-template-columns: 1.1fr 0.9fr; }
  .hero-copy { max-width: 620px; margin-left: -105px; }
  .guide-grid { gap: 48px 28px; }
  .card-image { height: 385px; }
  .editorial-split { grid-template-columns: 1.12fr 0.88fr; }
  .split-copy { margin-left: -110px; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}