/* ==========================================================================
   Sign & Seal Transaction Notary Services
   styles.css — single stylesheet, no build step required.

   Design tokens live in :root. Change brand colors in one place.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Color */
  --navy-900: #0d1a2d;
  --navy-800: #132741;
  --navy-700: #1a3352;
  --navy-600: #22405f;
  --ivory:    #fbf7f0;
  --ivory-2:  #f4ede1;
  --paper:    #ffffff;
  --gold:     #a8813f;
  --gold-2:   #c9a25c;
  --champagne:#e7d9be;
  --slate:    #5d6675;
  --charcoal: #242a33;
  --line:     #e4dccd;
  --line-dark: rgba(231, 217, 190, 0.18);

  /* Type */
  --display: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Spacing / layout */
  --header-h: 108px;
  --wrap: 1180px;
  --wrap-narrow: 860px;
  --gutter: 24px;
  --radius: 3px;
  --section-y: clamp(64px, 8vw, 120px);

  /* Effects */
  --shadow-sm: 0 1px 2px rgba(13, 26, 45, 0.05), 0 8px 24px -12px rgba(13, 26, 45, 0.12);
  --shadow-md: 0 2px 4px rgba(13, 26, 45, 0.06), 0 24px 48px -24px rgba(13, 26, 45, 0.22);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy-900);
  font-weight: 400;
  letter-spacing: -0.012em;
  margin: 0 0 0.55em;
  line-height: 1.14;
  text-wrap: balance;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 3.9rem); }
h2 { font-size: clamp(1.9rem, 3.7vw, 2.85rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.24; }
h4 { font-size: 1.08rem; line-height: 1.3; }

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

a { color: var(--navy-700); text-decoration-color: var(--champagne); text-underline-offset: 3px; }
a:hover { color: var(--gold); }

ul, ol { margin: 0 0 1.15em; padding-left: 1.15em; }
li { margin-bottom: 0.4em; }

strong { font-weight: 600; color: var(--navy-900); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 999;
  background: var(--navy-900);
  color: var(--ivory);
  padding: 12px 20px;
  font-size: 0.9rem;
}
.skip-link:focus { left: 8px; top: 8px; color: var(--ivory); }

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container.narrow { max-width: var(--wrap-narrow); }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 5vw, 76px); }
.section--paper { background: var(--paper); }
.section--ivory2 { background: var(--ivory-2); }
.section--navy { background: var(--navy-900); color: rgba(251, 247, 240, 0.82); }
.section--navy h1,
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: var(--ivory); }

.section-head { max-width: 740px; margin-bottom: clamp(38px, 4vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--slate); font-size: 1.06rem; }
.section--navy .section-head p { color: rgba(251, 247, 240, 0.78); }

/* Eyebrow — set like a document field label */
.eyebrow {
  display: block;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1em;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 10px;
  transform: translateY(-1px);
}
.section--navy .eyebrow { color: var(--gold-2); }
.section--navy .eyebrow::before { background: var(--gold-2); }
.section-head.center .eyebrow::before { display: none; }

.lede { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--slate); }
.section--navy .lede { color: rgba(251, 247, 240, 0.8); }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--body);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease), transform 0.25s var(--ease);
  line-height: 1;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

.btn-navy { background: var(--navy-900); color: var(--ivory); border-color: var(--navy-900); }
.btn-navy:hover { background: var(--gold); border-color: var(--gold); color: #fff; }

.btn-outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn-outline:hover { background: var(--navy-900); color: var(--ivory); }

.btn-light { background: transparent; color: var(--ivory); border-color: rgba(231, 217, 190, 0.45); }
.btn-light:hover { background: var(--ivory); color: var(--navy-900); border-color: var(--ivory); }

.btn-block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.btn-row.center { justify-content: center; }

/* Quiet text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
  text-decoration: none;
  border-bottom: 1px solid var(--champagne);
  padding-bottom: 6px;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.link-arrow svg { transition: transform 0.25s var(--ease); }
.link-arrow:hover { color: var(--gold); border-color: var(--gold); }
.link-arrow:hover svg { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   5. Header / navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 18px rgba(13, 26, 45, 0.08); }

/* Desktop only: the header condenses once you start reading, so a generous
   logo at the top of the page doesn't cost vertical space for the rest of it.
   Left alone below 1060px, where the mobile nav is positioned off --header-h. */
@media (min-width: 1061px) {
  .site-header { transition: box-shadow 0.3s var(--ease); }
  .header-inner { transition: min-height 0.3s var(--ease); }
  .brand-logo { transition: height 0.3s var(--ease); }
  .site-header.is-scrolled .header-inner { min-height: 78px; }
  .site-header.is-scrolled .brand-logo { height: 60px; }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
  padding-block: 8px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy-900);
}
.brand:hover { color: var(--navy-900); }
/* The whole supplied logo, sized by height so the lockup never distorts.
   max-width:none overrides the global img rule; the media queries below
   step it down rather than letting it squash. */
.brand-logo {
  height: 84px;
  width: auto;
  max-width: none;
  flex: none;
  display: block;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav ul {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav li { margin: 0; }
.nav ul a {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--navy-800);
  text-decoration: none;
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  white-space: nowrap;
}
.nav ul a:hover { color: var(--gold); border-color: var(--gold); }
.nav ul a[aria-current="page"] { color: var(--gold); border-color: var(--gold); }
.nav-cta { padding: 13px 22px; font-size: 0.76rem; }

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.5px;
  background: var(--navy-900);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 20.5px; }
.nav-toggle span:nth-child(3) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

@media (max-width: 1060px) {
  :root { --header-h: 72px; }
  .brand-logo { height: 52px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 26px;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
    box-shadow: var(--shadow-md);
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav ul a {
    display: block;
    padding: 16px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 0.86rem;
  }
  .nav ul a:hover, .nav ul a[aria-current="page"] { border-color: var(--gold); }
  .nav-cta { margin-top: 20px; width: 100%; padding: 16px; font-size: 0.82rem; }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: rgba(251, 247, 240, 0.84);
  overflow: hidden;
}
.hero::after {
  /* ruled-document hairlines, very faint */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(231, 217, 190, 0.05) 0 1px,
    transparent 1px 38px
  );
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(64px, 8vw, 118px);
}
.hero h1 { color: var(--ivory); margin-bottom: 0.4em; }
.hero h1 .accent { color: var(--gold-2); font-style: italic; }
.hero-copy p { color: rgba(251, 247, 240, 0.78); font-size: clamp(1.04rem, 1.4vw, 1.18rem); max-width: 52ch; }
.hero .eyebrow { color: var(--gold-2); }
.hero .eyebrow::before { background: var(--gold-2); }

.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--champagne);
}

/* Hero logo plate — the client's logo, kept legible on the navy hero */
.hero-logo { width: 100%; display: grid; place-items: center; }
.logo-plate {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--ivory);
  border: 1px solid rgba(231, 217, 190, 0.5);
  border-radius: 4px;
  padding: clamp(24px, 3.5vw, 40px) clamp(20px, 3vw, 36px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 40px 70px -34px rgba(0, 0, 0, 0.72);
}
.logo-plate::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(168, 129, 63, 0.3);
  border-radius: 2px;
  pointer-events: none;
}
.logo-plate img { width: 100%; height: auto; }

/* --------------------------------------------------------------------------
   7. Page hero (interior pages)
   -------------------------------------------------------------------------- */
.page-hero {
  background: var(--navy-900);
  color: rgba(251, 247, 240, 0.82);
  padding-block: clamp(56px, 7vw, 96px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(231, 217, 190, 0.045) 0 1px,
    transparent 1px 38px
  );
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--ivory); max-width: 20ch; }
.page-hero p { color: rgba(251, 247, 240, 0.78); max-width: 60ch; font-size: 1.08rem; }

.breadcrumb {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(231, 217, 190, 0.62);
  margin-bottom: 22px;
}
.breadcrumb a { color: rgba(231, 217, 190, 0.62); text-decoration: none; }
.breadcrumb a:hover { color: var(--gold-2); }
.breadcrumb span { margin-inline: 8px; }

/* --------------------------------------------------------------------------
   8. Trust bar
   -------------------------------------------------------------------------- */
.trustbar { background: var(--paper); border-bottom: 1px solid var(--line); }
.trustbar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding-block: 6px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 28px 26px;
  border-right: 1px solid var(--line);
}
.trust-item:last-child { border-right: 0; }
.trust-item svg { flex: none; color: var(--gold); }
.trust-item span {
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-900);
  line-height: 1.3;
}
@media (max-width: 860px) {
  .trustbar-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item { padding: 22px 16px; border-bottom: 1px solid var(--line); }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-child(n+3) { border-bottom: 0; }
  .trust-item span { font-size: 0.76rem; }
}

/* --------------------------------------------------------------------------
   9. Cards
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card .card-icon { color: var(--gold); margin-bottom: 22px; }
.card h3 { margin-bottom: 0.5em; }
.card p { color: var(--slate); }
.card .btn-row, .card .link-arrow { margin-top: auto; }
.card .btn-row { padding-top: 30px; }
.card .link-arrow { align-self: flex-start; margin-top: 26px; }

/* Feature list with seal-check bullets */
.check-list { list-style: none; padding: 0; margin: 26px 0 0; }
.check-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 12px;
  font-size: 0.97rem;
  color: var(--charcoal);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background:
    linear-gradient(to bottom right, transparent 45%, var(--gold) 45%, var(--gold) 55%, transparent 55%);
}

/* Plain bordered grid (Why / Who we help) */
.rule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.rule-grid > * {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(26px, 3vw, 40px);
  background: var(--paper);
}
.rule-grid h3 { font-size: 1.22rem; margin-bottom: 0.45em; }
.rule-grid p { color: var(--slate); font-size: 0.97rem; margin: 0; }
.rule-grid .item-mark { color: var(--gold); margin-bottom: 20px; }

.section--navy .rule-grid { border-color: var(--line-dark); }
.section--navy .rule-grid > * { border-color: var(--line-dark); background: transparent; }
.section--navy .rule-grid p { color: rgba(251, 247, 240, 0.72); }

/* --------------------------------------------------------------------------
   10. Process ledger (01 – 05)
   -------------------------------------------------------------------------- */
.ledger { border-top: 1px solid var(--line); }
.section--navy .ledger { border-color: var(--line-dark); }

.ledger-row {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr) minmax(0, 1.35fr);
  gap: clamp(16px, 3vw, 44px);
  align-items: baseline;
  padding-block: clamp(26px, 3vw, 38px);
  border-bottom: 1px solid var(--line);
}
.section--navy .ledger-row { border-color: var(--line-dark); }
.ledger-num {
  font-family: var(--mono);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
}
.section--navy .ledger-num { color: var(--gold-2); }
.ledger-row h3 { margin: 0; font-size: clamp(1.2rem, 2vw, 1.55rem); }
.ledger-row p { color: var(--slate); margin: 0; }
.section--navy .ledger-row p { color: rgba(251, 247, 240, 0.72); }

@media (max-width: 760px) {
  .ledger-row { grid-template-columns: 62px minmax(0, 1fr); row-gap: 10px; }
  .ledger-row p { grid-column: 2; }
}

/* --------------------------------------------------------------------------
   11. Split content blocks
   -------------------------------------------------------------------------- */
.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
}
.split--narrowfirst { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); }
.split--form { grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr); align-items: flex-start; }
.split--aside { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); align-items: flex-start; }
.split--top { align-items: flex-start; }

/* Image frames: a layered fallback shows if the photo file is absent,
   so nothing ever renders as a broken image. Drop real photos into
   /assets/img/ using the filenames noted in each page's HTML comments. */
.photo-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background-color: var(--ivory-2);
  background-image:
    linear-gradient(150deg, rgba(13, 26, 45, 0.06), rgba(168, 129, 63, 0.1)),
    repeating-linear-gradient(to bottom, rgba(13, 26, 45, 0.045) 0 1px, transparent 1px 34px);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.photo-frame--wide { aspect-ratio: 16 / 11; }
.photo-frame--square { aspect-ratio: 1 / 1; }
.photo-frame::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(168, 129, 63, 0.3);
  border-radius: 2px;
  pointer-events: none;
}
.photo-frame[data-photo] { background-blend-mode: normal; }

.photo-caption {
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}

/* --------------------------------------------------------------------------
   12. Detail sections (service pages)
   -------------------------------------------------------------------------- */
.detail-list { border-top: 1px solid var(--line); }
.detail-item {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(20px, 4vw, 56px);
  padding-block: clamp(32px, 3.6vw, 48px);
  border-bottom: 1px solid var(--line);
}
.detail-item h3 { margin: 0; }
.detail-item .detail-tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.detail-item p { color: var(--slate); margin: 0; }
@media (max-width: 760px) {
  .detail-item { grid-template-columns: 1fr; gap: 14px; }
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form-shell {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow-sm);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 22px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }

.field label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-800);
  font-weight: 500;
}
.field .req { color: var(--gold); }
.field .hint { font-size: 0.8rem; color: var(--slate); font-family: var(--body); letter-spacing: 0; text-transform: none; }

.field input,
.field select,
.field textarea {
  font-family: var(--body);
  font-size: 1rem;
  color: var(--charcoal);
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  width: 100%;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6675' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.field textarea { min-height: 138px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--gold); background: var(--paper); outline: none; box-shadow: 0 0 0 3px rgba(168, 129, 63, 0.14); }
.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #a33b32; background: #fdf6f5; }

.error-text {
  font-size: 0.82rem;
  color: #a33b32;
  min-height: 0;
}
.error-text:empty { display: none; }

.checkbox-field {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  grid-column: 1 / -1;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 18px;
}
.checkbox-field input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--gold); }
.checkbox-field label {
  font-family: var(--body);
  font-size: 0.9rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--slate);
  font-weight: 400;
  line-height: 1.5;
}

.form-note {
  margin-top: 22px;
  padding: 16px 18px;
  border-left: 2px solid var(--gold);
  background: var(--ivory-2);
  font-size: 0.9rem;
  color: var(--slate);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; }

.form-status {
  margin-top: 18px;
  font-size: 0.92rem;
  color: #a33b32;
}
.form-status:empty { display: none; }

@media (max-width: 700px) {
  .field-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   14. FAQ accordion
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background: transparent;
  border: 0;
  padding: 26px 4px;
  text-align: left;
  cursor: pointer;
  font-family: var(--display);
  font-size: clamp(1.08rem, 1.7vw, 1.28rem);
  color: var(--navy-900);
  line-height: 1.3;
  transition: color 0.2s var(--ease);
}
.faq-q:hover { color: var(--gold); }
.faq-icon { flex: none; width: 16px; height: 16px; position: relative; margin-top: 6px; }
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.faq-icon::before { top: 7.5px; left: 0; width: 16px; height: 1.5px; }
.faq-icon::after { left: 7.5px; top: 0; width: 1.5px; height: 16px; }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: rotate(90deg); opacity: 0; }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-a > div { overflow: hidden; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a p {
  color: var(--slate);
  padding: 0 60px 28px 4px;
  margin: 0;
  max-width: 78ch;
}
@media (max-width: 640px) { .faq-a p { padding-right: 4px; } }

/* --------------------------------------------------------------------------
   15. Callout bands
   -------------------------------------------------------------------------- */
.band {
  background: var(--navy-900);
  color: rgba(251, 247, 240, 0.82);
  position: relative;
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  right: -140px;
  top: 50%;
  transform: translateY(-50%);
  width: 460px;
  height: 460px;
  border-radius: 50%;
  border: 1px solid rgba(231, 217, 190, 0.12);
  box-shadow: inset 0 0 0 34px rgba(231, 217, 190, 0.05);
  pointer-events: none;
}
.band .container { position: relative; z-index: 1; }
.band h2 { color: var(--ivory); max-width: 18ch; }
.band p { color: rgba(251, 247, 240, 0.78); max-width: 56ch; }

.band-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

/* Final CTA on ivory */
.final-cta { text-align: center; }
.final-cta h2 { margin-inline: auto; max-width: 16ch; }
.final-cta p { margin-inline: auto; max-width: 60ch; color: var(--slate); font-size: 1.08rem; }
.section--navy.final-cta p { color: rgba(251, 247, 240, 0.78); }

/* --------------------------------------------------------------------------
   16. Testimonials (markup ready — no reviews invented)
   -------------------------------------------------------------------------- */
.quote-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
}
.quote-card blockquote { margin: 0 0 22px; font-family: var(--display); font-size: 1.18rem; line-height: 1.5; color: var(--navy-900); }
.quote-meta { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate); }

/* --------------------------------------------------------------------------
   17. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(251, 247, 240, 0.7);
  padding-block: clamp(52px, 6vw, 80px) 0;
  font-size: 0.94rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--line-dark);
}
.footer-tagline {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(231, 217, 190, 0.6);
  line-height: 1.9;
}
.footer-col h4 {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: rgba(251, 247, 240, 0.72); text-decoration: none; }
.footer-col a:hover { color: var(--gold-2); }
.footer-col p { color: rgba(251, 247, 240, 0.72); margin-bottom: 10px; }

.footer-legal {
  padding-block: 28px 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(251, 247, 240, 0.55);
}
.footer-legal a { color: rgba(251, 247, 240, 0.6); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-2); }
.footer-disclaimer {
  padding-block: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 0.8rem;
  line-height: 1.7;
  color: rgba(251, 247, 240, 0.5);
  max-width: 86ch;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   18. Mobile sticky CTA
   -------------------------------------------------------------------------- */
.mobile-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 90;
  display: none;
  gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(251, 247, 240, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--line);
  transform: translateY(110%);
  transition: transform 0.3s var(--ease);
}
.mobile-cta.is-visible { transform: translateY(0); }
.mobile-cta .btn { flex: 1; padding: 14px 10px; font-size: 0.74rem; }
@media (max-width: 760px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 74px; }
}

/* --------------------------------------------------------------------------
   19. Reveal animation
   -------------------------------------------------------------------------- */
/* Gated behind the .js class, which an inline script in <head> adds. If
   JavaScript is unavailable, blocked, or errors before main.js runs, nothing
   is ever hidden — the page just renders without the animation. Content that
   only appears once JS says so is content that can silently disappear. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   20. Utility / responsive
   -------------------------------------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-logo { max-width: 420px; margin-inline: auto; }
  .split, .split--narrowfirst, .split--form, .split--aside, .band-split { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row .btn { width: 100%; }
  .nav-cta, .mobile-cta .btn { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js [data-reveal] { opacity: 1; transform: none; }
}

@media print {
  .site-header, .mobile-cta, .btn-row { display: none; }
  body { background: #fff; color: #000; }
}

/* --------------------------------------------------------------------------
   21. Brand mark theming
   -------------------------------------------------------------------------- */
.site-footer .brand { display: block; }
.footer-logo-plate {
  display: inline-block;
  background: var(--ivory);
  border: 1px solid rgba(231, 217, 190, 0.35);
  border-radius: 4px;
  padding: 14px 16px;
  max-width: 220px;
  box-shadow: 0 20px 40px -26px rgba(0, 0, 0, 0.7);
}
.footer-logo-plate img { width: 100%; height: auto; display: block; }


/* --------------------------------------------------------------------------
   22. Logo lockup — client-supplied artwork
   -------------------------------------------------------------------------- */
.logo-lockup {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  margin-inline: auto;
}
.logo-lockup--framed {
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  max-width: 460px;
}

@media (max-width: 480px) {
  :root { --header-h: 64px; }
  .brand-logo { height: 44px; }
}

/* --------------------------------------------------------------------------
   23. Footer newsletter signup
   -------------------------------------------------------------------------- */
.footer-signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  padding-block: clamp(30px, 3.5vw, 42px);
  border-top: 1px solid var(--line-dark);
}
.footer-signup-copy h4 {
  color: var(--gold-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 10px;
}
.footer-signup-copy p {
  color: rgba(251, 247, 240, 0.66);
  font-size: 0.9rem;
  margin: 0;
  max-width: 52ch;
}
.footer-signup-form .field label {
  color: rgba(231, 217, 190, 0.72);
}
.footer-signup-form .field .req { color: var(--gold-2); }

.signup-row { display: flex; gap: 10px; }
.signup-row input {
  flex: 1 1 auto;
  min-width: 0;
  background: rgba(251, 247, 240, 0.06);
  border-color: rgba(231, 217, 190, 0.24);
  color: var(--ivory);
}
.signup-row input::placeholder { color: rgba(251, 247, 240, 0.4); }
.signup-row input:focus {
  background: rgba(251, 247, 240, 0.1);
  border-color: var(--gold-2);
  box-shadow: 0 0 0 3px rgba(201, 162, 92, 0.16);
}
.signup-row .btn { flex: none; padding-inline: 24px; }
.footer-signup .error-text { color: #e59a92; }
.footer-signup .form-status { color: #e59a92; }

@media (max-width: 860px) {
  .footer-signup { grid-template-columns: 1fr; gap: 22px; }
}
@media (max-width: 520px) {
  .signup-row { flex-direction: column; }
  .signup-row .btn { width: 100%; }
}


/* --------------------------------------------------------------------------
   24. Conditional booking-form fields
   The [hidden] attribute is overridden by the .field display:flex rule, so
   it needs restating here.
   -------------------------------------------------------------------------- */
[data-when][hidden] { display: none !important; }

/* --------------------------------------------------------------------------
   25. Service choice — an either/or, made unmistakable
   Two cards, a visible radio dot, and a filled navy state when selected. The
   selected state is carried by fill, border, dot and checkmark together, so it
   never depends on colour alone.
   -------------------------------------------------------------------------- */
.choice-field {
  display: block;
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0; /* fieldsets refuse to shrink in a grid without this */
}
.choice-field legend {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-800);
  font-weight: 500;
  padding: 0;
  margin-bottom: 6px;
}
.choice-field .req { color: var(--gold); }

.choice-help {
  font-size: 0.88rem;
  color: var(--slate);
  margin: 0 0 16px;
  max-width: 60ch;
}
.choice-help--after {
  margin: 14px 0 0;
  font-size: 0.84rem;
  padding-left: 14px;
  border-left: 2px solid var(--champagne);
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.choice { position: relative; display: block; cursor: pointer; }
.choice input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  margin: 0;
}

.choice-body {
  position: relative;
  display: block;
  height: 100%;
  padding: 22px 22px 20px 54px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease),
              box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.choice:hover .choice-body {
  border-color: var(--gold-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* The radio dot — the thing that says "this is a choice" */
.choice-dot {
  position: absolute;
  top: 24px;
  left: 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--slate);
  background: var(--ivory);
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.choice-dot::after {
  content: "";
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.2s var(--ease);
}
.choice:hover .choice-dot { border-color: var(--gold); }

.choice-mark { display: block; width: 30px; height: 30px; color: var(--gold); margin-bottom: 12px; }
.choice-mark svg { width: 100%; height: 100%; }

.choice-title {
  display: block;
  font-family: var(--display);
  font-size: 1.32rem;
  line-height: 1.15;
  color: var(--navy-900);
  margin-bottom: 6px;
}
.choice-note {
  display: block;
  font-size: 0.92rem;
  color: var(--slate);
  line-height: 1.5;
}
.choice-asks {
  display: block;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  line-height: 1.7;
}

/* Selected: filled navy. Impossible to mistake for the unselected card. */
.choice input:checked + .choice-body {
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: 0 18px 34px -22px rgba(13, 26, 45, 0.75);
}
.choice input:checked + .choice-body .choice-title { color: var(--ivory); }
.choice input:checked + .choice-body .choice-note { color: rgba(251, 247, 240, 0.78); }
.choice input:checked + .choice-body .choice-asks {
  color: var(--gold-2);
  border-top-color: rgba(231, 217, 190, 0.22);
}
.choice input:checked + .choice-body .choice-mark { color: var(--gold-2); }
.choice input:checked + .choice-body .choice-dot {
  border-color: var(--gold-2);
  background: transparent;
}
.choice input:checked + .choice-body .choice-dot::after { transform: scale(1); background: var(--gold-2); }
.choice input:checked + .choice-body::after {
  content: "Selected";
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy-900);
  background: var(--gold-2);
  padding: 4px 9px;
  border-radius: 2px;
}

.choice input:focus-visible + .choice-body { outline: 2px solid var(--gold); outline-offset: 3px; }

.choice-field .error-text { display: block; margin-top: 12px; }

@media (max-width: 620px) {
  .choice-grid { grid-template-columns: 1fr; }
  .choice-body { padding: 18px 18px 16px 50px; }
  .choice-dot { top: 20px; left: 18px; }
  .choice-mark { width: 26px; height: 26px; margin-bottom: 8px; }
  .choice-title { font-size: 1.18rem; }
}
