/* hallmark v2.0.0 · implantum hero variants · shared base: the Floor only; every colour and face is a token set per variant */
:root {
  --container: 1440px; --gutter: 64px; --gap-columns: 32px;
  --space-3xs: 2px; --space-2xs: 4px; --space-xs: 8px; --space-sm: 12px; --space-md: 16px; --space-lg: 24px;
  --space-xl: 40px; --space-2xl: 64px; --space-3xl: 96px;
  --text-display: clamp(2.75rem, 5.6vw, 5.25rem); --text-display-s: clamp(2.25rem, 4.2vw, 3.75rem);
  --text-section: clamp(2rem, 3.6vw, 3.25rem); --text-title: 1.5625rem;
  --text-lead: clamp(1.125rem, 1.45vw, 1.3125rem); --text-md: 1rem; --text-sm: 0.875rem;
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1); --ease-in: cubic-bezier(0.4, 0, 1, 1); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --nav-h: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0; overflow-x: clip; min-height: 100svh;
  background: var(--color-paper); color: var(--color-ink);
  font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55;
  font-synthesis: none; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, picture, video { display: block; max-width: 100%; height: auto; }
h1, h2, h3 {
  margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 400);
  line-height: 1.1; letter-spacing: var(--tracking-display, -0.02em);
  text-wrap: balance; overflow-wrap: break-word; min-width: 0; color: var(--color-ink);
}
h1 { font-size: var(--text-display); max-width: 20ch; }
p { margin: 0; text-wrap: pretty; }
dd, li, blockquote, figcaption { text-wrap: pretty; }
b, strong { font-weight: 500; }
h3 { line-height: 1.3; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
::selection { background: var(--color-accent); color: var(--color-accent-ink); }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4.4vw, var(--gutter)); }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 44ch; color: var(--color-ink-2, var(--color-ink)); }
small { font-size: var(--text-sm); }

.skip { position: absolute; left: var(--space-md); top: -80px; z-index: 400; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card-s, 8px); background: var(--color-accent); color: var(--color-accent-ink); text-decoration: none; }
.skip:focus { top: var(--space-xs); }
main:focus { outline: none; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* nav */
.site-head { position: sticky; top: 0; z-index: 300; background: var(--color-paper); transition: box-shadow var(--dur-short, 180ms) ease-out; }
.site-head.is-stuck { box-shadow: 0 1px 0 var(--color-rule), 0 10px 24px -18px var(--shade-stuck); }
.nav { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); }
.brand { display: inline-flex; align-items: center; gap: var(--space-sm); text-decoration: none; flex-shrink: 0; }
.brand .mark { width: auto; height: 36px; }
.brand .word { width: auto; height: 13px; }
.nav-links { display: flex; gap: var(--space-lg); list-style: none; }
.nav-links a { text-decoration: none; font-size: var(--text-sm); color: var(--color-ink-2, var(--color-ink)); text-underline-offset: 0.3em; }
.nav-links a:hover { text-decoration: underline; color: var(--color-ink); }
.nav-links a { white-space: nowrap; }
@media (max-width: 66rem) { .nav-links { gap: var(--space-sm); } }
.nav-end { display: flex; align-items: center; gap: var(--space-lg); }
.nav-phone, .nav-toggle { display: none; }
.nav-toggle { position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: var(--radius-pill, 999px); background: none; cursor: pointer; }
.nav-toggle span { position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 2px; background: var(--color-ink); transition: transform var(--dur-short, 180ms) ease-out; }
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 25px; }
.is-open .nav-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.is-open .nav-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.phone { text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 500; }
.phone:hover { text-decoration: underline; text-underline-offset: 0.3em; }

/* controls: the shape; each variant colours them */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 var(--space-lg);
  border: 1px solid transparent; border-radius: var(--radius-pill, 4px); text-decoration: none; font-weight: 500; line-height: 1;
  cursor: pointer; white-space: nowrap; background: transparent;
  transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out);
}
.btn:active { transform: translateY(1px); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink); border-color: var(--color-accent); }
.btn--primary:hover { background: var(--color-accent-hover, var(--color-ink)); border-color: var(--color-accent-hover, var(--color-ink)); color: var(--color-accent-ink); }
.btn--ghost { border-color: var(--color-rule-2, var(--color-rule)); color: var(--color-ink); }
.btn--ghost:hover { border-color: var(--color-ink); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); align-items: center; }

/* a line of real facts, parted by hairlines, never dots */

/* hero */
.hero { min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; }

/* slots: the user's pictures replace these */
.slot { position: relative; overflow: hidden; background: var(--color-paper-2); }
.slot img { width: 100%; height: 100%; object-fit: cover; }
figcaption { font-size: var(--text-sm); color: var(--color-muted); margin-top: var(--space-sm); max-width: 60ch; }

/* one settle, content visible without it */
@media (prefers-reduced-motion: no-preference) {
  .reveal { animation: settle var(--dur-long) var(--ease-out) both; animation-delay: calc(var(--i, 0) * 70ms); }
  @keyframes settle { from { opacity: 0; transform: translateY(8px); } }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

@media (max-width: 60rem) {
  :root { --nav-h: 64px; }
  .brand { min-height: 44px; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-end { gap: var(--space-2xs); }
  .is-open .nav-links { display: grid; position: absolute; top: var(--nav-h); left: 0; right: 0; padding: var(--space-xs) clamp(20px, 4.4vw, var(--gutter)) var(--space-md); background: var(--color-paper); border-block: 1px solid var(--color-rule); box-shadow: 0 16px 32px -20px var(--shade-menu); }
  .nav-links li { display: block; }
  .nav-links a { display: flex; align-items: center; min-height: 48px; font-size: var(--text-lead); }
  .nav-phone { border-top: 1px solid var(--color-rule); margin-top: var(--space-xs); padding-top: var(--space-xs); }
  .nav-hide-m { display: none; }
  .brand .mark { height: 30px; } .brand .word { height: 11px; }
  .hero { min-height: 0; padding-block: var(--space-xl) var(--space-2xl); }
  h1 { font-size: clamp(2.25rem, 9.5vw, 3rem); }
}
