/* ============================================================================
   GLL CANONICAL CONTENT-PAGE DESIGN SYSTEM  ·  css/default/gll-pages.css
   ----------------------------------------------------------------------------
   The ONE language every nav/content page must share (siblings of the rebuilt
   /about-us and /contact pages): dark hero band, gold square-dot eyebrows,
   Inter light display headings with a gold italic accent word, white prose,
   SQUARE corners, IntersectionObserver reveals.

   RULES
   - Everything is scoped under .gll-page so it can never leak into the
     directory / account / admin chrome.
   - Tokens only. Never hardcode a different hex. The OLD gold (#8b6b28 /
     #ddc088) and the fonts Cormorant / Jost / Garamond are BANNED.
   - Fonts are already loaded site-wide (Inter for headings, Roboto for body):
     NO @import, NO google-fonts <link> here.
   - SQUARE corners everywhere (border-radius:0) except tiny dots / circles.
   - .gllp-rv reveal is GATED on html.gllp-ready — if the JS never runs, content
     stays fully visible (accessibility-safe).
   ============================================================================ */

/* ---------------------------------------------------------------------------
   1. ROOT WRAPPER + TOKENS
   --------------------------------------------------------------------------- */
.gll-page{
  /* — INK / TEXT ramp — */
  --gllp-ink:      #1F1F1F;
  --gllp-ink-2:    #262626;
  --gllp-ink-3:    #333333;
  --gllp-mid:      #545454;
  --gllp-soft:     #898989;
  --gllp-faint:    #BDBEBE;

  /* — LINES / SURFACES — */
  --gllp-line:     #E8E8E8;
  --gllp-milk:     #F2F3F3;
  --gllp-white:    #ffffff;

  /* — GOLD — */
  --gllp-gold:     #B8922A;
  --gllp-gold-l:   #D4AF5A;
  --gllp-gold-bg:  rgba(184,146,42,0.06);
  --gllp-gold-rule:rgba(184,146,42,0.20);

  /* — FONTS (already loaded site-wide) — */
  --gllp-font:      'Roboto', Helvetica, Arial, sans-serif;
  --gllp-font-head: 'Inter', sans-serif;

  /* — MOTION — */
  --gllp-ease:  cubic-bezier(.22,1,.36,1);

  font-family: var(--gllp-font);
  color: var(--gllp-ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 0;
}

/* reset margins on immediate children so page blobs start clean */
.gll-page,
.gll-page > *{
  box-sizing: border-box;
}
.gll-page *,
.gll-page *::before,
.gll-page *::after{
  box-sizing: border-box;
}
.gll-page > *{ margin-top: 0; }
.gll-page img{ max-width: 100%; height: auto; display: block; }

/* ---------------------------------------------------------------------------
   2. HERO — full-bleed dark band
   --------------------------------------------------------------------------- */
.gllp-hero{
  position: relative;
  overflow: hidden;
  background-color: var(--gllp-ink);
  /* subtle gold radial wash */
  background-image:
    radial-gradient(120% 140% at 82% -10%, rgba(184,146,42,0.16) 0%, rgba(184,146,42,0.05) 34%, rgba(31,31,31,0) 60%);
  color: var(--gllp-white);
  padding: clamp(4rem, 9vw, 7.5rem) clamp(1.25rem, 5vw, 3rem);
}
/* faint gold grid-line texture */
.gllp-hero::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(184,146,42,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184,146,42,0.06) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(120% 120% at 78% 0%, #000 0%, transparent 72%);
          mask-image: radial-gradient(120% 120% at 78% 0%, #000 0%, transparent 72%);
  opacity: .8;
}
.gllp-hero > *{ position: relative; z-index: 1; }

.gllp-hero__inner{
  max-width: 1180px;
  margin: 0 auto;
  text-align: left;
}

.gllp-hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1.4rem;
  font-family: var(--gllp-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gllp-gold-l);
  line-height: 1;
}
.gllp-hero__eyebrow::before{
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gllp-gold);
  border-radius: 0;
  flex: 0 0 auto;
}

.gllp-hero__title{
  margin: 0;
  font-family: var(--gllp-font-head);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--gllp-white);
}
.gllp-hero__title em{
  font-style: italic;
  font-weight: 300;
  color: var(--gllp-gold-l);
}

.gllp-hero__lede{
  max-width: 640px;
  margin: 1.6rem 0 0;
  font-size: 1rem;
  line-height: 1.85;
  color: rgba(255,255,255,.6);
}

.gllp-hero__meta{
  margin: 1.9rem 0 0;
  font-family: var(--gllp-font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------------
   3. BODY + PROSE CONTAINER
   --------------------------------------------------------------------------- */
.gllp-body{
  background: var(--gllp-white);
}

.gllp-wrap{
  max-width: 780px;               /* PROSE / legal default */
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 5vw, 3rem);
}
.gllp-wrap--wide{
  max-width: 1120px;              /* marketing / card layouts */
}

.gllp-section{
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.gllp-section:last-child{ margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   4. EYEBROWS + HEADINGS
   --------------------------------------------------------------------------- */
.gllp-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 1rem;
  font-family: var(--gllp-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gllp-gold);
  line-height: 1;
}
.gllp-eyebrow::before{
  content: "";
  width: 8px;
  height: 8px;
  background: var(--gllp-gold);
  border-radius: 0;
  flex: 0 0 auto;
}

.gllp-h2{
  margin: 0 0 1rem;
  font-family: var(--gllp-font-head);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--gllp-ink);
}
.gllp-h2 em{
  font-style: italic;
  font-weight: 400;
  color: var(--gllp-gold);
}
.gllp-h2--dot{
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.gllp-h2--dot::before{
  content: "";
  width: 10px;
  height: 10px;
  background: var(--gllp-gold);
  border-radius: 0;
  flex: 0 0 auto;
  position: relative;
  top: -0.15em;
}

.gllp-h3{
  margin: 0 0 .7rem;
  font-family: var(--gllp-font-head);
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--gllp-ink-2);
}

/* ---------------------------------------------------------------------------
   5. TEXT + LINKS
   --------------------------------------------------------------------------- */
.gllp-p{
  margin: 0 0 1.15rem;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--gllp-ink-3);
}
.gllp-p:last-child{ margin-bottom: 0; }
.gllp-p--lede{
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--gllp-mid);
}

.gllp-a{
  color: var(--gllp-gold);
  text-decoration: none;
  border-bottom: 1px solid var(--gllp-gold-rule);
  transition: color .2s var(--gllp-ease), border-color .2s var(--gllp-ease);
}
.gllp-a:hover,
.gllp-a:focus-visible{
  color: var(--gllp-gold-l);
  border-bottom-color: var(--gllp-gold-l);
}

/* ---------------------------------------------------------------------------
   6. LISTS
   --------------------------------------------------------------------------- */
.gllp-ul,
.gllp-ol{
  margin: 0 0 1.15rem;
  padding-left: 1.4rem;
  color: var(--gllp-ink-3);
}
.gllp-ul li,
.gllp-ol li{
  font-size: 15.5px;
  line-height: 1.8;
  margin-bottom: .55rem;
  padding-left: .3rem;
}
.gllp-ul li:last-child,
.gllp-ol li:last-child{ margin-bottom: 0; }

.gllp-ul{
  list-style: none;
  padding-left: 0;
}
.gllp-ul li{
  position: relative;
  padding-left: 1.5rem;
}
.gllp-ul li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--gllp-gold);
  border-radius: 0;
}
.gllp-ol{
  font-variant-numeric: tabular-nums;
}
.gllp-ol li::marker{
  color: var(--gllp-gold);
  font-family: var(--gllp-font-head);
  font-weight: 600;
}

/* ---------------------------------------------------------------------------
   7. RULE (hairline separator)
   --------------------------------------------------------------------------- */
.gllp-rule{
  height: 1px;
  border: 0;
  background: var(--gllp-line);
  margin: clamp(2rem, 4vw, 3rem) 0;
}

/* ---------------------------------------------------------------------------
   8. TABLE
   --------------------------------------------------------------------------- */
.gllp-tablewrap{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 0 0 1.4rem;
  border: 1px solid var(--gllp-line);
}
.gllp-table{
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
  color: var(--gllp-ink-3);
  font-variant-numeric: tabular-nums;
}
.gllp-table th,
.gllp-table td{
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--gllp-line);
  vertical-align: top;
  border-radius: 0;
}
.gllp-table th{
  font-family: var(--gllp-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gllp-mid);
  background: var(--gllp-milk);
  white-space: nowrap;
}
.gllp-table tr:last-child td{ border-bottom: 0; }
.gllp-table td + td,
.gllp-table th + th{ border-left: 1px solid var(--gllp-line); }
.gllp-table [data-num],
.gllp-table .gllp-num{ text-align: right; font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------------------
   9. CALLOUT
   --------------------------------------------------------------------------- */
.gllp-callout{
  border: 1px solid var(--gllp-line);
  background: var(--gllp-milk);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  margin: 0 0 1.4rem;
  border-radius: 0;
}
.gllp-callout > *:last-child{ margin-bottom: 0; }
.gllp-callout--gold{
  background: var(--gllp-gold-bg);
  border-color: var(--gllp-gold-rule);
}

/* ---------------------------------------------------------------------------
   10. CARDS
   --------------------------------------------------------------------------- */
.gllp-cards{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin: 0 0 1.4rem;
}
/* hairline-seam variant: 1px gaps on the line colour */
.gllp-cards--seam{
  gap: 1px;
  background: var(--gllp-line);
  border: 1px solid var(--gllp-line);
}
.gllp-card{
  position: relative;
  background: var(--gllp-white);
  border: 1px solid var(--gllp-line);
  padding: clamp(1.25rem, 3vw, 1.75rem);
  border-radius: 0;
  transition: border-color .25s var(--gllp-ease);
}
.gllp-cards--seam .gllp-card{ border: 0; }
/* gold top-rule on hover */
.gllp-card::before{
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 2px;
  background: var(--gllp-gold);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .3s var(--gllp-ease);
}
.gllp-card:hover{ border-color: var(--gllp-faint); }
.gllp-card:hover::before{ transform: scaleX(1); }
.gllp-card > *:last-child{ margin-bottom: 0; }

/* ---------------------------------------------------------------------------
   11. CTA (inline button)
   --------------------------------------------------------------------------- */
.gllp-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 26px;
  font-family: var(--gllp-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gllp-white);
  background: var(--gllp-ink);
  border: 1px solid var(--gllp-ink);
  border-radius: 0;
  cursor: pointer;
  transition: background .22s var(--gllp-ease), color .22s var(--gllp-ease),
              border-color .22s var(--gllp-ease);
}
.gllp-cta:hover,
.gllp-cta:focus-visible{
  background: var(--gllp-ink-2);
  border-color: var(--gllp-ink-2);
  color: var(--gllp-white);
}
.gllp-cta--gold{
  background: var(--gllp-gold);
  border-color: var(--gllp-gold);
  color: var(--gllp-white);
}
.gllp-cta--gold:hover,
.gllp-cta--gold:focus-visible{
  background: var(--gllp-gold-l);
  border-color: var(--gllp-gold-l);
  color: var(--gllp-ink);
}
.gllp-cta--outline{
  background: transparent;
  border-color: var(--gllp-line);
  color: var(--gllp-ink);
}
.gllp-cta--outline:hover,
.gllp-cta--outline:focus-visible{
  background: transparent;
  border-color: var(--gllp-ink);
  color: var(--gllp-ink);
}

/* ---------------------------------------------------------------------------
   12. CTA ROW — full-bleed dark end-band (echoes About / Contact end-bands)
   --------------------------------------------------------------------------- */
.gllp-ctarow{
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--gllp-ink-2) 0%, var(--gllp-ink) 100%);
  color: var(--gllp-white);
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 3rem);
  text-align: center;
}
.gllp-ctarow::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(120% 120% at 50% -20%, rgba(184,146,42,0.12) 0%, rgba(31,31,31,0) 58%);
}
.gllp-ctarow__inner{
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}
.gllp-ctarow .gllp-eyebrow{
  color: var(--gllp-gold-l);
  justify-content: center;
}
.gllp-ctarow__title{
  margin: 0 0 1.6rem;
  font-family: var(--gllp-font-head);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: -0.01em;
  color: var(--gllp-white);
}
.gllp-ctarow__title em{
  font-style: italic;
  font-weight: 300;
  color: var(--gllp-gold-l);
}
.gllp-ctarow__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
/* equal-width button pair, symmetric */
.gllp-ctarow__actions .gllp-cta{ min-width: 200px; }
.gllp-ctarow__actions .gllp-cta--outline{
  border-color: rgba(255,255,255,.28);
  color: var(--gllp-white);
}
.gllp-ctarow__actions .gllp-cta--outline:hover,
.gllp-ctarow__actions .gllp-cta--outline:focus-visible{
  border-color: var(--gllp-white);
  color: var(--gllp-white);
}

/* ---------------------------------------------------------------------------
   13. REVEAL-ON-SCROLL  (GATED on html.gllp-ready)
   --------------------------------------------------------------------------- */
/* Base transition — always applied so the reveal is smooth when triggered. */
.gll-page .gllp-rv{
  transition: transform .65s var(--gllp-ease);
  will-change: transform;
}
/* SAFETY-FIRST reveal: content is NEVER hidden (opacity stays 1). The reveal is
   a transform-only rise, so text can never appear blank/white even if the
   IntersectionObserver misses an element or the user hasn't scrolled to it.
   (transform doesn't affect layout, so no reflow.) */
html.gllp-ready .gll-page .gllp-rv{
  opacity: 1;
  transform: translateY(14px);
}
html.gllp-ready .gll-page .gllp-rv.gllp-in,
.gll-page .gllp-rv.gllp-in{
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------------------
   14. RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 900px){
  .gllp-hero{ padding: clamp(3rem, 8vw, 5rem) clamp(1.25rem, 5vw, 2rem); }
  .gllp-hero__title{ font-size: clamp(2.1rem, 7vw, 3.2rem); }
  .gllp-h2{ font-size: clamp(1.4rem, 4vw, 1.9rem); }
}

@media (max-width: 600px){
  .gllp-hero{ padding: 2.75rem 20px; }
  .gllp-hero__title{ font-size: clamp(1.9rem, 9vw, 2.5rem); }
  .gllp-hero__eyebrow{ letter-spacing: .24em; }
  .gllp-wrap{ padding-left: 20px; padding-right: 20px; }
  .gllp-cards{ grid-template-columns: 1fr; }
  .gllp-ctarow__actions{ flex-direction: column; }
  .gllp-ctarow__actions .gllp-cta{ width: 100%; min-width: 0; }
  /* keep every touch target comfortable */
  .gllp-cta{ min-height: 48px; }
  .gllp-a{ padding: 2px 0; }
  /* prevent iOS zoom on any page-local inputs */
  .gll-page input,
  .gll-page select,
  .gll-page textarea{ font-size: 16px; }
}

/* never allow horizontal page scroll from this system */
.gll-page{ overflow-x: hidden; }

/* ---------------------------------------------------------------------------
   15. REDUCED MOTION
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce){
  .gll-page .gllp-rv,
  html.gllp-ready .gll-page .gllp-rv{
    opacity: 1;
    transform: none;
    transition: none;
  }
  .gllp-card,
  .gllp-cta,
  .gllp-a{ transition: none; }
}
