:root {
  --paper: #f6f1e8;
  --sheet: #fffdf8;
  --ink: #1c1917;
  --mute: #6b6258;
  --rule: #d9d0c2;
  --copper: #9a6b3a;
  --copper-deep: #7a431c;
  --gold: #c4a574;
  --deep: #14110f;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.sm-body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Outfit, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  border-top: 3px solid var(--gold);
}

body.sm-body a { color: var(--copper-deep); }
body.sm-body a:hover { color: var(--ink); }

.serif { font-family: "Cormorant Garamond", Georgia, serif; }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }

.sm-wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.sm-wrap-wide { max-width: 1280px; margin: 0 auto; padding: 0 22px; }

.sm-kicker {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}

.sm-rule { height: 1px; background: var(--rule); border: 0; margin: 0; }

.sm-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}

.sm-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 16px;
}

.sm-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.sm-brand .mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.sm-brand .sub {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
}

.sm-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.sm-links a {
  text-decoration: none;
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 0.02em;
}

.sm-links a:hover { color: var(--copper); }

.sm-btn,
a.sm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
  color: var(--paper) !important;
  text-decoration: none;
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 18px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: Outfit, sans-serif;
  transition: 0.25s ease;
  cursor: pointer;
}

.sm-btn:hover,
a.sm-btn:hover {
  background: var(--copper-deep);
  border-color: var(--copper-deep);
  color: #fff !important;
}

.sm-btn-ghost,
a.sm-btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}

.sm-btn-ghost:hover,
a.sm-btn-ghost:hover {
  background: var(--ink);
  color: var(--paper) !important;
}

.sm-btn-gold,
a.sm-btn-gold {
  background: var(--gold);
  color: var(--ink) !important;
  border-color: var(--gold);
}

.sm-btn-gold:hover,
a.sm-btn-gold:hover {
  background: #d4b888;
  border-color: #d4b888;
  color: var(--ink) !important;
}

.sm-burger {
  display: none;
  background: none;
  border: 1px solid var(--ink);
  width: 42px;
  height: 42px;
  cursor: pointer;
}

.sm-drawer {
  display: none;
  border-top: 1px solid var(--rule);
  padding: 12px 0 20px;
}

.sm-drawer a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
}

.sm-hero {
  padding: 72px 0 56px;
}

.sm-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 14px 0 22px;
}

.sm-hero h1 em {
  font-style: italic;
  color: var(--copper);
}

.sm-lead {
  max-width: 540px;
  font-size: 18px;
  color: #3d3832;
}

.sm-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  margin-top: 28px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute);
}

.sm-desk {
  background: var(--deep);
  color: #efe8dc;
  border: 1px solid #2a2520;
  min-height: 100%;
  padding: 18px;
}

.sm-desk-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #3a332b;
  padding-bottom: 12px;
  margin-bottom: 14px;
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
}

.sm-desk-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #2a2520;
  font-size: 14px;
}

.sm-desk-row .ok { color: #c8d5a7; }
.sm-desk-row .run { color: var(--gold); }

.sm-section { padding: 84px 0; }
.sm-section-tight { padding: 56px 0; }

.sm-section h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 500;
  font-size: clamp(32px, 4.4vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 10px 0 18px;
}

.sm-section h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 28px;
  margin: 0 0 10px;
}

.sm-ink { background: var(--deep); color: #efe8dc; }
.sm-ink h2, .sm-ink h3 { color: #f6f1e8; }
.sm-ink .sm-kicker { color: var(--gold); }
.sm-sheet { background: var(--sheet); }

.sm-card {
  background: var(--sheet);
  border: 1px solid var(--rule);
  padding: 26px;
  height: 100%;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.sm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(28, 25, 23, 0.08);
}

.sm-card .num {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--copper);
}

.sm-pull {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-style: italic;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.25;
  border-left: 2px solid var(--gold);
  padding-left: 22px;
  margin: 0;
}

.sm-stat {
  border-top: 1px solid var(--rule);
  padding-top: 16px;
}

.sm-stat b {
  display: block;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 40px;
  font-weight: 500;
  line-height: 1;
}

.sm-stat span {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute);
}

.sm-steps { counter-reset: step; }
.sm-step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
}

.sm-step .n {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 34px;
  color: var(--copper);
}

.sm-chip {
  display: inline-block;
  border: 1px solid var(--rule);
  padding: 6px 10px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 8px 8px 0;
}

.sm-page-hero { padding: 56px 0 28px; }
.sm-page-hero h1 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  line-height: 1;
  margin: 10px 0 16px;
}

.sm-prose { max-width: 760px; }
.sm-prose p { margin: 0 0 16px; }
.sm-prose h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  margin: 32px 0 12px;
}

.sm-faq details {
  background: var(--sheet);
  border: 1px solid var(--rule);
  padding: 16px 18px;
  margin-bottom: 10px;
}

.sm-faq summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}

.sm-faq summary::-webkit-details-marker { display: none; }
.sm-faq details[open] summary { color: var(--copper-deep); }
.sm-faq details p { margin: 10px 0 0; color: #3d3832; }

.sm-footer {
  border-top: 1px solid var(--rule);
  padding: 48px 0 28px;
  background: var(--sheet);
}

.sm-footer a { text-decoration: none; color: var(--ink); }
.sm-footer a:hover { color: var(--copper); }
.sm-footer .col-title {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

.uk-grid { margin-left: 0; }
.uk-grid > * { padding-left: 0; }

.picnic-reset button,
.picnic-reset .button,
.picnic-reset [type=submit] {
  height: auto;
  line-height: inherit;
  box-shadow: none;
}

.picnic-reset input,
.picnic-reset textarea {
  width: 100%;
  max-width: 100%;
}

.sm-card-auto { height: auto; }

.sm-form .sm-field { margin: 0 0 16px; }
.sm-form .sm-field label {
  display: block;
  margin: 0 0 6px;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute);
  position: static;
  line-height: 1.3;
}
.sm-form .sm-field input,
.sm-form .sm-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  min-height: 48px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--rule);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  font-family: Outfit, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
  box-shadow: none;
  position: static;
}
.sm-form .sm-field textarea { min-height: 140px; resize: vertical; }
.sm-form .sm-field input:focus,
.sm-form .sm-field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
}

.sm-mail {
  display: block;
  word-break: break-word;
  font-size: clamp(20px, 3.4vw, 28px);
  line-height: 1.2;
  text-decoration: none;
  color: var(--ink);
}

@media (max-width: 960px) {
  .sm-links { display: none; }
  .sm-burger { display: inline-flex; align-items: center; justify-content: center; }
  .sm-drawer.open { display: block; }
  .sm-hero { padding-top: 40px; }
  .sm-section { padding: 56px 0; }
  .sm-step { grid-template-columns: 48px 1fr; }
}
