:root {
  --bg: #f5efe8;
  --surface: rgba(255, 248, 241, 0.75);
  --surface-strong: #fff8f1;
  --surface-dark: #20161a;
  --text: #251c1d;
  --muted: #62565a;
  --line: rgba(37, 28, 29, 0.1);
  --accent: #9f5c4a;
  --accent-deep: #6f3b30;
  --shadow: 0 24px 80px rgba(47, 26, 18, 0.12);
  --radius-lg: 32px;
  --radius-md: 22px;
  --radius-sm: 16px;
  --page-width: min(1180px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(205, 135, 101, 0.22), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.72), transparent 30%),
    linear-gradient(180deg, #f7f1ea 0%, #efe5db 100%);
}

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

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

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

.page-shell {
  width: var(--page-width);
  margin: 0 auto;
  padding-bottom: 2rem;
}

.site-header {
  position: sticky;
  top: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem auto 0;
  padding: 0.9rem 1rem;
  background: rgba(255, 248, 241, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(73, 48, 36, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 50%;
  background: var(--surface-dark);
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 0.14em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-size: 0.85rem;
  line-height: 1.1;
}

.brand-copy strong,
h1,
h2 {
  font-family: "Cormorant Garamond", serif;
}

.brand-copy span:last-child {
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  position: relative;
  padding-bottom: 0.2rem;
  font-size: 0.95rem;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.28rem 0;
  background: var(--text);
}

.section {
  padding: 4rem 0;
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 3rem;
  min-height: calc(100vh - 8rem);
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--accent-deep);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  line-height: 0.92;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.6rem, 7vw, 6.8rem);
}

h2 {
  font-size: clamp(2.6rem, 4vw, 4.4rem);
}

.lead,
.about-copy p,
.service-card p,
.contact-copy p,
.contact-notes p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 16px 40px rgba(111, 59, 48, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px rgba(111, 59, 48, 0.35);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent-deep);
  font-weight: 600;
}

.text-link::after {
  content: "->";
}

.hero-visual {
  position: relative;
  min-height: 42rem;
}

.hero-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-card img,
.gallery-card img,
.about-image img {
  height: 100%;
  object-fit: cover;
}

.hero-card-primary {
  inset: 0 4.5rem 4.5rem 0;
}

.hero-card-secondary {
  right: 0;
  bottom: 0;
  width: 18rem;
  height: 22rem;
  border: 10px solid rgba(255, 248, 241, 0.82);
}

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

.section-grid {
  display: block;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.gallery-card {
  min-height: 22rem;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.gallery-card:nth-child(2),
.gallery-card:nth-child(4) {
  margin-top: 2rem;
}

.about-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 2rem;
  align-items: center;
}

.about-image {
  min-height: 38rem;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255, 248, 241, 0.58);
  backdrop-filter: blur(14px);
}

.stats-strip span,
.service-number,
.contact-notes span,
.process-card span {
  display: block;
  margin-bottom: 0.65rem;
  color: var(--accent-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.stats-strip p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.inner-hero {
  min-height: 34vh;
  display: grid;
  align-items: end;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card,
.contact-form,
.contact-notes > div {
  padding: 2rem;
  border: 1px solid rgba(37, 28, 29, 0.08);
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(75, 44, 31, 0.07);
}

.service-card h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.service-card,
.process-card {
  min-height: 100%;
}

.process-grid {
  display: grid;
  gap: 2rem;
}

.process-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.process-card,
.quote-banner {
  padding: 2rem;
  border: 1px solid rgba(37, 28, 29, 0.08);
  border-radius: var(--radius-md);
  background: var(--surface);
  backdrop-filter: blur(18px);
  box-shadow: 0 16px 50px rgba(75, 44, 31, 0.07);
}

.process-card h3 {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.95;
}

.process-card p,
.quote-banner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.quote-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.quote-banner p {
  max-width: 40rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
  color: var(--text);
}

.contact-layout {
  align-items: start;
  padding-top: 6rem;
}

.contact-notes {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.contact-notes p {
  margin: 0;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form span {
  font-size: 0.9rem;
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(37, 28, 29, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(159, 92, 74, 0.2);
  border-color: rgba(159, 92, 74, 0.5);
}

.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  min-height: 1.5rem;
  margin: 0;
  color: var(--accent-deep);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 2rem 0 1rem;
  color: var(--muted);
}

.site-footer div {
  display: inline-flex;
  gap: 1.2rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero,
  .about-layout,
  .contact-layout,
  .services-grid,
  .process-cards,
  .stats-strip,
  .masonry {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 2rem;
  }

  .hero-visual,
  .about-image {
    min-height: 28rem;
  }

  .gallery-card:nth-child(2),
  .gallery-card:nth-child(4) {
    margin-top: 0;
  }

  .site-header {
    border-radius: 28px;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 0.75rem;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100vw - 1rem, 100%);
  }

  .section {
    padding: 3rem 0;
  }

  h1 {
    font-size: clamp(3rem, 12vw, 4rem);
  }

  h2 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .hero-card-primary {
    inset: 0 1rem 4rem 0;
  }

  .hero-card-secondary {
    width: 12rem;
    height: 15rem;
  }

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

  .quote-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}
