/* ==========================================================================
   B&B Insurance Group
   assets/css/site.css
   --------------------------------------------------------------------------
   Structure
     1.  Tokens
     2.  Reset & base
     3.  Typography helpers
     4.  Layout / grid
     5.  Buttons & links
     6.  Utility bar, header, nav
     7.  Hero
     8.  Carrier marquee
     9.  Editorial sections
     10. Product index & product detail
     11. People
     12. Resource directory
     13. Contact & form
     14. CTA band
     15. Footer
     16. Motion & reveal
     17. Print
   ========================================================================== */


/* 1. Tokens ================================================================ */

:root {
  /* Brand palette, lifted from the existing B&B mark */
  --gold:        #d5ae61;
  --gold-deep:   #b88b31;
  --gold-pale:   #e0c389;
  --cream:       #f8f0e6;

  /* Warm neutrals built around the gold so nothing reads cold or "default" */
  --ink:         #16150f;
  --ink-soft:    #262319;
  --paper:       #fbf9f5;
  --paper-2:     #f3eee5;
  --rule:        #e3dacb;
  --rule-strong: #cfc3ae;
  --muted:       #6e6a60;
  --muted-light: #a09a8c;

  --focus:       #2f6fb5;

  /* Type */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans:  "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Measure & rhythm */
  --container: 1280px;
  --gutter: clamp(1.25rem, 0.6rem + 2.4vw, 2.75rem);
  --section-y: clamp(4rem, 2.4rem + 6.4vw, 8.5rem);

  /* One easing used everywhere so motion feels authored, not random */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);

  /* Paper grain. Layered onto the large flat fields so they don't read as
     synthetic blocks of colour. Applied per-section, not as a global overlay,
     so it never sits on top of text. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.055'/%3E%3C/svg%3E");
}


/* 2. Reset & base ========================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 7.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;      /* 17px — slightly above the default 16 */
  line-height: 1.65;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg, picture, iframe { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

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

ul, ol { margin: 0; padding: 0; }
li { list-style: none; }

address { font-style: normal; }

a { color: inherit; text-decoration: none; }

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 0.75rem; }

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


/* 3. Typography helpers ==================================================== */

.display {
  font-size: clamp(2.6rem, 1.35rem + 5.3vw, 5.75rem);
  line-height: 1.015;
  letter-spacing: -0.028em;
  font-weight: 600;
}

.h1 {
  font-size: clamp(2.15rem, 1.4rem + 3.3vw, 4.15rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
}

.h2 {
  font-size: clamp(1.7rem, 1.2rem + 2.1vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.022em;
}

.h3 {
  font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

/* Gold italic used sparingly, to break a headline across a thought */
.accent-italic {
  font-style: italic;
  color: var(--gold-deep);
  font-weight: 500;
}

/* Small-caps section label preceded by a short gold rule */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  flex: none;
  background: var(--gold);
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--gold-pale); }
.eyebrow--light::before { background: var(--gold); }

.lead {
  font-size: clamp(1.075rem, 1rem + 0.42vw, 1.3rem);
  line-height: 1.55;
  color: var(--muted);
}
.lead strong { color: var(--ink); font-weight: 500; }

/* Large editorial statement, set in the serif */
.statement {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 1.05rem + 1.5vw, 2.25rem);
  line-height: 1.24;
  letter-spacing: -0.02em;
  font-weight: 400;
  text-wrap: balance;
}

.text-muted { color: var(--muted); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: 0; }


/* 4. Layout / grid ========================================================= */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: 900px; }

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.section--cream { background-color: var(--cream); background-image: var(--grain); }
.section--paper2 { background: var(--paper-2); }
.section--ink { background: var(--ink); color: var(--cream); }
.section--ruled { border-top: 1px solid var(--rule); }

/* Asymmetric two-column: sticky label rail + content */
.split {
  display: grid;
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
}
@media (min-width: 900px) {
  .split { grid-template-columns: 4fr 8fr; }
  .split--even { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 7fr 5fr; }
  .split__rail { position: sticky; top: 8.5rem; align-self: start; }
}


/* 5. Buttons & links ======================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease),
              border-color 0.25s var(--ease);
}
.btn svg { width: 1rem; height: 1rem; transition: transform 0.25s var(--ease); }
.btn:hover { background: var(--gold-deep); border-color: var(--gold-deep); color: #fff; }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }

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

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

.btn--block { width: 100%; justify-content: center; }

/* Text link with a gold rule that draws in from the left */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  position: relative;
  padding-bottom: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
.arrow-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.arrow-link:hover::after { transform: scaleX(1); }
.arrow-link svg { width: 0.95rem; height: 0.95rem; transition: transform 0.25s var(--ease); }
.arrow-link:hover svg { transform: translateX(4px); }

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  margin-top: 2.25rem;
}


/* 6. Utility bar, header, nav ============================================== */

.utility-bar {
  background: var(--ink);
  color: var(--muted-light);
  font-size: 0.78125rem;
  letter-spacing: 0.04em;
}
.utility-bar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35rem 1.75rem;
  min-height: 2.6rem;
  padding-block: 0.4rem;
}
.utility-bar__group { display: flex; flex-wrap: wrap; gap: 0.35rem 1.5rem; }
.utility-bar a { transition: color 0.2s var(--ease); }
.utility-bar a:hover { color: var(--gold); }
.utility-bar__place { color: var(--gold-pale); }
.utility-bar__label { color: #5c584f; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--rule);
  background: rgba(251, 249, 245, 0.94);
  backdrop-filter: saturate(140%) blur(6px);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.15rem;
  transition: padding 0.3s var(--ease);
}
.site-header.is-stuck .site-header__inner { padding-block: 0.7rem; }

.brand { display: block; flex: none; }
.brand img { width: auto; height: 2.65rem; transition: height 0.3s var(--ease); }
.site-header.is-stuck .brand img { height: 2.2rem; }

.primary-nav { display: none; }
@media (min-width: 1000px) {
  .primary-nav { display: flex; align-items: center; gap: 2.25rem; }
}
.primary-nav a {
  position: relative;
  padding-block: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  transition: color 0.2s var(--ease);
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--gold-deep); }

.header-cta { display: none; }
@media (min-width: 1000px) { .header-cta { display: inline-flex; } }

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.55rem;
  border: 1px solid var(--rule-strong);
  background: transparent;
  cursor: pointer;
}
@media (min-width: 1000px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--paper);
}
.mobile-nav.is-open { display: block; }
@media (min-width: 1000px) { .mobile-nav, .mobile-nav.is-open { display: none; } }
.mobile-nav ol { padding-block: 0.5rem 1.5rem; }
.mobile-nav a {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 1.35rem;
}
.mobile-nav .num {
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}
.mobile-nav .btn { margin-top: 1.5rem; }


/* 7. Hero ================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--cream);
  background-image: var(--grain);
  border-bottom: 1px solid var(--rule);
}

/* Hairline column rules — a print-grid reference, very faint */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, var(--rule) 1px, transparent 1px);
  background-size: 25% 100%;
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(3rem, 1rem + 6vw, 5rem);
  padding-block: clamp(3.5rem, 2rem + 7vw, 7.5rem);
}
@media (min-width: 980px) {
  .hero__inner { grid-template-columns: 7fr 5fr; align-items: center; }
}

.hero__title { margin-bottom: 1.75rem; }
.hero__lead { max-width: 46ch; }

/* Stat strip beneath the hero copy */
/* Three stats: one column when narrow, three when there's room. Never an
   in-between count, so the 1px-gap grid can't leave an empty filled cell. */
.hero__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  margin-top: 3.25rem;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 560px) {
  .hero__stats { grid-template-columns: repeat(3, 1fr); }
}
.hero__stat { padding: 1.15rem 1.25rem; background: var(--cream); }
.hero__stat dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero__stat dd {
  margin: 0.3rem 0 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.55rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

/* Offset gold frame behind a duotone photo */
.hero__figure { position: relative; margin: 0; }
.hero__figure::before {
  content: "";
  position: absolute;
  inset: 1.35rem -1.35rem -1.35rem 1.35rem;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.hero__figure img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 28%;
  filter: grayscale(1) contrast(1.06);
}
/* Warm duotone wash over the photo */
.hero__figure::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(213, 174, 97, 0.42), rgba(22, 21, 15, 0.5));
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero__tag {
  position: absolute;
  z-index: 3;
  left: -1px;
  bottom: -1.35rem;
  max-width: 15rem;
  padding: 1.1rem 1.3rem;
  background: var(--ink);
  color: var(--cream);
}
.hero__tag p {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.3;
}
.hero__tag span {
  display: block;
  margin-bottom: 0.35rem;
  font-family: var(--sans);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}

/* Compact hero for interior pages */
.page-hero {
  position: relative;
  background-color: var(--cream);
  background-image: var(--grain);
  border-bottom: 1px solid var(--rule);
  padding-block: clamp(3rem, 2rem + 5vw, 6rem);
}
.page-hero__grid { display: grid; gap: 1.75rem; }
@media (min-width: 900px) {
  .page-hero__grid { grid-template-columns: 7fr 5fr; align-items: end; }
}
.page-hero__sub { max-width: 44ch; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.breadcrumb a:hover { color: var(--gold-deep); }
.breadcrumb li::after { content: "/"; margin-left: 0.55rem; color: var(--rule-strong); }
.breadcrumb li:last-child::after { content: none; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb [aria-current="page"] { color: var(--ink); }


/* 8. Carrier marquee ======================================================= */

.marquee-band {
  padding-block: 1.6rem;
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
}
.marquee-band__label {
  margin-bottom: 1.15rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
}
.marquee {
  display: flex;
  width: max-content;
  animation: marquee 42s linear infinite;
}
.marquee-band:hover .marquee { animation-play-state: paused; }
.marquee__row { display: flex; flex: none; }
.marquee__item {
  display: flex;
  align-items: center;
  gap: 2.75rem;
  padding-inline: 1.375rem;
  font-family: var(--serif);
  font-size: clamp(1.1rem, 0.95rem + 0.6vw, 1.5rem);
  color: #cfc7b6;
  white-space: nowrap;
}
.marquee__item::after {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.8;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* 9. Editorial sections ==================================================== */

.rail-title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.prose { max-width: 62ch; }
.prose p + p { margin-top: 0; }

/* Pull quote with a hanging gold rule */
.pullquote {
  margin: 0 0 2.5rem;
  padding-left: 1.75rem;
  border-left: 2px solid var(--gold);
}
.pullquote p {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.05rem + 1.1vw, 1.95rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  font-weight: 400;
}

/* Numbered fact rows (no cards, no shadows) */
.facts { border-top: 1px solid var(--rule); }
.facts li {
  display: grid;
  gap: 0.35rem 1.75rem;
  padding-block: 1.5rem;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 720px) {
  .facts li { grid-template-columns: 8rem 1fr; align-items: baseline; }
}
.facts dt, .facts .facts__k {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.facts .facts__v { font-family: var(--serif); font-size: 1.1875rem; }


/* 10. Product index & detail =============================================== */

.index-list { border-top: 1px solid var(--rule-strong); }

.index-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.4rem 1.5rem;
  padding: clamp(1.35rem, 1rem + 1vw, 2rem) 0;
  border-bottom: 1px solid var(--rule);
  transition: padding-inline 0.35s var(--ease), background 0.35s var(--ease);
}
.index-row:hover { background: var(--cream); padding-inline: 1.35rem; }

.index-row__num {
  align-self: start;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
  padding-top: 0.45rem;
}

.index-row__body { min-width: 0; }
.index-row__name {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 2.05rem);
  line-height: 1.15;
  letter-spacing: -0.022em;
  font-weight: 600;
}
.index-row__name .icon {
  width: 1.6rem; height: 1.6rem;
  flex: none;
  color: var(--gold-deep);
  transition: transform 0.35s var(--ease);
}
.index-row:hover .index-row__name .icon { transform: translateY(-2px) rotate(-4deg); }

.index-row__desc {
  margin: 0.55rem 0 0;
  max-width: 62ch;
  font-size: 0.9375rem;
  color: var(--muted);
}

.index-row__go {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  flex: none;
  border: 1px solid var(--rule-strong);
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease),
              color 0.3s var(--ease), transform 0.3s var(--ease);
}
.index-row__go svg { width: 1rem; height: 1rem; }
.index-row:hover .index-row__go {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
  transform: rotate(-45deg);
}

/* Product detail article */
.product { border-top: 1px solid var(--rule); padding-block: clamp(2.5rem, 1.75rem + 3vw, 4.5rem); }
.product:first-of-type { border-top: 0; padding-top: 0; }

.product__grid { display: grid; gap: 1.5rem clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
@media (min-width: 900px) { .product__grid { grid-template-columns: 7rem minmax(0, 1fr); } }

.product__marker { display: flex; align-items: flex-start; gap: 1.15rem; }
.product__num {
  padding-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--gold-deep);
}
.product__plate {
  display: grid;
  place-items: center;
  width: 3.75rem; height: 3.75rem;
  flex: none;
  border: 1px solid var(--gold);
  background: var(--cream);
  color: var(--gold-deep);
}
.product__plate svg { width: 1.85rem; height: 1.85rem; }

/* Sticky in-page nav for the products page */
.toc { position: sticky; top: 8.5rem; }
.toc li + li { margin-top: 0.15rem; }
.toc a {
  display: flex;
  gap: 0.85rem;
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.toc a:hover, .toc a.is-active { color: var(--ink); border-bottom-color: var(--gold); }
.toc .num { font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.1em; color: var(--gold-deep); padding-top: 0.28rem; }


/* 11. People =============================================================== */

.principal { display: grid; gap: clamp(2rem, 1rem + 4vw, 3.5rem); }
@media (min-width: 860px) { .principal { grid-template-columns: 4fr 8fr; align-items: start; } }

/* Portrait with a hairline gold frame offset down-left, mirroring the hero's
   frame so the two photographs read as one system. */
/* Capped while the layout is single-column, so a headshot doesn't fill a phone
   screen edge to edge. The two-column grid sizes it from then on. */
.portrait { position: relative; margin: 0 0 0 1.15rem; max-width: 21rem; }
@media (min-width: 860px) { .portrait { margin-left: 0; max-width: none; } }
.portrait::before {
  content: "";
  position: absolute;
  inset: 1.15rem 1.15rem -1.15rem -1.15rem;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.portrait img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 15%;
  filter: grayscale(0.15) sepia(0.12) contrast(1.04);
}

.person__name { margin-bottom: 0.3rem; }
.person__role {
  margin: 0 0 1.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}


/* 12. Resource directory =================================================== */

.directory {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (min-width: 620px) { .directory { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .directory { grid-template-columns: repeat(4, 1fr); } }

.directory__link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-height: 9.5rem;
  padding: 1.5rem;
  background: var(--paper);
  transition: background 0.3s var(--ease);
}
.directory__link:hover { background: var(--cream); }
.directory__num {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--gold-deep);
}
.directory__name {
  margin-top: auto;
  font-family: var(--serif);
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.directory__url {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  color: var(--muted);
  word-break: break-word;
}
.directory__url svg { width: 0.8rem; height: 0.8rem; flex: none; transition: transform 0.25s var(--ease); }
.directory__link:hover .directory__url { color: var(--gold-deep); }
.directory__link:hover .directory__url svg { transform: translate(2px, -2px); }


/* 13. Contact & form ======================================================= */

.contact-grid { display: grid; gap: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 7fr 5fr; } }

.form-card { border: 1px solid var(--rule); background: var(--paper); padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); }

.field { margin-bottom: 1.5rem; }
.field:last-of-type { margin-bottom: 0; }

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.field .req { color: var(--gold-deep); }

.field input,
.field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--rule-strong);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}
.field textarea { min-height: 9rem; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: var(--muted-light); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold-deep);
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--gold-deep);
}
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b0403f; }

.field__error {
  display: none;
  margin-top: 0.45rem;
  font-size: 0.8125rem;
  color: #b0403f;
}
.field.has-error .field__error { display: block; }

.field--check { display: flex; gap: 0.8rem; align-items: flex-start; }
.field--check input { width: 1.1rem; height: 1.1rem; flex: none; margin-top: 0.28rem; accent-color: var(--gold-deep); }
.field--check label {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  color: var(--muted);
  line-height: 1.5;
}

/* Spam honeypot. Moved out of sight rather than display:none, which bots skip. */
.form-hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-size: 0.9375rem;
}
.form-status.is-visible { display: block; }
.form-status.is-error { border-left-color: #b0403f; background: #fbf0ef; }

/* Contact detail list */
.contact-list { border-top: 1px solid var(--rule); }
.contact-list > li { padding-block: 1.35rem; border-bottom: 1px solid var(--rule); }
.contact-list dt, .contact-list .k {
  margin-bottom: 0.3rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-list .v { font-family: var(--serif); font-size: 1.3rem; line-height: 1.3; letter-spacing: -0.015em; }
.contact-list a.v { transition: color 0.2s var(--ease); }
.contact-list a.v:hover { color: var(--gold-deep); }
.contact-list .v--sm { font-size: 1.0625rem; }

.map-frame { border: 1px solid var(--rule); }
.map-frame iframe { width: 100%; height: 340px; border: 0; filter: grayscale(1) contrast(1.05); }


/* 14. CTA band ============================================================= */

.cta-band {
  position: relative;
  background-color: var(--ink);
  background-image: var(--grain);
  color: var(--cream);
  overflow: hidden;
}
/* Oversized gold ampersand as a watermark */
.cta-band::before {
  content: "&";
  position: absolute;
  right: -1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--serif);
  font-size: clamp(14rem, 30vw, 26rem);
  line-height: 1;
  color: var(--gold);
  opacity: 0.07;
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
@media (min-width: 900px) {
  .cta-band__inner { grid-template-columns: 7fr 5fr; align-items: center; }
}
.cta-band__title { color: var(--cream); }
.cta-band__text { margin-top: 1.15rem; max-width: 40ch; color: #b9b2a3; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; }
@media (min-width: 900px) { .cta-band__actions { justify-content: flex-end; } }


/* 15. Footer =============================================================== */

.site-footer {
  background-color: var(--ink-soft);
  background-image: var(--grain);
  color: #b9b2a3;
  font-size: 0.9375rem;
}

.site-footer__top {
  display: grid;
  gap: 2.5rem clamp(1.5rem, 1rem + 2vw, 3rem);
  padding-block: clamp(3rem, 2rem + 3vw, 4.5rem);
}
@media (min-width: 760px) { .site-footer__top { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .site-footer__top { grid-template-columns: 2.4fr 1fr 1.3fr 1.5fr; } }

.site-footer__brand img { width: auto; height: 2.75rem; margin-bottom: 1.35rem; }
.site-footer__tagline {
  max-width: 32ch;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.4;
  color: #cfc7b6;
}

.footer-head {
  margin: 0 0 1.15rem;
  font-family: var(--sans);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer-list li + li { margin-top: 0.6rem; }
.footer-list a { transition: color 0.2s var(--ease); }
.footer-list a:hover { color: var(--gold-pale); }
.site-footer address { font-style: normal; line-height: 1.6; }

.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-block: 1.5rem;
  border-top: 1px solid rgba(213, 174, 97, 0.2);
  font-size: 0.8125rem;
  color: #8a8478;
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a:hover { color: var(--gold-pale); }
.site-footer__legal { max-width: 70ch; line-height: 1.55; }


/* 16. Motion & reveal ====================================================== */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal-delay="1"] { transition-delay: 0.08s; }
.js [data-reveal-delay="2"] { transition-delay: 0.16s; }
.js [data-reveal-delay="3"] { transition-delay: 0.24s; }

@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; }
  .marquee { animation: none; }
}


/* 17. Print ================================================================ */

@media print {
  .utility-bar, .site-header, .nav-toggle, .mobile-nav,
  .cta-band, .marquee-band, .map-frame, .hero__figure { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  body::before { display: none; }
  .section, .hero__inner { padding-block: 1.25rem; }
  a::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
  .index-row, .product { break-inside: avoid; }
}
