:root {
  --dark: #30231F;
  --darkSoft: #46342E;
  --accent: #7D3F3F;
  --light: #F1E7DD;
  --cream: #FAF7F3;
  --text: #30231F;
  --textLight: #F7F1EB;
  --muted: #8B7B72;
  --border: #D8C8BC;

  --container: 1180px;
  --radius: 22px;
  --shadow: 0 18px 50px rgba(48,35,31,.12);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--cream);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.65;
}

body.no-scroll { overflow: hidden; }

img {
  display: block;
  width: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button { cursor: pointer; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section-dark {
  color: var(--textLight);
  background: var(--dark);
}

.section-light { background: var(--light); }

.section-accent {
  background: var(--accent);
  color: var(--textLight);
}

section {
  padding: 110px 0;
  scroll-margin-top: 80px;
}

/* HEADER */
.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--textLight);
  background: transparent;
  transition: .3s ease;
}

.site-header.scrolled {
  background: rgba(48,35,31,.96);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  letter-spacing: .02em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.main-nav a {
  opacity: .82;
  transition: .25s;
}

.main-nav a:hover { opacity: 1; color: var(--accent); }

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 28px;
}

/* HERO */
.hero {
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding-top: 130px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  align-items: center;
  gap: 80px;
}

.hero-copy { max-width: 620px; }

.eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #CDA69C;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow-dark { color: var(--accent); }

h1, h2, h3, p { margin-top: 0; }

h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 500;
  line-height: 1.08;
}

h1 {
  max-width: 700px;
  margin-bottom: 28px;
  font-size: clamp(48px, 6vw, 84px);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 4.4vw, 64px);
}

h3 {
  font-size: 24px;
  line-height: 1.2;
}

.hero-copy p {
  max-width: 570px;
  margin-bottom: 34px;
  color: rgba(247,241,235,.72);
  font-size: 17px;
}

.hero-visual {
  position: relative;
  max-width: 520px;
  margin-left: auto;
}

.hero-visual > img {
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  min-height: 560px;
}

.floating-card {
  position: absolute;
  left: -35px;
  bottom: 35px;
  width: min(330px, 80%);
  padding: 25px;
  border-radius: 18px;
  color: var(--textLight);
  background: var(--darkSoft);
  box-shadow: var(--shadow);
}

.card-line {
  display: block;
  width: 38px;
  height: 3px;
  margin-bottom: 18px;
  background: var(--accent);
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong { font-size: 18px; margin-bottom: 6px; }
.floating-card small { color: rgba(247,241,235,.62); }

/* BUTTONS */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  transition: transform .25s, background .25s;
}

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

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

.button-primary:hover { background: #693333; }

/* ABOUT */
.two-column {
  display: grid;
  grid-template-columns: .9fr 1fr;
  align-items: center;
  gap: 90px;
}

.image-frame img {
  aspect-ratio: 4 / 5;
  max-height: 680px;
  border-radius: var(--radius);
}

.content-block {
  max-width: 620px;
}

.content-block p {
  color: #6F615A;
  font-size: 16px;
}

.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--accent);
  font-weight: 700;
}

/* HEADINGS */
.section-heading {
  max-width: 750px;
  margin-bottom: 55px;
}

.section-heading p {
  max-width: 680px;
  color: #776A63;
  font-size: 17px;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.section-dark .section-heading p {
  color: rgba(247,241,235,.62);
}

/* CARDS */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.value-card {
  min-height: 320px;
  padding: 36px;
  border: 1px solid rgba(247,241,235,.08);
  border-radius: var(--radius);
  background: var(--darkSoft);
}

.icon-circle {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 55px;
  border: 1px solid rgba(205,166,156,.4);
  border-radius: 50%;
  color: #CDA69C;
  font-size: 12px;
  font-weight: 700;
}

.value-card p {
  color: rgba(247,241,235,.62);
}

.service-card {
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--textLight);
  background: var(--dark);
}

.service-card > img {
  aspect-ratio: 4 / 3;
}

.service-body {
  padding: 30px;
}

.service-number {
  display: block;
  margin-bottom: 12px;
  color: #CDA69C;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
}

.service-body p {
  color: rgba(247,241,235,.62);
}

/* EDITORIAL */
.editorial {
  padding: 140px 0;
}

.editorial-inner {
  max-width: 880px;
  text-align: center;
}

.editorial h2 {
  font-size: clamp(42px, 6vw, 78px);
}

.editorial p {
  max-width: 650px;
  margin-inline: auto;
  color: rgba(247,241,235,.75);
  font-size: 18px;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr .85fr;
  grid-auto-rows: 260px;
  gap: 14px;
}

.gallery-item {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(48,35,31,0);
  transition: .3s;
}

.gallery-item:hover::after {
  background: rgba(48,35,31,.16);
}

.gallery-large {
  grid-row: span 2;
}

.gallery-wide {
  grid-column: span 2;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 90px;
  align-items: start;
}

.contact-details {
  display: grid;
  gap: 22px;
  margin-top: 40px;
}

.contact-details div {
  display: grid;
  gap: 3px;
}

.contact-details span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .15em;
}

.contact-details a {
  color: var(--accent);
  font-weight: 700;
}

.contact-form {
  padding: 38px;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 15px;
  outline: none;
  color: var(--text);
  background: white;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
}

.contact-form .button {
  width: 100%;
}

.form-note {
  margin: 13px 0 0;
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

/* FOOTER */
.footer {
  padding: 60px 0 25px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-brand {
  font-size: 28px;
}

.footer-inner p {
  margin-top: 8px;
  color: rgba(247,241,235,.55);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  color: rgba(247,241,235,.65);
  font-size: 13px;
}

.footer-links a:hover { color: #CDA69C; }

.footer-bottom {
  margin-top: 45px;
  padding-top: 20px;
  border-top: 1px solid rgba(247,241,235,.1);
  color: rgba(247,241,235,.38);
  font-size: 11px;
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 30px;
  background: rgba(20,14,12,.94);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox img {
  width: auto;
  max-width: min(100%, 1100px);
  max-height: 88vh;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 25px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 42px;
}

/* ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s ease, transform .7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  section { padding: 85px 0; }

  .hero-grid,
  .two-column,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero {
    min-height: auto;
    padding-top: 130px;
  }

  .hero-visual {
    margin-inline: auto;
    width: min(100%, 560px);
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-large,
  .gallery-wide {
    grid-row: auto;
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .main-nav {
    position: absolute;
    top: 82px;
    right: 16px;
    left: 16px;
    display: none;
    padding: 20px;
    border-radius: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--darkSoft);
    box-shadow: var(--shadow);
  }

  .main-nav.is-open { display: flex; }

  .main-nav a {
    padding: 14px 4px;
  }

  .menu-toggle { display: block; }

  h1 { font-size: clamp(43px, 13vw, 60px); }

  .hero-visual > img {
    min-height: 430px;
  }

  .floating-card {
    left: 15px;
    bottom: 15px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact-form {
    padding: 25px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .footer-inner {
    flex-direction: column;
  }

  .footer-links {
    justify-content: flex-start;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}
