:root {
  --cream: #f4efe8;
  --cream-2: #ebe3d7;
  --sand: #d9cbb8;
  --espresso: #2d241e;
  --espresso-2: #3b3029;
  --ink: #221c18;
  --muted: #6d6158;
  --gold: #b8914f;
  --gold-soft: #cfae72;
  --white: #fffdfa;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --radius: 4px;
  --shadow: 0 20px 50px -25px rgba(45, 36, 30, 0.35);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; }
p { margin: 0 0 1rem; }

.container { width: min(1200px, 100% - 3rem); margin-inline: auto; }

/* ---------- shared ---------- */
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 1rem;
}
.eyebrow--light { color: var(--gold-soft); }

.rule { display: block; width: 48px; height: 1px; background: var(--gold); margin: 1.6rem 0; }

.section { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section__title { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.section__head { text-align: center; max-width: 720px; margin: 0 auto 3.5rem; }
.section__head .section__title { margin-bottom: 1rem; }
.section__intro { color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.8rem;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--dark { background: var(--espresso); color: var(--white); }
.btn--dark:hover { background: var(--gold); }
.btn--outline { border-color: var(--espresso); color: var(--espresso); }
.btn--outline:hover { background: var(--espresso); color: var(--white); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--white); color: var(--espresso); }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1.1rem 0;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.header.is-scrolled {
  background: rgba(244, 239, 232, 0.94);
  backdrop-filter: blur(10px);
  padding: 0.6rem 0;
  box-shadow: 0 1px 0 rgba(45, 36, 30, 0.08);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand__mark { width: 46px; height: 46px; object-fit: contain; mix-blend-mode: multiply; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--serif); font-size: 1.55rem; letter-spacing: 0.14em; color: var(--espresso); }
.brand__name em { font-style: normal; color: var(--gold); }
.brand__tag { font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); margin-top: 0.35rem; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  position: relative;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  padding: 0.3rem 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--espresso);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { padding: 0.75rem 1.2rem; font-size: 0.68rem; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
}
.nav-toggle span { display: block; height: 1px; width: 26px; margin-left: auto; background: var(--espresso); transition: transform 0.3s, opacity 0.3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  background: linear-gradient(100deg, var(--cream) 0%, #efe7dc 55%, var(--cream-2) 100%);
  overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1fr 1.15fr; gap: 4rem; align-items: center; }
.hero__title { font-size: clamp(2.6rem, 5vw, 4.4rem); color: var(--espresso); letter-spacing: -0.01em; }
.hero__lead { max-width: 440px; color: var(--muted); font-size: 1.02rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 180px 180px var(--radius) var(--radius);
  box-shadow: var(--shadow);
}
.hero__badge {
  position: absolute;
  left: -2rem; bottom: 2.5rem;
  background: var(--white);
  padding: 1.2rem 1.6rem;
  box-shadow: var(--shadow);
  border-left: 2px solid var(--gold);
  display: flex; flex-direction: column;
}
.hero__badge-title { font-family: var(--serif); font-size: 1.35rem; color: var(--espresso); letter-spacing: 0.08em; }
.hero__badge-sub { font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }

/* ---------- features ---------- */
.features { background: var(--cream-2); padding: 4rem 0; text-align: center; }
.features__title { font-size: clamp(1.5rem, 2.6vw, 2rem); color: var(--espresso); }
.features__sub { color: var(--muted); margin: 0.6rem 0 2.8rem; }
.features__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, 1fr); }
.feature { padding: 0.5rem 1.2rem; border-left: 1px solid rgba(45, 36, 30, 0.12); }
.feature:first-child { border-left: 0; }
.feature svg { width: 40px; height: 40px; fill: none; stroke: var(--espresso); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin: 0 auto 1rem; }
.feature h3 { font-family: var(--sans); font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; margin-bottom: 0.5rem; }
.feature p { font-size: 0.88rem; color: var(--muted); margin: 0; }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.about__media { position: relative; padding: 0 3rem 4rem 0; }
.about__img--main { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius); }
.about__img--float {
  position: absolute; right: 0; bottom: 0;
  width: 58%; aspect-ratio: 16 / 10; object-fit: cover;
  border: 10px solid var(--cream);
  box-shadow: var(--shadow);
}
.about__content p { color: var(--muted); }
.philosophy { margin-top: 2rem; padding: 1.6rem 1.8rem; background: var(--white); border-left: 2px solid var(--gold); }
.philosophy h3 { font-size: 1.6rem; color: var(--espresso); margin-bottom: 0.5rem; }
.philosophy p { margin: 0; }

/* ---------- offer ---------- */
.offer { background: var(--white); }
.offer__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.card { background: var(--cream); border-radius: var(--radius); overflow: hidden; transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__body { padding: 1.6rem 1.7rem 1.9rem; }
.card__num { font-family: var(--serif); font-style: italic; color: var(--gold); font-size: 1.1rem; }
.card h3 { font-size: 1.55rem; color: var(--espresso); margin: 0.3rem 0 0.6rem; }
.card p { font-size: 0.92rem; color: var(--muted); margin: 0; }

/* ---------- why ---------- */
.why { background: var(--espresso); color: var(--cream); }
.why__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(3rem, 7vw, 6rem); align-items: center; }
.why .section__title { color: var(--white); }
.why__intro p { color: rgba(244, 239, 232, 0.75); margin-bottom: 2rem; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(244, 239, 232, 0.12); }
.why__list li { background: var(--espresso); padding: 1.8rem 1.6rem; font-size: 1rem; line-height: 1.55; transition: background 0.35s var(--ease); }
.why__list li:hover { background: var(--espresso-2); }
.why__list span { display: block; font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--gold-soft); margin-bottom: 0.4rem; }

/* ---------- process ---------- */
.process__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(45, 36, 30, 0.1); border: 1px solid rgba(45, 36, 30, 0.1); }
.step { position: relative; background: var(--cream); padding: 2.6rem 2.2rem; overflow: hidden; transition: background 0.4s var(--ease); }
.step::before { content: ""; position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); transition: width 0.5s var(--ease); }
.step:hover { background: var(--white); }
.step:hover::before { width: 100%; }
.step__num { display: block; font-family: var(--serif); font-size: 3.4rem; line-height: 1; color: var(--sand); margin-bottom: 1rem; transition: color 0.4s; }
.step:hover .step__num { color: var(--gold); }
.step h3 { font-size: 1.75rem; color: var(--espresso); margin-bottom: 0.6rem; }
.step p { color: var(--muted); font-size: 0.93rem; margin: 0; }

/* ---------- gallery ---------- */
.projects { background: var(--cream-2); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 1rem; }
.gallery__item { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item--tall { grid-row: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0;
  padding: 2.5rem 1.2rem 1rem;
  font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--white);
  background: linear-gradient(transparent, rgba(34, 28, 24, 0.7));
  opacity: 0; transform: translateY(10px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}
.gallery__item:hover figcaption { opacity: 1; transform: none; }

/* ---------- commitment ---------- */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.principle { text-align: center; padding: 2.2rem 1.4rem; border: 1px solid rgba(184, 145, 79, 0.35); border-radius: var(--radius); transition: background 0.4s, border-color 0.4s; }
.principle:hover { background: var(--white); border-color: var(--gold); }
.principle h3 { font-size: 1.5rem; color: var(--espresso); margin-bottom: 0.6rem; }
.principle p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.quote {
  max-width: 820px;
  margin: 4.5rem auto 0;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  line-height: 1.4;
  color: var(--espresso);
}

/* ---------- vision & mission ---------- */
.vm { background: var(--white); padding-top: 0; }
.vm__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.vm__card { background: var(--cream); padding: clamp(2rem, 4vw, 3.2rem); border-top: 2px solid var(--gold); }
.vm__text { font-family: var(--serif); font-size: clamp(1.3rem, 2.2vw, 1.65rem); line-height: 1.45; color: var(--espresso); margin: 0; }
.vm__closing { text-align: center; color: var(--muted); max-width: 720px; margin-top: 3rem; }
.commitment { background: var(--white); }

/* ---------- contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(3rem, 7vw, 6rem); align-items: start; }
.contact__info > p { color: var(--muted); }
.contact__list { font-style: normal; margin: 2rem 0 0; padding: 0; display: grid; gap: 1.4rem; }
.contact__list div { color: var(--muted); font-size: 0.95rem; line-height: 1.6; }
.contact__list strong { display: block; font-weight: 500; font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--espresso); margin-bottom: 0.25rem; }
.contact__list a:hover { color: var(--gold); }

.form { background: var(--white); padding: clamp(1.8rem, 4vw, 2.8rem); box-shadow: var(--shadow); display: grid; gap: 0.45rem; }
.form .btn--block { margin-top: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem 1.2rem; }
.form label { display: grid; gap: 0.45rem; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; font-weight: 500; color: var(--espresso); }
.form input,
.form select,
.form textarea {
  font: inherit;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 300;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid transparent;
  border-bottom-color: var(--sand);
  padding: 0.85rem 1rem;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}
.form textarea { resize: vertical; }
.form input:focus,
.form select:focus,
.form textarea:focus { border-color: var(--gold); background: var(--white); }
.form .is-invalid { border-color: #b4553c; }
.form__status { margin: 0.5rem 0 0; font-size: 0.9rem; min-height: 1.4em; color: var(--gold); text-align: center; }
.form__status.is-error { color: #b4553c; }

/* ---------- footer ---------- */
.footer { background: var(--cream-2); padding: 4.5rem 0 1.5rem; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(45, 36, 30, 0.12); }
.footer__logo { width: 210px; mix-blend-mode: multiply; margin-bottom: 0.8rem; }
.footer__brand p { color: var(--muted); max-width: 260px; }
.footer h3 { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--espresso); margin-bottom: 1.1rem; }
.footer__grid > div > a { display: block; color: var(--muted); padding: 0.25rem 0; transition: color 0.3s; }
.footer__grid > div > a:hover { color: var(--gold); }
.footer__parent p { color: var(--muted); margin-top: 0.6rem; }
.sundeer { display: flex; align-items: center; gap: 0.6rem; }
.sundeer__mark { width: 44px; height: 44px; }
.sundeer__name { font-weight: 500; font-size: 0.95rem; letter-spacing: 0.06em; color: #d8691d; }
.footer__grid a.sundeer { display: inline-flex; align-items: center; gap: 0.6rem; }
.footer__grid a.sundeer:hover .sundeer__name { color: var(--espresso); }
.footer__bottom a { color: var(--espresso); border-bottom: 1px solid var(--sand); transition: color 0.3s, border-color 0.3s; }
.footer__bottom a:hover { color: var(--gold); border-color: var(--gold); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; font-size: 0.78rem; letter-spacing: 0.08em; color: var(--muted); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal--delay { transition-delay: 0.15s; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav { gap: 1.4rem; }
  .features__grid { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .feature:nth-child(4) { border-left: 0; }
  .principles { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(320px, 85vw);
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 6rem 2.2rem 2rem;
    background: var(--cream);
    box-shadow: -20px 0 40px -20px rgba(45, 36, 30, 0.3);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav-toggle { position: relative; z-index: 60; }
  .nav__link { font-size: 0.85rem; }

  .hero__inner,
  .about__grid,
  .why__grid,
  .contact__grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-top: 7.5rem; }
  .hero__badge { left: 1rem; bottom: 1rem; }
  .offer__grid,
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
  .features__grid { grid-template-columns: 1fr 1fr; }
  .feature { border-left: 0; }
  .offer__grid,
  .process__grid,
  .why__list,
  .principles,
  .vm__grid,
  .form__row { grid-template-columns: 1fr; }
  .about__media { padding: 0 1.5rem 3rem 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery__item--wide,
  .gallery__item--tall { grid-column: auto; grid-row: auto; }
  .gallery__item figcaption { opacity: 1; transform: none; }
  .footer__grid { grid-template-columns: 1fr; }
}
