:root {
  --bg: #f5efe2;
  --bg-alt: #ece2d0;
  --surface: rgba(255, 248, 236, 0.86);
  --surface-strong: #f9f1e3;
  --ink: #211a15;
  --muted: #68594d;
  --line: rgba(33, 26, 21, 0.12);
  --accent: #a74f2f;
  --accent-deep: #77331d;
  --accent-soft: #d88f5b;
  --shadow: 0 24px 60px rgba(33, 26, 21, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --header-height: 78px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  font-family: "Outfit", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(216, 143, 91, 0.22), transparent 34%),
    radial-gradient(circle at 85% 10%, rgba(167, 79, 47, 0.14), transparent 24%),
    linear-gradient(180deg, #f8f2e8 0%, #efe5d4 100%);
}

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

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  z-index: 30;
  background: var(--surface-strong);
  padding: 0.75rem 1rem;
  border-radius: 999px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-height);
  padding: 1rem 1.5rem;
  backdrop-filter: blur(18px);
  background: rgba(245, 239, 226, 0.84);
  border-bottom: 1px solid var(--line);
}

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

.brand-eyebrow,
.section-kicker,
.stat-label,
.note-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
}

.brand-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  text-decoration: none;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 0.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 248, 236, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff8ef;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-badge-primary {
  background: var(--accent);
  border-color: transparent;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.site-nav a {
  padding: 0.7rem 0.95rem;
  border-radius: 999px;
  text-decoration: none;
  color: var(--muted);
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.page-shell {
  padding: 0 1rem 1.5rem;
}

.panel {
  position: relative;
  min-height: calc(100vh - var(--header-height) - 1rem);
  margin: 1rem auto 0;
  max-width: 1380px;
  border-radius: calc(var(--radius-lg) + 8px);
  overflow: clip;
  scroll-margin-top: calc(var(--header-height) + 1rem);
  scroll-snap-align: start;
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.panel-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem);
}

.panel-hero {
  display: grid;
  place-items: center;
  background: #1d1612;
}

.panel-backdrop,
.panel-backdrop img,
.panel-overlay {
  position: absolute;
  inset: 0;
}

.panel-backdrop img {
  height: 100%;
  object-fit: cover;
}

.panel-overlay {
  background:
    linear-gradient(90deg, rgba(18, 14, 11, 0.84) 0%, rgba(18, 14, 11, 0.4) 56%, rgba(18, 14, 11, 0.56) 100%),
    linear-gradient(180deg, rgba(216, 143, 91, 0.24), rgba(18, 14, 11, 0.15));
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 2rem;
  align-items: end;
  min-height: calc(100vh - var(--header-height) - 3rem);
}

.hero-copy {
  color: #fff8ef;
}

.hero-copy h1,
.section-heading h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero-copy h1 {
  font-size: clamp(3.2rem, 9vw, 7.4rem);
  margin-top: 0.6rem;
}

.hero-summary,
.section-heading p,
.detail-card p,
.note-card p,
.location-card p,
.quote-panel p,
.contact-card p {
  line-height: 1.65;
  font-size: 1.02rem;
}

.hero-summary {
  max-width: 38rem;
  font-size: 1.16rem;
  color: rgba(255, 248, 239, 0.88);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.hero-stats div,
.hero-card,
.detail-card,
.note-card,
.location-card,
.apply-card,
.contact-card,
.quote-panel,
.photo-card {
  background: rgba(255, 248, 236, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
}

.hero-stats div {
  padding: 1rem;
  backdrop-filter: blur(14px);
}

.hero-stats strong {
  display: block;
  margin-top: 0.35rem;
  font-size: 1.15rem;
}

.hero-actions,
.apply-card {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.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;
  font-weight: 600;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-deep);
}

.button-secondary {
  color: #fff8ef;
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 248, 236, 0.12);
}

.button-ghost {
  border-color: var(--line);
  background: rgba(255, 248, 236, 0.58);
}

.panel-apply .button-secondary,
.panel-apply .button-ghost {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.button-wide {
  width: 100%;
}

.hero-card {
  padding: 1.4rem;
  color: #fff8ef;
  backdrop-filter: blur(18px);
}

.hero-card-title {
  margin: 0;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 248, 239, 0.72);
}

.fact-list {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0 1.3rem;
  padding-left: 1.1rem;
}

.fact-list li {
  line-height: 1.5;
}

.hero-card-note {
  margin-bottom: 0;
  color: rgba(255, 248, 239, 0.86);
}

.hero-card-note a {
  color: #fff;
  font-weight: 600;
}

.panel-photos,
.panel-apply {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.48), rgba(255, 255, 255, 0.28)),
    var(--bg);
}

.panel-details,
.panel-location {
  background:
    linear-gradient(180deg, rgba(255, 252, 247, 0.84), rgba(247, 238, 224, 0.92)),
    var(--bg-alt);
}

.section-heading {
  max-width: 48rem;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-size: clamp(2.4rem, 5vw, 4.9rem);
  margin-top: 0.5rem;
}

.section-heading p {
  color: var(--muted);
  max-width: 40rem;
}

.photo-strip-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  color: var(--muted);
}

.photo-strip-meta a {
  font-weight: 600;
  text-decoration: none;
}

.photo-strip {
  display: grid;
  gap: 1.75rem;
  max-width: 1080px;
  margin: 0 auto;
}

.photo-card {
  overflow: clip;
  background: rgba(255, 255, 255, 0.74);
  border-color: rgba(33, 26, 21, 0.08);
  min-height: 100%;
  box-shadow: 0 24px 60px rgba(33, 26, 21, 0.1);
}

.photo-card-feature {
  grid-column: auto;
}

.photo-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-card figcaption {
  padding: 1rem 1.2rem 1.15rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.details-layout,
.location-layout,
.apply-layout {
  display: grid;
  gap: 2rem;
}

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

.detail-card,
.location-card,
.apply-card,
.contact-card,
.quote-panel {
  padding: 1.35rem;
  background: rgba(255, 250, 244, 0.84);
  border-color: rgba(33, 26, 21, 0.08);
}

.detail-card h3,
.location-card h3,
.contact-card h3 {
  margin-top: 0;
  font-size: 1.05rem;
}

.detail-card-highlight {
  background:
    linear-gradient(135deg, rgba(167, 79, 47, 0.1), rgba(216, 143, 91, 0.18)),
    rgba(255, 250, 244, 0.96);
}

.quote-panel {
  max-width: 44rem;
  background:
    linear-gradient(135deg, rgba(167, 79, 47, 0.1), rgba(216, 143, 91, 0.18)),
    rgba(255, 250, 244, 0.84);
}

.location-visuals {
  display: grid;
  gap: 1.25rem;
}

.location-visuals-copy {
  max-width: 46rem;
}

.location-visuals-copy h3 {
  margin: 0.3rem 0 0.75rem;
  font-size: 1.4rem;
}

.location-visuals-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.location-gallery {
  display: grid;
  gap: 1.75rem;
  max-width: 1080px;
  margin: 0 auto;
}

.location-figure {
  margin: 0;
  overflow: clip;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.9);
  border: 1px solid rgba(33, 26, 21, 0.08);
  box-shadow: 0 24px 60px rgba(33, 26, 21, 0.1);
}

.location-figure img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.location-figure-map img {
  aspect-ratio: 3 / 2;
}

.location-figure figcaption {
  padding: 1rem 1.2rem 1.15rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 600;
}

.apply-layout {
  grid-template-columns: 1.2fr 0.8fr;
  align-items: start;
}

.apply-layout .section-heading {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.apply-card {
  flex-direction: column;
}

.site-footer {
  padding: 0 1.5rem 2.2rem;
  text-align: center;
  color: var(--muted);
}

.site-footer p {
  margin: 0.35rem 0;
}

.footer-small {
  font-size: 0.88rem;
}

@media (max-width: 1024px) {
  .hero-grid,
  .apply-layout,
  .detail-cards,
  .location-cards,
  .location-gallery {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 720px) {
  html {
    scroll-snap-type: none;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-shell {
    padding-inline: 0.75rem;
  }

  .panel {
    min-height: auto;
    border-radius: 24px;
  }

  .hero-copy h1 {
    font-size: clamp(2.8rem, 14vw, 4.2rem);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .hero-actions .button,
  .site-nav {
    width: 100%;
  }

  .site-nav a {
    flex: 1 1 calc(50% - 0.4rem);
    text-align: center;
  }

  .photo-strip-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .photo-strip {
    gap: 1.1rem;
  }
}
