/*
 Theme Name:   FEWSET — GeneratePress Child
 Theme URI:    https://example.com
 Description:  FEWSET "Aura Luxe Minimalist" design system for GeneratePress.
               Implements "The Silent Monolith" aesthetic with monochrome
               structuralism, Outfit + Poppins typography, and 0px sharpness.
               Forked from the KiviShop Quiet Luxe theme v7.46.0.
 Author:       Studio
 Template:     generatepress
 Version: 1.0.0
 Text Domain:  fewset
*/


/* ==========================================================================
   1. DESIGN TOKENS — FEWSET Monochrome Structuralism
   ========================================================================== */

:root {
  /* ---- Primary (The Monolith) ---- */
  --primary:                 #1A1A1A;
  --primary-hover:           #000000;
  --on-primary:              #FFFFFF;

  /* ---- Surface / Background Hierarchy ---- */
  --background:              #FFFFFF;
  --surface:                 #FFFFFF;
  --surface-dim:             #F0F0ED;
  --surface-container-lowest:#FFFFFF;
  --surface-container-low:   #FFFFFF;
  --surface-container:       #EDEDEA;
  --surface-container-high:  #E8E8E4;
  --surface-container-highest:#E3E3DE;
  --on-surface:              #1A1A1A;
  --on-surface-variant:      #555555;

  /* ---- Outline / Structure ---- */
  --outline:                 #1A1A1A;
  --outline-subtle:          rgba(211, 196, 181, 0.20);

  /* ---- Neutral Scale ---- */
  --neutral-50:              #FAFAFA;
  --neutral-100:             #F4F4EF;
  --neutral-200:             #E3E3DE;
  --neutral-300:             #CCCCCC;
  --neutral-400:             #999999;
  --neutral-500:             #777777;
  --neutral-600:             #555555;
  --neutral-700:             #3D3D3D;
  --neutral-800:             #2A2A2A;
  --neutral-900:             #1A1A1A;

  /* ---- Feedback (muted) ---- */
  --error:                   #9b3b3b;
  --success:                 #4a6741;
  --info:                    #4a6178;

  /* ---- Typography: Outfit (headings) + Poppins (body) — self-hosted ---- */
  --font-primary:            'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading:            'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* ---- Type Scale ---- */
  --display-lg:              clamp(2.75rem, 5vw + 1rem, 4.5rem);
  --display-md:              clamp(2.25rem, 4vw + 0.5rem, 3.5rem);
  --display-sm:              clamp(1.75rem, 3vw + 0.5rem, 2.5rem);
  --headline-lg:             clamp(1.5rem, 2.5vw + 0.5rem, 2rem);
  --headline-md:             clamp(1.25rem, 2vw + 0.25rem, 1.625rem);
  --headline-sm:             1.125rem;
  --title-lg:                1.25rem;
  --title-md:                1rem;
  --title-sm:                0.875rem;
  --body-lg:                 1.0625rem;
  --body-md:                 0.9375rem;
  --body-sm:                 0.8125rem;
  --label-lg:                0.75rem;
  --label-md:                0.6875rem;
  --label-sm:                0.625rem;

  /* ---- Spacing ---- */
  --spacing-1:               0.25rem;
  --spacing-2:               0.5rem;
  --spacing-3:               0.75rem;
  --spacing-4:               1rem;
  --spacing-5:               1.25rem;
  --spacing-6:               2rem;
  --spacing-7:               2.25rem;
  --spacing-8:               2.5rem;
  --spacing-9:               3rem;
  --spacing-10:              3.5rem;
  --spacing-12:              4rem;
  --spacing-16:              6rem;
  --spacing-20:              7rem;

  /* ---- Radii: 0px Sharp ---- */
  --radius-none:             0px;

  /* ---- Shadows (ambient only) ---- */
  --shadow-ambient:          0 10px 40px rgba(26, 26, 26, 0.04);
  --shadow-soft:             0 6px 30px rgba(26, 26, 26, 0.03);
  --shadow-hover:            0 12px 44px rgba(26, 26, 26, 0.05);

  /* ---- Glass ---- */
  --glass-bg:                rgba(255, 255, 255, 0.80);
  --glass-blur:              20px;

  /* ---- Transitions ---- */
  --ease-luxe:               cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration-base:           280ms;
  --duration-slow:           500ms;

  /* ======================================================================
     FEWSET STANDARDIZATION LAYER (Phase 0) — added 2026-06-26.
     One source of truth for headings, text, section + product spacing,
     layout container and glass icons. These are CONSUMED by css/_system.css
     primitives (.fewset-section, .fewset-section-title, .fewset-eyebrow, …) and,
     section-by-section in Phase 2, will replace the hardcoded literals that
     each component currently carries. Additive only — nothing references
     them yet, so adding them changes no existing rendering.
     ====================================================================== */

  /* ---- Heading ladder (semantic; Outfit). Desktop px in comments. ---- */
  /* Scale from mobile → desktop. The clamp MIDDLE term drives the size between
     the floor (phone) and ceiling (desktop); these are tuned so the desktop
     end (≥1024px) is unchanged from before while phones get properly smaller
     headings (the old floors of 40/32px were desktop sizes stuck on mobile). */
  --h1:  clamp(1.75rem,  0.6rem + 5vw,    3.5rem);   /* 28 → 56  hero / page title */
  /* SECTION title = a constant ~86% of --h1 at EVERY width (its terms are --h1's
     terms × 0.86), so both cap together (~925px) and the hero↔section ratio never
     drifts. Mobile: hero 31 / section 27.  Desktop: hero 56 / section 48. */
  --h2:  clamp(1.5rem, 0.52rem + 4.3vw, 3rem);       /* 27 → 48  SECTION title (standard) */
  --h3:  clamp(1.125rem, 0.71rem + 1.77vw, 1.875rem);/* 18 → 30  sub-section / card group */
  --h4:  clamp(1rem,     0.82rem + 0.78vw, 1.5rem);  /* 16 → 24 */
  --h5:  1.125rem;                                 /* 18 */
  --h6:  0.9375rem;                                /* 15 */

  /* ---- Text sizes (semantic aliases of the body scale — one underlying value) ---- */
  --text-lg:   var(--body-lg);   /* 17  intro / lead */
  --text-base: var(--body-md);   /* 15  default body */
  --text-sm:   var(--body-sm);   /* 13  secondary */
  --text-xs:   var(--label-md);  /* 11  caption / eyebrow base */

  /* ---- Section vertical rhythm ---- */
  --section-y:         clamp(3.5rem, 2rem + 5vw, 5.5rem);   /* 56 → 88  white sections, top & bottom */
  --section-y-feature: clamp(5rem, 3rem + 6vw, 7.5rem);     /* 80 → 120 hero / newsletter */
  --section-gap:       clamp(1.75rem, 1rem + 2vw, 2.75rem); /* 28 → 44  header → content */

  /* ---- Layout container (one width + one gutter for every section) ---- */
  --container-max:    1680px;
  --container-gutter: clamp(1.25rem, 0.5rem + 3vw, 4rem);   /* 20 → 64 */

  /* ---- Product spacing ----
     Already tokenised in css/product-loop.css :root (--fewset-loop-gap,
     --fewset-rail-gap, --fewset-rail-inset, --fewset-card-meta-top,
     --fewset-card-price-gap, …) and applied there. NOT duplicated here to avoid
     a conflicting second definition — Phase 2 merges that block into this one
     token home. Use those existing names for product/card spacing. */

  /* ---- Glass icons (dark) — single source for the heart, the "+" and any future icon ---- */
  --glass-dark-bg:       rgba(20, 20, 20, 0.30);
  --glass-dark-bg-hover: rgba(20, 20, 20, 0.48);
  --glass-dark-blur:     blur(8px) saturate(1.35);
  --glass-hairline:      rgba(255, 255, 255, 0.40);

  /* ---- Eyebrow / kicker ---- */
  --eyebrow-tracking: 0.22em;
}


/* ==========================================================================
   2. BASE RESET & GLOBAL FOUNDATIONS
   ========================================================================== */

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
  font-size: var(--body-md);
  font-weight: 400;
  line-height: 1.6;
  color: var(--on-surface);
  background-color: var(--background);
  letter-spacing: 0;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
p, li, td, th, span, a, label, input, textarea, select, button {
  color: inherit;
}


/* ==========================================================================
   3. TYPOGRAPHY — Outfit headings + Poppins body
   Single typeface, weight + tracking hierarchy
   ========================================================================== */

/* ---- Headlines: Bold / ExtraBold, tight tracking ---- */

h1, h2, h3,
.entry-title,
.page-title,
.site-title {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--on-surface);
}

/* Outfit on every heading — !important so it beats component-level font-family
   declarations (cards, rails, etc. that historically hard-set the body face). */
h1, h2, h3, h4, h5, h6,
.entry-title, .page-title, .site-title,
.kr-heading, .fewset-qs-title {
  font-family: var(--font-heading, 'Outfit', sans-serif) !important;
}

h1, .entry-title {
  font-size: var(--display-md);
  font-weight: 800;
  margin-bottom: var(--spacing-6);
}

h2 {
  font-size: var(--headline-lg);
  margin-top: var(--spacing-10);
  margin-bottom: var(--spacing-5);
}

h3 {
  font-size: var(--headline-md);
  margin-top: var(--spacing-8);
  margin-bottom: var(--spacing-4);
}

/* ---- Titles / Subheadings: Medium weight ---- */

h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.35;
}

h4 {
  font-size: var(--title-lg);
  margin-top: var(--spacing-6);
  margin-bottom: var(--spacing-3);
}

h5 {
  font-size: var(--title-md);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-top: var(--spacing-5);
  margin-bottom: var(--spacing-2);
}

h6 {
  font-size: var(--title-sm);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  color: var(--on-surface-variant);
  margin-top: var(--spacing-5);
  margin-bottom: var(--spacing-2);
}

/* ---- Body: Regular / Medium, line-height 1.6 ---- */

p {
  font-family: var(--font-primary);
  font-size: var(--body-md);
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: var(--spacing-4);
  max-width: 65ch;
}

small,
.small {
  font-size: var(--body-sm);
  color: var(--on-surface-variant);
}

/* ---- Labels / Metadata: Bold, All Caps, 0.15em tracking ---- */

.label,
.posted-on,
.cat-links,
.tags-links,
.comments-link,
.entry-meta {
  font-family: var(--font-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: var(--label-lg);
}

/* ---- Navigation style: Medium, All Caps, 0.2em tracking ---- */

.nav-menu .menu-item > a {
  font-family: var(--font-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
}

/* ---- Editorial Display (hero sections) ---- */

.display-lg {
  font-family: var(--font-primary);
  font-size: var(--display-lg);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.display-md {
  font-family: var(--font-primary);
  font-size: var(--display-md);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.12;
}

.display-sm {
  font-family: var(--font-primary);
  font-size: var(--display-sm);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.15;
}


/* ==========================================================================
   4. LINKS
   ========================================================================== */

a {
  color: var(--on-surface);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-luxe);
}

a:hover,
a:focus-visible {
  color: var(--on-surface-variant);
}

.entry-content a,
.page-content a {
  text-decoration: underline;
  text-decoration-color: rgba(26, 26, 26, 0.20);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.entry-content a:hover,
.page-content a:hover {
  text-decoration-color: var(--on-surface);
}


/* ==========================================================================
   5. HEADER & NAVIGATION (base fallbacks — see css/header.css)
   ========================================================================== */

.site-title {
  font-family: var(--font-primary);
  font-size: var(--headline-sm);
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 0;
  line-height: 1;
}

.site-title a {
  color: var(--on-surface);
  text-decoration: none;
}

.site-description {
  display: none;
}


/* ==========================================================================
   6. BUTTONS — Sharp, monochrome, All Caps
   ========================================================================== */

/* ---- Primary: Solid #1A1A1A, white text, 0px radius ---- */

.button,
button[type="submit"],
input[type="submit"],
.wp-block-button__link,
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-2);
  font-family: var(--font-primary);
  font-size: var(--label-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-primary);
  background: var(--primary);
  border: none;
  border-radius: 0px;
  padding: var(--spacing-3) var(--spacing-7);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--duration-base) var(--ease-luxe),
              box-shadow var(--duration-base) var(--ease-luxe);
  line-height: 1.4;
  min-height: 48px;
}

.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover,
.btn-primary:hover {
  background: var(--primary-hover);
  color: var(--on-primary);
  box-shadow: var(--shadow-hover);
}

/* Kill the GeneratePress default GRAY hover background on plain (icon / close /
   quick-action) <button> elements. Background only — NOT color: forcing the
   colour here would flip filled buttons' labels (dark text on a dark fill).
   Bare icon buttons that also need their glyph colour held on hover set it
   themselves (e.g. .fewset-pm__close). Styled buttons keep their own hover via
   higher-specificity selectors and are unaffected. */
button:hover {
  background-color: transparent;
}

.button:active,
button[type="submit"]:active,
input[type="submit"]:active {
  box-shadow: none;
}

.button:focus-visible,
button[type="submit"]:focus-visible,
input[type="submit"]:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ---- Secondary: Transparent, 1px #1A1A1A border, black text, All Caps ---- */

.btn-secondary,
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: var(--on-surface);
  border: 1px solid var(--outline);
  border-radius: 0px;
  font-family: var(--font-primary);
  font-size: var(--label-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: var(--spacing-3) var(--spacing-7);
  cursor: pointer;
  transition: border-color var(--duration-base) var(--ease-luxe),
              background var(--duration-base) var(--ease-luxe),
              color var(--duration-base) var(--ease-luxe);
  min-height: 48px;
  text-decoration: none;
}

.btn-secondary:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: var(--primary);
  color: var(--on-primary);
  background: var(--primary);
}

/* ---- Tertiary / Text Button ---- */

.btn-text {
  background: none;
  border: none;
  color: var(--on-surface);
  font-family: var(--font-primary);
  font-size: var(--label-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: var(--spacing-2) 0;
  cursor: pointer;
  position: relative;
  text-decoration: none;
}

.btn-text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--on-surface);
  transition: width var(--duration-base) var(--ease-luxe);
}

.btn-text:hover::after {
  width: 100%;
}


/* ==========================================================================
   7. FORM INPUTS
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  font-family: var(--font-primary);
  font-size: var(--body-md);
  font-weight: 400;
  color: var(--on-surface);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--outline-subtle);
  border-radius: 0;
  padding: var(--spacing-3) 0 var(--spacing-2);
  width: 100%;
  transition: border-color var(--duration-base) var(--ease-luxe);
  outline: none;
  line-height: 1.5;
  -webkit-appearance: none;
  appearance: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  border-bottom-color: var(--primary);
  box-shadow: none;
}

input::placeholder,
textarea::placeholder {
  color: var(--neutral-400);
  font-weight: 400;
  opacity: 0.8;
}

select {
  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='%231A1A1A' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: var(--spacing-6);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Labels — Bold, All Caps, 0.15em tracking */
label,
.gfield_label {
  font-family: var(--font-primary);
  font-size: var(--label-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
  display: block;
  margin-bottom: var(--spacing-1);
}

.search-form {
  display: flex;
  gap: var(--spacing-3);
  align-items: flex-end;
}

.search-form .search-field {
  flex: 1;
}


/* ==========================================================================
   8. CONTENT & LAYOUT FOUNDATIONS
   ========================================================================== */

.site-content {
  background: var(--background);
}

.inside-article {
  padding: var(--spacing-10) 0;
}

.entry-content {
  font-family: var(--font-primary);
  font-size: var(--body-md);
  font-weight: 400;
  line-height: 1.6;
}

/* Separator — generous whitespace, no visible line */
hr,
.entry-content hr {
  border: none;
  height: var(--spacing-12);
  background: transparent;
  position: relative;
}

/* Section tonal shift classes */
.surface-low {
  background-color: var(--surface-container-low);
}

.surface-high {
  background-color: var(--surface-container-high);
}

.surface-highest {
  background-color: var(--surface-container-highest);
}

.grid-container {
  max-width: 1280px;
}

.content-area {
  /* one knob, symmetric (was --spacing-6 left / --spacing-4 right — lopsided) */
  padding-left: var(--fewset-content-inset, var(--spacing-5));
  padding-right: var(--fewset-content-inset, var(--spacing-5));
}

.entry-content ul,
.entry-content ol {
  padding-left: var(--spacing-5);
  margin-bottom: var(--spacing-6);
}

.entry-content li {
  margin-bottom: var(--spacing-3);
  line-height: 1.6;
}

/* Blockquote — tonal background shift */
blockquote,
.wp-block-quote {
  font-family: var(--font-primary);
  font-size: var(--headline-sm);
  font-weight: 400;
  font-style: italic;
  color: var(--on-surface-variant);
  border-left: 1px solid var(--outline);
  background: transparent;
  margin: var(--spacing-8) 0;
  padding: var(--spacing-4) var(--spacing-6);
  max-width: 55ch;
}

blockquote cite {
  display: block;
  font-family: var(--font-primary);
  font-size: var(--label-md);
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neutral-500);
  margin-top: var(--spacing-3);
}


/* ==========================================================================
   9. IMAGES & MEDIA
   ========================================================================== */

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

figure {
  margin: var(--spacing-8) 0;
}

figcaption,
.wp-element-caption {
  font-family: var(--font-primary);
  font-size: var(--label-md);
  font-weight: 700;
  color: var(--neutral-500);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: var(--spacing-3);
}


/* ==========================================================================
   10. FOOTER — Anchored with tonal shift
   ========================================================================== */

.site-footer {
  background: var(--surface-container-highest);
  color: var(--on-surface-variant);
  padding: var(--spacing-16) 0 var(--spacing-8);
}

.site-footer .footer-widgets-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-8);
}

.site-footer a {
  color: var(--on-surface-variant);
  text-decoration: none;
  transition: color var(--duration-base) var(--ease-luxe);
}

.site-footer a:hover {
  color: var(--on-surface);
}

.site-footer .widget-title {
  font-family: var(--font-primary);
  font-size: var(--label-lg);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface);
  margin-bottom: var(--spacing-4);
}

.site-info {
  font-size: var(--label-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--neutral-500);
  padding: var(--spacing-6) var(--spacing-8) var(--spacing-4);
  text-align: center;
}


/* ==========================================================================
   11. WORDPRESS BLOCK EDITOR OVERRIDES
   ========================================================================== */

.wp-block-button.is-style-fill .wp-block-button__link {
  background: var(--primary);
  border-radius: 0px;
}

.wp-block-cover {
  border-radius: 0;
  min-height: 65vh;
}

.wp-block-cover .wp-block-cover__inner-container {
  max-width: 800px;
}

.wp-block-separator {
  border: none !important;
  height: var(--spacing-10);
  background: transparent !important;
  opacity: 1;
}

.wp-block-columns {
  gap: var(--spacing-8);
}

.wp-block-group.has-background {
  padding: var(--spacing-10) var(--spacing-8);
}

/* Table — structural borders allowed per FEWSET */
.wp-block-table table,
table {
  border-collapse: collapse;
  width: 100%;
}

.wp-block-table table th,
table th {
  font-family: var(--font-primary);
  font-size: var(--label-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--on-surface-variant);
  text-align: left;
  padding: var(--spacing-3) var(--spacing-4);
  border-bottom: 1px solid var(--outline);
}

.wp-block-table table td,
table td {
  padding: var(--spacing-3) var(--spacing-4);
  border-bottom: 1px solid var(--outline-subtle);
  font-size: var(--body-md);
}


/* ==========================================================================
   12. UTILITY CLASSES
   ========================================================================== */

.bg-background        { background: var(--background); }
.bg-surface            { background: var(--surface); }
.bg-surface-low        { background: var(--surface-container-low); }
.bg-surface-high       { background: var(--surface-container-high); }
.bg-surface-highest    { background: var(--surface-container-highest); }

.text-primary          { color: var(--primary); }
.text-muted            { color: var(--on-surface-variant); }

.text-label {
  font-family: var(--font-primary);
  font-size: var(--label-md);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.glass {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
}

.card-ambient {
  background: var(--surface-container-lowest);
  box-shadow: var(--shadow-ambient);
  border-radius: 0px;
}

.content-narrow        { max-width: 720px; }
.content-medium        { max-width: 960px; }
.content-wide          { max-width: 1280px; }

.space-section         { padding: var(--spacing-20) 0; }
.space-block           { padding: var(--spacing-10) 0; }
.space-element         { padding: var(--spacing-6) 0; }


/* ==========================================================================
   13. SCROLL & SELECTION
   ========================================================================== */

::selection {
  background: rgba(26, 26, 26, 0.12);
  color: var(--on-surface);
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--surface-container-low);
}

::-webkit-scrollbar-thumb {
  background: var(--neutral-300);
  border-radius: 0px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--neutral-400);
}


/* ==========================================================================
   14. ACCESSIBILITY
   ========================================================================== */

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.screen-reader-text:focus {
  background: var(--surface);
  color: var(--primary);
  padding: var(--spacing-3) var(--spacing-5);
  font-family: var(--font-primary);
  font-size: var(--body-md);
  z-index: 999;
}


/* ==========================================================================
   15. RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
  .inside-header {
    padding: var(--spacing-3) var(--spacing-5);
  }

  .content-area {
    /* 10px gutter on phones (full-bleed sections opt out individually) */
    padding-left: var(--fewset-content-inset-mobile, 10px);
    padding-right: var(--fewset-content-inset-mobile, 10px);
  }
}

@media (max-width: 768px) {
  h1, .entry-title {
    font-size: var(--display-sm);
  }

  .inside-header {
    padding: var(--spacing-3) var(--spacing-4);
  }

  .inside-article {
    padding: var(--spacing-6) 0;
  }

  .site-footer {
    padding: var(--spacing-10) 0 var(--spacing-6);
  }
}
