/* =========================================================
   ShagAStranger, UK casual hookups
   shagastranger.com  (dark charcoal + crimson, white chrome)
   ========================================================= */

:root {
  --bg-deep: #0a0809;
  --bg: #100c0e;
  --bg-elev: #181315;
  --bg-card: #1c1619;
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.17);

  --text: #f7f1f2;
  --text-soft: #d6cccd;
  --text-muted: #9c9092;
  --text-dim: #6c6164;

  /* crimson accent, matched to the "Shag" wordmark */
  --red: #d11f37;
  --red-soft: #ff556b;
  --red-deep: #9c1124;

  /* white chrome (header / footer) so the crimson + charcoal logo stays crisp */
  --chrome: #ffffff;
  --chrome-ink: #1b1c22;
  --chrome-muted: #5f5961;
  --chrome-line: rgba(0, 0, 0, 0.10);

  --grad-button: linear-gradient(135deg, #ff3b4e 0%, #c01225 100%);
  --grad-button-alt: linear-gradient(135deg, #c01225 0%, #6e0a16 100%);
  --grad-banner: linear-gradient(135deg, #ff4254 0%, #d11f37 50%, #9c1124 100%);

  --shadow-glow: 0 10px 40px -10px rgba(209, 31, 55, 0.55);

  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  --font-display: 'Sora', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 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(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--red-soft); }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--red); color: #fff; padding: 12px 18px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* Typography */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--text); }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); font-weight: 600; }
p { color: var(--text-soft); }
.lede { font-size: clamp(1.05rem, 1.7vw, 1.25rem); color: var(--text-soft); max-width: 60ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600; font-size: .95rem; letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--grad-button); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px -8px rgba(209, 31, 55, 0.7); color: #fff; }
.btn-secondary { background: var(--grad-button-alt); color: #fff; box-shadow: 0 10px 40px -10px rgba(209, 31, 55, 0.5); }
.btn-secondary:hover { transform: translateY(-2px); box-shadow: 0 14px 50px -8px rgba(209, 31, 55, 0.7); color: #fff; }
.btn-outline { background: rgba(255, 255, 255, 0.04); color: var(--text); border: 1px solid var(--border-strong); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--red); color: var(--text); }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* =========================================================
   Header  (white chrome)
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--chrome);
  border-bottom: 1px solid var(--chrome-line);
  box-shadow: 0 1px 0 rgba(209, 31, 55, 0.16), 0 4px 22px -10px rgba(0, 0, 0, 0.35);
}
.site-header .inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; }
.brand { display: flex; align-items: center; }
.brand-logo { display: block; height: 42px; width: auto; max-width: 100%; object-fit: contain; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.site-header .btn-outline { background: transparent; color: var(--chrome-ink); border: 1px solid rgba(0, 0, 0, 0.18); }
.site-header .btn-outline:hover { background: rgba(209, 31, 55, 0.06); border-color: var(--red); color: var(--red-deep); }
.menu-toggle {
  display: none; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(0, 0, 0, 0.04); border: 1px solid rgba(0, 0, 0, 0.12);
  color: var(--chrome-ink); font-size: 1.4rem; align-items: center; justify-content: center;
}
.mobile-nav {
  display: none; flex-direction: column;
  padding: 16px var(--gutter) 24px;
  background: var(--chrome); border-bottom: 1px solid var(--chrome-line);
  box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.3); gap: 8px;
}
.mobile-nav.active { display: flex; }
.mobile-nav .btn { width: 100%; }

/* =========================================================
   Hero  (dark photo + left scrim, white text)
   ========================================================= */
.hero { position: relative; padding: clamp(90px, 13vw, 170px) 0 clamp(96px, 15vw, 200px); overflow: hidden; background: var(--bg); }
.hero .container { position: relative; z-index: 2; }
.hero-image {
  background:
    linear-gradient(95deg, rgba(10,8,9,0.93) 0%, rgba(10,8,9,0.78) 38%, rgba(10,8,9,0.34) 66%, rgba(10,8,9,0.05) 100%),
    url('/images/hero-desktop.jpg?v=15') center center / cover no-repeat,
    var(--bg);
}
.hero-content { max-width: 640px; }
.hero-content .hero-heading {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4.3rem); line-height: 1.12; letter-spacing: -0.02em;
  color: #fff; margin-bottom: 22px; text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}
.hero-h1-red { color: var(--red-soft); }
.hero-content .lede { color: rgba(255, 255, 255, 0.94); margin-bottom: 34px; max-width: 54ch; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 16px 24px; font-size: .85rem; color: rgba(255, 255, 255, 0.9); font-weight: 500; }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.6); }
.hero-trust .tick {
  width: 18px; height: 18px; background: rgba(209, 31, 55, 0.9); border-radius: 50%;
  display: inline-grid; place-items: center; color: #fff; font-size: .7rem;
}

/* =========================================================
   Content section  (dark, long-form prose)
   ========================================================= */
.section { padding: clamp(64px, 9vw, 104px) 0; }
.prose { max-width: 760px; margin: 0 auto; }
.prose h1 { margin: 0 0 22px; font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.18; }
.prose h2 { margin: 44px 0 16px; font-size: clamp(1.5rem, 2.8vw, 2rem); color: var(--text); }
.prose h3 { margin: 32px 0 12px; font-size: 1.25rem; color: var(--text); }
.prose p { margin-bottom: 16px; font-size: 1.06rem; line-height: 1.85; color: var(--text-soft); }
.prose ul, .prose ol { padding-left: 24px; margin: 4px 0 20px; }
.prose li { margin-bottom: 10px; font-size: 1.06rem; line-height: 1.7; color: var(--text-soft); }
.prose li::marker { color: var(--red-soft); }
.prose a { color: var(--red-soft); }
.prose a:hover { text-decoration: underline; }
.prose strong { color: var(--text); }
.prose a.btn, .prose a.btn:hover { color: #fff; text-decoration: none; }

/* =========================================================
   Footer  (white chrome)
   ========================================================= */
.site-footer { background: var(--chrome); color: var(--chrome-ink); border-top: 3px solid var(--red); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .brand-logo-footer { width: 240px; height: auto; margin-bottom: 12px; }
.footer-brand p { font-size: .92rem; color: var(--chrome-muted); max-width: 34ch; }
.footer-col h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--chrome-muted); margin-bottom: 16px; font-weight: 700; font-family: var(--font-display); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--chrome-ink); font-size: .92rem; }
.footer-col a:hover { color: var(--red); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 14px;
  padding-top: 26px; border-top: 1px solid var(--chrome-line);
  font-size: .82rem; color: var(--chrome-muted);
}

/* =========================================================
   Cookie consent  (dark, TZ-triggered)
   ========================================================= */
.ad-cookie-consent {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 100;
  background: rgba(16, 12, 14, 0.95);
  -webkit-backdrop-filter: blur(20px) saturate(140%); backdrop-filter: blur(20px) saturate(140%);
  border-top: 1px solid var(--border-strong);
  padding: 16px 0;
  transform: translateY(120%); transition: transform .5s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
}
.ad-cookie-consent.ad-visible { transform: translateY(0); }
.ad-cookie-wrapper { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.ad-cookie-text { font-size: .92rem; color: var(--text-soft); flex: 1; }
.ad-cookie-text a { color: var(--red-soft); text-decoration: underline; text-underline-offset: 2px; }
.ad-cookie-text a:hover { color: var(--red); }
.ad-cookie-emoji { display: inline-block; margin-right: 6px; font-size: 1.1rem; }
.ad-btn-cookie {
  display: inline-flex; align-items: center; padding: 12px 26px; border-radius: var(--radius-pill);
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  background: var(--grad-button); color: #fff; border: none; flex-shrink: 0;
  transition: transform .2s ease, box-shadow .2s ease; box-shadow: var(--shadow-glow);
}
.ad-btn-cookie:hover { transform: translateY(-1px); box-shadow: 0 12px 40px -6px rgba(209, 31, 55, 0.7); }

/* Reveal animation */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 768px) {
  .header-cta .btn-outline { display: none; }
  .menu-toggle { display: flex; }
  .header-cta .btn { padding: 10px 18px; font-size: .88rem; }
  .brand-logo { height: 34px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  /* Mobile hero: portrait photo anchored top, text overlays the darkened lower area */
  .hero-image {
    padding: clamp(300px, 72vw, 440px) 0 clamp(44px, 7vw, 72px);
    background:
      linear-gradient(180deg, rgba(10,8,9,0.12) 0%, rgba(10,8,9,0.55) 56%, rgba(10,8,9,0.94) 100%),
      url('/images/hero-mobile.jpg?v=15') center top / cover no-repeat,
      var(--bg);
  }
  .hero-content { max-width: 100%; text-align: center; }
  .hero-content .lede { margin-left: auto; margin-right: auto; }
  .hero-ctas { justify-content: center; }
  .hero-trust { justify-content: center; }
}
@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
