:root {
  color-scheme: light;
  --ink: #243027;
  --muted: #647064;
  --paper: #fffaf1;
  --paper-soft: #f4eadb;
  --accent: #6f8f6a;
  --accent-dark: #395c3d;
  --stone: #d9c8ad;
  --shadow: 0 24px 60px rgba(36, 48, 39, .18);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: ui-serif, Georgia, Cambria, "Times New Roman", serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--paper) 0%, #f6efe5 100%);
  line-height: 1.6;
}

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

a { color: inherit; }

.hero {
  min-height: 82vh;
  display: grid;
  grid-template-rows: auto 1fr;
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(90deg, rgba(22,31,24,.72), rgba(22,31,24,.24)),
    url("assets/photos/maison-gourdon-2026-05-large.jpg") center/cover;
  color: white;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(0,0,0,.35), transparent);
}

.nav a {
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 650;
  letter-spacing: .02em;
}

.brand { font-size: 1.05rem; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1rem;
}


.hero__content {
  align-self: center;
  width: min(760px, calc(100% - 2rem));
  margin-left: clamp(1rem, 8vw, 8rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: 28px;
  background: rgba(24, 32, 25, .28);
  backdrop-filter: blur(7px);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 .5rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #d8e8c7;
}

h1, h2 { line-height: 1.05; margin: 0; }
h1 { font-size: clamp(2.4rem, 8vw, 5.8rem); max-width: 9ch; }
h2 { font-size: clamp(2rem, 5vw, 3.6rem); }

.lead {
  max-width: 38rem;
  margin: 1.25rem 0 2rem;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
}

.button {
  display: inline-flex;
  padding: .85rem 1.15rem;
  border-radius: 999px;
  background: #fff7df;
  color: var(--accent-dark);
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 750;
}

main {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.intro {
  margin: clamp(3rem, 8vw, 6rem) auto;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(111,143,106,.25);
  border-radius: 30px;
  background: rgba(255,255,255,.46);
  box-shadow: 0 16px 40px rgba(36,48,39,.08);
}

.intro p {
  margin: 1rem 0 0;
  max-width: 66ch;
  color: var(--muted);
  font-size: 1.12rem;
}

.video-section {
  margin: 0 0 clamp(3rem, 8vw, 6rem);
}

.video-card {
  overflow: hidden;
  border-radius: 28px;
  background: #111;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.video-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.gallery-section { margin: 0 0 5rem; }
.section-heading { margin-bottom: 1.5rem; }
.section-heading .eyebrow { color: var(--accent-dark); }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.2rem;
}

.card {
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #fffdf8;
  box-shadow: var(--shadow);
}

.card a { display: block; }
.card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}
.card:hover img { transform: scale(1.035); }

figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem 1.1rem;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
figcaption span { color: var(--muted); }

footer {
  padding: 2rem 1rem 3rem;
  text-align: center;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (max-width: 640px) {
  .hero { min-height: 74vh; }
  .hero__content { margin: auto 1rem 2rem; }
  .nav { align-items: flex-start; }
  .nav__links { flex-direction: column; align-items: flex-end; gap: .35rem; }
  figcaption { flex-direction: column; gap: .15rem; }
}
