@font-face {
  font-family: "Magellan Serif";
  src: url("/static/fonts/LibreBaskerville-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Magellan Serif";
  src: url("/static/fonts/LibreBaskerville-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Magellan Serif";
  src: url("/static/fonts/LibreBaskerville-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Magellan Sans";
  src: url("/static/fonts/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Magellan Sans";
  src: url("/static/fonts/Lato-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Magellan Sans";
  src: url("/static/fonts/Lato-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Magellan Sans";
  src: url("/static/fonts/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --sky: #d7ebf7;
  --sky-deep: #c5e0f2;
  --foam: #f5fafc;
  --paper: #ffffff;
  --ink: #143044;
  --muted: #3e5c72;
  --sea: #1d5278;
  --sea-deep: #102c40;
  --line: #b7d2e4;
  --focus: #1d5278;
  --serif: "Magellan Serif", "Liberation Serif", Georgia, serif;
  --sans: "Magellan Sans", "Liberation Sans", "Noto Sans", sans-serif;
  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background: var(--foam);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
}
main { flex: 1; }
img, svg { max-width: 100%; }
a { color: var(--sea); }
a:hover { color: var(--sea-deep); }
:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}
.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--paper);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  z-index: 20;
}
.skip:focus { top: 0.5rem; }

.wrap {
  width: min(var(--wrap), calc(100% - 2.4rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(215, 235, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(18, 52, 76, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 4.6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--sea-deep);
  text-decoration: none;
}
.brand:hover { color: var(--sea); }
.brand-mark {
  width: 2.7rem;
  height: 2.7rem;
  color: var(--sea);
  display: block;
  flex: none;
}
.brand-mark svg { width: 100%; height: 100%; display: block; }
.brand-name {
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: 0.01em;
}
.brand-sub {
  display: block;
  margin-top: 0.18rem;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--sea);
}
.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 1.15rem;
  justify-content: flex-end;
}
.nav a {
  color: var(--sea-deep);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.35rem 0;
}
.nav a[aria-current="page"] {
  color: var(--sea);
  box-shadow: inset 0 -2px 0 var(--sea);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(16rem, 1.15fr);
  gap: 2rem;
  align-items: center;
  padding: 2.6rem 0 2.8rem;
  background:
    radial-gradient(ellipse at 80% 40%, rgba(255, 255, 255, 0.55), transparent 55%),
    linear-gradient(180deg, var(--sky) 0%, var(--sky-deep) 100%);
}
.hero {
  width: 100%;
  padding-inline: max(1.2rem, calc((100% - var(--wrap)) / 2));
}
.eyebrow {
  margin: 0 0 0.7rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sea);
}
h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--sea-deep);
  line-height: 1.15;
}
h1 {
  margin: 0;
  font-size: clamp(2.3rem, 5vw, 4.15rem);
  letter-spacing: -0.02em;
}
h2 { margin: 0 0 0.6rem; font-size: clamp(1.7rem, 3vw, 2.35rem); }
h3 { margin: 0.35rem 0 0.4rem; font-size: 1.45rem; }
.lede {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 40rem;
}
.hero-actions, .page-end { display: flex; flex-wrap: wrap; gap: 1.2rem; align-items: center; }
.button {
  display: inline-block;
  background: var(--sea);
  color: white;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.15rem;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 1rem;
}
.button:hover { background: var(--sea-deep); color: white; }
.text-link { font-weight: 700; }
.hero-photo,
.lead-photo { margin: 0; }
.hero-photo img,
.lead-photo img,
.service img,
.gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  background: var(--sky);
}
.hero-photo img {
  aspect-ratio: 16 / 9;
  border-radius: 1rem;
  box-shadow: 0 14px 32px rgba(16, 44, 64, 0.16);
}
.lead-photo {
  width: min(var(--wrap), calc(100% - 2.4rem));
  margin: 1.2rem auto 0.2rem;
}
.lead-photo img {
  aspect-ratio: 2 / 1;
  object-position: center 42%;
  border-radius: 1rem;
}

.sheet, .split, .cta, .page-head, .service-list, .places, .about-grid, .inquiry, .gallery-wrap {
  width: min(var(--wrap), calc(100% - 2.4rem));
  margin-inline: auto;
}
.sheet { padding: 3.2rem 0 1rem; }
.section-head { max-width: 40rem; margin-bottom: 1.6rem; }
.cards {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.cards li, .aside, .inquiry, .places li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
}
.cards li { padding: 1.3rem 1.35rem 1.4rem; }
.num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--sea);
  font-size: 1.15rem;
}
.cards p, .service-list p, .places p, .about-grid p, .steps, .cta p {
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2.5rem 0;
  align-items: start;
}
.steps {
  margin: 0.4rem 0 0;
  padding-left: 1.2rem;
}
.steps li { margin: 0.45rem 0; }
.steps li::marker { color: var(--sea); font-weight: 700; }

.cta {
  margin: 1rem auto 3rem;
  padding: 2rem 2rem 2.1rem;
  background: var(--sky);
  border-radius: 1.2rem;
}
.cta h2 { margin-bottom: 0.4rem; }

.page-head { padding: 2.6rem 0 0.4rem; }
.service-list { padding-bottom: 1rem; }
.service {
  display: grid;
  grid-template-columns: minmax(14rem, 0.82fr) minmax(0, 1.18fr);
  gap: 1.5rem;
  align-items: center;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
}
.service:last-child { border-bottom: 1px solid var(--line); }
.service img {
  aspect-ratio: 3 / 2;
  border-radius: 0.9rem;
}
.service p { margin: 0; }

.gallery-wrap { padding: 0.4rem 0 0.6rem; }
.gallery {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  color: white;
  text-decoration: none;
}
.gallery img { aspect-ratio: 3 / 2; }
.gallery span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4rem 1rem 0.85rem;
  background: linear-gradient(transparent, rgba(16, 44, 64, 0.82));
  font-weight: 700;
}
.gallery a:hover span,
.gallery a:focus-visible span { color: var(--sky); }
.page-end { padding: 0.4rem 0 3rem; }

.places {
  list-style: none;
  padding: 0.6rem 0 3rem;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.places li { padding: 1rem 1.2rem; }
.places h2 { font-size: 1.45rem; margin-bottom: 0.2rem; }
.places p { margin: 0; }

.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.2rem;
  padding-bottom: 3rem;
}
.aside { padding: 1.3rem 1.3rem 1.4rem; align-self: start; }
.aside h2 { font-size: 1.4rem; }

.inquiry {
  padding: 1.3rem;
  margin-bottom: 3rem;
  display: grid;
  gap: 0.9rem;
}
.inquiry label {
  display: grid;
  gap: 0.3rem;
  font-weight: 600;
  color: var(--sea-deep);
  font-size: 0.95rem;
}
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
input, select, textarea {
  font: inherit;
  color: var(--ink);
  background: var(--foam);
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.65rem 0.7rem;
  width: 100%;
}
textarea { resize: vertical; min-height: 8rem; }
.form-error {
  margin: 0;
  padding: 0.7rem 0.8rem;
  background: #f8e8e4;
  color: #6d2a1c;
  border-radius: 0.55rem;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.reach { margin: 0.2rem 0 0; font-weight: 700; color: var(--sea-deep); }
.reach a { margin-right: 1rem; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.4rem 0 2rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.site-footer strong {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--sea-deep);
  font-size: 1.05rem;
}

@media (max-width: 980px) {
  .cards { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 800px) {
  .hero, .split, .about-grid, .pair, .service { grid-template-columns: 1fr; }
  .header-inner { align-items: flex-start; flex-direction: column; padding: 0.8rem 0; }
  .hero { padding-top: 1.6rem; }
  .nav {
    display: grid;
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
    column-gap: 1.1rem;
    row-gap: 0.15rem;
  }
}

@media (max-width: 560px) {
  .cards, .gallery { grid-template-columns: 1fr; }
  .lead-photo img { aspect-ratio: 3 / 2; }
}
