:root {
  --bg: #f3ede4;
  --bg-deep: #e8ddcd;
  --surface: rgba(255, 251, 245, 0.8);
  --surface-strong: #fffaf3;
  --surface-dark: #2d261d;
  --text: #1c1813;
  --muted: #6a6156;
  --line: rgba(40, 31, 21, 0.1);
  --line-strong: rgba(40, 31, 21, 0.18);
  --accent: #7d8b69;
  --accent-deep: #546247;
  --accent-soft: #dce2cf;
  --warm: #d7c1a1;
  --shadow-soft: 0 20px 45px rgba(62, 49, 34, 0.08);
  --shadow-strong: 0 34px 90px rgba(58, 47, 33, 0.14);
  --radius-lg: 38px;
  --radius-md: 28px;
  --radius-sm: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at 0% 0%, rgba(125, 139, 105, 0.18), transparent 26%),
    radial-gradient(circle at 100% 16%, rgba(215, 193, 161, 0.42), transparent 24%),
    linear-gradient(180deg, #fbf7f0 0%, var(--bg) 40%, var(--bg-deep) 100%);
}

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

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

.page-shell {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 8px;
}

.brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
}

.brand-mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  color: #fdf8f1;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  box-shadow: 0 16px 32px rgba(84, 98, 71, 0.2);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.88rem;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 600;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  background: var(--accent-deep);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav a:hover::after {
  transform: scaleX(1);
}

.section {
  padding: 64px 0;
}

.hero {
  min-height: min(calc(100svh - 96px), 760px);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(380px, 0.9fr);
  align-items: center;
  gap: 38px 44px;
  padding-top: 10px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-deep);
  font-size: 0.77rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 16ch;
  font-size: clamp(3.2rem, 4.9vw, 4.9rem);
}

h2 {
  max-width: none;
  font-size: clamp(2.35rem, 3.7vw, 3.5rem);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 620px;
}

.lede,
.intro-lede,
.section-description,
.intro-grid p,
.timeline-item p,
.service-card p,
.portrait-copy p,
.stat-card span,
.contact-pill,
.footer-note {
  color: var(--muted);
}

.lede {
  max-width: 52ch;
  margin: 18px 0 0;
  font-size: 0.96rem;
  line-height: 1.7;
}

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

.button-icon {
  display: inline-flex;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.button-icon svg {
  width: 100%;
  height: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.contact-pill:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fdf9f3;
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: 0 20px 40px rgba(84, 98, 71, 0.24);
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 251, 245, 0.58);
  backdrop-filter: blur(10px);
}

.hero-meta {
  margin-top: 50px;
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 10px 14px;
  border: 1px solid rgba(84, 98, 71, 0.16);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.76);
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.hero-panel {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portrait-card {
  width: min(500px, 100%);
  min-height: 540px;
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #242019 0%, #4d4436 36%, #d8c4a4 100%);
  box-shadow: var(--shadow-strong);
}

.portrait-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 250, 242, 0.2);
  border-radius: calc(var(--radius-lg) - 8px);
  z-index: 2;
}

.portrait-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 16, 12, 0.02) 0%, rgba(20, 16, 12, 0.12) 34%, rgba(20, 16, 12, 0.72) 100%);
  z-index: 1;
}

.portrait-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.portrait-glow {
  position: absolute;
  left: 26px;
  bottom: 88px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 219, 192, 0.92), rgba(233, 219, 192, 0));
  filter: blur(18px);
  z-index: 2;
}

.portrait-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 3;
  padding: 26px 28px;
  border-radius: 24px;
  background: rgba(255, 249, 240, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(16px);
  box-shadow: 0 12px 28px rgba(36, 30, 22, 0.12);
}

.mini-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--accent-deep);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.portrait-copy strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.45rem;
  letter-spacing: -0.03em;
}

.portrait-copy p {
  margin: 0;
  line-height: 1.72;
}

.intro-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: start;
  padding: 46px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(220, 226, 207, 0.75), transparent 26%),
    linear-gradient(145deg, rgba(255, 250, 243, 0.92), rgba(249, 241, 230, 0.82));
  box-shadow: var(--shadow-soft);
}

.about-shell {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1.32fr);
  gap: 40px 44px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top left, rgba(220, 226, 207, 0.58), transparent 24%),
    linear-gradient(145deg, rgba(255, 250, 243, 0.9), rgba(248, 239, 226, 0.82));
  box-shadow: var(--shadow-soft);
}

.about-media {
  position: relative;
}

.about-photo-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0.74), rgba(237, 226, 210, 0.54));
  box-shadow: 0 20px 48px rgba(58, 45, 31, 0.12);
}

.about-photo-frame::after {
  content: "";
  position: absolute;
  inset: auto 20px 20px 20px;
  height: 72px;
  border-radius: 28px;
  background: linear-gradient(180deg, transparent, rgba(20, 16, 11, 0.1));
  pointer-events: none;
}

.about-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.about-content {
  display: grid;
  gap: 0;
}

.about-copy {
  display: grid;
  gap: 18px;
  max-width: 760px;
}

.about-copy .eyebrow {
  margin-bottom: 0;
}

.about-copy h2 {
  max-width: none;
  line-height: 0.98;
}

.about-copy .section-description {
  max-width: none;
  line-height: 1.74;
}

.about-copy .section-description+.section-description {
  margin-top: 4px;
}

.intro-copy {
  padding-right: 18px;
}

.intro-lede {
  max-width: 52ch;
  margin: 18px 0 0;
  font-size: 0.98rem;
  line-height: 1.76;
}

.section-heading {
  display: grid;
  gap: 12px;
  margin-bottom: 34px;
}

.section-heading-wide {
  max-width: 1120px;
  width: 100%;
}

.section-description {
  max-width: 60ch;
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.72;
}

.method-shell {
  display: grid;
  gap: 72px;
}

.method-heading {
  width: 100%;
  max-width: none;
  margin-bottom: 0;
}

.method-heading h2 {
  max-width: none;
  width: 100%;
}

.method-description {
  max-width: 62ch;
  padding-bottom: 0;
}

.intro-grid,
.timeline,
.services-grid {
  display: grid;
  gap: 20px;
}

.intro-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  align-content: start;
}

.intro-grid article,
.timeline-item,
.service-card {
  position: relative;
  padding: 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.24));
  box-shadow: var(--shadow-soft);
}

.intro-grid article p,
.timeline-item p,
.service-card p {
  margin: 0;
  line-height: 1.7;
  font-size: 0.95rem;
}

.timeline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
  align-items: stretch;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 14%;
  right: 14%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(84, 98, 71, 0.35), transparent);
}

.timeline-item {
  min-height: 280px;
  padding-top: 80px;
}

.timeline-item span {
  position: absolute;
  top: 0;
  left: 28px;
  transform: translateY(-50%);
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--accent-soft), #eef2e4);
  color: var(--accent-deep);
  font-weight: 800;
  box-shadow: 0 14px 24px rgba(84, 98, 71, 0.12);
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  min-height: 220px;
  background:
    radial-gradient(circle at top right, rgba(220, 226, 207, 0.55), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.24));
}

.service-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--accent-light, #eaf0db), #f4f7ed);
  color: var(--accent-deep);
  margin-bottom: 20px;
  box-shadow: 0 10px 20px rgba(84, 98, 71, 0.08);
}

.service-icon svg {
  width: 24px;
  height: 24px;
  opacity: 0.9;
}

.highlight-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px 44px;
  padding: 38px 40px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at top right, rgba(220, 226, 207, 0.88), transparent 24%),
    linear-gradient(145deg, #fff9ef, #f1e6d5);
  box-shadow: var(--shadow-strong);
}

.highlight-copy {
  max-width: 700px;
}

.highlight-copy .eyebrow {
  margin-bottom: 14px;
}

.highlight-copy h2 {
  max-width: 24ch;
}

.highlight-copy .section-description {
  max-width: 54ch;
  margin-top: 16px;
}

.contact-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
}

.contact-pill {
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.74);
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 180ms ease, background 180ms ease;
}

.contact-pill-primary {
  color: #fdf9f3;
  border-color: rgba(84, 98, 71, 0.1);
  background: linear-gradient(145deg, var(--accent), var(--accent-deep));
  box-shadow: 0 18px 34px rgba(84, 98, 71, 0.22);
  min-width: 200px;
  justify-content: center;
}

.footer {
  position: relative;
  margin-top: 64px;
  padding: 52px 0 132px;
  border-top: 1px solid rgba(40, 31, 21, 0.1);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(84, 98, 71, 0.18), transparent);
}

.footer .eyebrow,
.footer h2,
.footer h3,
.footer-detail strong,
.footer-note,
.nutripages-credit,
.nutripages-credit span {
  color: var(--text);
}

.footer-detail p {
  color: var(--muted);
}

.footer-panel {
  margin-top: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.footer-panel__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 0;
}

.footer-detail {
  min-height: 100%;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.footer-detail--action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-detail__label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-deep);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-detail strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.footer-detail p {
  margin: 0 0 12px;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-detail p:last-of-type {
  margin-bottom: 0;
}

.footer-detail .contact-pill {
  margin-top: 16px;
  color: var(--accent-deep);
  border-color: rgba(84, 98, 71, 0.16);
  background: rgba(255, 251, 245, 0.78);
  padding-inline: 16px;
  box-shadow: none;
}

.footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(40, 31, 21, 0.1);
}

.footer-note {
  margin: 0;
  text-align: left;
  font-size: 0.92rem;
}

.nutripages-credit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  opacity: 0.74;
}

.nutripages-credit img {
  width: auto;
  height: 26px;
  filter: none;
}

.floating-contact {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  width: 100%;
  padding: 0 20px 16px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(18px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.floating-contact.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.floating-contact__inner {
  width: min(1220px, 100%);
  margin: 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 24px;
  background: rgba(28, 24, 19, 0.9);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 30px rgba(32, 24, 17, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px 20px;
}

.floating-contact__copy strong {
  display: block;
  color: #fffaf2;
  font-size: 0.98rem;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.floating-contact__copy p {
  margin: 6px 0 0;
  color: rgba(255, 250, 242, 0.76);
  font-size: 0.88rem;
  line-height: 1.45;
}

.floating-contact__button {
  min-width: 164px;
  min-height: 48px;
  flex: 0 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    min-height: auto;
    padding-top: 8px;
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-panel {
    min-height: auto;
  }

  .portrait-card {
    min-height: 460px;
  }

  .hero-meta {
    margin-top: 32px;
  }

  .intro-shell,
  .about-shell,
  .intro-grid,
  .timeline,
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-shell {
    grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
    padding: 34px;
  }

  .method-description {
    max-width: 60ch;
  }

  .intro-copy {
    grid-column: 1 / -1;
    padding-right: 0;
  }

  .about-copy {
    max-width: none;
  }

  .timeline::before {
    display: none;
  }

  .highlight-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer {
    padding: 48px 0 132px;
  }

  .footer::before {
    left: 0;
    right: 0;
  }

  .footer-panel {
    padding: 0;
  }

  .footer-panel__grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .contact-stack {
    justify-content: flex-start;
  }

  .footer-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .floating-contact__inner {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 24px, 1220px);
  }

  .topbar {
    display: none;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 0.8rem;
  }

  .brand-copy strong {
    font-size: 0.92rem;
  }

  .brand-copy small {
    font-size: 0.82rem;
  }

  .nav {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .nav a {
    font-size: 0.86rem;
  }

  .section {
    padding: 32px 0;
  }

  .hero {
    gap: 20px;
    min-height: auto;
  }

  h1 {
    max-width: none;
    font-size: clamp(2.3rem, 10vw, 3rem);
    line-height: 0.98;
  }

  h2 {
    max-width: none;
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .hero-actions .button {
    width: 100%;
  }

  .lede,
  .intro-lede,
  .section-description {
    font-size: 0.94rem;
    line-height: 1.68;
  }

  .hero-meta,
  .about-shell,
  .intro-shell,
  .intro-grid,
  .timeline,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .method-shell {
    gap: 48px;
  }

  .intro-shell,
  .about-shell,
  .highlight-panel {
    padding: 28px 22px;
  }

  .about-photo-frame {
    aspect-ratio: 4 / 5;
    border-radius: 28px;
  }

  .about-copy {
    gap: 16px;
  }

  .about-copy h2,
  .about-copy .section-description {
    max-width: none;
  }

  .highlight-copy h2,
  .highlight-copy .section-description {
    max-width: none;
  }

  .footer {
    margin-top: 40px;
    padding: 36px 0 132px;
  }

  .footer::before {
    left: 0;
    right: 0;
  }

  .footer-panel {
    padding: 0;
  }

  .footer-detail {
    padding: 0;
  }

  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-points {
    gap: 8px;
    margin-top: 0;
  }

  .hero-points li,
  .contact-pill {
    width: 100%;
    justify-content: center;
  }

  .hero-points li {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  /* Removed display: none for tags so all show up on mobile */

  .hero-panel {
    display: block;
    min-height: auto;
    order: -1;
    margin-bottom: 24px;
  }

  .portrait-card {
    width: 100%;
    min-height: 420px;
    border-radius: 28px;
  }

  .portrait-copy {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 16px 18px;
  }

  .portrait-glow {
    left: 12px;
    bottom: 58px;
    width: 140px;
    height: 140px;
  }

  .portrait-copy p {
    display: none;
  }

  .portrait-copy strong {
    font-size: 1.2rem;
    margin-bottom: 0;
  }

  .timeline-item {
    min-height: auto;
    padding-top: 70px;
  }

  .timeline-item span {
    left: 22px;
  }

  .service-card {
    min-height: auto;
  }

  .footer-note {
    text-align: center;
  }

  .footer-meta,
  .nutripages-credit {
    width: 100%;
    justify-content: center;
  }

  .floating-contact {
    padding: 0 12px 12px;
  }

  .floating-contact__inner {
    padding: 14px;
    border-radius: 22px;
    flex-direction: column;
    align-items: stretch;
  }

  .floating-contact__copy {
    text-align: center;
  }

  .floating-contact__button {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }
}