:root {
  --ink: #1c1915;
  --ink-soft: #3f3832;
  --muted: #6d645b;
  --cream: #f3eee6;
  --paper: #fffdf9;
  --sand: #e9dfd0;
  --line: #e3d7c6;
  --magenta: #b8336a;
  --coral: #d15d38;
  --gold: #c4922a;
  --teal: #1a6a64;
  --forest: #2d6a45;
  --shadow: 0 20px 50px rgba(48, 32, 16, 0.08);
  --radius: 22px;
  --header: 86px;
  --max: 1140px;
  --serif: "Fraunces", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--ink);
  color: white;
  padding: 0.6rem 0.9rem;
  z-index: 100;
  border-radius: 8px;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--max), calc(100% - 2.4rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0 0 0.8rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 1.6rem;
  height: 2px;
  background: currentColor;
}

h1,
h2,
h3,
.serif {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.rule {
  width: 64px;
  height: 3px;
  margin: 0.9rem 0 1.1rem;
  border: 0;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--magenta), var(--gold), var(--teal));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  background: #fffdf9;
  border-bottom: 1px solid transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #b8336a, #d15d38, #e2b23a, #1a6a64, #2d6a45);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(40, 28, 16, 0.05);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
  background: #f7d7df;
  box-shadow: 0 0 0 3px #fff, 0 0 0 4px var(--sand);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 640;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  padding: 0;
  cursor: pointer;
  position: relative;
  z-index: 50;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.45rem 0.55rem;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--cream);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 46px;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--teal);
  color: white;
  text-decoration: none;
  font-weight: 560;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: #145751;
  transform: translateY(-1px);
}

.btn-light {
  background: white;
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.7);
}

.btn-light:hover {
  background: var(--cream);
}

.btn-ghost {
  background: transparent;
  color: white;
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

.btn-brochure {
  background: #e25b2a;
  color: white;
  border-color: transparent;
}

.btn-brochure:hover {
  background: #c44b1e;
  color: white;
}

.site-nav .btn {
  margin-left: 0.4rem;
  color: white;
  background: var(--teal);
}

.site-nav .btn:hover,
.site-nav a.btn[aria-current="page"] {
  color: white;
  background: #145751;
}

.nav-drop {
  position: relative;
}

.nav-sub {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  min-width: 250px;
  padding: 0.4rem;
  background: #fffdf9;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.nav-drop:hover .nav-sub,
.nav-drop:focus-within .nav-sub {
  display: block;
}

.nav-sub a {
  display: block;
  white-space: nowrap;
  border-radius: 12px;
}

#audit {
  scroll-margin-top: calc(var(--header) + 8px);
}

.section.docs {
  padding: 2.6rem 0 3rem;
}

.report-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.report-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: 108px;
  padding: 1.15rem 1.25rem;
  background: #fffdf8;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 8px 24px rgba(48, 32, 16, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.report-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.report-card.is-highlight {
  border: 2px solid #e25b2a;
  background: #fff;
  box-shadow: 0 12px 30px rgba(226, 91, 42, 0.22);
}

.brochure-spot {
  position: relative;
  overflow: hidden;
  padding: 1.35rem 0;
  background:
    radial-gradient(ellipse 42% 140% at 0% 50%, rgba(255, 214, 160, 0.45), transparent 70%),
    radial-gradient(ellipse 36% 160% at 100% 40%, rgba(120, 220, 200, 0.35), transparent 68%),
    linear-gradient(105deg, #6e2448 0%, #b8336a 24%, #d15d38 52%, #e2b23a 74%, #1a6a64 100%);
}

.brochure-spot::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.22) 0.7px, transparent 0.8px);
  background-size: 16px 16px;
  pointer-events: none;
}

.brochure-spot::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, #fff6, #fff0 20%, #fff6 50%, #fff0 80%, #fff6);
  pointer-events: none;
}

.brochure-spot .wrap {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

.brochure-spot .report-card {
  width: min(460px, 100%);
  border-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 16px 40px rgba(40, 12, 24, 0.28);
}

.report-badge {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #e25b2a;
  color: white;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

.report-badge.xls {
  background: #1a6a64;
}

.report-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 620;
  line-height: 1.3;
}

.report-card em {
  display: block;
  margin-top: 0.28rem;
  color: #7a726a;
  font-style: normal;
  font-size: 0.92rem;
}

button.report-card {
  width: 100%;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

dialog.sheet-dialog {
  width: min(1180px, 96vw);
  max-height: 92vh;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 22px;
  background: #fffdf8;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(20, 12, 8, 0.35);
}

dialog.sheet-dialog::backdrop {
  background: rgba(16, 12, 10, 0.72);
}

.sheet-panel {
  display: flex;
  flex-direction: column;
  max-height: 92vh;
  padding: 1.15rem 1.15rem 1rem;
}

.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.sheet-head h2 {
  margin: 0.15rem 0 0.25rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 560;
  line-height: 1.15;
}

.sheet-detail {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.sheet-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.sheet-close {
  min-height: 46px;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  font-weight: 560;
  cursor: pointer;
}

.sheet-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1rem;
  margin: 0.95rem 0 0.75rem;
}

.sheet-tabs {
  display: flex;
  gap: 0.4rem;
}

.sheet-tabs[hidden] {
  display: none;
}

.sheet-tabs button {
  min-height: 40px;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}

.sheet-tabs button.is-active {
  border-color: var(--teal);
  background: var(--teal);
  color: white;
}

.sheet-search {
  flex: 1 1 220px;
}

.sheet-search input {
  width: 100%;
  min-height: 42px;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  font: inherit;
}

.sheet-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.sheet-scroll {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.sheet-scroll table {
  width: max-content;
  min-width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.sheet-scroll th,
.sheet-scroll td {
  padding: 0.55rem 0.75rem;
  border-bottom: 1px solid #efe8df;
  text-align: left;
  white-space: nowrap;
  vertical-align: top;
}

.sheet-scroll th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f6f1ea;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.sheet-scroll td.num,
.sheet-scroll th.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.sheet-scroll tr:last-child td {
  border-bottom: 0;
}

.sheet-scroll tbody tr:hover td {
  background: #fbf7f2;
}

@media (max-width: 720px) {
  .sheet-head,
  .sheet-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .sheet-actions .btn,
  .sheet-close {
    width: 100%;
  }

  dialog.sheet-dialog {
    width: 100vw;
    max-height: 100vh;
    border-radius: 0;
  }

  .sheet-panel {
    max-height: 100vh;
  }
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: end;
  color: white;
  overflow: hidden;
  background: #2a211c;
}

.slides,
.slide {
  position: absolute;
  inset: 0;
}

.slide {
  margin: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  z-index: 0;
}

.slide.is-active {
  opacity: 1;
  z-index: 1;
}

.slide img,
.page-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.page-hero-media.focus-faces {
  object-position: center 18%;
}

.page-hero-media.focus-group {
  object-position: center 32%;
}

.page-hero-media.focus-mid {
  object-position: center 38%;
}

.slide-wash {
  position: absolute;
  inset: 0;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(22, 16, 12, 0.72), rgba(22, 16, 14, 0.28) 48%, rgba(22, 16, 14, 0.62));
}

.wash-plum { background: linear-gradient(105deg, rgba(110, 18, 58, 0.78) 0%, rgba(22, 16, 14, 0.22) 46%, rgba(22, 16, 14, 0.62) 100%); }
.wash-teal { background: linear-gradient(105deg, rgba(10, 78, 74, 0.8) 0%, rgba(22, 16, 14, 0.18) 48%, rgba(22, 16, 14, 0.58) 100%); }
.wash-coral { background: linear-gradient(105deg, rgba(150, 48, 22, 0.76) 0%, rgba(22, 16, 14, 0.2) 48%, rgba(22, 16, 14, 0.6) 100%); }
.wash-gold { background: linear-gradient(105deg, rgba(110, 68, 8, 0.78) 0%, rgba(22, 16, 14, 0.18) 46%, rgba(18, 70, 66, 0.45) 100%); }
.wash-forest { background: linear-gradient(105deg, rgba(24, 78, 42, 0.78) 0%, rgba(22, 16, 14, 0.2) 48%, rgba(22, 16, 14, 0.58) 100%); }

.page-hero.tone-plum::after { background: linear-gradient(105deg, rgba(110, 18, 58, 0.78), rgba(22, 16, 14, 0.35) 55%, rgba(22, 16, 14, 0.55)); }
.page-hero.tone-teal::after { background: linear-gradient(105deg, rgba(10, 78, 74, 0.8), rgba(22, 16, 14, 0.28) 55%, rgba(22, 16, 14, 0.55)); }
.page-hero.tone-coral::after { background: linear-gradient(105deg, rgba(150, 48, 22, 0.78), rgba(22, 16, 14, 0.28) 55%, rgba(22, 16, 14, 0.55)); }
.page-hero.tone-gold::after { background: linear-gradient(105deg, rgba(110, 68, 8, 0.78), rgba(22, 16, 14, 0.25) 52%, rgba(18, 70, 66, 0.5)); }
.page-hero.tone-forest::after { background: linear-gradient(105deg, rgba(24, 78, 42, 0.8), rgba(22, 16, 14, 0.28) 55%, rgba(22, 16, 14, 0.55)); }

.slider-controls {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1.5rem;
}

.slider-controls > button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  color: white;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.slider-controls > button:hover {
  background: rgba(255, 255, 255, 0.28);
}

.dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.dots button.is-active {
  width: 28px;
  background: #fff;
}

.slide-label {
  margin: 0 0 0 0.3rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.86);
}

.hero-content,
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 2.2rem 0 1.6rem;
}

.hero h1 {
  margin: 0;
  max-width: min(18ch, 100%);
  font-size: clamp(1.7rem, 3.1vw, 2.75rem);
}

.hero p.lead {
  max-width: 38rem;
  margin: 1.1rem 0 0;
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.page-hero {
  position: relative;
  min-height: 300px;
  display: grid;
  align-items: end;
  color: white;
  overflow: hidden;
  background: #2a211c;
}

.office-head {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 1.6rem 2rem;
  align-items: center;
  margin-bottom: 0.4rem;
}

.office-head h2 {
  margin-top: 0;
  max-width: 16ch;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.office-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(42, 33, 28, 0.12);
}

.office-photo img {
  display: block;
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 32%;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.1rem);
}

.section {
  padding: 5rem 0;
}

.section-cream {
  background: var(--cream);
}

.section-ink {
  background: linear-gradient(135deg, #124743 0%, #1b3148 52%, #5a2344 100%);
  color: #f6f1e8;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1.6rem;
  position: relative;
  z-index: 2;
}

.pillar,
.card,
.plans article {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.pillar:hover,
.card:hover,
.plans article:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(48, 32, 16, 0.12);
}

.pillar {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 1.6rem 1.5rem 1.7rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--teal);
}

.pillar:nth-child(1) {
  border-top-color: var(--forest);
  background: linear-gradient(180deg, #e7f3e8 0%, #fffdf9 42%);
}
.pillar:nth-child(2) {
  border-top-color: var(--teal);
  background: linear-gradient(180deg, #e3f3f2 0%, #fffdf9 42%);
}
.pillar:nth-child(3) {
  border-top-color: var(--magenta);
  background: linear-gradient(180deg, #fbe7f0 0%, #fffdf9 42%);
}

.pillar-index {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.95rem;
}

.pillar:nth-child(1) .pillar-index { color: var(--forest); }
.pillar:nth-child(2) .pillar-index { color: var(--teal); }
.pillar:nth-child(3) .pillar-index { color: var(--magenta); }

.pillar h2,
.card h2,
.card h3 {
  margin: 0.35rem 0 0.7rem;
  font-size: 2rem;
  text-transform: capitalize;
}

.pillar p,
.card p,
.prose p {
  margin: 0 0 0.9rem;
  color: var(--ink-soft);
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}

.split h2 {
  margin: 0;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.photo-row,
.mosaic {
  display: grid;
  gap: 0.8rem;
}

.photo-row {
  grid-template-columns: 1fr 1fr 1fr;
  margin-top: 2.4rem;
}

.photo-row figure {
  position: relative;
  margin: 0;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.photo-row img,
.mosaic img,
.frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.frame {
  cursor: zoom-in;
}

.frame:hover {
  z-index: 3;
}

.frame:hover img,
.gallery-grid button:hover img,
.gallery-grid button:focus-visible img {
  transform: scale(1.12);
}

.frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.frame.tone-plum::after { background: linear-gradient(180deg, rgba(184, 51, 106, 0.05), rgba(110, 18, 58, 0.58)); }
.frame.tone-teal::after { background: linear-gradient(180deg, rgba(26, 106, 100, 0.05), rgba(10, 70, 66, 0.58)); }
.frame.tone-gold::after { background: linear-gradient(180deg, rgba(196, 146, 42, 0.08), rgba(110, 68, 8, 0.55)); }
.frame.tone-coral::after { background: linear-gradient(180deg, rgba(209, 93, 56, 0.08), rgba(140, 40, 18, 0.55)); }

.quote-band {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: center;
  color: white;
  overflow: hidden;
  background: #241c18;
}

.quote-band img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(110, 18, 58, 0.72), rgba(10, 78, 74, 0.68));
}

.quote-band .wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.quote-band blockquote {
  margin: 0 auto;
  max-width: 18em;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3.4vw, 2.7rem);
  font-weight: 520;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

.quote-mark {
  display: block;
  font-family: var(--serif);
  font-size: 4.5rem;
  line-height: 0.6;
  color: #f0c36a;
  margin-bottom: 0.6rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat {
  padding: 1.2rem 0 0;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat span {
  color: var(--muted);
  font-size: 0.92rem;
}

.stat:nth-child(1) strong { color: var(--magenta); }
.stat:nth-child(2) strong { color: var(--teal); }
.stat:nth-child(3) strong { color: var(--coral); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 1.4rem 1.3rem 1.5rem;
}

.section-ink .card {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: inherit;
}

.section-ink .card p,
.section-ink .prose p {
  color: rgba(246, 241, 232, 0.82);
}

.label,
.card .label {
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: 0;
  margin-top: 1.5rem;
}

.timeline article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.4rem;
  padding: 1.3rem 0;
  border-top: 1px solid var(--line);
}

.timeline h3 {
  margin: 0 0 0.4rem;
  font-size: 1.45rem;
}

.policy-list,
.reason-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.policy-list {
  counter-reset: policy;
}

.policy-list li,
.reason-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem 1.1rem 1rem 1.15rem;
}

.policy-list li {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}

.policy-list li::before {
  counter-increment: policy;
  content: counter(policy, decimal-leading-zero);
  font-family: var(--serif);
  color: var(--magenta);
  font-size: 1.05rem;
  padding-top: 0.1rem;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.plans article {
  background: white;
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
  border: 1px solid var(--line);
}

.plans strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.hours {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin: 1rem 0 1.4rem;
}

.hours div {
  background: var(--cream);
  border-radius: 16px;
  padding: 1rem;
}

.hours strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.gallery-grid {
  columns: 3 240px;
  column-gap: 0.8rem;
}

.gallery-grid button {
  display: block;
  width: 100%;
  margin: 0 0 0.8rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  border-radius: 16px;
  overflow: hidden;
  break-inside: avoid;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  transition: transform 0.55s ease;
}

.hover-zoom {
  position: fixed;
  z-index: 70;
  left: 50%;
  top: 50%;
  width: min(760px, 78vw);
  padding: 0;
  border: 0;
  border-radius: 22px;
  overflow: hidden;
  background: #1c1915;
  box-shadow: 0 30px 80px rgba(20, 12, 8, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -46%) scale(0.94);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.hover-zoom.is-on {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}

.hover-zoom img {
  width: 100%;
  max-height: 74vh;
  object-fit: contain;
  background: #1c1915;
}

dialog.lightbox {
  width: min(1100px, 94vw);
  height: min(86vh, 820px);
  padding: 0;
  border: 0;
  background: transparent;
  overflow: visible;
}

dialog.lightbox::backdrop {
  background: rgba(16, 12, 10, 0.88);
}

.lightbox img {
  width: 100%;
  height: min(78vh, 760px);
  object-fit: contain;
}

.lightbox-bar {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.lightbox-bar button,
.lightbox-nav {
  background: white;
  color: var(--ink);
  border: 0;
  border-radius: 999px;
  min-height: 42px;
  padding: 0.4rem 0.95rem;
  cursor: pointer;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.map-frame {
  margin-top: 1.6rem;
  border-radius: 22px;
  overflow: hidden;
  line-height: 0;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.contact-card,
.form-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.contact-card a {
  color: var(--teal);
  font-weight: 560;
}

.detail + .detail {
  margin-top: 1.3rem;
  padding-top: 1.3rem;
  border-top: 1px solid var(--line);
}

.detail h2 {
  margin: 0 0 0.35rem;
  font-size: 1.5rem;
}

form {
  display: grid;
  gap: 0.85rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 560;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 0.8rem 0.9rem;
  color: var(--ink);
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  padding: 2.8rem 0 1.3rem;
  color: #24312f;
  background:
    linear-gradient(115deg, rgba(18, 122, 114, 0.34) 0%, rgba(184, 51, 106, 0.28) 48%, rgba(212, 154, 42, 0.32) 100%);
  border-top: 4px solid transparent;
  border-image: linear-gradient(90deg, #1a6a64, #b8336a, #c4922a) 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 1rem;
  align-items: stretch;
}

.footer-brand,
.footer-block {
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 18px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: inherit;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: inset 0 0 0 2px rgba(26, 106, 100, 0.35);
}

.footer-grid .footer-block:nth-child(2) {
  background: rgba(255, 248, 230, 0.62);
  box-shadow: inset 0 0 0 2px rgba(196, 146, 42, 0.45);
}

.footer-grid .footer-block:nth-child(3) {
  background: rgba(255, 240, 246, 0.66);
  box-shadow: inset 0 0 0 2px rgba(184, 51, 106, 0.35);
}

.footer-brand img {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.7);
}

.footer-brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.1;
}

.footer-brand em {
  display: block;
  margin-top: 0.25rem;
  font-style: normal;
  color: #1a6a64;
  font-size: 0.92rem;
}

.footer-block h2 {
  margin: 0 0 0.45rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
}

.footer-grid .footer-block:nth-child(2) h2 {
  color: #9a6412;
}

.footer-grid .footer-block:nth-child(3) h2 {
  color: var(--magenta);
}

.footer-block p {
  margin: 0 0 0.45rem;
  line-height: 1.55;
}

.footer-block a {
  color: #1a6a64;
  font-weight: 560;
  text-decoration: none;
}

.footer-grid .footer-block:nth-child(3) a {
  color: #9d2458;
}

.footer-block a:hover {
  color: var(--magenta);
}

.socials {
  display: flex;
  gap: 0.55rem;
  margin-top: 0.7rem;
}

.socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  text-decoration: none;
}

.socials a:first-child {
  background: #1a6a64;
  color: white;
}

.socials a:last-child {
  background: #b8336a;
  color: white;
}

.socials a:hover {
  background: #24312f;
  color: white;
}

.socials svg,
.socials svg path {
  width: 18px;
  height: 18px;
  fill: #ffffff;
}

.footer-line {
  margin-top: 1.4rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(184, 51, 106, 0.28);
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li {
  display: inline-flex;
  align-items: center;
}

.footer-nav li + li::before {
  content: "•";
  margin: 0 0.7rem;
  color: var(--magenta);
  font-size: 1.05rem;
  line-height: 1;
}

.footer-nav a {
  color: #1a6a64;
  text-decoration: none;
  font-weight: 560;
}

.footer-nav a:hover {
  color: #b8336a;
}

.copyright {
  margin: 0.75rem 0 0;
  color: #6a3a52;
  font-size: 0.92rem;
}

@media (max-width: 860px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .footer-nav {
    justify-content: flex-start;
  }

  .footer-line {
    text-align: left;
  }
}

@media (max-width: 980px) {
  .pillars,
  .cards,
  .stats,
  .hours,
  .split,
  .contact-grid,
  .plans,
  .office-head,
  .report-grid {
    grid-template-columns: 1fr;
  }

  .photo-row {
    grid-template-columns: 1fr;
  }

  .photo-row figure,
  .photo-row figure:nth-child(2) {
    height: 220px;
    margin-top: 0;
  }

  .slider-controls {
    flex-wrap: wrap;
  }

  .timeline article {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .brand-text {
    display: none;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
    margin-left: auto;
  }

  .hero {
    min-height: calc(100vh - var(--header));
    min-height: calc(100svh - var(--header));
  }

  .hero h1 {
    font-size: 1.85rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }

  .site-nav {
    display: none;
    position: fixed;
    top: var(--header);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    margin: 0;
    padding: 1.1rem 1.15rem 2rem;
    overflow-y: auto;
    background: #fffdf9;
    box-shadow: 0 24px 40px rgba(28, 25, 21, 0.12);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 1.12rem;
    color: var(--ink);
    background: transparent;
  }

  .site-nav a[aria-current="page"] {
    color: var(--ink);
    background: #f3eee6;
  }

  .site-nav .btn,
  .site-nav a.btn[aria-current="page"] {
    justify-content: center;
    width: 100%;
    margin: 0.7rem 0 0;
    color: white;
    background: var(--teal);
  }

  .nav-drop {
    display: flex;
    flex-direction: column;
  }

  .nav-sub {
    display: block;
    position: static;
    min-width: 0;
    margin: 0 0 0.2rem;
    padding: 0 0 0.2rem 0.85rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-sub a {
    min-height: 44px;
    font-size: 1.02rem;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .gallery-grid img,
  .frame img,
  .pillar,
  .card,
  .plans article,
  .hover-zoom { transition: none; }
}
