/* nàdar — generated from tokens.json */
:root, [data-theme="light"] {
  --brand-primary: #585123; /* nàdar olive — the core brand colour (#585123). Primary buttons, headings on light grounds, footer and CTA bands. White text on it is 8.0:1. */
  --brand-accent: #635d30; /* Accent olive (#635D30). Hover/pressed tone and secondary fills; white text on it passes AA. */
  --brand-secondary: #dcd500; /* Citron (#DCD500). Highlight only: CTA fills on olive or dark grounds, a rule or a dot. Never text on light grounds (1.6:1). olive-900 text on it is 10.4:1. */
  --brand-text: #000000; /* Brand body text colour (#000000). */
  --brand-text-secondary: #444444; /* Brand secondary text colour (#444444). */
  --logo-ink: #837a4f; /* The ink of the supplied nàdar logo artwork. Logo only — never body text (4.2:1 on white). */
  --leaf-sage: #89ac91; /* The thin sage outline on the full-colour oak-leaf mark. Logo artwork only. */
  --olive-50: #f6f5ec; /* Lightest olive tint: selected rows, quiet fills. */
  --olive-100: #ebe9d4; /* Olive tint: tag fills, hover on light surfaces. */
  --olive-200: #d6d2ab; /* Olive tint: dividers on olive-50, chart fills. */
  --olive-300: #bab47f; /* Mid olive: decorative lines, dark-theme actions. */
  --olive-400: #918a52; /* Mid olive: icons on dark grounds, chart series. */
  --olive-500: #635d30; /* = brand-accent. */
  --olive-600: #585123; /* = brand-primary. */
  --olive-700: #47411b; /* Hover/pressed for primary buttons. */
  --olive-800: #353115; /* Deep olive: dark-theme brand band. */
  --olive-900: #24210e; /* Darkest olive: text on citron. */
  --citron-50: #fcfbe3; /* Palest citron: testimonial and highlight bands (the website's pale yellow). */
  --citron-100: #f6f3b4; /* Citron tint: highlight marks on text, new-item flash. */
  --citron-300: #e9e36a; /* Citron hover on CTA fills. */
  --citron-500: #dcd500; /* = brand-secondary. */
  --citron-700: #8a8600; /* Citron shade: chart series only. */
  --paper: #fbfaf6; /* Paper white: default page ground — warmer than #fff. */
  --stone-50: #f5f2ea; /* Stone: alternate section ground, tool canvas. */
  --stone-100: #ede8dc; /* Stone: input fills in dense tools, table headers. */
  --stone-200: #dfd8c8; /* Stone: hairlines and card borders. */
  --stone-300: #c8bfaa; /* Stone: disabled borders, image placeholders. */
  --stone-400: #a59c87; /* Stone: placeholder icons. */
  --stone-500: #7d7563; /* Stone: control borders (4.6:1 on white); = border-strong. */
  --stone-600: #5f594a; /* Stone: muted text on paper (6.7:1); = text-muted. */
  --stone-700: #433f34; /* Stone: dark-theme borders. */
  --stone-800: #2a2822; /* Stone: dark-theme raised surface. */
  --stone-900: #181712; /* Stone: dark-theme page ground. */
  --oak-100: #f2e8d7; /* Oak tint: warm section ground behind project stories. */
  --oak-200: #e4d0b0; /* Oak tint: image placeholders, before/after dividers. */
  --oak-300: #cfae80; /* Oak: decorative rules, chart series. */
  --oak-500: #a8804f; /* Oak: chart series, illustration ink. */
  --oak-700: #6e5233; /* Oak shade: text on oak-100 (5.9:1). */
  --bg: #fbfaf6; /* Page ground. Body text `text` sits on it. */
  --bg-subtle: #f4f1e8; /* Alternate section ground (stone) and the tool canvas. All text tokens pass on it. */
  --bg-oak: #f2e8d7; /* Warm oak-tint section ground for stories and case-study pull-outs. */
  --bg-highlight: #fbf9dc; /* Pale citron band for testimonials and reviews. */
  --bg-brand: #585123; /* Olive band: footer, CTA band, social backgrounds. Use `text-on-brand` on it. */
  --bg-brand-strong: #47411b; /* Deeper olive for the footer base strip and pressed states on olive. */
  --surface: #ffffff; /* Cards, inputs, menus, table body. */
  --surface-raised: #ffffff; /* Popovers, dropdowns and modals (pair with shadow-3). */
  --surface-sunken: #f5f2ea; /* Wells inside cards, code and read-only fields. */
  --text: #000000; /* Primary text (brand #000000) on bg, bg-subtle, bg-oak, bg-highlight and surface. */
  --text-secondary: #444444; /* Secondary text (brand #444444): body copy in long-form, descriptions, on every light ground. */
  --text-muted: #5f594a; /* Metadata, captions, helper text, placeholder — on bg, bg-subtle, surface. */
  --text-heading: #585123; /* Headings in Libre Baskerville on light grounds (olive, as on the website and proposals). */
  --text-link: #585123; /* Inline links (always underlined) on light grounds. */
  --text-link-hover: #353115; /* Link hover. */
  --text-on-brand: #ffffff; /* Text and icons on bg-brand, action-primary and photography scrims. */
  --text-on-brand-muted: #e3e0c8; /* Secondary text on bg-brand (footer links, captions). */
  --text-accent-on-brand: #dcd500; /* Citron for a single highlighted word, number or rule on bg-brand only. */
  --text-disabled: #8f887a; /* Disabled labels. Exempt from contrast; never for information. */
  --action-primary: #585123; /* Primary button fill. */
  --action-primary-hover: #47411b; /* Primary button hover/pressed fill. */
  --on-action-primary: #ffffff; /* Label on action-primary. */
  --action-cta: #dcd500; /* Citron CTA fill — only on bg-brand, photography or the dark theme. One per view. */
  --action-cta-hover: #e9e36a; /* Citron CTA hover. */
  --on-action-cta: #24210e; /* Label on action-cta (10.4:1). */
  --action-secondary: #585123; /* Outline-button border and label on light grounds. */
  --action-secondary-hover-bg: #ebe9d4; /* Outline/ghost button hover fill. */
  --border: #dfd8c8; /* Hairlines, card borders, dividers (decorative, not meaningful). */
  --border-strong: #7d7563; /* Input and checkbox borders — 3:1+ on surface and bg. */
  --focus-ring: #585123; /* 2px focus outline with 2px offset, on every light ground. */
  --focus-ring-on-brand: #dcd500; /* Focus outline on bg-brand and photography. */
  --row-hover: #f6f5ec; /* Table row hover, list item hover. */
  --row-selected: #ebe9d4; /* Selected table row or nav item fill. */
  --success: #2d6a47; /* Success text/icon (pine — kept off the olive axis). On bg, surface and success-soft. */
  --success-soft: #e3f0e7; /* Success banner/tag fill. */
  --warning: #8a5208; /* Warning text/icon (ochre). On bg, surface and warning-soft. */
  --warning-soft: #fbefd8; /* Warning banner/tag fill. */
  --error: #a3372a; /* Error text/icon (brick). On bg, surface and error-soft. */
  --error-soft: #f8e3df; /* Error banner/tag fill, invalid input tint. */
  --info: #335a72; /* Info text/icon (slate). On bg, surface and info-soft. */
  --info-soft: #e3edf3; /* Info banner/tag fill. */
  --scrim: rgba(20, 19, 14, 0.55); /* Overlay on photography under white text; also modal backdrop. */
  --data-1: #585123; /* Chart series 1 (olive). */
  --data-2: #a8804f; /* Chart series 2 (oak). */
  --data-3: #5c8466; /* Chart series 3 (sage). */
  --data-4: #8f8820; /* Chart series 4 (citron shade). */
  --data-5: #7d7563; /* Chart series 5 (stone). */
  --shadow-1: 0 1px 2px rgba(36, 33, 14, 0.06), 0 1px 1px rgba(36, 33, 14, 0.04); /* Resting cards in tools; sticky header after scroll. */
  --shadow-2: 0 6px 16px rgba(36, 33, 14, 0.08), 0 1px 3px rgba(36, 33, 14, 0.06); /* Card hover lift on marketing pages, dropdowns. */
  --shadow-3: 0 18px 44px rgba(36, 33, 14, 0.14), 0 2px 6px rgba(36, 33, 14, 0.08); /* Modals, popovers, the mobile menu sheet. */
}
[data-theme="dark"] {
  --bg: #14130e;
  --bg-subtle: #1b1a14;
  --bg-oak: #28231a;
  --bg-highlight: #29281a;
  --bg-brand: #353115;
  --bg-brand-strong: #24210e;
  --surface: #1f1e17;
  --surface-raised: #2a2820;
  --surface-sunken: #100f0b;
  --text: #f3f0e4;
  --text-secondary: #cfcab9;
  --text-muted: #a8a28f;
  --text-heading: #ddd8aa;
  --text-link: #e2dc8e;
  --text-link-hover: #f2eeb4;
  --text-on-brand: #f3f0e4;
  --text-on-brand-muted: #c9c4a8;
  --text-accent-on-brand: #dcd500;
  --text-disabled: #6c675a;
  --action-primary: #cfc888;
  --action-primary-hover: #e0da9e;
  --on-action-primary: #1a180c;
  --action-cta: #dcd500;
  --action-cta-hover: #e9e36a;
  --on-action-cta: #24210e;
  --action-secondary: #cfc888;
  --action-secondary-hover-bg: #2c2a1a;
  --border: #36342a;
  --border-strong: #8a8470;
  --focus-ring: #dcd500;
  --focus-ring-on-brand: #dcd500;
  --row-hover: #25241b;
  --row-selected: #302e1b;
  --success: #8fcaa3;
  --success-soft: #16291e;
  --warning: #e9b866;
  --warning-soft: #30230c;
  --error: #f19d90;
  --error-soft: #36191a;
  --info: #9cc3da;
  --info-soft: #162630;
  --scrim: rgba(10, 9, 6, 0.6);
  --data-1: #cfc888;
  --data-2: #d6b07e;
  --data-3: #9fc0a7;
  --data-4: #e3dc5a;
  --data-5: #b0a891;
  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-2: 0 6px 16px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.35);
  --shadow-3: 0 18px 44px rgba(0, 0, 0, 0.55), 0 2px 6px rgba(0, 0, 0, 0.4);
}
:root {
  --space-1: 4px; /* Icon-to-label gap, tag padding (vertical). */
  --space-2: 8px; /* Tight stacks, tool table cell padding (vertical), gap between inline controls. */
  --space-3: 12px; /* Input padding (horizontal, dense), tool cell padding (horizontal). */
  --space-4: 16px; /* Input padding, card padding in tools, mobile page gutter. */
  --space-5: 24px; /* Card padding on marketing cards, grid gutter, button horizontal padding. */
  --space-6: 32px; /* Gap between heading and body block; tool panel padding. */
  --space-7: 48px; /* Gap between components within a section. */
  --space-8: 64px; /* Section padding on mobile; email section spacing. */
  --space-9: 96px; /* Section padding on desktop. */
  --space-10: 128px; /* Hero padding, generous breaks before CTA bands. */
  --space-11: 160px; /* Maximum breathing room around a single statement (quote or ethos line). */
  --radius-none: 0px; /* Full-bleed photography, hero images, bands. */
  --radius-xs: 2px; /* Inline photos in cards and galleries, checkboxes. */
  --radius-sm: 4px; /* Buttons, inputs, selects, tool cards, tags in tables. */
  --radius-md: 8px; /* Marketing cards, panels, modals, proposal image tiles. */
  --radius-pill: 999px; /* Filter chips, status tags and the header 'Get in touch' button only. */
  --border-hairline: 1px; /* Dividers, card borders, table rules. */
  --border-emphasis: 2px; /* Active tab underline, selected card outline, rule under a heading. */
  --focus-width: 2px; /* Focus outline width (with focus-offset). */
  --focus-offset: 2px; /* Gap between a control and its focus outline. */
  --container-max: 1200px; /* Content container on marketing pages (12 columns). */
  --container-wide: 1440px; /* Gallery and full-width image grids. */
  --container-text: 680px; /* Reading measure for long-form copy and case-study text. */
  --grid-gutter: 24px; /* Column gap on desktop (12-col) and tablet (8-col). */
  --grid-gutter-mobile: 16px; /* Column gap and side margin on mobile (4-col). */
  --section-y: 96px; /* Vertical padding per marketing section (desktop). */
  --section-y-mobile: 64px; /* Vertical padding per marketing section (mobile). */
  --header-height: 80px; /* Website header height (64px under 900px). */
  --control-height: 48px; /* Marketing buttons and inputs (touch-friendly). */
  --control-height-compact: 36px; /* Tool buttons and inputs. */
  --row-height: 44px; /* Tool table rows (comfortable). */
  --row-height-compact: 32px; /* Tool table rows (dense mode). */
  --tool-sidebar: 240px; /* Internal-tool sidebar width. */
  --tool-topbar: 56px; /* Internal-tool top bar height. */
  --bp-sm: 600px; /* Breakpoint: phone to small tablet. */
  --bp-md: 900px; /* Breakpoint: tablet to desktop (nav collapses below). */
  --bp-lg: 1200px; /* Breakpoint: full desktop. */
  --font-serif: "Libre Baskerville", Baskerville, Georgia, serif;
  --font-sans: "Nadar Sans", "Helvetica Neue", Arial, sans-serif;
  --text-display-xl: 400 64px/72px var(--font-serif); /* Hero headline over photography; one per page. Mobile: use display. */
  --text-display: 400 48px/56px var(--font-serif); /* Page titles, social post headlines, proposal cover titles. */
  --text-heading-1: 400 40px/48px var(--font-serif); /* Section titles on marketing pages and proposal slide titles. */
  --text-heading-2: 400 32px/40px var(--font-serif); /* Sub-section titles. */
  --text-heading-3: 400 24px/32px var(--font-serif); /* Card titles, email headline, tool page titles. */
  --text-heading-4: 400 20px/28px var(--font-serif); /* Small serif titles: testimonial names, list headings. */
  --text-quote: italic 400 22px/34px var(--font-serif); /* Client testimonials and pull quotes, in italic. */
  --text-lead: 300 20px/32px var(--font-sans); /* Intro paragraph under a page title, 2–3 sentences. */
  --text-body: 400 17px/28px var(--font-sans); /* Marketing body copy, email body, proposal text. */
  --text-body-sm: 400 15px/24px var(--font-sans); /* Card descriptions, footer text, captions under large images. */
  --text-caption: 400 13px/20px var(--font-sans); /* Photo captions, legal lines, image credits. */
  --text-overline: 500 12px/16px var(--font-sans); /* Eyebrow labels above headings and category labels. Always uppercase. */
  --text-button: 500 15px/20px var(--font-sans); /* Button and link-button labels. Sentence case. */
  --text-ui-title: 400 24px/32px var(--font-serif); /* Page title in the CRM, SOP builder and estimator — the one serif in a tool view. */
  --text-ui-heading: 500 16px/24px var(--font-sans); /* Panel and card headings, table group headings. */
  --text-ui-body: 400 14px/20px var(--font-sans); /* Default tool text: table cells, form values, descriptions. */
  --text-ui-label: 500 13px/16px var(--font-sans); /* Form labels, column headers, tab labels. */
  --text-ui-small: 400 12px/16px var(--font-sans); /* Helper text, timestamps, badges. */
  --text-ui-numeric: 500 14px/20px var(--font-sans); /* Money, quantities and dates in tables; set font-variant-numeric: tabular-nums. */
}
.display-xl {
  font-family: var(--font-serif);
  font-size: 64px;
  line-height: 72px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.display {
  font-family: var(--font-serif);
  font-size: 48px;
  line-height: 56px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.heading-1 {
  font-family: var(--font-serif);
  font-size: 40px;
  line-height: 48px;
  font-weight: 400;
  letter-spacing: 0;
}
.heading-2 {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 40px;
  font-weight: 400;
  letter-spacing: 0;
}
.heading-3 {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: 0;
}
.heading-4 {
  font-family: var(--font-serif);
  font-size: 20px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0;
}
.quote {
  font-family: var(--font-serif);
  font-size: 22px;
  line-height: 34px;
  font-weight: 400;
  letter-spacing: 0;
  font-style: italic;
}
.lead {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 32px;
  font-weight: 300;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 28px;
  font-weight: 400;
  letter-spacing: 0;
}
.body-sm {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.overline {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.button {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.ui-title {
  font-family: var(--font-serif);
  font-size: 24px;
  line-height: 32px;
  font-weight: 400;
  letter-spacing: 0;
}
.ui-heading {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
}
.ui-body {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
  letter-spacing: 0;
}
.ui-label {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0;
}
.ui-small {
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
  letter-spacing: 0;
}
.ui-numeric {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  letter-spacing: 0;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville-400-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Libre Baskerville";
  src: url("fonts/LibreBaskerville-700-normal.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nadar Sans";
  src: url("fonts/NadarSans-Roman-VF.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Nadar Sans";
  src: url("fonts/NadarSans-Italic-VF.woff2") format("woff2");
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
