/* Home page. Pattern from hims: short headline, field-of-research tiles, one rounded panel per field with fine print,
   an expertise section, then the rose-gold tin as the unboxing moment. Cosmetic finish from the tin and paper sleeve. */
:root {
  --paper-wash: #ece5da;
  --sand: #e4dccf;
  --clay: #b98672;
  --sage-m: #c4cfc6;
  --slate-m: #c2cad1;
  --rose-2: #d6a08f;
  --peach-wash: rgba(246, 196, 160, .42);
  --blue-wash: rgba(176, 202, 226, .38);
  --foil: linear-gradient(120deg, #f6dfd6 0%, #d9a393 28%, #f8e6de 48%, #c88d7c 70%, #eccbbf 100%);
  --photo: #e3e5f1;
}
.two-tone { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; text-wrap: balance; line-height: 1.04; }
.two-tone .r { color: var(--rose-3); }

/* Hero: headline plus field tiles */
.hx { position: relative; background: var(--paper-wash); overflow: hidden; isolation: isolate; padding: 56px 0 40px; }
.hx::before { display: none; content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; right: -160px; top: -260px; border-radius: 50%; filter: blur(70px); background: radial-gradient(circle, var(--peach-wash), transparent 68%); }
.hx::after { display: none; content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -200px; bottom: -260px; border-radius: 50%; filter: blur(70px); background: radial-gradient(circle, var(--blue-wash), transparent 70%); }
.hx-head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.hx-head > * { min-width: 0; }
.hx h1 { font-size: clamp(42px, 5.2vw, 72px); }
.hx-head p { color: var(--ink-2); font-size: 15.5px; max-width: 46ch; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tile { position: relative; border-radius: 22px; overflow: hidden; display: flex; transition: transform .25s, box-shadow .25s; }
.tile:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -22px rgba(30, 30, 40, .45); }
.tile.big { grid-column: span 2; min-height: 236px; background: var(--ft); }
.tile.big .t-copy { position: relative; z-index: 1; padding: 24px 26px; display: flex; flex-direction: column; gap: 8px; max-width: 58%; }
.tile.big .t-copy small { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.tile.big .t-copy b { font: 400 30px/1.05 var(--serif); }
.tile.big .t-copy span { margin-top: auto; font-size: 13px; color: var(--ink-2); }
.tile.big img { position: absolute; right: 0; top: 0; height: 100%; width: 40%; object-fit: cover; object-position: 50% 40%; }
.tile.small { align-items: center; gap: 12px; padding: 10px 16px 10px 10px; background: rgba(255,255,255,.85); border: 1px solid var(--line); min-height: 72px; }
.tile.small .th { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; background: var(--photo); flex: none; }
.tile.small .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.6); }
.tile.small b { font-weight: 500; font-size: 14px; line-height: 1.3; }
.tile.small b small { display: block; font: 500 10.5px var(--mono); color: var(--muted); margin-top: 3px; }
.tile.small::after { content: "›"; margin-left: auto; font-size: 22px; color: var(--muted); }

/* Trust row under the hero */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1px solid var(--line); border-radius: 18px; background: #fff; margin-top: 20px; }
.trust > div { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 18px 20px; font-size: 13px; color: var(--ink-2); }
.trust > div + div { border-left: 1px solid var(--line); }
.trust svg { width: 20px; height: 20px; color: var(--pine); }
.trust b { display: block; color: var(--ink); font-weight: 500; font-size: 13.5px; }

/* One panel per field */
.fields { display: grid; gap: 16px; }
.fpanel { border-radius: 32px; background: linear-gradient(160deg, var(--ft) 0%, #fff 120%); padding: 48px; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.fpanel > * { min-width: 0; }
.fpanel.flip .f-photo { order: -1; }
.f-copy { display: grid; gap: 18px; }
.f-copy h2 { font-size: clamp(34px, 3.6vw, 50px); }
.f-copy h2 em { font-style: italic; color: var(--fd); }
.f-copy .lead { font-size: 15px; }
.f-list { display: grid; border-top: 1px solid rgba(20,24,22,.1); }
.f-list a { display: grid; grid-template-columns: 12px 1fr auto auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px solid rgba(20,24,22,.1); font-size: 14px; }
.f-list a:hover b { text-decoration: underline; text-underline-offset: 3px; }
.f-list i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.f-list b { font-weight: 500; }
.f-list span { font: 500 11px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; }
.f-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.f-actions .btn.ghost { background: rgba(255,255,255,.75); }
.f-photo { position: relative; border-radius: 26px; overflow: hidden; background: var(--photo); aspect-ratio: 1 / 1; }
.f-photo img { width: 100%; height: 100%; object-fit: cover; }
.f-photo .mini-coa { position: absolute; left: 18px; bottom: 18px; right: 18px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); border: 1px solid rgba(20,24,22,.06); }
.mini-coa small { font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mini-coa b { font-weight: 500; font-size: 14px; }
.mini-coa button { grid-row: span 2; border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 9px 14px; font-size: 12.5px; font-weight: 500; }
.f-fine { grid-column: 1 / -1; font-size: 11.5px; color: var(--muted); border-top: 1px solid rgba(20,24,22,.08); padding-top: 16px; margin-top: -16px; }

/* Expertise */
.expert-head { text-align: center; display: grid; justify-items: center; gap: 14px; margin-bottom: 40px; }
.expert-head h2 { font-size: clamp(38px, 4.4vw, 60px); }
.expert { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.expert > * { min-width: 0; }
.advisors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; align-content: start; }
.advisor { border-radius: 20px; border: 1px solid var(--line); background: #fff; padding: 18px; display: grid; gap: 10px; align-content: start; }
.advisor .ph { aspect-ratio: 1; border-radius: 14px; background: linear-gradient(160deg, #f3ece6, #e7dfd8); display: grid; place-items: center; }
.advisor .ph svg { width: 44%; color: #c9b8ad; }
.advisor b { font-weight: 500; font-size: 14px; }
.advisor small { font-size: 12px; color: var(--muted); }
.advisors .note { grid-column: 1 / -1; margin: 0; }
.pillars { border-radius: 24px; background: var(--deep); color: #dfe8e3; padding: 28px; display: grid; gap: 0; }
.pillars h3 { color: #fff; font: 400 28px/1.1 var(--serif); margin-bottom: 14px; }
.pillars > div { display: grid; grid-template-columns: 26px 1fr; gap: 14px; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.12); }
.pillars svg { width: 20px; height: 20px; color: #e9b9ac; margin-top: 2px; }
.pillars b { display: block; color: #fff; font-weight: 500; font-size: 14px; }
.pillars small { font-size: 12.5px; color: #a9bcb2; }
.pillars .tbc { color: #f0b98f; }

/* Tin panel */
.tin-panel { border-radius: 32px; background: linear-gradient(135deg, #E4B395 0%, #CA9A7E 60%, #C08C70 100%); padding: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; color: #3b211a; }
.tin-panel > * { min-width: 0; }
.tin-panel h2 { font-size: clamp(36px, 4vw, 54px); color: #2e1a14; }
.tin-panel h2 em { font-style: italic; color: #fff; }
.tin-panel p { color: #3a2119; font-size: 15px; max-width: 44ch; }
.tin-panel .tin-photo { border-radius: 24px; padding: 6px; background: var(--foil); box-shadow: 0 30px 60px -30px rgba(70, 30, 20, .5); }
.tin-panel .tin-photo img { width: 100%; display: block; border-radius: 19px; }
.tin-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 8px; }
.tin-facts div { background: rgba(255,255,255,.2); border-radius: 14px; padding: 12px 14px; font-size: 13px; }
.tin-facts small { display: block; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: #7a4a3d; margin-bottom: 4px; }

@media (max-width: 1024px) {
  .hx-head, .fpanel, .expert, .tin-panel { grid-template-columns: 1fr; }
  .fpanel.flip .f-photo { order: 0; }
  .f-photo { aspect-ratio: 4 / 3; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust > div:nth-child(3) { border-left: 0; }
  .trust > div:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 680px) {
  .hx { padding: 32px 0 28px; }
  .tiles { grid-template-columns: 1fr; }
  .tile.big { grid-column: auto; min-height: 190px; }
  .tile.big .t-copy b { font-size: 26px; }
  .trust { grid-template-columns: 1fr; }
  .trust > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .fpanel, .tin-panel { padding: 24px 18px; border-radius: 24px; gap: 28px; }
  .f-list a { grid-template-columns: 12px 1fr auto; }
  .f-list a span:last-child { display: none; }
  .advisors { grid-template-columns: 1fr 1fr; }
  .tin-facts { grid-template-columns: 1fr; }
}

/* v3: photo tiles, tabbed field explorer, label anatomy (replaces advisors) */
.ptiles { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 250px; gap: 12px; }
.ptile { position: relative; border-radius: 22px; overflow: hidden; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
.ptile.wide { grid-column: span 2; }
.ptile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.ptile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(20,14,10,0) 40%, rgba(20,14,10,.62) 100%); }
.ptile:hover img { transform: scale(1.04); }
.ptile .pt-copy { padding: 20px 22px; display: grid; gap: 4px; width: 100%; }
.ptile small { font: 500 10.5px var(--mono); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }
.ptile b { font: 400 28px/1.05 var(--serif); }
.ptile.wide b { font-size: 36px; }
.ptile span { display: flex; justify-content: space-between; align-items: center; font-size: 13px; opacity: .92; margin-top: 6px; }
.ptile span i { font-style: normal; width: 30px; height: 30px; border-radius: 50%; background: rgba(255,255,255,.22); backdrop-filter: blur(6px); display: grid; place-items: center; }

.explorer { border-radius: 32px; background: var(--sand); border: 1px solid var(--line); padding: 28px; }
.ex-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 24px; scrollbar-width: none; }
.ex-tabs button { flex: none; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.ex-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ex-body { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; }
.ex-body > * { min-width: 0; }
.ex-photo { position: relative; border-radius: 24px; overflow: hidden; aspect-ratio: 1 / 1; }
.ex-photo > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ex-vial { position: absolute; right: 16px; bottom: 16px; width: 44%; display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; padding: 10px; border-radius: 18px; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); box-shadow: 0 18px 40px -20px rgba(0,0,0,.35); }
.ex-vial .th { height: 84px; border-radius: 12px; overflow: hidden; background: var(--photo); }
.ex-vial .th img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 52%; transform: scale(1.5); }
.ex-vial small { font: 500 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ex-vial b { display: block; font-weight: 500; font-size: 14px; margin: 2px 0 6px; }
.ex-vial button { border: 0; background: var(--ink); color: #fff; border-radius: 999px; padding: 7px 12px; font-size: 12px; font-weight: 500; }

.anatomy { display: grid; grid-template-columns: 1.05fr 1fr; gap: 20px; }
.anatomy > * { min-width: 0; }
.label-shot { position: relative; border-radius: 26px; overflow: hidden; background: var(--photo); }
.label-shot img { width: 100%; display: block; }
.pin { position: absolute; width: 30px; height: 30px; margin: -15px 0 0 -15px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 12px/30px var(--mono); text-align: center; box-shadow: 0 0 0 5px rgba(255,255,255,.75); }
.legend { display: grid; gap: 0; border-radius: 24px; border: 1px solid var(--line); background: #fff; padding: 8px 24px; align-content: start; }
.legend > div { display: grid; grid-template-columns: 30px 1fr; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.legend > div:last-child { border-bottom: 0; }
.legend .n { width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 11px/26px var(--mono); text-align: center; }
.legend b { display: block; font-weight: 500; font-size: 14.5px; }
.legend small { font-size: 13px; color: var(--ink-2); }
.anatomy-note { grid-column: 1 / -1; }

@media (max-width: 1024px) {
  .ptiles { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .ex-body, .anatomy { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .ptiles { grid-auto-rows: 180px; gap: 10px; }
  .ptile.wide { grid-column: span 2; }
  .ptile b { font-size: 22px; } .ptile.wide b { font-size: 28px; }
  .ptile .pt-copy { padding: 14px; }
  .explorer { padding: 16px; border-radius: 24px; }
  .ex-vial { width: auto; left: 12px; right: 12px; bottom: 12px; }
}

.pillars-row { grid-template-columns: repeat(4, 1fr); column-gap: 24px; }
.pillars-row h3 { grid-column: 1 / -1; }
@media (max-width: 1024px) { .pillars-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .pillars-row { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .pin { width: 22px; height: 22px; margin: -11px 0 0 -11px; font-size: 10px; line-height: 22px; box-shadow: 0 0 0 3px rgba(255,255,255,.75); } }

/* Draft switcher (review only) */

/* Draft B: mediclab seals, aminoclub quality tabs and batch cards, supplier questions, guarantee */
.seals-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 56px; }
.seal-round { display: grid; justify-items: center; gap: 12px; text-align: center; }
.seal-round .ring { width: 116px; height: 116px; border-radius: 50%; display: grid; place-items: center; align-content: center; gap: 2px; background: var(--sand); box-shadow: inset 0 0 0 1px var(--line), 0 0 0 6px #fff, 0 0 0 7px var(--rose-2); color: var(--pine); }
.seal-round .ring svg { width: 22px; height: 22px; }
.seal-round .ring b { font: 400 26px/1 var(--serif); color: var(--ink); }
.seal-round small { font-size: 13px; color: var(--ink-2); max-width: 20ch; }
.qv { border-radius: 32px; background: var(--sage-m); padding: 48px; display: grid; gap: 24px; }
.qv-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.qv-tabs button { height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 13.5px; }
.qv-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.qv-body { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.qv-body > * { min-width: 0; }
.qv-text { display: grid; gap: 14px; padding-top: 8px; }
.qv-text p { color: var(--ink-2); font-size: 15px; max-width: 48ch; }
.qv-shows { border-left: 3px solid var(--rose-2); padding: 6px 0 6px 14px; font-size: 14px; }
.qv-shows small { display: block; font: 500 10px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.qv-card { border-radius: 22px; background: var(--deep); color: #dfe8e3; padding: 24px; display: grid; gap: 0; }
.qv-card > div { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.qv-card > div.on { color: #fff; font-weight: 500; }
.qv-card > div.on > span:first-child::before { content: "● "; color: #e9b9ac; }
.qv-card .tbc { color: #f0b98f; }
.qv-card .btn { margin-top: 16px; }
.qv-card small.eyebrow { margin-bottom: 8px; }
.lots { margin-top: 40px; }
.lots-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 16px; }
.lots-head h3 { font: 400 30px var(--serif); }
.lots-nav { display: flex; gap: 6px; }
.lots-nav .icon-btn { border: 1px solid var(--line); font-size: 18px; }
.lot-row { display: grid; grid-auto-flow: column; grid-auto-columns: 260px; gap: 14px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.lot-card { scroll-snap-align: start; border: 1px solid var(--line); border-radius: 20px; background: #fff; padding: 16px; display: grid; gap: 14px; }
.lc-top { display: grid; grid-template-columns: 44px 1fr; gap: 10px; align-items: center; }
.lc-top .th { height: 52px; border-radius: 10px; overflow: hidden; background: var(--photo); }
.lc-top .th img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.5); object-position: 50% 52%; }
.lc-top b { font-weight: 500; font-size: 14px; display: block; }
.lc-top small { font: 500 11px var(--mono); color: var(--muted); }
.lc-big { font: 400 36px/1 var(--serif); color: var(--pine); display: grid; gap: 4px; }
.lc-big small { font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lot-card dl { margin: 0; display: grid; }
.lot-card dl div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line-2); font-size: 12.5px; }
.lot-card dt { color: var(--muted); } .lot-card dd { margin: 0; }
.ask { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; margin-top: 64px; align-items: start; }
.ask > * { min-width: 0; }
.ask-table th { width: 44%; }
.guarantee { margin-top: 40px; border-radius: 26px; background: var(--deep); color: #dfe8e3; padding: 28px 32px; display: grid; grid-template-columns: 64px 1fr auto; gap: 22px; align-items: center; }
.guarantee .seal-big { width: 64px; height: 64px; border-radius: 50%; background: var(--foil); display: grid; place-items: center; color: #5a3328; }
.guarantee .seal-big svg { width: 28px; height: 28px; }
.guarantee b { display: block; color: #fff; font: 400 26px var(--serif); }
.guarantee p { font-size: 14px; color: #a9bcb2; }
.guarantee .tbc { color: #f0b98f; }
@media (max-width: 1024px) { .qv-body, .ask { grid-template-columns: 1fr; } .seals-row { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 680px) { .qv { padding: 24px 16px; border-radius: 24px; } .guarantee { grid-template-columns: 1fr; padding: 24px; } .seal-round .ring { width: 96px; height: 96px; } }

.guarantee b .tbc { font-size: 11.5px; vertical-align: 4px; margin-left: 8px; }

/* Matte newsletter band and darker rose accent (less pastel) */
.band { background: linear-gradient(120deg, var(--sand), var(--sage-m)); }
:root { --rose-3: #a86753; }
