/* SK Creative site styles.
   Colour, type and radius tokens follow the SK Creative brand guidelines
   (tokens.json). The warm "sand" neutrals are the site design's own palette. */

:root {
  /* Brand tokens */
  --navy: #16294A;
  --navy-deep: #0F1B31;
  --teal: #0F766E;
  --teal-light: #6FD3C6;
  --amber: #A35A00;
  --on-dark: #FFFFFF;
  --surface: #FFFFFF;
  --surface-alt: #F5F7FA;
  --tint-teal: #EEF6F5;
  --ink: #1F2933;
  --ink-muted: #52606D;
  --line: #D9DEE5;

  /* Site palette */
  --ink-soft: #3E4C59;
  --on-dark-muted: #E3E8EF;
  --sand: #F7F2EB;
  --sand-line: #E7DFD3;
  --sand-strong: #DCCDB8;
  --sand-placeholder: #E9DFD0;
  --error: #B42318;

  --font-sans: Manrope, "Helvetica Neue", Arial, sans-serif;
  --radius-1: 2px;
  --radius-2: 4px;
  --container: 1240px;
}

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--teal); }
a:hover { color: var(--navy); }

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--teal);
  outline-offset: 3px;
}
.navy a:focus-visible,
.navy button:focus-visible { outline-color: var(--teal-light); }

/* Links and buttons */
.navlink { color: var(--navy); text-decoration: none; }
.navlink:hover { color: var(--teal); text-decoration: underline; text-underline-offset: 6px; }

.btn { color: var(--on-dark); text-decoration: none; }
.btn:hover { background: var(--navy-deep) !important; color: var(--on-dark); }

.btn-light { color: var(--navy); text-decoration: none; }
.btn-light:hover { background: var(--tint-teal) !important; color: var(--navy); }

.partlink { color: var(--navy); text-decoration: none; }
.partlink:hover { background: var(--sand); }
.partlink:hover .arrowbox { background: var(--teal); color: var(--on-dark); }

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 50;
  padding: 12px 18px;
  background: var(--navy);
  color: var(--on-dark);
  font-weight: 700;
  text-decoration: none;
}
.skip:focus { top: 12px; color: var(--on-dark); }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* Logo: navy block with a teal corner square */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo__mark { position: relative; display: block; width: 36px; height: 36px; background: var(--navy); }
.logo__mark::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 37.5%;
  height: 37.5%;
  background: var(--teal);
}
.logo__word { font-weight: 700; font-size: 21px; letter-spacing: 0.05em; color: var(--navy); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--surface);
  border-bottom: 1px solid var(--sand-line);
}
.site-header__bar {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  font-size: 17px;
  font-weight: 600;
}
.nav__item { position: relative; }

.is-current,
.nav__toggle.is-current {
  text-decoration: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 2px;
  text-underline-offset: 8px;
}

.nav__toggle {
  font: inherit;
  font-weight: 600;
  color: var(--navy);
  background: none;
  border: 0;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nav__toggle svg { transition: transform 0.15s ease; }
.nav__toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: -20px;
  margin: 8px 0 0;
  padding: 8px 0;
  list-style: none;
  width: 260px;
  background: var(--surface);
  border: 1px solid var(--sand-line);
  border-radius: var(--radius-2);
  box-shadow: 0 12px 32px rgba(60, 40, 20, 0.10);
  font-size: 17px;
  font-weight: 500;
}
.dropdown[hidden] { display: none; }
.dropdown a { display: block; padding: 10px 20px; color: var(--ink); text-decoration: none; }
.dropdown a:hover { background: var(--sand); color: var(--teal); }
.dropdown a[aria-current="page"] { color: var(--teal); font-weight: 700; }

.menu-btn {
  display: none;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  background: var(--sand);
  border: 0;
  border-radius: var(--radius-1);
  min-height: 44px;
  padding: 0 14px;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.menu-btn .icon-close { display: none; }
.menu-btn[aria-expanded="true"] .icon-close { display: block; }
.menu-btn[aria-expanded="true"] .icon-open { display: none; }

.mobile-nav {
  border-top: 1px solid var(--sand-line);
  padding: 8px 24px 24px;
  background: var(--surface);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav > ul { list-style: none; margin: 0; padding: 0; font-size: 20px; font-weight: 600; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--sand-line); }
.mobile-nav > ul > li:last-child { border-bottom: 0; }
.mobile-nav > ul > li > a { display: block; padding: 14px 0; }
.mobile-nav__group { padding: 14px 0; }
.mobile-nav__label { display: block; color: var(--navy); }
.mobile-nav__sub {
  list-style: none;
  margin: 8px 0 0;
  padding: 0 0 0 16px;
  border-left: 2px solid var(--teal);
  font-size: 18px;
  font-weight: 500;
}
.mobile-nav__sub a { display: block; padding: 8px 0; }
.mobile-nav a[aria-current="page"] { color: var(--teal); }

/* Footer */
.site-footer { background: var(--sand); }
.site-footer__inner { padding-top: 64px; padding-bottom: 40px; }
.site-footer__top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; }
.site-footer__brand { display: flex; flex-direction: column; gap: 14px; }
.site-footer__brand p { margin: 0; }
.site-footer__tagline { color: var(--ink-muted); }
.site-footer__email { font-weight: 600; text-underline-offset: 4px; }
.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  font-weight: 600;
}
.site-footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--sand-strong);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 16px;
  color: var(--ink-muted);
}
.site-footer__bottom a { color: var(--ink-muted); text-underline-offset: 4px; }

/* FAQ accordion */
.faqbtn { color: var(--navy); }
.faqbtn:hover { color: var(--teal); }
.faq-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--surface);
  color: var(--navy);
  border: 2px solid var(--navy);
}
.faq-icon .icon-minus { display: none; }
.faqbtn[aria-expanded="true"] .faq-icon { background: var(--navy); color: var(--on-dark); }
.faqbtn[aria-expanded="true"] .icon-minus { display: block; }
.faqbtn[aria-expanded="true"] .icon-plus { display: none; }

/* Page content: one layout for wide screens, one for phones */
.layout-mobile { display: none; }

@media (max-width: 767px) {
  .layout-desktop { display: none; }
  .layout-mobile { display: block; }

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

  .container { padding: 0 24px; }

  .site-header__bar { min-height: 68px; flex-wrap: nowrap; }
  .site-header .nav { display: none; }
  .menu-btn { display: flex; }

  .logo { gap: 10px; }
  .logo__mark { width: 30px; height: 30px; }
  .logo__word { font-size: 18px; }

  .navlink:hover { text-decoration: none; }

  .site-footer__inner { padding-top: 48px; padding-bottom: 32px; }
  .site-footer__top { flex-direction: column; gap: 28px; }
  .site-footer__brand { gap: 0; }
  .site-footer__brand .site-footer__tagline { margin-top: 16px; }
  .site-footer__brand .site-footer__email-wrap { margin-top: 6px; }
  .site-footer__nav ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px 24px;
  }
  .site-footer__nav a { display: block; padding: 8px 0; }
  .site-footer__bottom { margin-top: 28px; padding-top: 20px; flex-direction: column; gap: 8px; }
}

@media (min-width: 768px) {
  .mobile-nav { display: none !important; }
}

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

/* Text pages (Accessibility statement) */
.page-hero { padding: 104px 0 72px; }
.eyebrow {
  margin: 0 0 28px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}
.page-hero h1 {
  margin: 0;
  max-width: 940px;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.page-hero__lede { margin: 32px 0 0; max-width: 740px; font-size: 23px; line-height: 1.55; }
.page-hero__meta { margin: 24px 0 0; font-size: 16px; color: var(--ink-muted); }

.doc { padding-bottom: 112px; }
.doc-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 96px;
  align-items: flex-start;
  padding: 56px 0;
  border-top: 1px solid var(--sand-line);
}
.doc-row h2 {
  flex: 4 1 300px;
  margin: 0;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.doc-body { flex: 8 1 560px; min-width: 0; max-width: 760px; }
.doc-body > :first-child { margin-top: 0; }
.doc-body p { margin: 20px 0 0; }
.doc-body strong { font-weight: 700; color: var(--navy); }
.doc-list { list-style: none; margin: 20px 0 0; padding: 0; }
.doc-list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.doc-list li + li { margin-top: 14px; }
.doc-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 8px;
  height: 8px;
  background: var(--teal);
}
.placeholder { color: var(--ink-muted); }

.callout { position: relative; background: var(--sand); padding: 48px; }
.callout::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 28px;
  height: 28px;
  background: var(--teal);
}
.callout h2 { margin: 0; font-size: 32px; line-height: 1.2; font-weight: 700; color: var(--navy); }
.callout p { margin: 16px 0 0; max-width: 700px; }
.callout .btn {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  background: var(--navy);
  border-radius: var(--radius-1);
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 767px) {
  .page-hero { padding: 56px 0 40px; }
  .eyebrow { margin-bottom: 16px; font-size: 13px; }
  .page-hero h1 { font-size: 40px; line-height: 1.08; }
  .page-hero__lede { margin-top: 22px; font-size: 20px; }
  .doc { padding-bottom: 64px; }
  .doc-row { padding: 40px 0; }
  .doc-row h2, .callout h2 { font-size: 28px; }
  .callout { padding: 32px 22px; }
  .callout .btn { display: flex; justify-content: center; padding: 0 16px; font-size: 17px; }
}

/* Contact form */
.form-section { padding-bottom: 104px; }
.form-section__inner { display: flex; flex-wrap: wrap; gap: 24px 96px; align-items: flex-start; }
.form-section__inner::before {
  content: "";
  flex: 0 0 100%;
  border-top: 1px solid var(--sand-line);
  margin-bottom: 48px;
}
.form-section__intro { flex: 4 1 300px; min-width: 0; }
.form-section__intro h2 {
  margin: 0;
  font-size: 40px;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}
.form-section__intro p { margin: 16px 0 0; color: var(--ink-soft); }

.contact-form { flex: 8 1 560px; min-width: 0; max-width: 760px; display: flex; flex-direction: column; gap: 28px; }
.form-hidden { display: none; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 28px 24px; }

.field { display: flex; flex-direction: column; min-width: 0; }
.field label { font-size: 17px; font-weight: 700; color: var(--navy); }
.field__optional { font-weight: 400; color: var(--ink-muted); }
.field__hint { margin: 4px 0 0; font-size: 16px; color: var(--ink-muted); }
.field__error { margin: 6px 0 0; font-size: 16px; font-weight: 700; color: var(--error); }
.field input,
.field textarea {
  margin-top: 10px;
  width: 100%;
  min-height: 56px;
  padding: 14px 16px;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--ink-muted);
  border-radius: var(--radius-1);
}
.field textarea { min-height: 176px; resize: vertical; line-height: 1.5; }
.field input:focus-visible,
.field textarea:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-color: var(--navy); }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border: 2px solid var(--error); }

.error-summary { padding: 24px 28px; border: 2px solid var(--error); border-radius: var(--radius-2); background: var(--surface); }
.error-summary:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.error-summary__title { margin: 0; font-size: 20px; line-height: 1.3; color: var(--navy); }
.error-summary__list { margin: 10px 0 0; padding-left: 20px; }
.error-summary__list a { color: var(--error); font-weight: 700; text-underline-offset: 4px; }

.form-submit {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 32px;
  background: var(--navy);
  border: 0;
  border-radius: var(--radius-1);
  font: inherit;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.page-hero__actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; }
.page-hero__actions .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 28px;
  background: var(--navy);
  border-radius: var(--radius-1);
  font-size: 18px;
  font-weight: 700;
}
.page-hero__actions .text-link { font-weight: 700; text-underline-offset: 5px; }

@media (max-width: 767px) {
  .form-section { padding-bottom: 64px; }
  .form-section__inner::before { margin-bottom: 24px; }
  .form-section__intro h2 { font-size: 32px; }
  .form-submit { align-self: stretch; justify-content: center; }
  .page-hero__actions .btn { width: 100%; justify-content: center; }
}

.thank-you { padding-bottom: 144px; }
@media (max-width: 767px) { .thank-you { padding-bottom: 80px; } }
