@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-regular-webfont.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lora";
  src: url("../fonts/lora-bold-webfont.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --warm-white: #f5f8fb;
  --paper: #ffffff;
  --beige: #e8edf3;
  --blue: #dce8f2;
  --petrol: #2f5f86;
  --petrol-dark: #1f3f5f;
  --sage: #7f9d92;
  --sage-soft: #e5eee8;
  --text: #1d2b36;
  --muted: #5f6f7b;
  --line: rgba(31, 63, 95, 0.14);
  --shadow: 0 16px 38px rgba(31, 63, 95, 0.11);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--petrol-dark);
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  font-size: clamp(2.25rem, 5.2vw, 4.65rem);
  overflow-wrap: break-word;
}

h2 {
  font-size: clamp(1.8rem, 3.4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.topbar {
  background: var(--petrol-dark);
  color: #ffffff;
  font-size: 0.9rem;
}

.topbar-inner,
.nav-inner,
.section-inner,
.footer-inner,
.footer-bottom {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 0.45rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--petrol-dark);
  font-weight: 700;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--petrol);
  color: #ffffff;
  font-family: "Lora", Georgia, serif;
  font-size: 1.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 0.65rem 0.75rem;
  border-radius: 999px;
  color: #425053;
  font-size: 0.95rem;
  font-weight: 600;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--blue);
  color: var(--petrol-dark);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  margin: 4px auto;
  background: var(--petrol-dark);
}

.hero {
  min-height: 560px;
  display: grid;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(31, 63, 95, 0.95), rgba(47, 95, 134, 0.74) 56%, rgba(220, 232, 242, 0.55)),
    var(--blue);
}

.hero-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0 64px;
  color: #ffffff;
}

.hero h1,
.hero p,
.hero .eyebrow {
  color: #ffffff;
}

.hero p {
  max-width: 650px;
  margin: 1.25rem 0 0;
  font-size: 1.13rem;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

form .button[type="submit"] {
  font-size: 1.04rem;
}

.button:hover {
  transform: translateY(-1px);
  color: inherit;
}

.button.primary {
  background: var(--petrol);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(32, 63, 70, 0.2);
}

.button.primary:hover {
  background: var(--petrol-dark);
}

.button.secondary {
  background: #ffffff;
  color: var(--petrol-dark);
}

.button.light {
  background: #eef4f8;
  color: var(--petrol-dark);
}

.section {
  padding: 88px 0;
}

.section.compact {
  padding: 56px 0;
}

.section.alt {
  background: var(--beige);
}

.section.soft {
  background: #eaf2f7;
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  gap: 46px;
  align-items: end;
  margin-bottom: 34px;
}

.section-header p {
  font-size: 1.05rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--petrol);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
}

.card,
.notice,
.hours-panel,
.contact-panel,
.map-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 24px rgba(32, 63, 70, 0.06);
}

.card {
  overflow: hidden;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.image-card,
.person {
  display: flex;
  flex-direction: column;
}

.image-card .card-body,
.person .card-body {
  flex: 1;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.card-body {
  padding: 24px;
}

.card-body p:last-child {
  margin-bottom: 0;
}

.tag {
  display: inline-block;
  margin-bottom: 0.8rem;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--sage-soft);
  color: var(--petrol-dark);
  font-size: 0.78rem;
  font-weight: 800;
}

.image-card img {
  width: 100%;
  height: 255px;
  object-fit: cover;
}

.rounded-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.rounded-image img {
  width: 100%;
  min-height: 390px;
  object-fit: cover;
}

.info-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
}

.info-list li {
  position: relative;
  padding-left: 1.65rem;
  color: var(--muted);
}

.info-list li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--petrol);
}

.notice {
  padding: 22px;
  background: #ffffff;
}

.notice.important {
  border-left: 5px solid var(--petrol);
}

.hours {
  display: grid;
  gap: 0.65rem;
  margin: 0;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.hours div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hours dt {
  font-weight: 800;
}

.hours dd {
  margin: 0;
  color: var(--muted);
  text-align: right;
}

.page-hero {
  background: linear-gradient(135deg, #e8f1f7, #f7fafc);
  padding: 58px 0 48px;
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.page-hero p {
  max-width: 660px;
  font-size: 1.1rem;
}

.page-hero .rounded-image img {
  width: 100%;
  height: clamp(220px, 28vw, 300px);
  min-height: 0;
  object-fit: cover;
}

.page-hero .rounded-image {
  width: min(640px, 100%);
}

.notice + .button,
.text-muted + .button,
.form-grid + .button,
.form-grid + .notice,
.form-grid + .form-status,
.form-grid + .form-status + .button {
  margin-top: 1.45rem;
}

.crumb {
  color: var(--petrol);
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  color: var(--petrol-dark);
  font-weight: 800;
}

input,
textarea,
select {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 0.85rem;
  border: 1px solid rgba(32, 63, 70, 0.22);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font: inherit;
}

textarea {
  min-height: 150px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(143, 168, 154, 0.38);
  border-color: var(--petrol);
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--sage-soft);
  color: var(--petrol-dark);
  font-weight: 700;
}

.form-status[hidden] {
  display: none;
}

.contact-panel,
.hours-panel {
  padding: 28px;
}

.contact-panel a {
  font-weight: 800;
  color: var(--petrol-dark);
}

.map-card {
  min-height: 320px;
  padding: 28px;
  background:
    linear-gradient(90deg, rgba(52, 93, 102, 0.09) 1px, transparent 1px) 0 0/48px 48px,
    linear-gradient(rgba(52, 93, 102, 0.09) 1px, transparent 1px) 0 0/48px 48px,
    var(--paper);
}

.map-pin {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: var(--petrol);
  color: #ffffff;
}

.map-pin span {
  transform: rotate(45deg);
  font-weight: 800;
}

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

.person {
  min-height: 100%;
}

.person .role {
  margin: 0.35rem 0 0.9rem;
  color: var(--petrol);
  font-weight: 800;
}

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

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

.gallery-stack {
  display: contents;
}

.site-footer {
  background: var(--petrol-dark);
  color: #ffffff;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 0.8fr;
  gap: 36px;
  padding: 56px 0 36px;
}

.site-footer h2,
.site-footer h3,
.site-footer p,
.site-footer a {
  color: #ffffff;
}

.site-footer h2 {
  font-size: 1.6rem;
}

.site-footer h3 {
  margin-bottom: 0.9rem;
  font-family: "Inter", Arial, sans-serif;
  font-size: 1rem;
}

.footer-links {
  display: grid;
  gap: 0.65rem;
}

.footer-bottom {
  padding: 18px 0 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
}

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

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px 20px 20px;
    background: var(--warm-white);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    border-radius: var(--radius);
  }

  .cards-4,
  .cards-3,
  .team-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-header,
  .split,
  .split.reverse,
  .page-hero .section-inner,
  .gallery {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 540px;
  }
}

@media (max-width: 680px) {
  .topbar {
    display: none;
  }

  .topbar-inner {
    flex-direction: column;
    gap: 2px;
  }

  .topbar-inner,
  .nav-inner,
  .section-inner,
  .footer-inner,
  .footer-bottom,
  .hero-inner {
    width: min(100% - 28px, 1180px);
  }

  .brand span:last-child {
    max-width: 220px;
  }

  .section,
  .page-hero {
    padding: 58px 0;
  }

  .hero {
    min-height: 520px;
  }

  .hero-inner {
    padding: 84px 0 44px;
    max-width: calc(100vw - 28px);
    overflow: hidden;
  }

  h1 {
    font-size: 1.45rem;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .hero h1,
  .hero p {
    max-width: 300px;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cards-4,
  .cards-3,
  .two,
  .team-grid,
  .footer-inner,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hours div {
    display: grid;
    gap: 2px;
  }

  .hours dd {
    text-align: left;
  }

  .rounded-image img,
  .image-card img {
    min-height: 0;
    height: 250px;
  }
}
