
:root {
  --paper: #f7f1e8;
  --paper-2: #f2e8da;
  --ink: #223240;
  --muted: #5b6973;
  --line: rgba(34, 50, 64, 0.12);
  --sea-deep: #2f6170;
  --accent: #cd7b54;
  --accent-2: #a65a3a;
  --white: #fffdfa;
  --shadow: 0 24px 56px rgba(20, 30, 40, 0.10);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255,255,255,0.42), transparent 42%),
    linear-gradient(180deg, #f8f2ea 0%, #f3ebdf 100%);
  font-family: "Josefin Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(rgba(34, 50, 64, 0.026) 0.7px, transparent 0.7px),
    radial-gradient(rgba(255, 255, 255, 0.25) 0.8px, transparent 0.8px);
  background-size: 18px 18px, 25px 25px;
  background-position: 0 0, 9px 9px;
  opacity: 0.33;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  min-height: 84svh;
  height: 84svh;
  max-height: 980px;
  overflow: hidden;
  background: #294955;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 25, 33, 0.5) 0%, rgba(17, 31, 40, 0.14) 30%, rgba(20, 33, 42, 0.48) 100%),
    radial-gradient(circle at center 28%, rgba(255,255,255,0.12), transparent 42%);
}
.topbar {
  position: relative;
  z-index: 5;
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.mini-mark {
  color: rgba(255,248,239,0.94);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  color: rgba(255,248,239,0.9);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.nav-links a { position: relative; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}
.nav-links a:hover::after,
.nav-links a:focus-visible::after { transform: scaleX(1); }

.hero-content {
  position: relative;
  z-index: 2;
  pointer-events: none;
  width: min(1240px, calc(100% - 56px));
  height: calc(100% - 106px);
  margin: 0 auto;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  transform: translateY(-24px);
}
.hero-kicker {
  color: rgba(255,248,239,0.96);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: clamp(1.18rem, 1.75vw, 1.62rem);
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  margin: 0;
  display: grid;
  gap: 6px;
  color: #fff8ef;
  font-family: "Limelight", serif;
  font-weight: 400;
  font-size: clamp(2.9rem, 8vw, 6.8rem);
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-shadow: 0 3px 16px rgba(15, 22, 30, 0.22);
}
.hero-script {
  margin-top: 20px;
  color: #fff8ef;
  font-family: "Josefin Sans", system-ui, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-size: clamp(1.24rem, 1.95vw, 1.9rem);
  line-height: 1.2;
  text-shadow: 0 3px 14px rgba(15, 22, 30, 0.22);
}

.site-main {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding-bottom: 96px;
}

.intro-card,
.gallery-section {
  scroll-margin-top: 24px;
}

.intro-card {
  position: relative;
  z-index: 3;
  margin-top: -92px;
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.2fr);
  gap: 40px;
  padding: clamp(30px, 4.4vw, 54px);
  background: rgba(252, 247, 240, 0.96);
  box-shadow: var(--shadow);
}
.section-kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.intro-heading h2,
.section-head h3 {
  margin: 0;
  color: var(--ink);
  font-family: "Limelight", serif;
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.intro-heading h2 {
  font-size: clamp(1.7rem, 3.3vw, 2.7rem);
  line-height: 1.05;
  max-width: 10ch;
}
.intro-copy {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.12rem, 1.4vw, 1.42rem);
  line-height: 1.62;
}

.gallery-section {
  margin-top: clamp(72px, 10vw, 120px);
}
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 26px;
}
.section-head h3 {
  font-size: clamp(1.65rem, 3vw, 2.7rem);
  line-height: 1;
}
.gallery-head { margin-bottom: 26px; }
.gallery-masonry {
  column-count: 3;
  column-gap: 18px;
}
.gallery-item {
  margin: 0 0 18px;
  break-inside: avoid;
  overflow: hidden;
  background: #ddd;
  box-shadow: 0 12px 28px rgba(25, 34, 46, 0.06);
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 420ms ease;
}
.gallery-item:hover img { transform: scale(1.02); }

.site-footer {
  width: min(1240px, calc(100% - 56px));
  margin: 0 auto;
  padding: 0 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
}

@media (max-width: 1100px) {
  .intro-card {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .intro-heading h2 { max-width: 12ch; }
  .gallery-masonry { column-count: 2; }
}

@media (max-width: 820px) {
  .hero {
    min-height: 74svh;
    height: 74svh;
  }
  .topbar,
  .site-main,
  .site-footer {
    width: min(100% - 30px, 1240px);
  }
  .topbar {
    flex-direction: column;
    justify-content: center;
  }
  .intro-card {
    margin-top: -58px;
    padding: 24px;
  }
  .section-head {
    display: block;
  }
}

@media (max-width: 620px) {
  .hero-title { font-size: clamp(2.35rem, 13vw, 4rem); }
  .hero-kicker { font-size: 1rem; letter-spacing: 0.22em; }
  .hero-script { font-size: 1.08rem; letter-spacing: 0.16em; }
  .intro-copy { font-size: 1.05rem; }
  .gallery-masonry { column-count: 1; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 620px) {
  .hero-content { transform: translateY(-14px); }
}
