:root {
  --ink: #1c1714;
  --espresso: #2a1d12;
  --muted: #6b625b;
  --cream: #f6efe6;
  --paper: #fffaf3;
  --wood: #b97936;
  --wood-dark: #68401f;
  --gold: #c9a25a;
  --line: rgba(27, 23, 20, 0.12);
  --shadow: 0 22px 70px rgba(38, 24, 13, 0.18);
  --shadow-sm: 0 14px 36px rgba(38, 24, 13, 0.1);
  --font-logo: "Cinzel", "Times New Roman", serif;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 85% 8%, rgba(185, 121, 54, 0.12), transparent 34rem),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* ---------- Splash / Loader ---------- */
#splash {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(185, 121, 54, 0.08), transparent 20rem),
    var(--paper);
  transition: opacity 700ms ease, visibility 700ms ease;
}

#splash.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash__logo {
  width: min(300px, 62vw);
  height: auto;
  color: var(--ink);
  animation: splash-pulse 2.2s ease-in-out infinite;
}

@keyframes splash-pulse {
  0%, 100% { opacity: 0.88; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

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

a {
  color: inherit;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1rem, 4vw, 4rem);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 250, 243, 0.82);
  backdrop-filter: blur(18px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-logo);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.brand em {
  font-style: normal;
  font-weight: 400;
  color: var(--wood-dark);
}

.brand-mark {
  width: auto;
  height: 2.6rem;
  object-fit: contain;
}

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 3vw, 2.2rem);
  font-size: 0.95rem;
}

.site-header nav a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  padding-bottom: 2px;
  transition: color 160ms ease;
}

/* Hamburger toggle (mobile only) */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 160ms ease;
}

.nav-toggle__bars {
  position: relative;
}

.nav-toggle__bars::before {
  position: absolute;
  top: -7px;
  left: 0;
}

.nav-toggle__bars::after {
  position: absolute;
  top: 7px;
  left: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: var(--wood);
  transition: width 200ms ease;
}

.site-header nav a:hover {
  color: var(--ink);
}

.site-header nav a:hover::after {
  width: 100%;
}

/* ---------- Layout widths ---------- */
.intro,
.services,
.atelier,
.contact {
  width: min(1160px, calc(100% - 2rem));
  margin-inline: auto;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70px);
  overflow: hidden;
  color: var(--ink);
  text-align: center;
  background:
    radial-gradient(circle at 50% 18%, rgba(185, 121, 54, 0.1), transparent 28rem),
    linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(90deg, rgba(104, 64, 31, 0.045) 0 1px, transparent 1px 3.4rem);
  opacity: 0.6;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(880px, calc(100% - 2rem));
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 9vw, 6rem);
}

.hero__logo {
  width: min(440px, 72vw);
  height: auto;
  margin-bottom: clamp(0.2rem, 1vw, 0.6rem);
  color: #000;
  filter: drop-shadow(0 14px 30px rgba(0, 0, 0, 0.16));
}

.hero h1 {
  max-width: 20ch;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  font-weight: 600;
  line-height: 1.04;
}

.hero__lead {
  max-width: 40rem;
  margin: 1.4rem auto 0;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.2rem;
}

.hero__keys {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  display: flex;
  width: 100%;
  height: 0.7rem;
  border-top: 1px solid rgba(20, 14, 9, 0.18);
  box-shadow: 0 -6px 18px rgba(38, 24, 13, 0.06);
}

.hero__keys span {
  flex: 1;
  background: #ffffff;
  border-right: 1px solid rgba(20, 14, 9, 0.18);
}

.hero__keys span.b {
  background: var(--espresso);
}

/* ---------- Eyebrow ---------- */
.eyebrow {
  margin: 0 0 1rem;
  color: var(--wood-dark);
  font-family: var(--font-logo);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.eyebrow--light {
  color: var(--gold);
}

/* ---------- Headings ---------- */
h1,
h2,
h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 600;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

p {
  color: var(--muted);
  line-height: 1.75;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
}

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

.button--primary {
  color: white;
  background: var(--wood-dark);
  box-shadow: 0 12px 28px rgba(104, 64, 31, 0.35);
}

.button--primary:hover {
  background: var(--espresso);
}

.button--light {
  color: var(--paper);
  border-color: rgba(255, 250, 243, 0.7);
  background: rgba(255, 250, 243, 0.08);
  backdrop-filter: blur(6px);
}

.button--light:hover {
  background: rgba(255, 250, 243, 0.18);
}

.button--ghost {
  color: var(--ink);
  border-color: var(--ink);
  background: transparent;
}

/* ---------- Trust strip ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: min(1160px, calc(100% - 2rem));
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  padding: clamp(1.5rem, 3vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  background: rgba(255, 250, 243, 0.7);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.trust__item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.5rem;
}

.trust__item + .trust__item {
  border-left: 1px solid var(--line);
}

.trust__item strong {
  font-family: var(--font-logo);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--wood-dark);
}

.trust__item span {
  color: var(--muted);
  font-size: 0.92rem;
}

/* ---------- Intro ---------- */
.intro {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.intro__media {
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.intro__media img {
  width: 100%;
  height: 100%;
  max-height: 30rem;
  object-fit: cover;
}

.intro__media--logo {
  display: grid;
  place-items: center;
  padding: 0;
  background: none;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}

.intro__media--logo img {
  width: min(340px, 80%);
  height: auto;
  max-height: none;
  object-fit: contain;
}

.intro__text p {
  max-width: 42rem;
}

.signature {
  margin-top: 1.4rem;
  color: var(--wood-dark);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
  font-style: italic;
}

/* ---------- Services ---------- */
.services {
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.services h2 {
  max-width: 16ch;
}

.services > .eyebrow + h2 {
  margin-bottom: 0.5rem;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}

.services article {
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 1.3rem;
  background: rgba(255, 250, 243, 0.8);
  box-shadow: var(--shadow-sm);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.services article:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.services article h3 {
  position: relative;
  margin: 0 0 1.4rem;
  padding-bottom: 1rem;
}

.services article h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.4rem;
  height: 2px;
  background: var(--wood);
  border-radius: 2px;
}

.services article p {
  margin: 0;
  font-size: 0.96rem;
}

/* ---------- Atelier ---------- */
.atelier {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.atelier__text p {
  max-width: 42rem;
}

.atelier__media {
  margin: 0;
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}

.atelier__media img {
  width: 100%;
  height: 100%;
  max-height: 30rem;
  object-fit: cover;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
  color: var(--wood-dark);
  font-weight: 700;
  text-decoration: none;
  transition: gap 180ms ease;
}

.link-arrow:hover {
  gap: 0.9rem;
}

/* ---------- Contact ---------- */
.contact {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  padding: clamp(3.5rem, 8vw, 7rem) 0;
}

.contact__info p {
  max-width: 42rem;
}

dl {
  display: grid;
  gap: 1rem;
  margin: 2rem 0 0;
}

dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

dd {
  margin: 0.25rem 0 0;
  font-size: 1.1rem;
  font-weight: 700;
}

dd a {
  text-decoration: none;
  border-bottom: 1px solid rgba(104, 64, 31, 0.3);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: rgba(255, 250, 243, 0.92);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--ink);
  font-weight: 700;
}

small {
  color: var(--muted);
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(27, 23, 20, 0.2);
  border-radius: 0.9rem;
  padding: 0.9rem 1rem;
  color: var(--ink);
  background: white;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(185, 121, 54, 0.26);
  border-color: var(--wood);
}

textarea {
  resize: vertical;
}

.privacy {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--muted);
  font-weight: 600;
  line-height: 1.5;
}

.privacy input {
  width: auto;
  margin-top: 0.25rem;
}

.honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.field-error,
.form-status {
  min-height: 1.2em;
  color: #9f2d1f;
  font-size: 0.9rem;
  font-weight: 700;
}

.form-status.is-success {
  color: #257047;
}

/* ---------- Footer ---------- */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding: 2rem clamp(1rem, 4vw, 4rem);
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: none;
  border-bottom: 1px solid rgba(104, 64, 31, 0.3);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero {
    min-height: 80vh;
  }

  .intro,
  .atelier,
  .contact {
    grid-template-columns: 1fr;
  }

  .intro__media {
    order: -1;
  }

  .trust {
    grid-template-columns: 1fr;
    text-align: left;
    gap: 0;
  }

  .trust__item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.9rem 0.5rem;
  }

  .trust__item strong {
    font-size: 1.2rem;
  }

  .trust__item + .trust__item {
    border-left: none;
    border-top: 1px solid var(--line);
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  html {
    scroll-padding-top: 56px;
  }

  .nav-toggle {
    display: inline-flex;
    width: 36px;
    height: 30px;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 0 0.8rem;
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
  }

  .brand-mark {
    height: 1.6rem;
  }

  .brand {
    font-size: 0.95rem;
    gap: 0.5rem;
    line-height: 1;
  }

  .site-header nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    background: rgba(255, 250, 243, 0.98);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow-sm);
    transition: max-height 260ms ease, opacity 200ms ease;
  }

  .site-header nav.is-open {
    max-height: 70vh;
    opacity: 1;
    border-top: 1px solid var(--line);
  }

  .site-header nav a {
    padding: 0.95rem clamp(1rem, 4vw, 4rem);
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .site-header nav a::after {
    display: none;
  }

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

  .services article {
    min-height: auto;
  }

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