/* ============================================================
   SpanishSecrets - landing page styles
   Design tokens sourced directly from
   brand/foundation/tokens/design-tokens.json - don't hand-edit a
   color here without checking that file first.
   ============================================================ */

/* ---- Self-hosted fonts, real files (not a CDN link) ----
   Both are variable fonts - one file per style covers the full
   weight axis, so font-weight is declared as a range, not repeated
   per weight. Files live in /fonts, referenced relative to this
   stylesheet's own location in /css.
   No italic @font-face here on purpose - fraunces-italic-variable.woff2
   was being downloaded on every page load (22.3KB) despite font-style:
   italic never being used anywhere on this page. Removed the rule and
   deleted the file rather than leave unused weight on every visit. */
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/fraunces-variable.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter-variable.woff2') format('woff2');
}

:root {
  --color-petrol: #123A47;        /* Deep Petrol - dark base, primary text on light */
  --color-teal: #1E7F8C;          /* Aegean Teal - primary accent (large/graphic use only, see note below) */
  --color-sea-glass: #A9D6C5;     /* Sea Glass - light accent, Reverse-mode icon */
  --color-terracotta: #C1622A;    /* Terracotta Clay - warm accent (large/graphic use only) */
  --color-terracotta-rev: #E0895A;/* Terracotta Clay, Reverse-mode text on dark */
  --color-linen: #FAF6EE;         /* Sunlit Linen - primary light background */
  --color-n900: #123A47;
  --color-n700: #32697B;
  --color-n500: #6296A7;          /* large/UI text only - 3.03:1 on Linen, below AA for body text */
  --color-n300: #B2C2C7;
  --color-n100: #E9ECED;
  --color-white: #FFFFFF;

  /* NOTE ON CONTRAST: Deep Petrol on Linen and White/Linen on Petrol are the
     two pairings tested and cleared for body-text use (Stage 11 WCAG audit).
     Teal, Terracotta, and Neutral-500 all fall between 3:1 and 4.5:1 against
     Linen - fine for large headings, icons, and buttons with solid fill, but
     never used here for small body copy or as the only signal on a link. */

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --space-1: 4px;  --space-2: 8px;  --space-3: 12px; --space-4: 16px;
  --space-5: 24px; --space-6: 32px; --space-7: 48px; --space-8: 64px; --space-9: 96px;

  --radius-sm: 4px; --radius-md: 8px; --radius-lg: 16px;

  /* Copied verbatim from design-tokens.json's shadow scale, not
     re-derived - warm-tinted from Deep Petrol rather than pure black,
     per that file's own note. Verified matching, not just similar. */
  --shadow-sm: 0 1px 2px rgba(18, 58, 71, 0.08);
  --shadow-md: 0 4px 12px rgba(18, 58, 71, 0.12);
  --shadow-lg: 0 8px 24px rgba(18, 58, 71, 0.16);

  --max-width: 1180px;
  --transition: 240ms ease;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-petrol);
  background: var(--color-linen);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, p, figure { margin: 0; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-petrol);
  line-height: 1.15;
  /* Sentence case throughout - matches the editorial voice rule (Stage 21),
     not Title Case marketing convention. Enforced in the copy itself. */
}
h1 { font-size: clamp(2.2rem, 5vw + 1rem, 3.8rem); font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.7rem, 3vw + 1rem, 2.5rem); }
h3 { font-size: clamp(1.15rem, 1.2vw + 1rem, 1.4rem); }
p  { font-size: clamp(1rem, 0.3vw + 0.95rem, 1.125rem); max-width: 62ch; }
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  /* Solid Neutral-700, not opacity-reduced Petrol. The opacity version
     measured 4.12:1 on Linen - under the 4.5:1 AA threshold for text this
     size/weight - because reducing opacity blends the color toward the
     background, an easy thing to miss since it looks identical to a
     properly-audited muted color at a glance. Neutral-700 is the token
     this project already tested and cleared for exactly this "muted
     secondary text" role (5.66:1). */
  color: var(--color-n700);
}
.lede { font-size: clamp(1.05rem, 0.4vw + 1rem, 1.3rem); color: var(--color-n700); max-width: 58ch; }

/* Links: underline is always present, not color-alone, so link identification
   doesn't depend on a contrast-borderline accent color (WCAG 1.4.1). */
.text-link {
  color: var(--color-petrol);
  text-decoration: underline;
  text-decoration-color: var(--color-terracotta);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  font-weight: 500;
}
.text-link:hover { text-decoration-color: var(--color-petrol); }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container { max-width: var(--max-width); margin-inline: auto; padding-inline: var(--space-5); }
@media (min-width: 768px) { .container { padding-inline: var(--space-7); } }

section { padding-block: var(--space-8); }
@media (min-width: 768px) { section { padding-block: var(--space-9); } }

/* Spacing/layout utilities - replace the inline style="margin-top:...",
   style="flex:1", etc. that had accumulated in index.html. Harmless at
   one page, but the kind of thing that multiplies awkwardly once a
   second page reuses this stylesheet, so closed out now rather than
   left for whoever adds that second page to untangle. */
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-5 { margin-top: var(--space-5); }
.flex-1 { flex: 1; }

.section-head { max-width: 44rem; margin-bottom: var(--space-7); }
.section-head h2 { margin-top: var(--space-2); }

/* ============================================================
   SKIP LINK (accessibility)
   ============================================================ */
.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  background: var(--color-petrol);
  color: var(--color-linen);
  padding: var(--space-3) var(--space-5);
  z-index: 100;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: var(--space-4);
  top: var(--space-4);
}

/* Visible focus state everywhere - never suppressed (WCAG 2.4.7) */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2.5px solid var(--color-terracotta);
  outline-offset: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.85em 1.6em;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary { background: var(--color-petrol); color: var(--color-linen); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: #0d2a33; box-shadow: var(--shadow-md); }
.btn-secondary { background: transparent; color: var(--color-petrol); border-color: var(--color-petrol); }
.btn-secondary:hover { background: var(--color-petrol); color: var(--color-linen); }
/* The one CTA on the dark Petrol band that needs to read as a light
   button rather than the default dark-on-dark .btn-primary. Declared
   after .btn-primary (and its :hover) on purpose - at equal (0,1,0)
   specificity, source order decides the tie, and .btn-primary sitting
   later used to win, leaving a dark button invisible on the dark band.
   Both the base rule and its own :hover are needed here, since
   .btn-primary:hover would otherwise still win the hover background. */
.btn-on-dark { background: var(--color-linen); color: var(--color-petrol); }
.btn-on-dark:hover { background: var(--color-linen); box-shadow: var(--shadow-md); }
.btn-cta-row { display: flex; flex-wrap: wrap; gap: var(--space-4); margin-top: var(--space-6); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-n300);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--space-3);
}
/* Real Horizontal lockup (brand guidelines specify this exact lockup for
   website-header use), not a hand-composed icon + live-text approximation. */
.logo-mark { display: flex; align-items: center; text-decoration: none; }
.logo-mark img { height: 42px; width: auto; flex-shrink: 0; }
/* Larger still at desktop widths, matching the point the nav switches out
   of its mobile/hamburger layout - mobile stays at 42px, already sized
   right for that viewport. */
@media (min-width: 1120px) { .logo-mark img { height: 52px; } }

.main-nav ul { display: none; gap: var(--space-5); align-items: center; }
/* :not(.btn) - the CTA link in this list is a filled button, not a plain nav
   link, and must not inherit this rule's petrol text color: at (0,1,1)
   specificity it would beat .btn-primary's (0,1,0) and leave dark text on a
   dark button (invisible). Scoping this selector away from .btn fixes it at
   the source instead of layering on a higher-specificity override.
   :not(.lang-switch) for the same reason - that link gets its own fully
   self-contained pill styling below, not this rule's underline-on-hover
   treatment, and excluding it here avoids a border-bottom specificity
   fight instead of needing to win one. white-space: nowrap because Spanish
   labels ("Para productores y socios") are meaningfully longer than their
   English equivalents - without it, a merely-tight fit wraps each link's
   own text across two lines instead of the row just being tight. */
.main-nav a:not(.btn):not(.lang-switch) {
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--color-petrol);
  padding-block: var(--space-2);
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: border-color var(--transition);
}
.main-nav a:not(.btn):not(.lang-switch):hover { border-color: var(--color-terracotta); }
/* Bordered pill, not a plain text link - both languages need this link to
   read as a control (toggle something), not another destination in the
   list. Text (EN/ES) rather than a flag icon on purpose: no flag assets
   exist in the brand system, and Spanish is spoken well beyond Spain
   (matches the Europe-wide diaspora segment locked in the decision log),
   so a single national flag would be a slightly wrong signal either way. */
.lang-switch {
  display: inline-flex;
  align-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-petrol);
  text-decoration: none;
  border: 1.5px solid var(--color-n300);
  border-radius: 999px;
  padding: 0.3em 0.9em;
  transition: border-color var(--transition), background-color var(--transition);
}
.lang-switch:hover { border-color: var(--color-petrol); background: var(--color-n100); }
/* Comfortably wider than the button/link breakpoints elsewhere on this
   page - at 860px, five items (3 nav links + the CTA button + the
   lang-switch pill) in Spanish don't fit on one line even with the
   tightened gap and font-size above; this is the width where they
   reliably do (verified against the actual rendered Spanish nav, not
   estimated from English). */
@media (min-width: 1120px) {
  .main-nav ul { display: flex; }
  .nav-toggle { display: none; }
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-2);
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--color-petrol); border-radius: 2px; transition: transform var(--transition), opacity var(--transition); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: var(--space-1);
  padding: var(--space-4) var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--color-n300);
}
.mobile-nav.is-open { display: flex; }
/* :not(.btn) - same reason as .main-nav a: this rule's color/border-bottom
   would otherwise beat .btn-primary's styling at equal-or-higher
   specificity, same bug already fixed once for the desktop nav. */
.mobile-nav a:not(.btn):not(.lang-switch) {
  padding: var(--space-3) 0;
  text-decoration: none;
  color: var(--color-petrol);
  font-weight: 500;
  border-bottom: 1px solid var(--color-n100);
}
.mobile-nav a.btn { margin-top: var(--space-2); align-self: flex-start; }
.mobile-nav .lang-switch { margin-top: var(--space-2); align-self: flex-start; }
@media (min-width: 1120px) { .mobile-nav, .nav-toggle { display: none !important; } }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding-block: var(--space-9); }
.hero .container { display: grid; gap: var(--space-8); }
@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
}
.hero-copy .eyebrow { margin-bottom: var(--space-4); }
.hero-copy h1 { margin-bottom: var(--space-5); }

/* Concept visual: an AI-generated concept image (olive-oil-press scene),
   standing in for real photography until that exists (Photography Style
   is still an open item - see brand/foundation docs). The gradient below
   is only a load-in fallback behind the img, not the visual itself. */
.hero-visual {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, var(--color-petrol) 0%, #1a4a58 55%, var(--color-teal) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.hero-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-visual .placeholder-label {
  position: absolute;
  bottom: var(--space-5);
  left: var(--space-5);
  right: var(--space-5);
  color: var(--color-linen);
  font-size: 0.8rem;
  opacity: 0.9;
  text-shadow: 0 1px 4px rgba(18, 58, 71, 0.7);
}

/* ============================================================
   STORY / BUILDING / PARTNERS - alternating band backgrounds
   ============================================================ */
.band-linen { background: var(--color-linen); }

/* Real tested brand pattern (Stage 18 "Subtle" colorway), not a reinvented
   texture - tiled at low opacity as a quiet backdrop, never competing with
   the copy on top of it. */
.band-white {
  background-color: var(--color-white);
  background-image: url('../assets/pattern-subtle.png');
  background-repeat: repeat;
  background-size: 260px auto;
  background-blend-mode: normal;
  border-top: 1px solid var(--color-n300);
  border-bottom: 1px solid var(--color-n300);
}
/* Larger tile at wide desktop widths - at 260px the pattern repeats
   enough times past ~1440px (more exposed margin outside .container's
   max-width, plus taller section padding) to read busier than the
   "quiet backdrop" it's meant to be. A bigger tile is strictly calmer
   at any width, so this only ever reduces repeat density, never
   increases it. */
@media (min-width: 1440px) { .band-white { background-size: 420px auto; } }
.band-white > .container {
  background: rgba(255, 255, 255, 0.86);
  border-radius: var(--radius-lg);
}
@media (min-width: 768px) { .band-white > .container { padding-block: var(--space-6); } }

.band-petrol { background: var(--color-petrol); color: var(--color-linen); }
.band-petrol h2, .band-petrol h3 { color: var(--color-linen); }
.band-petrol p { color: var(--color-n300); }
.band-petrol .eyebrow { color: var(--color-sea-glass); }

.two-col { display: grid; gap: var(--space-7); }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: var(--space-9); } }

/* Photo in the Our Story column, illustrating the copy directly (a maker
   handing a finished piece to the person sourcing it) rather than sitting
   as brand decoration. Placed below the heading and sized to fill the
   column's remaining height (this column is grid-stretched to match the
   taller copy column next to it at desktop widths), rather than sitting
   small at the top with empty space beneath it. justify-content:
   space-between does the filling; margin-top is a floor so there's still
   real breathing room on mobile, where the column is only as tall as its
   own content and space-between has nothing to distribute. */
.story-col { display: flex; flex-direction: column; justify-content: space-between; }
.story-figure { margin: 0; margin-top: var(--space-7); }
.story-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
/* Shared by the Our Story and newsletter photo captions - both are
   AI-generated concept images, not real photography yet (Photography
   Style is still an open item in the brand system), so both need the
   same disclosure the hero image already carries. */
.photo-caption { font-size: 0.8rem; color: var(--color-n700); margin-top: var(--space-2); }

.feature-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: 1fr;
}
@media (min-width: 620px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(4, 1fr); } }

.feature-card {
  background: var(--color-linen);
  border: 1px solid var(--color-n300);
  border-radius: var(--radius-md);
  padding: var(--space-6);
}
.band-petrol .feature-card {
  background: rgba(250, 246, 238, 0.04);
  border-color: rgba(178, 194, 199, 0.3);
}
.feature-card .icon-wrap {
  width: 40px; height: 40px;
  margin-bottom: var(--space-4);
}
.feature-card .icon-wrap svg { width: 100%; height: 100%; }
.feature-card h3 { margin-bottom: var(--space-2); }
.feature-card p { font-size: 0.95rem; }
.band-petrol .feature-card p { color: var(--color-n300); }

/* ============================================================
   NEWSLETTER
   ============================================================ */
/* Card is a row at desktop width (content left, logo right, filling what
   was previously empty space next to a narrower form) and a stacked
   column on mobile, where there's no spare width to fill. */
.newsletter-panel {
  background: var(--color-white);
  border: 1px solid var(--color-n300);
  border-radius: var(--radius-lg);
  padding: var(--space-7);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}
.newsletter-content { min-width: 0; }
@media (min-width: 768px) {
  .newsletter-panel { flex-direction: row; align-items: center; padding: var(--space-8); gap: var(--space-8); }
  .newsletter-content { flex: 1; }
}

/* Photo illustrating the card's own copy ("we'll write when there's
   something real to say, not before") rather than sitting as brand
   decoration - a quiet, patient image for a quiet, patient message. */
.newsletter-figure { margin: 0; width: 130px; align-self: center; }
.newsletter-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
@media (min-width: 768px) { .newsletter-figure { width: 220px; flex-shrink: 0; } }
.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-6);
  max-width: 32rem;
}
@media (min-width: 560px) { .form-row { flex-direction: row; } }

.field-label { font-size: 0.875rem; font-weight: 600; margin-bottom: var(--space-2); display: block; }
.field-hint { font-size: 0.8rem; color: var(--color-n700); margin-top: var(--space-2); }

input[type="email"], input[type="text"], textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85em 1em;
  border: 1.5px solid var(--color-n300);
  border-radius: var(--radius-md);
  background: var(--color-linen);
  color: var(--color-petrol);
  transition: border-color var(--transition);
}
input:focus, textarea:focus { border-color: var(--color-petrol); outline: none; }
textarea { min-height: 120px; resize: vertical; }

.form-status {
  margin-top: var(--space-4);
  font-size: 0.9rem;
  font-weight: 500;
  display: none;
}
.form-status.is-visible { display: block; }
/* Petrol, not Teal - Teal-on-Linen measures 4.36:1 at this text's size/weight,
   just under the 4.5:1 AA needs for normal body text (Stage 11 WCAG audit). */
.form-status.is-success { color: var(--color-petrol); font-weight: 600; }
/* Error text is Petrol too, same reason - Terracotta directly as text color
   measures 3.86:1 on Linen, below AA at this size. Terracotta is used here
   only as a background tint and border (non-text UI, 3:1 threshold, not
   4.5:1), which is where it's safe. The message content itself, not just
   the color, is what actually distinguishes error from success - color
   alone was never the only signal. */
.form-status.is-error {
  color: var(--color-petrol);
  font-weight: 600;
  padding: 10px 14px;
  background: rgba(193, 98, 42, 0.1);
  border: 1px solid var(--color-terracotta);
  border-radius: var(--radius-sm);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid { display: grid; gap: var(--space-8); }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 0.8fr 1.2fr; gap: var(--space-9); } }
.contact-detail { display: flex; align-items: flex-start; gap: var(--space-3); margin-top: var(--space-5); }
.contact-detail svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 3px; color: var(--color-teal); }
.field-group { margin-bottom: var(--space-5); }
@media (min-width: 560px) {
  .field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--color-petrol); color: var(--color-n300); padding-block: var(--space-8) var(--space-6); }
.footer-top {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgba(178, 194, 199, 0.25);
}
@media (min-width: 768px) { .footer-top { flex-direction: row; justify-content: space-between; } }
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--space-5); }
/* white-space: nowrap for the same reason as .main-nav a above - Spanish
   labels are long enough that a merely-tight row wraps each link's own
   text instead of the row wrapping as a whole (which flex-wrap already
   handles fine on its own if it ever comes to that). */
.footer-nav a { text-decoration: none; color: var(--color-n300); font-size: 0.9rem; white-space: nowrap; }
.footer-nav a:hover { color: var(--color-linen); }
.footer-brand p { margin-top: var(--space-3); font-size: 0.9rem; max-width: 32rem; color: var(--color-n300); }

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding-top: var(--space-6);
  font-size: 0.85rem;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
/* Not currently rendered (no real profile URLs to point at yet - see the
   HTML comment where these used to sit) but kept ready to use. Sized at
   44x44px, the minimum recommended touch target (WCAG 2.5.5 / platform
   guidance) - the earlier 36px version was genuinely too small. */
.social-links { display: flex; gap: var(--space-4); }
.social-links a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(178, 194, 199, 0.4);
  text-decoration: none;
  color: var(--color-n300);
  transition: border-color var(--transition), color var(--transition);
}
.social-links a:hover { border-color: var(--color-linen); color: var(--color-linen); }
.social-links svg { width: 18px; height: 18px; }

/* ============================================================
   SCROLL-REVEAL ANIMATION - subtle only, and fully inert for anyone
   who prefers reduced motion (handled by the JS + the media query above)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
