:root{
  --bg: #EAF1EB;
  --surface: #FFFFFF;
  --surface-alt: #F2F5F2;
  --ink: #2B2230;
  --ink-soft: #5C5162;
  --ink-faint: #6D6173;

  --burgundy: #782A34;
  --burgundy-deep: #60202B;
  --blue: #3E6586;
  --blue-soft: #8AAECD;
  --blue-tint: #D7E8F2;
  --green: #6B8A62;
  --green-soft: #9BB793;
  --green-tint: #DCEAD6;

  --border: #DFDADB;
  --focus: #2D5FE0;
  --on-burgundy: #FFF7F5;
  --shadow: 0 16px 36px -24px rgba(43,34,48,0.22);

  color-scheme: light;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
@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; scroll-behavior: auto !important; }
}

body{
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Seravek", "Gill Sans Nova", "Segoe UI", Calibri, Roboto, sans-serif;
  font-size: 19px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3{
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  font-weight: 600;
  text-wrap: balance;
  color: var(--ink);
  margin: 0;
}

p{ margin: 0; }
a{ color: var(--blue); }
a:focus-visible, button:focus-visible, .btn:focus-visible{
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.wrap{
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  position: relative;
  z-index: 1;
}

.eyebrow{
  font-family: "Seravek", "Gill Sans Nova", "Segoe UI", Calibri, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .wrap{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}
.brand img{ width: 44px; height: 44px; }
.brand-name{
  font-family: "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.15;
}
.brand-name small{
  display: block;
  font-family: "Seravek", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}

.main-nav{
  display: none;
  align-items: center;
  gap: 30px;
  margin: 0 auto;
}
.main-nav a{
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.main-nav a:hover{ color: var(--burgundy); }
.main-nav a[aria-current="page"]{ color: var(--burgundy); border-bottom-color: var(--burgundy); }
@media (min-width: 980px){ .main-nav{ display: flex; } }

.nav-toggle{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span{ width: 20px; height: 2px; background: var(--ink); display: block; }
@media (min-width: 980px){ .nav-toggle{ display: none; } }

.nav-panel{
  display: none;
  flex-direction: column;
  gap: 2px;
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}
.nav-panel.is-open{ display: flex; }
.nav-panel a{
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 17px;
  font-weight: 600;
  padding: 14px clamp(20px, 5vw, 48px);
  border-top: 1px solid var(--border);
}
.nav-panel a[aria-current="page"]{ color: var(--burgundy); }
@media (min-width: 980px){ .nav-panel{ display: none !important; } }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  min-height: 48px;
}
.btn-primary{ background: var(--burgundy); color: var(--on-burgundy); }
.btn-primary:hover{ background: var(--burgundy-deep); }
.btn-ghost{ background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover{ border-color: var(--blue); color: var(--blue); }
.btn-on-burgundy{ background: var(--on-burgundy); color: var(--burgundy-deep); }
.btn-on-burgundy:hover{ background: #fff; }
.btn:hover{ transform: translateY(-1px); }
.btn-sm{ padding: 10px 18px; font-size: 15px; min-height: 40px; }

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

/* ---------- Hero ---------- */
.hero{
  position: relative;
  overflow: clip;
  padding: clamp(56px, 9vw, 108px) 0 clamp(48px, 7vw, 84px);
  background: linear-gradient(160deg, var(--blue-tint) 0%, var(--green-tint) 100%);
}
.hero-watermark{
  position: absolute;
  top: -6%;
  right: -2%;
  width: min(820px, 68vw);
  opacity: 0.14;
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.hero .wrap{ position: relative; }
.hero-grid{
  display: grid;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  grid-template-columns: 1fr;
}
.hero-eyebrow{ margin-bottom: 18px; }
.hero h1{
  font-size: clamp(34px, 5.4vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
}
.hero h1 em{
  font-style: normal;
  color: var(--burgundy);
}
.hero-sub{
  margin-top: 20px;
  font-size: 20px;
  color: var(--ink-soft);
  max-width: 70ch;
}
.hero-actions{
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-facts{
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.hero-fact{ display: flex; flex-direction: column; gap: 2px; }
.hero-fact strong{
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: 22px;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
}
.hero-fact span{ font-size: 14px; color: var(--ink-faint); }

/* ---------- Page hero (interior pages) ---------- */
.page-hero{
  padding: clamp(48px, 8vw, 76px) 0 clamp(36px, 6vw, 56px);
  background: linear-gradient(135deg, var(--blue-tint) 0%, var(--green-tint) 100%);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow{ margin-bottom: 14px; }
.page-hero h1{ font-size: clamp(32px, 4.6vw, 48px); line-height: 1.1; max-width: 36ch; }
.page-hero p{ margin-top: 16px; font-size: 19px; color: var(--ink-soft); max-width: 75ch; }

/* ---------- Section shell ---------- */
section{ padding: clamp(56px, 8vw, 96px) 0; }
.section-head{ max-width: 62ch; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2{
  margin-top: 12px;
  font-size: clamp(28px, 3.4vw, 38px);
  line-height: 1.14;
}
.section-head p{
  margin-top: 16px;
  font-size: 18px;
  color: var(--ink-soft);
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }

.reveal{
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible{ opacity: 1; transform: none; }

.band-blue{ background: var(--blue-tint); }
.band-green{ background: var(--green-tint); }
.band-burgundy{ background: var(--burgundy); color: var(--on-burgundy); }
.band-burgundy h2, .band-burgundy h3{ color: var(--on-burgundy); }
.band-burgundy p{ color: color-mix(in srgb, var(--on-burgundy) 85%, transparent); }
.band-burgundy .eyebrow{ color: color-mix(in srgb, var(--on-burgundy) 80%, transparent); }
.band-burgundy a:not(.btn){ color: var(--on-burgundy); }

.band-blue, .band-green, .band-burgundy{ position: relative; overflow: clip; }
.band-blue::after, .band-green::after, .band-burgundy::after{
  content: "";
  position: absolute;
  right: clamp(-80px, -6vw, -30px);
  bottom: clamp(-80px, -6vw, -30px);
  width: clamp(220px, 32vw, 420px);
  aspect-ratio: 1;
  background-image: url("srclogo.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  z-index: 0;
}
.band-blue::after, .band-green::after{ opacity: 0.08; }
.band-burgundy::after{ opacity: 0.1; filter: brightness(0) invert(1); }

/* ---------- Mission ---------- */
.mission{ border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.mission-body{
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}
@media (min-width: 880px){ .mission-body{ grid-template-columns: 1fr 1fr; align-items: start; } }
.mission-quote{
  font-family: "Iowan Old Style", Georgia, serif;
  font-size: clamp(22px, 2.6vw, 27px);
  line-height: 1.45;
  color: var(--ink);
}
.mission-quote span{ color: var(--burgundy); }

.credential-list{
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  max-width: 68ch;
}
.credential-list li{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Card grids (values) ---------- */
.values-grid{
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.value-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.value-card .mark{
  width: 38px; height: 38px;
  border-radius: 10px;
  background: color-mix(in srgb, var(--blue) 16%, transparent);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
}
.value-card:nth-child(even) .mark{
  background: color-mix(in srgb, var(--green) 18%, transparent);
  color: var(--green);
}
.value-card h3{ font-size: 19px; font-weight: 600; }
.value-card p{ color: var(--ink-soft); font-size: 16.5px; }

/* ---------- Home service summary (no cards, light touch) ---------- */
.service-summary{
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}
.service-summary-item{
  border-top: 3px solid var(--burgundy);
  padding-top: 14px;
}
.service-summary-item h3{ font-size: 18px; font-weight: 600; line-height: 1.3; }
.service-summary-item p{ margin-top: 8px; color: var(--ink-soft); font-size: 16px; line-height: 1.5; }

/* ---------- Licensed service breakdowns (open layout, no card chrome) ---------- */
.service-grid{
  display: grid;
  gap: 32px 40px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 8px;
}
.service-block{
  border-top: 3px solid var(--burgundy);
  padding-top: 16px;
}
.service-block h3{
  font-size: 18.5px;
  font-weight: 600;
  margin-bottom: 14px;
}
.service-block ul{
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.service-block li{
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.5;
}
.notice-box{
  margin-top: 24px;
  background: color-mix(in srgb, var(--burgundy) 8%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--burgundy) 28%, var(--border));
  border-radius: 14px;
  padding: 18px 22px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
}
.notice-box strong{ color: var(--burgundy); }

/* ---------- Day rhythm ---------- */
.day-steps{
  display: grid;
  gap: 0;
  grid-template-columns: 1fr;
  border-left: 2px solid var(--border);
}
@media (min-width: 880px){
  .day-steps{ grid-template-columns: repeat(4, 1fr); border-left: none; border-top: 2px solid var(--border); }
}
.day-step{
  position: relative;
  padding: 22px 0 22px 30px;
}
@media (min-width: 880px){ .day-step{ padding: 30px 20px 0 0; } }
.day-step::before{
  content: "";
  position: absolute;
  left: -7px; top: 26px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--burgundy);
  border: 3px solid var(--surface);
}
@media (min-width: 880px){ .day-step::before{ left: 0; top: -8px; } }
.day-step time{
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--burgundy);
  font-variant-numeric: tabular-nums;
}
.day-step h3{ margin-top: 8px; font-size: 18.5px; font-weight: 600; }
.day-step p{ margin-top: 6px; color: var(--ink-soft); font-size: 16px; }

/* ---------- Gallery (collage) ---------- */
.gallery-grid{
  column-width: 270px;
  column-gap: 18px;
}
.photo-tile{
  position: relative;
  display: block;
  break-inside: avoid;
  margin-bottom: 18px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.photo-tile img{
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.photo-tile:hover img{ transform: scale(1.05); }
.gallery-note{
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--ink-faint);
  border-left: 3px solid var(--green-soft);
  padding-left: 16px;
}
.gallery-note a{ font-weight: 700; }
.gallery-loading{ color: var(--ink-faint); font-size: 16px; }
.staff-link{ color: var(--ink-faint); text-decoration: underline; }
.staff-link:hover{ color: var(--blue); }

/* ---------- Visit / Contact ---------- */
.visit-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: clamp(26px, 3vw, 36px);
  box-shadow: var(--shadow);
}
.visit-row{
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.visit-row:first-of-type{ border-top: none; padding-top: 0; }
.visit-row .label{
  width: 92px;
  flex-shrink: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-faint);
  padding-top: 3px;
}
.visit-row a, .visit-row div{ color: var(--ink); text-decoration: none; font-size: 17px; }
.visit-row a:hover{ color: var(--blue); }
table.hours{ width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.hours td{ padding: 3px 0; font-size: 17px; color: var(--ink); }
table.hours td:last-child{ text-align: right; color: var(--ink-soft); }
.visit-card .btn{ margin-top: 22px; width: 100%; }

/* ---------- CTA band ---------- */
.cta-band{ text-align: center; }
.cta-band .section-head{ margin-left: auto; margin-right: auto; }
.cta-band .hero-actions{ justify-content: center; margin-top: 28px; }

/* ---------- Footer ---------- */
footer{
  border-top: 1px solid var(--border);
  background: var(--surface-alt);
  padding: 44px 0 28px;
}
.footer-grid{
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}
@media (min-width: 780px){ .footer-grid{ grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand{ display: flex; align-items: center; gap: 12px; }
.footer-brand img{ width: 34px; height: 34px; }
.footer-brand strong{ font-size: 16px; }
.footer-links, .footer-contact{ display: flex; flex-direction: column; gap: 10px; }
.footer-links-grid{
  display: grid;
  grid-template-columns: repeat(2, auto);
  grid-auto-flow: column;
  grid-template-rows: repeat(3, auto);
  column-gap: 28px;
  row-gap: 10px;
}
.footer-links a, .footer-contact a{ color: var(--ink-soft); text-decoration: none; font-size: 15px; }
.footer-links a:hover, .footer-contact a:hover{ color: var(--blue); }
.footer-heading{ font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 4px; }
.social-links{ display: flex; gap: 10px; margin-top: 4px; }
.social-links a{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-soft);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.social-links a:hover{ background: var(--blue); border-color: var(--blue); color: var(--on-burgundy); }
.social-links svg{ width: 18px; height: 18px; fill: currentColor; }
.footer-bottom{
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--ink-faint);
}
.footer-bottom p{ margin: 0; }
.footer-licenses{
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--ink-soft);
}
