:root {
  /* ToyboyDates: warm LIGHT theme. Charcoal ink + bold WINE accent (matches the
     black serif "ToyboyDates" logo + warm taupe studio hero of a confident woman).
     Bold and grown-up, deliberately NOT feminine (no pink / pastel). */
  --ink: #211d1c;        /* near-black warm charcoal, headings + dark chrome */
  --ink-soft: #37302e;   /* softer charcoal */
  --body: #4a423f;       /* warm grey body text */
  --muted: #8a807a;

  --wine: #9c2542;       /* bold wine/burgundy, primary accent / CTA */
  --wine-deep: #7d1a33;  /* deep wine, hover */
  --wine-bright: #c65069;/* lighter wine, hero accent / links on dark */

  --bg: #ffffff;
  --bg-soft: #f8f3ef;    /* warm ivory / taupe tint (echoes the hero wall) */
  --bg-warm: #efe5dd;    /* deeper taupe */
  --line: #eadfd6;

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --head: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--body);
  line-height: 1.75;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 8px; top: 8px; z-index: 999; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.16; color: var(--ink); letter-spacing: 0; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); }
p { color: var(--body); }
.wine, i.wine { color: var(--wine); font-style: normal; }
.red, i.red { color: var(--wine); font-style: italic; }

.eyebrow {
  display: inline-block; font-family: var(--sans);
  font-size: .78rem; font-weight: 700; letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--wine); margin-bottom: 14px;
}
.eyebrow.light { color: var(--wine-bright); }
.rule { width: 64px; height: 2px; background: var(--wine); margin: 0 0 22px; opacity: .9; }
.rule.center { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; white-space: nowrap;
  font-family: var(--sans); font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  padding: 14px 32px; border: 2px solid transparent; border-radius: 4px;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.btn-join {
  background: var(--wine); color: #fff;
  box-shadow: 0 10px 24px -10px rgba(156, 37, 66, 0.6);
}
.btn-join:hover { background: var(--wine-deep); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(156, 37, 66, 0.7); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.75); }
.btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn-lg { padding: 16px 40px; font-size: 1.04rem; }

/* Header */
.site-header {
  position: relative; z-index: 40; background: #ffffff;
  border-bottom: 1px solid var(--line); box-shadow: 0 2px 16px -10px rgba(33, 29, 28, 0.3);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px var(--gutter); }
.brand img { width: clamp(180px, 24vw, 300px); height: auto; max-width: 100%; }
.header-right { display: flex; align-items: center; gap: clamp(10px, 1.8vw, 20px); }

/* Category nav */
.cat-nav { background: var(--ink); border-top: 1px solid rgba(255,255,255,0.06); }
.cat-nav .container { display: flex; flex-wrap: wrap; gap: 6px 30px; align-items: center; justify-content: center; padding-top: 12px; padding-bottom: 12px; }
.cat-nav a {
  font-family: var(--sans); font-size: .9rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,0.82); padding: 4px 2px; border-bottom: 2px solid transparent;
}
.cat-nav a:hover { color: #fff; border-bottom-color: var(--wine-bright); }
.cat-nav a.active { color: #fff; border-bottom-color: var(--wine-bright); }

.geo-select { position: relative; display: inline-flex; align-items: center; }
.geo-select .geo-current {
  font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--ink-soft);
  padding: 8px 30px 8px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--bg-soft);
  white-space: nowrap; position: relative;
}
.geo-select .geo-current::after {
  content: ''; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px;
  border-right: 2px solid var(--wine); border-bottom: 2px solid var(--wine);
  transform: translateY(-70%) rotate(45deg);
}
.geo-select .country-select {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0; cursor: pointer; font: inherit;
}
.login-link { font-family: var(--sans); font-size: .92rem; font-weight: 600; color: var(--ink); }
.login-link:hover { color: var(--wine); }
.header-right .btn { padding: 11px 24px; font-size: .9rem; }

/* Hero (confident portrait on the right, charcoal scrim on the left for white text) */
.hero {
  position: relative; display: flex; align-items: center;
  min-height: min(74vh, 640px); padding: clamp(48px, 8vw, 96px) 0;
  background:
    linear-gradient(95deg, rgba(24,20,19,0.92) 0%, rgba(33,29,28,0.78) 38%, rgba(33,29,28,0.30) 62%, rgba(33,29,28,0) 100%),
    url('/images/hero-desktop.jpg?v=3') right center / cover no-repeat,
    var(--ink);
}
.hero .container { width: 100%; }
.hero-inner { max-width: 620px; }
.hero .hero-heading {
  font-family: var(--head); font-weight: 700; line-height: 1.1; letter-spacing: 0;
  color: #fff; font-size: clamp(2.4rem, 5.4vw, 4rem); margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
}
.hero .hero-heading .accent, .hero .hero-heading .gold, .hero .hero-heading .wine { color: var(--wine-bright); font-style: normal; }
.hero-sub { color: rgba(255,255,255,0.95); font-size: 1.22rem; margin-bottom: 30px; max-width: 48ch; text-shadow: 0 1px 12px rgba(0,0,0,0.45); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; }

/* Trust bar */
.trustbar { background: var(--ink); color: #fff; padding: 16px 0; }
.trustbar ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 38px; }
.trustbar li { font-family: var(--sans); font-size: .96rem; font-weight: 500; color: rgba(255,255,255,0.9); display: inline-flex; align-items: center; gap: 9px; }
.trustbar .t-ico { color: var(--wine-bright); font-weight: 700; }

/* Feature trio */
.features { padding: clamp(44px, 7vw, 78px) 0; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 32px 28px; box-shadow: 0 16px 44px -30px rgba(33,29,28,0.45); }
.feature-ico {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 10px; margin-bottom: 16px;
  background: var(--wine); color: #fff;
}
.feature-card h3 { font-size: 1.3rem; color: var(--ink); margin-bottom: 8px; }
.feature-card p { font-size: 1rem; line-height: 1.7; color: var(--body); margin: 0; }

/* Editorial / story long-form */
.story, .editorial { padding: clamp(56px, 8vw, 100px) 0 clamp(30px, 5vw, 54px); background: var(--bg); }
.story .container, .editorial .container { max-width: 900px; }
.story-intro { max-width: 800px; margin: 0 auto; text-align: center; }
.story-intro h1 { color: var(--ink); margin-bottom: 20px; }
.story-intro p { font-size: 1.16rem; line-height: 1.9; color: var(--body); margin-bottom: 16px; }
.story-intro p.lead { font-size: 1.24rem; color: var(--ink-soft); font-weight: 500; }
.story-intro p:last-child { margin-bottom: 0; }
.story-block { max-width: 780px; margin: 0 auto; }
.story-block p { font-size: 1.12rem; line-height: 1.95; color: var(--body); margin-bottom: 18px; }
.story-block p:last-child { margin-bottom: 0; }
.story-intro + .story-block, .story-block + .story-block { margin-top: clamp(30px, 4vw, 46px); }

.editorial .prose-block { max-width: 800px; margin: 0 auto; padding: clamp(22px, 3vw, 30px) 0; }
.editorial .prose-block + .prose-block { border-top: 1px solid var(--line); }
.editorial .prose-block h1 { margin-bottom: 16px; }
.editorial .prose-block h2, .editorial .prose-block h3 { margin-bottom: 14px; }
.editorial .prose-block p { font-size: 1.12rem; line-height: 1.95; color: var(--body); }
.editorial .prose-block.alt { background: var(--bg-soft); border-radius: 8px; padding: clamp(24px, 3vw, 34px) clamp(22px, 3vw, 34px); border: 1px solid var(--line); margin-top: clamp(20px,3vw,30px); margin-bottom: clamp(20px,3vw,30px); }
.editorial .prose-block.alt + .prose-block { border-top: none; }

.story-cta {
  font-family: var(--head); font-style: italic; font-size: 1.2rem; line-height: 1.6; color: var(--ink);
  margin: 26px 0 0; padding: 20px 26px;
  background: var(--bg-soft); border-left: 4px solid var(--wine); border-radius: 0 8px 8px 0;
}

/* CTA band */
.cta-band {
  text-align: center; padding: clamp(56px, 8vw, 100px) 0;
  background: var(--ink); color: #fff;
}
.cta-band .eyebrow { color: var(--wine-bright); }
.cta-band h2 { color: #fff; margin-bottom: 14px; }
.cta-band p { color: rgba(255,255,255,0.86); max-width: 50ch; margin: 0 auto 28px; font-size: 1.12rem; }
.cta-band .btn-join { background: var(--wine); color: #fff; border-color: var(--wine); }
.cta-band .btn-join:hover { background: var(--wine-deep); color: #fff; transform: translateY(-2px); }

/* Footer */
.site-footer { background: var(--ink); color: #fff; padding: 50px 0 34px; text-align: center; }
.footer-logo { display: inline-block; background: #fff; padding: 14px 22px; border-radius: 8px; margin-bottom: 22px; }
.footer-logo img { width: clamp(190px, 26vw, 260px); height: auto; max-width: 100%; display: block; }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 14px; }
.footer-nav a { font-family: var(--sans); font-size: .92rem; font-weight: 600; color: rgba(255,255,255,0.9); }
.footer-nav a:hover { color: var(--wine-bright); }
.footer-regions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 24px; margin-bottom: 22px; }
.footer-regions a { font-family: var(--sans); font-size: .92rem; font-weight: 500; color: rgba(255,255,255,0.82); }
.footer-regions a:hover { color: var(--wine-bright); }
.footer-disclaimer { max-width: 740px; margin: 0 auto 24px; font-size: .84rem; line-height: 1.7; color: rgba(255,255,255,0.6); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 26px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,0.14); border-bottom: 1px solid rgba(255,255,255,0.14); }
.footer-links a { color: rgba(255,255,255,0.78); text-decoration: underline; font-size: .9rem; }
.footer-links a:hover { color: var(--wine-bright); }
.footer-copy { margin-top: 18px; font-size: .84rem; color: rgba(255,255,255,0.5); }

/* Cookie consent */
.cookie {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--ink); color: #fff; padding: 16px var(--gutter);
  transform: translateY(120%); transition: transform .4s ease;
}
.cookie.show { transform: translateY(0); }
.cookie-inner { max-width: var(--maxw); margin: 0 auto; display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.cookie p { font-size: .95rem; color: rgba(255,255,255,0.9); margin: 0; flex: 1; min-width: 240px; }
.cookie a { color: var(--wine-bright); text-decoration: underline; }
.cookie .btn { padding: 11px 26px; background: var(--wine); color: #fff; border-color: var(--wine); }
.cookie .btn:hover { background: var(--wine-deep); color: #fff; }

/* Reveal-on-scroll: visible by default; only hidden/animated when JS is active. */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: translateY(0); }

/* Hamburger (mobile only) + slide-in menu drawer */
.menu-toggle { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 40px; padding: 0 10px; border-radius: 8px; background: var(--ink); }
.menu-toggle span { display: block; height: 2.5px; width: 100%; background: #fff; border-radius: 2px; transition: transform .25s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.menu-overlay { position: fixed; inset: 0; background: rgba(20,18,17,0.55); z-index: 60; opacity: 0; transition: opacity .25s ease; }
.menu-overlay.show { opacity: 1; }
.site-menu { position: fixed; top: 0; right: 0; height: 100%; width: min(330px, 87vw); background: #fff; z-index: 70; box-shadow: -10px 0 44px -14px rgba(20,18,17,0.5); transform: translateX(100%); transition: transform .28s ease; overflow-y: auto; display: flex; flex-direction: column; padding-bottom: 28px; }
.site-menu.open { transform: translateX(0); }
.site-menu-top { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; background: #fff; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.site-menu-title { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink); font-size: .95rem; }
.menu-close { font-size: 2rem; line-height: 1; color: var(--ink); padding: 0 4px; }
.menu-close:hover { color: var(--wine); }
.site-menu-links { display: flex; flex-direction: column; padding: 6px 0; }
.site-menu-links a { font-family: var(--head); font-weight: 600; font-size: 1.05rem; color: var(--ink); padding: 13px 22px; border-left: 3px solid transparent; }
.site-menu-links a:hover { background: var(--bg-soft); border-left-color: var(--wine); color: var(--wine); }
.site-menu-links a.active { border-left-color: var(--wine); color: var(--wine); }
.site-menu-sub { display: block; font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: .72rem; color: var(--muted); padding: 18px 22px 8px; }
.site-menu-geo { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 22px 6px; }
.site-menu-geo a { font-family: var(--sans); font-size: .85rem; font-weight: 600; color: var(--ink); padding: 6px 13px; border: 1.5px solid var(--line); border-radius: 20px; }
.site-menu-geo a.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.site-menu-cta { display: flex; flex-direction: column; gap: 10px; padding: 16px 22px 0; margin-top: 10px; border-top: 1px solid var(--line); }
.site-menu-cta .login-link { padding: 6px 0; }
.site-menu-cta .btn-join { text-align: center; }
body.menu-open { overflow: hidden; }

/* Below 760px: geo picker, login, and category bar collapse into the hamburger */
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; }
  .header-right > .geo-select,
  .header-right > .login-link { display: none; }
  .cat-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 900px) {
  .features-grid { grid-template-columns: 1fr; gap: 16px; max-width: 560px; margin: 0 auto; }
}
@media (max-width: 860px) {
  .hero { display: block; min-height: 0; padding: 0; background: var(--ink); }
  .hero::before {
    content: ''; display: block; width: 100%; aspect-ratio: 767 / 710;
    background: url('/images/hero-mobile.jpg?v=3') center top / cover no-repeat;
  }
  .hero .container { padding-top: 30px; padding-bottom: 38px; }
  .hero-inner { max-width: 100%; }
  .hero .hero-heading { font-size: clamp(2rem, 8.5vw, 2.8rem); margin-bottom: 14px; }
  .hero-sub { font-size: 1.08rem; margin-bottom: 22px; }
  .hero-ctas { gap: 10px; }
  .hero-ctas .btn { flex: 1; padding: 14px 12px; font-size: .92rem; }
  .header-right { gap: 12px; }
  .brand img { width: clamp(150px, 44vw, 200px); }
  .header-right .btn { padding: 10px 16px; font-size: .84rem; }
  .login-link { font-size: .86rem; }
  .geo-select .geo-current { font-size: .82rem; padding: 7px 26px 7px 11px; }
  .cat-nav .container { gap: 4px 20px; }
  .cat-nav a { font-size: .8rem; }
}
@media (max-width: 560px) {
  .geo-select .geo-current { max-width: 108px; overflow: hidden; text-overflow: ellipsis; }
}
@media (max-width: 400px) {
  .brand img { width: 150px; }
  .header-right { gap: 8px; }
  .header-right .btn { padding: 9px 13px; font-size: .78rem; }
  .login-link { font-size: .8rem; }
}
