/* ═══════════════════════════════════════════════════════════════
   TK Management Solutions — Main Stylesheet
   Theme: Refined Editorial
   Fonts: Fraunces (display) + DM Sans (body)
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. Design Tokens ────────────────────────────────────────── */
:root {
  /* Color Palette */
  --cream:         #F4EFE6;
  --cream-dark:    #EBE4D7;
  --cream-border:  #D8D1C4;
  --ink:           #1C1714;
  --ink-muted:     #766D63;
  --green:         #2B5F3E;
  --green-hover:   #3A7A53;
  --green-pale:    #EBF3EE;
  --gold:          #C08A2E;
  --gold-hover:    #D49A38;
  --white:         #FFFFFF;
  --shadow-sm:     0 1px 3px rgba(28, 23, 20, 0.08);
  --shadow:        0 4px 16px rgba(28, 23, 20, 0.10);
  --shadow-lg:     0 12px 40px rgba(28, 23, 20, 0.14);

  /* Typography */
  --font-display:  'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:     'DM Sans', system-ui, -apple-system, sans-serif;

  /* Type Scale (Major Third) */
  --text-xs:   0.6875rem;   /* 11px */
  --text-sm:   0.875rem;    /* 14px */
  --text-base: 1rem;        /* 16px */
  --text-lg:   1.125rem;    /* 18px */
  --text-xl:   1.25rem;     /* 20px */
  --text-2xl:  1.5625rem;   /* 25px */
  --text-3xl:  1.9531rem;   /* 31px */
  --text-4xl:  2.4414rem;   /* 39px */
  --text-5xl:  3.0518rem;   /* 49px */
  --text-6xl:  3.8147rem;   /* 61px */
  --text-7xl:  5.0rem;      /* 80px */
  --text-8xl:  6.5rem;      /* 104px */

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* Layout */
  --container:  1180px;
  --radius-sm:  4px;
  --radius:     10px;
  --radius-lg:  20px;

  /* Motion */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:    cubic-bezier(0.64, 0, 0.78, 0);
  --t-fast:     150ms var(--ease-out);
  --t-base:     280ms var(--ease-out);
  --t-slow:     480ms var(--ease-out);
}


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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--cream);
  overflow-x: hidden;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }


/* ─── 3. Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: var(--text-6xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-2xl); }
h4 { font-size: var(--text-xl); }

p { max-width: 62ch; }

.eyebrow {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
}

.lead {
  font-size: var(--text-lg);
  line-height: 1.75;
  color: var(--ink-muted);
  max-width: 55ch;
}

.display {
  font-family: var(--font-display);
  font-size: clamp(var(--text-5xl), 7vw, var(--text-8xl));
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
}


/* ─── 4. Layout Utilities ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-6);
}

@media (min-width: 768px) {
  .container { padding-inline: var(--sp-10); }
}

@media (min-width: 1200px) {
  .container { padding-inline: var(--sp-12); }
}

.section {
  padding-block: var(--sp-24);
}

.section--alt {
  background-color: var(--cream-dark);
}

.section--dark {
  background-color: var(--green);
  color: var(--cream);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4,
.section--dark .eyebrow {
  color: var(--cream);
}

.section--dark .eyebrow {
  opacity: 0.7;
}

.section--dark .lead,
.section--dark p {
  color: rgba(244, 239, 230, 0.8);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
}

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

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
}

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

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

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.text-center { text-align: center; }
.text-center p { margin-inline: auto; }


/* ─── 5. Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.875rem var(--sp-8);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--radius-sm);
  transition: all var(--t-base);
  white-space: nowrap;
}

.btn--primary {
  background-color: var(--gold);
  color: var(--white);
}

.btn--primary:hover {
  background-color: var(--gold-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn--outline {
  background-color: transparent;
  color: var(--green);
  border: 1.5px solid var(--green);
}

.btn--outline:hover {
  background-color: var(--green);
  color: var(--cream);
  transform: translateY(-2px);
}

.btn--ghost {
  background-color: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(244, 239, 230, 0.4);
}

.btn--ghost:hover {
  background-color: rgba(244, 239, 230, 0.12);
  border-color: rgba(244, 239, 230, 0.7);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green);
  transition: gap var(--t-fast), color var(--t-fast);
}

.btn-arrow:hover {
  gap: var(--sp-3);
  color: var(--green-hover);
}

.btn-arrow .arrow {
  display: inline-block;
  transition: transform var(--t-fast);
}

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


/* ─── 6. Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--sp-5) 0;
  transition: background-color var(--t-base), box-shadow var(--t-base), padding var(--t-base);
}

.nav.scrolled {
  background-color: rgba(244, 239, 230, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  padding: var(--sp-4) 0;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-8);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--ink);
  flex-shrink: 0;
}

.nav__logo span {
  color: var(--green);
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-8);
}

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

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--ink-muted);
  transition: color var(--t-fast);
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.nav__links a:hover,
.nav__links a.active {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

.nav__cta {
  display: none;
}

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

.nav__toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-2);
  background: none;
  border: none;
  cursor: pointer;
}

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

.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--ink);
  transition: transform var(--t-base), opacity var(--t-fast);
  transform-origin: center;
}

.nav__toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  display: none;
  flex-direction: column;
  gap: var(--sp-1);
  padding: var(--sp-4) 0 var(--sp-6);
  border-top: 1px solid var(--cream-border);
  margin-top: var(--sp-4);
}

.nav__mobile.open { display: flex; }

.nav__mobile a {
  padding: var(--sp-3) 0;
  font-size: var(--text-lg);
  font-family: var(--font-display);
  color: var(--ink);
  border-bottom: 1px solid var(--cream-border);
  transition: color var(--t-fast), padding-left var(--t-fast);
}

.nav__mobile a:last-child { border-bottom: none; }

.nav__mobile a:hover {
  color: var(--green);
  padding-left: var(--sp-2);
}


/* ─── 7. Hero ─────────────────────────────────────────────────── */
.hero {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 90px;
  padding-bottom: var(--sp-20);
  position: relative;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Decorative geometric lines */
.hero__bg::before {
  content: '';
  position: absolute;
  top: 15%;
  right: -5%;
  width: 55%;
  height: 70%;
  border: 1px solid rgba(43, 95, 62, 0.12);
  border-radius: var(--radius-lg);
  transform: rotate(6deg);
}

.hero__bg::after {
  content: '';
  position: absolute;
  top: 25%;
  right: 2%;
  width: 40%;
  height: 50%;
  border: 1px solid rgba(43, 95, 62, 0.08);
  border-radius: var(--radius-lg);
  transform: rotate(3deg);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: end;
}

@media (min-width: 900px) {
  .hero__content {
    grid-template-columns: 1fr 340px;
    gap: var(--sp-16);
  }
}

.hero__main .eyebrow {
  margin-bottom: var(--sp-6);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(var(--text-4xl), 6.5vw, var(--text-8xl));
  font-weight: 300;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: var(--sp-8);
}

.hero__headline em {
  font-style: italic;
  color: var(--green);
}

.hero__sub {
  font-size: var(--text-lg);
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 50ch;
  margin-bottom: var(--sp-10);
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
}

.hero__aside {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
}

.hero__stat {
  padding: var(--sp-6);
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--green);
}

.hero__stat-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--sp-1);
}

.hero__stat-label {
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

/* Scroll indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  color: var(--ink-muted);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero__scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--ink-muted), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.6); }
}


/* ─── 8. Services ─────────────────────────────────────────────── */
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: var(--sp-8);
  border: 1px solid var(--cream-border);
  transition: box-shadow var(--t-base), transform var(--t-base), border-color var(--t-base);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base);
}

.service-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
  border-color: rgba(43, 95, 62, 0.15);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__num {
  font-family: var(--font-display);
  font-size: var(--text-6xl);
  font-weight: 300;
  line-height: 1;
  color: var(--cream-dark);
  letter-spacing: -0.04em;
  margin-bottom: var(--sp-4);
  transition: color var(--t-base);
}

.service-card:hover .service-card__num {
  color: var(--green-pale);
}

.service-card__title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.service-card__desc {
  font-size: var(--text-base);
  color: var(--ink-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-6);
  flex: 1;
}

.service-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.service-card__list li {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.service-card__list li::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--green);
  flex-shrink: 0;
}


/* ─── 9. Value Section (Dark) ─────────────────────────────────── */
.value-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-top: var(--sp-16);
}

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

.value-item {
  padding: var(--sp-8);
  border: 1px solid rgba(244, 239, 230, 0.15);
  border-radius: var(--radius);
  transition: border-color var(--t-base), background var(--t-base);
}

.value-item:hover {
  border-color: rgba(244, 239, 230, 0.35);
  background: rgba(244, 239, 230, 0.05);
}

.value-item__icon {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-5);
  display: block;
}

.value-item__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--cream);
  margin-bottom: var(--sp-3);
  letter-spacing: -0.01em;
}

.value-item__desc {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: rgba(244, 239, 230, 0.72);
  max-width: none;
}


/* ─── 10. Process / Steps ─────────────────────────────────────── */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  counter-reset: step;
}

.process-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--sp-6);
  align-items: start;
  padding: var(--sp-8) 0;
  border-bottom: 1px solid var(--cream-border);
  counter-increment: step;
  transition: padding-left var(--t-base);
}

.process-item:first-child { border-top: 1px solid var(--cream-border); }

.process-item:hover {
  padding-left: var(--sp-3);
}

.process-item__num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 300;
  color: var(--cream-border);
  line-height: 1;
  padding-top: 4px;
  transition: color var(--t-base);
}

.process-item:hover .process-item__num {
  color: var(--green);
}

.process-item__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: var(--sp-2);
  letter-spacing: -0.01em;
}

.process-item__desc {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 55ch;
}


/* ─── 11. CTA Section ─────────────────────────────────────────── */
.cta-section {
  padding-block: var(--sp-24);
  background: var(--cream-dark);
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  max-width: 18ch;
  margin-inline: auto;
  margin-bottom: var(--sp-6);
}

.cta-section .lead {
  margin-inline: auto;
  margin-bottom: var(--sp-10);
}

.cta-section .btn-group {
  display: flex;
  gap: var(--sp-4);
  justify-content: center;
  flex-wrap: wrap;
}


/* ─── 12. Page Heroes ─────────────────────────────────────────── */
.page-hero {
  padding-top: 140px;
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid var(--cream-border);
}

.page-hero .eyebrow {
  margin-bottom: var(--sp-5);
}

.page-hero h1 {
  font-size: clamp(var(--text-4xl), 6vw, var(--text-7xl));
  font-weight: 300;
  max-width: 16ch;
  margin-bottom: var(--sp-6);
}

.page-hero .lead {
  max-width: 55ch;
}


/* ─── 13. Services Detail Page ────────────────────────────────── */
.service-detail {
  padding-block: var(--sp-20);
  border-bottom: 1px solid var(--cream-border);
}

.service-detail:last-of-type { border-bottom: none; }

.service-detail__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-12);
}

@media (min-width: 768px) {
  .service-detail__header {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: var(--sp-16);
  }
}

.service-detail__num {
  font-family: var(--font-display);
  font-size: 7rem;
  font-weight: 300;
  color: var(--cream-border);
  line-height: 1;
  letter-spacing: -0.04em;
}

.service-detail__title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
}

.service-detail__desc {
  font-size: var(--text-lg);
  color: var(--ink-muted);
  line-height: 1.75;
  max-width: 52ch;
}

.service-offerings {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 600px) {
  .service-offerings { grid-template-columns: 1fr 1fr; }
}

.offering-card {
  background: var(--white);
  border: 1px solid var(--cream-border);
  border-radius: var(--radius);
  padding: var(--sp-6);
  transition: box-shadow var(--t-base), border-color var(--t-base);
}

.offering-card:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(43, 95, 62, 0.2);
}

.offering-card__title {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-2);
}

.offering-card__desc {
  font-size: var(--text-sm);
  color: var(--ink-muted);
  line-height: 1.7;
  max-width: none;
}


/* ─── 14. About Page ──────────────────────────────────────────── */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 900px) {
  .about-split {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-20);
  }
}

.about-image {
  position: relative;
}

.about-image__placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--cream-dark);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: var(--text-sm);
  border: 2px dashed var(--cream-border);
}

.about-image__accent {
  position: absolute;
  bottom: -var(--sp-6);
  right: -var(--sp-6);
  width: 140px;
  height: 140px;
  background: var(--green);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--sp-4);
  box-shadow: var(--shadow);
}

.about-image__accent-num {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--cream);
  line-height: 1;
}

.about-image__accent-label {
  font-size: var(--text-xs);
  color: rgba(244, 239, 230, 0.8);
  line-height: 1.4;
  margin-top: var(--sp-1);
}

.about-content .eyebrow { margin-bottom: var(--sp-5); }
.about-content h2 { margin-bottom: var(--sp-6); }
.about-content p { margin-bottom: var(--sp-5); color: var(--ink-muted); }
.about-content p:last-of-type { margin-bottom: var(--sp-8); }

.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-top: var(--sp-12);
}

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

.value-card {
  text-align: center;
  padding: var(--sp-6) var(--sp-4);
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--cream-border);
  transition: box-shadow var(--t-base), transform var(--t-base);
}

.value-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.value-card__icon {
  font-size: 1.75rem;
  margin-bottom: var(--sp-3);
  display: block;
}

.value-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 600;
  letter-spacing: -0.01em;
}


/* ─── 15. Contact Form ────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-16);
  padding-block: var(--sp-20);
}

@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr 2fr;
    gap: var(--sp-20);
  }
}

.contact-info h3 {
  font-size: var(--text-2xl);
  margin-bottom: var(--sp-6);
}

.contact-info p {
  color: var(--ink-muted);
  font-size: var(--text-base);
  margin-bottom: var(--sp-8);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.contact-detail__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
}

.contact-detail__icon {
  font-size: 1.25rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.contact-detail__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: var(--sp-1);
}

.contact-detail__value {
  font-size: var(--text-base);
  color: var(--ink);
}

.contact-detail__value a:hover {
  color: var(--green);
  text-decoration: underline;
}

/* Form styles */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--sp-5);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.form-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: 0.875rem var(--sp-4);
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--cream-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  outline: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--ink-muted);
  opacity: 0.6;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(43, 95, 62, 0.12);
}

.form-textarea {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23766D63' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--sp-4) center;
  padding-right: var(--sp-10);
  cursor: pointer;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 600px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.form-submit {
  margin-top: var(--sp-3);
}

.form-success {
  display: none;
  background: var(--green-pale);
  border: 1px solid rgba(43, 95, 62, 0.2);
  border-radius: var(--radius);
  padding: var(--sp-6);
  text-align: center;
  color: var(--green);
}

.form-success.show { display: block; }


/* ─── 16. Footer ──────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding-top: var(--sp-16);
  padding-bottom: var(--sp-10);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-10);
  margin-bottom: var(--sp-12);
}

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

.footer__brand .nav__logo {
  color: var(--cream);
  font-size: var(--text-xl);
  display: inline-block;
  margin-bottom: var(--sp-4);
}

.footer__brand p {
  font-size: var(--text-sm);
  color: rgba(244, 239, 230, 0.6);
  line-height: 1.7;
  max-width: 30ch;
}

.footer__col-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 239, 230, 0.5);
  margin-bottom: var(--sp-5);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer__links a {
  font-size: var(--text-sm);
  color: rgba(244, 239, 230, 0.75);
  transition: color var(--t-fast);
}

.footer__links a:hover { color: var(--cream); }

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-top: var(--sp-6);
  border-top: 1px solid rgba(244, 239, 230, 0.1);
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(244, 239, 230, 0.4);
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  color: rgba(244, 239, 230, 0.4);
}

.footer__badge a {
  color: rgba(244, 239, 230, 0.6);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--t-fast);
}

.footer__badge a:hover { color: var(--cream); }


/* ─── 17. Scroll Animations ───────────────────────────────────── */
/*
  Progressive enhancement: animations only kick in when JS has run
  and added the .js-ready class to <body>. Without JS, all content
  is fully visible — no invisible sections.
*/
.js-ready .fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.js-ready .fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.js-ready .fade-up:nth-child(1) { transition-delay: 0ms; }
.js-ready .fade-up:nth-child(2) { transition-delay: 80ms; }
.js-ready .fade-up:nth-child(3) { transition-delay: 160ms; }
.js-ready .fade-up:nth-child(4) { transition-delay: 240ms; }


/* ─── 18. Divider ─────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--cream-border);
  margin-block: 0;
}

.section-header {
  margin-bottom: var(--sp-12);
}

.section-header .eyebrow { margin-bottom: var(--sp-4); }
.section-header h2 { margin-bottom: var(--sp-5); }
.section-header .lead { max-width: 55ch; }

.section-header--split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: end;
}

@media (min-width: 768px) {
  .section-header--split {
    grid-template-columns: 1fr auto;
    gap: var(--sp-10);
  }
}


/* ─── 19. Testimonial / Quote block ───────────────────────────── */
.quote-block {
  padding: var(--sp-10) var(--sp-8);
  background: var(--green-pale);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--green);
  position: relative;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  font-weight: 400;
  color: var(--green);
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.quote-block cite {
  display: block;
  margin-top: var(--sp-5);
  font-family: var(--font-body);
  font-style: normal;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-muted);
}


/* ─── 20. Utilities ───────────────────────────────────────────── */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.mt-4  { margin-top: var(--sp-4); }
.mt-6  { margin-top: var(--sp-6); }
.mt-8  { margin-top: var(--sp-8); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4  { margin-bottom: var(--sp-4); }
.mb-6  { margin-bottom: var(--sp-6); }
.mb-8  { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }
