:root {
  --accent: #914552;
  --accent-dark: #71343f;
  --ink: #17191c;
  --muted: #626970;
  --line: #d8dadd;
  --nav: #f1edef;
  --nav-hover: #e8dfe2;
  --white: #ffffff;
  --sans: "Segoe UI", Arial, Helvetica, sans-serif;
  --content-width: 1080px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1rem; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 100;
  padding: .7rem 1rem;
  color: #fff;
  background: var(--accent);
  transform: translateY(-160%);
}

.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: min(calc(100% - 2.5rem), var(--content-width));
  margin: 0 auto;
  padding: 1rem 0 1.2rem;
}

.site-header {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3.6rem;
  align-items: center;
  min-height: 105px;
}

.brand { width: 230px; display: block; }
.brand img { width: 100%; height: auto; }

.identity { color: var(--accent); }
.identity h1, .identity p { margin: 0; }
.identity h1 {
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.08;
  font-weight: 700;
}
.identity p {
  margin-top: .15rem;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.2;
}

.menu-button { display: none; }

.page-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 3.6rem;
  align-items: start;
}

.sidebar { min-width: 0; }
.profile { margin-top: 1.05rem; font-size: .9rem; }

.profile > img {
  width: 142px;
  height: 214px;
  object-fit: cover;
  object-position: center top;
}

.profile > div {
  display: grid;
  justify-items: start;
  gap: .15rem;
  margin-top: .55rem;
}
.profile strong { line-height: 1.3; }
.profile a { text-underline-offset: .18em; }

.side-nav {
  display: grid;
  margin-top: 1.8rem;
  border: 1px solid #e4e1e2;
}

.side-nav a {
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: .75rem 1.2rem;
  border-bottom: 1px solid var(--white);
  background: var(--nav);
  font-size: 1rem;
  line-height: 1.35;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.side-nav a:last-child { border-bottom: 0; }
.side-nav a:hover,
.side-nav a:focus-visible,
.side-nav a[aria-current="page"] {
  color: var(--accent-dark);
  background: var(--nav-hover);
}

.main-content {
  min-width: 0;
  padding-top: 1.05rem;
  border-top: 1px solid var(--line);
  overflow-wrap: anywhere;
}

.page-heading {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 1.45rem;
  line-height: 1.2;
}

.prose p { margin: 0 0 1rem; }
.prose h2, .prose h3, .prose h4 {
  margin: 1.45rem 0 .55rem;
  color: var(--accent);
  line-height: 1.25;
}
.prose h2 { font-size: 1.2rem; }
.prose h3 { font-size: 1.05rem; }
.prose h4 { font-size: 1rem; }
.section-heading {
  display: flex;
  gap: .55rem;
  align-items: center;
}
.section-icon {
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.prose ul, .prose ol { margin: 0 0 1.2rem; padding-left: 1.35rem; }
.prose li { margin-bottom: .42rem; }
.prose a { text-decoration-style: dotted; text-underline-offset: .2em; }
.prose a:hover, .prose a:focus-visible {
  color: var(--accent-dark);
  text-decoration-style: solid;
}
.lead { font-size: 1.06rem; }
.contact-block { font-style: normal; }
.draft-note { color: var(--muted); }
.service-topics p { margin-bottom: .8rem; }
.audience-list { margin: 0 0 1.5rem; }
.audience-list dt {
  color: var(--accent);
  font-weight: 700;
  margin-top: 1rem;
}
.audience-list dd { margin: .15rem 0 0; }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: .8rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .8rem;
}

.site-footer p { margin: 0; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1rem; }
.site-footer a, .print-button { text-underline-offset: .2em; }
.print-button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

:focus-visible { outline: 3px solid #d9a84c; outline-offset: 3px; }

.gallery-note {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: .92rem;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
}

.photo-tile {
  position: relative;
  aspect-ratio: 1;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #f5f1f2;
  cursor: zoom-in;
}

.photo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .2s ease, filter .2s ease;
}

.photo-tile:hover img,
.photo-tile:focus-visible img {
  transform: scale(1.025);
  filter: contrast(1.03);
}

.lightbox {
  width: min(94vw, 1040px);
  height: min(92vh, 820px);
  margin: auto;
  padding: 2.75rem 3.75rem 2rem;
  overflow: hidden;
  border: 0;
  background: #171214;
  color: #fff;
  box-shadow: 0 20px 70px rgba(0, 0, 0, .38);
}

.lightbox::backdrop { background: rgba(24, 16, 19, .84); }

.lightbox figure {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: .6rem;
  margin: 0;
}

.lightbox figure img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.lightbox figcaption {
  min-height: 1.5rem;
  text-align: center;
  color: #e3dfe0;
  font-size: .85rem;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .35);
  color: #fff;
  background: rgba(23, 18, 20, .76);
  cursor: pointer;
}

.lightbox-close {
  top: .7rem;
  right: .7rem;
  width: 2.75rem;
  height: 2.75rem;
  font-size: 1.55rem;
}

.lightbox-nav {
  top: 50%;
  width: 2.75rem;
  height: 3.75rem;
  transform: translateY(-50%);
  font-size: 2rem;
}

.lightbox-prev { left: .55rem; }
.lightbox-next { right: .55rem; }

@media (max-width: 900px) {
  .site-header, .page-grid {
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 2rem;
  }
  .brand { width: 220px; }
}

@media (max-width: 680px) {
  .page-shell {
    position: relative;
    width: min(calc(100% - 1.5rem), var(--content-width));
    padding-top: .7rem;
  }

  .site-header {
    position: relative;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    min-height: 72px;
    padding-bottom: .7rem;
    border-bottom: 1px solid var(--line);
  }

  .brand { width: min(210px, 62vw); }
  .identity { display: none; }
  .menu-button {
    position: relative;
    z-index: 40;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .75rem;
    border: 1px solid var(--line);
    color: var(--ink);
    background: var(--white);
    font: 600 .9rem/1 var(--sans);
    cursor: pointer;
  }

  .page-grid { display: flex; flex-direction: column; gap: 0; }
  .sidebar { display: contents; }
  .profile {
    order: 1;
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: .85rem;
    align-items: center;
    margin: 1rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
  .profile > img { width: 76px; height: 106px; }
  .profile > div { margin: 0; }

  .side-nav { display: none; }
  .side-nav.is-open {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 30;
    width: min(84vw, 320px);
    display: flex;
    flex-direction: column;
    gap: .25rem;
    margin: 0;
    padding: 5rem .75rem 1rem;
    overflow-y: auto;
    border: 0;
    border-left: 1px solid var(--line);
    background: var(--white);
    box-shadow: -12px 0 28px rgba(38, 25, 29, .18);
  }
  .side-nav a {
    min-height: 48px;
    padding: .55rem .75rem;
    border: 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    font-size: .94rem;
  }
  .side-nav a:hover,
  .side-nav a:focus-visible,
  .side-nav a[aria-current="page"] {
    color: var(--accent-dark);
    background: #f8f4f5;
  }

  body.menu-open { overflow: hidden; }
  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 20;
    background: rgba(30, 20, 23, .24);
  }
  body.menu-open .menu-button {
    position: fixed;
    top: .85rem;
    right: .75rem;
  }

  .main-content {
    order: 2;
    padding-top: 1rem;
    border-top: 0;
  }
  .gallery-content { padding-top: 1rem; }
  .page-heading { font-size: 1.3rem; }
  .prose ul, .prose ol { padding-left: 1.2rem; }
  .photo-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .55rem; }
  .lightbox {
    width: 100vw;
    height: 100dvh;
    max-width: none;
    max-height: none;
    padding: 3.5rem 2.8rem 1.2rem;
  }
  .site-footer { margin-top: 1rem; }
}

@media (max-width: 430px) {
  .site-footer { align-items: flex-start; flex-direction: column; gap: .4rem; }
}

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

@media print {
  .menu-button, .side-nav, .print-button { display: none; }
  .page-shell { width: 100%; }
  .site-header, .page-grid { grid-template-columns: 230px 1fr; gap: 2rem; }
  .site-footer { color: #333; }
}
