/* ==========================================================================
   4x4 Icons — site styles
   1. Design tokens (CSS custom properties, same names as the design system)
   2. Fonts and base
   3. Layout helpers
   4. Components (buttons, tags, forms, cards, icons)
   5. Header, mega menu, off-canvas menu
   6. Page sections
   7. Footer
   8. Responsive
   ========================================================================== */

/* 1. Design tokens ------------------------------------------------------- */
:root {
  /* Brand palette (Avada global colours 1–8) */
  --cream: #fff8f2;        /* Color 1: page and card background, text on dark */
  --sage-light: #c1d1a9;   /* Color 2: secondary buttons, light bands */
  --sage: #b5c193;         /* Color 3: decorative lines and separators */
  --olive: #9faa81;        /* Color 4: decorative only (fails as text) */
  --gold: #f4b800;         /* Color 5: primary buttons, accents on dark */
  --forest: #003f35;       /* Color 6: dark sections, intro text */
  --green: #002d22;        /* Color 7: text on gold/sage, outline buttons, logo */
  --ink: #002118;          /* Color 8: body text, header and footer */
  --white: #ffffff;

  /* Accessible companions (added for WCAG AA) */
  --gold-dark: #916d00;    /* gold text on light grounds: 4.5:1 on cream */
  --olive-dark: #616c41;   /* olive text on light grounds: 5.3:1 on cream, 4.6:1 on #e8ebdc */
  --border: #858f60;       /* form-control borders: 3.2:1 on cream */

  /* Roles */
  --text: var(--ink);
  --text-muted: rgba(0, 31, 22, 0.8);
  --bg: var(--cream);
  --link: var(--green);
  --link-underline: var(--gold);
  --focus: var(--green);          /* focus ring on light grounds (14:1) */
  --focus-on-dark: var(--gold);   /* focus ring on dark grounds (8:1+) */

  /* Type */
  --font-sans: "Plus Jakarta Sans", Arial, Helvetica, sans-serif;
  --font-script: "Homemade Apple", Georgia, "Times New Roman", serif;
  --fs-display: 70px;  /* page titles */
  --fs-hero: 56px;     /* home hero */
  --fs-h2: 42px;
  --fs-h3: 37px;
  --fs-h4: 28px;
  --fs-h5: 20px;
  --fs-h6: 18px;
  --fs-body: 17px;
  --fs-ui: 16px;       /* buttons, navigation, eyebrows */
  --fs-small: 14px;
  --fs-xsmall: 13px;
  --fw-light: 300;
  --fw-body: 500;
  --fw-heading: 600;   /* every heading and button */
  --lh-heading: 1.2;
  --lh-body: 1.7;

  /* Spacing scale */
  --space-1: 10px;
  --space-2: 15px;
  --space-3: 20px;
  --space-4: 30px;
  --space-5: 40px;
  --space-6: 60px;
  --space-7: 90px;
  --space-8: 120px;
  --section-y: var(--space-8);
  --container: 1200px;
  --gutter: 30px;

  /* Radius */
  --radius-input: 6px;
  --radius-card: 12px;
  --radius-button: 15px;   /* one button radius for the whole site */

  /* Controls */
  --input-height: 50px;
  --focus-ring: 3px solid var(--focus);
  --header-height: 135px;
}

/* 2. Fonts and base ------------------------------------------------------- */
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("/assets/fonts/plus-jakarta-sans-italic-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: var(--fw-body);
  line-height: var(--lh-body);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--space-2);
  font-weight: var(--fw-heading);
  line-height: var(--lh-heading);
  color: inherit;
}
h1 { font-size: var(--fs-display); line-height: 1.1; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); line-height: 1.4; }
h5 { font-size: var(--fs-h5); line-height: 1.4; }
h6 { font-size: var(--fs-h6); }
p { margin: 0 0 var(--space-3); }
p:last-child { margin-bottom: 0; }
a { color: var(--link); text-decoration: underline; text-decoration-color: var(--link-underline); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--forest); }
ul { margin: 0; }
hr { border: 0; border-top: 1px solid var(--sage); margin: var(--space-5) 0; }
:focus-visible { outline: var(--focus-ring); outline-offset: 2px; }
.dark :focus-visible, .site-footer :focus-visible, .site-header--dark :focus-visible { outline-color: var(--focus-on-dark); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 10px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--cream); color: var(--ink); border-radius: var(--radius-input); }
.skip-link:focus { top: 10px; }

/* 3. Layout helpers ------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.section { position: relative; padding: var(--section-y) 0; }
.section--cream { background: var(--cream); }
.section--sage { background: var(--sage-light); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--green { background: var(--green); color: var(--cream); }
.section--ink { background: var(--ink); color: var(--cream); }
.dark { color: var(--cream); }
.dark a:not(.btn) { color: var(--cream); }
.center { text-align: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: center; }
.eyebrow { margin: 0 0 var(--space-1); font-size: var(--fs-ui); font-weight: var(--fw-heading); color: var(--forest); }
.dark .eyebrow { color: var(--cream); }
.lead { color: var(--forest); }
.muted { color: var(--text-muted); }
.rounded { border-radius: var(--radius-card); }
.cover { width: 100%; height: 100%; object-fit: cover; }
/* Decorative background shapes taken from the original Avada masks */
.mask { position: absolute; inset: 0; pointer-events: none; background-size: cover; background-position: 50% 50%; }
.mask--title { transform: scale(-1, -1); background-image: url("/assets/img/mask-title.svg"); }
.mask--footer { background-image: url("/assets/img/mask-footer.svg"); }
.mask--stripes { transform: scale(-1, 1); background-image: url("/assets/img/mask-stripes.svg"); }
.pattern-waves { position: absolute; inset: 0; pointer-events: none; background-image: url("/assets/img/pattern-waves.svg"); background-size: 3% auto; opacity: .08; }
.section > .container, .page-title > .container, .site-footer > .container { position: relative; }

/* 4. Components ----------------------------------------------------------- */
.icon { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 29px;
  border: 0; border-radius: var(--radius-button);
  font: var(--fw-heading) var(--fs-ui)/1.7 var(--font-sans); letter-spacing: .015em;
  text-decoration: none; text-align: center; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn .icon { font-size: 1.1em; }
.btn--lg { padding: 18px 40px; }
.btn--gold { background: var(--gold); color: var(--green); }
.btn--gold:hover { background: #dca600; color: var(--green); }
.btn--sage { background: var(--sage-light); color: var(--forest); }
.btn--sage:hover { background: var(--sage); color: var(--forest); }
.btn--outline { background: transparent; color: var(--green); border: 2px solid var(--green); }
.btn--outline:hover { background: var(--green); color: var(--cream); }
.btn--outline-light { background: transparent; color: var(--cream); border: 2px solid var(--cream); }
.btn--outline-light:hover { background: var(--cream); color: var(--ink); }
.btn--dark { background: linear-gradient(160deg, var(--forest) 20%, var(--ink) 100%); color: var(--cream); }
.btn--dark:hover { background: var(--forest); color: var(--cream); }
.btn--block { display: flex; width: 100%; }
.btn--send { padding: 25px 29px; }
/* Text link with a line under it ("Build your icon", "Read Article") */
.link-line { display: inline-block; padding: 0 1px 3px; color: var(--ink); font-size: var(--fs-ui); font-weight: var(--fw-heading); text-decoration: none; border-bottom: 2px solid var(--sage-light); }
.link-line:hover { color: var(--forest); border-bottom-color: var(--gold); }
.section--sage .link-line { border-bottom-color: var(--forest); }

/* Small labels ("Available Inventory", "Who we are") */
.tag { display: inline-block; padding: 1px 8px; font-size: var(--fs-xsmall); font-weight: var(--fw-heading); line-height: 1.7; color: var(--ink); background: var(--sage-light); }
.tag--white { background: var(--white); }
.tag--cream { background: var(--cream); color: var(--ink); }
.tag-row { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; margin-bottom: var(--space-2); font-size: var(--fs-xsmall); font-weight: var(--fw-heading); }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin: 15px 0; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; font-size: var(--fs-body); font-weight: var(--fw-body); }
.field .req { color: var(--ink); text-decoration: none; }
.control { position: relative; }
.control .icon { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 14px; color: var(--ink); }
.input, .textarea {
  display: block; width: 100%; height: var(--input-height); padding: 0 16px;
  font: 400 var(--fs-ui)/1.5 var(--font-sans); color: var(--ink);
  background: var(--cream); border: 1px solid var(--border); border-radius: var(--radius-input);
  -webkit-appearance: none; appearance: none;
}
.control .icon + .input { padding-left: 40px; }
.textarea { height: auto; min-height: 96px; padding: 12px 16px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ink); opacity: .75; }
.input:hover, .textarea:hover { border-color: var(--forest); }
.input:focus, .textarea:focus { outline: var(--focus-ring); outline-offset: 1px; border-color: var(--green); }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: #b3261e; }
.field-error { margin: 6px 0 0; font-size: var(--fs-small); color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 15px 0 0; padding: 12px 16px; border-radius: var(--radius-input); font-size: var(--fs-ui); font-weight: var(--fw-heading); }
.form-status[hidden] { display: none; }
.form-status--success { background: #e3f1e6; color: #0b5132; border: 1px solid #2e7d4f; }
.form-status--error { background: #fbe9ec; color: #8a1c2b; border: 1px solid #b3261e; }
.tooltip { position: relative; display: inline-flex; vertical-align: middle; margin-left: 4px; color: var(--ink); cursor: help; }
.tooltip .icon { font-size: 15px; }
.tooltip__text { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 240px; padding: 6px 10px; border-radius: var(--radius-input); background: #333333; color: var(--white); font-size: var(--fs-xsmall); line-height: 1.4; opacity: 0; visibility: hidden; transition: opacity .2s; }
.tooltip:hover .tooltip__text, .tooltip:focus .tooltip__text { opacity: 1; visibility: visible; }

/* 5. Header ---------------------------------------------------------------- */
.site-header { position: relative; z-index: 50; height: var(--header-height); padding: 0 50px; }
.site-header--overlay { position: absolute; top: 0; left: 0; right: 0; background: transparent; color: var(--ink); }
.site-header--dark { background: var(--ink); color: var(--cream); }
.header-inner { display: flex; align-items: center; height: 100%; gap: 20px; }
.logo { flex: none; display: block; width: 230px; }
.logo img { width: 100%; height: auto; }
.main-nav { margin-left: auto; }
.main-nav > ul { display: flex; align-items: center; gap: 45px; list-style: none; padding: 0; }
.main-nav li { position: relative; }
.main-nav a { color: inherit; text-decoration: none; }
.nav-link { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0 8px; font-size: var(--fs-ui); font-weight: var(--fw-heading); line-height: 1.7; border-bottom: 2px solid transparent; }
.nav-link[aria-current="page"], .nav-link:hover, .has-sub:hover > .nav-link, .has-sub:focus-within > .nav-link { border-bottom-color: var(--gold); }
.has-sub > .nav-link::after { content: ""; width: 6px; height: 6px; margin: -3px 0 0 3px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); }
.submenu { position: absolute; top: 100%; left: 0; min-width: 150px; margin-top: 10px; padding: 0; list-style: none; background: #0b5442; border-radius: 4px; opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .2s, visibility .2s; }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.submenu li + li { border-top: 1px solid rgba(181, 193, 147, .3); }
.submenu a { display: block; padding: 12px 20px; white-space: nowrap; color: var(--gold); font-size: var(--fs-ui); font-weight: var(--fw-heading); }
.submenu a:hover { color: var(--cream); }
.has-sub:hover > .submenu, .has-sub:focus-within > .submenu { opacity: 1; visibility: visible; transform: none; }
/* Mega menu (Build your icon) */
.mega { position: absolute; top: 100%; left: 50%; display: grid; grid-template-columns: repeat(3, 288px); gap: 10px; margin-top: 10px; transform: translate(-50%, 6px); opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.mega::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.has-sub:hover > .mega, .has-sub:focus-within > .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.has-sub.is-closed > .submenu, .has-sub.is-closed > .mega { opacity: 0; visibility: hidden; }
.mega__col { padding: 15px 15px 5px; background: var(--cream); border-radius: 10px; box-shadow: 0 6px 20px rgba(0, 33, 24, .12); text-align: center; color: var(--ink); }
.mega__col h5 { margin: 0 0 10px; font-size: var(--fs-h5); color: var(--green); }
.mega__col a { display: block; margin-bottom: 18px; }
.mega__col img { width: 100%; height: auto; aspect-ratio: 500 / 322; object-fit: cover; }
.mega__col span { display: block; margin-top: 15px; font-size: 15px; font-weight: var(--fw-heading); line-height: 1.2; color: var(--ink); }
.mega__col a:hover span { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); }
.header-cta { margin-left: 10px; padding: 13px 29px; font-size: var(--fs-small); }
.site-header--overlay .header-cta { color: var(--green); border-color: var(--green); }
.menu-toggle { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 53px; height: 53px; margin-left: 10px; padding: 0; border: 2px solid currentColor; border-radius: 50%; background: transparent; color: inherit; font-size: 20px; cursor: pointer; transition: background-color .2s, border-color .2s; }
.menu-toggle:hover { background: var(--gold); border-color: var(--forest); color: var(--ink); }

/* Off-canvas panel */
.offcanvas { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
.offcanvas.is-open { visibility: visible; }
.offcanvas__overlay { position: absolute; inset: 0; background: rgba(0, 33, 24, .2); opacity: 0; transition: opacity .3s; }
.offcanvas__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 40px; width: 380px; max-width: 100%; padding: 60px 45px; overflow-y: auto; background: var(--cream); border-top: 10px solid var(--olive); transform: translateX(100%); transition: transform .3s; }
.offcanvas.is-open .offcanvas__overlay { opacity: 1; }
.offcanvas.is-open .offcanvas__panel { transform: none; }
.offcanvas__close { position: absolute; top: 20px; right: 25px; padding: 5px; border: 0; background: none; color: var(--forest); font-size: 18px; cursor: pointer; }
.offcanvas__close:hover { color: var(--gold-dark); }
.offcanvas__logo img { width: 100%; }
.offcanvas__nav { display: none; list-style: none; padding: 0; margin: -10px 0; }
.offcanvas__nav a { display: block; padding: 8px 0; color: var(--ink); font-weight: var(--fw-heading); text-decoration: none; }
.offcanvas__nav a:hover { color: var(--forest); text-decoration: underline; text-decoration-color: var(--gold); }
.offcanvas .btn--gold { padding: 18px 20px; font-size: 18px; }
.offcanvas .btn--outline { padding: 18px 20px; font-size: var(--fs-small); }
.offcanvas .social { justify-content: center; color: var(--ink); }
body.no-scroll { overflow: hidden; }

/* Social icons */
.social { display: flex; align-items: center; gap: 22px; list-style: none; padding: 0; margin: 0; }
.social a { display: block; color: inherit; font-size: 20px; }
.social a:hover { color: var(--gold); }
.offcanvas .social a:hover { color: var(--gold-dark); }

/* 6. Page sections ----------------------------------------------------------- */

/* Inner page title bar */
.page-title { position: relative; padding: 110px 0 140px; background: var(--ink); color: var(--cream); text-align: center; background-size: cover; background-position: center; }
.page-title h1 { margin: 0; }
.page-title p { margin: 10px 0 0; }
.page-title--build { background-image: url("/assets/img/gallery-fj40-forest-1000.webp"); }
.page-title--photo::before { content: ""; position: absolute; inset: 0; background: rgba(0, 33, 24, .82); }

/* Home: hero */
.hero { position: relative; min-height: 100vh; padding: 217px 0 var(--space-6); background: var(--ink) url("/assets/img/hero-1920.webp") center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(166deg, #ffffff 19%, rgba(0, 63, 53, 0) 71%); }
.hero .container { position: relative; z-index: 1; padding-left: 61px; }
.hero h1 { margin: 25px 0 8px; font-size: var(--fs-hero); color: var(--green); }
.hero h1 u { text-decoration-thickness: 4px; text-underline-offset: 6px; text-decoration-color: currentColor; }
.hero p { color: var(--forest); }
.hero .btn { margin-top: 50px; }
.hero .tag { background: var(--cream); }

/* Home: values */
.values { padding: 110px 0 130px; }
.values .intro { max-width: 875px; margin: 0 auto 134px; }
.values .intro h3 { color: var(--green); }
.values__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 100px; }
.values__cols h5 { margin-bottom: 15px; color: var(--green); }
.values__cols p { color: var(--text-muted); }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 85px; margin: 170px -8px 0; }
.gallery img { width: 100%; aspect-ratio: 565 / 363; object-fit: cover; border-radius: var(--radius-card); }

/* Home: inventory */
.inventory { padding: var(--space-7) 0; }
.inventory .grid-2 { grid-template-columns: 466px 1fr; gap: 127px; }
.inventory img { width: 100%; aspect-ratio: 466 / 522; object-fit: cover; border-radius: 10px; }
.inventory h2 { margin-bottom: 30px; }
.inventory .btn { margin-top: 30px; }

/* Home: pricing */
.pricing .intro { margin-bottom: 138px; }
.pricing__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; align-items: start; padding: 0 0 0; }
.price-card { position: relative; padding: 30px 30px 40px; border: 1px solid var(--sage); border-radius: var(--radius-card); text-align: center; }
.price-card--featured { margin-top: -52px; padding-top: 0; border: 2px solid var(--olive-dark); overflow: hidden; }
.price-card__badge { margin: 8px -22px 30px; padding: 6px 10px; border-radius: 8px; background: #e8ebdc; color: var(--olive-dark); font-size: var(--fs-body); font-weight: var(--fw-heading); }
.price-card__name { margin: 0; font-size: var(--fs-xsmall); font-weight: var(--fw-heading); color: var(--forest); }
.price-card h3 { margin: 4px 0 0; color: var(--ink); }
.price-card__currency { margin: 0 0 40px; font-size: var(--fs-xsmall); font-weight: var(--fw-heading); color: var(--forest); }
.price-card .btn { width: 100%; }
.price-card hr { margin: 38px 0 33px; }
.price-card h5 { margin-bottom: 21px; font-size: var(--fs-ui); color: var(--ink); }
.price-card ul { list-style: none; padding: 0; font-size: var(--fs-small); line-height: 1.7; }
.price-card .includes-note { margin-bottom: 15px; font-size: var(--fs-small); font-style: italic; }
.pricing__note { margin-top: 30px; font-size: var(--fs-ui); font-weight: var(--fw-light); color: var(--forest); }

/* Home: process */
.process {
  padding: 130px 0;
  background-color: var(--forest);
  background-image: linear-gradient(159deg, rgba(170, 170, 123, .26) 45%, rgba(0, 33, 24, .91) 89%), url("/assets/img/process-1920.webp");
  background-position: left top;
  background-size: cover;
  background-blend-mode: overlay;
}
.process .container { position: relative; z-index: 1; }
.process .intro { max-width: 912px; margin: 0 auto 160px; }
.process .intro .lead-light { font-weight: var(--fw-light); color: rgba(255, 248, 242, .8); }
.step { display: grid; grid-template-columns: 444px 570px; gap: 60px; margin: 0 0 100px 63px; }
.step:last-child { margin-bottom: 0; }
.step h2 { margin: 0 0 10px; font-size: 40px; }
.step h6 { color: var(--gold); line-height: 1.2; }
.step__body p { font-size: 18px; line-height: 1.6; color: rgba(255, 248, 242, .72); }
.step__body u b { font-size: 14px; color: rgba(255, 248, 242, .82); }
.step__meta { display: flex; flex-wrap: wrap; gap: 20px 25px; margin: 35px 0 32px; padding: 0; list-style: none; font-size: var(--fs-xsmall); font-weight: var(--fw-heading); }
.step__meta li { display: flex; align-items: center; gap: 20px; }
.step__meta .badge { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 15px; }
.step__body .step__who { font-size: var(--fs-xsmall); }
.step__who { display: flex; align-items: center; gap: 15px; font-size: var(--fs-xsmall); font-weight: var(--fw-heading); }
.step__who img { width: 40px; height: 40px; border-radius: 50%; }

/* Home: resources */
.resources { padding: 130px 0 160px; }
.resources__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 30px; margin-bottom: 60px; }
.resources__head h3 { margin: 0; }
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; list-style: none; padding: 0; }
.post-card img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius-card); }
.post-card h6 { margin: 36px 0 17px; line-height: 1.4; }
.post-card h6 a { color: var(--ink); text-decoration: none; }

/* About */
.subnav { position: relative; z-index: 2; background: var(--cream); box-shadow: 0 1px 12px rgba(0, 33, 24, .08); }
.subnav ul { display: flex; justify-content: center; gap: 60px; list-style: none; padding: 30px 0; }
.subnav a { color: var(--ink); text-decoration: none; }
.subnav a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.split { display: grid; grid-template-columns: 553px 520px; justify-content: space-between; align-items: center; }
.split--reverse { grid-template-columns: 520px 553px; }
.split img { width: 100%; aspect-ratio: 553 / 658; object-fit: cover; border-radius: var(--radius-card); }
.signature { margin: 40px 0 0; font-family: var(--font-script); font-size: 30px; font-weight: 400; line-height: 1.7; }
.contact-lines { font-size: var(--fs-small); font-weight: var(--fw-light); }
.about-who hr { margin-top: 40px; }
.about-process { padding: 83px 0 var(--section-y); }
.about-process ul { padding-left: 20px; }
.about-process hr { border-color: rgba(181, 193, 147, .4); }
.stats { display: grid; grid-template-columns: 250px 250px; gap: 20px; }
.stats h2 { margin: 0; font-size: 60px; }
.stats h6 { margin: 0; color: var(--gold); }
.faq-layout { display: grid; grid-template-columns: 296px 750px; justify-content: space-between; }
.faq-list details { margin-bottom: 12px; background: var(--sage-light); }
.faq-list summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 15px 25px; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary h4 { margin: 0; font-size: var(--fs-h5); line-height: 1.5; }
.faq-list summary .icon { font-size: 16px; }
.faq-list .icon-open { display: none; }
.faq-list details[open] .icon-open { display: block; }
.faq-list details[open] .icon-closed { display: none; }
.faq-list .answer { padding: 0 25px 20px; }
.check-list { list-style: none; padding: 0; font-size: var(--fs-ui); }
.check-list li { padding: 18px 55px; }
.check-list--striped li:nth-child(odd) { background: #dde5cf; }

/* Contact */
.contact-layout { display: grid; grid-template-columns: 485px 1fr; gap: 100px; align-items: start; }
.contact-card { overflow: hidden; border-radius: var(--radius-card); background: var(--ink); color: var(--cream); }
.contact-card img { width: 100%; aspect-ratio: 485 / 323; object-fit: cover; }
.contact-card__body { padding: 50px 80px 60px; }
.contact-card h5 { margin-bottom: 15px; }
.contact-card p { margin-bottom: 10px; }
.contact-card hr { margin: 25px 0; border-color: rgba(181, 193, 147, .3); }
.contact-card .social { gap: 18px; }
.contact-card .social a { font-size: 16px; }

/* Build your icon */
.build-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: 70px; }
.build-intro .eyebrow { color: var(--gold-dark); }
.quote { font-size: var(--fs-h5); font-style: italic; color: var(--olive-dark); }
.truck-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px 80px; list-style: none; padding: 0; }
.truck-card { display: flex; flex-direction: column; padding: 15px; background: var(--white); border-radius: var(--radius-card); box-shadow: 0 2px 12px rgba(0, 33, 24, .12); text-align: center; scroll-margin-top: 30px; }
.truck-card img { width: 100%; max-width: 500px; margin: 0 auto; aspect-ratio: 500 / 320; object-fit: cover; }
.truck-card h5 { margin: 40px 0 10px; }
.truck-card p { margin: 0 auto 30px; max-width: 400px; color: var(--text-muted); }
.truck-card .btn { margin-top: auto; }
.cta-band { padding: 140px 0; }
.cta-band .content { max-width: 500px; margin-left: calc(50% + 8px); }
.cta-band .btn { margin-top: 20px; }
.strategy { display: grid; grid-template-columns: 1fr 625px; gap: 75px; align-items: start; }
.feature-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 60px; text-align: center; }
.feature-cols p { color: var(--text-muted); }

/* Privacy policy */
.legal h2 { margin: 0 0 30px; }
.legal p + h2 { margin-top: 0; }

/* Articles */
.post-hero { position: relative; padding: 120px 0 290px; background: linear-gradient(152deg, var(--sage-light) 0%, #c5dd8b 70%); text-align: center; overflow: hidden; }
.post-hero::after { content: ""; position: absolute; left: -10%; right: -10%; bottom: -260px; height: 400px; border-radius: 50% 50% 0 0 / 30% 60% 0 0; background: var(--cream); transform: rotate(-3deg); }
.post-hero h1 { max-width: 900px; margin: 0 auto 20px; font-size: 50px; line-height: 1.3; color: var(--ink); position: relative; z-index: 1; }
.post-hero .meta { position: relative; z-index: 1; margin: 0; font-size: var(--fs-xsmall); font-weight: var(--fw-heading); }
.post-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 770px 345px; justify-content: space-between; align-items: start; margin-top: -180px; padding-bottom: var(--section-y); }
.post-featured { width: 100%; border-radius: var(--radius-card); aspect-ratio: 770 / 470; object-fit: cover; }
.post-body { padding: 60px 10px 0; }
.post-body h4 { margin: 0 0 30px; }
.post-body p { margin-bottom: 20px; }
.post-body figure { margin: 50px 0 60px; text-align: center; }
.post-body figure img { width: 100%; border-radius: var(--radius-card); }
.post-body figure.narrow img { width: auto; max-width: 100%; margin: 0 auto; }
.post-body figcaption { margin-top: 20px; font-size: var(--fs-xsmall); font-weight: var(--fw-heading); }
.post-body p + h4 { margin-top: 60px; }
.pullquote { margin: 30px 0; font-size: 28px; font-style: italic; font-weight: var(--fw-light); line-height: 1.5; }
.post-tags { margin-top: 50px; }
.post-tags h5 { color: var(--forest); }
.post-tags ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.post-tags a { display: inline-block; padding: 6px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 11px; color: var(--olive-dark); text-decoration: none; }
.post-tags a:hover { color: var(--ink); border-color: var(--ink); }
.newsletter { position: sticky; top: 30px; padding: 45px 45px 50px; border-radius: 15px; background: var(--ink); color: var(--cream); text-align: center; }
.newsletter h5 { margin-bottom: 30px; }
.newsletter .input { text-align: left; }
.newsletter .btn { width: 100%; margin-top: 30px; }
.newsletter .form-status { text-align: left; }

/* 404 */
.notfound { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 24px; background: var(--green); color: var(--white); text-align: center; }
.notfound h1 { font-size: 40px; margin: 0 0 12px; }
.notfound p { font-size: 18px; opacity: .85; margin: 0 0 28px; }

/* 7. Footer -------------------------------------------------------------------- */
.site-footer { position: relative; padding: var(--space-7) 0; background: var(--ink); color: var(--cream); overflow: hidden; }
.footer-top { display: grid; grid-template-columns: 264px 1fr 1fr 264px; align-items: start; }
.footer-logo { display: block; width: 250px; margin-left: 7px; }
.footer-menu { list-style: none; padding: 0; text-align: center; }
.footer-menu a { display: block; padding: 6px 0 8px; color: var(--cream); font-size: var(--fs-ui); font-weight: var(--fw-heading); line-height: 1.7; text-decoration: none; }
.footer-menu a:hover { color: var(--gold); }
.footer-cta { display: flex; flex-direction: column; align-items: center; gap: 15px; }
.footer-cta .btn--gold { padding: 12px 24px; font-size: 18px; }
.footer-cta .btn--sage { padding: 12px 24px; font-size: var(--fs-small); color: var(--green); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 129px; padding-top: 30px; border-top: 1px solid rgba(181, 193, 147, .35); }
.copyright { margin: 0; font-size: var(--fs-xsmall); font-weight: var(--fw-heading); }
.copyright a { color: var(--cream); text-decoration: none; }
.copyright a:hover { color: var(--gold); text-decoration: underline; }
.copyright img { display: inline-block; width: 29px; vertical-align: -2px; }

/* 8. Responsive ------------------------------------------------------------------ */
@media (max-width: 1240px) {
  .main-nav > ul { gap: 28px; }
  .split, .faq-layout { grid-template-columns: 1fr 1fr; gap: 60px; }
  .step { grid-template-columns: 1fr 1.3fr; margin-left: 0; }
  .post-layout { grid-template-columns: 1fr 320px; gap: 40px; }
  .inventory .grid-2 { grid-template-columns: 1fr 1fr; gap: 60px; }
}
@media (max-width: 1000px) {
  :root { --section-y: 90px; --header-height: 100px; }
  .site-header { padding: 0 30px; }
  .main-nav, .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
  .offcanvas__nav { display: block; }
  .offcanvas .btn--outline { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-layout, .strategy { grid-template-columns: 1fr; gap: 60px; }
}
@media (max-width: 700px) {
  :root { --fs-display: 45px; --fs-hero: 40px; --section-y: 90px; }
  h1 { line-height: 1.15; }
  .logo { width: 170px; }
  .grid-2, .split, .faq-layout, .build-intro, .values__cols, .gallery, .cards-3, .pricing__grid, .truck-grid, .form-grid, .feature-cols, .stats, .post-layout, .inventory .grid-2 { grid-template-columns: 1fr; }
  .hero { min-height: calc(100vh - 100px); padding: 164px 0 54px; background-image: url("/assets/img/hero-mobile.webp"); background-position: left center; }
  .hero::before { background: linear-gradient(168deg, rgba(255, 255, 255, .88) 30%, rgba(1, 0, 35, .06) 74%); }
  .hero .container { padding-left: var(--gutter); }
  .hero h1 { margin-top: 15px; }
  .hero .btn { margin-top: 30px; }
  .values { padding-top: 60px; }
  .values .intro { margin-bottom: 60px; }
  .values__cols { gap: 130px; }
  .contact-layout > aside { order: 2; }
  .gallery { gap: 40px; margin: 110px 0 0; }
  .inventory .grid-2 { gap: 30px; }
  .inventory .media { order: 2; }
  .pricing .intro { margin-bottom: 40px; }
  .pricing__grid { gap: 30px; }
  .price-card--featured { margin-top: 0; }
  .process { padding: 90px 0; }
  .process .intro { margin-bottom: 60px; }
  .step { grid-template-columns: 1fr; gap: 30px; margin: 0 0 100px; }
    .resources__head { flex-direction: column; margin-bottom: 30px; }
  .subnav ul { gap: 30px; padding: 20px 0; }
  .split { gap: 40px; }
  .faq-layout { gap: 30px; }
  .faq-list summary { padding: 12px 15px; }
  
  .contact-card__body { padding: 40px 30px; }
  .truck-grid { gap: 30px; }
  .cta-band { padding: 90px 0; }
  .cta-band .content { margin: 0; }
  .post-hero { padding: 65px 0 200px; }
  .post-hero h1 { font-size: 40px; }
  .post-body { padding: 40px 0 0; }
  
  .newsletter { position: static; }
  .site-footer { padding: 60px 0; text-align: center; }
  .footer-top { grid-template-columns: 1fr; justify-items: center; gap: 30px; }
  .footer-logo { margin: 0 auto; width: 120px; }
  .footer-menu--secondary { display: none; }
  .footer-bottom { flex-direction: column; margin-top: 40px; }
  .copyright { flex-wrap: wrap; justify-content: center; text-align: center; }
  .page-title { padding: 70px 0 80px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
