/* ============================================================
   Signature Sites LLC
   Editorial, image-forward theme (inspired by, not copied from,
   ironagegrates.com). Palette leans natural/architectural:
   deep forest green + warm bronze accent on off-white paper.
   ============================================================ */

:root {
  --green-900: #14261d;
  --green-800: #1c3527;
  --green-700: #274a37;
  --green-600: #356149;
  --bronze:    #b07a3c;
  --bronze-600:#96662f;
  --sand:      #e8e0d3;
  --paper:     #f7f4ee;
  --paper-2:   #efe9df;
  --ink:       #1b1f1c;
  --ink-soft:  #4a534c;
  --line:      #d9d2c5;
  --white:     #ffffff;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --radius: 4px;
  --shadow: 0 18px 40px -20px rgba(20, 38, 29, 0.45);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 clamp(20px, 5vw, 48px); }
.sr-only, .skip-link {
  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:focus {
  position: fixed; top: 12px; left: 12px; width: auto; height: auto; clip: auto;
  background: var(--green-800); color: #fff; padding: 10px 16px; border-radius: var(--radius); z-index: 1000;
}
.eyebrow {
  font-family: var(--font-body); font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; color: var(--bronze-600);
  margin: 0 0 1rem;
}
.eyebrow--light { color: var(--sand); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-body); font-weight: 600; font-size: .92rem;
  letter-spacing: .02em; padding: .85em 1.6em; border-radius: 999px;
  background: var(--bronze); color: #fff; border: 1px solid var(--bronze);
  cursor: pointer; transition: transform .3s var(--ease), background .3s var(--ease);
}
.btn:hover { background: var(--bronze-600); border-color: var(--bronze-600); transform: translateY(-2px); }
.btn--sm { padding: .6em 1.15em; font-size: .82rem; }
.btn--light { background: #fff; color: var(--green-900); border-color: #fff; }
.btn--light:hover { background: var(--sand); border-color: var(--sand); }
.btn--ghost { background: transparent; color: var(--green-800); border-color: var(--green-600); }
.btn--ghost:hover { background: var(--green-800); color: #fff; border-color: var(--green-800); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5em; font-weight: 600;
  color: var(--bronze-600); letter-spacing: .02em;
}
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }

/* ---- Utility bar ---- */
.utility-bar {
  background: var(--green-900); color: var(--sand);
  font-size: .8rem; letter-spacing: .02em;
}
.utility-bar__inner { display: flex; justify-content: space-between; align-items: center; min-height: 40px; }
.utility-bar__tag { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--bronze); font-weight: 600; }
.utility-bar__contact { display: flex; gap: 1.75rem; }
.utility-bar__contact a { color: var(--sand); transition: color .25s; }
.utility-bar__contact a:hover { color: #fff; }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 30px -18px rgba(20,38,29,.5); border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 1.5rem; }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-800); color: var(--sand);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 600;
  border: 1.5px solid var(--bronze);
}
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; color: var(--green-900); letter-spacing: -0.01em; }
.brand__sub { font-family: var(--font-body); font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--bronze-600); margin-top: 3px; }
.brand--light .brand__name { color: #fff; }
.brand--light .brand__mark { background: var(--bronze); color: #fff; border-color: var(--sand); }

/* Logo image lockup */
.brand__logo { display: block; width: auto; height: 46px; }
.brand__logo--footer { height: 64px; filter: drop-shadow(0 2px 8px rgba(0,0,0,.35)); }
@media (max-width: 560px) { .brand__logo { height: 40px; } }

/* Nav */
.nav__menu { display: flex; align-items: center; gap: .35rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .35em;
  padding: .6rem .9rem; font-weight: 500; font-size: .95rem; color: var(--ink);
  border-radius: var(--radius); transition: color .25s;
}
.nav__link:hover, .nav__link.is-active { color: var(--bronze-600); }
.nav__link.is-active { font-weight: 600; }
.nav__caret { transition: transform .3s var(--ease); }
.has-dropdown:hover .nav__caret { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  box-shadow: var(--shadow); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown__link {
  display: block; padding: .6rem .85rem; border-radius: var(--radius);
  font-size: .92rem; color: var(--ink-soft); transition: background .2s, color .2s;
}
.dropdown__link:hover, .dropdown__link.is-active { background: var(--paper-2); color: var(--green-800); }

.nav__item--cta { margin-left: .6rem; }
.nav__toggle { display: none; }

/* ---- Hero ---- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background: var(--green-900);
}
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,38,29,.35) 0%, rgba(20,38,29,.55) 55%, rgba(20,38,29,.9) 100%);
}
.hero__inner { position: relative; z-index: 2; padding-block: clamp(6rem, 16vh, 12rem) clamp(4rem, 9vh, 7rem); max-width: 760px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); color: #fff; }
.hero h1 em { font-style: italic; color: var(--sand); }
.hero__lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.9); max-width: 560px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }

/* ---- Section scaffolding ---- */
.section { padding: clamp(3.5rem, 9vw, 7rem) 0; }
.section--tint { background: var(--paper-2); }
.section--dark { background: var(--green-900); color: var(--sand); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section__head { max-width: 640px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section__head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section__head p { color: var(--ink-soft); font-size: 1.08rem; }
.section--dark .section__head p { color: rgba(255,255,255,.78); }

/* Intro / statement */
.statement { text-align: center; max-width: 820px; margin: 0 auto; }
.statement__big { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.3; color: var(--green-800); }
.statement__big strong { color: var(--bronze-600); font-weight: 600; }

/* ---- Collage / alternating feature rows ---- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.feature + .feature { margin-top: clamp(3rem, 7vw, 6rem); }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 8px; box-shadow: var(--shadow); }
.feature__media::before {
  content: ""; position: absolute; width: 62%; height: 62%; border: 1px solid var(--bronze);
  border-radius: 8px; z-index: -1; top: -18px; left: -18px; opacity: .55;
}
.feature--reverse .feature__media { order: 2; }
.feature--reverse .feature__media::before { left: auto; right: -18px; }
.feature__body h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.feature__body p { color: var(--ink-soft); }

/* ---- Product line grid ---- */
.lines { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.line-card {
  position: relative; overflow: hidden; border-radius: 8px; min-height: 300px;
  display: flex; align-items: flex-end; color: #fff;
  background: var(--green-700); box-shadow: var(--shadow);
  isolation: isolate;
}
.line-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  z-index: -2; transition: transform .6s var(--ease);
}
.line-card::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(20,38,29,0) 30%, rgba(20,38,29,.88) 100%);
}
.line-card:hover img { transform: scale(1.06); }
.line-card__body { padding: 1.6rem; }
.line-card__body h3 { color: #fff; font-size: 1.4rem; margin-bottom: .2rem; }
.line-card__body p { color: rgba(255,255,255,.82); font-size: .92rem; margin-bottom: .8rem; }
.line-card__links { display: flex; gap: 1rem; font-size: .85rem; font-weight: 600; }
.line-card__links a { color: var(--sand); border-bottom: 1px solid transparent; transition: border-color .25s; }
.line-card__links a:hover { border-color: var(--sand); }

/* ---- Gallery strip ---- */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .75rem; }
.gallery-strip figure { margin: 0; overflow: hidden; border-radius: 6px; }
.gallery-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-strip figure:hover img { transform: scale(1.07); }

/* ---- Guarantee / value panel ---- */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.value-card { background: rgba(255,255,255,.05); border: 1px solid rgba(232,224,211,.18); border-radius: 8px; padding: 2rem; }
.value-card h3 { font-size: 1.35rem; }
.value-card p { color: rgba(255,255,255,.78); margin: 0; }

/* ---- About / testimonial ---- */
.about { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.about__media img { border-radius: 8px; box-shadow: var(--shadow); aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.about + .about { margin-top: clamp(3rem, 7vw, 6rem); }
.about--reverse { grid-template-columns: 1.15fr 0.85fr; } /* bio left, image right */
.quote {
  border-left: 3px solid var(--bronze); padding-left: 1.5rem; margin: 2rem 0 0;
  font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--green-800);
}
.quote cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .9rem; color: var(--ink-soft); margin-top: .6rem; font-weight: 600; }

/* ---- CTA band ---- */
.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-band__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.8rem; }

/* ---- Footer ---- */
.site-footer { background: var(--green-900); color: var(--sand); }
.site-footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr;
  gap: 2.5rem; padding: clamp(3rem, 6vw, 5rem) clamp(20px,5vw,48px);
}
.site-footer__blurb { color: rgba(232,224,211,.75); font-size: .95rem; max-width: 34ch; margin-top: 1.2rem; }
.site-footer__title { font-family: var(--font-body); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze); margin-bottom: 1.1rem; }
.site-footer__links li { margin-bottom: .55rem; }
.site-footer__links a { color: rgba(232,224,211,.82); transition: color .25s; }
.site-footer__links a:hover { color: #fff; }
.site-footer__contact p { margin-bottom: .4rem; }
.site-footer__contact a { color: rgba(232,224,211,.9); }
.site-footer__contact .btn { margin-top: 1rem; }
/* Keep "E." and the address together on one line (never split the label off) */
.site-footer__email a { white-space: nowrap; }
.site-footer__bar { border-top: 1px solid rgba(232,224,211,.14); }
.site-footer__bar-inner { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 0; font-size: .82rem; color: rgba(232,224,211,.6); flex-wrap: wrap; gap: .5rem; }
.site-footer__bar-inner p { margin: 0; }
.site-footer__credit a { color: var(--bronze); transition: color .25s; }
.site-footer__credit a:hover { color: var(--sand); }
.footer-heart { color: #ff5c8a; font-style: normal; }

/* ---- Interior page header ---- */
.page-head { background: var(--green-900); color: #fff; padding: clamp(3rem, 8vw, 5.5rem) 0 clamp(2.5rem, 6vw, 4rem); }
.page-head h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: #fff; }
.page-head__lede { color: rgba(255,255,255,.85); max-width: 60ch; font-size: 1.1rem; }

/* ---- Contact layout ---- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }

.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.contact-form .form-field { margin-bottom: 1.2rem; }
.contact-form label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--green-800); }
.contact-form .req { color: var(--bronze-600); }
.contact-form input, .contact-form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: .8rem .9rem;
  font: inherit; font-size: 1rem; background: var(--paper); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(176,122,61,.15); background: #fff;
}
.contact-form textarea { resize: vertical; }
.contact-form .btn { margin-top: .4rem; border: 0; cursor: pointer; font-size: .98rem; }
.contact-form .btn:disabled { opacity: .7; cursor: default; transform: none; }

/* Honeypot — visually hidden but not display:none (so bots still see it) */
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin: 1rem 0 0; font-size: .95rem; font-weight: 500; min-height: 1.2em; }
.form-status.is-ok  { color: #12703a; }
.form-status.is-err { color: #9b1c1c; }

.contact-aside h2 { font-size: 1.6rem; }
.contact-aside > p { color: var(--ink-soft); }
.contact-line { display: flex; flex-direction: column; padding: .9rem 0; border-bottom: 1px solid var(--line); }
.contact-line__label { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--bronze-600); font-weight: 600; margin-bottom: .2rem; }
.contact-line a { font-size: 1.1rem; color: var(--green-800); font-weight: 500; }
.contact-note { margin-top: 1.5rem; background: var(--paper-2); border-radius: 10px; padding: 1.2rem 1.4rem; }
.contact-note p { margin: 0; font-size: .95rem; color: var(--ink-soft); }

@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; gap: 0; }
}

/* ---- Rich text (WYSIWYG output) ---- */
.rich > :first-child { margin-top: 0; }
.rich > :last-child { margin-bottom: 0; }
.rich p { margin: 0 0 1em; }
.rich ul, .rich ol { margin: 0 0 1em; padding-left: 1.35em; }
.rich ul { list-style: disc; }
.rich ol { list-style: decimal; }
.rich li { margin: 0 0 .35em; }
.rich a { color: var(--bronze-600); text-decoration: underline; text-underline-offset: 2px; }
.rich a:hover { color: var(--bronze); }
.rich strong, .rich b { font-weight: 700; }
.rich em, .rich i { font-style: italic; }
.rich h2 { font-size: 1.5rem; margin: 0 0 .5em; }
.rich h3 { font-size: 1.2rem; margin: 0 0 .5em; }
.rich blockquote { margin: 0 0 1em; padding-left: 1rem; border-left: 3px solid var(--bronze); color: var(--ink-soft); }
/* Rich text on dark sections keeps light link/emphasis colors */
.section--dark .rich a, .cta-band .rich a { color: var(--sand); }

/* ---- Legal pages (Privacy Policy, Terms of Use) ---- */
.legal { max-width: 78ch; margin: 0 auto; color: var(--ink-soft); }
.legal h2 { color: var(--green-800); margin-top: 2em; }
.legal h2:first-child, .legal > :first-child { margin-top: 0; }

/* ---- Service / product-line pages ---- */
.hero--service .hero__inner { padding-block: clamp(5rem, 13vh, 9rem) clamp(3rem, 7vh, 5rem); max-width: 720px; }
.hero--service h1 { font-size: clamp(2.4rem, 5.5vw, 4.2rem); }
/* Intro sits right above the first project; drop its bottom padding so the
   two sections' padding doesn't stack into an oversized gap. */
.section--intro { padding-bottom: 0; }
.prose-block { max-width: 950px; margin: 0 auto; text-align: center; }
.prose-block h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
.prose-block .rich { color: var(--ink-soft); font-size: 1.05rem; }

.project__head { max-width: 760px; margin: 0 auto clamp(1.8rem, 4vw, 2.6rem); text-align: center; }
.project__head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.project__body { color: var(--ink-soft); margin-top: .6rem; }

.proj-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1.2rem; }
.proj-thumb { margin: 0; }
.proj-thumb__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.proj-thumb__btn img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s var(--ease); display: block; }
.proj-thumb__btn:hover img { transform: scale(1.06); }
.proj-thumb__btn:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; }
.proj-thumb figcaption { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; line-height: 1.4; }

/* Project video embed */
.proj-video { position: relative; width: 100%; max-width: 860px; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); background: #000; }
.proj-video iframe, .proj-video video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; object-fit: cover; }
.proj-video-link { text-align: center; margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); }
.proj-video-link a { color: var(--bronze-600); font-weight: 600; }
.proj-video-link a:hover { color: var(--bronze); }

/* ---- Resources hub ---- */
.res-head { max-width: 760px; margin: 0 0 clamp(1.5rem, 4vw, 2.5rem); }
.res-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.res-head p { color: var(--ink-soft); margin: 0; }
.res-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 1.2rem; }
.res-card { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: clamp(1.3rem, 3vw, 1.8rem); box-shadow: var(--shadow); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.res-card:hover { transform: translateY(-3px); border-color: var(--bronze); }
.res-card__title { font-size: 1.2rem; color: var(--green-800); margin: 0; }
.res-card__desc { color: var(--ink-soft); font-size: .95rem; margin: 0; flex: 1; }
.res-card__cta { color: var(--bronze-600); font-weight: 600; font-size: .9rem; margin-top: .3rem; display: inline-flex; align-items: center; gap: .3em; }
.res-card:hover .res-card__cta { color: var(--bronze); }
.res-card .ext-icon { flex: 0 0 auto; }

/* ---- Continuing Education: courses ---- */
.course__head { max-width: 820px; margin: 0 auto clamp(1.5rem, 4vw, 2.5rem); text-align: center; }
.course__head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.course__body { color: var(--ink-soft); }
.course__media { max-width: 900px; margin: 0 auto clamp(1.8rem, 4vw, 2.6rem); }
.course__media img { width: 100%; border-radius: 8px; box-shadow: var(--shadow); }
.course__cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); max-width: 980px; margin: 0 auto; }
.course__col h3 { font-size: 1.3rem; margin-bottom: 1rem; color: var(--green-800); }
.ticks { display: flex; flex-direction: column; gap: .6rem; }
.ticks li { position: relative; padding-left: 1.7rem; color: var(--ink-soft); line-height: 1.5; }
.ticks li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--bronze-600); font-weight: 700; }
@media (max-width: 760px) { .course__cols { grid-template-columns: 1fr; } }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; display: none; align-items: center; justify-content: center; background: rgba(10,18,14,.92); padding: 4vw; }
.lightbox.is-open { display: flex; }
.lightbox__stage { margin: 0; max-width: 90vw; max-height: 86vh; display: flex; flex-direction: column; align-items: center; }
.lightbox__img { max-width: 90vw; max-height: 78vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__cap { color: rgba(255,255,255,.85); margin-top: 1rem; font-size: .95rem; text-align: center; max-width: 60ch; }
.lightbox__close, .lightbox__nav { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; border-radius: 999px; display: grid; place-items: center; }
.lightbox__close { top: 3vw; right: 3vw; width: 44px; height: 44px; font-size: 26px; }
.lightbox__nav { top: 50%; transform: translateY(-50%); width: 52px; height: 52px; font-size: 30px; }
.lightbox__prev { left: 2vw; }
.lightbox__next { right: 2vw; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255,255,255,.22); }
@media (max-width: 560px) { .lightbox__nav { width: 42px; height: 42px; font-size: 24px; } }

/* ---- Reveal animation ---- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1000px) {
  .lines { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex; flex-direction: column; gap: 5px; justify-content: center;
    width: 44px; height: 44px; background: transparent; border: 0; cursor: pointer; padding: 10px;
  }
  .nav__toggle span:not(.sr-only) { display: block; height: 2px; width: 100%; background: var(--green-900); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
  body.nav-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.nav-open .nav__toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav__menu {
    position: fixed; inset: 114px 0 0 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 1rem clamp(20px,5vw,48px) 3rem; overflow-y: auto;
    transform: translateX(100%); transition: transform .35s var(--ease); border-top: 1px solid var(--line);
  }
  .nav__menu.is-open { transform: translateX(0); }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { padding: 1rem .2rem; font-size: 1.05rem; justify-content: space-between; }
  .nav__item--cta { border: 0; margin: 1.2rem 0 0; }
  .nav__item--cta .btn { width: 100%; justify-content: center; padding: .9em; font-size: 1rem; }

  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none;
    border: 0; padding: 0 0 .6rem; background: transparent; max-height: 0; overflow: hidden;
    transition: max-height .3s var(--ease);
  }
  .has-dropdown.is-open .dropdown { max-height: 400px; }
  .has-dropdown:hover .dropdown { opacity: 1; } /* prevent hover flash on touch */
  .dropdown__link { color: var(--ink-soft); padding-left: 1rem; }
}

@media (max-width: 760px) {
  .feature, .feature--reverse .feature__media { grid-template-columns: 1fr; order: 0; }
  .feature__media::before { display: none; }
  .about { grid-template-columns: 1fr; }
  .value-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .utility-bar__tag { display: none; }
  .utility-bar__inner { justify-content: center; }
  .utility-bar__contact { gap: 1.25rem; }
}

@media (max-width: 620px) {
  /* Two-up thumbnail grid reads better than one giant image on phones */
  .proj-gallery { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .proj-thumb figcaption { font-size: .78rem; }
  /* Single-column footer here (not 520) so the email always fits one line */
  .site-footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .lines { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .cta-band__actions .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
