:root {
  --ink: #0A0A0A;
  --cream: #F4F2EC;
  --cream-2: #EAE7DF;
  --card: #FFFFFF;
  --body: #3D3A34;
  --muted: #5E5A52;
  --line: rgba(10,10,10,0.14);
  --on-dark: #F4F2EC;
  --on-dark-muted: #B8B4A9;
  --on-dark-body: #D9D6CD;
  --accent: #2440E6;
  --open: #1F7A4D;
  --open-bg: #E3F2E9;
  --full: #8A4F00;
  --full-bg: #FFF3DC;
  --field: #FFFFFF;
  --field-line: rgba(10,10,10,0.24);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --ink: #F4F2EC;
    --cream: #151412;
    --cream-2: #1C1B18;
    --card: #211F1C;
    --body: #D9D6CD;
    --muted: #A8A499;
    --line: rgba(244,242,236,0.14);
    --accent: #8C9BFF;
    --open: #7FD6A6;
    --open-bg: rgba(127,214,166,0.12);
    --full: #F2C27A;
    --full-bg: rgba(242,194,122,0.12);
    --field: #1A1916;
    --field-line: rgba(244,242,236,0.24);
  }
}
:root[data-theme="dark"] {
  --ink: #F4F2EC;
  --cream: #151412;
  --cream-2: #1C1B18;
  --card: #211F1C;
  --body: #D9D6CD;
  --muted: #A8A499;
  --line: rgba(244,242,236,0.14);
  --accent: #8C9BFF;
  --open: #7FD6A6;
  --open-bg: rgba(127,214,166,0.12);
  --full: #F2C27A;
  --full-bg: rgba(242,194,122,0.12);
  --field: #1A1916;
  --field-line: rgba(244,242,236,0.24);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: 'Inter Tight', system-ui, sans-serif; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 32px; } }
.mono { font-family: 'IBM Plex Mono', ui-monospace, monospace; }
button { font: inherit; }

/* Buttons */
.pill { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; }
.pill.solid-light { background: #F4F2EC; color: #0A0A0A; min-height: 52px; padding: 0 28px; font-size: 16px; }
.pill.outline-light { border-color: rgba(244,242,236,0.4); color: #F4F2EC; background: transparent; min-height: 44px; }
.pill.solid { background: var(--ink); color: var(--cream); }
.pill.line { border-color: currentColor; color: inherit; background: transparent; }

/* Hero */
.hero { background: #0A0A0A; color: var(--on-dark); padding: 16px 0 80px; }
nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 64px; }
.brand { color: var(--on-dark); text-decoration: none; min-height: 44px; display: inline-flex; flex-direction: column; justify-content: center; gap: 2px; }
.brand-name { font-weight: 600; font-size: 18px; line-height: 1.2; }
.brand-sub { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); font-weight: 400; }
.navlinks { display: flex; align-items: center; gap: 4px; }
.navlinks a.plain { color: var(--on-dark-body); text-decoration: none; padding: 0 12px; min-height: 44px; display: inline-flex; align-items: center; font-size: 15px; }
@media (max-width: 640px) { .navlinks a.plain { display: none; } }
.eyebrow { margin: 0 0 20px; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-dark-muted); }
h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 1.04; font-weight: 600; letter-spacing: -0.03em; max-width: 14ch; }
.lede { margin: 28px 0 0; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--on-dark-body); max-width: 600px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.cta-row a.text { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(244,242,236,0.3); min-height: 44px; display: inline-flex; align-items: center; }

/* Sections */
section.block { padding: 88px 0; }
section.alt { background: var(--cream-2); }
h2 { margin: 0; font-size: clamp(1.75rem, 3.2vw, 2.5rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.intro { margin: 14px 0 0; font-size: 18px; color: var(--body); max-width: 640px; }

/* Options */
#options { padding-top: 72px; scroll-margin-top: 0; }
.offers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: 20px; margin-top: 40px; }
.offer { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.offer h3 { margin: 0; font-size: 21px; font-weight: 600; }
.price { font-family: 'IBM Plex Mono', monospace; font-size: 28px; font-weight: 500; line-height: 1.25; }
.price small { font-family: 'Inter Tight', sans-serif; font-size: 15px; color: var(--muted); font-weight: 400; }
.offer p { margin: 0; font-size: 16px; color: var(--body); }
.offer ul { margin: 0; padding: 0 0 0 18px; font-size: 16px; color: var(--body); display: flex; flex-direction: column; gap: 6px; }
.offer .pill { margin-top: auto; align-self: stretch; }
.avail { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--open); background: var(--open-bg); }
.avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.avail.full { color: var(--full); background: var(--full-bg); }
.fine { margin: 24px 0 0; font-size: 15px; color: var(--muted); max-width: 720px; }

/* Where I look */
.leaks { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 32px; margin-top: 44px; }
.leak { border-top: 2px solid currentColor; padding-top: 16px; }
.leak h3 { margin: 0; font-size: 19px; font-weight: 600; }
.leak p { margin: 8px 0 0; font-size: 16px; color: var(--body); }

/* Results */
.results { margin-top: 40px; border-top: 2px solid currentColor; }
.result { border-bottom: 1px solid var(--line); }
.result summary { list-style: none; cursor: pointer; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 40px; padding: 24px 52px 24px 0; position: relative; min-height: 44px; }
.result summary::-webkit-details-marker { display: none; }
.result summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 6px; }
.result .num { flex: 1 1 220px; }
.result .num strong { display: block; font-family: 'IBM Plex Mono', monospace; font-weight: 500; font-size: 34px; letter-spacing: -0.02em; line-height: 1.15; }
.result .num span { font-size: 15px; color: var(--muted); }
.result .head { flex: 999 1 300px; min-width: 0; }
.result h3 { margin: 0; font-size: 19px; font-weight: 600; }
.result .hint { font-size: 14px; color: var(--muted); }
.result[open] .hint { visibility: hidden; }
.result .chev { position: absolute; right: 8px; top: 50%; width: 32px; height: 32px; margin-top: -16px; border: 1px solid var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; transition: transform 0.2s ease; }
.result[open] .chev { transform: rotate(180deg); }
.result .story { padding: 0 0 28px; max-width: 680px; }
@media (min-width: 760px) { .result .story { margin-left: calc(220px + 40px); } }
.result p { margin: 0; font-size: 17px; color: var(--body); }
@media (prefers-reduced-motion: reduce) { .result .chev { transition: none; } }
.also { margin: 24px 0 0; font-size: 16px; color: var(--muted); max-width: 720px; }

/* About */
.about { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.photo { flex: 0 0 auto; width: min(100%, 220px); aspect-ratio: 4 / 5; border-radius: 14px; background: var(--cream); border: 1px dashed var(--field-line); display: flex; align-items: center; justify-content: center; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted); }
.about-text { flex: 999 1 420px; min-width: 0; }
.about-text p { margin: 16px 0 0; font-size: 18px; color: var(--body); max-width: 640px; }

/* Closing band */
.closing { background: #0A0A0A; color: var(--on-dark); padding: 72px 0 28px; }
.closing h2 { color: var(--on-dark); }
.closing p { margin: 14px 0 0; color: var(--on-dark-body); font-size: 18px; max-width: 560px; }
.closing .cta-row { margin-top: 28px; }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 72px; padding-top: 24px; border-top: 1px solid rgba(244,242,236,0.16); font-size: 14px; color: var(--on-dark-muted); }

/* Modal */
dialog { width: min(640px, calc(100vw - 24px)); max-height: calc(100vh - 24px); padding: 0; border: 0; border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 24px 80px rgba(0,0,0,0.35); }
dialog::backdrop { background: rgba(10,10,10,0.6); }
.m-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 24px 24px 0; }
.m-head h2 { font-size: 24px; }
.m-head p { margin: 6px 0 0; font-size: 15px; color: var(--muted); }
.close { flex: 0 0 auto; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
form { padding: 20px 24px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.wide { grid-column: 1 / -1; }
label.lbl, legend { font-size: 14px; font-weight: 500; color: var(--body); }
input[type=text], input[type=email], input[type=tel], select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: var(--field); border: 1px solid var(--field-line); border-radius: 10px; padding: 11px 13px; min-height: 48px; width: 100%; }
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus, .close:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
fieldset { border: 0; padding: 0; margin: 0; }
.choices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 8px; margin-top: 6px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; inset: 0; margin: 0; }
.choice span { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 14px; border: 1px solid var(--field-line); border-radius: 10px; font-size: 15px; cursor: pointer; }
.choice span em { font-style: normal; font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: var(--muted); }
.choice input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.m-note { grid-column: 1 / -1; margin: 0; font-size: 14px; color: var(--muted); }
.m-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.m-actions .pill { min-width: 180px; }
.sent { display: none; padding: 8px 24px 28px; }
.sent h3 { margin: 0 0 6px; font-size: 20px; }
.sent p { margin: 0; color: var(--body); }

/* Hero photo */
.hero-grid { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: center; }
.hero-text { flex: 999 1 520px; min-width: 0; }
.hero-photo { flex: 1 1 240px; max-width: 320px; aspect-ratio: 4 / 5; border-radius: 16px; background: #26241F; border: 1px solid rgba(244,242,236,0.16); display: flex; align-items: center; justify-content: center; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--on-dark-muted); overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 760px) {
  .hero-grid { display: block; }
  .hero-photo { float: right; width: 104px; max-width: none; aspect-ratio: 1; border-radius: 50%; margin: 6px 0 12px 20px; shape-outside: circle(50%); font-size: 11px; }
  .hero-grid::after { content: ''; display: block; clear: both; }
}

/* Start callout */
.start { margin-top: 24px; padding: 22px 26px; border-radius: 16px; background: var(--cream-2); }
.start h3 { margin: 0; font-size: 19px; font-weight: 600; }
.start p { margin: 6px 0 0; font-size: 16px; color: var(--body); }

/* Site footer */
.site-foot { background: #0A0A0A; color: var(--on-dark-muted); padding: 28px 0; }
.site-foot footer { margin-top: 0; padding-top: 0; border-top: 0; }
.site-foot a { color: var(--on-dark-body); text-decoration: none; }

/* About page */
.page-hero { background: #0A0A0A; color: var(--on-dark); padding: 16px 0 72px; }
.page-hero h1 { max-width: none; font-size: clamp(2.25rem, 5vw, 3.5rem); }
.about-page { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.about-page .photo-lg { flex: 1 1 260px; max-width: 340px; aspect-ratio: 4 / 5; border-radius: 16px; background: var(--cream-2); border: 1px dashed var(--field-line); display: flex; align-items: center; justify-content: center; font-family: 'IBM Plex Mono', monospace; font-size: 13px; color: var(--muted); }
.about-page .copy { flex: 999 1 440px; min-width: 0; }
.about-page .copy p { margin: 0 0 18px; font-size: 18px; color: var(--body); max-width: 660px; }
.about-page .cta-row { margin-top: 28px; }

/* Where I look first, inside How I work */
.lookfirst { margin-top: 44px; }
.lookfirst > h3 { margin: 0; font-size: 21px; font-weight: 600; }
.lookfirst > p { margin: 8px 0 0; font-size: 17px; color: var(--body); max-width: 640px; }
.lookfirst .leaks { grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 24px 28px; margin-top: 24px; }
.leak h4 { margin: 0; font-size: 17px; font-weight: 600; }
.lookfirst .leak p { font-size: 15px; margin-top: 6px; }
@media (max-width: 520px) { .lookfirst .leaks { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; } }
.lookfirst + .offers { margin-top: 48px; }
.offers-head { margin: 52px 0 0; font-size: 21px; font-weight: 600; }
.offers-head + .offers { margin-top: 20px; }

/* production additions */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.m-err { color: #b3261e; font-size: 14px; }
.about-page .photo-lg { border-style: solid; overflow: hidden; }
.about-page .photo-lg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-photo img, .about-page .photo-lg img { filter: grayscale(1); }
.cf-turnstile { grid-column: 1 / -1; }
.opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
#verify { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; padding: 20px 24px 28px; }
#verify .m-note, #verify .m-actions { grid-column: 1 / -1; }

.hero-photo { order: 2; }
@media (max-width: 760px) { .hero-photo { order: 0; } }
.fit { margin-top: 40px; padding: 24px 28px; border-radius: 16px; background: var(--cream-2); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; }
.fit > div { flex: 1 1 380px; }
.fit h3 { margin: 6px 0 0; font-size: 22px; font-weight: 600; }
.fit p { margin: 8px 0 0; font-size: 16px; color: var(--body); max-width: 60ch; }
.fit-tag { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.lookfirst + .fit { margin-top: 48px; }

.about-page .aside { font-style: italic; color: var(--muted); margin-top: 28px; }

/* v2 additions */
.result .tag { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.aboutme .intro { max-width: 680px; }
.aboutme p { max-width: 680px; margin: 0 0 14px; font-size: 17px; color: var(--body); }
.aboutme .more { font-size: 16px; }
.v2 #options .intro, .v2 .lookfirst > p, .v2 .aboutme p, .v2 .aboutme .intro { max-width: none; }
.v2 .box, .v2 .lookfirst { padding: 28px; border-radius: 16px; background: var(--cream-2); }
.v2 .box .intro { margin-top: 14px; }
.v2 .lookfirst { margin-top: 24px; }
.v2 .fine { max-width: none; }
.v2 .lookfirst + .fit { margin-top: 24px; }
.v2 .fine { text-align: center; }
.v2 .fit { margin-top: 24px; }
.v2 .fit { border: 1px solid var(--line); }
.v2 .fit p { max-width: none; }
.v2 .offer-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.v2 #work .intro { max-width: none; }

/* scheduling page + availability dialog */
.sched { padding: 40px 0 72px; max-width: 720px; }
.sched h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin: 0; }
.sched .lede { margin-top: 14px; }
.sched-day { margin-top: 26px; }
.sched-label { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.sched-tz { margin-top: 28px; font-size: 14px; color: var(--muted); }
.fit .btn-row { align-items: center; }
#avail { max-width: 520px; }
#avail .a-body { padding: 8px 24px 28px; }
#avail .sched-day:first-child { margin-top: 10px; }
.a-slot { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; font-size: 15px; margin: 0 8px 8px 0; }
.tzsel { max-width: 100%; font-size: 14px; padding: 8px 10px; min-height: 40px; margin: 4px 0 8px; }
.slot-pick { margin: 0 8px 8px 0; min-height: 40px; padding: 0 16px; font-size: 15px; }
.slot-pick.on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
#slot-field .sched-day { margin-top: 12px; }
.v2 .fit > div { flex: 1 1 520px; }
.pick-body { padding: 8px 24px 28px; }
#pick .sched-day:first-child { margin-top: 6px; }
