/* Levendy International — black, gold and ivory, taken from the logo */
:root {
  --ink: #12100d;
  --ink-soft: #1c1914;
  --gold: #b48a3c;
  --gold-light: #d8b86a;
  --ivory: #f7f1e5;
  --stone: #e9dfca;
  --text: #2a2620;
  --muted: #6b6354;
  --serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 64px);
  --max: 1160px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; max-width: 62ch; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--dark { background: var(--ink); color: #d9d1bf; }
.section--dark h2, .section--dark h3 { color: var(--ivory); }
.section--stone { background: var(--stone); }
.lede { font-size: 1.2rem; color: var(--muted); }
.section--dark .lede { color: #b8af9a; }

/* gold rule used under section headings */
.rule { width: 72px; height: 2px; background: var(--gold); border: 0; margin: 22px 0 28px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(247, 241, 229, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(180, 138, 60, 0.35);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark {
  width: 52px; height: 52px; background: url("assets/logo.png") no-repeat;
  background-size: 190%; background-position: 40% 18%;
  border: 1px solid var(--gold);
}
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.55rem; letter-spacing: 0.14em; color: var(--ink); line-height: 1; }
.brand-name small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.5em; margin-top: 5px; color: var(--muted); }

.nav { display: flex; gap: 34px; align-items: center; }
.nav a { text-decoration: none; font-size: 0.95rem; letter-spacing: 0.04em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-color: var(--gold); }
.nav a[aria-current="page"] { border-color: var(--gold); color: var(--ink); font-weight: 500; }
.nav .btn { padding: 10px 22px; border-bottom: 0; }
.menu-toggle { display: none; background: none; border: 1px solid var(--gold); color: var(--ink); font: inherit; padding: 8px 16px; cursor: pointer; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; background: var(--ink); color: var(--ivory) !important;
  padding: 15px 34px; text-decoration: none; font-weight: 500; letter-spacing: 0.06em; font-size: 0.95rem;
  border: 1px solid var(--ink); cursor: pointer; font-family: var(--sans);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
.btn--ghost { background: transparent; color: var(--ink) !important; border-color: var(--gold); }
.btn--ghost:hover { background: var(--gold); }
.section--dark .btn { background: var(--gold); border-color: var(--gold); color: var(--ink) !important; }
.section--dark .btn:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ---------- Hero ---------- */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 8px; }
.hero .lede { margin: 24px 0 36px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-logo { position: relative; }
.hero-logo img { width: 100%; border: 1px solid var(--gold); box-shadow: 0 24px 60px rgba(18,16,13,0.18); }
.hero-logo::after {
  content: ""; position: absolute; inset: 8% 6% auto auto; width: 38%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 184, 106, 0.35), transparent 70%); z-index: -1;
}
/* the one moment of motion: the logo settles in on page load */
@media (prefers-reduced-motion: no-preference) {
  .hero-logo img { animation: settle 1.4s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { opacity: 0; transform: scale(0.94) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
}

/* ---------- Divisions list (home + services) ---------- */
.divisions { display: grid; gap: 0; margin-top: 48px; border-top: 1px solid rgba(180, 138, 60, 0.5); }
.division {
  display: grid; grid-template-columns: 0.9fr 1.4fr; gap: 32px; padding: 36px 0;
  border-bottom: 1px solid rgba(180, 138, 60, 0.5);
}
.division p { margin: 0; }
.section--dark .division p { color: #b8af9a; }

/* ---------- Two-column text ---------- */
.split { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 56px; }
.values h3 { margin-bottom: 10px; font-size: 1.45rem; }
.values p { color: var(--muted); }

/* ---------- Page banner ---------- */
.banner { background: var(--ink); color: var(--ivory); padding: clamp(56px, 8vw, 104px) 0; }
.banner h1 { color: var(--ivory); }
.banner .lede { color: #b8af9a; margin-top: 18px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 6vw, 88px); }
.form { display: grid; gap: 22px; }
.field label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink); background: #fffdf8;
  border: 1px solid #c9bb9a; padding: 14px 16px; border-radius: 0;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.form-status { margin: 0; font-size: 0.95rem; min-height: 1.4em; }
.form-status[data-state="error"] { color: #8f2d1f; }
.form-status[data-state="ok"] { color: #2f5d2f; }

/* ---------- CTA band + footer ---------- */
.cta-band { text-align: center; }
.cta-band p { margin-left: auto; margin-right: auto; }
.cta-band .rule { margin-left: auto; margin-right: auto; }

.site-footer { background: var(--ink); color: #a89f8a; padding: 56px 0 36px; border-top: 2px solid var(--gold); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand-name { color: var(--ivory); }
.site-footer a { text-decoration: none; display: block; padding: 3px 0; }
.site-footer a:hover { color: var(--gold-light); }
.site-footer h4 { font-family: var(--serif); color: var(--ivory); font-size: 1.2rem; margin: 0 0 10px; font-weight: 600; }
.fine { grid-column: 1 / -1; border-top: 1px solid #2c2820; padding-top: 22px; font-size: 0.85rem; }

/* ---------- Mobile ---------- */
@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 6px; background: var(--ivory); padding: 18px var(--gutter) 26px; border-bottom: 1px solid var(--gold);
  }
  .nav.open { display: flex; }
  .hero .wrap, .split, .contact-grid, .division { grid-template-columns: 1fr; }
  .hero-logo { order: -1; max-width: 420px; margin: 0 auto; }
  .values { grid-template-columns: 1fr; gap: 32px; }
  .site-footer .wrap { grid-template-columns: 1fr; }
  .division { gap: 12px; }
}
