:root {
  --brand: #c4372b;
  --brand-dark: #9c2a21;
  --brand-soft: #fcebe8;
  --accent: #f2a93b;
  --accent-soft: #fff3df;
  --accent-ink: #8a5300;
  --ink: #2a2422;
  --muted: #6b605c;
  --bg: #fffaf5;
  --surface: #ffffff;
  --tint: #fbf1e9;
  --line: #efe2d8;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 14px 36px rgba(60, 30, 20, 0.08);
  --shadow-lg: 0 24px 60px rgba(60, 30, 20, 0.14);
  --font: "Commissioner", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--brand-dark);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--brand);
}

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.015em;
}

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

.nobreak {
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brand);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

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

.container {
  width: min(1160px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 245, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 76px;
}

.brand img {
  height: 50px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav ul {
  display: flex;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a:not(.btn) {
  display: block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"],
.site-nav a.is-in-section {
  background: var(--brand-soft);
  color: var(--brand-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  position: absolute;
  left: 50%;
  width: 20px;
  height: 2px;
  margin-left: -10px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle-bar {
  top: 50%;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  left: 0;
  margin-left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translateY(-6px) rotate(-45deg);
}

/* Buttons & labels */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-dark);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  border-color: var(--line);
  color: var(--ink);
}

.btn-secondary:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
}

.eyebrow {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-ink);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero */

.hero {
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(circle at 90% 10%, var(--accent-soft) 0, transparent 40%),
    radial-gradient(circle at 0% 100%, var(--brand-soft) 0, transparent 45%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.hero h1 {
  margin: 1rem 0;
  font-size: clamp(2.3rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--brand);
}

.hero h1 span {
  color: var(--accent);
}

.hero p {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 50ch;
  margin: 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-points li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.hero-points strong {
  color: var(--ink);
}

.hero-media {
  position: relative;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  position: absolute;
  right: -0.75rem;
  bottom: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 0.8rem 1.1rem;
  box-shadow: var(--shadow);
  font-weight: 600;
}

.hero-badge strong {
  color: var(--brand);
  font-size: 1.4rem;
  margin-right: 0.25rem;
}

/* Sections */

.section {
  padding: 3rem 0;
}

.section-tinted {
  background: var(--tint);
}

.section-header {
  max-width: min(80ch, 100%);
  margin-bottom: 2.5rem;
}

.section-header h2,
.contact-card h2 {
  margin: 0.75rem 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

/* About */

.about-flow {
  overflow: auto;
  text-align: justify;
}

.about-media {
  float: left;
  width: min(38%, 340px);
  margin: 0 2.75rem 1.35rem 0;
}

.about-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 90px 28px 28px 28px;
  box-shadow: var(--shadow-lg);
}

.about-flow > p {
  color: var(--muted);
}

.about-flow > p:first-of-type {
  margin-top: 0;
}

.philosophy-expand {
  margin: 1.1rem 0;
}

.philosophy-expand summary {
  cursor: pointer;
  list-style: none;
  display: flow-root;
  overflow: hidden;
  text-align: start;
  color: var(--muted);
  line-height: 1.65;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.philosophy-expand summary::-webkit-details-marker {
  display: none;
}

.philosophy-expand summary:hover,
.philosophy-expand[open] summary {
  border-color: #f1c8c1;
  background: var(--brand-soft);
}

.philosophy-more-open,
.philosophy-more-close {
  display: inline-block;
  margin-left: 0.35rem;
  color: var(--brand-dark);
  font-weight: 700;
  white-space: nowrap;
}

.philosophy-more-close {
  display: none;
}

.philosophy-expand[open] .philosophy-more-open {
  display: none;
}

.philosophy-expand[open] .philosophy-more-close {
  display: inline-block;
}

.philosophy-body {
  margin-top: 0.85rem;
}

.philosophy-body > * + * {
  margin-top: 1.15rem;
}

.philosophy-body > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.philosophy-lead {
  color: var(--ink);
}

.philosophy-block {
  overflow: auto;
  background: var(--tint);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.35rem 1.2rem;
}

.philosophy-block h3 {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  color: var(--brand-dark);
}

.philosophy-block ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.philosophy-block li + li {
  margin-top: 0.45rem;
}

.philosophy-closing {
  color: var(--ink) !important;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1.65;
  padding-top: 0.25rem;
  border-top: 1px solid var(--line);
}

/* Services */

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

.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  color: inherit;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: #f1c8c1;
}

.service-icon {
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
}

.service-icon svg {
  width: 26px;
  height: 26px;
}

.service-icon--group svg {
  width: 30px;
  height: 30px;
}

.service-card:nth-child(even) .service-icon {
  background: var(--accent-soft);
  color: var(--accent-ink);
}

.service-card h3 {
  margin: 0.25rem 0 0;
  font-size: 1.08rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.93rem;
  flex: 1;
}

.service-link {
  font-weight: 700;
  color: var(--brand);
  font-size: 0.92rem;
}

.service-card:hover .service-link span {
  margin-left: 0.25rem;
}

.service-link span {
  transition: margin 0.2s ease;
}

/* Team */

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

.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.team-card:hover {
  border-color: #f1c8c1;
}

.team-card.is-open {
  grid-column: 1 / -1;
  border-color: #f1c8c1;
  box-shadow: var(--shadow-lg);
}

.team-heading {
  margin: 0;
  font-size: inherit;
}

.team-summary {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.team-photo {
  position: relative;
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-soft), var(--accent-soft));
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px var(--line);
  display: grid;
  place-items: center;
  transition: width 0.3s ease, height 0.3s ease, box-shadow 0.3s ease;
}

.team-card.is-open .team-photo {
  width: 112px;
  height: 112px;
  box-shadow: 0 0 0 1px var(--line), 0 8px 20px rgba(0, 0, 0, 0.08);
}

.team-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-initials {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--brand);
  letter-spacing: 0.04em;
}

.team-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.team-name {
  font-weight: 700;
  font-size: 1.05rem;
}

.team-role {
  color: var(--brand-dark);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
}

.team-meta {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.85rem;
  line-height: 1.4;
}

.team-toggle {
  position: relative;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  transition: background 0.2s ease, transform 0.25s ease;
}

.team-toggle::before,
.team-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  margin: -1px 0 0 -7px;
  background: var(--brand);
  border-radius: 2px;
  transition: transform 0.25s ease;
}

.team-toggle::after {
  transform: rotate(90deg);
}

.team-card.is-open .team-toggle {
  background: var(--brand);
  transform: rotate(180deg);
}

.team-card.is-open .team-toggle::before,
.team-card.is-open .team-toggle::after {
  background: #fff;
}

.team-card.is-open .team-toggle::after {
  transform: rotate(0deg);
}

.team-bio {
  border-top: 1px solid var(--line);
}

.team-bio-inner {
  padding: 0.5rem 1.5rem 1.5rem;
  color: var(--muted);
  max-width: 85ch;
}

.team-bio-inner ul {
  columns: 2;
  column-gap: 2rem;
  list-style: none;
  list-style-type: none;
  margin: 0.65rem 0 0.9rem 1rem;
  padding: 0.45rem 0 0.45rem 1.35rem;
  border-left: 3px solid var(--accent-soft);
}

.team-bio-inner li {
  position: relative;
  list-style: none;
  list-style-type: none;
  break-inside: avoid;
  margin: 0 0 0.5rem;
  padding: 0 0 0 1.2rem;
  color: var(--ink);
  line-height: 1.55;
}

.team-bio-inner li::marker {
  content: none;
}

.team-bio-inner li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 2px var(--brand-soft);
  transform: translateY(-50%);
}

/* Gallery & lightbox */

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

.gallery-grid a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-grid a:hover img {
  transform: scale(1.05);
}

.lightbox {
  width: min(1000px, 94vw);
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #1b1513;
  overflow: visible;
}

.lightbox::backdrop {
  background: rgba(20, 12, 10, 0.82);
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius);
}

.lightbox-btn {
  position: absolute;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.lightbox-close {
  top: -14px;
  right: -14px;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev {
  left: 12px;
}

.lightbox-next {
  right: 12px;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 1.5rem;
}

.contact-card,
.map-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.map-card {
  padding: 0.6rem;
}

.contact-lede {
  margin: 0.75rem 0 0;
  color: var(--muted);
  line-height: 1.65;
  max-width: 36rem;
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.1rem;
}

.contact-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.contact-list strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  border-radius: var(--radius-sm);
}

/* Footer */

.site-footer {
  background: #2a2422;
  color: #d8ccc6;
  padding: 1rem 0;
  font-size: 1rem;
}

.footer-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-copy {
  order: 1;
}

.footer-social {
  order: 2;
  flex-shrink: 0;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-social {
  display: flex;
  gap: 0.65rem;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: flex-end;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.footer-social svg {
  width: 1.2rem;
  height: 1.2rem;
}

.footer-copy {
  margin: 0;
  font-size: 0.9rem;
  color: #b8a8a0;
  text-align: left;
}

/* Service pages */

.page-hero {
  padding: 2.5rem 0 1.5rem;
  background: radial-gradient(circle at 95% 0%, var(--accent-soft) 0, transparent 45%);
}

.breadcrumb {
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  text-decoration: none;
}

.page-hero h1 {
  margin: 0 0 0.35rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  color: var(--brand);
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 65ch;
}

.content-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: var(--shadow);
  font-size: 1.03rem;
}

.content-panel > :first-child {
  margin-top: 0;
}

.content-panel h2 {
  margin: 2.25rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 1.3rem;
  color: var(--brand-dark);
}

.content-panel > h2:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-panel p {
  margin: 0 0 1rem;
}

.content-panel ul {
  padding-left: 0;
  list-style: none;
  margin: 0 0 1.25rem;
}

.content-panel li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0.45rem 0;
}

.content-panel li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.content-panel ul ul {
  margin: 0.4rem 0 0.4rem 0.5rem;
}

.content-panel ul ul li::before {
  background: transparent;
  border: 2px solid var(--brand);
  width: 7px;
  height: 7px;
}

/* Responsive */

@media (max-width: 1080px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 2.5rem;
  }

  .about-media {
    float: none;
    width: 100%;
    margin: 0 0 1.5rem;
  }

  .about-media img {
    max-height: 420px;
    aspect-ratio: 16 / 10;
    border-radius: 36px 18px 18px 18px;
  }

  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
  }

  .site-nav a:not(.btn) {
    padding: 0.8rem 1rem;
    border-radius: var(--radius-sm);
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 2rem);
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-copy {
    text-align: center;
  }

  .footer-social {
    justify-content: center;
  }

  .section {
    padding: 3.5rem 0;
  }

  .philosophy {
    padding: 1.4rem 1.15rem 1.25rem;
  }

  .hero {
    padding: 2rem 0 3rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-badge {
    right: 0.75rem;
    bottom: 0.75rem;
  }

  .services-grid,
  .team-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-photo {
    width: 60px;
    height: 60px;
  }

  .team-card.is-open .team-photo {
    width: 92px;
    height: 92px;
  }

  .team-bio-inner {
    padding: 0.25rem 1.25rem 1.25rem;
  }

  .team-bio-inner ul {
    columns: 1;
    margin-left: 0.65rem;
    padding-left: 1.15rem;
  }

  .contact-card {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
