/* ── RESET & VARIABLES ── */
:root {
  --bg: #f7f4ef;
  --ink: #1a1814;
  --muted: #7a7267;
  --rule: #d9cfbf;
  --accent: #8b3a2a;
  --white: #ffffff;
  --font-serif: "Iowan Old Style", "Charter", Georgia, "Times New Roman", serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --max-measure: 70ch;
  --gutter: 1.5rem;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1814;
    --ink: #e8dfd0;
    --muted: #8a8174;
    --rule: #3a342c;
    --accent: #c96a55;
    --white: #221f1a;
  }
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: var(--accent);
  text-underline-offset: 0.15em;
  text-decoration-thickness: 1px;
}
a:hover { opacity: 0.8; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ── HERO ── */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.hero-image {
  position: absolute;
  inset: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}
.hero-overlay {
  position: relative;
  z-index: 2;
  padding: 2rem var(--gutter) 3rem;
  width: 100%;
  background: linear-gradient(transparent 0%, rgba(0,0,0,0.55) 100%);
}
.hero-overlay h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 400;
  color: #fff;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.hero-location {
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: rgba(255,255,255,0.8);
  margin: 0.5rem 0 0;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ── SECTION NAV ── */
.section-nav {
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding: 1.5rem var(--gutter);
  border-bottom: 1px solid var(--rule);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}
.section-nav a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}
.section-nav a:hover { color: var(--ink); }

/* ── MAIN ── */
#main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ── SECTION TITLES ── */
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 400;
  margin: 0 0 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--rule);
  letter-spacing: -0.01em;
}

/* ── SELECTED WORK ── */
.section-work {
  padding: 4rem 0;
}
.gallery-group {
  margin-bottom: 3rem;
}
.gallery-group-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 1rem;
  font-weight: 400;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.gallery-grid figure {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  line-height: 0;
}
.gallery-grid img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: opacity 0.4s ease;
}
.gallery-grid img:hover {
  opacity: 0.92;
}
@media (max-width: 640px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid img {
    height: 300px;
  }
}

/* ── ABOUT ── */
.section-about {
  padding: 4rem 0;
  max-width: var(--max-measure);
}
.about-body p {
  font-size: 1.05rem;
  margin: 0 0 1.2rem;
}
.about-body p:last-child { margin: 0; }

/* ── BOOKING ── */
.section-booking {
  padding: 4rem 0;
  max-width: var(--max-measure);
}
.booking-intro {
  color: var(--muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}
.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.form-row {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.form-row label {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  font-family: var(--font-sans);
  font-size: 1rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  transition: border-color 0.2s;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.btn {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 2rem;
  border: 2px solid var(--ink);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s;
  align-self: flex-start;
}
.btn:hover {
  background: var(--ink);
  color: var(--bg);
}
.form-status {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0;
}

/* ── CONTACT ── */
.section-contact {
  padding: 4rem 0;
}
.contact-line {
  margin: 0 0 0.75rem;
  font-size: 1rem;
}
.contact-label {
  display: inline-block;
  width: 6rem;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

/* ── FOOTER ── */
footer {
  text-align: center;
  padding: 2rem var(--gutter);
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
}
footer .attribution {
  font-size: 0.75rem;
  opacity: 0.7;
  margin: 0;
}
footer .attribution a {
  color: var(--muted);
  text-decoration: none;
}
footer .attribution a:hover {
  text-decoration: underline;
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
