﻿:root {
  --bg: #f4f8fc;
  --surface: #ffffff;
  --tint: #e6f0f9;
  --ink: #1b2b3a;
  --muted: #58697a;
  --line: #dce7f1;
  --accent: #2f6fa8;
  --accent-dark: #245884;
  --accent-soft: #dcebf8;
  --sky-1: #cfe4f6;
  --sky-2: #eaf3fb;
  --sky-3: #f8fbfe;
  --glacier: #dfeaf5;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(27, 60, 95, .08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg);
  background-image: linear-gradient(180deg, var(--sky-1) 0, var(--sky-2) 900px, var(--sky-3) 55%, var(--glacier) 100%);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section--tint { background: rgba(255, 255, 255, .55); }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.section-head { max-width: 640px; margin-bottom: 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 600; font-size: .98rem;
  text-decoration: none;
  border: 1.5px solid var(--accent);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn--ghost { color: var(--accent); background: transparent; }
.btn--ghost:hover { background: var(--accent-soft); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(240, 247, 253, .85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 40px; height: 40px; border-radius: 12px; background: var(--accent); display: grid; place-items: center; flex: none; }
.brand__mark svg { width: 22px; height: 22px; }
.brand__name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.1; display: block; }
.brand__sub { font-size: .75rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .95rem; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .btn { padding: 10px 18px; }
.menu-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.menu-toggle svg { width: 26px; height: 26px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 90px) 0 clamp(120px, 14vw, 200px); }
.hero__mountains {
  position: absolute; left: 0; right: 0; bottom: 0; height: clamp(140px, 18vw, 260px);
  pointer-events: none;
  opacity: .9;
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}
.hero__mountains svg { width: 100%; height: 100%; display: block; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 32px; }
.hero__facts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.hero__facts li {
  font-size: .88rem; color: var(--accent-dark);
  background: var(--accent-soft); border-radius: 999px; padding: 6px 14px;
}
.hero__img { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 552 / 510; background: var(--tint); }
.hero__img img { width: 100%; height: 100%; object-fit: cover; }

/* Values */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.value { padding: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.value__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 18px; }
.value__icon svg { width: 22px; height: 22px; }
.value p { color: var(--muted); margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.service h3 { margin-bottom: .35em; }
.service p { color: var(--muted); margin: 0; font-size: .97rem; }
.service__num { font-family: var(--serif); color: var(--accent); font-size: .95rem; display: block; margin-bottom: 10px; }

/* Team */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member { text-align: center; }
.member__img { aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--tint); margin: 0 auto 18px; width: min(200px, 100%); border: 6px solid var(--surface); box-shadow: var(--shadow); }
.member__img img { width: 100%; height: 100%; object-fit: cover; }
.member h3 { margin-bottom: .15em; font-size: 1.15rem; }
.member__role { color: var(--accent); font-size: .9rem; font-weight: 600; margin-bottom: .6em; }
.member p:last-child { color: var(--muted); font-size: .93rem; }
.member--lead { grid-column: 1 / -1; display: grid; grid-template-columns: 260px 1fr; gap: 48px; align-items: center; text-align: left; background: var(--surface); padding: 36px; border-radius: 24px; border: 1px solid var(--line); margin-bottom: 16px; }
.member--lead .member__img { width: 100%; margin: 0; }
.member--lead h3 { font-size: 1.6rem; }
.member--lead ul { margin: 0; padding-left: 1.1em; color: var(--muted); }

/* Hours + Contact */
.info-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: clamp(28px, 4vw, 44px); }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.hours th, .hours td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); font-weight: 400; vertical-align: top; }
.hours th { width: 40%; font-weight: 600; }
.hours td { color: var(--muted); }
.hours tr.closed td { color: #9aa5a8; }
.note { font-size: .93rem; color: var(--muted); background: var(--tint); border-radius: 12px; padding: 14px 16px; margin: 0; }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; }
.contact-list li { display: flex; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 3px; }
.contact-list strong { display: block; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a { color: var(--ink); text-decoration: none; }
.contact-list a:hover { color: var(--accent); }

/* CTA band */
.cta { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--accent) 0%, #4f93cc 100%); color: #fff; border-radius: 28px; padding: clamp(36px, 5vw, 56px); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta > * { position: relative; z-index: 1; }
.cta .cta__mountains { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; z-index: 0; opacity: .14; filter: blur(1px); }
.cta__mountains svg { width: 100%; height: 100%; display: block; }
.cta h2 { margin: 0 0 .2em; }
.cta p { margin: 0; opacity: .85; }
.cta .btn { background: #fff; color: var(--accent-dark); border-color: #fff; }

/* Footer */
.footer { padding: 40px 0; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.footer a { color: var(--muted); margin-left: 20px; }
.footer a:first-child { margin-left: 0; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.4rem; margin-top: 1.8em; }
.legal .todo { background: #fff4d6; padding: 0 4px; border-radius: 4px; }

/* Responsive */
@media (max-width: 960px) {
  .services { grid-template-columns: repeat(2, 1fr); }
  .team { grid-template-columns: repeat(2, 1fr); }
  .member--lead { grid-template-columns: 1fr; text-align: center; }
  .member--lead .member__img { width: 220px; margin: 0 auto; }
  .member--lead ul { text-align: left; display: inline-block; }
}
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 16px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 16px; justify-content: center; }
  .hero__grid, .info-grid { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .services, .team { grid-template-columns: 1fr; }
  .member--lead { padding: 28px 20px; }
  .footer a { margin-left: 0; margin-right: 20px; }
}
