/* === Miller's Landscape Design — Vanilla CSS === */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

/* ─── Reset ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

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

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

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

/* ─── Design Tokens ─────────────────────────────────── */
:root {
  --radius: 0.5rem;
  --background: oklch(0.985 0.012 95);
  --foreground: oklch(0.22 0.03 145);
  --card: oklch(0.98 0.014 95);
  --primary: oklch(0.33 0.06 150);
  --primary-foreground: oklch(0.97 0.02 95);
  --primary-glow: oklch(0.5 0.11 150);
  --secondary: oklch(0.93 0.025 95);
  --muted-foreground: oklch(0.45 0.03 130);
  --accent: oklch(0.62 0.16 45);
  --border: oklch(0.88 0.02 95);
  --input: oklch(0.9 0.02 95);
  --ring: oklch(0.5 0.11 150);
  --gradient-hero: linear-gradient(135deg, oklch(0.22 0.04 150 / 0.85), oklch(0.18 0.03 145 / 0.55) 60%, oklch(0.18 0.03 145 / 0.2));
  --shadow-soft: 0 1px 2px oklch(0.2 0.04 150 / 0.06), 0 8px 24px -12px oklch(0.2 0.04 150 / 0.18);
  --shadow-elevated: 0 24px 60px -24px oklch(0.2 0.05 150 / 0.35);
}

/* ─── Base ──────────────────────────────────────────── */
body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, sans-serif;
  font-feature-settings: "ss01", "cv11";
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", Georgia, serif;
  font-feature-settings: "ss01";
  letter-spacing: -0.02em;
}

/* ─── Layout Utilities ──────────────────────────────── */
.container-page {
  margin-inline: auto;
  width: 100%;
  max-width: 80rem;
  padding-inline: 1.5rem;
}

.section-y {
  padding-block: 5rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  display: block;
}

/* ─── Animations ────────────────────────────────────── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slow-zoom {
  from {
    transform: scale(1.05);
  }

  to {
    transform: scale(1);
  }
}

@keyframes page-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes page-fade-out {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@keyframes slide-in-left {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slide-in-right {
  from {
    opacity: 0;
    transform: translateX(24px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.animate-fade-up {
  animation: fade-up 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-slow-zoom {
  animation: slow-zoom 12s ease-out both;
}

.animate-page-in {
  animation: page-fade-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.animate-page-out {
  animation: page-fade-out 0.3s ease forwards;
}

.animate-slide-in-left {
  animation: slide-in-left 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.animate-slide-in-right {
  animation: slide-in-right 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.anim-delay-1 {
  animation-delay: 60ms;
}

.anim-delay-2 {
  animation-delay: 140ms;
}

.anim-delay-3 {
  animation-delay: 220ms;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.reveal-delay-1 {
  transition-delay: 80ms;
}

.reveal-delay-2 {
  transition-delay: 160ms;
}

.reveal-delay-3 {
  transition-delay: 240ms;
}

.reveal-delay-4 {
  transition-delay: 320ms;
}

/* Main content fade-in on page load */
main {
  animation: page-fade-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.reveal-delay-3 {
  transition-delay: 240ms;
}

.reveal-delay-4 {
  transition-delay: 320ms;
}

/* ─── Buttons ───────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--foreground);
  color: var(--background);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: 1px solid transparent;
  transition: background-color 0.2s, transform 0.2s;
}

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

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: transparent;
  color: var(--foreground);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
  transition: background-color 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  background-color: var(--secondary);
}

.btn-on-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: var(--primary-foreground);
  color: var(--primary);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: background-color 0.2s, transform 0.2s;
}

.btn-on-dark:hover {
  background-color: oklch(0.95 0.02 95);
  transform: translateY(-1px);
}

.btn-outline-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background-color: transparent;
  color: var(--primary-foreground);
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid oklch(0.97 0.02 95 / 0.35);
  transition: background-color 0.2s, border-color 0.2s;
}

.btn-outline-light:hover {
  background-color: oklch(0.97 0.02 95 / 0.1);
  border-color: oklch(0.97 0.02 95 / 0.6);
}

/* ─── Site Header ───────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid oklch(0.88 0.02 95 / 0.6);
  background-color: oklch(0.985 0.012 95 / 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.logo-icon {
  display: grid;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background-color: transparent;
  color: var(--primary-foreground);
  box-shadow: none;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  border-radius: 0.75rem;
  object-fit: cover;
}

.logo-text {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.logo-text .muted {
  color: var(--muted-foreground);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 0.25rem;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

.nav-link {
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.15s, color 0.15s;
}

.nav-link:hover,
.nav-link.active {
  background-color: var(--secondary);
  color: var(--foreground);
}

.header-cta {
  display: none;
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}

.menu-toggle {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  background: none;
  border: 1px solid var(--border);
  color: var(--foreground);
  cursor: pointer;
}

@media (min-width: 768px) {
  .menu-toggle {
    display: none;
  }
}

.mobile-nav {
  display: none;
  flex-direction: column;
  border-top: 1px solid var(--border);
  padding: 0.75rem 1.5rem 1rem;
  gap: 0.25rem;
  background-color: oklch(0.985 0.012 95 / 0.96);
  backdrop-filter: blur(20px);
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 0.625rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.15s, color 0.15s;
}

.mobile-nav a:hover,
.mobile-nav a.active {
  background-color: var(--secondary);
  color: var(--foreground);
}

.mobile-nav-phone {
  margin-top: 0.5rem;
  padding: 0.625rem 0.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ─── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: slow-zoom 12s ease-out both;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-image: var(--gradient-hero);
}

.hero-content {
  position: relative;
  display: flex;
  min-height: 88vh;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 5rem;
  padding-top: 8rem;
  color: var(--primary-foreground);
}

.hero-eyebrow {
  color: oklch(0.85 0.08 60) !important;
}

.hero h1 {
  margin-top: 1rem;
  max-width: 56rem;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: oklch(0.97 0.02 95 / 0.85);
}

.hero-actions {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn-arrow {
  transition: transform 0.2s;
}

.btn-primary:hover .btn-arrow {
  transform: translateX(2px);
}

/* ─── Trust Bar ─────────────────────────────────────── */
.trust-bar {
  border-bottom: 1px solid var(--border);
  background-color: oklch(0.93 0.025 95 / 0.4);
}

.trust-grid {
  display: grid;
  gap: 1.5rem;
  padding-block: 2.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 1024px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
}

.trust-sub {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ─── Services Preview (Home) ───────────────────────── */
.services-section {
  padding-block: 5rem;
}

.section-hd {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.section-hd-text {
  max-width: 40rem;
}

.section-hd h2 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.section-all-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--foreground);
  text-underline-offset: 4px;
}

.section-all-link:hover {
  text-decoration: underline;
}

.svc-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .svc-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.svc-card {
  display: block;
}

.svc-card-img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: 1rem;
  background-color: var(--secondary);
}

.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1200ms ease-out;
}

.svc-card:hover .svc-card-img img {
  transform: scale(1.05);
}

.svc-card-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, oklch(0.22 0.03 145 / 0.55), oklch(0.22 0.03 145 / 0.10) 50%, transparent);
  opacity: 0.9;
  transition: opacity 0.5s;
}

.svc-card:hover .svc-card-overlay {
  opacity: 1;
}

.svc-card-badge {
  position: absolute;
  left: 1.25rem;
  top: 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  border-radius: 9999px;
  background-color: oklch(0.985 0.012 95 / 0.85);
  padding: 0.25rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--foreground);
  backdrop-filter: blur(8px);
}

.badge-num {
  font-family: monospace;
  color: var(--muted-foreground);
}

.badge-dot {
  width: 0.25rem;
  height: 0.25rem;
  border-radius: 9999px;
  background-color: var(--accent);
}

.svc-card-footer {
  position: absolute;
  inset-inline: 1.25rem;
  bottom: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.75rem;
  color: var(--primary-foreground);
}

.svc-card-footer h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1.2;
}

.svc-card-arrow {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  border-radius: 9999px;
  border: 1px solid oklch(0.97 0.02 95 / 0.4);
  background-color: oklch(0.97 0.02 95 / 0.1);
  backdrop-filter: blur(4px);
  color: var(--primary-foreground);
  transition: background-color 0.3s, color 0.3s;
}

.svc-card:hover .svc-card-arrow {
  background-color: var(--primary-foreground);
  color: var(--foreground);
}

.svc-card-body {
  margin-top: 1.25rem;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: var(--muted-foreground);
}

/* ─── Process ───────────────────────────────────────── */
.process-section {
  padding-block: 5rem;
  background-color: var(--primary);
  color: var(--primary-foreground);
}

.process-section .eyebrow {
  color: oklch(0.85 0.08 60) !important;
}

.process-section h2 {
  margin-top: 0.75rem;
  max-width: 48rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.process-grid {
  margin-top: 3.5rem;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.process-step {
  border-top: 1px solid oklch(0.97 0.02 95 / 0.2);
  padding-top: 1.5rem;
}

.process-num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.875rem;
  color: var(--accent);
}

.process-step h3 {
  margin-top: 0.75rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
}

.process-step p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: oklch(0.97 0.02 95 / 0.75);
}

/* ─── CTA Strip ─────────────────────────────────────── */
.cta-section {
  padding-block: 5rem;
}

.cta-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2.5rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .cta-card {
    padding: 4rem;
  }
}

.cta-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .cta-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: flex-end;
  }
}

.cta-card h2 {
  margin-top: 0.75rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.cta-card p {
  margin-top: 1rem;
  max-width: 32rem;
  color: var(--muted-foreground);
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .cta-actions {
    justify-content: flex-end;
  }
}

/* ─── Footer ────────────────────────────────────────── */
.site-footer {
  margin-top: 6rem;
  border-top: 1px solid var(--border);
  background-color: oklch(0.93 0.025 95 / 0.4);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-tagline {
  margin-top: 0.75rem;
  max-width: 28rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 600;
}

.footer-col ul {
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.footer-col ul a:hover {
  color: var(--foreground);
}

.footer-bottom {
  border-top: 1px solid var(--border);
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding-block: 1.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ─── Inner Page Hero ───────────────────────────────── */
.page-hero {
  border-bottom: 1px solid var(--border);
  background-color: oklch(0.93 0.025 95 / 0.4);
}

.page-hero-inner {
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .page-hero-inner {
    padding-block: 7rem;
  }
}

.page-hero h1 {
  margin-top: 0.75rem;
  max-width: 48rem;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.05;
}

.page-hero p {
  margin-top: 1.5rem;
  max-width: 36rem;
  font-size: 1.125rem;
  color: var(--muted-foreground);
}

/* ─── About Page ────────────────────────────────────── */
.about-intro {
  border-bottom: 1px solid var(--border);
}

.about-grid {
  display: grid;
  gap: 3rem;
  padding-block: 5rem;
}

@media (min-width: 768px) {
  .about-grid {
    grid-template-columns: 1.1fr 1fr;
    padding-block: 7rem;
    align-items: start;
  }
}

.about-img {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-elevated);
}

.about-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.values-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .values-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.value-card {
  border-radius: 1rem;
  border: 1.5px solid var(--border);
  background-color: var(--card);
  padding: 2rem;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: border-color 0.25s, outline-color 0.25s;
}

.value-card:hover {
  border-color: transparent;
  outline-color: var(--accent);
}

.value-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.25rem;
}

.value-card p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.reviews-section {
  padding-block: 5rem;
  background-color: oklch(0.93 0.025 95 / 0.4);
}

.reviews-inner {
  max-width: 48rem;
}

.reviews-inner h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
}

.reviews-inner>p {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* ─── Services Page ─────────────────────────────────── */
.services-list {
  padding-block: 5rem;
}

.services-stack {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.svc-article {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .svc-article {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-article.flip .svc-img {
  order: 2;
}

.svc-article.flip .svc-text {
  order: 1;
}

.svc-img {
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: var(--shadow-soft);
}

.svc-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.svc-article-num {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  color: var(--accent);
}

.svc-text h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}

.svc-text>p {
  margin-top: 1rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.svc-points {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.svc-point {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.svc-dot {
  margin-top: 0.375rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background-color: var(--accent);
  flex-shrink: 0;
}

.svc-text .btn-primary {
  margin-top: 2rem;
  align-self: flex-start;
}

/* ─── Contact Page ──────────────────────────────────── */
.contact-section {
  padding-block: 5rem;
}

.contact-grid {
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.1fr 1fr;
  }
}

.contact-h1 {
  margin-top: 0.75rem;
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.05;
}

.contact-lead {
  margin-top: 1.25rem;
  max-width: 28rem;
  color: var(--muted-foreground);
}

.contact-rows {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-row {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.contact-row-label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
}

.contact-row-value {
  margin-top: 0.25rem;
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
}

.contact-row-value a:hover {
  color: var(--accent);
}

.contact-form {
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background-color: var(--card);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 640px) {
  .contact-form {
    padding: 2.5rem;
  }
}

.form-fields {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.field {
  display: flex;
  flex-direction: column;
}

.field label {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted-foreground);
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border-radius: 0.75rem;
  border: 1px solid var(--input);
  background-color: var(--background);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  appearance: none;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--ring);
  box-shadow: 0 0 0 3px oklch(0.5 0.11 150 / 0.15);
}

.field textarea {
  resize: vertical;
  min-height: 7rem;
  font-family: inherit;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--muted-foreground);
  line-height: 1.5;
}

.form-hint a {
  text-decoration: underline;
}

.form-submit {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
}

/* ─── Design Showcase (Home) ────────────────────────── */
.design-showcase-grid {
  grid-template-columns: 1fr !important;
}

@media (min-width: 900px) {
  .design-showcase-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

.design-showcase-img {
  border-radius: 1rem;
  overflow: hidden;
  border: 1.5px solid var(--border);
  transition: border-color 0.25s, outline 0.25s;
  outline: 2px solid transparent;
  outline-offset: 3px;
}

.design-showcase-img:hover {
  border-color: transparent;
  outline-color: var(--accent);
}

/* Services page: design plan should scale to fit, not crop */
#svc-design .svc-img img {
  object-fit: contain;
  background: #fff;
}

/* ─── Equipment Grid (About) ────────────────────────── */
.equipment-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .equipment-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.equipment-img {
  border-radius: 1rem;
  overflow: hidden;
  border: 1.5px solid var(--border);
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: border-color 0.25s, outline-color 0.25s;
}

.equipment-img:hover {
  border-color: transparent;
  outline-color: var(--accent);
}

.equipment-img img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  display: block;
}

.equipment-caption {
  padding: .75rem 1rem;
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted-foreground);
  border-top: 1px solid var(--border);
}

/* ─── Inline SVG helpers ────────────────────────────── */
svg {
  vertical-align: middle;
}