/* ==========================================================================
   Barely A Bar — shared stylesheet
   Zero framework. Pure vanilla CSS (Grid + Flexbox).
   Organised with explicit cascade layers for deterministic ordering.
   ========================================================================== */

@layer base, components, utilities;

/* ==========================================================================
   @layer base — reset, tokens, fonts, typography, landmarks
   ========================================================================== */
@layer base {

  /* --- Self-hosted Nunito ---------------------------------------------------
     Weights in use: 400 (Regular) and 700 (Bold).
  -------------------------------------------------------------------------- */
  @font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/assets/fonts/nunito-400.woff2") format("woff2");
  }
  @font-face {
    font-family: "Nunito";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("/assets/fonts/nunito-700.woff2") format("woff2");
  }

  :root {
    /* Palette */
    --cream: #f5efe6;
    --cream-deep: #ece2d2;
    --amber: #e8a33d;
    --amber-soft: #f2c984;
    --charcoal: #2b2b2b;
    --plum: #7a3fa0;
    --plum-dark: #61317f;
    --white: #fffdf8;

    /* Type */
    --font-sans: "Nunito", "Segoe UI", system-ui, -apple-system,
      "Helvetica Neue", Arial, sans-serif;

    /* Geometry */
    --stroke: 3px;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow: 6px 6px 0 var(--charcoal);
    --shadow-sm: 4px 4px 0 var(--charcoal);

    /* Layout */
    --maxw: 1120px;
    --gap: clamp(1rem, 3vw, 2rem);
  }

  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }

  html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
  }

  body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: clamp(1rem, 0.95rem + 0.3vw, 1.125rem);
    line-height: 1.6;
    color: var(--charcoal);
    background-color: var(--cream);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }

  h1, h2, h3, h4 {
    line-height: 1.15;
    font-weight: 700;
    margin: 0 0 0.5em;
    letter-spacing: -0.01em;
  }
  h1 { font-size: clamp(2rem, 1.4rem + 3vw, 3.4rem); }
  h2 { font-size: clamp(1.6rem, 1.2rem + 2vw, 2.4rem); }
  h3 { font-size: clamp(1.2rem, 1rem + 1vw, 1.5rem); }

  p { margin: 0 0 1rem; }

  a {
    color: var(--plum);
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
  }
  a:hover { color: var(--plum-dark); }

  img { max-width: 100%; height: auto; display: block; }

  ul { margin: 0 0 1rem; padding-left: 1.2rem; }

  /* Visible, on-brand focus ring everywhere */
  :focus-visible {
    outline: 3px solid var(--plum);
    outline-offset: 2px;
    border-radius: 4px;
  }

  /* Reduced-motion respect */
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.001ms !important;
      transition-duration: 0.001ms !important;
    }
  }
}

/* ==========================================================================
   @layer components — nav, footer, cards, buttons, forms, hero, modal …
   ========================================================================== */
@layer components {

  /* --- Skip link --------------------------------------------------------- */
  .skip-link {
    position: absolute;
    left: 0.5rem;
    top: -3rem;
    z-index: 200;
    background: var(--plum);
    color: var(--white);
    padding: 0.6rem 1rem;
    border-radius: var(--radius);
    font-weight: 700;
    transition: top 0.15s ease;
  }
  .skip-link:focus { top: 0.5rem; color: var(--white); }

  /* --- Shell ------------------------------------------------------------- */
  .wrap {
    width: 100%;
    max-width: var(--maxw);
    margin-inline: auto;
    padding-inline: var(--gap);
  }

  .section { padding-block: clamp(2.5rem, 6vw, 5rem); }

  /* --- Header / nav ------------------------------------------------------ */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: var(--cream);
    border-bottom: var(--stroke) solid var(--charcoal);
  }
  .nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 64px;
  }
  .brand {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--charcoal);
    text-decoration: none;
    letter-spacing: -0.02em;
  }
  .brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }
  .brand-byline {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 0;
    color: #5e5c5a;
    white-space: nowrap;
  }
  .brand .brand-mark {
    width: 34px; height: 34px;
    flex: none;
    display: grid; place-items: center;
    background: var(--amber);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 50%;
  }
  .nav-links {
    display: flex;
    align-items: center;
    gap: clamp(0.75rem, 2vw, 1.6rem);
    list-style: none;
    margin: 0; padding: 0;
  }
  .nav-links a {
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 700;
    padding: 0.35rem 0.2rem;
    border-bottom: 3px solid transparent;
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] {
    border-bottom-color: var(--amber);
    color: var(--charcoal);
  }

  /* --- Buttons ----------------------------------------------------------- */
  .btn {
    --btn-bg: var(--amber);
    --btn-fg: var(--charcoal);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font: inherit;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    padding: 0.85rem 1.4rem;
    color: var(--btn-fg);
    background: var(--btn-bg);
    border: var(--stroke) solid var(--charcoal);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: transform 0.08s ease, box-shadow 0.08s ease;
  }
  .btn:hover { color: var(--btn-fg); transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--charcoal); }
  .btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--charcoal); }
  .btn--plum { --btn-bg: var(--plum); --btn-fg: var(--white); }
  .btn--ghost { --btn-bg: transparent; box-shadow: none; }
  .btn--lg { padding: 1rem 1.7rem; font-size: 1.1rem; }
  .btn--block { width: 100%; }

  /* --- Generic outlined card -------------------------------------------- */
  .card {
    background: var(--white);
    border: var(--stroke) solid var(--charcoal);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(1.25rem, 3vw, 1.75rem);
  }

  /* --- Footer ------------------------------------------------------------ */
  .site-footer {
    background: var(--charcoal);
    color: var(--cream);
    border-top: var(--stroke) solid var(--charcoal);
  }
  .site-footer a { color: var(--amber-soft); }
  .site-footer a:hover { color: var(--white); }
  .footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1.5fr 1fr 1fr;
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
  }
  .footer-grid h3 {
    color: var(--amber);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }
  .footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
  .footer-legal {
    border-top: 1px solid rgba(245, 239, 230, 0.2);
    padding-block: 1.25rem 2rem;
    font-size: 0.85rem;
    color: var(--cream-deep);
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.5rem;
    justify-content: space-between;
  }
  .footer-abn { font-weight: 700; color: var(--amber-soft); }
  .age-note {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
  }

  /* --- Eyebrow / pill ---------------------------------------------------- */
  .eyebrow {
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.78rem;
    color: var(--charcoal);
    background: var(--amber);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 999px;
    padding: 0.3rem 0.85rem;
    margin-bottom: 1rem;
  }

  /* ======================================================================
     HERO — pure-CSS bar scene + phone frame
     ====================================================================== */
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding-block: clamp(2rem, 5vw, 4rem);
  }
  .hero-copy { max-width: 34ch; }
  .hero-copy p.lead { font-size: 1.15rem; }
  .hero-cta { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 1.5rem; }

  /* Store download badge (CSS, no image) */
  .store-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--white);
    background: var(--charcoal);
    border: var(--stroke) solid var(--charcoal);
    border-radius: var(--radius);
    padding: 0.55rem 1rem;
    box-shadow: var(--shadow-sm);
    transition: transform 0.08s ease;
  }
  .store-badge:hover { color: var(--white); transform: translate(-1px, -1px); }
  .store-badge svg { width: 26px; height: 26px; flex: none; }
  .store-badge .store-badge-text { display: grid; line-height: 1.1; }
  .store-badge .store-badge-text small { font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.85; }
  .store-badge .store-badge-text strong { font-size: 1.05rem; }

  /* The illustrated bar scene */
  .bar-scene {
    position: relative;
    aspect-ratio: 4 / 5;
    border: var(--stroke) solid var(--charcoal);
    border-radius: var(--radius-lg);
    background: var(--cream-deep);
    overflow: hidden;
    box-shadow: var(--shadow);
  }
  /* Glowing circular backdrop */
  .bar-scene::before {
    content: none;
  }
  /* The smooth arch */
  .bar-scene .arch {
    position: absolute;
    left: 50%;
    top: 8%;
    transform: translateX(-50%);
    width: 62%;
    height: 74%;
    background: var(--amber);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 50% 50% 6px 6px / 38% 38% 6px 6px;
    z-index: 1;
  }
  /* Shelves with bottle silhouettes */
  .bar-scene .shelf {
    position: absolute;
    left: 8%;
    width: 38%;
    height: 0;
    border-bottom: var(--stroke) solid var(--charcoal);
    z-index: 2;
  }
  .bar-scene .shelf--1 { top: 30%; }
  .bar-scene .shelf--2 { top: 48%; }
  .bar-scene .bottle {
    position: absolute;
    bottom: 0;
    width: 7%;
    background: var(--charcoal);
    border-radius: 3px 3px 0 0;
    z-index: 2;
  }
  .bar-scene .bottle::before {
    content: "";
    position: absolute;
    left: 50%; top: -38%;
    transform: translateX(-50%);
    width: 34%; height: 40%;
    background: inherit;
    border-radius: 2px;
  }
  /* counter */
  .bar-scene .counter {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 16%;
    background: var(--charcoal);
    z-index: 3;
  }
  .bar-scene .counter::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -8px;
    height: 8px;
    background: var(--cream);
    border-top: var(--stroke) solid var(--charcoal);
  }

  /* Phone frame floating over the scene */
  .phone {
    position: absolute;
    right: 8%;
    bottom: 6%;
    width: 46%;
    aspect-ratio: 9 / 19;
    background: var(--charcoal);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 26px;
    padding: 8px;
    z-index: 4;
    box-shadow: var(--shadow);
  }
  .phone::before { /* speaker notch */
    content: "";
    position: absolute;
    top: 12px; left: 50%;
    transform: translateX(-50%);
    width: 28%; height: 5px;
    background: var(--cream);
    border-radius: 999px;
    z-index: 2;
  }
  .phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 18px;
    overflow: hidden;
    background: var(--cream);
    display: grid;
  }
  /* The <img> drop-slot scales responsively without breaking the frame */
  .phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  /* Placeholder shown until a real screenshot is dropped in */
  .phone-screen .screen-placeholder {
    display: grid;
    place-content: center;
    text-align: center;
    gap: 0.3rem;
    padding: 1rem;
    color: var(--charcoal);
    background:
      radial-gradient(circle at 50% 30%, var(--amber-soft), transparent 60%),
      var(--cream);
    font-weight: 700;
  }
  .phone-screen .screen-placeholder span { font-size: 0.7rem; font-weight: 700; opacity: 0.7; }

  /* ======================================================================
     ARCH CARD — newsletter "Weekly Specials"
     ====================================================================== */
  .arch-card {
    position: relative;
    max-width: 560px;
    margin-inline: auto;
    text-align: center;
    background: var(--amber);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 240px 240px var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1.5rem, 5vw, 3rem) clamp(2rem, 4vw, 2.5rem);
  }
  .arch-card h2 { margin-top: 0.5rem; }

  /* ======================================================================
     FORMS
     ====================================================================== */
  .form-grid { display: grid; gap: 1rem; text-align: left; }
  .field { display: grid; gap: 0.35rem; }
  .field label { font-weight: 700; font-size: 0.95rem; }
  .field input,
  .field textarea,
  .field select {
    font: inherit;
    color: var(--charcoal);
    background: var(--white);
    border: var(--stroke) solid var(--charcoal);
    border-radius: var(--radius);
    padding: 0.7rem 0.85rem;
  }
  .field textarea { min-height: 140px; resize: vertical; }
  .field input::placeholder,
  .field textarea::placeholder { color: #8a8378; }
  .field-inline {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.95rem;
  }
  .form-hint { font-size: 0.85rem; }
  .arch-card .form-hint a { color: var(--charcoal); text-decoration: underline; }

  /* ======================================================================
     SOCIAL GRID — "As Seen on Social"
     ====================================================================== */
  .social-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--gap);
  }
  .social-card {
    position: relative;
    display: block;
    border: var(--stroke) solid var(--charcoal);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    background: var(--cream-deep);
    aspect-ratio: 16 / 10;
    transition: transform 0.08s ease;
  }
  .social-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
  .social-card img { width: 100%; height: 100%; object-fit: cover; }
  .social-card .play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 58px; height: 58px;
    display: grid; place-items: center;
    background: var(--plum);
    color: var(--white);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
  }
  .social-card .play svg { width: 24px; height: 24px; }

  /* ======================================================================
     BLOG — filter bar + cards
     ====================================================================== */
  .filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 2rem;
  }
  .filter-btn {
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    padding: 0.55rem 1.05rem;
    color: var(--charcoal);
    background: var(--white);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.08s ease;
  }
  .filter-btn:hover { transform: translate(-1px, -1px); }
  .filter-btn[aria-pressed="true"] {
    background: var(--plum);
    color: var(--white);
  }
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--gap);
  }
  .blog-card { display: flex; flex-direction: column; gap: 0.75rem; }
  .blog-card[hidden] { display: none; }
  .blog-card .thumb {
    aspect-ratio: 16 / 9;
    border: var(--stroke) solid var(--charcoal);
    border-radius: var(--radius);
    background:
      radial-gradient(circle at 70% 30%, var(--amber-soft), transparent 60%),
      var(--cream-deep);
  }
  .tag {
    align-self: flex-start;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--charcoal);
    background: var(--amber);
    border: 2px solid var(--charcoal);
    border-radius: 999px;
    padding: 0.2rem 0.7rem;
  }
  .blog-card h2 { margin: 0; }
  .blog-card .excerpt { margin: 0; font-size: 0.95rem; }
  .blog-card .read-more { margin-top: auto; font-weight: 700; text-decoration: none; }
  .blog-card .read-more::after { content: " →"; }

  /* ======================================================================
     SHOP — product cards
     ====================================================================== */
  .shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--gap);
  }
  .product-card { display: flex; flex-direction: column; gap: 0.85rem; }
  .product-card .product-img {
    aspect-ratio: 1 / 1;
    border: var(--stroke) solid var(--charcoal);
    border-radius: var(--radius);
    background:
      radial-gradient(circle at 50% 40%, var(--amber-soft), transparent 65%),
      var(--cream-deep);
    display: grid;
    place-items: center;
  }
  .product-card .product-img img { width: 100%; height: 100%; object-fit: contain; }
  .product-card h2 { margin: 0; }
  .product-card .blurb { margin: 0; font-size: 0.95rem; }
  .product-card .price { font-weight: 700; }
  .product-card .btn { margin-top: auto; }

  /* ======================================================================
     LEGAL — long-form + anchor nav
     ====================================================================== */
  .legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
  .legal-nav {
    position: sticky; top: 84px;
    border: var(--stroke) solid var(--charcoal);
    border-radius: var(--radius-lg);
    background: var(--white);
    padding: 1.25rem;
  }
  .legal-nav h2 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.06em; }
  .legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
  .legal-nav a { text-decoration: none; font-weight: 700; }
  .legal-body > section { padding-block: 1rem 2rem; scroll-margin-top: 84px; }
  .legal-body h2 {
    border-bottom: var(--stroke) solid var(--charcoal);
    padding-bottom: 0.4rem;
  }
  .callout {
    border: var(--stroke) solid var(--charcoal);
    border-left-width: 10px;
    border-left-color: var(--plum);
    border-radius: var(--radius);
    background: var(--white);
    padding: 1.1rem 1.25rem;
    margin-block: 1rem;
  }
  .callout--age {
    border-left-color: var(--plum);
    background: #f6edfb;
    font-weight: 700;
  }

  /* ======================================================================
     PAGE HEADERS (shared little hero strip for inner pages)
     ====================================================================== */
  .page-head {
    text-align: center;
    padding-block: clamp(2rem, 5vw, 3.5rem) clamp(1rem, 3vw, 2rem);
  }
  .page-head p { max-width: 56ch; margin-inline: auto; }

  /* ======================================================================
     AGE GATE MODAL (index only)
     ====================================================================== */
  .age-gate {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    padding: var(--gap);
    background: rgba(43, 43, 43, 0.82);
    color: var(--charcoal);
    display: grid;
    place-items: center;
    z-index: 1000;
  }
  .age-gate[hidden] { display: none; }
  .age-gate::backdrop { background: rgba(43, 43, 43, 0.82); }
  .age-gate .age-card {
    max-width: 480px;
    text-align: center;
    background: var(--cream);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(2.5rem, 6vw, 3.25rem) clamp(1.5rem, 5vw, 2.5rem) clamp(1.75rem, 4vw, 2.25rem);
  }
  .age-gate .age-mark {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--charcoal);
    background: var(--amber);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 50%;
  }
  .age-gate h2 { margin-top: 0; }
  .age-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.5rem; }
  /* When the gate is open we lock scroll on the body */
  body.age-locked { overflow: hidden; }

  /* ======================================================================
     CONFIRM MODAL — shown after form submission (contact + index)
     ====================================================================== */
  .confirm-modal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    padding: var(--gap);
    background: rgba(43, 43, 43, 0.82);
    color: var(--charcoal);
    display: grid;
    place-items: center;
    z-index: 900;
  }
  .confirm-modal[hidden] { display: none; }
  .confirm-modal::backdrop { background: rgba(43, 43, 43, 0.82); }
  .confirm-modal .confirm-card {
    max-width: 480px;
    width: 100%;
    text-align: center;
    background: var(--cream);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 200px 200px var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow);
    padding: clamp(2.5rem, 6vw, 3.25rem) clamp(1.5rem, 5vw, 2.5rem) clamp(1.75rem, 4vw, 2.25rem);
  }
  .confirm-modal .confirm-icon {
    width: 64px; height: 64px;
    margin: 0 auto 1rem;
    display: grid; place-items: center;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--charcoal);
    background: var(--amber);
    border: var(--stroke) solid var(--charcoal);
    border-radius: 50%;
    line-height: 1;
  }
  .confirm-modal.is-error .confirm-icon { background: #f2c9c9; }
  .confirm-modal h2 { margin-top: 0; }
  .confirm-modal p { margin-bottom: 1.5rem; }
}

/* ==========================================================================
   @layer utilities — helpers + page namespaces (.pg-*)
   ========================================================================== */
@layer utilities {
  .visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0);
    white-space: nowrap; border: 0;
  }
  .text-center { text-align: center; }
  .mt-0 { margin-top: 0; }
  .mb-0 { margin-bottom: 0; }
  .stack > * + * { margin-top: 1rem; }
  .lead { font-size: 1.15rem; }

  /* --------------------------------------------------------------------
     Page namespaces — keep per-page layout tweaks from leaking across
     pages. Body carries one of: .pg-home .pg-blog .pg-shop .pg-contact
     .pg-legal
     -------------------------------------------------------------------- */
  .pg-contact .contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
  }

  .contact-reach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    align-items: start;
    margin-bottom: clamp(2.5rem, 6vw, 4rem);
  }

  .contact-partnerships-head {
    margin-bottom: clamp(1.5rem, 3vw, 2rem);
    padding-top: clamp(1.5rem, 4vw, 3rem);
    border-top: var(--stroke) solid var(--charcoal);
  }
  .contact-partnerships-head h2 { margin-bottom: 0.4rem; }
  .contact-partnerships-head p { margin: 0; }

  /* Social links list */
  .social-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
  }

  .social-link {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.75rem 1rem;
    border: var(--stroke) solid var(--charcoal);
    border-radius: var(--radius);
    background: var(--cream);
    color: var(--charcoal);
    text-decoration: none;
    font-weight: 700;
    transition: background 0.12s ease, transform 0.08s ease, box-shadow 0.08s ease;
    box-shadow: var(--shadow-sm);
  }
  .social-link:hover {
    background: var(--amber);
    color: var(--charcoal);
    transform: translate(-1px, -1px);
    box-shadow: 6px 6px 0 var(--charcoal);
  }

  .social-link__icon {
    flex: none;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    background: var(--charcoal);
    color: var(--cream);
    border-radius: 8px;
  }
  .social-link:hover .social-link__icon {
    background: var(--charcoal);
    color: var(--amber);
  }

  .social-link__meta {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    flex: 1;
  }
  .social-link__name { font-size: 1rem; }
  .social-link__handle { font-size: 0.8rem; font-weight: 400; color: #5e5c5a; }
  .social-link:hover .social-link__handle { color: var(--charcoal); }

  .social-link__arrow {
    font-size: 1.1rem;
    flex: none;
    color: var(--plum);
  }
  .social-link:hover .social-link__arrow { color: var(--charcoal); }

  /* ==========================================================================
     Responsive
     ========================================================================== */
  @media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; }
    .hero-copy { max-width: none; }
    .bar-scene { max-width: 460px; margin-inline: auto; }
    .legal-layout { grid-template-columns: 1fr; }
    .legal-nav { position: static; }
  }

  @media (max-width: 760px) {
    .pg-contact .contact-layout { grid-template-columns: 1fr; }
    .contact-reach-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
  }

  @media (max-width: 600px) {
    .nav { flex-wrap: wrap; min-height: 0; padding-block: 0.6rem; }
    .nav-links { gap: 0.9rem; font-size: 0.95rem; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-legal { flex-direction: column; }
  }
}
