:root {
  color-scheme: light;
  --bg: #f3efe7;
  --bg-soft: rgba(255, 255, 255, 0.72);
  --text: #1f1a17;
  --muted: #6d6158;
  --line: rgba(31, 26, 23, 0.12);
  --accent: #8f5d3b;
  --accent-strong: #5c3621;
  --shadow: 0 24px 70px rgba(67, 40, 23, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(190, 156, 122, 0.24), transparent 28%),
    radial-gradient(circle at 90% 12%, rgba(140, 94, 61, 0.12), transparent 18%),
    linear-gradient(180deg, #f7f2ea 0%, var(--bg) 46%, #efe7dc 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.32) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.22), transparent 75%);
  opacity: 0.35;
}

.page-shell {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0 32px;
}

.site-header,
.site-footer,
.hero,
.section {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 4px 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #fff7ef;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: var(--shadow);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.8rem;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-copy span,
.site-nav a,
.hero-stats dt,
.site-footer {
  color: var(--muted);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: center;
  padding: 36px 0 54px;
}

.hero-copy {
  padding: 18px 0;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  line-height: 0.92;
}

h1 {
  font-size: clamp(3.8rem, 8vw, 7rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2.4rem, 4.2vw, 4.3rem);
  max-width: 12ch;
}

h3 {
  font-size: 2rem;
}

.lead,
.section-heading p,
.about-copy p,
.contact p,
.gallery-text p,
.about-panel li,
.contact-card span {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

.lead {
  max-width: 58ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff7ef;
  background: linear-gradient(145deg, var(--accent), var(--accent-strong));
  box-shadow: 0 16px 30px rgba(92, 54, 33, 0.2);
}

.button-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 34px 0 0;
}

.hero-stats div {
  padding: 16px 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--bg-soft);
  /* backdrop-filter: blur(14px); */
  box-shadow: 0 18px 40px rgba(76, 54, 38, 0.05);
}

.hero-stats dt {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
}

.hero-stats dd {
  margin: 0;
  font-weight: 600;
}

.hero-visual {
  position: relative;
  min-height: 760px;
}

.hero-frame {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
  background: #2f2017;
  opacity: 1;
}

.hero-frame img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.45s ease;
}

.hero-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 45%);
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 34%;
  background: linear-gradient(180deg, transparent, rgba(25, 15, 10, 0.52));
}

.hero-frame span {
  position: absolute;
  left: 20px;
  bottom: 18px;
  z-index: 2;
  color: #fff8f1;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.45);
}

.hero-frame-large {
  top: 0;
  right: 56px;
  z-index: 1;
  width: min(84%, 520px);
  height: 720px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    radial-gradient(circle at 26% 22%, rgba(255, 255, 255, 0.22), transparent 22%),
    linear-gradient(145deg, #bc8058, #6c3f25 72%);
}

.hero-frame-small {
  width: 240px;
  height: 280px;
}

.hero-frame-a {
  bottom: 70px;
  left: 0;
  z-index: 3;
  background: linear-gradient(150deg, #dcc5ab, #9e7255 80%);
}

.hero-frame-b {
  bottom: 0;
  right: 0;
  z-index: 2;
  background: linear-gradient(145deg, #f0d7bf, #946042 82%);
}

.hero-frame::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 45%);
}

.hero-frame::after {
  background: linear-gradient(180deg, transparent, rgba(25, 15, 10, 0.22));
}

.section {
  margin-top: 26px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-xl) + 4px);
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.section-heading {
  display: grid;
  gap: 12px;
  max-width: 70ch;
  margin-bottom: 24px;
}

.gallery-grid {
  column-count: 4;
  column-gap: 18px;
}

.gallery-card {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.gallery-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #e8ddd0;
  box-shadow: 0 18px 42px rgba(79, 53, 34, 0.12);
}

.gallery-image img {
  position: relative;
  z-index: 0;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.45s ease, filter 0.3s ease;
}

.gallery-card:hover .gallery-image img {
  transform: scale(1.02);
  filter: saturate(1.03);
}

.gallery-text {
  display: grid;
  gap: 8px;
}

.gallery-controls {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.gallery-load-more {
  min-width: 190px;
}

.about,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: start;
}

.about-panel,
.contact-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.62);
}

.about-panel h3 {
  margin-bottom: 12px;
}

.about-panel ul {
  margin: 0;
  padding-left: 20px;
}

.about-panel li + li {
  margin-top: 10px;
}

.contact-card {
  display: grid;
  gap: 10px;
  align-content: start;
}

.contact-card a {
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 22px 4px 0;
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 3;
  }

  .hero-visual {
    min-height: 640px;
  }

  .hero-frame-large {
    right: 0;
    width: min(78%, 500px);
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 20px, 1200px);
    padding-top: 14px;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    gap: 24px;
    padding-top: 20px;
    padding-bottom: 34px;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 4.6rem);
  }

  .lead,
  .section-heading p,
  .about-copy p,
  .contact p,
  .about-panel li,
  .contact-card span {
    font-size: 0.98rem;
    line-height: 1.65;
  }

  .section {
    padding: 22px;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-actions .button {
    flex: 1 1 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 2;
  }

  .hero-visual {
    min-height: 480px;
  }

  .hero-frame-large {
    width: 100%;
    height: 420px;
  }

  .hero-frame-small {
    width: 48%;
    height: 150px;
  }

  .hero-frame-a {
    bottom: 34px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .page-shell {
    width: min(100% - 14px, 1200px);
  }

  .site-header {
    gap: 14px;
    padding-bottom: 16px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
  }

  .site-nav a {
    font-size: 0.95rem;
  }

  h1 {
    font-size: clamp(2.35rem, 14vw, 3.35rem);
    line-height: 0.96;
  }

  h2 {
    font-size: clamp(2rem, 10.2vw, 2.6rem);
  }

  .section {
    padding: 18px;
  }

  .about-panel,
  .contact-card {
    padding: 18px;
  }

  .gallery-grid {
    column-count: 1;
  }

  .gallery-load-more {
    width: 100%;
    min-width: 0;
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-frame-large {
    height: 330px;
  }

  .hero-frame-small {
    height: 120px;
  }

  .hero-frame-a {
    bottom: 18px;
  }
}
