/* ==========================================================================
   Basepoint Real Estate Group — Global Stylesheet
   --------------------------------------------------------------------------
   Organized as:
     1.  Design tokens (:root custom properties)
     2.  Reset & base elements
     3.  Typography
     4.  Layout primitives (container, section, grids)
     5.  Buttons & links
     6.  Header / navigation
     7.  Footer
     8.  Contact card
     9.  Forms
     10. Cards (property, service, project)
     11. Hero variants
     12. Media blocks (gallery, map/video, floor plan)
     13. Utilities
     14. Responsive breakpoints
   ========================================================================== */

/* 1. DESIGN TOKENS ========================================================= */
:root {
  /* Brand palette (sourced from the Figma CSS export) */
  --green:        #1E3A28;   /* primary dark green */
  --green-hover:  #16301F;
  --mint:         #93C6B2;   /* accent / secondary sections */
  --mint-dark:    #6FA891;
  --gray-light:   #D6D6D7;   /* page & section background */
  --charcoal:     #404041;   /* dark gray — borders, secondary buttons */
  --ink:          #1E3A28;   /* body text */
  --gray-mid:     #929292;   /* muted text, placeholders */
  --placeholder:  #D9D9D9;   /* empty media blocks */
  --cream:        #ECEAE1;   /* light text on dark backgrounds */
  --white:        #ffffff;

  /* Typography */
  --font-display: "Noto Sans", Georgia, "Times New Roman", serif;
  --font-body:    "Noto Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "Space Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Fluid type scale */
  --fs-hero:   clamp(2.5rem, 1.6rem + 4.5vw, 3.75rem);
  --fs-h1:     clamp(2rem, 1.4rem + 3vw, 2.5rem);
  --fs-h2:     clamp(1.6rem, 1.2rem + 1.8vw, 2.1rem);
  --fs-h3:     clamp(1.25rem, 1.05rem + 1vw, 1.4rem);
  --fs-body:   clamp(0.95rem, 0.9rem + 0.25vw, 1.0625rem);
  --fs-small:  0.8125rem;
  --fs-label:  0.75rem;

  /* Spacing */
  --space-section: clamp(3rem, 2rem + 5vw, 6.5rem);
  --gap: clamp(1rem, 0.5rem + 2vw, 2.5rem);

  /* Layout */
  --container: 1280px;
  --pad-x: clamp(1.25rem, 0.5rem + 4vw, 6rem);

  /* Misc */
  --border: 1px solid var(--charcoal);
  --transition: 180ms ease;
  --header-h: 84px;
}

@font-face {
    font-family: 'QGP-bold';
    src: url('../fonts/QGP-bold.woff2') format('woff2'),
        url('../fonts/QGP-bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'bp-is';
    src: url('../fonts/bp-is.woff2') format('woff2'),
        url('../fonts/bp-is.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Bold.woff2') format('woff2'),
        url('../fonts/NotoSans-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Italic.woff2') format('woff2'),
        url('../fonts/NotoSans-Italic.woff') format('woff');
    font-weight: normal;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans Blk';
    src: url('../fonts/NotoSans-Black.woff2') format('woff2'),
        url('../fonts/NotoSans-Black.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Noto Sans';
    src: url('../fonts/NotoSans-Regular.woff2') format('woff2'),
        url('../fonts/NotoSans-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}




/* 2. RESET & BASE ========================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--gray-light);
  min-height: 100vh;
  overflow-x: hidden;            /* guard against accidental horizontal scroll */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main {padding-top: 84px;}

img, picture, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--mint); outline-offset: 2px; }

/* 3. TYPOGRAPHY ============================================================ */
h1, h4 { font-family: var(--font-display); font-weight: 300; line-height: 1.1; }
h2, h3 {font-family: 'bp-is', sans-serif; font-weight: normal; text-transform: uppercase;}
p { max-width: 68ch; }
strong { font-weight: 700; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mint-dark);
}

/* 4. LAYOUT PRIMITIVES ===================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section { padding-block: var(--space-section); }
.section--mint  { background: var(--mint); color: var(--green); }
.section--green { background: var(--green); color: var(--cream); }
.section--light { background: var(--gray-light); }
.section--flush { padding-block: 0; }

/* On mint sections, brand-coloured text wins over the muted defaults */
.section--mint h2,
.section--mint .listing-card__status,
.section--mint .listing-card__addr,
.section--mint .listing-card__price,
.section--mint .listing-card__features { color: var(--green); }

.grid { display: grid; gap: var(--gap); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

/* Two-column split that collapses on small screens */
.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: center; }
.split-2 .split-2__media { aspect-ratio: 4/3; overflow: hidden; }
.split-2 .split-2__media img { width: 100%; height: 100%; object-fit: cover; }

.stack > * + * { margin-top: 1rem; }

.split-2a { display: flex; gap: clamp(1.5rem, 1rem + 3vw, 4rem); }
/* .split-2a .split-2a__media { aspect-ratio: 4/3; overflow: hidden; }
.split-2a .split-2a__media img { width: 100%; height: 100%; object-fit: cover; }*/
.split-2a .split-2a__media img { width: 100%;}
.split-2a .col-a {width: 60%;}
.split-2a .col-b {width: 40%; display: flex; flex-direction: column;}
.split-2a .row-a {flex-grow: 1;}


/* 5. BUTTONS =============================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--fs-label);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.9em 1.6em;
  border: 1px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  text-align: center;
}
.btn--primary { background: var(--green); color: var(--cream); }
.btn--primary:hover { background: var(--green-hover); }
.btn--secondary { background: transparent; border-color: var(--charcoal); color: var(--charcoal); }
.btn--secondary:hover { background: var(--charcoal); color: var(--cream); }
.btn--sm { padding: 0.6em 1em; font-size: 0.6875rem; }
/* On dark backgrounds */
.on-dark .btn--secondary,
.btn--secondary.is-light { border-color: var(--cream); color: var(--cream); }
.on-dark .btn--secondary:hover,
.btn--secondary.is-light:hover { background: var(--cream); color: var(--green); }

.link-underline { text-decoration: underline; text-underline-offset: 3px; }
.link-underline:hover { color: var(--green); }

.back-to-top {
  font-family: var(--font-mono); font-size: 0.625rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--mint-dark);
}
.back-to-top:hover { color: var(--green); }

/* 6. HEADER / NAV ========================================================== */

.logo {width: 150px;}

.site-header {
  background: var(--green);
  color: var(--cream);
  /* position: sticky; top: 0; z-index: 100; */
  position: fixed; top: 0; z-index: 100; width: 100%;
  min-height: var(--header-h);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: flex-start;
  gap: 2rem; min-height: var(--header-h);
  position: relative;
}
.nav { display: flex; align-items: center; gap: 2rem; }
.nav__link {
  font-size: 0.95rem; letter-spacing: 0.02em; padding: 0.5rem 0;
  border-bottom: 2px solid transparent; transition: border-color var(--transition), color var(--transition);  
}
.nav__link:hover, .nav__link[aria-current="page"] { border-bottom-color: var(--mint); }
.nav__item { position: relative; }
.nav__item_buffer {padding-bottom: 4px;}

.nav__toggle { display: inline-flex; align-items: center; gap: 0.4rem; }
.nav__caret { transition: transform var(--transition); }
.nav__item.open .nav__caret { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute; top: 85%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--green); border: 1px solid rgba(236,234,225,0.2);
  min-width: 230px; padding: 0.5rem 0; display: none; z-index: 110;
}
.nav__item.open .dropdown { display: block; }
.dropdown a { display: block; padding: 0.6rem 1.25rem; font-size: 0.9rem; }
.dropdown a:hover { background: rgba(236,234,225,0.08); }

/* Hamburger */
.hamburger {
  display: inline-flex; flex-direction: column; gap: 5px; padding: 0.5rem;
  position: absolute; right: var(--pad-x);
}
.hamburger span { width: 26px; height: 3px; background: var(--cream); transition: transform var(--transition), opacity var(--transition); }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0;
  background: var(--green); border-top: 1px solid rgba(236,234,225,0.15);
  padding: 1rem var(--pad-x) 2rem; z-index: 90;
  transform: translateY(-120%); transition: transform 250ms ease; visibility: hidden;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
}
.mobile-menu.open { transform: translateY(0); visibility: visible; }
.mobile-menu a { display: block; padding: 0.85rem 0; font-size: 1.1rem; border-bottom: 1px solid rgba(236,234,225,0.12); }
.mobile-menu .sub { padding-left: 1rem; font-size: 0.95rem; color: var(--mint); }

/* 7. FOOTER ================================================================ */
.site-footer { background: var(--gray-light); padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: var(--gap); }
.footer__brand-logo { width: min(330px, 70%); margin-bottom: 1.5rem; }
.footer__address { color: var(--charcoal); font-size: var(--fs-small); line-height: 1.7; }
.footer__contact { margin-top: 1.25rem; font-size: var(--fs-small); }
.footer__socials { display: flex; gap: 2rem; justify-content: flex-end; flex-wrap: wrap; }
.footer__social { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--charcoal); }
.footer__social .dot { width: 34px; height: 34px; border-radius: 50%; background: var(--placeholder); display: grid; place-items: center; }
.footer__social:hover { color: var(--green); }
.footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem 2rem; margin-top: 2.5rem; align-content: start; }
.footer__nav a { font-size: var(--fs-small); color: var(--charcoal); padding: 0.35rem 0; }
.footer__nav a:hover { color: var(--green); }
.footer__bottom { display: flex; flex-direction: column; align-items: flex-end; }

/* 8. CONTACT CARD ========================================================== */
.contact-card { background: var(--green); color: var(--cream); }
.contact-card__grid { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(1.5rem, 1rem + 3vw, 4rem); align-items: start; }
.contact-card--stacked .contact-card__grid { grid-template-columns: 1fr; gap: 2rem; }
.contact-card__intro p { max-width: 34ch; }
.contact-card__email { display: inline-block; margin-top: 1.25rem; }
.contact-card__socials { display: flex; gap: 1rem; margin-top: 2.5rem; }
.contact-card__socials a { display: inline-grid; place-items: center; width: 40px; height: 40px; color: var(--mint); transition: color var(--transition); }
.contact-card__socials a:hover { color: var(--white); }

/* 9. FORMS ================================================================= */
.contact-form { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid rgba(236,234,225,0.5); }
.contact-form .field { display: flex; flex-direction: column; }
.contact-form .field--name { border-right: 1px solid rgba(236,234,225,0.5); border-bottom: 1px solid rgba(236,234,225,0.5); }
.contact-form .field--email { border-bottom: 1px solid rgba(236,234,225,0.5); }
.contact-form .field--message { grid-column: 1 / -1; }


.contact-form .field--half-left { border-right: 1px solid rgba(236,234,225,0.5); border-bottom: 1px solid rgba(236,234,225,0.5); }
.contact-form .field--half-right { border-bottom: 1px solid rgba(236,234,225,0.5); }
.contact-form .field--fullwidth { grid-column: 1 / -1; border-bottom: 1px solid rgba(236,234,225,0.5); }
.contact-form .field-header-row {padding: 15px;}

.contact-form label { font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; padding: 1.25rem 1.25rem 0; color: var(--mint); }
.contact-form input, .contact-form textarea {
  background: transparent; border: none; padding: 0.75rem 1.25rem 1.25rem; color: var(--cream);
  font-size: 1rem; width: 100%;
}

.contact-form .required {color: red; font-size: 15px;}

.contact-form select {padding: 1.25rem; background: none; border: 0;}
.contact-form textarea { min-height: 200px; resize: vertical; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(236,234,225,0.55); text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.95rem; }
.contact-form :focus-visible { outline: 2px solid var(--mint); outline-offset: -2px; }
.form-actions { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 1rem; align-items: center; padding-top: 1.25rem; }
.form-error { color: #ffbcb0; font-size: var(--fs-small); min-height: 1.2em; display: block; padding: 0 1.25rem 0.75rem; }
.contact-form.is-sent > *:not(.form-sent-message) { display: none; }
.form-sent-message[hidden] { display: none; }
.form-sent-message {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  min-height: 200px;
  padding: 2rem 1.25rem;
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  line-height: 1.2;
  color: var(--cream);
}
.field.invalid input, .field.invalid textarea { outline: 2px solid #ff8c7a; outline-offset: -2px; }
.form-status { font-size: var(--fs-small); }
.form-status.success, .form-status.error { font-size: var(--fs-body); font-weight: 600; }
.form-status.success { color: var(--mint); }
.form-status.error { color: #ffbcb0; }

/* 10. CARDS ================================================================ */
/* Property / listing card */
.listing-card { display: flex; flex-direction: column; }
.listing-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--placeholder); }
.listing-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.listing-card:hover .listing-card__media img { transform: scale(1.04); }
.listing-card__status { font-family: var(--font-display); font-size: var(--fs-h3); color: var(--mint-dark); margin-top: 0.75rem; }
.listing-card__status--leased { color: var(--gray-mid); }
.listing-card__addr { font-size: var(--fs-small); color: var(--gray-mid); }
.listing-card__title { font-size: 1.25rem; font-weight: 700; font-family: var(--font-body); margin-top: 0.25rem; color: #1E3A28;}
.listing-card__price { font-size: 1.25rem; font-weight: 700; margin-top: 0.25rem; color: #1E3A28;}
.listing-card__features { margin: 0.5rem 0 1rem; font-size: var(--fs-small); }
.listing-card__features li { position: relative; padding-left: 1.1em; }
.listing-card__features li::before { content: "•"; position: absolute; left: 0; color: var(--gray-mid); }
.listing-card__actions { display: flex; gap: 0.75rem; margin-top: auto; flex-wrap: wrap; }

/* Placeholder-listing card (dark tiles used for "scroll-able pics" on Home) */
.listing-card__media--placeholder { display: grid; place-items: center; background: var(--green); color: var(--mint); }
.listing-card__media--placeholder span { font-family: var(--font-display); font-size: var(--fs-h2); text-align: center; padding: 1rem; }

/* Service item */
.service-item { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.service-item__icon { width: 72px; height: 72px; color: var(--ink); }
.service-item__icon svg { width: 100%; height: 100%; }
.service-item h3 { font-size: var(--fs-h3); }
.service-item p { font-size: var(--fs-small); color: var(--charcoal); max-width: 42ch; }

/* 11. HERO ================================================================= */
.hero { position: relative; }
/* Home full-bleed image hero with overlay text */
.hero--image { min-height: clamp(360px, 55vh, 620px); display: grid; }
.hero--image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero--image::after { content: ""; position: absolute; inset: 0; /* background: linear-gradient(90deg, rgba(30,58,40,0.55), rgba(30,58,40,0.15)); */ z-index: 1; }
.hero--image .container { position: relative; z-index: 2; align-self: center; padding-block: 3rem; width: 100%; }
.hero--image h1 { color: var(--mint); font-size: var(--fs-hero); font-weight: 300; letter-spacing: 0.02em; text-shadow: 0 2px 20px rgba(0,0,0,0.25); }
.hero--image .btn { margin-top: 2rem; }

/* Split hero (green panel + image) */
.hero--split { background: var(--green); color: var(--cream); }
.hero--split .hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,1rem+3vw,4rem); align-items: center; }
.hero--split h1 { font-size: var(--fs-hero); font-weight: 200; color: var(--mint); letter-spacing: 0.02em; font-family: var(--font-display); text-transform: uppercase;}
.hero--split .hero__sub { color: var(--mint); font-size: var(--fs-h3); margin-top: 1.5rem; font-family: 'bp-is'; text-transform: uppercase;}
.hero--split .hero__desc { font-size: var(--fs-small); margin-top: 1.5rem; color: rgba(236,234,225,0.85); }
.hero--split .hero__media { aspect-ratio: 4/3; overflow: hidden; }
.hero--split .hero__media img { width: 100%; height: 100%; object-fit: cover; }

/* Light hero (title on gray with decorative mark) */
.hero--light { background: var(--gray-light); position: relative; overflow: hidden; }
.hero--light h1 { color: var(--green); font-size: var(--fs-hero); font-weight: 300; letter-spacing: 0.03em; text-transform: uppercase;}
.hero--light .hero__sub { font-family: var(--font-display); color: var(--green); font-size: var(--fs-h3); margin-top: 1.5rem; font-family: 'bp-is', sans-serif; text-transform: uppercase;}
.hero--light .hero__mark { position: absolute; right: 4%; top: 12%; width: min(200px, 30vw); opacity: 0.9; pointer-events: none; }
.hero--light .hero__images { display: flex; gap: 1rem; margin-top: 2.5rem; }
.hero--light .hero__images img { flex: 1; object-fit: cover; aspect-ratio: 4/3; }

/* Dark hero (title on green with decorative mark) */
.hero--dark { background: var(--green); position: relative; overflow: hidden; }
.hero--dark h1 { color: var(--mint); font-size: var(--fs-hero); font-weight: 300; letter-spacing: 0.03em; text-transform: uppercase;}
.hero--dark .hero__sub { font-family: var(--font-display); color: var(--mint); font-size: var(--fs-h3); margin-top: 1.5rem; font-family: 'bp-is', sans-serif; text-transform: uppercase;}
.hero--dark .hero__mark { position: absolute; right: 4%; top: 12%; width: min(200px, 30vw); opacity: 0.9; pointer-events: none; }
.hero--dark .hero__images { display: flex; gap: 1rem; margin-top: 2.5rem; }
.hero--dark .hero__images img { flex: 1; object-fit: cover; aspect-ratio: 4/3; }

/* Full-width image banner (detail pages) */
.hero--banner img { width: 100%; height: clamp(280px, 42vh, 520px); object-fit: cover; }

/* 12. MEDIA BLOCKS ========================================================= */
/* Gallery */
.gallery { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; }
.gallery img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.gallery__main { aspect-ratio: 16/10; }
.gallery__side { display: grid; gap: 1rem; }
.gallery__side img { aspect-ratio: 4/3; }

/* Map / video placeholder */
.media-placeholder { background: var(--mint); aspect-ratio: 16/7; display: grid; place-items: center; color: var(--green); }
.media-placeholder iframe { width: 100%; height: 100%; border: 0; }
.media-placeholder__label { font-family: var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; font-size: var(--fs-small); }

/* Floor plan tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 0.25rem; border-bottom: 1px solid var(--charcoal); margin-bottom: 2rem; }
.tab {
  font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.75rem 1rem; color: var(--gray-mid); border-bottom: 3px solid transparent; margin-bottom: -1px;
}
.tab[aria-selected="true"] { color: var(--green); border-bottom-color: var(--mint); }
.tabpanel { display: grid; grid-template-columns: 1fr 1fr; gap: var(--gap); align-items: start; }
.tabpanel[hidden] { display: none; }
.tabpanel__specs p { margin-bottom: 0.75rem; }
.tabpanel__img { background: var(--white); padding: 1rem; border: 1px solid var(--placeholder); }

/* Detail summary block */
.detail-summary { display: grid; grid-template-columns: 1fr 1.4fr; gap: var(--gap); align-items: start; }
.detail-summary__title { font-size: var(--fs-h2); font-family: 'bp-is'; text-transform: uppercase;}
.detail-summary__status { font-family: var(--font-display); font-size: var(--fs-h2); color: var(--mint-dark); margin: 0.25rem 0 1.25rem; }
.detail-summary__status--rented { color: var(--gray-mid); }
.detail-summary__meta { color: var(--charcoal); font-size: var(--fs-small); }
.detail-summary__meta p + p { margin-top: 0.75rem; }
.info-box { background: var(--mint); color: var(--green); padding: 1.5rem; font-size: var(--fs-small); }
.info-box p + p { margin-top: 0.75rem; }

/* Who-we-are / two-column intro */
.intro-cols { display: grid; grid-template-columns: 200px 1fr; gap: var(--gap); align-items: start; }
.intro-cols__label { font-family: var(--font-display); font-size: var(--fs-h2); line-height: 1; }
.intro-cols__label img { width: 56px; margin-bottom: 1rem; }
.intro-tags { display: flex; flex-wrap: wrap; gap: 1.5rem; font-family: var(--font-display); font-size: var(--fs-h3); margin-bottom: 1.5rem; text-transform: uppercase; line-height: 0.75em;}

/* Section headings row */
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: var(--gap); flex-wrap: wrap; }
.section-head h2 { font-size: var(--fs-h1); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; background: rgba(20,20,20,0.92); display: none; place-items: center; z-index: 1000; padding: 1.5rem; }
.lightbox.open { display: grid; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; }
.lightbox__close { position: absolute; top: 1rem; right: 1.25rem; color: var(--cream); font-size: 2rem; line-height: 1; font-family: var(--font-mono); }

/* Notice banner */
.notice { border: 1px solid var(--mint); padding: 1rem 1.5rem; text-align: center; font-size: var(--fs-small); color: var(--charcoal); max-width: 720px; margin-inline: auto; }

/* 13. UTILITIES =========================================================== */
.center { text-align: center; }
.mt-lg { margin-top: var(--space-section); }
.mb-gap { margin-bottom: var(--gap); }
.flex-center { display: flex; justify-content: center; }
.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: 1rem; top: -60px; background: var(--mint); color: var(--green); padding: 0.6rem 1rem; z-index: 200; transition: top var(--transition); }
.skip-link:focus { top: 0.5rem; }

/* 14. RESPONSIVE =========================================================== */
@media (max-width: 900px) {
  .nav { display: none; }                 /* replaced by hamburger menu */
  .hamburger { display: inline-flex; }
  .site-header__inner { justify-content: flex-start; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero--split .hero__grid,
  .footer__grid,
  .contact-card__grid,
  .detail-summary,
  .tabpanel,
  .split-2,  
  .intro-cols { grid-template-columns: 1fr; }
  .footer__bottom, .footer__socials { align-items: flex-start; justify-content: flex-start; }
  .hero--light .hero__mark { opacity: 0.35; }
  .split-2a {flex-direction: column; align-items: center;}
  .split-2a .col-a {width: 90%;}
  .split-2a .col-b {width: 90%;}
}
@media (min-width: 901px) {
  .hamburger { /* keep hamburger as "more" menu on desktop too, per design */ position: absolute; right: var(--pad-x); }
}
@media (max-width: 620px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-form .field--name { border-right: none; }
  .gallery { grid-template-columns: 1fr; }
  .hero--light .hero__images { flex-direction: column; }
  .footer__nav { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; align-items: stretch; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
