/* Stone — warm paper, near-black ink, serif headlines. */

:root {
  --bg: #f3efe6;
  --ink: #1c1916;
  --muted: #6e675f;
  --line: #d5cec3;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
  --wrap: 68rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; }

::selection {
  background: var(--ink);
  color: var(--bg);
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--bg);
  padding: 0.7rem 1rem;
  z-index: 50;
  text-decoration: none;
}

.skip-link:focus { transform: none; }

.wrap {
  width: min(var(--wrap), calc(100% - 11vw));
  margin-inline: auto;
}

a { color: inherit; }

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: 0.42em;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  line-height: 1;
}

.wordmark:hover { opacity: 0.62; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  min-height: 4.5rem;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.header-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.lang-switch button {
  appearance: none;
  background: transparent;
  border: 0;
  color: var(--muted);
  font: inherit;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  min-width: 44px;
  min-height: 44px;
  padding: 0 0.35rem;
  cursor: pointer;
}

.lang-switch button[aria-pressed="true"],
.lang-switch button.is-active {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--ink);
}

.hero {
  padding: 5.5rem 0 4.5rem;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.75rem;
}

.eyebrow {
  margin: 0;
  max-width: 28rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-title {
  margin: 0;
  max-width: 11em;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.55rem, 6.2vw, 5.35rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: pretty;
}

.hero-lead {
  margin: 1.5rem 0 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.5;
}

.hero-actions { margin: 1.75rem 0 0; }

.text-link {
  color: var(--ink);
  text-underline-offset: 0.28em;
  text-decoration-thickness: 1px;
  font-size: 1rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.text-link:hover { text-decoration: none; }

.section { padding: 1rem 0 4.5rem; }

.section-head { margin-bottom: 2.25rem; }

.section-head h2,
.cta-inner h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.15rem, 4vw, 3.35rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

.section-lead,
.cta-inner p {
  margin: 0.85rem 0 0;
  max-width: 36rem;
  color: var(--muted);
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.step {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 38rem);
  gap: 1rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.step-num {
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: var(--muted);
  padding-top: 0.28rem;
}

.step-copy h3,
.include-item h3 {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.step-copy p,
.include-item p {
  margin: 0.4rem 0 0;
  color: var(--muted);
  max-width: 40rem;
}

.include-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.include-item {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) minmax(0, 1fr);
  gap: 1.5rem 2.5rem;
  padding: 1.55rem 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}

.include-item p { margin: 0; }

.section-cta { padding-top: 2.5rem; padding-bottom: 5.5rem; }

.cta-inner {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.6rem;
  min-height: 48px;
  padding: 0.75rem 1.2rem;
  background: var(--ink);
  color: var(--bg);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 100%;
}

.btn:hover { background: #000; }

.site-footer { padding-bottom: 2.5rem; }

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem 3rem;
  padding-top: 2.75rem;
  border-top: 1px solid var(--line);
}

.footer-tag,
.footer-address,
.footer-copy,
.footer-cols p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-name {
  margin: 1.15rem 0 0;
  font-size: 1rem;
  font-weight: 500;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 2rem;
  align-content: start;
}

.footer-label {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-cols a {
  color: var(--ink);
  text-underline-offset: 0.22em;
  overflow-wrap: anywhere;
}

.footer-copy {
  grid-column: 1 / -1;
  margin-top: 0.5rem;
  font-size: 0.85rem;
}

/* Face — geometry from the live page. Colors only, warmed for this page.
   The hero scales the stage so the mark stays small. */

.hero-face {
  position: relative;
  width: 5.25rem;
  height: 5.4rem;
  flex: 0 0 auto;
}

.hero-face .face-stage {
  position: absolute;
  left: 0;
  top: 0;
  transform: scale(0.5);
  transform-origin: top left;
}

.face-stage {
  position: relative;
  width: 168px;
  height: 168px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.face-rig {
  width: 132px;
  height: 132px;
  transform-origin: 50% 60%;
  z-index: 1;
}

.face-orb {
  position: relative;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%,
    #f6f1e6 0%,
    #c9bba8 12%,
    #5a5148 38%,
    #2a241f 68%,
    #14110e 100%);
  box-shadow:
    0 16px 34px rgba(28, 22, 16, 0.14),
    inset 0 0 16px rgba(255, 248, 236, 0.22),
    inset 8px 10px 14px rgba(255, 248, 236, 0.3),
    inset -10px -14px 18px rgba(20, 14, 8, 0.55);
  transform-origin: 50% 62%;
  cursor: pointer;
}

.face-orb::before {
  content: "";
  position: absolute;
  top: 10%;
  left: 16%;
  width: 38%;
  height: 20%;
  border-radius: 50%;
  background: linear-gradient(160deg, rgba(255, 248, 236, 0.88), rgba(255, 248, 236, 0.08) 70%, transparent);
  pointer-events: none;
}

.face-eyes {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 58px;
  height: 28px;
  margin-left: -29px;
  margin-top: -14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
}

.face-eye {
  width: 11px;
  height: 26px;
  border-radius: 999px;
  background: #f7f3ea;
  box-shadow: inset 0 -1px 0 rgba(28, 22, 16, 0.18);
  flex: 0 0 auto;
}

.face-shadow {
  position: absolute;
  left: 50%;
  bottom: 10px;
  width: 78px;
  height: 12px;
  margin-left: -39px;
  border-radius: 50%;
  background: rgba(40, 32, 24, 0.14);
  filter: blur(2px);
  z-index: 0;
}

.face-line {
  margin: 0.35rem 0 0;
  max-width: 16rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 1.5em;
}

.face-spray {
  position: absolute;
  left: 50%;
  top: 68%;
  width: 0;
  height: 0;
  z-index: 3;
  pointer-events: none;
}

.face-drop {
  position: absolute;
  width: 5px;
  height: 8px;
  margin: -4px 0 0 -2px;
  border-radius: 40%;
  background: #2a241c;
  animation: face-drop 620ms cubic-bezier(0.12, 0.7, 0.2, 1) forwards;
}

@keyframes face-drop {
  0% { opacity: 0; transform: translate(0, 0) scale(0.35); }
  18% { opacity: 0.95; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.25); }
}

@media (max-width: 800px) {
  .wrap { width: min(var(--wrap), calc(100% - 2.5rem)); }
  .header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    min-height: 0;
    padding: 0.2rem 0 0.15rem;
    gap: 0;
  }
  .header-tools { display: contents; }
  .wordmark { grid-column: 1; grid-row: 1; justify-self: start; align-self: center; }
  .lang-switch { grid-column: 2; grid-row: 1; }
  .header-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    flex-wrap: wrap;
    gap: 0 0.85rem;
  }
  .hero { padding: 2.75rem 0 2.5rem; }
  .hero-title { max-width: none; }
  .section { padding-bottom: 3rem; }
  .step { grid-template-columns: 2.25rem minmax(0, 1fr); }
  .include-item { grid-template-columns: 1fr; gap: 0.35rem; }
  .footer-inner,
  .footer-cols { grid-template-columns: 1fr; }
  .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .face-drop { animation: none; }
}
