/* Hallmark · shape: link-in-bio column · genre: modern-minimal · theme: brand (kotrov.com)
 * paper: oklch(93.6% 0.009 85) · accent: oklch(55.3% 0.195 38.4) · display: Clash Display · body: Space Grotesk · hero: left column, logo beside name · nav: none (single screen) · footer: site and email on a hairline · signature: the Calendly row set as the one solid ink block
 * axes: light/display-heavy/warm · posture: column · contrast: pass · fold: pass · v2.0.0 */
/* Hallmark · pre-emit critique: P2 H2 E2 S2 R1 V2 · weakest: R, a thin link list; carried by scale of the name and one solid action instead of more words */
:root {
  --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; --space-4xl: 144px;
  --text-xs: 0.8125rem; --text-sm: 0.875rem; --text-md: 1rem; --text-lg: 1.25rem; --text-xl: 1.5625rem; --text-2xl: 1.953rem; --text-3xl: 2.441rem;
  --text-display-s: clamp(2.25rem, 4vw + 0.5rem, 3.75rem); --text-display: clamp(2.75rem, 5vw + 1rem, 5.25rem);
  --text-section: clamp(2rem, 2.5vw + 1rem, 3.5rem); --text-title: clamp(1.25rem, 0.75vw + 0.875rem, 1.625rem); --text-lead: clamp(1.125rem, 0.35vw + 1rem, 1.375rem);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1); --ease-in: cubic-bezier(0.7, 0, 0.84, 0); --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-micro: 120ms; --dur-short: 220ms; --dur-long: 420ms;
  --color-error: oklch(52% 0.19 27); --color-success: oklch(50% 0.12 150);
  --container: 1440px; --gutter: 64px; --gap-columns: 32px; --section-gap-s: 120px; --section-gap: 144px; --section-gap-l: 176px;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-sticky-nav: 300; --z-modal: 400; --z-toast: 500; --z-tooltip: 600;
  --color-paper: #eeebe4; --color-paper-2: #e5e1d8; --color-paper-3: #dcd7cc;
  --color-ink: #0a0a0a; --color-ink-2: #141414; --color-muted: #4b5563;
  --color-rule: rgb(10 10 10 / 15%); --color-on-ink: #ffffff;
  --color-accent: #c2410c; --color-accent-ink: #ffffff; --color-focus: #c2410c;
  --font-display: "Clash Display", ui-sans-serif, sans-serif; --font-body: "Space Grotesk", ui-sans-serif, system-ui, sans-serif; --font-outlier: var(--font-body);
  --radius-card: 4px; --radius-pill: 999px; --rule-hair: 1px; --shadow-card: none;
  --tracking-display: -0.02em;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scrollbar-color: var(--color-muted) var(--color-paper); scroll-padding-top: var(--space-3xl); }
body { margin: 0; background: var(--color-paper); color: var(--color-ink); font-family: var(--font-body); font-size: var(--text-md); line-height: 1.55; -webkit-font-smoothing: antialiased; caret-color: var(--color-accent); }
::selection { background: color-mix(in oklab, var(--color-accent) 22%, transparent); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.16em; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: var(--display-weight, 700); font-synthesis: none; letter-spacing: var(--tracking-display); line-height: 1.05; overflow-wrap: break-word; min-width: 0; text-wrap: balance; }
h1 { max-width: 20ch; font-size: var(--text-display); } h2 { max-width: 30ch; font-size: var(--text-section); } h3 { max-width: 40ch; font-size: var(--text-title); line-height: 1.2; }
.lead { font-size: var(--text-lead); line-height: 1.45; max-width: 52ch; }
p { margin: 0; text-wrap: pretty; }
p:not([class]) { max-width: 65ch; }
img, video { max-width: 100%; height: auto; display: block; }
svg { display: block; }
[hidden] { display: none !important; }
button, input, select, textarea { font: inherit; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
.num, .figure, td.num { font-variant-numeric: tabular-nums; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
[data-slot] { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--color-paper-2, var(--color-paper)), var(--color-paper-3, var(--color-paper))); }
[data-slot] > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
[data-slot]:has(> img) > :not(img):not([data-keep]) { display: none !important; }
@media (max-width: 60rem) { :root { --gutter: 24px; --section-gap-s: 80px; --section-gap: 96px; --section-gap-l: 120px; } }
@media (max-width: 40rem) { :root { --gutter: 16px; --section-gap-s: 56px; --section-gap: 72px; --section-gap-l: 96px; --gap-columns: 16px; } }
@media (prefers-reduced-motion: reduce) { *:not(.keep-motion), *:not(.keep-motion)::before, *:not(.keep-motion)::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; } }

@font-face {
  font-family: "Clash Display";
  src: url("./fonts/ClashDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Space Grotesk";
  src: url("./fonts/space-grotesk-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

:root {
  --column: 34rem;
  --logo-size: 56px;
  --row-height: 72px;
  --icon-size: 24px;
}

body {
  min-height: 100dvh;
  display: grid;
}

.page {
  width: 100%;
  max-width: calc(var(--column) + 2 * var(--space-md));
  margin-inline: auto;
  padding: var(--space-2xl) var(--space-md) var(--space-xl);
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: var(--space-xl);
}

/* ── Masthead: logo and name side by side, both one link to the site ── */

.masthead {
  display: grid;
  gap: var(--space-md);
}

.masthead h1 {
  max-width: none;
  font-size: var(--text-2xl);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-ink);
  text-decoration: none;
  border-radius: var(--radius-card);
}

.logo {
  width: var(--logo-size);
  height: var(--logo-size);
  border-radius: var(--radius-card);
  transition: transform var(--dur-short) var(--ease-out);
}

.brand span {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
  text-decoration-color: transparent;
  transition: text-decoration-color var(--dur-short) var(--ease-out);
}

.brand:hover span {
  text-decoration-color: var(--color-accent);
}

.brand:hover .logo {
  transform: rotate(-4deg);
}

.brand:active .logo {
  transform: scale(0.96);
}

.brand:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 4px;
}

.masthead .lead {
  color: var(--color-muted);
  max-width: 34ch;
}

/* ── Links ────────────────────────────────── */

.links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-sm);
}

.link {
  min-height: var(--row-height);
  padding: var(--space-md) var(--space-lg);
  display: grid;
  grid-template-columns: var(--icon-size) minmax(0, 1fr) auto;
  align-items: center;
  gap: var(--space-md);
  border: var(--rule-hair) solid var(--color-rule);
  border-radius: var(--radius-card);
  background: var(--color-paper);
  color: var(--color-ink);
  text-decoration: none;
  transition:
    background-color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}

.link svg {
  width: var(--icon-size);
  height: var(--icon-size);
}

.link-name {
  font-size: var(--text-lg);
  min-width: 0;
}

.link-sub {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.link-detail {
  font-size: var(--text-sm);
  color: var(--color-muted);
  overflow-wrap: anywhere;
  text-align: right;
}

.link:hover {
  background: var(--color-paper-2);
  border-color: var(--color-ink);
}

.link:active {
  transform: scale(0.99);
  background: var(--color-paper-3);
}

.link:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 3px;
  transition: none;
}

.link[aria-disabled="true"] {
  border-style: dashed;
  color: var(--color-muted);
  cursor: not-allowed;
}

/* The one action: booking a call */
.link--primary {
  min-height: calc(var(--row-height) + var(--space-lg));
  background: var(--color-ink);
  border-color: var(--color-ink);
  color: var(--color-on-ink);
}

.link--primary .link-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-xl);
  letter-spacing: var(--tracking-display);
  line-height: 1.1;
}

.link--primary .link-detail {
  color: var(--color-paper-3);
}

.link--primary:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-accent-ink);
}

.link--primary:hover .link-detail {
  color: var(--color-accent-ink);
}

.link--primary:active {
  background: var(--color-ink-2);
}

/* ── Offer: a link with a promo code torn off below it ── */

.offer {
  display: grid;
}

.offer-link {
  border-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.offer-code {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm) var(--space-md);
  padding: var(--space-sm) var(--space-lg) var(--space-sm) calc(var(--space-lg) + var(--icon-size) + var(--space-md));
  border: var(--rule-hair) solid var(--color-rule);
  border-top: var(--rule-hair) dashed var(--color-rule);
  border-radius: 0 0 var(--radius-card) var(--radius-card);
  background: var(--color-paper-2);
}

.offer-link:hover + .offer-code {
  border-color: var(--color-ink);
  border-top-color: var(--color-rule);
}

.offer-text {
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.offer-text strong {
  font-weight: 400;
  color: var(--color-accent);
}

.code {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  min-height: 40px;
  padding: var(--space-xs) var(--space-sm) var(--space-xs) var(--space-md);
  border: var(--rule-hair) dashed var(--color-accent);
  border-radius: var(--radius-card);
  background: var(--color-paper);
  color: var(--color-ink);
  cursor: pointer;
  transition:
    background-color var(--dur-short) var(--ease-out),
    border-color var(--dur-short) var(--ease-out),
    transform var(--dur-micro) var(--ease-out);
}

.code-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  letter-spacing: 0.02em;
}

.code-icon {
  width: 16px;
  height: 16px;
  color: var(--color-muted);
}

.code-label {
  font-size: var(--text-sm);
  color: var(--color-muted);
  min-width: 5.5ch;
  text-align: left;
}

.code:hover {
  border-style: solid;
  background: var(--color-paper-3);
}

.code:active {
  transform: scale(0.98);
}

.code:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
  transition: none;
}

.code.is-copied {
  border-style: solid;
  border-color: var(--color-success);
}

.code.is-copied .code-label,
.code.is-copied .code-icon {
  color: var(--color-success);
}

/* ── Footer ───────────────────────────────── */

.footer {
  align-self: end;
  padding-top: var(--space-lg);
  border-top: var(--rule-hair) solid var(--color-rule);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-xs) var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-muted);
}

.footer a {
  color: var(--color-ink);
  text-decoration-color: var(--color-rule);
  transition: text-decoration-color var(--dur-short) var(--ease-out);
}

.footer a:hover {
  text-decoration-color: var(--color-accent);
}

@media (max-width: 40rem) {
  :root {
    --logo-size: 48px;
  }

  .page {
    padding-top: var(--space-xl);
  }

  .link {
    padding-inline: var(--space-md);
  }

  .offer-code {
    padding-inline: var(--space-md) var(--space-sm);
  }

  .code {
    padding-left: var(--space-sm);
  }

  .offer-link .link-detail {
    display: none;
  }

  .link--primary {
    grid-template-columns: var(--icon-size) minmax(0, 1fr);
    row-gap: var(--space-2xs);
  }

  .link--primary svg {
    grid-row: span 2;
  }

  .link--primary .link-detail {
    grid-column: 2;
    text-align: left;
  }
}

@media (max-width: 24rem) {
  .link {
    grid-template-columns: var(--icon-size) minmax(0, 1fr);
  }

  .link-detail {
    grid-column: 2;
    text-align: left;
  }
}
