/* ==========================================================================
   PONTI LINGUA — styles.css
   --------------------------------------------------------------------------
   One stylesheet shared by every page in every language.
   Mobile-first. No frameworks, no resets beyond what is written here.

   Contents
   0. Fonts (self-hosted — see /fonts/README.md for the download step)
   1. Design tokens
   2. Base & typography
   3. Layout primitives
   4. Header, navigation, language switcher
   5. Hero
   6. Shared sections (studio intro, services list, steps, CTA band)
   7. Case studies (Work)
   8. Contact & form
   9. Footer
   10. Utilities, accessibility, reduced motion
   ========================================================================== */


/* --------------------------------------------------------------------------
   0. FONTS — self-hosted.
   The .woff2 files are NOT bundled (see /fonts/README.md for a 2-minute
   download step). Until they are in place, the site falls back gracefully
   to Georgia / system sans. `font-display: swap` keeps text visible.
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-400italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorant-garamond-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant SC'; /* small-caps face, used only for the wordmark */
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/cormorant-sc-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/raleway-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/fonts/raleway-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/raleway-600.woff2') format('woff2');
}


/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   Gold is an accent. It appears at rest only in hairlines and small labels;
   otherwise it arrives on hover/focus, via a slow, considered transition.
   `--gold-deep` is a darker cut of the same gold, used wherever gold must
   sit legibly on cream (text, focus rings). Bright gold lives on navy.
   -------------------------------------------------------------------------- */

:root {
  --navy:       #1a1f35;
  --cream:      #f5f0eb;
  --gold:       #c4a265;
  --gold-deep:  #8a6f3d;                 /* darker gold for use on cream */
  --ink:        #1a1f35;                 /* body text */
  --ink-soft:   #4c5163;                 /* secondary text on cream */
  --cream-soft: rgba(245, 240, 235, .68);/* secondary text on navy */

  --rule:        rgba(26, 31, 53, .18);  /* hairlines on cream */
  --rule-faint:  rgba(26, 31, 53, .10);
  --rule-navy:   rgba(245, 240, 235, .22); /* hairlines on navy */

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sc:    'Cormorant SC', 'Cormorant Garamond', Georgia, serif;
  --sans:  'Raleway', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;

  --pace:      .28s ease;   /* the house transition */
  --pace-slow: .45s ease;

  --measure: 40rem;         /* comfortable reading width */
  --gutter:  clamp(1.25rem, 5vw, 3rem);
  --header-h: 4.75rem;
}


/* --------------------------------------------------------------------------
   2. BASE & TYPOGRAPHY
   -------------------------------------------------------------------------- */

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;              /* 17px */
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.08;                 /* tight leading on display type */
  letter-spacing: -0.005em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

h1 { font-size: clamp(2.6rem, 6.5vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.2; }

p  { margin: 0 0 1.25rem; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; }

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

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

/* Links — hairline underline that warms to gold */
a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
  text-underline-offset: .3em;
  transition: color var(--pace), text-decoration-color var(--pace);
}
a:hover { color: var(--gold-deep); text-decoration-color: var(--gold-deep); }

/* One consistent, visible focus treatment everywhere */
:focus-visible {
  outline: 2px solid var(--gold-deep);
  outline-offset: 3px;
  border-radius: 1px;
}
.on-navy :focus-visible,
.site-footer :focus-visible,
.cta-band :focus-visible { outline-color: var(--gold); }

/* Small-caps utility label (eyebrows, meta lines) */
.eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1.4rem;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.eyebrow::before {              /* short gold hairline before the label */
  content: '';
  width: 2.25rem;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.lede {
  font-size: clamp(1.125rem, 2vw, 1.3rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: var(--measure);
}


/* --------------------------------------------------------------------------
   3. LAYOUT PRIMITIVES
   -------------------------------------------------------------------------- */

.container {
  width: min(100% - (var(--gutter) * 2), 71rem);
  margin-inline: auto;
}

.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section + .section { padding-top: 0; }   /* rules, not stacked padding, divide sections */

.section-rule {                            /* full-width hairline between sections */
  border: 0;
  border-top: 1px solid var(--rule);
  margin: 0;
}

/* Two-column editorial split: narrow label column, wide content column */
.split {
  display: grid;
  gap: 1.5rem 4rem;
}
@media (min-width: 56em) {
  .split { grid-template-columns: 16rem minmax(0, 1fr); }
}

/* Quiet arrow links ("Our services →") */
.arrow-link {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--rule);
  transition: color var(--pace), border-color var(--pace);
}
.arrow-link::after {
  content: '\2192';                        /* → */
  margin-left: .6em;
  display: inline-block;
  transition: transform var(--pace);
}
.arrow-link:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.arrow-link:hover::after { transform: translateX(.3em); }

/* Buttons — hairline border, filled with gold only on interaction */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
  padding: 1rem 2.2rem;
  cursor: pointer;
  transition: color var(--pace-slow), background-color var(--pace-slow),
              border-color var(--pace-slow);
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.btn--on-navy { color: var(--cream); border-color: var(--cream-soft); }
.btn--on-navy:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }

.btn[disabled] { opacity: .55; cursor: default; }
.btn[disabled]:hover { background: transparent; border-color: var(--ink); color: var(--ink); }


/* --------------------------------------------------------------------------
   4. HEADER, NAVIGATION, LANGUAGE SWITCHER
   -------------------------------------------------------------------------- */

.site-header {
  border-bottom: 1px solid var(--rule);
  background: var(--cream);
  position: relative;
  z-index: 10;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 2rem;
}

/* Brand: placeholder mark + Cormorant SC wordmark */
.brand {
  display: inline-flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
  color: var(--navy);
  margin-right: auto;
}
.brand-mark { width: 34px; height: auto; color: var(--navy); transition: color var(--pace); }
.brand:hover .brand-mark { color: var(--gold-deep); }
.brand:hover { color: var(--navy); }       /* the mark warms; the name holds */
.brand-name {
  font-family: var(--sc);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: .06em;
  line-height: 1;
  white-space: nowrap;
}

/* Primary navigation */
.site-nav ul {
  list-style: none;
  display: flex;
  gap: clamp(1.4rem, 3vw, 2.4rem);
}
.site-nav a {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: .35rem 0;
  border-bottom: 1px solid transparent;    /* room for the active/hover hairline */
  transition: color var(--pace), border-color var(--pace);
}
.site-nav a:hover { color: var(--gold-deep); border-bottom-color: var(--gold-deep); }
.site-nav a[aria-current="page"] {
  font-weight: 600;
  border-bottom-color: var(--gold);        /* active page carries a gold hairline */
}

/* Language switcher — a <details> element, so it works without JavaScript.
   script.js only adds close-on-outside-click and Escape. */
.lang-switch { position: relative; }
.lang-switch summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink);
  padding: .35rem 0;
  border-bottom: 1px solid var(--rule);
  transition: color var(--pace), border-color var(--pace);
  user-select: none;
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::after {                /* small chevron, pure CSS */
  content: '';
  width: .45em; height: .45em;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-25%) rotate(45deg);
  transition: transform var(--pace);
}
.lang-switch summary:hover { color: var(--gold-deep); border-color: var(--gold-deep); }
.lang-switch[open] summary::after { transform: translateY(0) rotate(225deg); }

.lang-menu {
  list-style: none;
  position: absolute;
  right: 0;
  top: calc(100% + .75rem);
  min-width: 11.5rem;
  background: var(--cream);
  border: 1px solid var(--rule);
  box-shadow: 0 14px 30px -18px rgba(26, 31, 53, .35);
  padding: .5rem 0;
  z-index: 20;
}
.lang-menu a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.5rem;
  padding: .55rem 1.15rem;
  font-size: .9rem;
  text-decoration: none;
  color: var(--ink);
  transition: color var(--pace), background-color var(--pace);
}
.lang-menu a small {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lang-menu a:hover { color: var(--gold-deep); background: rgba(26, 31, 53, .04); }
.lang-menu a[aria-current="true"] { color: var(--gold-deep); }
.lang-menu a[aria-current="true"]::before { content: '\2013\00a0'; } /* –  */

/* Mobile navigation toggle */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: .5rem;
  margin-right: -.5rem;
  cursor: pointer;
  color: var(--ink);
}
.nav-toggle-box { display: block; width: 1.4rem; }
.nav-toggle-box span {
  display: block;
  height: 1px;
  background: currentColor;
  margin: 5px 0;
  transition: transform var(--pace), opacity var(--pace);
}

@media (max-width: 47.99em) {
  .nav-toggle { display: block; }

  /* The nav collapses behind the burger only when JavaScript is present
     (script.js sets .has-js on <html>); without it, links stay in flow. */
  .has-js .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--rule);
    padding: .75rem var(--gutter) 1.5rem;
    display: none;
  }
  .has-js .site-nav ul { flex-direction: column; gap: 0; }
  .has-js .site-nav a {
    display: block;
    padding: .85rem 0;
    border-bottom: 1px solid var(--rule-faint);
    font-size: .85rem;
  }
  .has-js .site-nav a[aria-current="page"] { border-bottom-color: var(--gold); }

  .site-header.is-open .site-nav { display: block; }
  .site-header.is-open .nav-toggle-box span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .site-header.is-open .nav-toggle-box span:nth-child(2) { opacity: 0; }
  .site-header.is-open .nav-toggle-box span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
}


/* --------------------------------------------------------------------------
   5. HERO
   Asymmetric: display type left; a slim, hairline-ruled column of the six
   working languages on the right — the site's quiet signature.
   -------------------------------------------------------------------------- */

.hero { padding-block: clamp(4.5rem, 10vw, 8.5rem); }

.hero-grid {
  display: grid;
  gap: 3.5rem;
}
@media (min-width: 56em) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 13rem;
    gap: 6rem;
    align-items: start;
  }
}

.hero h1 { max-width: 15em; margin-bottom: 1.75rem; }

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2.75rem;
  margin-top: 2.75rem;
}

.hero-aside {
  border-left: 1px solid var(--rule);
  padding-left: 1.75rem;
  align-self: stretch;
}
.hero-aside-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1.4rem;
}
.hero-aside ul { list-style: none; }
.hero-aside li {
  font-family: var(--serif);
  font-size: 1.25rem;
  line-height: 1.4;
  padding: .35rem 0;
  color: var(--ink);
}
.hero-aside li + li { border-top: 1px solid var(--rule-faint); }

@media (max-width: 55.99em) {
  .hero-aside { border-left: 0; border-top: 1px solid var(--rule); padding: 2rem 0 0; }
  .hero-aside ul { display: flex; flex-wrap: wrap; gap: .35rem 1.75rem; }
  .hero-aside li, .hero-aside li + li { border: 0; padding: 0; font-size: 1.1rem; }
}


/* --------------------------------------------------------------------------
   6. SHARED SECTIONS
   -------------------------------------------------------------------------- */

/* Services — an index of entries divided by hairlines (home teaser and
   services page share the structure; the page adds descriptions) */
.svc-list { list-style: none; border-top: 1px solid var(--rule); }
.svc-item { border-bottom: 1px solid var(--rule); }

.svc-item > a,
.svc-item .svc-inner {
  display: grid;
  gap: .35rem 3rem;
  padding: 1.6rem 0;
  text-decoration: none;
  color: var(--ink);
}
@media (min-width: 56em) {
  .svc-item > a,
  .svc-item .svc-inner { grid-template-columns: 3.5rem minmax(0, 22rem) 1fr; }
}

.svc-num {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--gold-deep);
  padding-top: .5em;
}
.svc-name {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  font-weight: 600;
  line-height: 1.15;
  transition: color var(--pace);
}
.svc-desc { color: var(--ink-soft); max-width: var(--measure); }

.svc-item > a .svc-name::after {           /* teaser rows carry a quiet arrow */
  content: '\2192';
  display: inline-block;
  margin-left: .5em;
  font-size: .75em;
  opacity: 0;
  transform: translateX(-.3em);
  transition: opacity var(--pace), transform var(--pace);
}
.svc-item > a:hover .svc-name { color: var(--gold-deep); }
.svc-item > a:hover .svc-name::after { opacity: 1; transform: translateX(0); }

.svc-item[id] { scroll-margin-top: 2rem; } /* anchored entries land clear of the edge */

/* Interior page opening: h1 + lede (and, on Work, the placeholder notice) */
.page-head h1 { margin-bottom: 1.25rem; }
.page-head .notice { margin-top: 2.5rem; }

/* Short note beneath a split label (services page, process column) */
.how-note {
  margin-top: 1rem;
  font-size: .95rem;
  color: var(--ink-soft);
  max-width: 14rem;
}

/* A link that follows a hairline list (home services teaser) */
.after-list { margin-top: 2rem; }

/* Process steps (services page) */
.steps { list-style: none; counter-reset: step; display: grid; gap: 2.5rem; }
@media (min-width: 48em) { .steps { grid-template-columns: repeat(4, 1fr); gap: 3rem 2.5rem; } }
.steps li { counter-increment: step; border-top: 1px solid var(--rule); padding-top: 1.1rem; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--gold-deep);
  margin-bottom: .85rem;
}
.steps h3 { font-size: 1.35rem; margin-bottom: .5rem; }
.steps p { font-size: .95rem; color: var(--ink-soft); }

/* CTA band — the one navy passage on each page */
.cta-band {
  background: var(--navy);
  color: var(--cream);
  padding-block: clamp(4rem, 9vw, 6.5rem);
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--cream-soft); }
.cta-band .cta-inner {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 56em) {
  .cta-band .cta-inner { grid-template-columns: minmax(0, 1fr) auto; gap: 4rem; }
}


/* --------------------------------------------------------------------------
   7. CASE STUDIES (Work)
   -------------------------------------------------------------------------- */

.notice {
  border: 1px solid var(--gold);
  padding: 1rem 1.25rem;
  font-size: .9rem;
  color: var(--ink-soft);
  max-width: var(--measure);
  margin-top: 2rem;
}

.case { border-top: 1px solid var(--rule); padding-block: clamp(2.75rem, 6vw, 4.25rem); }
.case:last-of-type { border-bottom: 1px solid var(--rule); }

.case-head { margin-bottom: 2.25rem; }
.case-tag {
  display: block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 1rem;
}
.case h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); margin-bottom: .6rem; }
.case-meta { font-size: .9rem; color: var(--ink-soft); letter-spacing: .02em; }

.case-body { display: grid; gap: 2rem; }
@media (min-width: 56em) { .case-body { grid-template-columns: repeat(3, 1fr); gap: 3rem; } }
.case-body h3 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: .85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule-faint);
}
.case-body p { font-size: .97rem; color: var(--ink); }


/* --------------------------------------------------------------------------
   8. CONTACT & FORM
   Underlined fields: hairline navy at rest, gold and slightly heavier
   in focus. Labels sit above; nothing floats or animates for its own sake.
   -------------------------------------------------------------------------- */

.contact-grid { display: grid; gap: 4rem; }
@media (min-width: 62em) {
  .contact-grid { grid-template-columns: 18rem minmax(0, 1fr); gap: 6rem; }
}

.contact-aside > div + div { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--rule); }
.contact-aside h2 { font-size: 1.3rem; margin-bottom: .6rem; }
.contact-aside p { font-size: .95rem; color: var(--ink-soft); }

.enquiry-form { max-width: 44rem; }

.form-grid { display: grid; gap: 2.25rem 2.5rem; }
@media (min-width: 48em) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .field--full { grid-column: 1 / -1; }
}

.field label,
.field legend {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: .6rem;
  padding: 0;
}
.field label .opt,
.field legend .opt { font-weight: 400; text-transform: none; letter-spacing: .02em; color: var(--ink-soft); }

.field input[type="text"],
.field input[type="email"],
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
  padding: .55rem 0;
  transition: border-color var(--pace), box-shadow var(--pace);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;                                /* replaced by the gold underline */
  border-bottom-color: var(--gold-deep);
  box-shadow: 0 1px 0 0 var(--gold-deep);       /* thickens the line to 2px */
}
.field textarea { resize: vertical; min-height: 9rem; line-height: 1.6; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 1.75rem;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%231a1f35' stroke-width='1'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .25rem center;
}

/* Target languages — checkbox group */
.field fieldset { border: 0; margin: 0; padding: 0; }
.checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: .5rem 1.5rem; }
.checks label {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  margin: 0;
  cursor: pointer;
}
.checks input[type="checkbox"] {
  width: 1rem; height: 1rem;
  margin: 0;
  accent-color: var(--gold-deep);
}

.form-foot {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2.5rem;
}
.required-note { font-size: .8rem; color: var(--ink-soft); }

/* Success / error message (also used by the no-JS fallback anchor) */
.form-status { margin-top: 2rem; }
.form-status p {
  border-left: 2px solid var(--gold);
  padding: .85rem 1.25rem;
  font-size: .95rem;
  background: rgba(26, 31, 53, .035);
}
.form-status p.is-error { border-left-color: #a03d3d; }
[hidden] { display: none !important; }

/* Honeypot — visually removed, still in the document for bots */
.hp {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}


/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--navy);
  color: var(--cream);
  padding-block: clamp(3.5rem, 7vw, 5.5rem) 2.5rem;
}

.footer-grid { display: grid; gap: 3rem; }
@media (min-width: 56em) {
  .footer-grid { grid-template-columns: minmax(0, 1fr) 12rem 12rem; gap: 4rem; }
}

.footer-brand .brand-name { font-family: var(--sc); font-size: 1.5rem; letter-spacing: .06em; }
.footer-brand p { color: var(--cream-soft); font-size: .95rem; margin-top: .85rem; }

.site-footer h2 {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin-bottom: 1.25rem;
}
.site-footer ul { list-style: none; }
.site-footer li { padding: .3rem 0; }
.site-footer a {
  text-decoration: none;
  color: var(--cream);
  font-size: .95rem;
  border-bottom: 1px solid transparent;
  transition: color var(--pace), border-color var(--pace);
}
.site-footer a:hover { color: var(--gold); border-bottom-color: var(--gold); }
.site-footer a[aria-current="page"],
.site-footer a[aria-current="true"] { color: var(--gold); }

.footer-legal {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-navy);
  font-size: .82rem;
  color: var(--cream-soft);
}


/* --------------------------------------------------------------------------
   10. UTILITIES & ACCESSIBILITY
   -------------------------------------------------------------------------- */

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

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100%;
  z-index: 100;
  background: var(--navy);
  color: var(--cream);
  padding: .75rem 1.25rem;
  font-size: .85rem;
  text-decoration: none;
}
.skip-link:focus { top: .75rem; }

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