/* =============================================================
   NM ESTATE GROUNDS — ai angles 7-8
   Premium light editorial redesign — luxury landscape aesthetic
   ============================================================= */

/* ---- DESIGN TOKENS ---- */
:root {
  --green-950: #062817;
  --green-900: #0a3a20;
  --green-800: #114227;
  --gold-500: #c5a059;
  --gold-400: #d4af37;
  /* Softer sage palette */
  --cream: #faf9f6;
  --cream-alt: #f3f6f1;
  --sage-light: #e8efe5;
  --sage-mid: #d4e0cf;
  --warm-white: #ffffff;
  --border: #e2ddd6;
  --border-strong: #cdc8be;
  --text-primary: #243324;
  --text-body: #3d4e3d;
  --text-muted: #6b7d6b;
  --text-light: #8fa08f;
  --shadow-card: 0 2px 20px rgba(36, 51, 36, 0.07);
  --shadow-lift: 0 8px 40px rgba(36, 51, 36, 0.11);
  --container: 1180px;
  --header-height: 84px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-body);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

img, svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select {
  font: inherit;
}

button {
  border: 0;
}

/* ---- ACCESSIBILITY ---- */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--warm-white);
  background: var(--green-900);
  transform: translateY(-140%);
  transition: transform 0.3s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.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;
}

/* ---- TYPOGRAPHY ---- */
h1, h2, h3 {
  margin: 0;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.08;
}

h1 {
  font-size: clamp(40px, 5vw, 66px);
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 3.2vw, 46px);
  font-weight: 700;
}

h3 {
  font-size: 20px;
  font-weight: 700;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-500);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- BUTTONS ---- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  color: var(--green-950);
  background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
  border: none;
  border-radius: 3px;
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.26);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.button svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex: 0 0 17px;
}

.button:hover,
.button:focus {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(197, 160, 89, 0.34);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  color: var(--green-900);
  background: transparent;
  border: 1.5px solid var(--green-900);
  border-radius: 3px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(10, 58, 32, 0.05);
}

.btn-outline-hero {
  color: var(--warm-white);
  border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline-hero:hover,
.btn-outline-hero:focus {
  background: rgba(255, 255, 255, 0.1);
}

.text-link {
  position: relative;
  display: inline-block;
  color: var(--green-900);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: auto;
}

.text-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.text-link:hover::after,
.text-link:focus::after {
  transform: scaleX(1);
}

/* ---- HEADER / NAV ---- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 249, 246, 0.96);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.site-header.is-scrolled {
  box-shadow: 0 4px 24px rgba(36, 51, 36, 0.08);
}

.nav-shell {
  width: min(100% - 40px, var(--container));
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 190px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  color: var(--gold-400);
  background: var(--green-900);
  border: 1px solid rgba(197, 160, 89, 0.38);
  border-radius: 3px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 16px;
  font-weight: 700;
}

.brand-copy {
  display: grid;
  gap: 0;
  color: var(--text-primary);
  font-weight: 700;
}

.brand-copy small {
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--text-body);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s ease;
}

.nav-links a:hover,
.nav-links a:focus {
  color: var(--green-900);
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  transform: scaleX(1);
}

.nav-cta {
  min-height: 40px;
  padding: 0 16px;
  font-size: 13px;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--green-900);
  border-radius: 3px;
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 18px;
  height: 1.5px;
  background: var(--warm-white);
  transition: all 0.3s ease;
}

/* ---- LEAF DECORATIVE ELEMENTS ---- */
.leaf-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* Hero leaf — bottom-right, behind content */
.leaf-deco--hero {
  width: 280px;
  bottom: -40px;
  right: 3%;
  z-index: 1;
  opacity: 0.15;
  transform: rotate(20deg);
}

/* Credentials leaf — right edge */
.leaf-deco--creds {
  width: 180px;
  top: -20px;
  right: 2%;
  opacity: 0.12;
  transform: rotate(-15deg);
}

/* Founder leaf — left edge */
.leaf-deco--founder {
  width: 200px;
  bottom: -30px;
  left: 2%;
  opacity: 0.14;
  transform: rotate(10deg) scaleX(-1);
}

/* ---- HERO — left-aligned editorial ---- */
.hero {
  position: relative;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--green-950);
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
  aspect-ratio: 4 / 5;
}

/* Cream gradient — left-aligned, fades right */
.hero-overlay-light {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(250, 249, 246, 0.97) 0%,
      rgba(250, 249, 246, 0.93) 36%,
      rgba(250, 249, 246, 0.50) 60%,
      rgba(250, 249, 246, 0.02) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
  margin: var(--header-height) auto 0;
  padding: 96px 0 80px;
  /* Left-aligned — no centering */
  text-align: left;
}

.hero .eyebrow {
  text-align: left;
}

.hero h1 {
  color: var(--text-primary);
  text-align: left;
  max-width: 580px;
}

.hero-lede {
  max-width: 480px;
  margin: 20px 0 0;
  color: var(--text-body);
  font-size: 17px;
  line-height: 1.65;
  text-align: left;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  justify-content: flex-start;
}

/* ---- CREDENTIALS STRIP ---- */
.credentials-strip {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.credentials-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.cred-item {
  padding: 32px 24px;
  border-right: 1px solid var(--border);
  text-align: left;
}

.cred-item:last-child {
  border-right: 0;
}

.cred-item dt {
  display: block;
  color: var(--green-900);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 7px;
}

.cred-item dd {
  display: block;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

/* ---- SECTION BASE ---- */
.section {
  padding: 96px 0;
}

.section-heading {
  width: min(100% - 40px, var(--container));
  margin: 0 auto 48px;
}

.section-heading h2 {
  max-width: 640px;
  margin-top: 8px;
}

/* ---- INTRO / PROGRAMS ---- */
.intro-section {
  background: var(--warm-white);
}

.intro-grid {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.intro-copy h2 {
  margin-top: 8px;
  max-width: 480px;
}

.intro-copy-text {
  margin: 20px 0 0;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
}

.intro-photo-col {
  overflow: hidden;
  border-radius: 3px;
  margin: 0 auto;
}

.intro-photo-col img {
  width: 100%;
  max-width: 600px;
  height: 360px;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  margin: 0 auto;
}

/* ---- SERVICES — borderless airy ---- */
.services-section {
  background: var(--cream-alt);
}

.services-grid {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 40px 28px;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  transition: background 0.3s ease;
}

.service-card:last-child {
  border-right: 0;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.55);
}

.svc-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  color: var(--green-800);
}

.svc-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.service-card h3 {
  font-size: 17px;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-card p {
  margin: 0 0 18px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  flex: 1;
}

/* ---- FOUNDER — soft sage accent band ---- */
.founder-section {
  background: var(--sage-light);
  padding: 96px 0 0;
  border-top: 1px solid var(--sage-mid);
  border-bottom: 1px solid var(--sage-mid);
  overflow: hidden;
}

.founder-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
}

.founder-copy {
  color: var(--text-primary);
}

.founder-eyebrow {
  color: var(--gold-500);
}

.founder-copy h2 {
  color: var(--text-primary);
  margin: 10px 0 22px;
  max-width: 520px;
}

.founder-copy p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  max-width: 480px;
  margin: 0 0 28px;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--green-900);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  transition: gap 0.3s ease;
}

.founder-link:hover {
  gap: 14px;
}

.founder-photo {
  overflow: hidden;
}

.founder-photo img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  object-position: center top;
  display: block;
}

/* ---- PORTFOLIO — editorial numbered list ---- */
.portfolio-section {
  background: var(--warm-white);
}

.portfolio-header {
  width: min(100% - 40px, var(--container));
  margin: 0 auto 52px;
}

.portfolio-header h2 {
  max-width: 600px;
  margin-top: 8px;
}

.portfolio-list {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}

.portfolio-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s ease;
}

.portfolio-item:hover {
  background: var(--cream-alt);
  padding-left: 16px;
  padding-right: 16px;
  margin-left: -16px;
  margin-right: -16px;
}

.portfolio-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-500);
  line-height: 1;
  padding-top: 4px;
}

.portfolio-body h3 {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.portfolio-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  max-width: 640px;
}

/* ---- TESTIMONIALS — large editorial quotes ---- */
.testimonials-section {
  background: var(--cream-alt);
}

.testimonials-header {
  width: min(100% - 40px, var(--container));
  margin: 0 auto 52px;
}

.testimonials-header h2 {
  max-width: 640px;
  margin-top: 8px;
}

.testimonial-grid {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
}

.testimonial {
  margin: 0;
  padding: 40px 36px;
  background: var(--warm-white);
}

.testimonial blockquote {
  margin: 0 0 22px;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  line-height: 1.45;
  font-style: italic;
}

.testimonial figcaption {
  color: var(--green-900);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---- CONSULTATION — asymmetric editorial ---- */
.consultation-wrap {
  background: var(--warm-white);
  border-top: 1px solid var(--border);
}

.consultation-section {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
  padding: 96px 0;
}

.consultation-copy h2 {
  color: var(--text-primary);
  margin: 8px 0 18px;
  max-width: 400px;
}

.consultation-copy p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 28px;
}

.consult-trust {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.consult-trust li {
  position: relative;
  padding-left: 20px;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 600;
}

.consult-trust li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold-500);
}

.consultation-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  padding: 36px;
  background: var(--cream-alt);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
}

.form-row {
  display: grid;
  gap: 7px;
}

.form-row label {
  color: var(--text-body);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-row input,
.form-row select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  color: var(--text-body);
  background: var(--warm-white);
  border: 1px solid var(--border-strong);
  border-radius: 3px;
  outline: 0;
  font-size: 15px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--green-900);
  box-shadow: 0 0 0 3px rgba(10, 58, 32, 0.09);
}

.form-row select {
  color-scheme: light;
}

.form-row select option {
  color: var(--text-body);
  background: var(--warm-white);
}

.form-submit,
.form-note {
  grid-column: 1 / -1;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-note {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
}

.form-note.is-success {
  color: var(--green-900);
  font-weight: 700;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.7fr 0.7fr;
  gap: 52px;
  padding: 68px 0 48px;
}

.footer-brand {
  color: var(--warm-white);
}

.footer-brand .brand-copy {
  color: var(--warm-white);
}

.footer-brand .brand-copy small {
  color: rgba(255, 255, 255, 0.48);
}

.footer-grid p {
  margin: 18px 0 0;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.65;
}

.footer-grid h2 {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.88);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-grid a:not(.brand) {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-grid a:not(.brand):hover,
.footer-grid a:not(.brand):focus {
  color: var(--gold-400);
}

.footer-muted {
  color: rgba(255, 255, 255, 0.44);
  font-size: 13px;
}

.footer-bottom {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  font-size: 13px;
}

.footer-bottom p {
  margin: 0;
}

/* ---- RESPONSIVE — TABLET (≤1100px) ---- */
@media (max-width: 1100px) {
  .nav-cta {
    display: none;
  }

  /* Credentials: 2×2 */
  .credentials-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .cred-item:nth-child(2) {
    border-right: 0;
  }

  .cred-item:nth-child(3) {
    border-top: 1px solid var(--border);
  }

  .cred-item:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: 0;
  }

  /* Intro */
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .intro-photo-col img {
    height: 350px;
    max-width: 600px;
  }

  /* Services: 2-col */
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(3) {
    border-top: 1px solid var(--border);
  }

  .service-card:nth-child(4) {
    border-top: 1px solid var(--border);
    border-right: 0;
  }

  /* Founder */
  .founder-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .founder-photo img {
    max-height: 380px;
  }

  /* Leaf — tablet: reduce size */
  .leaf-deco--hero {
    width: 200px;
  }

  .leaf-deco--creds {
    width: 130px;
  }

  .leaf-deco--founder {
    width: 150px;
  }

  /* Testimonials: 1-col */
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  /* Consultation */
  .consultation-section {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .consultation-form {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- RESPONSIVE — MOBILE (≤820px) ---- */
@media (max-width: 820px) {
  :root {
    --header-height: 70px;
  }

  body {
    font-size: 15px;
  }

  .nav-shell {
    width: min(100% - 28px, var(--container));
  }

  .brand {
    min-width: 0;
  }

  .brand-copy small {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    display: grid;
    align-content: start;
    gap: 0;
    min-height: calc(100vh - var(--header-height));
    padding: 24px 20px;
    background: var(--warm-white);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

  .nav-links.is-open {
    transform: translateX(0);
  }

  .nav-links a {
    padding: 15px 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    font-size: 16px;
  }

  .nav-links a::after {
    display: none;
  }

  /* Hero */
  .hero {
    min-height: auto;
  }

  .hero-overlay-light {
    background:
      linear-gradient(180deg,
        rgba(250, 249, 246, 0.96) 0%,
        rgba(250, 249, 246, 0.90) 50%,
        rgba(250, 249, 246, 0.52) 100%
      );
  }

  .hero-media img {
    object-position: 68% 10%;
    opacity: 0.52;
  }

  .hero-content {
    width: min(100% - 28px, var(--container));
    padding: 96px 0 56px;
  }

  h1 {
    font-size: 38px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 18px;
  }

  .hero-lede {
    font-size: 15px;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
  }

  /* Credentials: 1-col */
  .credentials-inner {
    grid-template-columns: 1fr;
    width: min(100% - 28px, var(--container));
  }

  .cred-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 22px 16px;
  }

  .cred-item:nth-child(3),
  .cred-item:nth-child(4) {
    border-top: none;
  }

  .cred-item:last-child {
    border-bottom: 0;
  }

  /* Sections */
  .section {
    padding: 68px 0;
  }

  .section-heading,
  .intro-grid,
  .services-grid,
  .portfolio-list,
  .portfolio-header,
  .testimonial-grid,
  .testimonials-header,
  .consultation-section,
  .footer-grid,
  .footer-bottom,
  .founder-inner {
    width: min(100% - 28px, var(--container));
  }

  /* Services: 1-col */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .service-card:nth-child(3),
  .service-card:nth-child(4) {
    border-top: none;
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  /* Founder */
  .founder-section {
    padding: 68px 0 0;
  }

  .founder-photo img {
    max-height: 300px;
  }

  /* Leaf — mobile: smaller, repositioned */
  .leaf-deco--hero {
    width: 140px;
    bottom: -20px;
    right: 1%;
  }

  .leaf-deco--creds {
    width: 90px;
    top: -10px;
    right: 1%;
  }

  .leaf-deco--founder {
    width: 100px;
    bottom: -15px;
    left: 1%;
  }

  /* Portfolio */
  .portfolio-item {
    grid-template-columns: 56px 1fr;
    gap: 20px;
  }

  .portfolio-item:hover {
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
    background: transparent;
  }

  .portfolio-num {
    font-size: 22px;
  }

  /* Testimonials */
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  /* Consultation */
  .consultation-section {
    padding: 68px 0;
  }

  .consultation-form {
    padding: 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 48px 0 32px;
  }

  .footer-bottom {
    display: grid;
    gap: 6px;
  }
}

/* ---- RESPONSIVE — SMALL MOBILE (≤480px) ---- */
@media (max-width: 480px) {
  h1 {
    font-size: 32px;
  }

  h2 {
    font-size: 24px;
  }

  .button,
  .btn-outline {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .brand-copy span {
    max-width: 130px;
    display: block;
    overflow-wrap: break-word;
    line-height: 1.15;
  }

  .cred-item dt {
    font-size: 28px;
  }
}

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