/* introvert.com
   Layout idea: a dim room with one lamp on. Cool violet-grey neutrals, a single
   warm amber accent used only for the lamp, the status dot and primary actions.
   Left-aligned, generous air, domain names always set in mono. */

:root {
  --bg: #ecebf1;
  --surface: #f8f7fb;
  --ink: #1e1a2c;
  --muted: #625d75;
  --line: #d3d0de;
  --lamp: #e9ab17;
  --lamp-ink: #1e1a2c;
  --glow: rgba(233, 171, 23, 0.22);
  --ok: #2c7a56;

  --font-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "DM Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
  --step-4: clamp(2.9rem, 1.6rem + 6.2vw, 6rem);

  --radius: 14px;
  --wrap: 1120px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15121d;
    --surface: #1e1a29;
    --ink: #ece9f4;
    --muted: #a09ab3;
    --line: #342e45;
    --lamp: #f3bb33;
    --lamp-ink: #1a1524;
    --glow: rgba(243, 187, 51, 0.16);
    --ok: #6fcf9f;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15121d;
  --surface: #1e1a29;
  --ink: #ece9f4;
  --muted: #a09ab3;
  --line: #342e45;
  --lamp: #f3bb33;
  --lamp-ink: #1a1524;
  --glow: rgba(243, 187, 51, 0.16);
  --ok: #6fcf9f;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); text-wrap: balance; line-height: 1.05; }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--font-mono); }

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

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 20;
  background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.logo { display: inline-flex; text-decoration: none; color: var(--ink); }
/* The mark: the word tucked into the bottom corner of an otherwise empty box. */
.logo-box {
  display: inline-flex; align-items: flex-end; justify-content: flex-end; box-sizing: border-box;
  width: 106px; height: 48px; padding: 5px 8px;
  border: 2px solid var(--ink); border-radius: 10px;
}
.logo-word { font-family: var(--font-display); font-weight: 700; font-size: 0.84rem; letter-spacing: -0.02em; line-height: 1; }
.logo-small .logo-box { width: 88px; height: 40px; padding: 4px 7px; border-radius: 8px; }
.logo-small .logo-word { font-size: 0.72rem; }
.nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; font-size: var(--step--1); font-weight: 500; }
.nav a { text-decoration: none; color: var(--muted); padding-block: 6px; }
.nav a:hover { color: var(--ink); }
.nav .nav-cta { color: var(--ink); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; background: var(--surface); }
.nav .nav-cta:hover { border-color: var(--ink); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 var(--step--1)/1 var(--font-body);
  padding: 14px 20px; border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--lamp); color: var(--lamp-ink); }
.btn-primary:hover { box-shadow: 0 0 0 6px var(--glow); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn:active { transform: translateY(1px); }

/* Hero */
.hero { padding-block: clamp(48px, 8vw, 104px) clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: flex-start; }
.eyebrow { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); }
h1 { font-size: var(--step-4); font-weight: 800; letter-spacing: -0.045em; line-height: 0.95; }
.hush { font-weight: 500; color: var(--muted); letter-spacing: -0.03em; font-size: 0.62em; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }

.window {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: 0 30px 60px -40px rgba(20, 14, 40, 0.45), 0 0 80px -20px var(--glow);
  overflow: hidden;
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line); flex: none; }
.address {
  flex: 1; min-width: 0; margin-left: 8px; padding: 8px 12px; border-radius: 999px;
  background: var(--bg); font-family: var(--font-mono); font-size: var(--step--1);
  white-space: nowrap; overflow: hidden; display: flex; align-items: center;
}
.scheme { color: var(--muted); }
.caret { width: 2px; height: 1.1em; background: var(--lamp); margin-left: 2px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.window-body { padding: 26px 22px 22px; display: flex; flex-direction: column; gap: 6px; }
.window-label { color: var(--muted); font-size: var(--step--1); }
.window-status { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); letter-spacing: -0.03em; display: flex; align-items: center; gap: 12px; line-height: 1.1; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--lamp); box-shadow: 0 0 0 5px var(--glow); flex: none; }
.window-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.window-facts dt { font-size: 0.78rem; color: var(--muted); }
.window-facts dd { font-family: var(--font-mono); font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.window-link { margin-top: 18px; font-size: var(--step--1); font-weight: 600; text-underline-offset: 4px; align-self: flex-start; }

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.section-alt { background: var(--surface); }
.section-head { display: flex; flex-direction: column; gap: 14px; max-width: 40em; margin-bottom: 36px; }
h2 { font-size: var(--step-3); font-weight: 700; letter-spacing: -0.035em; }
.section-head p { color: var(--muted); }

/* Listing tools */
.tools { display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; margin-bottom: 18px; }
.search { display: flex; flex-direction: column; gap: 6px; flex: 1 1 240px; max-width: 340px; }
label { font-size: var(--step--1); font-weight: 600; }
.optional { color: var(--muted); font-weight: 400; }
input, select, textarea {
  font: inherit; color: var(--ink); background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 11px 13px; width: 100%;
}
.section-alt input, .section-alt select, .section-alt textarea { background: var(--bg); }
input::placeholder { color: var(--muted); opacity: .8; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--lamp); outline-offset: 1px; border-color: transparent; }
textarea { resize: vertical; }
.search.sort { flex: 0 1 220px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; flex-basis: 100%; }
.chip {
  font: 500 var(--step--1)/1 var(--font-body); color: var(--muted);
  background: transparent; border: 1px solid var(--line); border-radius: 999px;
  padding: 9px 14px; cursor: pointer;
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Listings */
.listings { border-top: 1px solid var(--line); }
.listing {
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto auto;
  gap: 8px 24px; align-items: center; padding: 18px 4px; border-bottom: 1px solid var(--line);
}
.listing:hover { background: color-mix(in srgb, var(--surface) 70%, transparent); }
.listing-name { font-family: var(--font-mono); font-weight: 500; font-size: var(--step-2); letter-spacing: -0.03em; overflow-wrap: anywhere; line-height: 1.2; }
.listing-name .tld { color: var(--muted); }
.listing-note { color: var(--muted); font-size: var(--step--1); }
.listing-price { font-family: var(--font-mono); font-variant-numeric: tabular-nums; text-align: right; white-space: nowrap; }
.listing-price.offer { color: var(--muted); }
.listing .btn { padding: 11px 16px; }
.empty { padding: 28px 4px; color: var(--muted); }
.count { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.more-row { margin-top: 24px; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.project {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 12px;
}
.project-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project-domain { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); overflow-wrap: anywhere; }
.pill { font-size: 0.75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.pill.live::before { background: var(--ok); }
.pill.building::before { background: var(--lamp); }
.project h3 { font-size: var(--step-2); font-weight: 700; letter-spacing: -0.03em; }
.project p { color: var(--muted); font-size: 1rem; }
.project-link { margin-top: auto; padding-top: 6px; font-size: var(--step--1); font-weight: 600; text-underline-offset: 4px; align-self: flex-start; }
.projects { grid-template-columns: repeat(auto-fit, minmax(250px, 420px)); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
.steps li { display: flex; flex-direction: column; gap: 10px; padding-top: 18px; border-top: 2px solid var(--ink); }
.step-n { font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); }
.steps h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.02em; }
.steps p { color: var(--muted); font-size: 1rem; }

.faq { margin-top: 48px; max-width: 46em; border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 16px 4px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--font-mono); color: var(--muted); }
details[open] summary::after { content: "–"; }
details p { padding: 0 4px 18px; color: var(--muted); max-width: 40em; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 18px; }
.contact-copy p { color: var(--muted); }
.contact-direct a { color: var(--ink); font-size: var(--step-1); text-underline-offset: 4px; }
.no-calls { display: flex; align-items: center; gap: 10px; font-size: var(--step--1); }
.no-calls-icon { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--muted); position: relative; flex: none; }
.no-calls-icon::after { content: ""; position: absolute; left: -1px; right: -1px; top: 50%; height: 2px; background: var(--muted); transform: rotate(-45deg); }

.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.form-error { color: var(--ink); background: var(--glow); border-left: 3px solid var(--lamp); padding: 10px 14px; border-radius: 6px; font-size: var(--step--1); }
.form-status { color: var(--ink); border-left: 3px solid var(--ok); background: color-mix(in srgb, var(--ok) 12%, transparent); padding: 10px 14px; border-radius: 6px; font-size: var(--step--1); }
.btn[disabled] { opacity: .6; cursor: default; }
.draft { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--bg); display: flex; flex-direction: column; gap: 12px; }
.draft h3 { font-size: var(--step-1); letter-spacing: -0.02em; }
.draft p { color: var(--muted); font-size: 1rem; }
.draft pre {
  margin: 0; font-family: var(--font-mono); font-size: var(--step--1); line-height: 1.55;
  white-space: pre-wrap; overflow-wrap: anywhere; background: var(--surface);
  border: 1px solid var(--line); border-radius: 10px; padding: 14px; max-height: 260px; overflow: auto;
}
.draft-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 32px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; color: var(--muted); font-size: var(--step--1); }
.footer-row .logo { color: var(--ink); }

/* 404 */
.lost { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 20px; padding-block: 80px; }
.lost h1 { font-size: var(--step-4); }

@media (max-width: 860px) {
  .hero-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .listing { grid-template-columns: minmax(0, 1fr) auto; }
  .listing-note { grid-column: 1 / -1; grid-row: 2; }
  .listing-price { grid-column: 1; grid-row: 3; text-align: left; }
  .listing .btn { grid-column: 2; grid-row: 1 / span 3; }
}
@media (max-width: 520px) {
  .form { grid-template-columns: minmax(0, 1fr); }
  .nav a:not(.nav-cta) { display: none; }
  .listing-name { font-size: var(--step-1); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .btn { transition: none; }
}

/* Lander: the for-sale page a parked domain points at */
.lander-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
  padding-block: clamp(40px, 7vw, 96px);
}
.lander-name { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.lander-status { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: var(--step--1); color: var(--muted); }
.lander-domain {
  font-family: var(--font-mono); font-weight: 500; letter-spacing: -0.06em; line-height: 1;
  font-size: clamp(3rem, 1rem + 11vw, 8.5rem); overflow-wrap: anywhere;
}
.lander-domain.long { font-size: clamp(2rem, 1rem + 4.5vw, 4.25rem); letter-spacing: -0.04em; }
.lander-price { display: flex; flex-direction: column; gap: 2px; padding-top: 22px; border-top: 2px solid var(--ink); }
.lander-price-label { font-size: var(--step--1); color: var(--muted); }
.lander-price-value { font-family: var(--font-display); font-weight: 700; font-size: var(--step-3); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; line-height: 1.1; }
.lander-facts { display: flex; flex-direction: column; gap: 12px; color: var(--muted); font-size: 1rem; max-width: 34em; margin-top: 6px; }
.lander-facts strong { color: var(--ink); font-weight: 600; }
.lander-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 3vw, 30px);
  display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 30px 60px -40px rgba(20, 14, 40, 0.45), 0 0 80px -20px var(--glow);
}
.lander-card h2 { font-size: var(--step-2); overflow-wrap: anywhere; }
.lander-card-note { color: var(--muted); font-size: var(--step--1); }
.lander-card input, .lander-card textarea { background: var(--bg); }
.lander .footer-note a { color: var(--ink); text-underline-offset: 4px; }
@media (max-width: 860px) { .lander-grid { grid-template-columns: minmax(0, 1fr); } }

[hidden] { display: none !important; }
