:root {
  --bg: #f5f3ec;
  --panel: #ffffff;
  --ink: #183234;
  --text: #384b4d;
  --muted: #6f7d7f;
  --line: #d9ddd8;
  --sage: #dfe9e1;
  --sage-deep: #8ea792;
  --gold: #b99a57;
  --gold-soft: #eadfca;
  --shadow: 0 20px 60px rgba(24, 50, 52, 0.12);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  border-top: 8px solid var(--sage-deep);
  border-bottom: 8px solid var(--sage-deep);
  background:
    linear-gradient(90deg, rgba(223, 233, 225, 0.62), transparent 38%),
    var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

.topbar {
  width: min(1120px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  object-fit: cover;
  background: var(--panel);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.12;
}

.brand strong {
  font-size: 1rem;
}

.brand small {
  color: var(--muted);
  font-size: 0.86rem;
}

main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto 28px;
}

.profile {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.72fr);
  gap: 24px;
  align-items: center;
  padding: 24px 0 32px;
}

.profile-text {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #426f77;
  font-size: 0.8rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 720px;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 880;
}

.lead {
  max-width: 680px;
  margin: 16px 0 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 2.4vw, 1.52rem);
  line-height: 1.34;
}

.summary {
  max-width: 620px;
  margin: 14px 0 0;
  color: var(--text);
  font-size: 1rem;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  background: var(--ink);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--ink);
}

.contact-sheet {
  border: 1px solid rgba(24, 50, 52, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.sheet-head {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: var(--sage);
  padding: 18px;
}

.sheet-head img {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(24, 50, 52, 0.14);
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
}

.sheet-head h2 {
  font-size: 1.55rem;
}

.sheet-head p {
  margin: 4px 0 0;
  color: var(--muted);
}

.contact-list {
  margin: 0;
}

.contact-list div {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 14px;
  border-bottom: 1px solid var(--line);
  padding: 14px 18px;
}

.contact-list div:last-child {
  border-bottom: 0;
}

.contact-list dt {
  color: var(--muted);
  font-weight: 760;
}

.contact-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 760;
  overflow-wrap: anywhere;
}

.info-band,
.availability {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
  overflow: hidden;
}

.info-band div {
  padding: 18px;
  border-right: 1px solid var(--line);
}

.info-band div:last-child {
  border-right: 0;
}

.info-band strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
}

.info-band span {
  color: var(--muted);
}

.availability {
  padding: 22px;
}

.availability-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.availability-head h2 {
  font-size: clamp(1.8rem, 4.5vw, 2.7rem);
}

.hours-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.hours-grid div {
  min-height: 96px;
  background: #fbfbf8;
  padding: 14px;
}

.hours-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.hours-grid span {
  color: var(--muted);
}

.note {
  margin: 16px 0 0;
  color: var(--text);
}

.footer {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
}

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

.footer nav {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer a {
  color: var(--ink);
  text-decoration-color: rgba(24, 50, 52, 0.28);
}

.legal-page {
  width: min(820px, calc(100% - 28px));
  margin: 0 auto;
  padding: 46px 0 58px;
}

.legal-page h1 {
  color: var(--ink);
  font-size: clamp(2.2rem, 7vw, 4rem);
  text-transform: none;
}

.legal-page h2 {
  margin: 34px 0 10px;
  color: var(--ink);
}

.legal-page p {
  margin: 0 0 16px;
}

@media (max-width: 900px) {
  .profile,
  .info-band,
  .hours-grid {
    grid-template-columns: 1fr;
  }

  .profile {
    min-height: auto;
    padding-top: 28px;
  }

  .info-band div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .info-band div:last-child {
    border-bottom: 0;
  }

  .hours-grid div {
    min-height: auto;
  }
}

@media (max-width: 620px) {
  .topbar,
  main,
  .footer {
    width: min(100% - 24px, 1120px);
  }

  .topbar,
  .footer,
  .availability-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .profile {
    gap: 18px;
    padding: 22px 0 28px;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 3.8rem);
  }

  .contact-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
