:root {
  /* ==========================================================================
   * SECTION A: FONT FAMILIES
   * ========================================================================== */
  --theme-font-display: 'Fraunces', Georgia, serif;
  --theme-font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --theme-font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --theme-font-mono: 'JetBrains Mono', monospace;

  /* ==========================================================================
   * SECTION B: TYPOGRAPHY SIZES
   * ========================================================================== */
  --theme-size-display-heading: clamp(2.15rem, 3.8vw, 3.25rem);
  --theme-size-page-title: clamp(1.75rem, 2.25vw, 2.25rem);
  --theme-size-section-heading: clamp(1.375rem, 1.8vw, 1.75rem);
  --theme-size-subsection-heading: clamp(1.0625rem, 1.2vw, 1.25rem);
  --theme-size-info-heading: 1rem;
  --theme-size-info-label: 0.875rem;
  --theme-size-product-title: clamp(0.9375rem, 1.1vw, 1.125rem);
  --theme-size-product-title-featured: clamp(1.25rem, 1.5vw, 1.5rem);
  --theme-size-intro: clamp(0.96875rem, 1.15vw, 1.09375rem);
  --theme-size-body: 0.96875rem;
  --theme-size-body-sm: 0.875rem;
  --theme-size-caption: 0.8125rem;
  --theme-size-metadata: 0.8125rem;
  --theme-size-nav: 0.875rem;
  --theme-size-button: 0.8125rem;
  --theme-size-sidebar-link: 0.8125rem;

  /* ==========================================================================
   * SECTION C: TYPOGRAPHY CHARACTERISTICS (WEIGHTS, LINE HEIGHTS, SPACING)
   * ========================================================================== */
  --theme-weight-heading: 600;
  --theme-weight-subheading: 600;
  --theme-weight-info-heading: 600;
  --theme-weight-product-title: 600;
  --theme-weight-body: 400;
  --theme-weight-nav: 500;
  --theme-weight-button: 600;
  --theme-weight-metadata: 600;

  --theme-leading-display: 1.14;
  --theme-leading-heading: 1.25;
  --theme-leading-subheading: 1.35;
  --theme-leading-intro: 1.6;
  --theme-leading-body: 1.68;
  --theme-leading-compact: 1.5;

  --theme-tracking-heading: -0.015em;
  --theme-tracking-body: 0em;
  --theme-tracking-kicker: 0.04em;

  /* ==========================================================================
   * SECTION D: PRINCIPAL COLORS
   * ========================================================================== */
  --theme-color-page-bg: #FAF9F6;
  --theme-color-page-bg-warm: #FAF7F2;
  --theme-color-surface: #FFFFFF;
  --theme-color-surface-subtle: #F6F4EF;
  --theme-color-surface-warm: #F3ECE1;

  --theme-color-text-primary: #111;
  --theme-color-text-secondary: #222;
  --theme-color-text-muted: #636A6F;

  --theme-color-heading: var(--theme-color-text-primary);
  --theme-color-subheading: var(--theme-color-text-primary);
  --theme-color-info-heading: var(--theme-color-text-primary);
  --theme-color-product-title: var(--theme-color-text-primary);
  --theme-color-body: var(--theme-color-text-primary);
  --theme-color-intro: var(--theme-color-text-secondary);
  --theme-color-caption: var(--theme-color-text-secondary);

  --theme-color-brand-primary: #111;
  --theme-color-link: #3771c8;
  --theme-color-link-hover: #111;
  --theme-color-nav: var(--theme-color-text-primary);
  --theme-color-nav-active: var(--theme-color-brand-primary);
  --theme-color-sidebar-link: var(--theme-color-text-secondary);
  --theme-color-sidebar-link-active: var(--theme-color-brand-primary);
  --theme-color-button-bg: #111;
  --theme-color-button-bg-hover: #28537D;
  --theme-color-button-text: #FFFFFF;

  --theme-color-border: #E3E1DB;
  --theme-color-border-strong: #C5C1B8;

  --theme-color-accent-mint-bg: #E5F3EC;
  --theme-color-accent-mint-border: #C6E4D6;
  --theme-color-accent-mint-bright: #C3F3DF;
  --theme-color-accent-butter-bg: #FFF4D6;
  --theme-color-accent-blue-bg: #EBF3FE;
  --theme-color-accent-coral: #F2846B;

  /* ==========================================================================
   * SECTION E: COMMON VISUAL PROPERTIES (RADII, SPACING, CONTENT WIDTHS)
   * ========================================================================== */
  --theme-radius-sm: 0.5rem;
  --theme-radius-md: 0.75rem;
  --theme-radius-lg: 1rem;
  --theme-radius-xl: 1.5rem;

  --theme-space-section-y: 3.5rem;
  --theme-space-card-padding: 1.5rem;

  --theme-width-site-max: 1360px;
  --theme-width-profile-max: 1280px;
  --theme-width-reading-measure: 68ch;

  /* Legacy variable aliases */
  --font-serif: var(--theme-font-display);
  --font-sans: var(--theme-font-body);
  --font-mono: var(--theme-font-mono);

  --color-editorial-canvas: var(--theme-color-page-bg);
  --color-paper-surface: var(--theme-color-surface);
  --color-paper-subtle: var(--theme-color-surface-subtle);
  --color-ink-primary: var(--theme-color-text-primary);
  --color-ink-secondary: var(--theme-color-text-secondary);
  --color-brand-navy: var(--theme-color-brand-primary);
  --color-interactive-blue: var(--theme-color-link);
  --color-mint-subtle: var(--theme-color-accent-mint-bg);
  --color-border-soft: var(--theme-color-border);
}
*{box-sizing:border-box}body{margin:0;background:#FAF9F6;color:#111;font-family:var(--theme-font-body);font-size:var(--theme-size-body);line-height:1.68}a{color:#28537D;text-decoration:none}a:hover{text-decoration:none}.prose a:hover,.body p a:hover,.sog-legacy p a:hover{text-decoration:underline}button,input{font:inherit}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible{outline:2px solid #1B3D5F;outline-offset:3px}svg{flex:none;vertical-align:middle}h1,h2,h3{font-family:var(--theme-font-display);font-weight:600;line-height:1.25;margin:0 0 12px}h1{font-size:var(--theme-size-page-title)}h2{font-size:var(--theme-size-section-heading)}p{margin:0 0 1.15em}img{max-width:100%;height:auto}#site-header{position:sticky;top:0;height:60px;z-index:20;pointer-events:none}.site-header-surface{background:rgba(250,249,246,.96);backdrop-filter:blur(12px);border-bottom:1px solid #E3E1DB}.site-header-row{max-width:1360px;margin:auto;display:flex;height:60px;align-items:center;justify-content:space-between;padding:0 16px;gap:12px}.site-header-center{display:none}.site-header-nav{display:flex;align-items:center;justify-content:center}.site-header-nav a{color:#24282B;white-space:nowrap;font-size:14px;font-weight:500;display:flex;gap:5px;align-items:center}.tools{display:flex;align-items:center;gap:6px}.control{border:0;background:transparent;display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:36px;height:38px;color:#24282B;border-radius:6px;padding:0 8px;transition:background-color 150ms ease,color 150ms ease,border-color 150ms ease}.control:hover{background:#F6F4EF;color:#111}.finder{display:none;background:#1B3D5F;color:#fff;border-radius:6px;align-items:center;gap:8px;padding:8px 14px;font-size:12px;font-weight:600;white-space:nowrap;transition:background-color 150ms ease}.finder:hover,.finder:focus-visible{background:#28537D;color:#fff;text-decoration:none}.search-trigger{display:flex;align-items:center;gap:10px;width:100%;max-width:560px;border:1px solid #C5C1B8;background:white;border-radius:8px;height:42px;padding:0 14px;font-size:14px;text-align:left;color:#636A6F}.saved-label{display:none}.saved-count{display:inline-block;min-width:3.3ch;text-align:left;font-family:var(--theme-font-mono);font-size:12px;font-variant-numeric:tabular-nums;color:#636A6F}.saved-count[data-empty="false"]{color:#1B3D5F;font-weight:600}.brand{min-width:0}.brand img{width:auto;max-width:200px}.sog-legacy{max-width:1050px;margin:auto;padding:42px 32px 60px}.sog-legacy>article{max-width:770px;margin:auto}.crumb{font-size:13px;color:#636A6F;margin-bottom:20px}.deck{font-size:var(--theme-size-intro);color:#535955;max-width:68ch}.byline{font-size:13px;color:#62666A;display:flex;align-items:center;gap:12px;margin:20px 0}.hero{margin:24px 0 28px}.hero img{width:100%;max-height:450px;object-fit:contain;border-radius:12px;display:block;background:#F6F4EF}.disclosure{border-left:2px solid #B3C6BA;padding-left:14px;color:#535955;font-size:13px;margin-bottom:25px}.toc{border:1px solid #DFDBD3;padding:14px 18px;border-radius:8px;background:white;margin:0 0 28px}.toc summary{font-weight:600;cursor:pointer}.toc ol{margin:12px 0 0;padding-left:22px;display:grid;grid-template-columns:1fr 1fr;gap:6px 18px;font-size:14px}.body{line-height:1.8}.body h2{margin-top:34px;scroll-margin-top:95px}.body blockquote{border-left:2px solid #BBCBDC;padding:6px 16px;margin:28px 0;font-family:var(--theme-font-display);font-style:italic;color:#535955}.body cite{display:block;font-family:var(--theme-font-body);font-size:13px;margin-top:10px;font-style:normal}.item{border:1px solid #DFDBD3;border-radius:12px;background:white;padding:18px;margin:14px 0 22px}.item>a{display:grid;grid-template-columns:200px 1fr;gap:24px;align-items:center;color:#111;text-decoration:none}.item-img img{display:block;width:100%;aspect-ratio:1;object-fit:contain;border-radius:8px;background:#F6F4EF}.item-click{display:flex;align-items:flex-start;flex-direction:column;gap:12px;font-size:15px;font-weight:600}.price:empty{display:none}.buy-button{font-size:13px;font-weight:600;color:#fff;background:#1B3D5F;border-radius:6px;padding:10px 16px;display:inline-flex;align-items:center;gap:6px;transition:background-color 150ms ease}.buy-button:hover,.buy-button:focus-visible,.item>a:hover .buy-button{background:#28537D;color:#fff;text-decoration:none}.site-footer{background:#1B3D5F;color:#F5F7FA;border-top:4px solid #28537D}.footer-grid{max-width:1280px;margin:auto;display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:28px;padding:48px 24px}.site-footer a{color:#E4ECF4;display:flex;width:fit-content;align-items:center;gap:7px;font-size:13.5px;margin:8px 0;transition:color 150ms ease}.site-footer a:hover,.site-footer a:focus-visible{color:#fff;text-decoration:none}.site-footer .control{color:#fff;padding:6px 10px;margin-left:-10px}.site-footer .control:hover,.site-footer .control:focus-visible{background:rgba(255,255,255,.14);color:#fff}.site-footer h3{font-family:var(--theme-font-ui);font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#A9CBEB;border-bottom:1px solid #2B537D;padding-bottom:10px}.footer-name{font-family:var(--theme-font-display);font-size:22px!important;color:white!important}.footer-description{font-size:14px;color:#D8E2EC;max-width:340px}.footer-band{background:#142F4C;padding:18px 24px;color:#C8D6E5;font-size:12px}.footer-band div{max-width:1232px;margin:auto;display:flex;justify-content:space-between;gap:16px}.footer-band a{display:inline;margin:0;color:#C6E4D6;font-size:12px}.footer-band a:hover,.footer-band a:focus-visible{color:#fff}.preview-note{background:#F3ECE1;color:#535955;font-size:12px;text-align:center;padding:7px 12px}.modal{width:min(92vw,660px);border:1px solid #DFDBD3;border-radius:14px;background:#FAF9F6;padding:24px;color:#24282B}.modal::backdrop{background:#14202a70}.modal-top{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.modal-top h2{margin:0}.modal input{width:100%;padding:12px;border:1px solid #C5C1B8;border-radius:8px;background:white}.result{display:block;border:1px solid #E3E1DB;background:white;border-radius:8px;padding:12px;margin:10px 0}.result small{display:block;color:#636A6F}.drawer{margin:0 0 0 auto;height:100dvh;max-height:none;width:min(100%,480px);max-width:none;border-radius:0}.mobile-nav a{display:block;padding:10px 0;border-bottom:1px solid #E3E1DB}.mobile-only{display:inline-flex}@media(min-width:1024px){#site-header{height:113px}.site-header-row{display:grid;height:68px;padding:0 40px;gap:18px}.site-header-center{display:block}.site-header-nav{gap:2px clamp(8px,1.1vw,18px)}.site-header-search-icon .control{width:36px}.finder{display:inline-flex}.saved-label{display:inline}.mobile-only{display:none}#site-header[data-scrolled=true] .saved-label{display:none}}@media(max-width:700px){.sog-legacy{padding:27px 17px 42px}.item>a{grid-template-columns:1fr;gap:14px}.item-img img{max-width:220px;margin:auto}.toc ol{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr 1fr;gap:24px}.footer-grid>div:first-child{grid-column:1/-1}.footer-band div{flex-direction:column}.tools{gap:2px}.control{padding:0 5px}.brand img{max-width:min(100%,170px)}}
.site-header-surface {
  height: 60px;
  pointer-events: auto;
}

.site-brand-logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, var(--sog-logo-mobile-w, 200px));
  max-height: var(--sog-logo-mobile-h, 26px);
  object-fit: contain;
  object-position: left center;
}

@media (min-width: 1024px) {
  .site-header-surface {
    height: 113px;
  }

  .site-header-row {
    --desktop-logo-slot: max(var(--sog-logo-desktop-w, 235px), var(--sog-logo-compact-w, 200px));
    grid-template-columns: minmax(0, min(var(--desktop-logo-slot), 25%)) minmax(0, 1fr) max-content;
  }

  .site-header-center {
    position: relative;
    height: 100%;
  }

  .site-header-search-bar,
  .site-header-search-icon,
  .site-header-nav {
    position: absolute;
  }

  .site-header-search-bar {
    inset: 0 0 auto;
    height: 68px;
    display: grid;
    place-items: center;
    transform-origin: right center;
  }

  .site-header-search-icon {
    inset: 16px 0 auto auto;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transform: scale(.85);
    pointer-events: none;
  }

  .site-header-nav {
    inset: 68px 0 auto;
    height: 44px;
    align-content: center;
    gap: 2px clamp(8px, 1.1vw, 18px);
  }

  .site-header-divider {
    border-top: 1px solid #e3e1dbcc;
  }

  .site-brand-logo {
    max-width: min(100%, var(--sog-logo-desktop-w, 235px));
    max-height: var(--sog-logo-desktop-h, 32px);
  }

  #site-header[data-scrolled='true'] .site-header-surface {
    height: 68px;
    box-shadow: 0 4px 20px -12px rgb(17 17 17 / 8%);
  }

  #site-header[data-scrolled='true'] .site-brand-logo {
    max-width: min(100%, var(--sog-logo-compact-w, 200px));
    max-height: var(--sog-logo-compact-h, 29px);
  }

  .site-header-wordmark {
    transform-origin: left center;
  }

  #site-header[data-scrolled='true'] .site-header-wordmark {
    transform: scale(.88);
  }

  #site-header[data-scrolled='true'] .site-header-search-bar {
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px) scale(.96);
    pointer-events: none;
  }

  #site-header[data-scrolled='true'] .site-header-search-icon {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
  }

  #site-header[data-scrolled='true'] .site-header-nav {
    transform: translateY(-56px);
  }

  .site-header-nav { padding-inline-end: 40px; }

  .site-header-saved-label {
    display: inline-grid;
    grid-template-columns: 1fr;
  }

  .site-header-saved-label > span {
    min-width: 0;
    overflow: hidden;
    text-indent: .375rem;
  }

  #site-header[data-scrolled='true'] .site-header-saved-label {
    grid-template-columns: 0fr;
  }

  #site-header[data-scrolled='true'] :is(.site-header-saved-label, .site-header-divider) {
    opacity: 0;
  }

  @media (prefers-reduced-motion: no-preference) {
    #site-header[data-ready='true'] {
      --header-transition: 225ms ease;
    }

    .site-header-surface {
      transition: height var(--header-transition, 0s), box-shadow var(--header-transition, 0s);
    }

    .site-brand-logo {
      transition: max-width var(--header-transition, 0s), max-height var(--header-transition, 0s);
    }

    :is(.site-header-nav, .site-header-wordmark) {
      transition: transform var(--header-transition, 0s);
    }

    :is(.site-header-saved-label, .site-header-divider) {
      transition: opacity var(--header-transition, 0s);
    }

    .site-header-saved-label {
      transition: grid-template-columns var(--header-transition, 0s), opacity var(--header-transition, 0s);
    }

    :is(.site-header-search-bar, .site-header-search-icon) {
      transition:
        transform var(--header-transition, 0s),
        opacity var(--header-transition, 0s),
        visibility var(--header-transition, 0s);
    }
  }

  /* Refined central desktop navigation */
  .site-header-nav {
    gap: 2px clamp(16px, 1.8vw, 28px);
  }

  .site-header-nav a {
    position: relative;
    padding: 6px 2px;
    font-family: var(--theme-font-ui, 'Plus Jakarta Sans', sans-serif);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    line-height: 1.2;
    color: #24282B;
    transition: color 180ms ease, transform 120ms ease, opacity 120ms ease;
  }

  .site-header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1px;
    height: 1.5px;
    background: #1B3D5F;
    transform: scaleX(0);
    transform-origin: center;
    opacity: 0;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), opacity 180ms ease;
  }

  .site-header-nav a:hover {
    color: #1B3D5F;
  }

  .site-header-nav a:hover::after,
  .site-header-nav a[aria-current='page']::after,
  .site-header-nav a[data-nav-active='true']::after {
    transform: scaleX(1);
    opacity: 1;
  }

  .site-header-nav a[aria-current='page'],
  .site-header-nav a[data-nav-active='true'] {
    color: #1B3D5F;
    font-weight: 600;
  }

  .site-header-nav a:active {
    transform: translateY(1px);
    opacity: 0.85;
  }

  .site-header-nav a:focus-visible {
    outline: 2px solid #1B3D5F;
    outline-offset: 4px;
    border-radius: 3px;
    color: #1B3D5F;
  }

  @media (prefers-reduced-motion: reduce) {
    .site-header-nav a,
    .site-header-nav a::after {
      transition: none;
    }
  }
}


