/* The home page: the provocation, your own skirt block, the list, the stance. On top of site.css, with its tokens. */

/* ---- the first screen: the line on the left, your skirt block on the right ---- */
.hero.hook { padding-bottom: clamp(56px, 9vh, 96px); }
.hook-in { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.hook-words { text-align: left; }
.hero.hook h1 { font-size: clamp(40px, 5.6vw, 82px); line-height: 1; letter-spacing: -0.04em; }
.hero.hook .hero-sub { margin: 22px 0 0; max-width: 30em; text-wrap: pretty; }
.hero.hook .actions { justify-content: flex-start; margin-top: 26px; }
@media (max-width: 960px) { .hook-in { grid-template-columns: 1fr; } }

/* ---- your skirt block (site/demo/skirt.ts draws it; without the script the picture stays) ---- */
.mine { background: var(--paper); color: var(--ink); border-radius: 26px; padding: clamp(16px, 2vw, 24px); box-shadow: 0 1px 0 rgba(255,255,255,.4) inset, 0 40px 90px -30px rgba(5,16,12,.6); }
.mine-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.mine-head h2 { font-size: clamp(19px, 1.7vw, 23px); letter-spacing: -0.02em; }
.units { display: inline-flex; padding: 3px; border-radius: 999px; background: var(--tint); flex: none; }
.units button { font: 500 13px var(--display); color: var(--ink-2); background: none; border: 0; border-radius: 999px; padding: 4px 11px; cursor: pointer; transition: color .18s var(--ease), background .18s var(--ease); }
.units button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 3px rgba(30,43,39,.16); }
.mine form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.mine label { display: grid; gap: 4px; font-size: 13.5px; color: var(--ink-2); }
.mine .field { display: flex; align-items: baseline; gap: 6px; border: 1px solid var(--line); border-radius: 12px; padding: 8px 12px; background: #fff; transition: border-color .18s var(--ease); }
.mine .field:focus-within { border-color: var(--brand); }
.mine input { width: 100%; min-width: 0; border: 0; outline: 0; background: none; font: 500 clamp(22px, 2vw, 26px) var(--display); letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; padding: 0; }
.mine .field span { font-size: 14px; color: var(--muted); }
.mine-paper { position: relative; margin-top: 12px; border-radius: 16px; aspect-ratio: 1.12; background: var(--paper) linear-gradient(rgba(47,93,80,.06) 1px, transparent 1px) 0 0 / 100% 14px, var(--paper) linear-gradient(90deg, rgba(47,93,80,.06) 1px, transparent 1px) 0 0 / 14px 100%; background-color: var(--paper); box-shadow: 0 0 0 1px var(--line) inset; overflow: hidden; }
.mine-paper svg { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); }
.mine svg path { fill: none; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; }
.mine svg .guide { stroke: #a7b0aa; stroke-width: 1; stroke-dasharray: 3 3; }
.mine svg .shop { stroke: var(--brass-deep); stroke-width: 2.2; stroke-dasharray: 7 5; }
.mine svg .yours { stroke: var(--ink); stroke-width: 2.2; }
.mine svg .darts { stroke: var(--brand); stroke-width: 1.8; }
.mine-key { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.mine-key i { display: inline-block; width: 22px; height: 0; vertical-align: middle; margin-right: 6px; border-top: 2.5px solid var(--ink); }
.mine-key .k-shop i { border-top: 2.5px dashed var(--brass-deep); }
.verdict { margin-top: 12px; font-size: 15.5px; line-height: 1.45; color: var(--ink); min-height: 4.4em; }
.verdict b { font-weight: 600; color: var(--brand-deep); }
.working { margin: 12px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.working div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 0; border-top: 1px solid var(--line); }
.working dt { font-size: 13.5px; color: var(--ink-2); line-height: 1.25; }
.working dt small { display: block; font-size: 12px; color: var(--muted); }
.working dd { margin: 0; font: 500 16px var(--display); letter-spacing: -0.01em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mine-note { margin: 0; font-size: 13px; color: var(--muted); }
.mine-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px 16px; flex-wrap: wrap; margin-top: 12px; }
.mine-save { flex: none; font: 600 13.5px var(--font); color: var(--brand); background: var(--wash); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer; transition: background .18s var(--ease), transform .12s var(--ease); }
.mine-save:hover { background: var(--wash-2); }
.mine-save:active { transform: scale(.97); }
.mine:not(.mine-live) .mine-save, .mine-waiting .mine-save { display: none; }
/* A slider under each measurement: drag it and the block redraws as you go. */
.mine .nudge { width: 100%; margin: 4px 0 0; accent-color: var(--brand); height: 18px; cursor: pointer; }
.mine-waiting svg path, .mine-waiting .working { opacity: .15; }
.mine:not(.mine-live) .working, .mine:not(.mine-live) .mine-key { display: none; }
@media (max-width: 480px) { .working { grid-template-columns: 1fr; } }

/* ---- the list of what you've been told is wrong with you ---- */
.fixes { background: var(--canvas); }
.fixes h2 { max-width: 15em; }
.fix-list { list-style: none; margin: clamp(30px, 5vh, 52px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 12px; }
.fix-list li { position: relative; font: 500 clamp(19px, 2.1vw, 28px) var(--display); letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); transition: color .5s var(--ease), background .5s var(--ease), box-shadow .5s var(--ease); }
.fix-list li::after { content: ""; position: absolute; left: 12px; right: 12px; top: 52%; height: 2.5px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease) var(--d, 0ms); }
.fix-list.struck li.gone { color: var(--muted); background: transparent; box-shadow: 0 0 0 1px rgba(30,43,39,.08); }
.fix-list.struck li.gone::after { transform: scaleX(1); }
.fix-list li.stays { box-shadow: 0 0 0 1.5px var(--brass-deep); }
.fix-turn { margin-top: clamp(30px, 5vh, 52px); display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: start; }
.fix-turn .lit-line { font: 500 clamp(26px, 3.2vw, 44px) var(--display); line-height: 1.1; letter-spacing: -0.03em; text-wrap: balance; }
.fix-turn p.honest { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); line-height: 1.5; padding-top: 14px; border-top: 1px solid #dedfd4; }
.fix-turn p.honest b { color: var(--ink); }
@media (max-width: 860px) { .fix-turn { grid-template-columns: 1fr; } }
.fix-size { display: inline-flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; margin-top: clamp(28px, 4vh, 40px); padding: 14px 20px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 1px var(--line); color: var(--ink-2); text-decoration: none; font-size: 16px; transition: box-shadow .18s var(--ease), transform .18s var(--ease); }
.fix-size b { font: 500 18px var(--display); letter-spacing: -0.015em; color: var(--brand-deep); }
.fix-size span { color: var(--brand); }
.fix-size:hover { box-shadow: 0 0 0 1.5px var(--brand); transform: translateY(-1px); }

/* ---- every line shows its working, and what Ellwand won't do ---- */
.working-band { background: #fff; }
.working-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.working-grid .lede { margin-top: 20px; }
.working-grid .window { box-shadow: 0 0 0 .5px rgba(30,43,39,.14), 0 40px 90px -30px rgba(27,53,46,.45); }
.formula-line { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 10px; margin-top: 22px; padding: 10px 16px; border-radius: 14px; background: var(--wash); font-size: 15px; color: var(--ink-2); }
.formula-line code { font: 500 17px var(--display); color: var(--ink); }
.formula-line b { font: 500 17px var(--display); color: var(--brand); font-variant-numeric: tabular-nums; }
.wont { list-style: none; margin: clamp(48px, 8vh, 90px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.wont li { padding-top: 16px; border-top: 2px solid var(--ink); }
.wont b { display: block; font: 500 clamp(20px, 1.8vw, 25px) var(--display); letter-spacing: -0.02em; line-height: 1.12; }
.wont p { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.wont-head { margin-top: clamp(56px, 9vh, 100px); }
@media (max-width: 960px) { .working-grid { grid-template-columns: 1fr; } .wont { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .wont { grid-template-columns: 1fr; } }

/* ---- three ways in ---- */
.ways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); margin-top: clamp(32px, 5vh, 56px); }
.way { display: flex; flex-direction: column; gap: 18px; border-radius: 24px; padding: clamp(20px, 2.2vw, 30px); background: rgba(255,255,255,.05); box-shadow: 0 0 0 1px rgba(255,255,255,.1) inset; }
.way h3 { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; letter-spacing: -0.025em; }
.way p { color: var(--on-dark); font-size: 15.5px; line-height: 1.5; }
.way .shot { margin-top: auto; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px -20px rgba(0,0,0,.6); }
.way .kick { font: 500 13px var(--display); text-transform: uppercase; letter-spacing: .1em; color: var(--brass); }
@media (max-width: 900px) { .ways-grid { grid-template-columns: 1fr; } }

/* ---- made with Ellwand: a customer's result ---- */
.made { background: #fff; padding-block: clamp(56px, 9vh, 100px); }
.made-in { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.made-num { font: 500 clamp(120px, 19vw, 260px) var(--display); line-height: .8; letter-spacing: -0.06em; color: var(--brand); font-variant-numeric: tabular-nums; }
.made-words p:not(.eyebrow) { margin-top: 16px; max-width: 34em; color: var(--ink-2); font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; }
.made-words p.made-note { font-size: 14px; color: var(--muted); }
@media (max-width: 700px) { .made-in { grid-template-columns: 1fr; } .made-num { font-size: 120px; } }

/* ---- the price, framed ---- */
.price { background: var(--canvas); }
.price-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-top: clamp(30px, 5vh, 52px); align-items: stretch; }
.price-card { border-radius: 22px; padding: clamp(20px, 2.2vw, 30px); background: #fff; box-shadow: 0 0 0 1px var(--line); display: flex; flex-direction: column; gap: 10px; }
.price-card .what { font-size: 14.5px; color: var(--ink-2); }
.price-card .amount { font: 500 clamp(30px, 3.2vw, 44px) var(--display); letter-spacing: -0.03em; line-height: 1; }
.price-card .amount small { font-size: .45em; letter-spacing: 0; color: var(--ink-2); }
.price-card p { font-size: 15px; line-height: 1.45; color: var(--ink-2); }
.price-card.ours { background: var(--brand-deep); color: #fff; box-shadow: 0 30px 60px -30px rgba(27,53,46,.6); transform: translateY(-8px); }
.price-card.ours .what, .price-card.ours p, .price-card.ours .amount small { color: var(--on-dark); }
.price-card.ours .btn { margin-top: auto; align-self: flex-start; }
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); max-width: 52em; }
@media (max-width: 860px) { .price-grid { grid-template-columns: 1fr; } .price-card.ours { transform: none; } }

/* ---- who made it, and the name ---- */
.story { background: #fff; }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.story .big { font-size: clamp(30px, 3.8vw, 52px); }
.story-words p { margin-top: 18px; color: var(--ink-2); font-size: clamp(16.5px, 1.35vw, 19px); line-height: 1.5; }
.sky { border-radius: 24px; padding: clamp(22px, 2.6vw, 34px); background: radial-gradient(120% 90% at 70% 0%, #2a5146, var(--brand-deeper) 70%); color: #fff; }
.sky svg { width: 100%; height: auto; display: block; }
.sky .star { fill: var(--brass); }
.sky .rod { stroke: rgba(232,212,106,.5); stroke-width: 1; stroke-dasharray: 2 4; }
.sky p { margin-top: 14px; color: var(--on-dark); font-size: 15px; line-height: 1.5; }
.sky b { color: #fff; font-family: var(--display); font-weight: 500; }
@media (max-width: 860px) { .story-grid { grid-template-columns: 1fr; } }

/* ---- Ell, kept short ---- */
.meet.short .lede { margin-top: 16px; }
.meet.short .facts { margin-top: clamp(26px, 4vh, 40px); }

/* ---- phones: Ellwand is for a computer, so the page offers to go there ---- */
.handoff { display: none; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.07); box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset; font-size: 14.5px; color: var(--on-dark); }
.handoff button { margin-top: 10px; font: 500 15px var(--display); color: var(--brand-deeper); background: var(--brass); border: 0; border-radius: 999px; padding: 9px 16px; cursor: pointer; }
.handoff.light { background: var(--wash); box-shadow: none; color: var(--ink-2); }
@media (hover: none) and (max-width: 900px) { .handoff { display: block; } }
