/* 09 type — paper, one ink, one red. The face is the only shape. */

:root {
  --paper: #f3efe4;
  --ink: #1a1714;
  --ink-soft: #3f3a35;
  --muted: #524c45;
  --red: #c41230;
  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Palatino, "Noto Serif Display", Georgia, serif;
  --sans: "Instrument Sans", Inter, "Segoe UI", sans-serif;
  --wrap: 72rem;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, p { margin: 0; }

a { color: inherit; }

a[href^="mailto:"],
a[href^="mailto:"]:visited,
a[href^="mailto:"]:hover {
  color: var(--red);
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

:focus { outline: none; }

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

a[href^="mailto:"]:focus-visible {
  outline-color: var(--red);
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-150%);
  color: var(--ink);
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 0.18em;
  z-index: 2;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: none;
  top: 0.75rem;
}

/* Header — type only, no bar */

.site-header { padding-top: 0.35rem; }

.header-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "brand lang"
    "nav nav";
  align-items: baseline;
  column-gap: 1rem;
  row-gap: 0.15rem;
  padding: 1.1rem 0 0.35rem;
}

.wordmark {
  grid-area: brand;
  justify-self: start;
  display: inline-flex;
  gap: 0.42em;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.8125rem;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

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

.header-nav {
  grid-area: nav;
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  align-items: baseline;
}

.header-nav a {
  display: inline-block;
  padding: 0.45rem 0;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
}

.header-nav a:hover { text-decoration: underline; text-underline-offset: 0.22em; }

.lang-switch {
  grid-area: lang;
  justify-self: end;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
}

.lang-switch button {
  padding: 0.45rem 0.05rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  line-height: 1;
  color: var(--muted);
}

.lang-switch button[aria-pressed="true"] {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.lang-slash {
  color: var(--muted);
  font-size: 0.8125rem;
  line-height: 1;
}

/* Hero */

.hero { padding: 1.6rem 0 4.75rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 1.15rem;
  max-width: 36rem;
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.hero-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(3.25rem, 8vw, 7.15rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-lead {
  margin-top: 1.5rem;
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: 1.1875rem;
  line-height: 1.45;
}

.hero-actions { margin-top: 1.35rem; }

.text-link {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 1px;
}

.text-link:hover { text-decoration-thickness: 2px; }

/* Face — geometry kept. Eyes are the one red. */

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

.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%,
    #f7f6f4 0%,
    #c8c6c2 12%,
    #4a4a4a 38%,
    #161616 68%,
    #000000 100%);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.12),
    inset 0 0 16px rgba(255, 255, 255, 0.2),
    inset 8px 10px 14px rgba(255, 255, 255, 0.28),
    inset -10px -14px 18px rgba(0, 0, 0, 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, 255, 255, 0.85), rgba(255, 255, 255, 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: #c41230;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 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(0, 0, 0, 0.1);
  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-stage { overflow: visible; }

.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: #1a1a1a;
  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); }
}

/* Sections — columns of type, not panels */

.block { padding: 0 0 5.25rem; }

.block h2,
.cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.35rem, 5vw, 3.65rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.block-lead {
  margin-top: 0.9rem;
  max-width: 32rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  line-height: 1.45;
}

.steps {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 2.35rem;
}

.step {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 38rem);
  column-gap: 0.9rem;
  row-gap: 0.35rem;
  align-items: baseline;
}

.step-num {
  font-family: var(--serif);
  font-size: 1.85rem;
  line-height: 0.85;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.9rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.step p {
  grid-column: 2;
  max-width: 38rem;
  color: var(--ink-soft);
}

.include-list {
  list-style: none;
  margin: 2.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.85rem;
}

.include-list li {
  display: grid;
  gap: 0.35rem;
}

.include-list h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.include-list p {
  max-width: 38rem;
  color: var(--ink-soft);
}

.cta-action { margin-top: 1.5rem; }

.cta-mail {
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4.8vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-decoration: underline;
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1px;
  overflow-wrap: anywhere;
}

.cta-mail:hover { text-decoration-thickness: 2px; }

/* Footer */

.site-footer { padding: 0.5rem 0 2.75rem; }

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-tag {
  color: var(--ink-soft);
}

.footer-name {
  margin-top: 0.7rem;
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.footer-address {
  margin-top: 0.45rem;
  color: var(--ink-soft);
  font-size: 0.975rem;
  line-height: 1.45;
}

.footer-label {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--muted);
}

.footer-line {
  margin-top: 0.45rem;
  overflow-wrap: anywhere;
}

.footer-copy {
  margin-top: 2.75rem;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (min-width: 800px) {
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas: "brand nav lang";
    align-items: center;
    column-gap: 2rem;
    padding: 1.45rem 0 0.25rem;
  }

  .wordmark {
    font-size: 0.875rem;
    letter-spacing: 0.2em;
  }

  .header-nav {
    justify-self: end;
    justify-content: flex-end;
    gap: 0.15rem 1.5rem;
  }

  .hero { padding: 3.25rem 0 7rem; }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 168px;
    column-gap: clamp(2.5rem, 5vw, 5.5rem);
    align-items: center;
  }

  .block { padding-bottom: 7.25rem; }

  .steps { gap: 2.75rem; margin-top: 3.25rem; }

  .step {
    grid-template-columns: 2.4rem minmax(0, 40rem);
    column-gap: 1.35rem;
  }

  .step-num { font-size: 2.35rem; }

  .include-list {
    gap: 1.65rem 0;
    margin-top: 3.25rem;
  }

  .include-list li {
    grid-template-columns: minmax(14rem, 20rem) minmax(0, 36rem);
    column-gap: 2.75rem;
    align-items: baseline;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr);
    column-gap: 3rem;
    align-items: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .face-drop { animation: none; }
}
