:root {
  --bg: #f4f5f1;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #102333;
  --muted: #52606f;
  --line: rgba(16, 35, 51, 0.12);
  --sea: #0f5f73;
  --sea-deep: #0a3447;
  --foam: #c3ece8;
  --sun: #f1b65e;
  --shadow: 0 24px 60px rgba(9, 38, 56, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(195, 236, 232, 0.8), transparent 28%),
    radial-gradient(circle at top right, rgba(241, 182, 94, 0.34), transparent 22%),
    linear-gradient(180deg, #ecf3f5 0%, var(--bg) 45%, #eef0ea 100%);
  color: var(--text);
  font-family: "Avenir Next", "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

.site-shell {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 24px 0 48px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 30;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--sea-deep);
  color: #fff;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header,
.site-footer,
.hero,
.page-hero,
.section,
.content-panel,
.experience-card,
.testimonial-card,
.image-placeholder,
.floating-note {
  backdrop-filter: blur(16px);
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 22px;
  margin-bottom: 28px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.brand-kicker,
.eyebrow,
.card-label,
.note-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.brand-kicker,
.eyebrow,
.card-label {
  color: var(--sea);
}

.brand-name,
h1,
h2,
h3 {
  font-family: "Baskerville", "Palatino Linotype", "Book Antiqua", serif;
  line-height: 1.05;
  margin: 0;
}

.brand-name {
  font-size: 1.5rem;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: var(--sea-deep);
  background: rgba(15, 95, 115, 0.1);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  border: 0;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--sea-deep);
  color: #fff;
  font: inherit;
  cursor: pointer;
}

main {
  display: grid;
  gap: 28px;
}

.hero,
.page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 28px;
  padding: 40px;
  background:
    linear-gradient(135deg, rgba(10, 52, 71, 0.95), rgba(15, 95, 115, 0.88)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  border-radius: var(--radius-xl);
  color: #f5fbff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -35% auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 182, 94, 0.3), transparent 62%);
}

.hero-copy,
.page-hero > div:first-child {
  position: relative;
  z-index: 1;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 14px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.7rem;
  margin-bottom: 10px;
}

.lead {
  font-size: 1.2rem;
  color: rgba(245, 251, 255, 0.86);
}

.hero p:not(.eyebrow):not(.lead),
.page-hero p:not(.eyebrow):not(.lead) {
  max-width: 60ch;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--sun);
  color: var(--sea-deep);
  box-shadow: 0 12px 24px rgba(241, 182, 94, 0.28);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #f5fbff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-highlights li {
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  min-height: 420px;
}

.floating-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 240px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  color: #fff;
  box-shadow: 0 12px 28px rgba(7, 31, 43, 0.2);
}

.section {
  padding: 32px;
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.section-heading {
  margin-bottom: 24px;
}

.split-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.card-grid,
.testimonial-grid,
.gallery-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

.experience-card,
.testimonial-card,
.content-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.card-content p:last-child,
.content-panel p:last-child {
  margin-bottom: 0;
}

.text-link {
  color: var(--sea);
  font-weight: 700;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--sea-deep);
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background:
    linear-gradient(120deg, rgba(195, 236, 232, 0.5), rgba(255, 255, 255, 0.9)),
    #fff;
}

.image-placeholder {
  display: grid;
  place-items: center;
  min-height: 220px;
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  border: 1.5px dashed rgba(16, 35, 51, 0.24);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(195, 236, 232, 0.44), rgba(255, 255, 255, 0.95)),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.3),
      rgba(255, 255, 255, 0.3) 12px,
      rgba(15, 95, 115, 0.04) 12px,
      rgba(15, 95, 115, 0.04) 24px
    );
}

.image-placeholder-large {
  min-height: 420px;
}

.image-placeholder-portrait {
  min-height: 320px;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 32px;
  margin-top: 28px;
  background: rgba(10, 52, 71, 0.96);
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: 10px;
  color: #fff;
}

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

.footer-links a,
.social-links a {
  display: inline-block;
  margin: 6px 12px 0 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-links a:hover,
.social-links a:hover,
.footer-links a:focus-visible,
.social-links a:focus-visible {
  color: #fff;
}

.footer-copy {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .page-hero,
  .split-section,
  .site-footer,
  .footer-links,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .site-header {
    border-radius: 28px;
    align-items: flex-start;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
  }

  .card-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(calc(100% - 20px), var(--max-width));
    padding-top: 16px;
  }

  .site-header {
    gap: 16px;
    padding: 16px;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding-top: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    background: rgba(15, 95, 115, 0.06);
  }

  .hero,
  .page-hero,
  .section,
  .site-footer {
    padding: 24px;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.3rem);
  }

  h2 {
    font-size: clamp(1.8rem, 9vw, 2.7rem);
  }

  .hero-visual,
  .image-placeholder-large {
    min-height: 280px;
  }

  .card-grid,
  .card-grid.two-up,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .cta-banner {
    align-items: flex-start;
    flex-direction: column;
  }
}
