@import url('https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@62..125,100..900&family=Inter:ital,wght@0,400;0,500;0,600;0,700;1,400&display=block');

/* That Midlife Gay: design system, direction "2 After dark" with "1 Poster" colour blocks.
   Palette: Heni's own, from his design review (16 Nov): lime, soft black, forest charcoal, warm ivory, putty, sage.
   Replaces the 8 Nov palette (pink and duck egg are gone). */
:root {
  --night: #171918;
  --charcoal: #343C35;
  --white: #ffffff;
  --soft: rgba(255,255,255,.78);
  --faint: rgba(255,255,255,.5);
  --line: rgba(255,255,255,.16);
  --ink: #171918;
  --lime: #DFFF00;
  --ivory: #EAE7DF;
  --putty: #D2CBBF;
  --sage: #A5B4A3;
  /* Type accents (16 Nov): four distinct hues from the same earthy family, never the button lime */
  --teal: #2F5F5C;
  --ochre: #D2A24C;
  --clay: #C8694B;
  --gut: 22px;
  --max: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; }
body { background: var(--night); color: var(--white); font: 400 17px/1.6 Inter, sans-serif; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 780px; }
.wrap.narrow { max-width: var(--max); }
.wrap.narrow > * { max-width: 780px; }

/* Type */
.display { font-family: Archivo, sans-serif; font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .9; letter-spacing: -.005em; }
h1.display { font-size: 58px; }
h2.display { font-size: 52px; margin-bottom: 22px; }
h3 { font: 700 20px/1.3 Inter, sans-serif; margin-bottom: 8px; }
.lime { color: var(--lime); }
.lead { font-size: 20px; line-height: 1.5; color: var(--white); }
.sub { color: var(--soft); }
.small { font-size: 14px; line-height: 1.5; color: var(--faint); }
p + p { margin-top: 14px; }
.ask { font: 600 22px/1.4 Inter, sans-serif; color: var(--lime); margin-top: 22px; }
.brandline { font: 700 15px/1 Inter, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--lime); margin-bottom: 14px; }

/* Nav */
.nav { position: absolute; z-index: 5; top: 0; left: 0; right: 0; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav img { height: 22px; }
.nav .links { display: none; gap: 30px; font: 500 15px/1 Inter; }
.nav .links a { text-decoration: none; color: var(--soft); }
.nav .links a.cta { color: var(--ink); background: var(--lime); padding: 11px 18px; border-radius: 999px; font-weight: 600; }
.burger { width: 24px; height: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.burger i { display: block; height: 2px; background: #fff; }
.nav.solid { position: relative; background: var(--night); border-bottom: 1px solid var(--line); }

/* Buttons */
.btn { display: inline-block; font: 600 17px/1 Inter, sans-serif; text-decoration: none; text-align: center; padding: 20px 30px; border-radius: 999px; background: var(--lime); color: var(--ink); }
.btn.full { display: block; width: 100%; }
.btn.dark { background: var(--ink); color: var(--white); }
.btn.ghost { background: transparent; color: var(--white); border: 1.5px solid var(--white); }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.on-colour .textlink { border-color: var(--ink); }
.btnrow { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }

/* Hero: full-bleed photo, words over the dark end of it */
.hero { position: relative; overflow: hidden; background: var(--night); }
.hero .photo { position: absolute; inset: 0 0 auto 0; height: 560px; }
.hero .photo img { width: 100%; height: 100%; object-fit: cover; }
.hero .photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,25,24,.6) 0%, rgba(23,25,24,0) 20%, rgba(23,25,24,0) 48%, var(--night) 99%); }
.hero .words { position: relative; z-index: 2; padding-top: 400px; padding-bottom: 48px; }
.hero h1 { margin-bottom: 22px; }

/* Sections */
.sec { padding: 72px 0; }
.sec.tight { padding: 48px 0; }
.sec.rule { border-top: 1px solid var(--line); }
.on-colour { color: var(--ink); }
.on-colour .sub { color: rgba(17,17,17,.78); }
.on-colour .lead { color: var(--ink); }
.on-colour .small { color: rgba(17,17,17,.6); }
.on-colour .ask { color: var(--ink); }
.on-colour .brandline { color: var(--ink); }
.bg-lime { background: var(--lime); }
.bg-ivory { background: var(--ivory); }
.bg-putty { background: var(--putty); }
.bg-sage { background: var(--sage); }
.bg-charcoal { background: var(--charcoal); }
.bg-teal { background: var(--teal); }
.bg-ochre { background: var(--ochre); }
.bg-clay { background: var(--clay); }
/* On light sections, buttons go soft black with lime text (as on the checkout he liked), so lime never sits on ivory */
.on-colour .btn:not(.ghost) { background: var(--night); color: var(--lime); }
.on-colour .btn.ghost { color: var(--ink); border-color: var(--ink); }
.on-colour .lime { color: var(--ink); }

/* Split: photo and words side by side on desktop, stacked on mobile */
.split { display: grid; gap: 34px; }
.split .pic { position: relative; }
.split .pic img { width: 100%; height: 440px; object-fit: cover; }
.cols2 > * + * { margin-top: 44px; }
.label { font-size: 12px; line-height: 1.4; color: var(--faint); margin-top: 8px; }
.on-colour .label { color: rgba(17,17,17,.6); }

/* Quiz card (Poster block) */
.quizcard { background: var(--lime); color: var(--ink); padding: 30px 24px 26px; margin-top: 30px; }
.quizcard .display { font-size: 50px; margin-bottom: 12px; }
.quizcard p { color: rgba(17,17,17,.8); }
.quizcard .meta { font: 600 14px/1 Inter; margin: 18px 0 18px; color: var(--ink); }

/* Types */
.types { display: grid; gap: 14px; margin-top: 30px; }
.type { background: var(--tc); color: var(--ink); padding: 26px 24px 24px; min-height: 180px; display: flex; flex-direction: column; justify-content: space-between; }
.type .display { font-size: 40px; margin-bottom: 14px; }
.type q { font: 500 18px/1.35 Inter; quotes: "\201C" "\201D"; }
.type .go { font: 600 14px/1 Inter; margin-top: 18px; }
.type q { color: rgba(23,25,24,.8); }
/* Type colours (16 Nov): no type in lime, the button colour. Superseded: High Achiever forest charcoal, Giver putty, Independent Spirit sage, Life & Soul ivory */
.t-ha { --tc: var(--teal); } .t-gi { --tc: var(--ochre); } .t-is { --tc: var(--sage); } .t-ls { --tc: var(--clay); }

/* Quotes */
.quote { font-family: Archivo, sans-serif; font-stretch: 85%; font-weight: 500; font-size: 24px; line-height: 1.3; }
.quote cite { display: block; font: 600 15px/1.4 Inter; font-style: normal; margin-top: 16px; color: var(--lime); }
.on-colour .quote cite { color: var(--ink); }
.quote.sm { font-size: 20px; }

/* Facts */
.facts { list-style: none; border-top: 1px solid var(--line); }
.facts li { padding: 15px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 1fr; gap: 2px; }
.facts b { color: var(--lime); font-weight: 600; }
.on-colour .facts { border-color: rgba(17,17,17,.2); }
.on-colour .facts li { border-color: rgba(17,17,17,.2); }
.on-colour .facts b { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.chip { font: 600 14px/1 Inter; padding: 11px 15px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--white); }
.chip.on { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.on-colour .chip { border-color: rgba(17,17,17,.35); color: var(--ink); }
.note { border-left: 3px solid var(--lime); padding: 4px 0 4px 16px; color: var(--soft); font-size: 16px; }
.on-colour .note { border-color: var(--ink); color: rgba(17,17,17,.8); }

/* Form */
.form { display: grid; gap: 12px; margin-top: 24px; }
.field { background: rgba(255,255,255,.06); border: 1.5px solid var(--line); border-radius: 12px; padding: 17px 18px; font-size: 16px; color: var(--faint); }
.on-colour .field { background: rgba(255,255,255,.55); border-color: rgba(17,17,17,.25); color: rgba(17,17,17,.55); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14px; line-height: 1.45; color: var(--soft); margin-top: 4px; }
.check i { width: 22px; height: 22px; border: 1.5px solid var(--faint); border-radius: 5px; }
.on-colour .check { color: rgba(17,17,17,.8); }
.on-colour .check i { border-color: rgba(17,17,17,.5); }

/* Price */
.price { font-family: Archivo, sans-serif; font-weight: 900; font-stretch: 62%; font-size: 92px; line-height: .9; }
.was { font: 600 20px/1.3 Inter; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 54px 0 40px; background: var(--night); }
.footer .care { display: grid; gap: 22px; }
.footer h3 { color: var(--lime); }
.footer .lines { list-style: none; font-size: 15px; line-height: 1.6; color: var(--soft); }
.footer .lines li { padding: 6px 0; border-bottom: 1px solid var(--line); }
.footer .base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 13px; color: var(--faint); }
.footer .base img { height: 18px; }

/* Quiz screens */
.qwrap { min-height: 844px; display: flex; flex-direction: column; }
.progress { height: 4px; background: var(--line); margin: 6px 0 30px; }
.progress i { display: block; height: 100%; background: var(--lime); }
.answers { display: grid; gap: 12px; margin-top: 28px; }
.answer { border: 1.5px solid var(--line); border-radius: 16px; padding: 18px 20px; font-size: 17px; line-height: 1.45; background: rgba(255,255,255,.03); }
.answer.on { border-color: var(--lime); background: rgba(223,255,0,.08); }

@media (min-width: 900px) {
  :root { --gut: 48px; }
  body { font-size: 19px; }
  .nav .links { display: flex; }
  .burger { display: none; }
  .nav .wrap { height: 84px; }
  .nav img { height: 26px; }
  h1.display { font-size: 104px; }
  h2.display { font-size: 84px; margin-bottom: 30px; }
  .lead { font-size: 23px; }
  .sec { padding: 120px 0; }
  .sec.tight { padding: 80px 0; }
  .hero .photo { height: 900px; }
  .hero .photo::after { background: linear-gradient(90deg, var(--night) 0%, rgba(23,25,24,.86) 32%, rgba(23,25,24,0) 58%), linear-gradient(180deg, rgba(23,25,24,.5) 0%, rgba(23,25,24,0) 16%, rgba(23,25,24,0) 72%, var(--night) 100%); }
  .hero .words { padding-top: 220px; padding-bottom: 110px; max-width: 640px; margin-left: max(var(--gut), calc((100% - var(--max)) / 2 + var(--gut))); padding-left: 0; padding-right: 0; }
  .split { grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
  .split.flip .pic { order: 2; }
  .split .pic img { height: 640px; }
  .types { grid-template-columns: 1fr 1fr; gap: 18px; }
  .type { min-height: 230px; padding: 34px 32px 30px; }
  .type .display { font-size: 54px; }
  .quizcard { padding: 44px 40px 40px; }
  .quizcard .display { font-size: 72px; }
  .quote { font-size: 34px; }
  .quote.sm { font-size: 26px; }
  .btnrow { flex-direction: row; }
  .facts li { grid-template-columns: 240px 1fr; gap: 24px; }
  .facts li > span:only-child { grid-column: 1 / -1; }
  .footer .care { grid-template-columns: 1fr 1fr; gap: 60px; }
  .price { font-size: 140px; }
  .cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
  .cols2 > * + * { margin-top: 0; }
  .qwrap { min-height: 900px; }
}

/* Phone menu (clickable preview) */
button.burger { background: none; border: 0; padding: 0; cursor: pointer; }
.nav .menu { display: none; }
body.menu-open .nav { position: fixed; inset: 0; z-index: 50; background: var(--night); }
body.menu-open .nav .menu { display: flex; flex-direction: column; padding: 30px var(--gut); }
.nav .menu a { font-family: Archivo, sans-serif; font-weight: 900; font-stretch: 62%; text-transform: uppercase; font-size: 46px; line-height: 1.15; text-decoration: none; color: var(--white); padding: 8px 0; border-bottom: 1px solid var(--line); }
.nav .menu a.cta { color: var(--lime); border-bottom: 0; margin-top: 10px; }
body.menu-open .burger i:nth-child(2) { opacity: 0; }
body.menu-open .burger { justify-content: center; position: relative; }
body.menu-open .burger i:first-child { transform: translateY(2px) rotate(45deg); }
body.menu-open .burger i:last-child { transform: translateY(-2px) rotate(-45deg); }
a.type { text-decoration: none; color: var(--ink); }
.type.t-ha { color: var(--white); } .type.t-ha q { color: var(--soft); }
a.answer { text-decoration: none; color: inherit; display: block; }
.type, .answer { transition: transform .15s; }
a.type:hover, a.answer:hover { transform: translateY(-2px); }
@media (min-width: 900px) { .nav .menu, body.menu-open .nav .menu { display: none; } body.menu-open .nav { position: absolute; background: none; } }

/* Privacy and terms: his text, set for long reading */
.legal { padding: 64px 0 96px; }
.legal h1.display { font-size: 58px; margin-bottom: 14px; }
.legal .legal-meta { color: var(--faint); font-size: 15px; margin-top: 0; }
.legal h2.display { font-size: 34px; margin: 52px 0 16px; }
.legal h3 { margin-top: 30px; }
.legal p { color: var(--soft); margin-top: 14px; }
.legal p strong, .legal li strong { color: var(--white); }
.legal ul { list-style: none; margin-top: 14px; display: grid; gap: 10px; }
.legal li { color: var(--soft); padding-left: 22px; position: relative; }
.legal li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); }
.legal a.textlink { color: var(--white); }
@media (min-width: 900px) { .legal h1.display { font-size: 84px; } .legal h2.display { font-size: 42px; } }

/* Cookie banner: accept and reject carry the same weight */
.cookiebar { position: fixed; z-index: 20; left: 0; right: 0; bottom: 0; background: var(--charcoal); border-top: 1px solid var(--line); padding: 18px 0 20px; box-shadow: 0 -18px 40px rgba(0,0,0,.35); }
.cookiebar[hidden] { display: none; }
.cookiebar .wrap { display: grid; gap: 14px; }
.cookiebar p { font-size: 15px; line-height: 1.5; color: var(--soft); }
.cookiebar p a { color: var(--white); }
.cookiebtns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookiebtns .btn { padding: 15px 18px; font-size: 16px; cursor: pointer; border: 1.5px solid var(--lime); }
.cookiebtns .btn.ghost { border-color: var(--white); }
@media (min-width: 900px) {
  .cookiebar .wrap { grid-template-columns: 1fr auto; align-items: center; gap: 40px; }
  .cookiebtns { grid-template-columns: auto auto; }
  .cookiebtns .btn { min-width: 150px; }
}

/* ---- Design round, 16 Nov: his review notes ---- */
/* Type cards: image cards in a sideways carousel on phone and desktop, like his Tony Robbins example (Heni, 16 Nov). No type colours. */
.carousel { position: relative; }
.types.scroll { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
  margin: 30px calc(-1 * var(--gut)) 0; padding: 0 var(--gut) 6px; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.types.scroll::-webkit-scrollbar { display: none; }
.types.scroll .type { flex: 0 0 78%; scroll-snap-align: start; }
.type { position: relative; overflow: hidden; background: var(--night); color: var(--white); aspect-ratio: 3 / 4.3; min-height: 0; padding: 0;
  display: flex; flex-direction: column; justify-content: flex-end; text-align: center; }
.type img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.type::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,25,24,0) 35%, rgba(23,25,24,.88) 100%); }
.type .tw { position: relative; z-index: 2; padding: 0 22px 28px; }
.type .display { font-size: 40px; margin-bottom: 10px; color: var(--white); }
.type q, .type.t-ha q { color: var(--soft); }
.type .go { display: block; margin-top: 16px; color: var(--lime); }
a.type, .type.t-ha { color: var(--white); }
.swipe { margin-top: 12px; }
.carrows { display: none; }
@media (min-width: 900px) {
  .types.scroll { gap: 18px; margin: 30px 0 0; padding: 0 0 6px; scroll-padding: 0; }
  .types.scroll .type { flex: 0 0 calc((100% - 36px) / 3.25); }
  .type .display { font-size: 48px; }
  .swipe { display: none; }
  .carrows { display: flex; gap: 10px; justify-content: flex-end; margin-top: 30px; }
  .carrows + .types.scroll { margin-top: 16px; }
  .carr { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid currentColor; background: transparent; color: inherit; font-size: 20px; cursor: pointer; }
}

/* Quote cards: his favourite from the checkout. Quote marks, the words larger, the name as a small label */
.qcard { background: var(--charcoal); color: var(--white); border-radius: 0; padding: 32px 28px 28px; max-width: 760px; margin: 8px 0 0; }
.bg-charcoal .qcard { background: var(--night); }
.qcard blockquote { font-family: Archivo, sans-serif; font-stretch: 85%; font-weight: 500; font-size: 24px; line-height: 1.3; text-wrap: balance; }
.qcard figcaption { font: 600 12px/1.4 Inter, sans-serif; letter-spacing: 2.5px; text-transform: uppercase; color: var(--lime); margin-top: 18px; }
@media (min-width: 900px) { .qcard { padding: 46px 48px 40px; } .qcard blockquote { font-size: 32px; } }

/* Portraits full width on phones (his note on "Who I am") */
@media (max-width: 899px) {
  .sec:has(> .wrap.split > .pic) { padding-top: 0; }
  .split > .pic { order: -1; }
  .split .pic { margin: 0 calc(-1 * var(--gut)); }
  .split .pic img { height: auto; aspect-ratio: 4 / 5; }
  .split .pic .label { padding: 0 var(--gut); }
}

/* Bullets for text-heavy lists, like the privacy page he liked */
.bullets { list-style: none; display: grid; gap: 12px; margin-top: 16px; }
.bullets li { padding-left: 24px; position: relative; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }
.on-colour .bullets li::before { background: var(--ink); }
.bullets + h3 { margin-top: 30px; }
a.chip { text-decoration: none; }
/* Footer: a way to get in touch, and his social links */
.footer .touch { margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line); }
.footer .touch h3 { color: var(--lime); }
.footer .social { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.footer .social a { font: 600 14px/1 Inter, sans-serif; text-decoration: none; padding: 11px 16px; border: 1.5px solid var(--line); border-radius: 999px; color: var(--white); }

/* ---------------------------------------------------------------- Live site (17 Nov 2026)
   Real form fields, buttons and quiz answers, in the look of the design's mock-ups. */
input.field { width: 100%; font: inherit; font-size: 16px; color: var(--white); outline: none; }
input.field::placeholder { color: var(--faint); }
input.field:focus { border-color: var(--lime); }
.on-colour input.field { color: var(--ink); }
.on-colour input.field::placeholder { color: rgba(17,17,17,.55); }
.on-colour input.field:focus { border-color: var(--ink); }
.check { cursor: pointer; position: relative; }
.check input { position: absolute; opacity: 0; width: 22px; height: 22px; margin: 0; cursor: pointer; }
.check input:checked + i { background: var(--lime); border-color: var(--lime); box-shadow: inset 0 0 0 4px var(--night); }
.on-colour .check input:checked + i { background: var(--ink); border-color: var(--ink); box-shadow: inset 0 0 0 4px rgba(255,255,255,.7); }
.check input:focus-visible + i { outline: 2px solid var(--lime); outline-offset: 2px; }
button.btn { border: none; cursor: pointer; }
button.btn.ghost { border: 1.5px solid var(--white); }
button.btn:disabled { opacity: .6; cursor: default; }
button.answer { display: block; width: 100%; text-align: left; font: inherit; font-size: 17px; line-height: 1.45; color: inherit; cursor: pointer; }
button.answer:hover { transform: translateY(-2px); border-color: rgba(223,255,0,.5); }
.qtitle { font-size: 46px; }
.revealname { font-size: 96px; }
@media (max-width: 899px) { .qtitle { font-size: 28px; line-height: 1.08; } .revealname { font-size: 58px; } }
.linkbtn { background: none; border: none; padding: 0; font: inherit; color: inherit; cursor: pointer; }
.status { display: none; font-size: 15px; line-height: 1.45; }
.status.show { display: block; }
.status.error { color: #FFB4A2; }
.on-colour .status.error { color: #8A1C00; }
[hidden] { display: none !important; }
