/*
Theme Name: Alfa Embroidery & Branding
Theme URI: https://www.alfaembroidery.com.au/
Author: Alfa Embroidery & Branding
Description: Custom theme for Alfa Embroidery & Branding — Knoxfield, Melbourne. Studio palette, Fraunces + Inter. Content editable via ACF.
Version: 1.0.15
Requires at least: 6.2
Requires PHP: 8.0
Text Domain: alfa
*/

/* ============================================
     Design tokens — Studio palette
     ============================================ */
  :root {
    /* Palette */
    --slate: #5A7A9A;
    --slate-soft: #E5EBF0;
    --orange: #C55A28;
    --orange-hover: #A94B21;
    --cream: #F4EFE6;
    --cream-warm: #FAF6EC;
    --cream-cool: #EFEAE0;
    --charcoal: #1F2933;
    --charcoal-soft: #3E4A55;
    --charcoal-muted: #6B7580;
    --line: rgba(31, 41, 51, 0.10);

    /* Type */
    --font-display: 'Fraunces', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fraunces-clean: 'WONK' 0, 'SOFT' 50;

    /* Layout */
    --page-max: 1240px;
    --page-pad: clamp(20px, 5vw, 48px);
    --section-y: clamp(64px, 8vw, 120px);
  }

  /* ============================================
     Reset + base
     ============================================ */
  *, *::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);
    font-size: 16px;
    line-height: 1.6;
    color: var(--charcoal);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  img, svg { max-width: 100%; height: auto; display: block; }
  a { color: inherit; text-decoration: none; }
  button { font: inherit; cursor: pointer; border: none; background: none; }
  input, select, textarea { font: inherit; color: inherit; }

  /* Typography helpers */
  h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-variation-settings: var(--fraunces-clean);
    font-feature-settings: 'dlig' 0;
    font-weight: 500;
    line-height: 1.15;
    letter-spacing: -0.015em;
    color: var(--charcoal);
  }
  h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); font-weight: 500; }
  h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); font-weight: 500; }
  h3 { font-size: clamp(1.15rem, 1.5vw, 1.3rem); font-weight: 500; letter-spacing: -0.01em; }

  .eyebrow {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 20px;
  }

  .lead { font-size: 1.075rem; color: var(--charcoal-soft); line-height: 1.6; }

  .signature-rule {
    width: 88px; height: 3px; background: var(--orange);
    border-radius: 2px; margin-top: 20px;
  }

  /* Utility container */
  .container {
    max-width: var(--page-max);
    margin: 0 auto;
    padding: 0 var(--page-pad);
  }

  section { padding-block: var(--section-y); }
  .section-warm { background: var(--cream-warm); }
  .section-cool { background: var(--cream-cool); }

  /* ============================================
     Header — sticky
     ============================================ */
  .site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: transparent;
    /* No divider while transparent over the hero — it otherwise shows as a faint
       line across the hero image. The line appears only once scrolled (below). */
    border-bottom: 1px solid transparent;
    transition: background 0.35s ease, backdrop-filter 0.35s ease, border-color 0.35s ease;
  }
  .site-header.scrolled {
    background: rgba(244, 239, 230, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-color: var(--line);
  }
  .header-inner {
    display: flex; align-items: center; gap: 32px;
    padding: 16px var(--page-pad);
    max-width: none; margin: 0;
  }
  .site-logo {
    flex: 0 0 auto; position: relative; display: block;
    height: 44px; width: 240px;
  }
  .site-logo img {
    position: absolute; top: 0; left: 0;
    height: 44px; width: auto; display: block;
    transition: opacity 0.35s ease;
  }
  .site-logo .logo-light { opacity: 1; }
  .site-logo .logo-dark { opacity: 0; }
  .site-header.scrolled .site-logo .logo-light { opacity: 0; }
  .site-header.scrolled .site-logo .logo-dark { opacity: 1; }
  .site-nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }
  .nav-links { display: flex; gap: 28px; list-style: none; }
  .nav-links a {
    font-size: 15px; font-weight: 500; color: var(--cream);
    padding: 6px 0; position: relative;
    transition: color 0.35s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  .site-header.scrolled .nav-links a {
    color: var(--charcoal);
    text-shadow: none;
  }
  .nav-links a:hover { color: var(--orange); }
  .nav-cta {
    background: var(--orange); color: var(--cream);
    padding: 10px 22px; border-radius: 6px; font-weight: 500; font-size: 15px;
    transition: background 0.2s;
  }
  .nav-cta:hover { background: var(--orange-hover); color: var(--cream); }
  .contact-quick {
    display: flex; flex-direction: column; align-items: flex-end; gap: 2px;
    font-size: 13px; line-height: 1.3;
  }
  .contact-quick a {
    color: rgba(244, 239, 230, 0.85);
    transition: color 0.35s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  }
  .contact-quick a:hover { color: var(--orange); }
  .contact-quick .phone { font-weight: 500; color: var(--cream); }
  .site-header.scrolled .contact-quick a {
    color: var(--charcoal-soft);
    text-shadow: none;
  }
  .site-header.scrolled .contact-quick .phone { color: var(--charcoal); }
  .hamburger { display: none; }

  @media (max-width: 960px) {
    .site-nav { display: none; }
    .site-nav.open { display: flex; }
    .site-nav {
      position: absolute; top: 100%; left: 0; right: 0;
      background: var(--cream); border-bottom: 1px solid var(--line);
      flex-direction: column; align-items: stretch; gap: 0;
      padding: 12px var(--page-pad) 20px;
    }
    .nav-links { flex-direction: column; gap: 0; }
    .nav-links li { border-bottom: 1px solid var(--line); }
    .nav-links a { display: block; padding: 14px 0; }
    .nav-cta { text-align: center; margin-top: 12px; }
    .contact-quick { align-items: flex-start; margin-top: 12px; }
    .hamburger {
      display: block; margin-left: auto;
      width: 32px; height: 32px; position: relative;
    }
    .hamburger span {
      position: absolute; left: 4px; right: 4px; height: 2px;
      background: var(--cream); border-radius: 1px;
      transition: transform 0.3s, background 0.35s ease;
      box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
    }
    .site-header.scrolled .hamburger span {
      background: var(--charcoal);
      box-shadow: none;
    }
    .hamburger span:nth-child(1) { top: 10px; }
    .hamburger span:nth-child(2) { top: 15px; }
    .hamburger span:nth-child(3) { top: 20px; }
    .hamburger.open span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
    .hamburger.open span:nth-child(2) { opacity: 0; }
    .hamburger.open span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }
  }

  /* ============================================
     Hero — full-bleed image, content below
     ============================================ */
  .hero-image-section {
    width: 100%;
    aspect-ratio: 1672 / 941; /* = the home hero image's own shape, so the whole
                                 image always shows (no top/bottom or side cropping),
                                 on every screen size including mobile. */
    overflow: hidden;
    padding: 0;
    background: #1E3A5F; /* matches hero image bg while loading */
    margin-top: 0;
  }
  .hero-image-section img {
    width: 100%; height: 100%;
    object-fit: cover; object-position: center;
    display: block;
  }
  .hero-content {
    text-align: center;
    padding-block: clamp(64px, 8vw, 110px);
    background: var(--cream);
  }
  .hero-content .container { max-width: 780px; }
  .hero-content .eyebrow { margin-bottom: 24px; color: var(--slate); }
  .hero-content h1 { margin-bottom: 24px; }
  .hero-content h1 em {
    font-style: italic;
    font-variation-settings: 'WONK' 0, 'SOFT' 100;
    color: var(--orange);
    font-weight: 500;
  }
  .hero-sub {
    font-size: 1.125rem; line-height: 1.65; color: var(--charcoal-soft);
    margin-bottom: 32px;
  }
  .hero-ctas {
    display: flex; gap: 20px; align-items: center; justify-content: center;
    flex-wrap: wrap; margin-bottom: 32px;
  }
  .btn-primary {
    display: inline-block; background: var(--orange); color: var(--cream);
    padding: 14px 28px; border-radius: 6px; font-weight: 500; font-size: 15px;
    transition: background 0.2s, transform 0.15s;
  }
  .btn-primary:hover { background: var(--orange-hover); transform: translateY(-1px); }
  .btn-link {
    color: var(--slate); font-weight: 500; font-size: 15px;
    padding: 14px 6px; position: relative;
    transition: color 0.2s, gap 0.2s;
    display: inline-flex; align-items: center; gap: 6px;
  }
  .btn-link:hover { color: var(--charcoal); gap: 10px; }
  .hero-trust {
    display: inline-flex; gap: 20px; align-items: center; justify-content: center;
    font-size: 13px; color: var(--charcoal-muted);
    padding-top: 24px; border-top: 1px solid var(--line);
    flex-wrap: wrap;
  }
  .hero-trust span { display: inline-flex; align-items: center; gap: 8px; }
  .hero-trust .dot { width: 4px; height: 4px; background: var(--orange); border-radius: 50%; }

  /* Home hero keeps its aspect-ratio on mobile too (set above), so the full
     image shows with no cropping — no per-breakpoint height override needed. */

  /* ============================================
     Section header pattern
     ============================================ */
  .section-header { text-align: center; margin-bottom: 56px; }
  .section-header h2 { margin-bottom: 12px; }
  .section-header .lead { max-width: 620px; margin: 0 auto; }
  .section-header .eyebrow { margin-bottom: 16px; }

  /* ============================================
     Testimonials
     ============================================ */
  .testimonials { background: var(--cream-warm); }
  .reviews-widget {
    max-width: 900px; margin: 0 auto;
    min-height: 200px;
  }
  .reviews-fallback {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px; margin-top: 20px;
  }
  .review-card {
    background: var(--cream); padding: 28px;
    border-radius: 10px; border: 1px solid var(--line);
  }
  .review-stars {
    color: var(--orange); font-size: 15px; letter-spacing: 2px; margin-bottom: 14px;
  }
  .review-body {
    font-family: var(--font-display);
    font-variation-settings: var(--fraunces-clean);
    font-size: 1.05rem; line-height: 1.5; color: var(--charcoal);
    margin-bottom: 16px;
  }
  .review-author { font-size: 13px; font-weight: 500; color: var(--charcoal-muted); }
  .testimonials-cta { text-align: center; margin-top: 48px; }

  /* ============================================
     Marquee carousels (Trusted By + Suppliers)
     ============================================ */
  .marquee-wrap {
    overflow: hidden;
    padding: 20px 0;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  }
  .marquee {
    display: flex; gap: 48px;
    animation: marquee 60s linear infinite;
    width: max-content;
  }
  .marquee:hover { animation-play-state: paused; }
  @keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
  }
  .brand-chip {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 28px; min-width: 180px; height: 72px;
    background: var(--cream); border: 1px solid var(--line); border-radius: 8px;
    font-family: var(--font-display);
    font-variation-settings: var(--fraunces-clean);
    font-weight: 500; font-size: 1.1rem; color: var(--charcoal);
    white-space: nowrap; flex-shrink: 0;
    transition: transform 0.2s, border-color 0.2s;
  }
  .brand-chip:hover { transform: translateY(-2px); border-color: var(--slate); }

  
  .marquee-clients { gap: 60px; align-items: center; }
  .client-logo {
    height: 44px;
    width: auto;
    max-width: 220px;
    object-fit: contain;
    opacity: 0.55;
    flex-shrink: 0;
    transition: opacity 0.25s ease, transform 0.2s ease;
  }
  .client-logo:hover { opacity: 1; transform: translateY(-2px); }
  @media (max-width: 780px) {
    .client-logo { height: 36px; max-width: 180px; }
    .marquee-clients { gap: 44px; }
  }

.marquee-logos { gap: 60px; align-items: center; }
  .supplier-logo {
    height: 44px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
    opacity: 0.55;
    flex-shrink: 0;
    transition: opacity 0.25s ease, transform 0.2s ease;
  }
  .marquee-logos:hover .supplier-logo { opacity: 0.55; }
  .supplier-logo:hover { opacity: 1; transform: translateY(-2px); }
  @media (max-width: 780px) {
    .supplier-logo { height: 36px; max-width: 160px; }
    .marquee-logos { gap: 44px; }
  }

  .trusted-by { background: var(--cream); }
  .suppliers { background: var(--cream-cool); }

  /* ============================================
     About preview
     ============================================ */
  .about-preview { background: var(--cream); }
  .about-grid {
    display: grid; grid-template-columns: 1fr 1.05fr;
    gap: 60px; align-items: center;
  }
  .about-image {
    border-radius: 12px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(31, 41, 51, 0.12);
  }
  .about-image img { width: 100%; height: 100%; object-fit: cover; }
  .trust-icons {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin: 32px 0 40px;
    padding: 24px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .trust-icon { text-align: left; }
  .trust-icon .icon {
    width: 32px; height: 32px; color: var(--orange); margin-bottom: 10px;
  }
  .trust-icon .label {
    font-family: var(--font-display); font-variation-settings: var(--fraunces-clean);
    font-size: 1rem; font-weight: 500; color: var(--charcoal); line-height: 1.3;
  }
  .about-copy p { margin-bottom: 16px; color: var(--charcoal-soft); }
  .about-copy p:last-child { margin-bottom: 0; }

  @media (max-width: 960px) {
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-image { order: -1; }
    .trust-icons { grid-template-columns: 1fr; gap: 16px; }
    .trust-icon { display: flex; align-items: center; gap: 14px; }
    .trust-icon .icon { margin-bottom: 0; flex: 0 0 auto; }
  }

  /* ============================================
     How It Works
     ============================================ */
  .how-it-works { background: var(--cream-warm); }
  .steps {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 20px; align-items: stretch;
    position: relative;
  }
  .step {
    background: var(--cream); padding: 32px 28px;
    border-radius: 10px; border: 1px solid var(--line);
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
  }
  .step:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(31, 41, 51, 0.08);
  }
  .step-num {
    font-family: var(--font-display); font-variation-settings: var(--fraunces-clean);
    font-size: 3rem; font-weight: 500; line-height: 1;
    color: var(--slate); opacity: 0.4;
    margin-bottom: 20px;
  }
  .step-title {
    font-family: var(--font-display); font-variation-settings: var(--fraunces-clean);
    font-size: 1.2rem; font-weight: 500; color: var(--charcoal);
    margin-bottom: 12px; letter-spacing: -0.01em; line-height: 1.25;
  }
  .step-desc { font-size: 0.95rem; color: var(--charcoal-soft); line-height: 1.6; }
  .step-arrow {
    position: absolute; top: 50%; right: -22px;
    width: 24px; height: 24px;
    transform: translateY(-50%);
    color: var(--orange); z-index: 1;
  }
  .step:last-child .step-arrow { display: none; }
  .how-cta { text-align: center; margin-top: 56px; }

  @media (max-width: 900px) {
    .steps { grid-template-columns: 1fr; gap: 16px; }
    .step-arrow {
      top: auto; right: auto; bottom: -18px; left: 50%;
      transform: translateX(-50%) rotate(90deg);
    }
  }

  /* ============================================
     Enquire form
     ============================================ */
  .enquire { background: var(--cream); }
  .enquire-wrap {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px;
    max-width: 1100px; margin: 0 auto;
  }
  .enquire-intro h2 { margin-bottom: 20px; }
  .enquire-intro .lead { margin-bottom: 32px; }
  .contact-facts { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
  .contact-fact { display: flex; gap: 14px; align-items: flex-start; }
  .contact-fact .icon {
    width: 20px; height: 20px; color: var(--orange); flex: 0 0 auto; margin-top: 2px;
  }
  .contact-fact .text { font-size: 0.95rem; color: var(--charcoal-soft); line-height: 1.5; }
  .contact-fact .text a { color: var(--charcoal); font-weight: 500; }

  .enquire-form {
    background: var(--cream-warm); padding: 40px;
    border-radius: 12px; border: 1px solid var(--line);
  }
  .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .field { display: flex; flex-direction: column; gap: 6px; }
  .field.full { grid-column: 1 / -1; }
  .field label {
    font-size: 13px; font-weight: 500; color: var(--charcoal);
  }
  .field label .req { color: var(--orange); margin-left: 2px; }
  .field input, .field select, .field textarea {
    padding: 12px 14px; border-radius: 6px;
    border: 1px solid var(--line);
    background: var(--cream);
    font-size: 15px; color: var(--charcoal);
    transition: border-color 0.15s, box-shadow 0.15s;
    font-family: var(--font-body);
  }
  .field input:focus, .field select:focus, .field textarea:focus {
    outline: none; border-color: var(--slate);
    box-shadow: 0 0 0 3px rgba(90, 122, 154, 0.15);
  }
  .field textarea { resize: vertical; min-height: 100px; font-family: var(--font-body); }
  .field select { appearance: none; -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231F2933' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 14px center;
    padding-right: 40px;
  }
  .field .hint { font-size: 12px; color: var(--charcoal-muted); margin-top: 2px; }
  .file-field {
    padding: 20px; border: 2px dashed var(--line); border-radius: 8px;
    background: var(--cream); text-align: center; cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
  }
  .file-field:hover { border-color: var(--slate); background: rgba(90, 122, 154, 0.03); }
  .file-field input[type="file"] { display: none; }
  .file-field .file-label {
    font-size: 14px; font-weight: 500; color: var(--slate);
    display: inline-flex; align-items: center; gap: 8px;
  }
  .file-field .file-hint { font-size: 12px; color: var(--charcoal-muted); margin-top: 6px; }
  .form-submit {
    background: var(--orange); color: var(--cream);
    padding: 16px 32px; border-radius: 6px; font-weight: 500; font-size: 15px;
    transition: background 0.2s, transform 0.15s;
    margin-top: 8px;
  }
  .form-submit:hover { background: var(--orange-hover); transform: translateY(-1px); }

  @media (max-width: 900px) {
    .enquire-wrap { grid-template-columns: 1fr; gap: 40px; }
    .form-grid { grid-template-columns: 1fr; }
    .enquire-form { padding: 28px 24px; }
  }

  /* ============================================
     FAQ
     ============================================ */
  .faq { background: var(--cream-warm); }
  .faq-list { max-width: 820px; margin: 0 auto; }
  .faq-item {
    border-bottom: 1px solid var(--line);
  }
  .faq-item:first-child { border-top: 1px solid var(--line); }
  .faq-item summary {
    padding: 24px 0; cursor: pointer;
    font-family: var(--font-display); font-variation-settings: var(--fraunces-clean);
    font-size: 1.2rem; font-weight: 500; color: var(--charcoal);
    letter-spacing: -0.01em; list-style: none;
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px;
    transition: color 0.2s;
  }
  .faq-item summary::-webkit-details-marker { display: none; }
  .faq-item summary:hover { color: var(--orange); }
  .faq-item summary::after {
    content: '+'; font-family: var(--font-body); font-size: 1.6rem;
    font-weight: 300; color: var(--slate); flex: 0 0 auto;
    transition: transform 0.2s;
  }
  .faq-item[open] summary::after { content: '−'; }
  .faq-answer { padding-bottom: 28px; color: var(--charcoal-soft); line-height: 1.65; }
  .faq-answer p { margin-bottom: 12px; }
  .faq-answer ul { list-style: none; padding: 0; margin: 12px 0; }
  .faq-answer ul li {
    padding: 6px 0; padding-left: 20px; position: relative;
  }
  .faq-answer ul li::before {
    content: ''; position: absolute; left: 0; top: 14px;
    width: 6px; height: 6px; background: var(--orange); border-radius: 50%;
  }
  .faq-more { text-align: center; margin-top: 48px; }

  /* ============================================
     Footer
     ============================================ */
  .site-footer {
    background: var(--charcoal); color: var(--cream);
    padding: 72px var(--page-pad) 32px;
  }
  .footer-inner { max-width: var(--page-max); margin: 0 auto; }
  .footer-grid {
    display: grid; grid-template-columns: 1.5fr 1fr 1.7fr;
    gap: 60px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(244, 239, 230, 0.15);
  }
  .footer-col--instagram .footer-ig-lead {
    font-size: 14px; color: rgba(244, 239, 230, 0.72);
    line-height: 1.6; max-width: 420px; margin-bottom: 22px;
  }
  .footer-col--instagram .footer-ig-lead a { color: var(--orange); }
  .footer-col--instagram .footer-ig-lead a:hover { text-decoration: underline; }
  .footer-col--instagram .elfsight-app-6b5ce231-f74f-4061-a22d-585e166eb5df { max-width: 100%; }
  .footer-brand img { height: 46px; width: auto; margin-bottom: 20px; filter: brightness(0) invert(1) opacity(0.9); }
  .footer-brand p { font-size: 14px; color: rgba(244, 239, 230, 0.75); line-height: 1.6; max-width: 320px; margin-bottom: 24px; }
  .footer-contact { font-size: 14px; line-height: 1.9; color: rgba(244, 239, 230, 0.75); }
  .footer-contact a { color: rgba(244, 239, 230, 0.9); }
  .footer-contact a:hover { color: var(--orange); }
  .footer-contact address { font-style: normal; }
  .footer-col h4 {
    font-family: var(--font-body); font-size: 13px; font-weight: 500;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--cream); margin-bottom: 20px;
  }
  .footer-links { list-style: none; }
  .footer-links li { margin-bottom: 12px; }
  .footer-links a { font-size: 15px; color: rgba(244, 239, 230, 0.75); transition: color 0.2s; }
  .footer-links a:hover { color: var(--orange); }
  .footer-bottom {
    padding-top: 32px;
    display: flex; justify-content: space-between; align-items: center;
    gap: 20px; flex-wrap: wrap;
  }
  .socials { display: flex; gap: 12px; }
  .socials a {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(244, 239, 230, 0.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--cream); transition: background 0.2s, transform 0.2s;
  }
  .socials a:hover { background: var(--orange); transform: translateY(-2px); }
  .socials svg { width: 18px; height: 18px; }
  .footer-fine {
    font-size: 13px; color: rgba(244, 239, 230, 0.55);
  }

  @media (max-width: 780px) {
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
  }

  /* ============================================
     Accessibility
     ============================================ */
  a:focus-visible, button:focus-visible, summary:focus-visible,
  input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--slate);
    outline-offset: 2px;
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
    .marquee { animation: none; }
    html { scroll-behavior: auto; }
  }

  /* Skip link for keyboard users */
  .skip-link {
    position: absolute; left: -9999px; z-index: 200;
    padding: 12px 20px; background: var(--charcoal); color: var(--cream);
    border-radius: 0 0 6px 0; font-weight: 500;
  }
  .skip-link:focus { left: 0; top: 0; }
