/* Zada Group — bundled brand tokens for the 20619 123rd Ave listing site */


/* ===== tokens/fonts.css ===== */
/* ==========================================================================
   Zada Group — Webfonts
   Display: Abigail (high-contrast brand serif). Body/UI: Sweet Sans Pro.
   Decorative alternates live in assets/fonts/alt/ — see fonts-alt.css.
   ========================================================================== */

/* --- Abigail: the brand display serif (replaces the old Cormorant stand-in) --- */
@font-face {
  font-family: 'Abigail';
  src: url('assets/fonts/Abigail.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* --- Sweet Sans Pro: the brand sans, full weight range --- */
@font-face {
  font-family: 'Sweet Sans Pro';
  src: url('assets/fonts/SweetSansPro-Hairline.otf') format('opentype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sweet Sans Pro';
  src: url('assets/fonts/SweetSansPro-Thin.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sweet Sans Pro';
  src: url('assets/fonts/SweetSansPro-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sweet Sans Pro';
  src: url('assets/fonts/SweetSansPro-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sweet Sans Pro';
  src: url('assets/fonts/SweetSansPro-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sweet Sans Pro';
  src: url('assets/fonts/SweetSansPro-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sweet Sans Pro';
  src: url('assets/fonts/SweetSansPro-Heavy.otf') format('opentype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sweet Sans Pro';
  src: url('assets/fonts/SweetSansPro-Italic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Sweet Sans Pro';
  src: url('assets/fonts/SweetSansPro-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* Extra light variants mapped to a separate family for hero-scale type */
@font-face {
  font-family: 'Sweet Sans Pro ExLight';
  src: url('assets/fonts/SweetSansPro-ExLight.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sweet Sans Pro ExThin';
  src: url('assets/fonts/SweetSansPro-ExThin.otf') format('opentype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}


/* ===== tokens/colors.css ===== */
/* ==========================================================================
   Zada Group — Color tokens
   Boutique Metro Vancouver real estate. Deep forest greens, warm earth
   browns, off-white paper. Quiet luxury, never loud.
   ========================================================================== */

:root {
  /* --- Base palette (raw brand values) ----------------------------------- */
  --green-deepest: #041A10;   /* primary dark background, ink on light */
  --green-deep:    #052E19;   /* secondary deep green */
  --brown-dark:    #544541;   /* dark earth brown */
  --brown-warm:    #9F8163;   /* THE brand accent — warm gold-brown */
  --grey-warm:     #605D50;   /* warm grey, muted text on light */
  --grey-soft:     #89877A;   /* soft sage grey, placeholders */
  --off-white:     #E8E5E2;   /* primary light background / text on dark */
  --paper:         #F5F2EE;   /* warm paper, default page background */
  --black-cinema:  #0A0A0A;   /* near-black for cinematic dark sections */
  --black-pure:    #050505;   /* hero letterbox / video backdrop */

  /* Brown accent at opacity — borders, washes, hairlines on dark */
  --brown-08:  rgba(159, 129, 99, 0.08);
  --brown-15:  rgba(159, 129, 99, 0.15);
  --brown-25:  rgba(159, 129, 99, 0.25);
  --brown-40:  rgba(159, 129, 99, 0.40);

  /* Hairlines */
  --hairline:       rgba(232, 229, 226, 0.16);  /* on dark */
  --hairline-dark:  rgba(4, 26, 16, 0.12);      /* on light */

  /* Off-white at opacity — body copy on dark sections */
  --ink-on-dark:        rgba(232, 229, 226, 0.88);
  --ink-on-dark-soft:   rgba(232, 229, 226, 0.70);
  --ink-on-dark-faint:  rgba(232, 229, 226, 0.45);

  /* --- Semantic aliases --------------------------------------------------- */
  --color-accent:        var(--brown-warm);
  --color-accent-hover:  var(--off-white);

  --surface-page:        var(--paper);
  --surface-light:       var(--off-white);
  --surface-dark:        var(--green-deepest);
  --surface-cinema:      var(--black-cinema);
  --surface-card:        #ffffff;

  --text-strong:         var(--green-deepest);   /* headings on light */
  --text-body:           var(--green-deepest);
  --text-muted:          var(--grey-warm);
  --text-on-dark:        var(--off-white);
  --text-eyebrow:        var(--brown-warm);

  --border-subtle:       var(--hairline-dark);
  --border-on-dark:      var(--brown-25);
  --focus-ring:          var(--brown-warm);
}


/* ===== tokens/typography.css ===== */
/* ==========================================================================
   Zada Group — Typography tokens
   Display: Abigail (high-contrast serif). Body/UI: Sweet Sans Pro.
   The brand voice in type: large airy serif headings, wide-tracked
   uppercase eyebrows, light-weight sans body.
   ========================================================================== */

:root {
  /* --- Families ----------------------------------------------------------- */
  --font-serif: 'Abigail', 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:  'Sweet Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --font-sans-airy: 'Sweet Sans Pro ExLight', 'Sweet Sans Pro', sans-serif;

  /* Legacy aliases (match the production site variable names) */
  --serif: var(--font-serif);
  --sans:  var(--font-sans);

  /* --- Weights ------------------------------------------------------------ */
  --fw-hairline: 100;  /* @kind font */
  --fw-thin:     200;  /* @kind font */
  --fw-light:    300;  /* @kind font */ /* default body weight */
  --fw-regular:  400;  /* @kind font */
  --fw-medium:   500;  /* @kind font */ /* eyebrows, buttons, labels */
  --fw-bold:     700;  /* @kind font */
  --fw-heavy:    800;  /* @kind font */

  /* --- Display scale (serif headings, fluid) ------------------------------ */
  --text-display:  clamp(3rem, 8vw, 8rem);      /* hero h1 */
  --text-h1:       clamp(2.5rem, 6vw, 5.5rem);
  --text-h2:       clamp(2rem, 4.5vw, 3.75rem);
  --text-h3:       clamp(1.5rem, 2.5vw, 2.25rem);
  --text-h4:       clamp(1.125rem, 1.5vw, 1.5rem);

  /* --- Body scale (sans) -------------------------------------------------- */
  --text-lede:   1.25rem;
  --text-lg:     1.125rem;
  --text-base:   1.0625rem;
  --text-sm:     0.95rem;
  --text-xs:     0.82rem;   /* eyebrow / label */
  --text-2xs:    0.72rem;   /* fine print, footer headers */

  /* --- Line heights ------------------------------------------------------- */
  --leading-display: 0.98;  /* @kind font */
  --leading-tight:   1.1;   /* @kind font */
  --leading-snug:    1.45;  /* @kind font */
  --leading-body:    1.75;  /* @kind font */

  /* --- Letter spacing ----------------------------------------------------- */
  --tracking-display: -0.02em;  /* @kind font */ /* tighten large serif */
  --tracking-tight:   -0.01em;  /* @kind font */
  --tracking-body:     0.01em;  /* @kind font */
  --tracking-eyebrow:  0.20em;  /* @kind font */ /* wide uppercase labels */
  --tracking-cue:      0.32em;  /* @kind font */ /* widest — "scroll to enter" cues */
}


/* ===== tokens/spacing.css ===== */
/* ==========================================================================
   Zada Group — Spacing, layout, radius, shadow, motion tokens
   ========================================================================== */

:root {
  /* --- Layout ------------------------------------------------------------- */
  --max-width: 1440px;        /* @kind spacing */
  --content-narrow: 880px;    /* @kind spacing */
  --gutter: clamp(1.25rem, 4vw, 4rem);     /* @kind spacing */
  --section-y: clamp(4rem, 8vw, 8rem);     /* @kind spacing */ /* default vertical section rhythm */
  --section-y-lg: clamp(6rem, 10vw, 10rem);  /* @kind spacing */

  /* --- Spacing scale ------------------------------------------------------ */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-8: 3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 6rem;

  /* --- Radius (the brand is mostly sharp; small radius only on inputs/btns) */
  --radius-none: 0;
  --radius-sm: 6px;     /* buttons, inputs */
  --radius-md: 14px;    /* device mockups */
  --radius-pill: 999px;

  /* --- Shadows ------------------------------------------------------------ */
  --shadow-card:   0 20px 40px rgba(0, 0, 0, 0.15);
  --shadow-lift:   0 30px 60px rgba(0, 0, 0, 0.25);
  --shadow-cinema: 0 40px 80px rgba(0, 0, 0, 0.50);

  /* --- Motion ------------------------------------------------------------- */
  --ease-out-soft: cubic-bezier(0.16, 1, 0.3, 1);  /* @kind other */ /* signature reveal ease */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);   /* @kind other */
  --dur-fast: 0.25s;   /* @kind other */
  --dur-base: 0.4s;    /* @kind other */
  --dur-slow: 0.6s;    /* @kind other */
  --dur-reveal: 1.1s;  /* @kind other */ /* scroll reveals */
}


/* ===== tokens/base.css ===== */
/* ==========================================================================
   Zada Group — Base layer
   Element defaults + a few brand utility classes. Built on the tokens.
   ========================================================================== */

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

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

body {
  font-family: var(--font-sans);
  font-weight: var(--fw-light);
  font-size: 16px;
  line-height: var(--leading-body);
  color: var(--text-body);
  background: var(--surface-page);
  letter-spacing: var(--tracking-body);
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--dur-fast) ease, color var(--dur-fast) ease;
}
a:hover { opacity: 0.7; }

/* --- Headings: the serif display voice ----------------------------------- */
h1, h2, h3, h4, .serif {
  font-family: var(--font-serif);
  font-weight: var(--fw-regular);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
}
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

/* The signature heading treatment: italic Abigail with a brown accent word.
   (Abigail renders upright; faux-italic is intentionally avoided.) */
.display {
  font-family: var(--font-serif);
  font-weight: var(--fw-regular);
  font-size: var(--text-display);
  line-height: var(--leading-display);
  letter-spacing: var(--tracking-display);
}
.display strong, h1 strong, h2 strong {
  font-weight: var(--fw-regular);
  color: var(--brown-warm);
}

/* --- Eyebrow: wide-tracked uppercase label ------------------------------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: var(--fw-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-eyebrow);
}

/* --- Body copy ----------------------------------------------------------- */
p { font-size: var(--text-base); line-height: var(--leading-body); max-width: 65ch; }
p + p { margin-top: 1.25rem; }

.lede { font-size: var(--text-lede); line-height: 1.6; color: var(--text-muted); }

/* --- Layout primitives --------------------------------------------------- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section { padding: var(--section-y) 0; }

.section-dark {
  background: var(--surface-dark);
  color: var(--text-on-dark);
}
.section-dark .eyebrow { color: var(--brown-warm); }
.section-dark .lede { color: var(--ink-on-dark-soft); }

.section-cinema {
  background: var(--surface-cinema);
  color: var(--text-on-dark);
}

/* --- Hairline rule ------------------------------------------------------- */
.rule { border: 0; border-top: 1px solid var(--border-subtle); }
.section-dark .rule, .section-cinema .rule { border-color: var(--brown-25); }

