:root {
  --bg: #f6f0e7;
  --surface: #fffdf8;
  --ink: #1c1610;
  --muted: #6b5e4e;
  --line: rgba(28,22,16,0.1);
  --accent: #8b3a1a;
  --accent-light: #fceee6;
  --gold: #c4922a;
  --shadow: 0 18px 54px rgba(60,30,10,0.1);
  --shadow-card: 0 10px 30px rgba(60,30,10,0.07);
  --max: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: "DM Sans", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 0% 0%, rgba(139,58,26,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 100%, rgba(196,146,42,0.07) 0%, transparent 50%),
    var(--bg);
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 18px 0 60px;
}
.header {
  position: sticky;
  top: 14px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: rgba(255, 252, 246, 0.92);
  border: 1px solid rgba(255,255,255,0.9);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(28,22,16,0.1);
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(28,22,16,0.08);
}
.logo-mark img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-text strong { font-family: "Cinzel", serif; font-size: 0.9rem; }
.logo-text span { font-size: 0.75rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.nav a {
  padding: 8px 12px;
  border-radius: 100px;
  font-size: 0.88rem;
  color: var(--muted);
}
.nav a:hover, .nav a.active { background: var(--ink); color: white; }

.hero {
  margin-top: 26px;
  padding: 52px 46px;
  background: var(--surface);
  border: 1px solid rgba(28,22,16,0.06);
  border-radius: 22px;
  box-shadow: var(--shadow);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 42px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
h1, h2, h3 {
  font-family: "Cormorant Garamond", serif;
  margin: 0;
  line-height: 1.05;
}
h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.45rem; }
.lead {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.04rem;
  max-width: 62ch;
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 14px;
  border: 1px solid var(--line);
  font-weight: 700;
  cursor: pointer;
}
.btn-primary { background: var(--ink); color: white; border-color: var(--ink); }
.btn-secondary { background: transparent; color: var(--ink); }

.visual-panel {
  min-height: 320px;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(28,22,16,0.26) 0 14px, transparent 14px),
    linear-gradient(135deg, #9f4521, #d3a23b);
  color: white;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 60px rgba(60,30,10,0.22);
}
.visual-panel span { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; opacity: 0.78; }
.visual-panel strong { font-family: "Cormorant Garamond", serif; font-size: 2.4rem; line-height: 1.05; }
.hero-library {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.97), rgba(248, 242, 232, 0.98));
  padding: 46px 46px;
}
.hero-grid-library {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 48px;
  align-items: center;
}
.hero-library h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 5vw, 4.65rem);
}
.hero-library .lead {
  max-width: 45ch;
}
.hero-library .actions {
  margin-top: 28px;
}
.hero-refined {
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.97), rgba(248, 242, 232, 0.98));
}
.hero-grid-refined {
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.75fr);
  gap: 48px;
  align-items: center;
}
.hero-refined h1 {
  max-width: 14ch;
  font-size: clamp(3rem, 5vw, 4.65rem);
}
.hero-refined .lead {
  max-width: 45ch;
}
.library-proof-panel,
.service-proof-panel {
  align-self: stretch;
  border: 1px solid rgba(47, 65, 58, 0.16);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 250, 0.86), rgba(237, 232, 219, 0.88)),
    linear-gradient(135deg, rgba(93, 111, 96, 0.2), rgba(179, 151, 93, 0.18));
  box-shadow: 0 18px 42px rgba(52, 40, 23, 0.12);
  color: #211c16;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 34px;
}
.library-panel-kicker,
.service-panel-kicker {
  color: #5f6d58;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.library-proof-panel h2,
.service-proof-panel h2 {
  font-size: clamp(1.85rem, 2.25vw, 2.35rem);
  max-width: 18ch;
}
.library-proof-panel ul,
.service-proof-panel ul {
  border-top: 1px solid rgba(47, 65, 58, 0.14);
  color: #564c3d;
  line-height: 1.7;
  margin: 22px 0 0;
  padding: 18px 0 0 18px;
}
.library-proof-panel li,
.service-proof-panel li {
  margin: 6px 0;
}
.library-proof-panel a,
.service-proof-panel a {
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  color: #2f413a;
  font-weight: 700;
  margin-top: 24px;
}
@media (max-width: 900px) {
  .hero-grid-library,
  .hero-grid-refined { grid-template-columns: 1fr; }
  .library-proof-panel,
  .service-proof-panel { min-height: auto; }
}

.section { margin-top: 46px; }
.section-panel {
  padding: 34px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid rgba(28,22,16,0.07);
  box-shadow: var(--shadow-card);
}
.grid-3, .grid-2 {
  display: grid;
  gap: 18px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: 26px;
  border-radius: 14px;
  background: rgba(255,255,255,0.72);
  border: 1px solid var(--line);
}
.card h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.45rem);
  line-height: 1.08;
}
.card h3 {
  font-size: 1.35rem;
  line-height: 1.14;
}
.card p, .article p, .article li, .muted { color: var(--muted); line-height: 1.75; }
.card ul, .article ul { padding-left: 20px; }
.card li, .article li { margin: 8px 0; }
.quote-form {
  display: grid;
  gap: 14px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { display: grid; gap: 6px; }
.form-group label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 13px 15px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--accent);
}
.article {
  max-width: 820px;
}
.article h2 { margin-top: 36px; }
.article p { font-size: 1.03rem; }
.breadcrumbs {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.88rem;
}
.breadcrumbs a { color: var(--accent); font-weight: 700; }
footer {
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}
footer strong { font-family: "Cinzel", serif; color: var(--ink); }
footer a { color: var(--accent); font-weight: 700; }

@media (max-width: 900px) {
  .hero-grid, .grid-3, .grid-2, .form-row { grid-template-columns: 1fr; }
  .visual-panel { min-height: 220px; }
  .header { align-items: flex-start; border-radius: 22px; flex-direction: column; }
  .nav { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 24px); }
  .hero, .section-panel { padding: 28px 22px; }
  footer { flex-direction: column; }
}
