/* ==========================================================================
   The January Studio — site styles
   Colours are taken from the January Studio logo.
   ========================================================================== */

:root {
  --ink: #171E20;          /* logo outline */
  --paper: #F6F4F0;
  --white: #FFFFFF;
  --body: #2B3134;
  --muted: #4B5357;
  --rule: #D5D3CC;
  --peach: #E2B396;        /* logo, left half */
  --peach-light: #F3DDCF;
  --sky: #B4D3D9;          /* logo, right half */
  --deep: #46768A;         /* logo, deep blue */
  --on-dark: #F6F4F0;
  --on-dark-body: #C8CED0;
  --on-dark-muted: #A5AEB2;

  --display: 'League Spartan', 'Futura', 'Century Gothic', 'Avenir Next', Arial, sans-serif;
  --sans: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, Menlo, Consolas, monospace;

  --gutter: 24px;
  --maxw: 1280px;
}

@media (max-width: 600px) {
  :root { --gutter: 20px; }
}

/* Base ------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
}

@supports (overflow: clip) {
  body { overflow-x: clip; }
}

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

a { color: inherit; }

:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.section--dark :focus-visible { outline-color: var(--peach); }

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

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 12px 16px;
  font-weight: 600;
}
.skip-link:focus { top: 12px; }

.container {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.kicker a { text-decoration: none; }
.kicker a:hover { text-decoration: underline; text-underline-offset: 4px; }

.display {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  text-wrap: balance;
}
.display--xl { font-size: clamp(42px, 6.6vw, 100px); }
.display--lg { font-size: clamp(40px, 5.8vw, 86px); }
.display--md { font-size: clamp(34px, 4.4vw, 62px); }

.hl {
  background: var(--peach);
  padding: 0 0.1em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.accent-text { color: var(--peach); }

.lead {
  margin: 0;
  font-size: 21px;
  line-height: 1.5;
  color: var(--body);
  text-wrap: pretty;
}

.note {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

@media (max-width: 600px) {
  .lead { font-size: 19px; }
}

/* Buttons and links ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 0 28px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { color: var(--paper); }
.btn[disabled] { opacity: 0.65; cursor: progress; }

.btn--shadow { box-shadow: 6px 6px 0 var(--peach); }
.btn--shadow:hover { transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--peach); }
.section--peach .btn--shadow { box-shadow: 6px 6px 0 var(--white); }
.section--peach .btn--shadow:hover { box-shadow: 8px 8px 0 var(--white); }

.btn--small { min-height: 44px; padding: 0 20px; font-size: 15px; font-weight: 600; }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
}

.link-u {
  display: inline-block;
  padding: 12px 0;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.link-arrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border-bottom: 2px solid var(--ink);
  font-weight: 700;
  text-decoration: none;
}
.link-arrow span { transition: transform 0.15s ease; }
.link-arrow:hover span { transform: translateX(4px); }

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

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}
.site-header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-block: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  text-decoration: none;
}
.brand img { width: 48px; height: 48px; }
.brand span {
  font-family: var(--display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav a:not(.btn) { padding: 12px 0; text-decoration: none; }
.nav a:not(.btn):hover,
.nav a[aria-current="page"]:not(.btn) {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle__bars {
  width: 18px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  box-shadow: none;
  background: currentColor;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transform: rotate(90deg);
}

@media (max-width: 899px) {
  .js .nav-toggle { display: inline-flex; }
  .js .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 4px 0 8px;
  }
  .js .nav.is-open { display: flex; }
  .js .nav a:not(.btn) {
    padding: 14px 0;
    border-top: 1px solid var(--rule);
    font-size: 17px;
  }
  .js .nav .btn { margin-top: 12px; min-height: 52px; }
}

@media (max-width: 600px) {
  .site-header .container { column-gap: 16px; }
  .brand span { max-width: 9em; font-size: 15px; letter-spacing: 0.06em; }
}
@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand img { width: 42px; height: 42px; }
  .nav-toggle { padding: 0 12px; gap: 8px; }
}

/* Sections --------------------------------------------------------------- */

.section { border-bottom: 1px solid var(--ink); }
.section > .container {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-block: 112px;
}
@media (max-width: 600px) {
  .section > .container { gap: 40px; padding-block: 72px; }
}

.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark .kicker { color: var(--on-dark-muted); }
.section--sky { background: var(--sky); }
.section--peach { background: var(--peach); }
.section--white { background: var(--white); }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
}
.section-head__title {
  flex: 1 1 560px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.section-head__aside {
  flex: 1 1 340px;
  max-width: 440px;
  margin: 0;
  font-size: 18px;
  color: var(--body);
  text-wrap: pretty;
}
.section--dark .section-head__aside { color: var(--on-dark-body); }

/* Hero ------------------------------------------------------------------- */

.hero { border-bottom: 1px solid var(--ink); }
.hero > .container {
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding-block: 72px 104px;
}
.hero__kicker { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 64px;
}
.hero__copy {
  flex: 1 1 460px;
  min-width: 0;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 8px;
}
@media (max-width: 600px) {
  .hero > .container { gap: 36px; padding-block: 48px 72px; }
  .hero__row { gap: 48px; }
}

/* Sample answer card */
.sample {
  flex: 0 1 470px;
  min-width: 0;
  margin: 0;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
  transform: rotate(-1.5deg);
}
.sample figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 14px 22px;
  border-bottom: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.sample__body { display: flex; flex-direction: column; gap: 18px; padding: 24px 24px 28px; }
.sample__q { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.35; }
.sample__a { margin: 0; font-size: 15px; line-height: 1.65; color: var(--body); }
.sample mark { background: var(--peach); color: var(--ink); padding: 0 3px; }

.checks {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px dashed #8A8F96;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.02em;
}
.checks li { display: flex; align-items: center; gap: 12px; }

.tick {
  flex: none;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  border: 1.5px solid var(--ink);
}
.tick svg { width: 14px; height: 14px; }

@media (max-width: 600px) {
  .sample { transform: rotate(-1deg); box-shadow: 6px 6px 0 var(--ink); }
  .sample figcaption { padding: 12px 18px; }
  .sample__body { padding: 20px 18px 22px; }
}

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

.page-hero { border-bottom: 1px solid var(--ink); }
.page-hero > .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: 72px 96px;
}
.page-hero .lead { max-width: 760px; }
@media (max-width: 600px) {
  .page-hero > .container { gap: 24px; padding-block: 48px 64px; }
}

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 24px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 32px;
  background: var(--white);
  border: 2px solid var(--ink);
}
.card__num { margin: 0; font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; }
.card h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.card p { margin: 0; color: var(--body); text-wrap: pretty; }
.card .link-arrow { margin-top: auto; }
@media (max-width: 600px) {
  .card { padding: 24px; }
}

.ticklist { list-style: none; margin: 4px 0 0; padding: 0; font-size: 16px; }
.ticklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-top: 1px solid var(--rule);
}
.ticklist li:last-child { border-bottom: 1px solid var(--rule); }
.ticklist li::before {
  content: "";
  flex: none;
  width: 9px;
  height: 9px;
  background: var(--peach);
  border: 1.5px solid var(--ink);
}

/* Features (service pages) */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 40px 32px;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.feature h3 {
  margin: 0;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 800;
  line-height: 1.2;
}
.feature h3::before {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  margin-top: 0.3em;
  background: var(--peach);
  border: 1.5px solid var(--ink);
}
.feature p { margin: 0; color: var(--body); text-wrap: pretty; }

/* Points (dark section) -------------------------------------------------- */

.points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 48px;
}
.point {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--on-dark);
}
.point__num { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: 0.06em; color: var(--on-dark-muted); }
.point h3 { margin: 0; font-family: var(--display); font-size: 25px; font-weight: 700; line-height: 1.2; }
.point p { margin: 0; color: var(--on-dark-body); text-wrap: pretty; }

/* Steps ------------------------------------------------------------------ */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
  gap: 32px 24px;
}
.step {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  border-top: 2px solid var(--ink);
}
.step__num {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 2px solid var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 600;
}
.step:first-child .step__num { background: var(--peach); }
.step h3 { margin: 0; font-family: var(--display); font-size: 23px; font-weight: 800; line-height: 1.2; }
.step p { margin: 0; font-size: 16px; color: var(--muted); text-wrap: pretty; }

/* Split layout + checklist ----------------------------------------------- */

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 80px;
  align-items: flex-start;
}
.split > :first-child { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.split > :last-child { flex: 1.3 1 480px; min-width: 0; }
.split p { margin: 0; color: var(--body); text-wrap: pretty; }

.checklist { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ink);
  font-size: 18px;
  font-weight: 500;
}
.checklist .tick { margin-top: 2px; }

/* Other services --------------------------------------------------------- */

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
  gap: 24px;
}
.mini-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 32px;
  background: var(--white);
  border: 2px solid var(--ink);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.mini-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.mini-card__text { display: flex; flex-direction: column; gap: 8px; }
.mini-card__title { font-family: var(--display); font-size: 26px; font-weight: 800; line-height: 1.1; }
.mini-card__desc { color: var(--body); font-size: 16px; }
.mini-card__arrow { flex: none; font-size: 28px; font-weight: 700; }
@media (max-width: 600px) {
  .mini-card { padding: 22px 24px; }
}

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

.cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px 64px;
}
.cta__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.cta__text p { margin: 0; font-size: 20px; max-width: 560px; }

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

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 56px 80px;
}
.contact-intro {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-intro .lead { max-width: 480px; color: var(--ink); }

.details { margin: 0; max-width: 480px; border-top: 2px solid var(--ink); }
.details > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ink);
}
.details dt {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.details dd { margin: 0; font-size: 18px; font-weight: 700; text-align: right; }
.details dd a { display: inline-block; padding: 8px 0; overflow-wrap: anywhere; }
.details address { font-style: normal; line-height: 1.45; }
.details .small-link { display: inline-block; margin-top: 4px; font-size: 15px; font-weight: 600; }

/* Form */
.form-card {
  flex: 1 1 520px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 36px;
  background: var(--white);
  border: 2px solid var(--ink);
  box-shadow: 10px 10px 0 var(--ink);
}
.form-card__title { margin: 0; font-family: var(--display); font-size: 28px; font-weight: 800; line-height: 1.15; }
@media (max-width: 600px) {
  .form-card { padding: 24px 20px; box-shadow: 6px 6px 0 var(--ink); }
}

.fields {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--short { max-width: 280px; }
.field label, .chips-field legend { font-size: 15px; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }

.input {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
}
.input:not([type="date"]) { -webkit-appearance: none; appearance: none; }
textarea.input { min-height: 150px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.input:focus { outline: 3px solid var(--deep); outline-offset: 0; }

.chips-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.chips-field legend { padding: 0; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { position: relative; display: inline-flex; }
.chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.chip span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 16px;
  background: var(--white);
  border: 2px solid var(--ink);
  font-size: 15px;
  font-weight: 600;
  pointer-events: none;
}
.chip span::before {
  content: "";
  width: 14px;
  height: 14px;
  border: 2px solid var(--ink);
  background: transparent;
}
.chip input:checked + span { background: var(--peach); }
.chip input:checked + span::before { background: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--ink); outline-offset: 3px; }

.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-card .btn { align-self: flex-start; }

.form-status { margin: 0; padding: 14px 16px; border: 2px solid var(--ink); font-weight: 600; }
.form-status:empty { display: none; }
.form-status--ok { background: var(--sky); }
.form-status--error { background: var(--peach-light); }

.fineprint { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); }

/* Prose (privacy) -------------------------------------------------------- */

.prose { max-width: 760px; }
.prose h2 {
  margin: 48px 0 12px;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 800;
  line-height: 1.2;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--body); }
.prose p { margin: 0 0 16px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.prose a { text-underline-offset: 3px; }

/* Simple centred message pages ------------------------------------------ */

.message-page > .container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-block: 120px 140px;
}
.message-page .lead { max-width: 620px; }
@media (max-width: 600px) {
  .message-page > .container { padding-block: 72px 96px; }
}

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

.site-footer { background: var(--white); }
.site-footer > .container {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-block: 72px 40px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px 64px;
}
.footer-brand { flex: 1 1 320px; display: flex; flex-direction: column; gap: 20px; }
.footer-brand img { width: 220px; }
.footer-brand p { margin: 0; max-width: 360px; color: var(--body); }

.footer-nav { display: flex; flex-wrap: wrap; gap: 32px 64px; }
.footer-col { display: flex; flex-direction: column; gap: 2px; }
.footer-col h2 {
  margin: 0 0 8px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.footer-col a { padding: 6px 0; text-decoration: none; }
.footer-col a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-col address { font-style: normal; line-height: 1.6; margin-bottom: 6px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 24px;
  border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
  color: var(--muted);
}
