/* Homepage sections. */

/* ---------- Hero ---------- */
.hero { background: var(--dark); color: var(--on-dark); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 76px 0 84px; }
.hero h1 { color: var(--on-dark); font-size: clamp(40px, 5.6vw, 66px); }
.hero-lede { font-size: 19px; color: var(--on-dark-muted); max-width: 30em; margin: 22px 0 32px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-visual { position: relative; }
.photo-hero { aspect-ratio: 5 / 4; border-radius: var(--r-lg); }
.hero .photo { background: repeating-linear-gradient(135deg, #2A2A28 0 14px, #242422 14px 28px); border-color: rgba(255,255,255,.14); }
.hero .photo-note { color: var(--on-dark-muted); }
.hero .photo-note b { color: var(--accent-on-dark); }
.hero-card { position: absolute; left: -28px; bottom: -22px; display: flex; align-items: center; gap: 12px; background: var(--on-dark); color: var(--dark);
  border-radius: var(--r); padding: 10px 18px 10px 10px; box-shadow: var(--shadow-lift); }
.hero-mock { width: 64px; height: 75px; background: var(--bg-2); border-radius: 10px; position: relative; overflow: hidden; }
.hero-card b { display: block; font-family: var(--font-display); font-size: 18px; font-weight: 800; line-height: 1.1; }
.hero-card span { font-size: 13.5px; color: var(--muted); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding: 52px 0 64px; gap: 40px; }
  .hero-card { left: 12px; bottom: -18px; }
}

/* ---------- Facts strip (centered) ---------- */
.facts { border-bottom: 1px solid var(--line); background: var(--bg-2); }
.facts ul { list-style: none; margin: 0 auto; padding: 20px 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 14px 44px; }
.facts li { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 16px; color: var(--text-strong); }
.facts svg { width: 24px; height: 24px; fill: none; stroke: var(--accent); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
@media (max-width: 640px) { .facts ul { display: grid; grid-template-columns: 1fr 1fr; justify-items: start; gap: 14px 18px; width: min(var(--wrap), 100% - 40px); } .facts li { font-size: 14.5px; } }

/* ---------- How it works (after tcpilot.com: dark cards, icon tiles, joined by a line) ---------- */
.hiw-flow { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr) 64px minmax(0, 1fr); align-items: stretch; }
.hiw-card { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); padding: 28px 26px 24px;
  box-shadow: 0 24px 50px -28px rgba(23, 23, 23, .6); display: flex; flex-direction: column; min-height: 250px; }
.hiw-card h3 { color: var(--on-dark); font-size: 22px; margin-top: 18px; position: relative; }
.hiw-card p { color: rgba(251, 247, 244, .82); margin: 8px 0 0; font-size: 16px; position: relative; }
.hiw-num { font-family: var(--font-display); font-weight: 800; font-size: 44px; line-height: 1; color: var(--accent-on-dark); position: relative; }
.hiw-bg { position: absolute; right: -26px; bottom: -30px; width: 170px; height: 170px; fill: none; stroke: rgba(215, 201, 184, .09); stroke-width: 1.4;
  stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.hiw-join { position: relative; }
.hiw-join i { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--accent); border-radius: 2px; }
.hiw-join b { position: absolute; left: 50%; top: 50%; width: 11px; height: 11px; margin: -5.5px 0 0 -5.5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-wash); }
.center-cta { text-align: center; margin-top: 44px; }
@media (max-width: 900px) {
  .hiw-flow { grid-template-columns: 1fr; }
  .hiw-join { height: 44px; }
  .hiw-join i { left: 50%; right: auto; top: 0; bottom: 0; width: 2px; height: auto; margin-left: -1px; }
}

/* ---------- Photo placeholders ---------- */
.photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); border: 1.5px dashed var(--line-strong);
  background: repeating-linear-gradient(135deg, var(--bg-2) 0 14px, var(--bg) 14px 28px); display: grid; place-items: center; padding: 28px; }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-note { max-width: 360px; text-align: center; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.photo-note b { display: block; font-family: var(--font-display); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-deep); margin-bottom: 6px; }
.photo-band { padding: 0 0 8px; }
.photo-band .wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 18px; }
.photo-band .photo { aspect-ratio: 16 / 10; }
@media (max-width: 760px) { .photo-band .wrap { grid-template-columns: 1fr; } }

/* ---------- Why us: comparison chart (feature rows x three columns, our column highlighted) ---------- */
.why { background: var(--bg-2); }
section.block.why { border-top: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cmp { max-width: 1020px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-soft); padding: 0 18px; }
.cmp-row { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); column-gap: 0; align-items: stretch; }
.cmp-row:not(.cmp-head):not(.cmp-foot) + .cmp-row:not(.cmp-foot) { border-top: 1px solid var(--line); }
.cmp-row:not(.cmp-head):not(.cmp-foot):nth-child(even) .cmp-label,
.cmp-row:not(.cmp-head):not(.cmp-foot):nth-child(even) .cmp-cell:not(.us) { background: color-mix(in srgb, var(--bg-2) 45%, transparent); }
.cmp-label { display: flex; align-items: center; padding: 16px 12px; font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text-strong); }
.cmp-cell { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 14px 10px; text-align: center; }
.cmp-cell small { font-size: 13px; line-height: 1.3; color: var(--muted); }
/* our column: one dark band running the full height */
.cmp-cell.us { background: var(--dark); color: var(--on-dark); }
.cmp-cell.us small { color: var(--accent-on-dark); }
.cmp-row:not(.cmp-head):not(.cmp-foot) + .cmp-row:not(.cmp-foot) .cmp-cell.us { box-shadow: inset 0 1px 0 var(--dark-line); }
.cmp-head .cmp-cell { position: relative; justify-content: flex-end; padding: 34px 10px 18px; border-bottom: 2px solid var(--line-strong); }
.cmp-head .cmp-label { border-bottom: 2px solid var(--line-strong); }
.cmp-head b { font-family: var(--font-display); font-size: 16px; font-weight: 800; line-height: 1.2; color: var(--text-strong); }
.cmp-head .cmp-cell.us { margin-top: 26px; border-radius: var(--r) var(--r) 0 0; border-bottom-color: var(--dark); padding-top: 34px; }
.cmp-head .cmp-cell.us b { color: var(--on-dark); font-size: 17px; }
.cmp-head .why-badge { top: -13px; }
.cmp-foot .cmp-cell.us { border-radius: 0 0 var(--r) var(--r); padding: 16px 16px 22px; margin-bottom: 26px; }
.cmp-foot .cmp-cell.us .btn { width: 100%; }
.cmp-short { display: none; }
.cmp-ico { width: 30px; height: 30px; border-radius: 50%; flex: none; background-position: center; background-repeat: no-repeat; background-size: 17px; }
.cmp-ico.yes { background-color: var(--good-wash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%233E7B4F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.cmp-ico.no { background-color: var(--bad-wash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 4.5 7 7m0-7-7 7' fill='none' stroke='%23A43A2F' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cmp-ico.mid { background-color: var(--warn-wash);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8h7' fill='none' stroke='%239A6A12' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E"); }
.cmp-cell.us .cmp-ico.yes { background-color: rgba(143, 199, 159, .18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.5 3 3 6-7' fill='none' stroke='%238FC79F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.why-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-family: var(--font-display);
  font-size: 11.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; border-radius: var(--r-pill); padding: 6px 14px; white-space: nowrap; }
/* phone: feature name gets its own line above the three answers */
@media (max-width: 680px) {
  .cmp { padding: 0 8px; }
  .cmp-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cmp-label { grid-column: 1 / -1; justify-content: center; padding: 14px 6px 4px; font-size: 15.5px; background: none !important; }
  .cmp-head .cmp-label, .cmp-foot .cmp-label { display: none; }
  .cmp-row:not(.cmp-head):not(.cmp-foot):nth-child(even) .cmp-cell:not(.us) { background: none; }
  .cmp-cell { padding: 6px 4px 14px; }
  .cmp-cell small { font-size: 12px; }
  .cmp-ico { width: 26px; height: 26px; background-size: 15px; }
  .cmp-head .cmp-cell { padding: 26px 4px 12px; }
  .cmp-head b { font-size: 13.5px; }
  .cmp-head .cmp-cell.us b { font-size: 14px; }
  .cmp-long { display: none; } .cmp-short { display: inline; }
  .cmp-foot .cmp-cell.us { padding: 12px 6px 16px; }
  .cmp-foot .btn { padding: 0 10px; }
}

/* ---------- What groups usually order ---------- */
.shirts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.shirt-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; display: grid; gap: 6px; text-decoration: none;
  transition: border-color .2s var(--ease), transform .2s var(--ease); }
.shirt-card:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.shirt-card .pic { background: var(--bg-2); border-radius: var(--r-sm); padding: 16px 34px; margin-bottom: 8px; position: relative; }
.shirt-card .pic .chip { position: absolute; top: 10px; left: 10px; background: var(--dark); color: var(--on-dark); }
.shirt-card h3 { font-size: 18px; }
.shirt-card small { color: var(--muted); font-size: 13px; }
.groups { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.groups span { font-size: 12.5px; color: var(--accent-deep); background: var(--accent-wash); border-radius: var(--r-pill); padding: 3px 10px; }
.swatches { display: flex; gap: 5px; margin-top: 8px; }
.swatches i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.swatches em { font-style: normal; font-size: 12.5px; color: var(--muted); align-self: center; margin-left: 3px; }
@media (max-width: 860px) { .shirts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .shirts { grid-template-columns: 1fr; } }

/* ---------- Service area ---------- */
.area-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.photo-owner { aspect-ratio: 4 / 5; }
.area-lede { font-size: 18px; margin: 14px 0 26px; }
.area-list { margin: 0; display: grid; gap: 4px; }
.area-list dt { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: var(--text-strong); margin-top: 14px; }
.area-list dd { margin: 2px 0 0; color: var(--muted); }
@media (max-width: 860px) { .area-wrap { grid-template-columns: 1fr; gap: 32px; } .photo-owner { aspect-ratio: 4 / 3; } }

/* Hero: upload straight from the home page, and the sample mockup */
.hero-drop { display: flex; align-items: center; gap: 16px; max-width: 580px; padding: 18px 18px 18px 20px; border: 2px dashed rgba(255,255,255,.32);
  border-radius: var(--r); background: rgba(255,255,255,.05); cursor: pointer; transition: border-color .15s, background .15s; }
.hero-drop:hover, .hero-drop.over { border-color: var(--accent-on-dark); background: rgba(255,255,255,.1); }
.hero-drop:focus-within { outline: 2px solid var(--accent-on-dark); outline-offset: 3px; }
.hero-drop.busy { pointer-events: none; opacity: .7; }
.hd-icon { width: 48px; height: 48px; border-radius: 50%; background: var(--on-dark); display: grid; place-items: center; flex: none; }
.hd-icon svg { width: 24px; height: 24px; fill: none; stroke: var(--dark); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hd-text { display: grid; gap: 3px; min-width: 0; }
.hd-text b { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: var(--on-dark); line-height: 1.15; }
.hd-text small { font-size: 14px; color: var(--on-dark-muted); }
.hd-btn { margin-left: auto; flex: none; }
.hero .hero-ctas { margin-top: 16px; }
.hero-shirt { margin: 0; aspect-ratio: 1; border-radius: var(--r-lg); background: radial-gradient(120% 90% at 50% 35%, #FBF7F4 0%, #E8DFD3 100%);
  display: grid; place-items: center; padding: 7%; }
.hero-shirt img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 22px 26px rgba(31, 31, 31, .28)); }
@media (max-width: 860px) {
  .hero-shirt { aspect-ratio: 5 / 4; padding: 5%; }
}
@media (max-width: 560px) {
  .hero-drop { padding: 16px; gap: 12px; }
  .hd-btn, .hd-long { display: none; }
  .hd-text b { font-size: 19px; }
}
