/* Alemán Por Derecho local experiment: design tokens (values measured from the reference evidence) */
:root {
  /* neutrals */
  --obsidian: #191f1d;
  --obsidian-light: #2b3532;
  --obsidian-lighter: #52695f;
  --oat-50: #f6f3ef;
  --oat-100: #ebe6e0;
  --oat-200: #e0d7cd;
  --oat-300: #d3c7b9;
  --oat-500: #b2a595;
  --oat-900: #3e372d;
  --white: #fff;

  /* greens */
  --juniper-800: #10413b;
  --juniper-400: #6bc99e;
  --juniper-100: #d8e8d6;
  --juniper-50: #ebf3e7;
  --juniper-deep: #cfdbc9;

  /* blues */
  --sky: #c2dff2;
  --sky-light: #e5f1f9;
  --sky-dark: #9fd0ec;
  --sky-40: rgba(194, 223, 242, 0.4);

  /* yellows */
  --marigold-500: #fdb72a;
  --marigold-400: #fec521;
  --marigold-800: #e6a118;
  --marigold-200: #fedd84;
  --marigold-100: #fee9b5;
  --marigold-50: #fef5e7;

  /* transparencies */
  --white-10: rgba(255, 255, 255, 0.1);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-40: rgba(255, 255, 255, 0.4);
  --juniper-5: rgba(16, 65, 59, 0.05);
  --aloe-5: rgba(229, 236, 225, 0.05);
  --sky-t40: rgba(194, 223, 242, 0.4);

  /* type */
  --font-display: "Source Serif 4", "Source Serif 4 Fallback", Georgia, "Times New Roman", serif;
  --font-body: Inter, "Inter Fallback", Arial, sans-serif;

  /* type scale (desktop) */
  --fs-h1: 7.875rem;
  --fs-display: 14.8125rem;
  --fs-h3: 4.25rem;
  --fs-quote: 3.5rem;
  --fs-h4: 3rem;
  --fs-h5: 2.75rem;
  --fs-h6: 2.125rem;

  /* radii */
  --r-6: 0.375rem;
  --r-8: 0.5rem;
  --r-10: 0.625rem;
  --r-14: 0.875rem;

  /* chrome offsets, switched by media queries and by closing the banner */
  --banner-h: 56px;
  --nav-h: 104px;
  --header-bottom: calc(var(--banner-h) + var(--nav-h));
}

@media screen and (max-width: 991px) {
  :root {
    --nav-h: 88px;
    /* source 991 step (data/css shared sheet): h1 6rem, display 6rem, h3 3rem */
    --fs-h1: 6rem;
    --fs-display: 6rem;
    --fs-h3: 3rem;
  }
}

@media screen and (max-width: 767px) {
  :root {
    --fs-h1: 4.125rem;
    --fs-display: 4.875rem;
    --fs-h3: 3rem;
    --fs-quote: 2.75rem;
  }
}

@media screen and (max-width: 479px) {
  :root { --banner-h: 60px; }
}

html.banner-closed { --banner-h: 0px; }

/* ---------- components-2 additions (2026-10-11): page hero, service cards, link grid, reassurance row ---------- */
:root {
  --wrap-700: 43.75rem;             /* features heading measure */
  --measure-lead: 38.625rem;        /* page hero lead paragraph, 618px */
  --size-hero-media: 25.75rem;      /* page hero image box, 412px */
  --size-service-card: 24.1875rem;  /* service card slide width, 387px */
  --dur-link: 0.42s;                /* link grid cell background */
  --opacity-dim: 0.2;               /* resting hero button arrow */
  --shift-label: 0.75rem;           /* hero button label shift on hover */
  --oat-rule: var(--oat-500);       /* 1px rules between link grid cells */
}

@media screen and (max-width: 767px) {
  :root {
    --size-hero-media: 18.75rem;
    --size-service-card: 18.5rem;
  }
}
