/* =============================================================
   NM ESTATE GROUNDS — ai angles 7-10
   Organic premium redesign — website-3 reference
   Warm cream backgrounds, circular images, CSS decorative shapes
   ============================================================= */

/* ---- DESIGN TOKENS ---- */
:root {
  --cream: #f5f3ee;
  --cream-alt: #ede9e0;
  --cream-dark: #e5e0d5;
  --white: #ffffff;
  --green-dark: #0f2d12;
  --green-mid: #1a4a1e;
  --green-light: #2d6e32;
  --text-primary: #111111;
  --text-body: #444444;
  --text-muted: #777777;
  --border: #ddd8cc;
  --container: 1180px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  color: #555555;
  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(--white);
  background: var(--green-dark);
  border-radius: 6px;
  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: "Inter", Arial, sans-serif;
  font-weight: 800;
  line-height: 1.08;
}

h1 {
  font-size: clamp(42px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
}

h2 {
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 800;
}

h3 {
  font-size: 17px;
  font-weight: 700;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-light);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: "Inter", Arial, sans-serif;
}

/* ---- BUTTONS ---- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 28px;
  color: var(--white);
  background: var(--green-dark);
  border: none;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Inter", Arial, sans-serif;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease;
  white-space: nowrap;
}

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

.btn-primary:hover,
.btn-primary:focus {
  background: var(--green-mid);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  color: var(--green-dark);
  background: transparent;
  border: 1.5px solid var(--green-dark);
  border-radius: 100px;
  font-size: 15px;
  font-weight: 700;
  font-family: "Inter", Arial, sans-serif;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-outline:hover,
.btn-outline:focus {
  background: rgba(15, 45, 18, 0.06);
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 20px;
  color: var(--white);
  background: var(--green-dark);
  border: none;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  font-family: "Inter", Arial, sans-serif;
  cursor: pointer;
  transition: background 0.25s ease;
  white-space: nowrap;
}

.btn-nav-cta:hover,
.btn-nav-cta:focus {
  background: var(--green-mid);
}

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

.site-header.is-scrolled {
  box-shadow: 0 4px 20px rgba(15, 45, 18, 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(--white);
  background: var(--green-dark);
  border-radius: 50%;
  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;
  font-size: 14px;
}

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

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

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

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

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

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

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

/* ---- HERO — 2-column, circular image ---- */
.hero {
  background: var(--cream);
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-inner {
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 80px 0 72px;
}

.hero-copy h1 {
  margin-top: 8px;
  margin-bottom: 0;
}

.hero-lede {
  margin: 20px 0 0;
  color: #555555;
  font-size: 15px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

/* Hero visual — circular image with decorative circle */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 480px;
}

/* Large decorative dark green circle behind image */
.hero-deco-circle {
  position: absolute;
  width: 420px;
  height: 420px;
  background: var(--green-dark);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-40%, -50%);
  z-index: 0;
}

/* Small accent dot */
.hero-deco-dot {
  position: absolute;
  width: 80px;
  height: 80px;
  background: var(--green-light);
  border-radius: 50%;
  bottom: 10%;
  left: 5%;
  z-index: 0;
  opacity: 0.5;
}

/* Circular image crop */
.hero-img-wrap {
  position: relative;
  z-index: 1;
  width: 440px;
  height: 440px;
  min-width: 350px;
  min-height: 350px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.hero-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
}

/* ---- CSS GEOMETRIC DECORATIVE ELEMENTS ---- */

/* Services section — large faint outline circle in background */
.services-section {
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  border: 1px solid rgba(15, 45, 18, 0.07);
  right: -180px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 0;
}

.services-inner {
  position: relative;
  z-index: 1;
}

/* Portfolio section — small accent circle top-right */
.portfolio-section {
  position: relative;
  overflow: hidden;
}

.portfolio-section::after {
  content: "";
  position: absolute;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--cream-alt);
  right: 6%;
  top: 8%;
  pointer-events: none;
  z-index: 0;
}

.portfolio-inner {
  position: relative;
  z-index: 1;
}

/* Testimonials section — large faint outline circle bottom-left */
.testimonials-section {
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 1px solid rgba(15, 45, 18, 0.07);
  left: -140px;
  bottom: -80px;
  pointer-events: none;
  z-index: 0;
}

.testimonials-inner {
  position: relative;
  z-index: 1;
}

/* Consultation section — small filled circle accent */
.consultation-section {
  position: relative;
}

.consultation-section::before {
  content: "";
  position: absolute;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream-alt);
  left: 5%;
  top: 10%;
  pointer-events: none;
  z-index: 0;
}

.consultation-inner {
  position: relative;
  z-index: 1;
}

/* Stats strip — short green accent line above each stat number */
.stat-item strong::before {
  content: "";
  display: block;
  width: 28px;
  height: 3px;
  background: var(--green-dark);
  border-radius: 2px;
  margin-bottom: 12px;
}

/* ---- STATS STRIP ---- */
.stats-strip {
  background: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

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

.stat-item {
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.stat-item strong {
  display: block;
  color: var(--text-primary);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}

.stat-item span {
  display: block;
  color: #777777;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

/* ---- INTRO / PROGRAMS ---- */
.intro-section {
  background: var(--cream);
  padding: 96px 0;
  overflow: hidden;
}

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

/* Left column: heading + text stacked */
.intro-left {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.intro-left h2 {
  margin-top: 8px;
  margin-bottom: 0;
}

.intro-text {
  display: grid;
  gap: 16px;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.75;
  margin-top: 24px;
}

.intro-text p {
  margin: 0;
}

/* Right column: large dominant image */
.intro-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
}

.intro-deco-circle {
  position: absolute;
  width: 340px;
  height: 340px;
  background: var(--green-dark);
  border-radius: 50%;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
}

.intro-img-wrap {
  position: relative;
  z-index: 1;
  width: 320px;
  height: 320px;
  min-width: 350px;
  min-height: 350px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.intro-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

/* ---- SERVICES ---- */
.services-section {
  background: var(--cream-alt);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

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

.services-heading {
  margin-bottom: 56px;
  max-width: 640px;
}

.services-heading h2 {
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.svc-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.svc-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 45, 18, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
}

.svc-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--green-dark);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.svc-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

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

/* ---- FOUNDER ---- */
.founder-section {
  background: var(--green-dark);
  padding: 96px 0;
  overflow: hidden;
}

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

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

.founder-eyebrow {
  color: rgba(255, 255, 255, 0.6);
}

.founder-copy h2 {
  color: var(--white);
  margin: 10px 0 24px;
}

.founder-copy p {
  color: rgba(255, 255, 255, 0.72);
  font-size: 16px;
  line-height: 1.75;
  margin: 0 0 16px;
  max-width: 480px;
}

.founder-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  margin-bottom: 32px;
  transition: color 0.25s ease;
}

.founder-link:hover {
  color: var(--white);
}

.signature {
  display: grid;
  gap: 3px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.signature strong {
  color: var(--white);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
}

.signature span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
}

/* Founder portrait — circular */
.founder-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-img-wrap {
  width: 360px;
  height: 360px;
  min-width: 350px;
  min-height: 350px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.15);
}

.founder-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
}

/* ---- PORTFOLIO ---- */
.portfolio-section {
  background: var(--cream);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

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

.portfolio-heading {
  margin-bottom: 52px;
}

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

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.port-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.port-card:hover {
  box-shadow: 0 8px 32px rgba(15, 45, 18, 0.1);
  transform: translateY(-3px);
}

.port-num {
  display: block;
  color: var(--green-dark);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.port-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

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

/* ---- TESTIMONIALS ---- */
.testimonials-section {
  background: var(--cream-alt);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

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

.testimonials-heading {
  margin-bottom: 52px;
}

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

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial {
  margin: 0;
  padding: 36px 32px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
}

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

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

/* ---- CONSULTATION ---- */
.consultation-section {
  background: var(--cream);
  padding: 96px 0;
  border-top: 1px solid var(--border);
}

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

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

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

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

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

.form-row label {
  color: var(--text-primary);
  font-size: 13px;
  font-weight: 700;
}

.form-row input,
.form-row select {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  color: var(--text-primary);
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: 0;
  font-size: 15px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-row input:focus,
.form-row select:focus {
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(15, 45, 18, 0.1);
}

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

.form-row select option {
  color: var(--text-primary);
  background: var(--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-dark);
  font-weight: 700;
}

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

.footer-inner {
  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(--white);
}

.footer-brand .brand-mark {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

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

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

.footer-brand-col p {
  margin: 18px 0 0;
  max-width: 340px;
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.6);
}

.footer-inner h2 {
  margin: 0 0 14px;
  color: var(--white);
  font-family: "Inter", Arial, sans-serif;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

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

.footer-inner a:not(.brand):hover,
.footer-inner a:not(.brand):focus {
  color: var(--white);
}

.footer-inner p {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.6;
}

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

  /* Hero: stack */
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 60px 0 56px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .hero-deco-circle {
    width: 320px;
    height: 320px;
  }

  .hero-img-wrap {
    width: 300px;
    height: 300px;
  }

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

  .intro-right {
    flex-direction: row;
    align-items: start;
    gap: 40px;
  }

  .intro-text {
    flex: 1;
  }

  .intro-visual {
    flex-shrink: 0;
    min-height: 240px;
    width: 260px;
  }

  .intro-deco-circle {
    width: 220px;
    height: 220px;
  }

  .intro-img-wrap {
    width: 200px;
    height: 200px;
    margin-right: 10px;
  }

  /* Services decorative circle — reduce on tablet */
  .services-section::before {
    width: 400px;
    height: 400px;
    right: -140px;
  }

  /* Portfolio accent circle — reduce on tablet */
  .portfolio-section::after {
    width: 72px;
    height: 72px;
  }

  /* Testimonials circle — reduce on tablet */
  .testimonials-section::before {
    width: 280px;
    height: 280px;
    left: -100px;
    bottom: -60px;
  }

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

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

  .founder-img-wrap {
    width: 280px;
    height: 280px;
    margin: 0 auto;
  }

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

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

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

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

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

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

  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(--cream);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 99;
  }

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

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

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

  /* Hero */
  .hero-inner {
    width: min(100% - 28px, var(--container));
    padding: 48px 0 44px;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-deco-circle {
    width: 240px;
    height: 240px;
  }

  .hero-img-wrap {
    width: 220px;
    height: 220px;
  }

  .hero-deco-dot {
    width: 56px;
    height: 56px;
  }

  h1 {
    font-size: 36px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 16px;
  }

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

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

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

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

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

  .stat-item strong {
    font-size: 36px;
  }

  /* Sections */
  .intro-section,
  .services-section,
  .founder-section,
  .portfolio-section,
  .testimonials-section,
  .consultation-section {
    padding: 68px 0;
  }

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

  /* Intro: stack fully */
  .intro-right {
    flex-direction: column;
    gap: 32px;
  }

  .intro-visual {
    width: 100%;
    min-height: 200px;
    justify-content: center;
  }

  .intro-deco-circle {
    width: 180px;
    height: 180px;
    right: 50%;
    transform: translate(50%, -50%);
  }

  .intro-img-wrap {
    width: 160px;
    height: 160px;
    margin-right: 0;
  }

  /* Decorative elements — reduce on mobile */
  .services-section::before {
    width: 260px;
    height: 260px;
    right: -100px;
  }

  .portfolio-section::after {
    width: 52px;
    height: 52px;
    right: 4%;
    top: 5%;
  }

  .testimonials-section::before {
    width: 180px;
    height: 180px;
    left: -70px;
    bottom: -40px;
  }

  .consultation-section::before {
    width: 48px;
    height: 48px;
    left: 4%;
    top: 6%;
  }

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

  /* Founder */
  .founder-img-wrap {
    width: 220px;
    height: 220px;
  }

  /* Portfolio: 1-col */
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

  /* Consultation */
  .consultation-form {
    padding: 24px;
  }

  /* Footer */
  .footer-inner {
    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: 30px;
  }

  h2 {
    font-size: 24px;
  }

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

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

  .hero-visual {
    min-height: 220px;
  }

  .hero-deco-circle {
    width: 180px;
    height: 180px;
  }

  .hero-img-wrap {
    width: 160px;
    height: 160px;
  }
}

/* ---- 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;
  }
}
