/*
 Theme Name:   Kadence Child
 Description:  Kadence Child Theme for DueDilio
 Template:     kadence
 Version:      1.0.0
 Author:       DueDilio
 Text Domain:  kadence-child
*/

/* ==========================================================================
   DESIGN SYSTEM TOKENS — DueDilio
   ========================================================================== */

:root {
  --navy:        #0B1526;
  --navy-light:  #111E33;
  --nav-bg:      #060C18;
  --teal:        #0F766E;
  --teal-muted:  #0D6B63;
  --teal-light:  #14B8A6;
  --teal-subtle: rgba(15,118,110,0.08);
  --white:       #FFFFFF;
  --white-95:    rgba(255,255,255,0.95);
  --white-80:    rgba(255,255,255,0.80);
  --white-65:    rgba(255,255,255,0.65);
  --white-60:    rgba(255,255,255,0.60);
  --white-40:    rgba(255,255,255,0.40);
  --white-25:    rgba(255,255,255,0.25);
  --white-20:    rgba(255,255,255,0.20);
  --white-15:    rgba(255,255,255,0.15);
  --white-10:    rgba(255,255,255,0.10);
  --white-08:    rgba(255,255,255,0.08);
  --white-06:    rgba(255,255,255,0.06);
  --white-04:    rgba(255,255,255,0.04);
  --gold:        #B8860B;
  --gold-light:  #D4A847;
  --gold-subtle: rgba(184,134,11,0.10);
  --gold-border: rgba(184,134,11,0.22);
  --light-bg:    #F8F7F4;
  --light-card:  #FFFFFF;
  --light-border:rgba(0,0,0,0.08);
  --dark-95:     rgba(11,21,38,0.95);
  --dark-80:     rgba(11,21,38,0.80);
  --dark-60:     rgba(11,21,38,0.60);
  --dark-40:     rgba(11,21,38,0.40);
  --dark-20:     rgba(11,21,38,0.20);
  --dark-10:     rgba(11,21,38,0.10);
  --dark-06:     rgba(11,21,38,0.06);
  --serif: "Libre Baskerville", Georgia, "Times New Roman", serif;
  --sans:  "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ==========================================================================
   GLOBAL RESETS
   ========================================================================== */

body        { font-family: var(--sans); }
h1,h2,h3,h4 { font-family: var(--serif); }
h5,h6       { font-family: var(--sans); letter-spacing: 0.08em; text-transform: uppercase; }

/* ==========================================================================
   HEADING SCALE — clamp() + line-height + letter-spacing
   Kadence Customizer outputs discrete desktop/tablet/mobile breakpoints.
   These rules override font-size with smooth clamp() curves and add
   letter-spacing which Kadence typography controls do not expose.
   ========================================================================== */

h1 {
  font-size: clamp(36px, 4vw, 50px);
  line-height: 1.22;
  letter-spacing: -0.01em;
}
h2 {
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.25;
  letter-spacing: -0.01em;
}
h3 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   LAYOUT & SPACING TOKENS
   ========================================================================== */

.section-pad { padding-top: 100px; padding-bottom: 100px; }
@media (max-width: 1024px) { .section-pad { padding-top: 80px;  padding-bottom: 80px;  } }
@media (max-width: 768px)  { .section-pad { padding-top: 64px;  padding-bottom: 64px;  } }

/* ==========================================================================
   BACKGROUND HELPERS
   ========================================================================== */

.bg-navy       { background: var(--navy); }
.bg-navy-light { background: var(--navy-light); }
.bg-cream      { background: var(--light-bg); }
.bg-nav        { background: var(--nav-bg); }

/* ==========================================================================
   EYEBROW UTILITY
   ========================================================================== */

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; display: block; width: 24px; height: 1px; }
.eyebrow-teal  { color: var(--teal-light); } .eyebrow-teal::before  { background: var(--teal-light); }
.eyebrow-dark  { color: var(--teal);       } .eyebrow-dark::before  { background: var(--teal);       }
.eyebrow-gold  { color: var(--gold-light); } .eyebrow-gold::before  { background: var(--gold-light); }
