:root {
  --bg: #f5f8f4;
  --bg-soft: #ebf6f5;
  --surface: rgba(255, 255, 255, 0.7);
  --surface-strong: rgba(255, 255, 255, 0.88);
  --line: rgba(24, 66, 77, 0.14);
  --text: #17303a;
  --muted: #5e7780;
  --accent: #4eaab4;
  --accent-deep: #1d6177;
  --gold: #d9c27a;
  --shadow: 0 24px 80px rgba(29, 97, 119, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(105, 197, 219, 0.26), transparent 28%),
    radial-gradient(circle at 85% 15%, rgba(217, 194, 122, 0.2), transparent 22%),
    linear-gradient(180deg, #f8fbfd 0%, var(--bg) 42%, #eef7f2 100%);
}

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

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  inset: auto;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.65;
}

.page-shell::before {
  width: 16rem;
  height: 16rem;
  top: 8rem;
  left: -4rem;
  background: rgba(80, 179, 194, 0.14);
}

.page-shell::after {
  width: 18rem;
  height: 18rem;
  right: -5rem;
  bottom: 8rem;
  background: rgba(217, 194, 122, 0.14);
}

.site-header {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 20;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 -1rem auto;
  height: calc(100% + 0.75rem);
  background: linear-gradient(180deg, rgba(245, 248, 244, 0.92), rgba(245, 248, 244, 0.66), transparent);
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, 0.95), transparent 22%),
    linear-gradient(150deg, #84dbe3 12%, #3d97ad 55%, #1d6177 100%);
  box-shadow: 0 10px 25px rgba(61, 151, 173, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.45rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px);
}

.site-nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--accent-deep);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.72rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  color: var(--accent-deep);
}

main {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding-bottom: 4rem;
}

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 3rem;
  padding: 4rem 0 3rem;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.08;
  letter-spacing: -0.015em;
}

.hero h1 {
  font-size: clamp(3.6rem, 8vw, 6.9rem);
  max-width: 10ch;
}

.hero-body,
.section-heading p,
.about-copy p,
.note-card p,
.lightbox-meta p,
.about-panel li {
  color: var(--muted);
  line-height: 1.75;
}

.hero-body {
  max-width: 36rem;
  margin: 1.5rem 0 0;
  font-size: 1.03rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.2rem;
  padding: 0.9rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, #49adb8 0%, #1f687d 100%);
  box-shadow: 0 18px 45px rgba(29, 97, 119, 0.26);
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.75);
}

.hero-notes {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.hero-notes li,
.pill {
  border: 1px solid rgba(78, 170, 180, 0.2);
  background: rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  color: var(--accent-deep);
  font-size: 0.84rem;
}

.hero-visual {
  position: relative;
  min-height: 34rem;
}

.floating-card {
  position: absolute;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
}

.floating-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.floating-card-main {
  width: min(28rem, 88%);
  aspect-ratio: 1;
  top: 2rem;
  right: 0;
}

.floating-card-top {
  width: 12.5rem;
  aspect-ratio: 1;
  top: 0;
  left: 0;
  transform: rotate(-7deg);
}

.floating-card-bottom {
  width: 12.8rem;
  aspect-ratio: 1;
  bottom: 1rem;
  left: 3rem;
  transform: rotate(8deg);
}

.section {
  padding: 2rem 0 4.5rem;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: 1.8rem;
}

.section h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.12;
}

.highlight-grid,
.note-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.highlight-card,
.note-card,
.about-panel {
  border: 1px solid var(--line);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.highlight-card {
  display: grid;
  gap: 1rem;
  padding: 1rem;
  border-radius: var(--radius-xl);
}

.highlight-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.highlight-card p,
.lightbox-meta p:first-child {
  margin: 0 0 0.35rem;
  color: var(--accent-deep);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.highlight-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  font-weight: 600;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 1.25rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
}

.gallery-card {
  appearance: none;
  border: 0;
  padding: 0.65rem;
  text-align: left;
  overflow: hidden;
  border-radius: 1.55rem;
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.gallery-card:hover,
.gallery-card:focus-visible {
  transform: translateY(-5px);
  box-shadow: 0 28px 70px rgba(29, 97, 119, 0.18);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  padding: 0.2rem;
  box-sizing: border-box;
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.82);
}

.gallery-meta {
  padding: 0.9rem 0.15rem 0.2rem;
}

.gallery-meta p {
  margin: 0 0 0.32rem;
  color: var(--accent-deep);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.gallery-meta h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(18rem, 0.65fr);
  gap: 1.2rem;
  align-items: start;
}

.about-copy {
  padding: 2rem 0;
}

.about-panel {
  border-radius: var(--radius-xl);
  padding: 1.6rem 1.5rem;
}

.about-panel h3 {
  margin-top: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}

.about-panel ul {
  padding-left: 1.1rem;
  margin: 0;
}

.note-card {
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.note-card h3 {
  margin: 0 0 0.45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2rem;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: rgba(9, 25, 31, 0.84);
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
  z-index: 40;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  width: min(100%, 62rem);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(16rem, 0.8fr);
  gap: 1rem;
  align-items: stretch;
}

.lightbox img,
.lightbox-meta {
  border-radius: 1.6rem;
  background: rgba(255, 255, 255, 0.96);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  padding: 0.6rem;
}

.lightbox-meta {
  padding: 1.5rem;
}

.lightbox-meta h3 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.3rem;
}

.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.75rem 1rem;
  color: white;
  background: rgba(255, 255, 255, 0.08);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 960px) {
  .hero,
  .about-layout,
  .lightbox-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .hero-visual {
    min-height: 29rem;
    order: -1;
  }

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

@media (max-width: 720px) {
  .site-header {
    padding-top: 1rem;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    justify-content: space-between;
    border-radius: 1.25rem;
    padding: 0.9rem 1rem;
  }

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

  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

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

  .floating-card-main {
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
  }

  .floating-card-top {
    width: 8rem;
    top: -0.75rem;
    left: 0.25rem;
  }

  .floating-card-bottom {
    width: 8.4rem;
    left: auto;
    right: 0.3rem;
    bottom: -0.8rem;
  }

  .hero-visual {
    min-height: auto;
    padding: 2rem 0 1rem;
  }

  .note-card,
  .highlight-card {
    border-radius: 1.5rem;
  }
}
