:root {
  color-scheme: light;
  --bg: #ffffff;
  --soft: #f7f8fa;
  --ink: #0f172a;
  --muted: #5f6673;
  --line: #e5e7eb;
  --red: #e00000;
  --red-dark: #bc0000;
  --pink: #f8dddd;
  --black: #050505;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  line-height: 1.5;
  color: var(--ink);
  background: var(--bg);
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 5vw, 76px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

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

.brand-mark {
  width: 36px;
  height: 38px;
  display: block;
  object-fit: contain;
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 0.95;
  text-transform: uppercase;
}

.brand-name span:last-child {
  color: var(--red);
}

.brand-role {
  color: var(--muted);
  font-size: 12px;
  font-weight: 450;
  letter-spacing: 0.18em;
  line-height: 1;
  text-align: justify;
  text-align-last: justify;
  width: 100%;
}

body[data-page="dietitian"] .brand {
  gap: 0;
}

body[data-page="dietitian"] .brand-name {
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 0.9;
}

body[data-page="dietitian"] .brand-role {
  font-size: clamp(12px, 1vw, 14px);
}

body[data-page="dietitian"] .dietitian-header {
  align-items: center;
  display: grid;
  grid-template-columns: auto minmax(220px, max-content);
}

.header-locations {
  justify-self: end;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 19px);
  font-weight: 800;
  line-height: 1.25;
  text-align: right;
}

.location-line {
  display: inline;
}

.location-line + .location-line::before {
  content: ", ";
}

.location-line:last-child::before {
  content: " i ";
}

.mobile-break {
  display: inline;
}

.mobile-break::after {
  content: " ";
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--red);
}

.shell {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  min-height: 78vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.95fr);
  align-items: center;
  gap: clamp(34px, 7vw, 96px);
  padding: clamp(52px, 9vw, 118px) 0 70px;
}

.hero.centered {
  min-height: auto;
  grid-template-columns: 1fr;
  max-width: 980px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--red);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="dietitian"] .landing-hero .eyebrow {
  text-transform: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 26px;
  max-width: 930px;
  font-size: clamp(48px, 8vw, 112px);
  line-height: 0.92;
  letter-spacing: 0;
}

.home-title {
  text-transform: uppercase;
}

.display-line {
  display: block;
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-weight: 900;
  text-shadow: 0 8px 12px rgba(0, 0, 0, 0.18);
}

.display-line.red {
  color: var(--red);
}

.lead {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(20px, 2.4vw, 30px);
}

.lead strong {
  color: var(--ink);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero.centered .actions {
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid var(--red);
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform 0.18s ease,
    background 0.18s ease;
}

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

.btn.secondary {
  border-color: var(--ink);
  background: #fff;
  color: var(--ink);
}

.btn.full {
  width: 100%;
}

.hero-card {
  padding: clamp(26px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--soft);
}

.metric {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.metric:last-child {
  border-bottom: 0;
}

.metric strong {
  display: block;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 1;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

section {
  padding: clamp(62px, 9vw, 110px) 0;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.55fr);
  align-items: end;
  gap: 32px;
  margin-bottom: 34px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5.8vw, 84px);
  line-height: 0.98;
  letter-spacing: 0;
}

.section-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 19px;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  min-height: 100%;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.card.soft {
  background: var(--soft);
}

.card h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.08;
}

.card p,
.card li {
  color: var(--muted);
}

.card-copy {
  display: grid;
  gap: 12px;
}

.card-copy p {
  margin: 0;
}

.card ul {
  margin: 16px 0 0;
  padding-left: 18px;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filter {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.filter.active,
.filter:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.dietitian-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  padding: 0;
}

.portrait {
  min-height: 255px;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(circle at top right, rgba(224, 0, 0, 0.12), transparent 30%),
    var(--soft);
}

.portrait-inner {
  width: 150px;
  height: 150px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1px var(--line);
  color: var(--red);
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: 54px;
}

.portrait-image {
  width: min(100%, 230px);
  aspect-ratio: 1 / 1;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 34%;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.dietitian-content {
  padding: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 18px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.landing-hero {
  align-items: start;
  min-height: auto;
  padding-top: clamp(42px, 6vw, 82px);
  padding-bottom: clamp(52px, 7vw, 88px);
}

.landing-hero h1 {
  font-size: clamp(44px, 5.6vw, 74px);
  line-height: 0.96;
}

.landing-title span {
  display: block;
}

.landing-title span:last-child {
  margin-top: 10px;
  font-weight: 450;
  letter-spacing: 0;
}

.landing-hero .lead {
  font-size: clamp(18px, 1.8vw, 22px);
}

.hero-copy {
  display: grid;
  gap: 14px;
}

.hero-copy p {
  margin: 0;
}

.profile-panel {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(28px, 4vw, 44px);
  border-radius: 16px;
  background: var(--soft);
}

.profile-photo {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(224, 0, 0, 0.12), transparent 45%),
    #fff;
  box-shadow: inset 0 0 0 1px var(--line);
}

.profile-photo span {
  color: var(--red);
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(62px, 10vw, 110px);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 12px;
  object-fit: cover;
  object-position: center top;
}

.profile-meta {
  display: grid;
  gap: 10px;
}

.profile-meta strong {
  font-size: 26px;
}

.video-box {
  min-height: 430px;
  display: grid;
  place-items: center;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--black);
  color: #fff;
  text-align: center;
}

.play {
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--red);
  font-size: 32px;
}

.gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 42%);
  gap: 22px;
  overflow-x: auto;
  padding: 4px 2px 22px;
  scroll-snap-type: x mandatory;
}

.result-card {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 22px;
  border-radius: 12px;
  background: #090909;
  color: #fff;
  scroll-snap-align: start;
}

.result-card.image-card {
  min-height: auto;
  position: relative;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
}

.result-card.image-card img {
  width: 100%;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
}

.result-overlay {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.14);
}

.result-overlay span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.result-overlay strong {
  color: var(--red);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 950;
  line-height: 0.85;
}

.concept-hero {
  padding: clamp(54px, 8vw, 96px) 0 20px;
}

.concept-hero h1 {
  max-width: 900px;
  font-size: clamp(44px, 6vw, 88px);
}

.concept-section {
  padding: clamp(42px, 7vw, 82px) 0;
}

.concept-gallery {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(340px, 38%);
  gap: 24px;
  overflow-x: auto;
  padding: 4px 2px 24px;
  scroll-snap-type: x mandatory;
}

.concept-card {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  scroll-snap-align: start;
}

.concept-image-wrap {
  height: 100%;
}

.concept-card img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
}

.concept-meta {
  position: absolute;
  z-index: 1;
}

.concept-meta span,
.concept-meta strong {
  display: block;
}

.concept-editorial .concept-meta {
  right: 18px;
  bottom: 18px;
  left: 18px;
  padding: 18px;
  border-left: 7px solid var(--red);
  background: rgba(255, 255, 255, 0.96);
}

.concept-editorial .concept-meta span {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
}

.concept-editorial .concept-meta strong {
  margin-top: 6px;
  color: var(--red);
  font-family: Impact, "Arial Black", Inter, sans-serif;
  font-size: clamp(56px, 7vw, 86px);
  font-weight: 900;
  line-height: 0.88;
}

.concept-stamp {
  padding: 14px;
}

.concept-stamp img {
  border-radius: 6px;
}

.concept-stamp .concept-meta {
  top: 26px;
  right: 26px;
  width: 142px;
  height: 142px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 3px solid var(--red);
  border-radius: 50%;
  background: #fff;
  text-align: center;
  transform: rotate(5deg);
}

.concept-stamp .concept-meta span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  line-height: 1.1;
}

.concept-stamp .concept-meta strong {
  color: var(--red);
  font-size: 38px;
  font-weight: 950;
  line-height: 0.95;
}

.concept-split {
  display: grid;
  grid-template-rows: 1fr auto;
}

.concept-split .concept-image-wrap {
  height: auto;
}

.concept-split img {
  min-height: 440px;
}

.concept-split .concept-meta {
  position: static;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  background: var(--black);
  color: #fff;
}

.concept-split .concept-meta span {
  font-size: 20px;
  font-weight: 850;
}

.concept-split .concept-meta strong {
  padding: 8px 12px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-size: 34px;
  font-weight: 950;
  line-height: 1;
}

.message-bubble {
  padding: 16px;
  border-radius: 18px 18px 18px 4px;
  background: #2b2b2b;
  color: #f4f4f5;
  font-size: 18px;
  font-weight: 700;
}

.message-bubble.blue {
  align-self: flex-end;
  border-radius: 18px 18px 4px 18px;
  background: #2764ff;
}

.interviews {
  margin-top: clamp(34px, 5vw, 58px);
}

.interviews h3 {
  margin-bottom: 18px;
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: 1;
}

.interview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
  max-width: 860px;
}

.interview-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--black);
  box-shadow: var(--shadow);
}

.interview-card iframe {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0;
}

.price-panel {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 22px;
  align-items: stretch;
}

.price-badge,
.price-copy {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.price-badge {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: clamp(26px, 4vw, 42px);
  text-align: center;
}

.price-badge span {
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
}

.price-badge strong {
  color: var(--red);
  font-size: clamp(52px, 7vw, 92px);
  line-height: 0.95;
}

.price-copy {
  display: grid;
  gap: 14px;
  padding: clamp(24px, 4vw, 38px);
}

.price-copy p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 22px);
}

.case-study {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.cta-panel {
  padding: clamp(34px, 6vw, 72px);
  border-radius: 24px;
  background: var(--pink);
  text-align: center;
}

.cta-panel h2 {
  margin-bottom: 18px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.65fr) minmax(320px, 1fr);
  gap: 22px;
  margin-top: 32px;
  text-align: left;
}

.contact-card,
.form-card {
  padding: 26px;
  border-radius: 14px;
  background: #fff;
}

.form-intro {
  margin-bottom: 22px;
}

.form-intro h3 {
  margin-bottom: 8px;
  font-size: 26px;
  line-height: 1.05;
}

.form-intro p {
  margin-bottom: 0;
  color: var(--muted);
}

.field {
  display: grid;
  gap: 7px;
  margin-bottom: 14px;
}

label {
  font-size: 14px;
  font-weight: 900;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
}

textarea {
  min-height: 96px;
  resize: vertical;
}

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

.form-status {
  min-height: 22px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.form-status.success {
  color: #0f7a3a;
}

.form-status.error {
  color: var(--red);
}

button:disabled,
.btn:disabled {
  cursor: wait;
  opacity: 0.7;
}

.footer {
  padding: 40px 0 60px;
  color: var(--muted);
  font-size: 14px;
}

.footer .shell {
  display: grid;
  gap: 8px;
}

.footer p {
  margin: 0;
}

.hidden {
  display: none !important;
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .hero,
  .section-head,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="dietitian"] .section-head {
    justify-items: center;
    text-align: center;
  }

  .grid.three,
  .grid.two,
  .case-study,
  .price-panel {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-auto-columns: minmax(245px, 82%);
  }

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

@media (max-width: 560px) {
  .shell {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 16px 14px;
  }

  body[data-page="dietitian"] .site-header {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) max-content;
    justify-content: start;
  }

  body[data-page="dietitian"] .brand {
    justify-self: start;
    margin: 0;
  }

  .brand-name {
    font-size: 13px;
  }

  body[data-page="dietitian"] .brand-name {
    font-size: 28px;
  }

  body[data-page="dietitian"] .brand-role {
    font-size: 12px;
  }

  .header-locations {
    justify-self: end;
    margin-top: 2px;
    color: var(--red);
    font-size: 14px;
    line-height: 1.18;
    text-align: right;
  }

  .location-line {
    display: block;
  }

  .location-line + .location-line::before {
    content: "";
  }

  .location-line:last-child::before {
    content: "i ";
  }

  .mobile-break {
    display: block;
  }

  .mobile-break::after {
    content: "";
  }

  h1 {
    font-size: 46px;
  }

  .home-title {
    font-size: 44px;
  }

  .lead {
    font-size: 19px;
  }

  .actions,
  .btn {
    width: 100%;
  }

  .hero {
    padding-top: 42px;
  }

  .video-box {
    min-height: 300px;
  }

  .cta-panel {
    border-radius: 18px;
  }
}
