:root {
  color-scheme: light;
  --ink: #17313a;
  --ink-soft: #526970;
  --accent: #19847b;
  --accent-dark: #0d665f;
  --accent-pale: #e8f6f3;
  --warm: #e9775f;
  --paper: #fffefd;
  --canvas: #f4f8f7;
  --line: #dce9e7;
  --shadow: 0 18px 50px rgba(25, 67, 72, 0.08);
  --radius: 18px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 280px;
  min-height: 100vh;
  color: var(--ink);
  background:
    radial-gradient(circle at 100% 0, rgba(25, 132, 123, 0.09), transparent 32rem),
    radial-gradient(circle at 0 38%, rgba(233, 119, 95, 0.055), transparent 28rem),
    var(--canvas);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.site-shell {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-header {
  min-height: 136px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border-bottom: 1px solid var(--line);
}

.brand {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.brand-mark {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(145deg, #26978c, var(--accent-dark));
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.7rem;
  line-height: 1;
  box-shadow: 0 9px 24px rgba(25, 132, 123, 0.2);
}

.brand-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.brand-subtitle {
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.075em;
  line-height: 1.45;
  text-transform: uppercase;
}

.phone-link {
  flex: 0 0 auto;
  display: grid;
  gap: 1px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 254, 253, 0.78);
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.phone-link:hover {
  border-color: var(--accent);
  background: var(--paper);
  transform: translateY(-1px);
}

.phone-label {
  color: var(--ink-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

main { padding: 42px 0 56px; }

.notice {
  display: grid;
  grid-template-columns: minmax(170px, 0.28fr) minmax(0, 1fr);
  margin-bottom: 30px;
  overflow: hidden;
  border: 1px solid #bddfdc;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.notice-heading {
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: linear-gradient(145deg, var(--accent-pale), #f3faf8);
  border-right: 1px solid #cfe7e5;
}

.notice-heading h1 {
  margin: 0;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.notice-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--warm);
  box-shadow: 0 0 0 5px rgba(233, 119, 95, 0.13);
}

.notice-scroll {
  min-width: 0;
  min-height: 0;
  padding: 26px 34px 34px;
  color: var(--ink-soft);
}

.notice-scroll p { margin: 0 0 14px; }
.notice-scroll p:last-child { margin-bottom: 0; }

.notice-scroll .notice-title {
  color: var(--ink);
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.notice-scroll ul {
  margin: 0 0 16px;
  padding-left: 1.25rem;
}

.notice-scroll li + li { margin-top: 5px; }

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.58fr) minmax(280px, 0.78fr);
  gap: 30px;
  align-items: start;
}

.primary-column,
.side-column {
  display: grid;
  gap: 30px;
}

.side-column {
  position: sticky;
  top: 24px;
}

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.card > h2,
.legal-section h2 {
  margin: 0 0 22px;
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.45;
  text-transform: uppercase;
}

.services { display: grid; }

.service {
  display: grid;
  grid-template-columns: minmax(150px, 0.8fr) minmax(0, 1.6fr);
  column-gap: 32px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.service:first-child {
  padding-top: 0;
  border-top: 0;
}

.service:last-child { padding-bottom: 0; }

.service h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.35;
}

.service ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--ink-soft);
}

.service li { padding-left: 3px; }
.service li + li { margin-top: 5px; }
.service li::marker { color: var(--accent); }

.service-note {
  grid-column: 2;
  margin: 16px 0 0;
  padding: 10px 13px;
  border-left: 3px solid var(--accent);
  background: var(--accent-pale);
  color: var(--accent-dark);
  font-size: 0.91rem;
  font-style: italic;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.team-list li {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.team-list li:nth-child(-n + 2) {
  padding-top: 0;
  border-top: 0;
}

.team-list span {
  font-weight: 700;
  line-height: 1.45;
}

.team-list small {
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.45;
}

.hours { margin: 0; }

.hours div {
  display: grid;
  grid-template-columns: minmax(90px, 0.8fr) minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}

.hours div:first-child {
  padding-top: 0;
  border-top: 0;
}

.hours div:last-child { padding-bottom: 0; }
.hours dt { font-weight: 750; }

.hours dd {
  margin: 0;
  color: var(--ink-soft);
  font-variant-numeric: tabular-nums;
}

.contact-card address {
  display: grid;
  gap: 18px;
  font-style: normal;
}

.contact-card address > div { min-width: 0; }

.contact-card address span {
  display: block;
  margin-bottom: 2px;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-card address p {
  margin: 0;
  overflow-wrap: anywhere;
  line-height: 1.5;
}

.contact-card address a {
  color: var(--accent-dark);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
}

footer a,
.back-link {
  color: var(--accent-dark);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid #9accc8;
}

footer a:hover,
.back-link:hover { border-color: var(--accent-dark); }

.legal-shell { width: min(900px, calc(100% - 48px)); }
.legal-main { min-height: calc(100vh - 227px); }
.legal-intro { margin-bottom: 26px; }

.eyebrow {
  margin: 0 0 5px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.legal-intro h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.legal-card {
  display: grid;
  gap: 28px;
}

.legal-section {
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.legal-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.legal-section h2 { margin-bottom: 9px; }

.legal-section p {
  margin: 0;
  color: var(--ink-soft);
}

@media (max-width: 820px) {
  .site-shell,
  .legal-shell { width: min(100% - 32px, 680px); }

  .site-header { min-height: 116px; }
  .brand-subtitle { max-width: 360px; }

  .phone-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .content-grid { grid-template-columns: 1fr; }

  .side-column {
    position: static;
    grid-row: 1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .service-note { grid-column: 1; }
}

@media (max-width: 620px) {
  .site-shell,
  .legal-shell { width: min(100% - 24px, 540px); }

  .site-header {
    min-height: 104px;
    gap: 12px;
  }

  .brand { gap: 11px; }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
    font-size: 1.35rem;
  }

  .brand-name { font-size: 1.32rem; }
  .brand-subtitle { display: none; }

  .phone-link {
    padding: 9px 11px;
    font-size: 0.88rem;
  }

  main { padding: 24px 0 38px; }

  .notice {
    grid-template-columns: 1fr;
    min-height: 0;
    margin-bottom: 18px;
  }

  .notice-heading {
    padding: 17px 20px;
    border-right: 0;
    border-bottom: 1px solid #cfe7e5;
  }

  .notice-scroll {
    padding: 19px 20px 23px;
  }

  .content-grid,
  .primary-column,
  .side-column { gap: 18px; }

  .side-column { grid-template-columns: 1fr; }

  .card {
    padding: 22px 20px;
    border-radius: 15px;
  }

  .card > h2 { margin-bottom: 18px; }
  .team-list { grid-template-columns: 1fr; }

  .team-list li:nth-child(2) {
    padding-top: 14px;
    border-top: 1px solid var(--line);
  }

  footer { min-height: 78px; }
  footer span { display: none; }
  footer a { margin-left: auto; }

  .back-link {
    font-size: 0.88rem;
    white-space: nowrap;
  }
}

@media (max-width: 380px) {
  .phone-link { display: none; }
  .brand-name { font-size: 1.25rem; }

  .hours div {
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 10px;
  }
}

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

  *, *::before, *::after {
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body { background: white; }

  .site-shell,
  .legal-shell { width: 100%; }

  .site-header {
    min-height: auto;
    padding: 24px 0;
  }

  .phone-link,
  .back-link,
  footer { display: none; }

  .card,
  .notice {
    box-shadow: none;
    break-inside: avoid;
  }

}
