/* Rancho Delicioso theme: the ONE place for colours, fonts, sizes, radii, shadows and spacing.
   Eco village palette: leafy yellow-greens, white, sky blue, tan, browns and terra cotta.
   Change a value here and the whole site follows. Components never use literal colours. */

:root {
  /* palette */
  --leaf: #8dbb2f;          /* yellow-green, the main brand green */
  --lime: #c3d939;          /* new-growth highlight */
  --moss: #557d22;          /* deeper green for text on light */
  --forest: #26401a;        /* darkest green */
  --sky: #86c8ec;
  --sky-deep: #2f86bd;
  --sky-pale: #e6f4fb;
  --tan: #e4cfa6;
  --sand: #f5ecda;
  --cream: #fcf9f2;
  --white: #ffffff;
  --clay: #c7623a;          /* terra cotta */
  --clay-deep: #a2482a;
  --clay-pale: #f6e1d5;
  --bark: #6c4a2f;
  --soil: #33241a;

  /* surfaces and text */
  --bg: var(--white);
  --bg-alt: var(--cream);
  --bg-sand: var(--sand);
  --surface: var(--white);
  --line: #e9dfcb;
  --text: #33291f;
  --text-soft: #66574a;
  --text-faint: #978876;
  --heading: var(--forest);
  --link: var(--moss);
  --link-hover: var(--clay);
  --accent: var(--clay);
  --accent-green: var(--leaf);

  /* buttons */
  --btn-bg: var(--leaf);
  --btn-bg-hover: var(--moss);
  --btn-text: var(--white);
  --btn-alt-bg: var(--clay);
  --btn-alt-hover: var(--clay-deep);
  --btn-alt-text: var(--white);

  /* header + footer */
  --header-bg: rgba(252, 249, 242, 0.94);
  --header-text: var(--forest);
  --header-line: rgba(108, 74, 47, 0.14);
  --menu-bg: var(--white);
  --menu-text: var(--text);
  --menu-hover: var(--sand);
  --menu-shadow: 0 26px 60px rgba(51, 36, 26, 0.18);
  --footer-bg: var(--soil);
  --footer-text: #e8dccb;
  --footer-soft: #b9a68f;
  --footer-head: var(--lime);

  /* coloured bands on the home page */
  --band-green-bg: var(--forest);
  --band-green-text: #eef3df;
  --band-green-soft: #c4d3a8;
  --band-green-accent: var(--lime);
  --band-clay-bg: var(--clay);
  --band-clay-text: #fff6ef;
  --band-clay-soft: #fbd9c6;
  --band-sky-bg: var(--sky-pale);
  --band-sky-text: #17394f;
  --band-sand-bg: var(--sand);
  --tone-white: var(--bg);           /* home page bands, used by the waves between them */
  --tone-sand: var(--band-sand-bg);
  --tone-green: var(--band-green-bg);
  --tone-clay: var(--band-clay-bg);
  --tone-sky: var(--band-sky-bg);

  /* stickers (category labels) */
  --sticker-bg: var(--lime);
  --sticker-text: var(--forest);
  --sticker-alt-bg: var(--clay);
  --sticker-alt-text: var(--white);
  --sticker-sky-bg: var(--sky);
  --sticker-sky-text: #0f3249;

  /* glass, chips on photos, scrims */
  --glass-bg: rgba(252, 249, 242, 0.14);
  --glass-bg-hover: rgba(252, 249, 242, 0.24);
  --glass-line: rgba(255, 255, 255, 0.28);
  --chip-photo-bg: rgba(255, 255, 255, 0.16);
  --chip-photo-line: rgba(255, 255, 255, 0.45);
  --scrim: rgba(51, 36, 26, 0.45);         /* behind menus, photo captions */
  --footer-line: rgba(232, 220, 203, 0.15);
  --footer-chip-line: rgba(232, 220, 203, 0.25);

  /* photo overlays */
  --veil: linear-gradient(180deg, rgba(26, 18, 10, 0.25) 0%, rgba(26, 18, 10, 0) 30%, rgba(26, 18, 10, 0.1) 55%, rgba(26, 18, 10, 0.78) 100%);
  --veil-card: linear-gradient(180deg, rgba(26, 18, 10, 0) 40%, rgba(26, 18, 10, 0.82) 100%);
  --on-photo: var(--white);
  --on-photo-soft: #f2e9dc;
  --photo-placeholder: linear-gradient(135deg, var(--sand), var(--tan));
  --lightbox-bg: rgba(24, 17, 11, 0.94);
  --hero-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
  --dot: rgba(255, 255, 255, 0.45);
  --dot-on: var(--lime);

  /* map (shared module tokens) */
  --map-water: #86c8ec;
  --map-ring: rgba(255, 255, 255, 0.9);
  --map-dot: var(--white);
  --map-dot-ring: rgba(199, 98, 58, 0.55);
  --map-star: var(--clay);
  --map-star-glow: rgba(255, 196, 150, 0.95);
  --map-sparkle: #ffffff;
  --map-label-bg: rgba(252, 249, 242, 0.92);
  --map-label-text: var(--forest);
  --map-card-bg: rgba(255, 255, 255, 0.97);
  --map-card-text: var(--text-soft);
  --map-card-head: var(--forest);
  --map-card-link: var(--clay-deep);

  /* fields, pickers, tooltips */
  --field-bg: var(--cream);
  --field-text: var(--text);
  --field-line: var(--line);
  --field-focus: var(--leaf);
  --picker-bg: var(--white);
  --picker-text: var(--text);
  --picker-hover: var(--sand);
  --tip-bg: var(--soil);
  --tip-text: var(--cream);
  --select-bg: var(--sand);

  /* type */
  --f-display: "Bricolage Grotesque", "Avenir Next", "Helvetica Neue", Arial, sans-serif;  /* headlines */
  --f-body: "Figtree", "Avenir Next", "Helvetica Neue", Arial, sans-serif;                   /* body, menus, buttons */
  --f-prose: "Literata", "Iowan Old Style", Georgia, serif;                                  /* long articles */
  --f-hand: "Caveat Brush", "Segoe Print", cursive;                                          /* hand-lettered eyebrows */
  --fs-hero: clamp(3rem, 8.2vw, 7.6rem);
  --fs-h1: clamp(2.3rem, 5vw, 4.4rem);
  --fs-h2: clamp(1.9rem, 3.6vw, 3.2rem);
  --fs-h3: clamp(1.2rem, 1.7vw, 1.5rem);
  --fs-tile: clamp(1.35rem, 2.1vw, 2rem);
  --fs-tile-sm: 1.08rem;
  --fs-hand: clamp(1.4rem, 2.2vw, 2rem);
  --fs-lede: clamp(1.08rem, 1.3vw, 1.25rem);
  --fs-prose: 1.1rem;
  --fs-body: 1.0625rem;
  --fs-small: 0.92rem;
  --fs-caption: 0.84rem;
  --fs-label: 0.76rem;
  --fs-nav: 0.95rem;
  --fs-button: 0.96rem;
  --fs-h4: 1.3rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-heavy: 800;
  --fst-display: normal;
  --lh-solid: 1;
  --lh-tight: 1.05;
  --lh-heading: 1.15;
  --lh-snug: 1.4;
  --lh-body: 1.65;
  --lh-prose: 1.8;
  --ls-tight: -0.025em;
  --ls-soft: 0.03em;
  --ls-label: 0.14em;

  /* shapes */
  --radius-xl: 40px;
  --radius-lg: 26px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-xs: 6px;
  --radius-pill: 999px;
  --blob-a: 58% 42% 54% 46% / 46% 56% 44% 54%;    /* organic photo masks */
  --blob-b: 42% 58% 38% 62% / 55% 38% 62% 45%;
  --blob-c: 50% 50% 46% 54% / 62% 48% 52% 38%;
  --bw: 1px;
  --border: var(--bw) solid var(--line);
  --shadow: 0 22px 60px rgba(51, 36, 26, 0.16);
  --shadow-soft: 0 10px 30px rgba(51, 36, 26, 0.1);
  --tilt: -2deg;                 /* stickers and hand-lettering */

  /* spacing */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 40px;
  --sp-9: 56px;
  --sp-10: 80px;
  --gutter: clamp(16px, 3.2vw, 56px);
  --section: clamp(56px, 8vw, 124px);
  --gap: clamp(14px, 1.8vw, 28px);
  --wide: 1520px;
  --measure: 70ch;
  --article: 1180px;             /* post column (Geoff 2026-Oct-25: side margins half as wide) */
  --float-width: min(42%, 460px); /* photos beside the text, so the words keep at least ~58% of the column */
  --pic-row-min: 220px;          /* photos in a row of 3+ */
  --header-h: 76px;
  --hero-h: min(92vh, 940px);
  --ahero-h: min(101vh, 988px);  /* post header photo, 30% taller than before */
  --ahero-focus: 50% 35%;        /* crop from 15% above the middle, so heads aren't cut off */
  --wave-h: clamp(28px, 4vw, 64px);

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --fade: 1800ms;
  --slide-every: 7s;

  color-scheme: light;
}

/* ===== New design (Monsoon Terrace, Geoff's pick 2026-Oct-31): every token for pages with body class "v2" =====
   Used by /index2.html (public/assets/home2.css) while we develop it; becomes the whole site's theme at launch. */
.v2 {
  --turq: #26a69a; --turq-pale: #d9f1ed; --sand: #f3e8d2; --cream: #faf5ea;
  --bamboo-dark: #304c22; --bamboo-tan: #cda55a; --bamboo-tan-deep: #a9823a;
  --white: #ffffff; --nav-ink: #e9f0d8; --veil: rgba(38, 64, 26, .85); --story-veil-a: rgba(51, 36, 26, .35); --story-veil-b: rgba(51, 36, 26, .85);
  --lime-glow: rgba(195, 217, 57, .15); --lime-wash: rgba(195, 217, 57, .12);
  --bg: var(--sand); --ink: #3a2c20; --ink-soft: #6b5846; --head: var(--soil); --accent: var(--moss); --kick: var(--bark);
  --link: var(--soil); --on-link: var(--lime); --more-bg: rgba(108, 74, 47, .1); --motif: var(--bark);
  --btn: var(--soil); --on-btn: var(--lime); --btn-shade: var(--leaf); --btn-ghost: var(--soil);
  --card: var(--cream); --card-shade: var(--bark); --oval-ring: 4px; --oval-ring-c: var(--soil);
  --user-bg: var(--lime); --user-ring: var(--lime); --user-fg: var(--forest); --user-tx: var(--lime);
  --strip-btn: var(--soil); --strip-btn-fg: var(--lime);
  --foot-bg: var(--soil); --foot-ink: #eadcc6; --foot-soft: #b8a283; --foot-hi: var(--lime); --foot-motif: var(--bamboo-tan); --foot-badge: var(--cream);
  --green-head: #eef5df; --green-ink: #dfe9cc; --green-soft: #b9caa0;
  --tan-ink: #3d2c18; --tan-soft: #5b4426; --tan-wash: rgba(51, 36, 26, .12);
  --font-h: 'Bricolage Grotesque', system-ui, sans-serif; --font-b: 'Figtree', system-ui, sans-serif; --font-hand: 'Caveat Brush', cursive; --fw-h: 800;
  --fs-b: 17px; --fs-s: 14px; --fs-xs: 11px; --fs-nav: 14.5px; --fs-hand: 26px; --fs-h1: clamp(50px, 7vw, 92px); --fs-h2: clamp(32px, 4vw, 48px); --fs-h4: 19px;
  --fs-quote: clamp(30px, 4.4vw, 54px); --fs-stat: 48px;
  --wrap: 1240px; --gap: 26px; --sec-pad: 70px; --r-lg: 24px; --r-md: 14px; --r-sm: 10px;
  --bounce: cubic-bezier(.3, 1.8, .5, 1); --spring: cubic-bezier(.3, 1.6, .5, 1); --glide: cubic-bezier(.2, .8, .2, 1);
  --slide-every: 5.2s;
  --terra-wash: #f3ddcc; --terra-more: rgba(199, 98, 58, .14);   /* light earthy terra cotta band (home page projects) */
  --rent-a: var(--white); --rent-b: #eef1df; --rent-b-line: #dfe5c6;   /* Rentals page: white, then a very light earthy green */
}
