/* ==========================================================================
   D&R Property Maintenance — design tokens & shared styles
   Palette pulled from the real brand mark (hunter-green tree/oval logo) and
   the gold "$150 guaranteed" price accent used on the snow-season flyer.
   ========================================================================== */

:root {
  /* color */
  --ink: #16231c;
  --pine: #1b4332;
  --pine-deep: #0e2a20;
  --moss: #4c7a5d;
  --gold: #c9a227;
  --gold-deep: #9c7c18;
  --cream: #f6f3ea;
  --paper: #ffffff;
  --frost: #dce6e2;
  --line: rgba(22, 35, 28, 0.14);
  --line-soft: rgba(22, 35, 28, 0.08);

  /* type */
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* layout */
  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 2px;
}

/* ---- reset ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 1em;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ---- buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.85em 1.6em;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--pine-deep);
}
.btn-primary:hover {
  background: var(--gold-deep);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  border-color: currentColor;
  color: inherit;
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}

.btn-outline.on-cream {
  color: var(--pine);
  border-color: var(--pine);
}
.btn-outline.on-cream:hover {
  background: var(--pine);
  color: var(--cream);
}

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
  flex: none;
}

.brand img {
  height: 42px;
  width: auto;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.15;
}

.brand-word small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  color: var(--moss);
  text-transform: uppercase;
  margin-top: 0.15em;
}

.site-header nav {
  flex: none;
  min-width: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(0.85rem, 2vw, 1.5rem);
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.83rem;
  font-weight: 500;
  white-space: nowrap;
}

.nav-links a {
  text-decoration: none;
  position: relative;
  padding: 0.25em 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -2px;
  height: 2px;
  background: var(--gold);
  transition: right 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  right: 0;
}

.nav-links a[aria-current="page"] {
  color: var(--pine);
  font-weight: 600;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-call {
  display: flex;
  align-items: center;
  gap: 0.4em;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--pine);
  white-space: nowrap;
  flex: none;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before {
  position: absolute;
  top: -7px;
}
.nav-toggle span::after {
  position: absolute;
  top: 7px;
}

@media (max-width: 1320px) {
  .nav-call {
    display: none;
  }
}

.site-header .container {
  gap: 1.25rem;
  flex-wrap: nowrap;
}

.nav-right {
  flex: none;
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    inset: 68px 0 0 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 1rem var(--gutter) 2rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
    border-bottom: 1px solid var(--line);
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links a {
    display: block;
    padding: 0.9em 0;
  }
  body.nav-open .nav-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav-toggle {
    display: block;
  }
  .nav-right .btn-primary {
    display: none;
  }
}

@media (min-width: 821px) {
  body.nav-open .nav-links {
    display: flex;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--pine-deep);
  color: var(--cream);
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-top: clamp(4rem, 10vw, 7.5rem);
  padding-bottom: clamp(4rem, 10vw, 7.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 3rem;
  align-items: center;
}

.hero-watermark {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: min(46vw, 640px);
  opacity: 0.1;
  filter: brightness(0) invert(1);
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.4rem);
  color: var(--paper);
  margin-bottom: 0.35em;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold);
}

.hero-lede {
  font-size: 1.1rem;
  max-width: 46ch;
  color: rgba(246, 243, 234, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero .eyebrow {
  color: var(--frost);
}
.hero .eyebrow::before {
  background: var(--gold);
}

.hero-panel {
  position: relative;
  z-index: 2;
  background: rgba(246, 243, 234, 0.06);
  border: 1px solid rgba(246, 243, 234, 0.18);
  border-radius: var(--radius);
  padding: 1.9rem;
  backdrop-filter: blur(2px);
}

.hero-panel h2 {
  font-size: 1.1rem;
  color: var(--paper);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.94rem;
  color: rgba(246, 243, 234, 0.9);
}

.hero-panel li {
  display: flex;
  gap: 0.6em;
  align-items: baseline;
}

.hero-panel li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  flex: none;
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
  }
}

/* ---- page hero (interior pages) ---- */
.page-hero {
  background: var(--pine-deep);
  color: var(--cream);
}
.page-hero .container {
  padding-top: clamp(3rem, 7vw, 4.5rem);
  padding-bottom: clamp(3rem, 7vw, 4.5rem);
}
.page-hero h1 {
  color: var(--paper);
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  max-width: 20ch;
}
.page-hero p {
  max-width: 60ch;
  color: rgba(246, 243, 234, 0.86);
  font-size: 1.05rem;
}
.page-hero .eyebrow {
  color: var(--frost);
}
.page-hero .eyebrow::before {
  background: var(--gold);
}

/* ==========================================================================
   Sketchy divider — the site's signature device.
   A single loose, hand-drawn stroke (echoing the pen-scribble tree in the
   logo) runs between sections; its color shifts section to section like a
   thread tying the whole property, and the whole year, together.
   ========================================================================== */

.sketch-divider {
  display: block;
  width: 100%;
  height: 34px;
  color: var(--line);
}
.sketch-divider path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ==========================================================================
   Trust bar
   ========================================================================== */

.trust-bar {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}
.trust-bar ul {
  list-style: none;
  margin: 0;
  padding: 1.1rem var(--gutter);
  max-width: var(--max);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--pine);
}
.trust-bar li {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.trust-bar li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

/* ==========================================================================
   Sections (general)
   ========================================================================== */

section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-head {
  max-width: 62ch;
  margin-bottom: 2.75rem;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
}
.section-head p {
  font-size: 1.05rem;
  color: var(--ink);
  opacity: 0.78;
}

.bg-paper {
  background: var(--paper);
}
.bg-cream {
  background: var(--cream);
}
.bg-pine {
  background: var(--pine-deep);
  color: var(--cream);
}
.bg-pine h2,
.bg-pine h3 {
  color: var(--paper);
}
.bg-pine .section-head p {
  color: var(--frost);
  opacity: 1;
}

/* ---- about split ---- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
  }
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat {
  border-top: 2px solid var(--pine);
  padding-top: 0.6rem;
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--pine);
  line-height: 1;
}
.stat span {
  font-size: 0.82rem;
  color: var(--ink);
  opacity: 0.7;
}

/* ---- service tiles ---- */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .tile-grid {
    grid-template-columns: 1fr;
  }
}

.tile {
  background: var(--paper);
  padding: 2rem 1.75rem;
  transition: background 0.2s ease;
}
.tile:hover {
  background: var(--cream);
}
.tile .icon {
  width: 34px;
  height: 34px;
  margin-bottom: 1.1rem;
  color: var(--pine);
}
.tile h3 {
  font-size: 1.15rem;
  margin-bottom: 0.4em;
}
.tile p {
  font-size: 0.92rem;
  opacity: 0.75;
  margin-bottom: 0;
}

.view-all {
  margin-top: 2.5rem;
  text-align: center;
}

/* ---- snow spotlight ---- */
.snow-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0;
  background: var(--pine-deep);
  color: var(--cream);
  border: 1px solid rgba(246, 243, 234, 0.15);
}
@media (max-width: 860px) {
  .snow-card {
    grid-template-columns: 1fr;
  }
}
.snow-card-copy {
  padding: clamp(2rem, 4vw, 3.5rem);
}
.snow-card-copy h2 {
  color: var(--paper);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
}
.snow-card-copy p {
  color: rgba(246, 243, 234, 0.85);
}
.snow-card-price {
  background: rgba(246, 243, 234, 0.05);
  border-left: 1px solid rgba(246, 243, 234, 0.15);
  padding: clamp(2rem, 4vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 860px) {
  .snow-card-price {
    border-left: none;
    border-top: 1px solid rgba(246, 243, 234, 0.15);
  }
}
.price-figure {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 4rem);
  color: var(--gold);
  line-height: 1;
}
.price-figure sub {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--frost);
  vertical-align: baseline;
}
.price-note {
  font-size: 0.85rem;
  color: var(--frost);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.75rem;
}

/* ---- checklist ---- */
.checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem 2rem;
}
@media (max-width: 640px) {
  .checklist {
    grid-template-columns: 1fr;
  }
}
.checklist li {
  display: flex;
  gap: 0.75em;
  align-items: flex-start;
  font-size: 1rem;
}
.checklist li svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.15em;
  color: var(--gold);
}

/* ---- Service-area chip list ---- */
.area-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.area-list li {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--pine);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.9rem;
}
.area-list li:last-child {
  background: transparent;
  border-style: dashed;
  opacity: 0.75;
}

/* ---- CTA band ---- */
.cta-band {
  background: var(--gold);
  color: var(--pine-deep);
  text-align: center;
}
.cta-band h2 {
  color: var(--pine-deep);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
}
.cta-band .actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}
.cta-band .btn-primary {
  background: var(--pine-deep);
  color: var(--cream);
}
.cta-band .btn-primary:hover {
  background: var(--ink);
}

/* ==========================================================================
   Services page
   ========================================================================== */

.service-category {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 0.9fr 1.6fr;
  gap: 2.5rem;
}
.service-category:last-child {
  border-bottom: none;
}
@media (max-width: 780px) {
  .service-category {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
.service-category h3 {
  font-size: 1.4rem;
  color: var(--pine);
}
.service-category .num {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--moss);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6em;
}
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
  font-size: 0.96rem;
}
@media (max-width: 560px) {
  .service-list {
    columns: 1;
  }
}
.service-list li {
  break-inside: avoid;
  padding: 0.5em 0;
  border-bottom: 1px dashed var(--line);
}

/* ==========================================================================
   About page
   ========================================================================== */

.quote-block {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--pine);
  border-left: 3px solid var(--gold);
  padding-left: 1.5rem;
  margin: 2rem 0;
}

.person {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.person-mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--pine);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.02em;
  font-size: 1.1rem;
  flex: none;
}
.person strong {
  display: block;
  font-size: 1rem;
}
.person span {
  font-size: 0.85rem;
  opacity: 0.7;
}

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.75rem;
  margin-bottom: 1.25rem;
}
.contact-card h3 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--moss);
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 0.5em;
}
.contact-card a.big-link {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--pine);
  text-decoration: none;
}
.contact-card a.big-link:hover {
  color: var(--gold-deep);
}
.contact-card p {
  margin: 0;
}

.form-field {
  display: grid;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}
.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 0.98rem;
  padding: 0.75em 0.9em;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: var(--radius);
  color: var(--ink);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--pine);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: var(--frost);
  padding: 3.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(246, 243, 234, 0.14);
}
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: 1rem;
}
.footer-brand img {
  height: 40px;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}
.footer-brand span {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--paper);
}
.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: rgba(246, 243, 234, 0.7);
  max-width: 32ch;
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(246, 243, 234, 0.25);
  color: var(--frost);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.social-links svg {
  width: 17px;
  height: 17px;
}
.social-links a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--pine-deep);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper);
  margin-bottom: 1rem;
}
.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  font-size: 0.92rem;
}
.footer-col a {
  text-decoration: none;
  color: rgba(246, 243, 234, 0.82);
}
.footer-col a:hover {
  color: var(--gold);
}
.footer-area {
  padding-top: 1.75rem;
  max-width: 90ch;
}
.footer-area h4 {
  font-family: var(--font-body);
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--paper);
  margin-bottom: 0.55rem;
}
.footer-area p {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(246, 243, 234, 0.68);
}
.footer-area a {
  color: rgba(246, 243, 234, 0.9);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 243, 234, 0.3);
  white-space: nowrap;
}
.footer-area a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.75rem;
  font-size: 0.78rem;
  color: rgba(246, 243, 234, 0.5);
}

/* ==========================================================================
   Reveal-on-scroll (subtle, respects reduced motion)
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Pillars — the three business lines (home page)
   ========================================================================== */

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 900px) {
  .pillar-grid {
    grid-template-columns: 1fr;
  }
}

.pillar {
  position: relative;
  background: var(--paper);
  padding: 2.5rem 2rem;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: var(--ink);
  overflow: hidden;
}

.pillar .tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: auto;
}

.pillar .icon-lg {
  width: 44px;
  height: 44px;
  color: var(--pine);
  margin-bottom: 3rem;
}

.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 0.35em;
}

.pillar p {
  font-size: 0.94rem;
  opacity: 0.78;
  margin-bottom: 1rem;
}

.pillar .go {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--pine);
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  transition: gap 0.2s ease;
}
.pillar:hover .go {
  gap: 0.7em;
}

.pillar-photo {
  color: var(--cream);
  background-size: cover;
  background-position: center;
}
.pillar-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 42, 32, 0.15) 0%, rgba(14, 42, 32, 0.92) 100%);
}
.pillar-photo .tag,
.pillar-photo .go {
  color: var(--frost);
  position: relative;
}
.pillar-photo .go {
  color: var(--gold);
}
.pillar-photo h3,
.pillar-photo p {
  position: relative;
  color: var(--paper);
}
.pillar-photo p {
  opacity: 0.85;
}

/* ==========================================================================
   Stats band
   ========================================================================== */

.stats-band {
  background: var(--ink);
  color: var(--cream);
}
.stats-band .stat-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 0;
  gap: 2rem;
}
@media (max-width: 760px) {
  .stats-band .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.stats-band .stat {
  border-top: 2px solid var(--gold);
}
.stats-band .stat strong {
  color: var(--paper);
}
.stats-band .stat span {
  color: var(--frost);
  opacity: 0.75;
}

/* ==========================================================================
   Development portfolio
   ========================================================================== */

.dev-teaser-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
@media (max-width: 780px) {
  .dev-teaser-grid {
    grid-template-columns: 1fr;
  }
}
.dev-teaser {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--paper);
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.dev-teaser::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14, 42, 32, 0.05) 30%, rgba(10, 20, 16, 0.88) 100%);
  transition: background 0.25s ease;
}
.dev-teaser:hover::before {
  background: linear-gradient(180deg, rgba(14, 42, 32, 0.15) 20%, rgba(10, 20, 16, 0.94) 100%);
}
.dev-teaser-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.75rem;
}
.dev-teaser-copy .tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine-deep);
  background: var(--gold);
  padding: 0.3em 0.7em;
  margin-bottom: 0.75em;
}
.dev-teaser-copy h3 {
  font-size: 1.6rem;
  color: var(--paper);
  margin-bottom: 0.2em;
}
.dev-teaser-copy p {
  font-size: 0.88rem;
  color: var(--frost);
  margin: 0;
}

/* ---- development.html project blocks ---- */
.project-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: var(--paper);
}
.project-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 20, 16, 0.9) 0%, rgba(10, 20, 16, 0.55) 55%, rgba(10, 20, 16, 0.3) 100%);
}
.project-hero .container {
  position: relative;
  padding-top: clamp(3.5rem, 8vw, 6rem);
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
}
.project-hero img.badge {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}
@media (max-width: 700px) {
  .project-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}
.project-hero .status {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--pine-deep);
  background: var(--gold);
  padding: 0.35em 0.8em;
  margin-bottom: 0.9em;
}
.project-hero h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--paper);
  margin-bottom: 0.2em;
}
.project-hero .location {
  font-size: 0.95rem;
  color: var(--frost);
}

.project-body {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}
.project-body .split {
  gap: 3rem;
}

.dev-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
.dev-gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
@media (max-width: 700px) {
  .dev-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .dev-gallery img {
    height: 160px;
  }
}

/* ==========================================================================
   Team / leadership
   ========================================================================== */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 780px) {
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin-inline: auto;
  }
}
.team-card {
  text-align: center;
}
.team-card .person-mark {
  width: 96px;
  height: 96px;
  font-size: 1.7rem;
  margin: 0 auto 1.1rem;
}
.team-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.15em;
}
.team-card .role {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 0.75em;
}
.team-card p {
  font-size: 0.92rem;
  opacity: 0.78;
}

.team-card .team-contact {
  margin-top: 0.85em;
  opacity: 1;
  font-size: 0.88rem;
  line-height: 1.7;
}
.team-card .team-contact a {
  color: var(--pine);
  font-weight: 600;
  text-decoration: none;
}
.team-card .team-contact a:hover {
  color: var(--gold-deep);
}

/* ---- generic page section intro reused across new pages ---- */
.lede {
  font-size: 1.05rem;
  max-width: 65ch;
  opacity: 0.82;
}
