html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: Inter, system-ui, sans-serif;
}

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


h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
}

h1 {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(34px, 3.4vw, 50px);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

h2 {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h3 {
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.12;
}

p {
  line-height: 1.7;
}

.section-shell {
  width: min(1160px, calc(100% - 32px));
  margin: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 40px));
  margin: 16px auto 0;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  gap: 9px;
  align-items: center;
  font-family: Inter, system-ui, sans-serif;
  font-weight: 700;
  font-size: 24px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  line-height: 0;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(184, 138, 59, 0.18);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(79, 63, 41, 0.08);
  overflow: hidden;
}

@media (max-width: 640px) {
  .brand-mark {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
    border-radius: 10px;
  }
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  color: #514636;
}

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

.pill,
.lang-toggle {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  color: white;
  font-size: 23px;
}

.lang-toggle {
  font-size: 12px;
  letter-spacing: .04em;
  cursor: pointer;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  min-width: 92px;
  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  padding: 56px 0 34px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 12px;
  letter-spacing: .18em;
  font-weight: 700;
}

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
  transition: .25s transform, .25s background;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  min-width: 160px;
  line-height: 1.1;
  white-space: nowrap;
  text-align: center;
}

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

.primary {
  background: linear-gradient(135deg, var(--gold), #e9ab67);
  color: #19101f;
  box-shadow: 0 10px 24px rgba(184, 138, 59, 0.22);
}

.ghost {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
}

.lead {
  color: var(--muted);
  max-width: 62ch;
  line-height: 1.65;
}

.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 20px;
  box-shadow: var(--shadow);
}

.grid {
  display: grid;
  gap: 18px;
}

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.form .full {
  grid-column: 1 / -1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: #fffaf1;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 14px;
  padding: 12px 14px;
  font: inherit;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.footer {
  padding: 24px 0 36px;
  color: var(--muted);
}

@media (max-width: 900px) {
  .grid,
  .form {
    grid-template-columns: 1fr;
  }

  .site-header,
  .top {
    flex-direction: column;
    align-items: flex-start;
  }
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-page-title { font-family: Inter, system-ui, sans-serif; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.08; letter-spacing: -.02em; }

/* Keep the shared site shell usable on phones instead of stacking the desktop header. */
@media (max-width: 700px) {
  .section-shell, .site-header, .top { width: calc(100% - 24px) !important; }
  .site-header, .top { flex-direction: row !important; align-items: center !important; gap: 10px; margin-top: 8px !important; padding: 8px 10px !important; border-radius: 13px !important; }
  .brand, .parchment-theme .top .brand { flex: 0 0 auto; min-width: 0; gap: 6px !important; font-size: 16px !important; white-space: nowrap; }
  .brand-mark, .parchment-theme .top .brand-mark { width: 32px !important; height: 32px !important; flex-basis: 32px !important; border-radius: 9px !important; }
  .nav, .parchment-theme .top .nav, .parchment-theme .site-header .nav { min-width: 0; flex: 1 1 auto; justify-content: flex-end; gap: 5px !important; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; white-space: nowrap; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a, .parchment-theme .top .nav a, .parchment-theme .site-header .nav a { flex: 0 0 auto; min-height: 34px !important; padding: 7px 10px !important; font-size: 11px !important; border-radius: 9px !important; }
  .lang-toggle { min-width: 66px !important; min-height: 34px; padding: 7px 9px; font-size: 11px; }
  .hero { padding: 34px 0 24px; }
  .section-heading { margin-bottom: 18px; }
  .section-heading h2, .section-page-title, h2 { font-size: clamp(25px, 8vw, 34px) !important; line-height: 1.08; }
  h1 { font-size: clamp(30px, 9vw, 42px); }
  .card { padding: 16px; border-radius: 16px; }
  .form { gap: 10px; }
  .field input, .field select, .field textarea { box-sizing: border-box; padding: 11px 12px; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .btn, .btn { width: 100%; min-width: 0; }
}
