/* Glam.Is.On — shared stylesheet
   Colours, type and layout sampled directly from the live Duda site
   (_baseline/live/desktop/*.png and the captured DOM). Montserrat self-hosted. */

@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-300.woff2') format('woff2');
  font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-500.woff2') format('woff2');
  font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-600.woff2') format('woff2');
  font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/montserrat-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --green:       #046307;   /* primary brand green (buttons, links, headings) */
  --green-mid:   #297a2c;   /* full-width green band behind the feature cards */
  --green-band1: #035f06;   /* hero band gradient, left */
  --green-band2: #003401;   /* hero band gradient, right */
  --green-deep:  #002c00;
  --ink:         #313131;
  --ink-soft:    #5d5d5d;
  --line:        #e4e4e4;
  --bg:          #ffffff;
  --black:       #000000;
  --btn-black:   #0a1f0a;
  --white:       #ffffff;

  --wrap:      1180px;
  --gutter:    clamp(1.15rem, 4vw, 2.4rem);
  --section-y: clamp(3.25rem, 7.6vw, 6.9rem);
  --header-h:  clamp(78px, 8vw, 118px);
  --ease:      cubic-bezier(.22,.61,.36,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Montserrat', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 1rem; line-height: 1.72; color: var(--ink); background: var(--bg);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1.15em; }
ul, ol { margin: 0 0 1.15em; padding-left: 1.3em; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* Headings are uppercase and letterspaced across this site. */
/* h6 belongs here too: left out, it fell back to the browser's 2.33em margins
   (46px above AND below), and every icon-row subheading on /hand-tied-extensions
   floated 47px off its paragraph where live has 12px. */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 .65em; line-height: 1.22; font-weight: 700;
  letter-spacing: .045em; text-transform: uppercase;
}
h6 { font-size: 1rem; margin-bottom: 12px; }
h1 { font-size: clamp(1.75rem, 3.3vw, 2.55rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.95rem); }
h3 { font-size: clamp(1.05rem, 1.6vw, 1.28rem); }
h4 { font-size: clamp(1rem, 1.5vw, 1.2rem); }
h5 { font-size: .95rem; }
.u-green { color: var(--green); }
.u-white { color: #fff; }

.wrap { width: min(100% - (var(--gutter) * 2), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--flush { padding-block: 0; }
.center { text-align: center; }
.lede { max-width: 68ch; margin-inline: auto; color: var(--ink-soft); }
.section--wide > .wrap { width: min(100% - (var(--gutter) * 2), 1320px); }
.section--wide { position: relative; background: url('/images/pattern-1920w.jpg') 50% 50% repeat; background-size: auto; background-attachment: fixed; }
/* Live: white gradient (solid to 79%, fading out at 135deg) at 0.95, so the
   pattern ghosts through and shows strongest toward the lower right. */
.section--wide::before { content: ''; position: absolute; inset: 0; opacity: .95;
  background: linear-gradient(135deg, #fff 79%, rgba(255,255,255,0) 100%); pointer-events: none; }
.section--wide > * { position: relative; }
.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: -9999px; top: 0; z-index: 300;
  background: var(--green); color: #fff; padding: .8rem 1.2rem; }
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.7rem; border: 1px solid var(--green); background: var(--green);
  color: #fff; font-size: 12px; font-weight: 400; letter-spacing: .1em;
  text-transform: uppercase; cursor: pointer; text-align: center;
  transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { background: var(--green-deep); border-color: var(--green-deep); color: #fff; text-decoration: none; }
.btn--dark { background: var(--btn-black); border-color: var(--btn-black); }
.btn--dark:hover { background: #000; border-color: #000; }
.btn--outline { background: transparent; color: var(--green); border-color: var(--green); }
.btn--outline:hover { background: var(--green); color: #fff; }
.btn--on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--on-dark:hover { background: #fff; color: #000; border-color: #fff; }
.btn[disabled] { opacity: .6; cursor: not-allowed; }
.btn-row { display: flex; gap: .9rem; flex-wrap: wrap; }
.center .btn-row, .btn-row--center { justify-content: center; }

/* ---------- header: centred logo, hamburger at every width ---------- */
.site-header {
  position: absolute; inset: 0 0 auto 0; z-index: 120;
  min-height: var(--header-h); display: flex; align-items: center;
}
.site-header__inner {
  width: min(100% - (var(--gutter) * 2), 1360px); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.brand { grid-column: 2; justify-self: center; }
.brand img { width: clamp(200px, 28.9vw, 416px); height: auto; }
.nav-toggle {
  grid-column: 3; justify-self: end; background: none; border: 0; cursor: pointer;
  padding: .55rem; width: 46px; height: 42px;
}
.nav-toggle span { display: block; height: 2px; width: 26px; background: #fff; margin: 6px 0;
  transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Pages without a media hero get a solid header and dark burger bars. */
body:not([data-hero]) .site-header { position: relative; background: var(--white); border-bottom: 1px solid var(--line); }
body:not([data-hero]) .nav-toggle span { background: var(--ink); }

/* ---------- full-screen drawer menu (values measured off the live drawer:
   links 20px/400/0.6px, sub-items 14px/#313131 with 15px 12px padding,
   white panel, transform 0.3s linear, close 27x27 at top right) ---------- */
.nav {
  position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
  z-index: 200; background: #fff; overflow-y: auto;
  display: flex; align-items: flex-start; justify-content: center;
  transform: translateY(-100%); transition: transform .3s linear;
}
.nav[data-open='true'] { transform: translateY(0); }
/* Oversized script wordmark ghosted behind the links. */
.nav::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .05;
  background: url('/images/GIS-1920w.png') center/140% auto no-repeat;
}
.nav__inner { position: relative; width: min(444px, 90vw); text-align: center;
  padding: clamp(4rem, 12vh, 8rem) 0; }
.nav a, .mega-trigger {
  display: block; width: 100%; text-align: center; background: none; border: 0;
  font: inherit; color: #000; font-size: 20px; font-weight: 400;
  letter-spacing: .6px; text-transform: uppercase; padding: 12px; cursor: pointer;
  line-height: 24px;
}
.nav a:hover, .mega-trigger:hover { color: var(--green); text-decoration: none; }
.nav a[aria-current='page'] { color: var(--green); }
/* Expanded parent turns green, like the live drawer. */
.has-mega[data-open='true'] > .mega-trigger { color: var(--green); }
.mega-trigger { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; width: 100%; }
.mega-trigger::after {
  content: ''; width: .5rem; height: .5rem; border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px);
  transition: transform .25s var(--ease);
}
.has-mega[data-open='true'] .mega-trigger::after { transform: rotate(-135deg) translateY(-2px); }
.mega { display: none; }
.has-mega[data-open='true'] .mega { display: block; }
.mega a { font-size: 14px; letter-spacing: .42px; color: #313131; padding: 15px 12px; line-height: 21px; }
.nav-close {
  position: absolute; top: 22px; right: 113px; width: 27px; height: 27px;
  background: none; border: 0; padding: 0; cursor: pointer; color: #000; z-index: 2;
}
.nav-close svg { width: 27px; height: 27px; fill: currentColor; }
.nav-scrim { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(520px, 64.4vw, 927px); background: #111; overflow: hidden; }
/* Live: a solid black layer at 50% over the video, not a tinted gradient. */
.hero__scrim { position: absolute; inset: 0; background: #000; opacity: .5; z-index: 1; }
.hero__media { position: absolute; inset: 0; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
/* Live: 171px tall, top edge at 374 of a 927px hero (40.3%), 139deg gradient. */
.hero__band {
  position: absolute; left: 0; right: 0; top: 40.3%;
  min-height: 171px; display: grid; align-items: center;
  background: linear-gradient(139deg, rgb(4, 99, 7) 0%, rgb(0, 44, 0) 100%);
  color: #fff; padding: .9rem var(--gutter); z-index: 2;
}
.hero__band-inner { width: min(100% - (var(--gutter) * 2), 1240px); margin-inline: auto;
  display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; }
/* Live: 16px, letter-spacing 1.6px, champagne rgb(239,205,154). */
.hero__eyebrow { font-size: 1rem; letter-spacing: .1em; text-transform: uppercase;
  margin: 0 0 .35rem; color: rgb(239, 205, 154); text-align: center; font-weight: 400; }
/* Live: 36px, weight 700, letter-spacing 3.6px. */
.hero h1 { color: #fff; margin: 0 0 .3rem; text-align: center;
  font-size: clamp(1.4rem, 2.5vw, 2.25rem); letter-spacing: .1em; line-height: 1.15; }
/* Live: 27px, weight 400, letter-spacing 2.7px. */
.hero__sub { margin: 0; text-align: center; font-size: clamp(.95rem, 1.88vw, 1.69rem);
  letter-spacing: .1em; text-transform: uppercase; font-weight: 400; color: #fff; line-height: 1.25; }
.hero__sub strong { font-weight: 700; }
.hero__play { display: flex; flex-direction: column; align-items: center; gap: .2rem;
  background: none; border: 0; border-left: 1px solid rgba(255,255,255,.45);
  padding-left: 1.5rem; color: #fff; cursor: pointer; font: inherit;
  font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; }
.hero__play svg { width: 22px; height: 22px; fill: #fff; }
@media (max-width: 780px) {
  .hero__band-inner { grid-template-columns: 1fr; }
  .hero__play { border-left: 0; padding-left: 0; flex-direction: row; justify-content: center; }
}

/* ---------- generic sections ---------- */
.band { background: var(--green-mid); color: #fff; position: relative; }
/* Live: the photo is the element background at full opacity; a solid brand-green
   ::before sits over it at 0.85. */
.band--photo { background: var(--bg-img) center/cover no-repeat; background-attachment: fixed; }
.band--photo::before {
  content: ''; position: absolute; inset: 0; background: rgb(4, 99, 7); opacity: .85;
}
/* Every photographic band on the live site scrolls at fixed attachment. Mobile
   and touch browsers ignore/jank on it, so pin those back to scroll. */
@media (hover: none), (max-width: 900px) {
  .band--photo, .section--wide, .section--watermark::before, .band--parallax { background-attachment: scroll; }
}
.band--parallax { background-attachment: fixed; }
.band > .wrap { position: relative; z-index: 1; }
.band h1, .band h2, .band h3, .band h4 { color: #fff; }
.band p { color: rgba(255,255,255,.93); }

.feature-cards { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.feature-card {
  position: relative; min-height: clamp(430px, 53vw, 760px); display: flex; flex-direction: column;
  justify-content: flex-end; padding: 2rem 1.9rem; color: #fff;
  border: 1px solid rgba(0,0,0,.35); overflow: hidden; isolation: isolate;
}
.feature-card::before { content: ''; position: absolute; inset: 0; z-index: -2;
  background: var(--bg-img) center/cover no-repeat; }
.feature-card::after { content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,40,12,.30) 0%, rgba(8,32,10,.72) 62%, rgba(6,26,8,.86) 100%); }
.feature-card h3 { color: #fff; margin-bottom: .7rem; letter-spacing: .06em; }
.feature-card p { font-size: .92rem; color: rgba(255,255,255,.94); }

/* two-column split with an outlined media frame */
.split { display: grid; gap: clamp(1.6rem, 4vw, 3.4rem); align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.split--intro h2 { font-size: clamp(1.15rem, 1.75vw, 1.5rem); }
.frame { border: 2px solid var(--green); aspect-ratio: 600 / 350; display: grid; place-items: center; }
.frame img { width: 100%; height: 100%; object-fit: contain; }

/* carousel */
.carousel { position: relative; }
.carousel__track { display: grid; gap: 1rem; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 2rem) / 3); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; }
@media (max-width: 820px) { .carousel__track { grid-auto-columns: calc((100% - 1rem) / 2); } }
@media (max-width: 560px) { .carousel__track { grid-auto-columns: 100%; } }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track img { width: 100%; aspect-ratio: 3 / 4.15; object-fit: cover; scroll-snap-align: start; }
.carousel__btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  background: none; border: 0; cursor: pointer; color: var(--green); padding: .5rem; }
.carousel__btn svg { width: 26px; height: 26px; fill: currentColor; }
.carousel__btn--prev { left: -2.4rem; }
.carousel__btn--next { right: -2.4rem; }
@media (max-width: 1320px) {
  .carousel__btn--prev { left: -.4rem; } .carousel__btn--next { right: -.4rem; }
}
.dots { display: flex; gap: .5rem; justify-content: center; margin-top: 1.5rem; }
.dots button { width: 9px; height: 9px; border-radius: 50%; border: 0; padding: 0;
  background: #cfcfcf; cursor: pointer; }
.dots button[aria-current='true'] { background: var(--green); }

/* about band over a photo */
.about {
  position: relative; color: #fff; padding-block: clamp(3.5rem, 8vw, 7rem);
  background: var(--bg-img) 50% 0 / cover no-repeat;
  background-attachment: fixed;   /* live: parallax via fixed attachment */
}
/* iOS ignores fixed attachment and janks; serve the static image there. */
@media (hover: none), (max-width: 900px) {
  .about { background-attachment: scroll; }
}
/* Live (::before on .hasBackgroundOver): green-to-black at 50% over the photo.
   The earlier near-opaque wash came from trusting full-page screenshots, which
   flatten fixed-attachment backgrounds into a solid smear. */
.about::before { content: ''; position: absolute; inset: 0; opacity: .5;
  background: linear-gradient(90deg, rgb(4, 99, 7) 0%, rgb(0, 0, 0) 100%); }
.about > .wrap { position: relative; z-index: 1; }
.about__col { margin-left: auto; width: min(100%, 620px); }
.about h2 { color: #fff; font-size: clamp(1.5rem, 2.8vw, 2.15rem); }
.about p { color: #fff; }

/* testimonials */
.quote-box { border: 2px solid var(--green); padding: clamp(1.6rem, 3vw, 2.6rem); text-align: center; background: #fff; }
.quote-box img.mark { width: 46px; margin: 0 auto 1.2rem; }
.quote-box h3 { color: var(--green); margin-bottom: .8rem; }
.quote-box p { font-size: .95rem; }

/* full-bleed image strip */
.strip { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip img { width: 100%; height: clamp(300px, 48.6vw, 700px); object-fit: cover; }
@media (max-width: 700px) { .strip { grid-template-columns: 1fr; } }

/* blog cards */
.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 275px), 1fr)); }
.card { background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card__body { padding: 1.5rem 1.4rem 1.7rem; text-align: center; display: flex;
  flex-direction: column; flex: 1; }
.card__body h3 { color: var(--green); letter-spacing: .06em; }
.card__body h3 a { color: inherit; }
.post-card-meta { font-size: .74rem; color: var(--ink-soft); letter-spacing: .08em; margin-bottom: .5rem; }
.post-card-desc { color: var(--ink-soft); font-size: .92rem; flex: 1; }
.read-more { display: inline-flex; align-items: center; gap: .45rem; margin-top: 1rem;
  font-size: .72rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }

/* long-form article */
.post-body { max-width: 76ch; margin-inline: auto; }
.post-body h1 { text-align: center; }
.post-body h2, .post-body h3, .post-body h4, .post-body h5 { margin-top: 2.1rem; }
.post-body img { margin: 1.8rem auto; }
.post-body p, .post-body li { text-transform: none; }

/* ---------- forms ---------- */
.form { display: grid; gap: 1rem; max-width: 36rem; margin-inline: auto; text-align: left; }
.form--wide { max-width: 48rem; }
.field { display: grid; gap: .38rem; }
.field label { font-size: .72rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
.field input, .field select, .field textarea {
  font: inherit; font-size: .96rem; padding: .82rem .9rem; border: 1px solid var(--line);
  background: #fff; color: var(--ink); width: 100%;
}
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--green); outline: none; }
.radio-set { display: grid; gap: .55rem; }
.radio-set label { display: flex; gap: .6rem; align-items: flex-start; text-transform: none;
  letter-spacing: 0; font-weight: 400; font-size: .96rem; cursor: pointer; }
.radio-set input { width: auto; margin-top: .3rem; }
.form-status { font-size: .92rem; min-height: 1.4em; }
.form-status[data-state='error'] { color: #a3231d; }
.form-status[data-state='ok'] { color: var(--green); }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; overflow: hidden; }
.step { display: none; } .step[data-active='true'] { display: block; }
.progress { height: 4px; background: var(--line); margin-bottom: 2rem; }
.progress__bar { height: 100%; background: var(--green); width: 0; transition: width .3s var(--ease); }

/* ---------- footer ---------- */
.site-footer { background: var(--black); color: #fff; padding-top: clamp(2.4rem, 5vw, 3.6rem); }
.site-footer a { color: #fff; }
.footer-ctas { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
  margin-bottom: clamp(2.2rem, 5vw, 3.4rem); }
.footer-cols { display: grid; gap: clamp(1.8rem, 4vw, 3rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); }
.footer-cols h4 { color: #fff; font-size: 1.05rem; letter-spacing: .09em; margin-bottom: .5rem; }
.footer-cols h4 + p { margin-bottom: 1.15rem; }
.footer-cols p { font-size: .95rem; margin-bottom: .3rem; }
.footer-col--first { text-align: center; }
.footer-col--first p { color: rgba(255,255,255,.86); letter-spacing: .06em; }
.footer-link { color: var(--green) !important; font-weight: 500; }
.socials { display: flex; gap: 1.15rem; flex-wrap: wrap; margin-top: .4rem; }
.socials a { color: var(--green); display: inline-flex; }
.socials svg { width: 19px; height: 19px; fill: currentColor; }
.socials a:hover { color: #fff; }
.newsletter { display: grid; gap: .6rem; grid-template-columns: 1fr 1fr; margin-top: .9rem; }
.newsletter input { font: inherit; font-size: .88rem; padding: .68rem .8rem;
  border: 1px solid rgba(255,255,255,.35); background: transparent; color: #fff; width: 100%; }
.newsletter input::placeholder { color: rgba(255,255,255,.62); }
.newsletter .btn { grid-column: 1 / -1; justify-self: center; min-width: 150px; }
.newsletter .form-status { grid-column: 1 / -1; text-align: center; }
.footer-note { border-top: 1px solid rgba(255,255,255,.14); margin-top: clamp(2rem, 4vw, 3rem);
  padding-block: 1.4rem; text-align: center; font-size: .86rem; color: rgba(255,255,255,.72); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* ---------- blog (BLOG-TEMPLATE.md spec classes) ---------- */
.blog-filters { display: flex; gap: .6rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.4rem; }
.filter-btn {
  font: inherit; font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  padding: .7rem 1.4rem; border: 1px solid var(--green); background: transparent;
  color: var(--green); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease);
}
.filter-btn:hover, .filter-btn.active { background: var(--green); color: #fff; }

.blog-grid { display: grid; gap: clamp(1.1rem, 2.4vw, 1.9rem);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 285px), 1fr)); }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line);
  color: inherit; transition: box-shadow .25s var(--ease), transform .25s var(--ease); }
.post-card:hover { text-decoration: none; box-shadow: 0 16px 38px rgba(0,0,0,.10); transform: translateY(-3px); }
.post-card-thumb { overflow: hidden; }
/* Blog thumbnails are 4:5 portrait (client, 2026-10-06; live's are 387x450).
   The home page's latest-posts strip keeps its own ratio below. */
.post-card-thumb img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.post-card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; text-align: center; }
.post-card-cat { display: inline-block; align-self: center; font-size: .62rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--green);
  padding: .3rem .8rem; margin-bottom: .9rem; }
.post-card-title { font-weight: 700; letter-spacing: .06em; text-transform: none;
  color: var(--green); font-size: 1rem; line-height: 1.4; margin-bottom: .6rem; }
.post-card-desc { color: var(--ink-soft); font-size: .9rem; flex: 1; margin-bottom: .9rem; }
.post-card-meta { font-size: .72rem; letter-spacing: .1em; color: var(--ink-soft); text-transform: uppercase; }

/* post page */
.blog-post-hero { max-width: 1100px; margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--gutter) 1rem; }
.blog-post-hero img { width: 100%; max-height: 450px; object-fit: cover; margin-bottom: 2rem; }
.blog-post-hero-content { max-width: 900px; }
.blog-post-cat { display: inline-block; padding: .32rem .95rem; font-size: .64rem; font-weight: 600;
  letter-spacing: .16em; text-transform: uppercase; background: var(--green); color: #fff; margin-bottom: 1rem; }
.blog-post-hero-content h1 { font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.22; margin-bottom: 1rem; }
.post-meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.post-meta-dot { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .45; }

.blog-post-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(1.8rem, 4vw, 3rem);
  max-width: 1100px; margin: 0 auto; padding: 2rem var(--gutter) clamp(3rem, 6vw, 5rem); }
@media (max-width: 900px) { .blog-post-wrap { grid-template-columns: 1fr; } }

.blog-article { font-size: 1.03rem; line-height: 1.75; }
.blog-article h1, .blog-article h2, .blog-article h3, .blog-article h4, .blog-article h5 { margin: 2.3rem 0 1rem; }
.blog-article h1 { font-size: clamp(1.35rem, 2.4vw, 1.8rem); }
.blog-article h2 { font-size: clamp(1.2rem, 2.1vw, 1.55rem); }
.blog-article h3, .blog-article h4, .blog-article h5 { font-size: 1.08rem; }
.blog-article p, .blog-article li { text-transform: none; }
.blog-article p { margin-bottom: 1.25rem; }
.blog-article ul, .blog-article ol { margin: 0 0 1.25rem 1.4rem; }
.blog-article img { margin: 1.8rem auto; }

.blog-sidebar { display: flex; flex-direction: column; gap: 1.4rem; align-content: start; }
.sidebar-card { border: 1px solid var(--line); padding: 1.3rem; }
.sidebar-head { font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--green); margin-bottom: .8rem; }
.sidebar-body { display: flex; flex-direction: column; }
.sidebar-link { display: block; padding: .6rem 0; font-size: .88rem; line-height: 1.45;
  color: var(--ink); border-bottom: 1px solid var(--line); }
.sidebar-link:last-child { border-bottom: none; }
.sidebar-link:hover { color: var(--green); text-decoration: none; }
.sidebar-cta { background: var(--green); color: #fff; padding: 1.6rem; text-align: center; }
.sidebar-cta-title { font-weight: 700; font-size: .95rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .6rem; }
.sidebar-cta p { font-size: .9rem; color: rgba(255,255,255,.94); }
.sidebar-cta a { display: inline-block; background: #fff; color: var(--green); padding: .75rem 1.4rem;
  font-size: .68rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
.sidebar-cta a:hover { text-decoration: none; background: var(--btn-black); color: #fff; }

.section--soft { background: #f7f7f7; }
.eyebrow { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  font-weight: 600; color: var(--green); margin: 0 0 .75rem; }

/* Homepage 'Latest Blogs' cards mirror the live design: title, blurb, Read More.
   The category pill and date stay in the DOM (the publisher writes them) but are
   hidden here, and the Read More affordance is drawn with a pseudo-element so the
   card markup the publisher clones is unchanged. */
#latestPosts .post-card-cat,
#latestPosts .post-card-meta { display: none; }
#latestPosts .post-card-body { padding-bottom: 1.4rem; }
#latestPosts .post-card-body::after {
  content: 'Read More \2192'; margin-top: 1rem; color: var(--green);
  font-size: .7rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
}

/* The heading needs the wider container to stay on one line, but the carousel
   itself is ~1060px on the live site. Constrain it back. */
.section--wide .carousel { max-width: 1060px; margin-inline: auto; }

#latestPosts .post-card-thumb img { aspect-ratio: 385 / 500; }
#latestPosts .post-card-title { font-size: 1.02rem; letter-spacing: .07em; }
/* The guest-experience column on the live site runs ~550px tall. Only the ACTIVE
   quote is laid out — setting display on .quote-box itself would override
   .step { display: none } and render all six at once. */
.quote-box { min-height: 470px; }
.quote-box.step[data-active='true'] { display: flex; flex-direction: column; justify-content: center; }

/* ---------- internal page hero ----------
   Every non-home page opens with the same 298px leaf-pattern banner carrying the
   script wordmark (drawn by the site header above it) and the page title, closed
   by a small downward notch. Measured off the live pages. */
.page-hero {
  position: relative; min-height: 298px; display: grid; align-items: end;
  justify-items: center; text-align: center; padding: 0 var(--gutter) 2.6rem;
  /* Sampled from the live pages: a near-flat vertical green gradient with the
     leaf pattern only faintly visible on top. */
  background: linear-gradient(180deg, #035a06 0%, #024104 50%, #012b02 100%);
  /* NO overflow:hidden here — it clips the ::after notch below the band. */
}
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: .13; mix-blend-mode: overlay;
  background: url('/images/pattern-2880w.jpg') center/cover no-repeat;
  overflow: hidden;   /* clip the pattern, not the notch */
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(1.5rem, 3.1vw, 2.4rem); letter-spacing: .06em; }
.page-hero p { color: rgba(255,255,255,.9); margin: .6rem 0 0; font-size: .95rem;
  letter-spacing: .14em; text-transform: uppercase; }
.page-hero::after {
  content: ''; position: absolute; left: 50%; bottom: -17px; transform: translateX(-50%);
  width: 0; height: 0; border-left: 25px solid transparent; border-right: 25px solid transparent;
  border-top: 18px solid var(--green-band2);
}
/* The notch hangs BELOW the band, so it needs to paint over whatever section
   follows. Without this it is invisible on any page whose next section has a
   background of its own -- e.g. the photo band on /certified-nbr-extension-method. */
.page-hero { z-index: 3; }
body[data-page-hero] .site-header { position: absolute; background: none; border-bottom: 0; }
body[data-page-hero] .nav-toggle span { background: #fff; }
body[data-page-hero] .page-hero { padding-top: var(--header-h); }

/* Internal content rhythm: readable measure, two-tone headings, alternating bands. */
.prose { max-width: 74ch; }
.prose h2, .prose h3, .prose h4, .prose h5 { margin-top: 2.2rem; }
.prose p, .prose li { text-transform: none; }
.section--alt { background: var(--bg-soft, #f7f7f7); }

/* ---------- internal page media ---------- */
.frame--photo { border: 2px solid var(--green); aspect-ratio: auto; display: block; }
.frame--photo img { width: 100%; height: 100%; object-fit: cover; max-height: 620px; }
.band-img { width: 100%; height: clamp(280px, 40vw, 560px); object-fit: cover; }
/* Live internal pages use fixed-attachment photo bands rather than inline imgs. */
.photo-band { position: relative; min-height: clamp(320px, 46vw, 640px);
  background: var(--bg-img) center/cover no-repeat; background-attachment: fixed; }
@media (hover: none), (max-width: 900px) { .photo-band { background-attachment: scroll; } }
/* The live transformations gallery is five near-square columns with a tight gap. */
/* A Duda gallery cover-crops every tile to ONE box. --cols and --tile come
   from the capture; the old hardcoded 5-up / 1:1.05 ignored both, which is why
   a 3-up of 473x670 photos came out uneven and far taller than live. */
.gallery { display: grid; gap: var(--gap, 10px);
  grid-template-columns: repeat(var(--cols, 5), minmax(0, 1fr)); }
.gallery img { width: 100%; aspect-ratio: var(--tile, 1 / 1.05); object-fit: cover; display: block; }
@media (max-width: 1000px) { .gallery { grid-template-columns: repeat(min(var(--cols, 3), 3), minmax(0, 1fr)); } }
@media (max-width: 620px)  { .gallery { grid-template-columns: repeat(min(var(--cols, 2), 2), minmax(0, 1fr)); } }
.media-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.media-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

/* Section two carries the wordmark as a faint watermark and a 590x339 video frame. */
.section--watermark { position: relative; }
.section--watermark::before {
  content: ''; position: absolute; inset: 0; z-index: 0; opacity: .06;
  background: url('/images/GIS-1920w.png') center/contain no-repeat;
  background-attachment: fixed;
}
.section--watermark > .wrap { position: relative; z-index: 1; }
.frame--video { border: 2px solid var(--green); aspect-ratio: 590 / 339; }
.frame--video iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Live carousel slides are 339x604 with a 21px gutter, eight of them. */
.carousel__track { gap: 21px; }
.carousel__track img { aspect-ratio: 339 / 604; }

/* UserWay: lower left, matching the live site (left/bottom 13px). The chat
   widget owns the lower-right corner. */
.userway_buttons_wrapper {
  left: 13px !important; right: auto !important;
  top: auto !important; bottom: 13px !important;
  position: fixed !important; z-index: 140 !important;
}

/* ---------------------------------------------------------------------------
   Typography matched to the live page, measured via _baseline/layout-live-home
   and tools/diff-layout.py rather than by eye. Live uses fixed px, so these are
   fixed too; the clamp() versions above still cover the responsive range.
   --------------------------------------------------------------------------- */

/* Intro heading: 26px / 700 */
.split--intro h2 { font-size: 26px; }

/* Green band heading 25px, its sub 22px / 500 in rgb(239,237,234) */
.band .center h2 { font-size: 25px; }
.band .center h5 { font-size: 22px; font-weight: 500; color: rgb(239, 237, 234); }

/* Feature cards: 20px / 600 heading, 16px body at full white */
.feature-card h3 { font-size: 20px; font-weight: 600; }
.feature-card p  { font-size: 16px; color: #fff; }

/* "Elevate" lede is black on the live page, not grey */
.section--wide .lede { color: #000; max-width: 84ch; font-size: 16px; }

/* About copy: 300 weight, full white */
.about p { font-weight: 300; color: #fff; }

/* Live uses the ➧ glyph on its arrow buttons */
.btn--outline, .about .btn { font-size: 12px; font-weight: 400; }

/* Section headings at their live sizes */
.section--wide h2            { font-size: 27px; }
.section--wide.section { padding-block: clamp(3rem, 5.3vw, 4.75rem); }
.about h2                    { font-size: 40px; }
.split h2.u-green            { font-size: 28px; }   /* GUEST EXPERIENCES */
.quote-box h3                { font-size: 18px; }
.section .center h2.u-green  { font-size: 40px; }   /* LATEST BLOGS */
#latestPosts .post-card-title { font-size: 19px; }

/* Outline buttons render black text on the live page, not green */
.btn--outline { color: #000; border-color: var(--green); }
.btn--outline:hover { color: #fff; }

/* Card blurbs are black on the live page */
#latestPosts .post-card-desc { color: #000; }

/* Footer CTA buttons: grey label, and the contact lines are 600 */
.footer-ctas .btn--on-dark { color: rgb(118, 118, 118); border-color: rgba(255,255,255,.28); }
.footer-ctas .btn--on-dark:hover { color: #000; }
.footer-link { font-weight: 600; }

/* Footer typography, verified against both computed styles and the PNG's pixels:
   the phone and email are grey #767676, not green as they read at small size. */
.footer-col--first h4        { font-size: 25px; }
.footer-cols h4              { font-size: 22px; }
.footer-ctas .btn--on-dark   { font-size: 14px; }
.footer-link                 { color: #767676 !important; font-weight: 600; }
.footer-link:hover           { color: #fff !important; }
.footer-col--first p         { color: #fff; }
#latestPosts .post-card-desc { font-size: 16px; }

/* Order matters: the first footer column's heading is 25px, the rest 22px. */
.site-footer .footer-cols .footer-col--first h4 { font-size: 25px; }
.site-footer .footer-cols p,
.site-footer .newsletter input { font-size: 16px; }

/* ---------- guest experiences, matched to the live section ---------- */
.section--guests .split { align-items: center; }
.section--guests h2 { margin-bottom: 1.6rem; }
/* Live: the 561x546 quote mark sits at FULL strength behind the column; the
   solid white quote box covers its middle so the strokes peek out around it. */
.section--guests [data-testimonials] { position: relative; }
/* The quote mark's -8% sides pushed phones 10px wide; clip, don't scroll. */
.section--guests { overflow-x: clip; }
.section--guests [data-testimonials]::before {
  content: ''; position: absolute; inset: -4% -8%;
  background: url('/images/Icon-1920w.png') center/contain no-repeat;
  pointer-events: none;
}
.quote-box { position: relative; border: 2px solid var(--green); background: #fff; }
.quote-box img.mark { display: none; }
/* Right image at the live 575x696 box, subject fully in frame. */
.quotes-media img { width: 100%; aspect-ratio: 575 / 696; object-fit: cover; object-position: 50% 100%; }

/* ---------- video lightbox (hero PLAY) ---------- */
.lightbox { position: fixed; inset: 0; z-index: 400; display: none; place-items: center;
  background: rgba(0,0,0,.82); padding: 4vmin; }
.lightbox[data-open='true'] { display: grid; }
.lightbox__frame { width: min(1100px, 92vw); aspect-ratio: 16 / 9; background: #000; position: relative; }
.lightbox__frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.lightbox__close { position: absolute; top: -44px; right: 0; background: none; border: 0;
  color: #fff; font-size: 2.1rem; line-height: 1; cursor: pointer; }

/* ---------- client chat widget (values verbatim from their Duda head code) ---------- */
#glam-floating-widget { position: fixed; bottom: 15px; right: 15px; z-index: 150;
  font-family: Arial, Helvetica, sans-serif; }
#glam-floating-btn { background-color: #046307; border: none; border-radius: 50%;
  width: 45px; height: 45px; cursor: pointer; box-shadow: 0 4px 10px rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center; transition: transform .2s ease; }
#glam-floating-btn:hover { transform: scale(1.05); }
#glam-menu-container { position: absolute; bottom: 65px; right: 0; left: auto;
  background: #fff; border-radius: 12px; box-shadow: 0 5px 20px rgba(0,0,0,.2);
  width: 260px; overflow: hidden; opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all .3s ease; }
#glam-menu-container.show { opacity: 1; visibility: visible; transform: translateY(0); }
.glam-menu-header { background-color: #046307; color: #fff; padding: 16px;
  font-size: 15px; font-weight: 600; text-align: center; line-height: 1.3; }
.glam-menu-options { display: flex; flex-direction: column; }
.glam-menu-item { padding: 15px 20px; text-decoration: none; color: #333; font-size: 15px;
  font-weight: 500; border-bottom: 1px solid #f0f0f0; transition: background .2s;
  display: flex; align-items: center; gap: 12px; }
.glam-menu-item:last-child { border-bottom: none; }
.glam-menu-item:hover { background-color: #f9f9f9; color: #046307; }

/* ---------- FABULOUS typewriter band (/about, values off the live PNG) ---------- */
.marquee-band { background: #000; padding: clamp(2.5rem, 5vw, 4rem) var(--gutter); }
.marquee-box { background: #045f08; max-width: 1240px; margin-inline: auto;
  padding: clamp(1.6rem, 4vw, 3rem) 1rem; text-align: center; }
.marquee-text { color: #d0d075; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; }
.marquee-cursor { animation: blink 1s step-end infinite; font-weight: 400; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- icon feature rows (hand-tied-extensions, live: 70x70 icons) ---------- */
.icon-rows { display: grid; gap: clamp(1.6rem, 3vw, 2.6rem); max-width: 900px; margin-inline: auto; }
.icon-row { display: grid; grid-template-columns: 70px 1fr; gap: 1.4rem; align-items: start; }
.icon-row__icon { width: 70px; height: 70px; object-fit: contain; }
.icon-row h3 { margin-bottom: .5rem; }
.icon-row p { text-transform: none; color: var(--ink-soft); }
@media (max-width: 620px) { .icon-row { grid-template-columns: 1fr; } }

/* ---------- transformations gallery (/before-after), measured off live:
   heading 48px / 700 / rgb(4,99,7) / centred / 4.8px tracking, then five tight
   near-full-bleed columns. ---------- */
.gallery-section { padding-block: 0 clamp(2rem, 4vw, 3.5rem); }
.gallery-wrap { width: min(100% - 3.5rem, 1385px); margin-inline: auto; }
body[data-page-hero] .section:has(.page-lead-heading) { padding-block: clamp(2rem,4vw,3.2rem) 0; }
/* The page's lead heading is the big green centred one. */
.gallery-section + .section h2:first-child,
body[data-page-hero] .section > .wrap > h2:first-of-type { }
.page-lead-heading { font-size: 48px; font-weight: 700; color: rgb(4, 99, 7);
  text-align: center; letter-spacing: 4.8px; margin: 0 0 29px; }

/* ---------- hand-tied feature split: rotating image left, icon rows right
   (live: image 496x724 at x=122, icons begin x=662) ---------- */
.feature-split__grid { display: grid; grid-template-columns: 496px 1fr; gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
.slideshow { position: relative; aspect-ratio: 496 / 724; overflow: hidden; }
.slideshow img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .9s ease; }
.slideshow img[data-active='true'] { opacity: 1; }
@media (max-width: 900px) { .feature-split__grid { grid-template-columns: 1fr; } }

/* ---------- ported Duda rows: their 12-column grid, our styling ---------- */
.ported-row { padding-block: clamp(1.4rem, 2.6vw, 2.4rem); position: relative; }
.ported-row--photo { background: var(--bg-img) center/cover no-repeat; background-attachment: fixed; color: #fff;
  min-height: clamp(340px, 44vw, 640px); display: flex; align-items: center; }
.ported-row--photo::before { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.ported-row--photo > .wrap { position: relative; z-index: 1; }
.ported-row--photo h1, .ported-row--photo h2, .ported-row--photo h3, .ported-row--photo p { color: #fff; }
@media (hover: none), (max-width: 900px) { .ported-row--photo { background-attachment: scroll; } }
.ported-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(1.2rem, 2.6vw, 2.4rem); align-items: center; }
.ported-col { grid-column: span var(--span, 12); min-width: 0; }
.ported-col p, .ported-col li { text-transform: none; }
.ported-col img { width: 100%; height: auto; }
@media (max-width: 860px) { .ported-col { grid-column: span 12; } }

/* A ported row with no copy is pure art: give it a band height, never let an
   image stretch it to thousands of pixels. */
.ported-row:not(.ported-row--photo):empty,
.ported-row > .wrap:empty { display: none; }
.ported-row img { max-height: 460px; width: auto; max-width: 100%; margin-inline: auto; }
.ported-row--gallery img { max-height: 340px; width: 100%; object-fit: cover; }
.ported-row--gallery .ported-grid { align-items: stretch; gap: 14px; }
.ported-col > img:only-child { display: block; }

/* Several images inside one ported cell are a gallery, not a stack. */
.cell-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 14px; }
.cell-gallery img { width: 100%; height: 100%; max-height: 320px; object-fit: cover; margin: 0; }
.col-video { aspect-ratio: 16 / 10; }
.col-video iframe { width: 100%; height: 100%; border: 0; display: block; }


/* ---------------------------------------------------------------------------
   Rows rendered from the Duda row/column capture (_baseline/page-layout.json).
   RULE ZERO: one Duda row is one section. Columns keep their captured widths
   on a 12-column grid: widthPct >=70 -> 12, 35-55 -> 6, under 35 -> 4.
   --------------------------------------------------------------------------- */
.row { padding-block: clamp(2rem, 4vw, 3.4rem); position: relative; }
.row--tint { background: var(--bg); }
/* Duda paints a photo band as the photo PLUS a ::before wash, and the wash is
   what makes the band read light or dark. On this site most bands are washed
   white at 0.4-0.95 (a few brand green at 0.8-0.95), so the blanket black
   scrim this used to carry made every internal page a dark saturated crop
   nothing like the original. Colour, opacity, position and size all come from
   the capture. */
.row--photo { background: var(--bg-img) var(--bg-pos, 50% 50%) / var(--bg-size, cover) no-repeat;
  /* Attachment comes from the capture. Duda uses scroll on these bands, and
     forcing `fixed` both re-crops the photo against the VIEWPORT instead of the
     section and flattens wrongly in a full-page capture. */
  background-attachment: var(--bg-attach, scroll); color: #fff; }
.row--photo::before { content: ''; position: absolute; inset: 0;
  background: var(--ov-color, rgba(0,0,0,0)); opacity: var(--ov-opacity, 0); }
.row--photo > .wrap { position: relative; z-index: 1; }
.row--photo h1, .row--photo h2, .row--photo h3, .row--photo h4, .row--photo p, .row--photo li { color: #fff; }
/* A background-only row is a band, never an empty grey box. */
.row--band { padding: 0; min-height: clamp(280px, 38vw, 520px); position: relative;
  background: var(--bg-img) var(--bg-pos, 50% 50%) / var(--bg-size, cover) no-repeat;
  background-attachment: var(--bg-attach, scroll); }
.row--band::before { content: ''; position: absolute; inset: 0;
  background: var(--ov-color, rgba(0,0,0,0)); opacity: var(--ov-opacity, 0); }
@media (hover: none), (max-width: 900px) {
  .row--photo, .row--band { background-attachment: scroll; }
}
.wrap--measure { width: min(100% - (var(--gutter) * 2), 900px); }

.row-grid { display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.2rem, 2.6vw, 2.4rem); align-items: center; }
.row-col { grid-column: span var(--span, 12); min-width: 0; }
.row-col p, .row-col li { text-transform: none; }
.row-col img, .row-col video { width: 100%; height: auto; }
.row-col > .btn-row { margin-top: 1.2rem; }
@media (max-width: 860px) { .row-col { grid-column: span 12; } }

.photo-cards { display: grid; gap: clamp(1rem, 2vw, 1.6rem);
  grid-template-columns: repeat(var(--cols, 3), 1fr); }
.photo-card { background: #fff; border: 1px solid var(--line); }
.photo-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-card__body { padding: 1.2rem 1.3rem 1.5rem; }
figure.media { margin: 0; }
figure.media img, video.media { width: 100%; height: auto; }
@media (max-width: 1000px) { .gallery, .photo-cards { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 620px)  { .gallery, .photo-cards { grid-template-columns: repeat(2, 1fr); } }

/* Duda YouTube widget: a fixed 16:9 box so a lazy iframe cannot shift layout. */
.embed{position:relative;width:100%;aspect-ratio:16/9;background:#000;overflow:hidden}
.embed iframe{position:absolute;inset:0;width:100%;height:100%;border:0}

/* Duda's text+media widget on a photo band: a white card, copy left, media
   right, the media bleeding past the card's edge as it does on the live site.
   The card is a LIGHT context inside a dark one, so it must undo .row--photo's
   white type or the copy is white on white and simply disappears. */
.row--card > .wrap > .row-grid {
  background: #fff; align-items: center; gap: 0;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
}
.row--card, .row--card .row-col, .row--card h1, .row--card h2, .row--card h3,
.row--card h4, .row--card h5, .row--card p, .row--card li { color: var(--ink); }
.row--card h1, .row--card h2, .row--card h3 { color: var(--green); }
/* Padding by ROLE, not position: the photo sits on the left on /hair-colorist's
   "Natural, Lived-In" card and on the right everywhere else, and a
   first-child/last-child rule padded the photo and flattened the copy. */
.row--card .row-col { padding: clamp(1.6rem,3vw,3rem); }
.row--card .row-col--media { padding: 0; align-self: stretch; }
.row--card .embed { height: 100%; aspect-ratio: auto; min-height: 320px; }
.row--card .row-col--media img:not([style*="margin"]) { width: 100%; height: 100%; object-fit: cover; }
/* A card captured from live carries its own width, fill and shadow. */
.row--card[style*="--card-w"] > .wrap { width: min(100% - (var(--gutter) * 2), var(--card-w)); }
.row--card[style*="--card-w"] > .wrap > .row-grid {
  background: var(--card-bg, #fff); box-shadow: var(--card-shadow, 0 5px 15px rgba(0,0,0,.1)); }
/* A photo that overhangs its card (Duda: -50px widget margins). */
.row-col--media img.overhang { display: block; width: 100%; object-fit: cover; }
@media (max-width: 760px) { .row--card .embed { aspect-ratio: 16/9; min-height: 0; } }

/* Duda's leaf pattern as a CONTENT band (not the page hero): a green panel
   with the pattern tinted into it and gold display type over the top. */
.row-col--pattern {
  position: relative; isolation: isolate;
  background: var(--green-mid);
  display: grid; place-items: center; text-align: center;
  padding: clamp(2rem, 5vw, 3.4rem) clamp(1rem, 4vw, 3rem);
}
/* The leaves are a FAINT texture on live, not a photo. Painted as an overlay
   so the opacity is controllable; as a blended background it read as a busy
   graphic nothing like the original. */
/* Same recipe as Duda's pattern bands: the dark leaf texture under a 95%
   brand-green wash, which lands on live's (6, 96, 9). The earlier 16% texture
   over a lighter green read brighter and busier than the original. */
.row-col--pattern { background: rgb(4, 99, 7); }
.row-col--pattern::before {
  content: ''; position: absolute; inset: 0; z-index: -1; opacity: .05;
  background: url('/images/pattern-2880w.jpg') center/cover no-repeat;
}
.row-col--pattern > * { position: relative; }
/* Live insets the panel, leaving the row's own dark ground either side. */
.row--tint .row-col--pattern { max-width: 1160px; margin-inline: auto; width: 100%; }
.row-col--pattern, .row-col--pattern p, .row-col--pattern h2,
.row-col--pattern h3, .row-col--pattern h4, .row-col--pattern li { color: #fff; }
/* The gold display type belongs ONLY to a lone-headline band. The pattern
   columns on /hair-colorist and the home page carry a photo gallery and would
   be wrecked by a 3.4rem gold paragraph. */
.row-col--pattern.is-display p, .row-col--pattern.is-display h2,
.row-col--pattern.is-display h3, .row-col--pattern.is-display h4 {
  color: #d0d075; margin: 0;
  font-weight: 700; letter-spacing: .01em; text-transform: uppercase;
  font-size: clamp(1.4rem, 3.4vw, 3.1rem); line-height: 1.12;
}
.typer__word::after { content: '|'; margin-left: .06em; animation: typerCaret 1s step-end infinite; }
@keyframes typerCaret { 50% { opacity: 0 } }


/* A photo band can be light or dark. Where live puts dark copy on a light
   blurred photo, white type was invisible. */
.row--on-light, .row--on-light p, .row--on-light li { color: var(--ink); }
.row--on-light h1, .row--on-light h2, .row--on-light h3,
.row--on-light h4, .row--on-light h5 { color: var(--green); }
.row--on-light .btn--outline { color: var(--ink); border-color: var(--ink); }

/* Live lays a row's buttons side by side and wraps them; stacked is ours. */
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn-row--center { justify-content: center; }

/* Duda imageSlider: a fading slideshow. The live widget autoplays every 7s with
   arrows and dots; slides are photos with an optional caption. */
.slider { position: relative; overflow: hidden; }
.slider__slides { list-style: none; margin: 0; padding: 0; position: relative; }
.slider .slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease;
  margin: 0; display: grid; place-items: center; }
.slider .slide:first-child { position: relative; }
.slider .slide.is-active { opacity: 1; z-index: 1; }
.slider .slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide__caption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: .9rem 1.2rem; color: #fff; background: linear-gradient(transparent, rgba(0,0,0,.6)); }
.slider__nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border: 0; cursor: pointer; background: rgba(0,0,0,.35);
  color: #fff; font-size: 0; }
.slider__nav::after { content: ''; display: block; width: 11px; height: 11px; margin: auto;
  border-top: 2px solid #fff; border-right: 2px solid #fff; }
.slider__nav--prev { left: 10px; } .slider__nav--prev::after { transform: rotate(-135deg); }
.slider__nav--next { right: 10px; } .slider__nav--next::after { transform: rotate(45deg); }
.slider__nav:hover { background: rgba(0,0,0,.55); }
.slider__dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2;
  display: flex; gap: .4rem; justify-content: center; }
.slider__dot { width: 9px; height: 9px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255,255,255,.55); padding: 0; }
.slider__dot.is-active { background: #fff; }

/* Duda ssraccordion: the FAQ. Native <details> so it works with no JS and stays
   accessible; the FAQPage schema is emitted alongside. */
.faq { border-top: 1px solid rgba(0,0,0,.12); }
.faq__item { border-bottom: 1px solid rgba(0,0,0,.12); }
/* The chevron sits to the LEFT of the question, as live does, and points down
   when the item is open. */
.faq__item > summary { cursor: pointer; list-style: none; padding: .9rem 0 .9rem 1.9rem;
  position: relative; }
/* The question stays a real heading so the page outline matches live; the
   <summary> is only the control. */
.faq__q { margin: 0; font-size: 1rem; font-weight: 600; letter-spacing: .04em;
  color: var(--green); display: inline; }
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::after { content: ''; position: absolute; left: .2rem; top: 1.25rem;
  width: 8px; height: 8px; border-right: 2px solid var(--green); border-bottom: 2px solid var(--green);
  transform: rotate(-45deg); transition: transform .2s ease; }
.faq__item[open] > summary::after { transform: rotate(45deg); top: 1.15rem; }
.faq__a { padding-left: 1.9rem; }
.faq__a { padding: 0 0 1.1rem; }
.faq__a p { margin: 0; }
.row--photo .faq__item, .row--photo .faq { border-color: rgba(255,255,255,.25); }

/* Duda ssrimageslider: a multi-up carousel. Scroll-snap so it works with no JS
   and stays usable by keyboard and touch; the arrows page by one screenful. */
.carousel { position: relative; display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .4rem; }
.carousel__track { list-style: none; margin: 0; padding: 0; display: grid;
  grid-auto-flow: column; grid-auto-columns: calc((100% - (var(--per, 3) - 1) * .7rem) / var(--per, 3));
  gap: .7rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { margin: 0; scroll-snap-align: start; }
.carousel__item img { width: 100%; aspect-ratio: var(--slide-ratio, 339/604);
  object-fit: cover; display: block; }
.carousel__nav { width: 38px; height: 38px; border: 0; cursor: pointer; font-size: 0;
  background: rgba(0,0,0,.35); color: #fff; display: grid; place-items: center; }
.carousel__nav::after { content: ''; width: 10px; height: 10px;
  border-top: 2px solid #fff; border-right: 2px solid #fff; }
.carousel__nav--prev::after { transform: rotate(-135deg); }
.carousel__nav--next::after { transform: rotate(45deg); }
.carousel__nav:hover { background: rgba(0,0,0,.55); }
@media (max-width: 860px) { .carousel__track { --per: 2; } }
@media (max-width: 560px) { .carousel__track { --per: 1; } }

/* A banded row can carry several stacked blocks (slider + copy beside it, then
   a full-width block below). They need air between them, and a block holding a
   tall widget aligns to the top rather than centring its copy against it. */
/* A block that follows another sits 40px beneath it, so the copy below a
   slider clears it by a consistent gap. */
.row-grid + .row-grid { margin-top: 40px; }
.row-grid:has(.carousel) { align-items: start; }
/* The slider and the copy beside it are centred on each other. */
.row-grid:has(.slider) { align-items: center; }
.row-grid:has(.slider) > .row-col { align-self: center; }

/* Headings carry live's computed size via --fs (Duda tags a 22px section
   heading <h5>). Clamped so it still scales down on narrow viewports. */
.row h1[style*="--fs"], .row h2[style*="--fs"], .row h3[style*="--fs"],
.row h4[style*="--fs"], .row h5[style*="--fs"], .row h6[style*="--fs"] {
  font-size: clamp(calc(var(--fs) * .66), calc(var(--fs) * .5 + 0.9vw), var(--fs));
  line-height: 1.22;
}

/* Duda places the script wordmark as a ROW BACKGROUND (bottom-right, ~50%).
   It is art on the page's own ground, not a photo band, so it must not take
   .row--photo's white type -- that shipped the FAQ white on white. */
.row--art { position: relative;
  background: var(--bg-img) var(--bg-pos, 100% 100%) / var(--bg-size, 46%) no-repeat;
  background-attachment: var(--bg-attach, scroll); }

/* Rows carry live's captured height as a floor, so a section cannot come out
   shorter and more cramped than the original. Content still grows past it. */
/* align-content centres the wrap vertically; it must NOT be given width:100%,
   which overrides the container's own max-width and runs copy edge to edge. */
.row--tall { min-height: var(--row-h, auto); display: grid; align-content: center;
  justify-items: center; }
.row--tall > .wrap { justify-self: center; }
@media (max-width: 860px) { .row--tall { min-height: 0; } }
.media[style*="aspect-ratio"] { width: 100%; height: auto; object-fit: cover; }
/* A FAQ column reads left-aligned on live even inside a centred row. */
.row-col--start { text-align: left; }

/* A Duda full-bleed row runs the whole viewport width (the 3-up gallery is
   3 x 473 = 1440, not 1200). */
.row--bleed > .wrap { width: 100%; max-width: none; padding-inline: 0; }
/* Live pulls some sections up over the one above them. */
.row--pull { margin-top: calc(-1 * var(--pull, 0px)); position: relative; z-index: 1; }

/* Live's own space above and below a row's columns. With this the row no
   longer centres its content, so the wordmark behind the FAQ clears the last
   question instead of landing on it. */
.row--pad { padding-top: var(--pad-t, 0); padding-bottom: var(--pad-b, 0); }
.row--pad.row--tall { align-content: start; }
@media (max-width: 860px) {
  .row--pad { padding-top: min(var(--pad-t, 0), 3rem); padding-bottom: min(var(--pad-b, 0), 3rem); }
}

/* Duda paints a band as: photo, then the ::before wash, then a NESTED row's own
   background on top (here a white-to-clear gradient, heavy white at the top).
   ::after reproduces that third layer; the content stays above all three. */
.row--layered::after { content: ''; position: absolute; inset: 0; pointer-events: none;
  background: var(--inner-layer, none); }
.row--layered > .wrap { position: relative; z-index: 1; }

/* A column that rotates its background photo (Duda bgGallerySlide): a fixed
   box at the column's captured height, every slide cover-cropped into it. */
.slider--bg { width: 100%; }
.slider--bg .slider__slides, .slider--bg .slide, .slider--bg .slide:first-child { height: 100%; }
.slider--bg .slide { position: absolute; inset: 0; }
.slider--bg .slide img { width: 100%; height: 100%; object-fit: cover; }

/* The section the next one is pulled over keeps its copy in the visible part. */
.row--under { padding-bottom: calc(var(--pad-b, 0px) + var(--under, 0px)); }
/* Stacked blocks inside a column take their gap from the capture (inline). */
.row-grid--block { align-items: start; }
/* A full-bleed photo row is sized by its photos; a captured min-height a few
   pixels taller than the tiles left a white line between gallery and footer. */
.row--bleed.row--tall { min-height: 0; }
/* A centred column stays centred inside a start-aligned row. */
.row-col--center { text-align: center; }
.row-col--center .btn-row { justify-content: center; }

/* A play icon laid over a photo that opens a video in the lightbox (Duda's
   popup play graphic). */
.media-play { position: relative; }
.media-play__btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 72px; height: 52px; border: 0; border-radius: 12px; cursor: pointer;
  background: rgba(255,255,255,.92); box-shadow: 0 4px 18px rgba(0,0,0,.25); }
.media-play__btn::after { content: ''; position: absolute; left: 52%; top: 50%;
  transform: translate(-50%, -50%); border-left: 18px solid #111;
  border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.media-play__btn:hover { background: #fff; }
.media-play__btn:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* /online-scheduling: Square's booking widget takes the page, as on live. */
.booking-embed { padding-block: 1.5rem 3rem; }
.booking-embed .wrap { width: min(100% - (var(--gutter) * 2), 1200px); }
.booking-embed iframe { display: block; }

/* /careers: the green leaf band with no heading; the widget's hero follows. */
.page-hero--bare { min-height: 240px; padding: 0 !important; }
.page-hero--bare::after { display: none; }
/* The careers widget brings its own spacing; the generic row padding opened a
   dark strip between the green band and the widget's hero. */
.row--custom { padding: 0; }

/* A column Duda styled as a card or frame (fill, shadow, padding, offset come
   inline from the capture). Aligned to the top so a margin-top offset works. */
.row-col--styled { align-self: start; }
.row-col--styled .embed, .row-col--styled video { display: block; }
.signature { display: block; margin-top: 1.6rem; }
@media (max-width: 860px) { .row-col--styled { padding: 1.4rem !important; margin-top: 0 !important; } }
.lightbox__frame video { position: absolute; inset: 0; width: 100%; height: 100%; background: #000; }
/* The client's own play icon: no badge, just the SVG at its captured size. */
.media-play__btn--svg { background: none; box-shadow: none; border-radius: 0; padding: 0; }
.media-play__btn--svg::after { display: none; }
.media-play__btn--svg svg { width: 100%; height: 100%; display: block; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.media-play__btn--svg:hover { background: none; opacity: .9; }
@media (max-width: 860px) { .row-col--styled { min-height: 0 !important; } }
@media (max-width: 860px) { .heroless-spacer { display: none; } }
.row--bleed[style*="--bleed-w"] > .wrap { max-width: var(--bleed-w); margin-inline: auto; }

/* Post media: a portrait phone video and responsive YouTube/Vimeo embeds. */
.blog-article .blog-video { display: block; width: 100%; max-width: 420px; height: auto; margin: 1.8rem auto; background: #000; }
.blog-article .blog-embed { position: relative; aspect-ratio: 16 / 9; margin: 1.8rem 0; }
.blog-article .blog-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Phone layout for the photo + copy cards (Duda's mobile view): the photo
   first and whole, inset 15px inside the card, the copy below it. The desktop
   capture pins each photo to its full height with -50px overhang margins
   (inline), which on one column cropped the photo, slid it over the copy and
   clipped the last lines of text. */
@media (max-width: 860px) {
  .row--card > .wrap > .row-grid { padding: 15px; }
  .row--card .row-col--media { order: -1; align-self: start; }
  .row--card .row-col--media img.overhang {
    height: auto !important; max-width: 100% !important; margin: 0 !important;
    object-fit: contain;
  }
  .row--card .row-col:not(.row-col--media) { padding: 22px 0 10px; }
  /* Tablet: a full-width portrait photo runs ~1200px tall; keep it phone-sized. */
  .row--card .row-col--media img.overhang { max-width: min(100%, 460px) !important; margin: 0 auto !important; }
  /* Breathing room live has on phones: button to copy, accordion to copy. */
  .btn-row + p { margin-top: 18px; }
  .faq + p { margin-top: 18px; }
}
