/* The Binky Burrow Home, finished in Brittanie's own design (October 22).
   Her colours, sizes, borders and offset shadows are taken from her live home page's CSS;
   the sky and cream come from her own header artwork so her art blends into the page.
   Every raw value for the page lives here. */
@font-face { font-family: "Nunito"; src: url("../fonts/nunito-latin-wght-normal.woff2") format("woff2"); font-weight: 200 1000; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Patrick Hand"; src: url("../fonts/patrick-hand-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  /* Colour: her palette (live site :root and section colours; teal and frame are hers, kept for the other pages) */
  --color-navy: #12345d;
  --color-navy-deep: #0c2747;
  --color-teal: #72cbd0;
  --color-cream: #fffaf0;
  --color-paper: #fffdf7;
  --color-white: #ffffff;
  --color-yellow: #ffda63;
  --color-pink: #f8d9e5;
  --color-green: #dff1df;
  --color-blue: #dff4f5;
  --color-band: #d7f2f2;
  --color-frame: #cceff0;
  --color-num: #f1a8c1;
  --color-muted: #536064;
  --color-muted-strong: #173a61;
  --color-card-green: #f4fff7;
  --color-card-green-line: #3f9b70;
  --color-card-yellow: #fffaf0;
  --color-card-yellow-line: #e2bd39;
  --color-card-pink: #fff4f7;
  --color-card-pink-line: #e28aaa;
  --color-rule: rgba(20, 55, 95, 0.14);
  --color-on-navy: #ffffff;
  --color-on-navy-muted: #d7e3f0;

  /* Colour: from her header artwork (sampled), so the art sits on the page without a seam */
  --color-sky-top: #5cbbcf;
  --color-sky-bottom: #64c6d9;
  --color-art-cream: #faf7ec;

  /* Focus, toast */
  --color-focus: var(--color-navy);
  --color-focus-on-dark: var(--color-yellow);
  --color-toast: var(--color-navy-deep);
  --color-toast-ink: var(--color-white);
  --color-backdrop: rgba(12, 39, 71, 0.55);

  /* Type: her body font (Arial), plus the lettering of her header artwork */
  --font-body: Arial, Helvetica, sans-serif;
  --font-display: "Nunito", "Arial Rounded MT Bold", Arial, sans-serif;
  --font-hand: "Patrick Hand", "Comic Sans MS", "Chalkboard SE", cursive;
  --weight-body: 400;
  --weight-bold: 700;
  --weight-heavy: 900;
  --weight-display: 900;
  --weight-display-ui: 800;
  --weight-lede: 600;
  --tracking-nav: 0.02em;
  --tracking-tight: -0.01em;
  --fs-body: 1rem;
  --fs-small: 0.86rem;
  --fs-fine: 0.8125rem;
  --fs-nav: 0.8125rem;
  --fs-btn: 0.9375rem;
  --fs-btn-small: 0.8125rem;
  --fs-h3: 1.5625rem;
  --fs-h2: clamp(2.125rem, 1.75rem + 1.2vw, 2.625rem);
  --fs-price: 2.625rem;
  --fs-quote: 1.25rem;
  --fs-hero: clamp(2.5rem, 1.1rem + 3.7vw, 4rem);
  --fs-hero-lede: clamp(1.0625rem, 0.95rem + 0.35vw, 1.25rem);
  --fs-hand: clamp(1.375rem, 1.15rem + 0.7vw, 1.75rem);
  --fs-hand-quote: clamp(1.5rem, 1.25rem + 0.8vw, 1.875rem);
  --fs-mascot-bio: clamp(1.0625rem, 0.98rem + 0.3vw, 1.1875rem);
  --fs-finder: clamp(1.5rem, 1.3rem + 0.6vw, 1.875rem);
  --fs-pill: 1rem;
  --fs-num: 1.25rem;
  --fs-close: 1.75rem;
  --leading-body: 1.55;
  --leading-tight: 1.05;
  --leading-hero: 0.94;
  --leading-list: 1.35;
  --leading-small: 1.45;
  --leading-hand: 1.15;

  /* Space: her section padding, gutters and gaps */
  --space-3xs: 4px;
  --space-2xs: 7px;
  --space-xs: 10px;
  --space-s: 14px;
  --space-m: 18px;
  --space-l: 22px;
  --space-xl: 28px;
  --space-2xl: 38px;
  --space-3xl: 48px;
  --space-section: 65px;
  --space-section-dark: 45px;
  --gutter: 22px;
  --nav-pad-x: max(16px, 4%);
  --nav-pad-x-phone: max(16px, 3%);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --hero-pad-x: 5.3%;
  --wrap: 1180px;
  --measure: 62ch;
  --toast-width: 30rem;
  --dialog-width: 40rem;

  /* Shape: her borders, radii and offset shadows */
  --border: 3px;
  --border-thin: 2px;
  --border-hero: 4px;
  --rule: 1px;
  --radius-btn: 15px;
  --radius-pill: 999px;
  --radius-card: 24px;
  --radius-step: 22px;
  --radius-item: 18px;
  --radius-art: 28px;
  --radius-small: 8px;
  --shadow-btn: 4px 4px 0 rgba(18, 52, 93, 0.15);
  --shadow-btn-hover: 6px 6px 0 rgba(18, 52, 93, 0.2);
  --shadow-btn-press: 1px 1px 0 rgba(18, 52, 93, 0.15);
  --shadow-card: 7px 7px 0 rgba(18, 52, 93, 0.12);
  --shadow-pill: 0 4px 0 rgba(12, 39, 71, 0.18);
  --shadow-dialog: 10px 10px 0 rgba(12, 39, 71, 0.25);
  --title-stroke: 0.12em;
  --title-shadow: 0.05em 0.06em 0 var(--color-navy-deep);
  --lift: -2px;
  --press: 2px;
  --tilt-quote: -3deg;
  --tilt-hand: -1.5deg;

  /* Sizes */
  --logo: 118px;
  --logo-phone: 86px;
  --logo-footer: 190px;
  --logo-footer-phone: 165px;
  --nav-min: 96px;
  --nav-min-phone: 78px;
  --num: 42px;
  --avatar: 56px;
  --tap: 44px;
  --focus-width: 3px;
  --focus-offset: 3px;
  --hero-copy: 0.45fr;
  --hero-art: 0.55fr;
  --art-ratio: 964 / 595;
  --mascot-ratio: 690 / 339;
  --fade-edge: 9%;
  --book-h: 3.25rem;
  --scroll-pad: 120px;

  /* Geometry details (chevrons, hearts, ticks, columns, angles) */
  --chev: 0.55em;
  --chev-r: 0.5em;
  --chev-nudge: -25%;
  --rot-down: 45deg;
  --rot-up: -135deg;
  --bars-w: 1em;
  --bars-gap: 0.3em;
  --underline-offset: 0.2em;
  --to-bottom: 180deg;
  --to-right: 90deg;
  --to-left: 270deg;
  --mask-solid: #000;
  --heart-hand: 1.1em;
  --heart-h2: 0.6em;
  --heart-quote: 1em;
  --heart-stroke: 3;
  --hand-measure: 16.5em;
  --lede-measure: 34em;
  --leading-hand-lines: 1.5;
  --leading-none: 1;
  --hl-pad-y: 0.08em;
  --hl-pad-x: 0.35em;
  --tick: 1.6rem;
  --tick-stroke: 2;
  --tick-small: 1.3rem;
  --radius-round: 50%;
  --tilt-check: 2deg;
  --checklist-w: 22rem;
  --quote-max: 22rem;
  --dialog-max-h: min(88dvh, 52rem);
  --toast-max: 92vw;
  --mascot-col-art: 41fr;
  --mascot-col-copy: 38fr;
  --mascot-col-quote: 21fr;
  --oneoff-col-copy: 1fr;
  --oneoff-col-list: 1.3fr;
  --library-col-books: 1.2fr;
  --library-col-check: 1fr;
  --faq-col-head: 1fr;
  --faq-col-list: 1.6fr;
  --z-nav: 20;
  --z-toast: 90;
  --z-skip: 100;

  /* About and Contact pages */
  --fs-page-title: clamp(2.25rem, 1.5rem + 2.4vw, 3.5rem);
  --fs-statement: clamp(1.5rem, 1.2rem + 1vw, 2.125rem);
  --fs-input: 1rem;
  --color-error: #a3164a;
  --radius-input: 12px;
  --textarea-min: 9rem;
  --page-col-copy: 1.4fr;
  --page-col-art: 1fr;
  --about-art-max: 340px;
  --about-art-max-phone: 240px;
  --prose-col-text: 1.5fr;
  --prose-col-side: 1fr;
  --contact-col-form: 1.35fr;
  --contact-col-side: 1fr;

  /* Library, articles and FAQ pages */
  --gallery-min: 13.5rem;
  --search-w: 26rem;
  --lib-col-head: 1fr;
  --lib-col-body: 1.35fr;
  --faq-page-col-head: 1fr;
  --faq-page-col-list: 2fr;

  /* Motion: quick feedback on buttons only (her chunky buttons press in) */
  --dur-fast: 140ms;
  --dur-base: 240ms;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Handout page (1.0.5): the flyer preview and the vertical Ask Binx video */
:root {
  --handout-flyer-max: 26rem;
  --handout-video-max: 18rem;
}

/* Checkout (1.0.8): the width of the plan box beside the form */
:root {
  --checkout-plan-w: 24rem;
}
