@font-face { font-family: "KFB Ink"; src: url("assets/fonts/InkFree.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "KFB Brush"; src: url("assets/fonts/BrushScriptMT.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "Roboto"; src: url("assets/fonts/Roboto-Variable.ttf") format("truetype"); font-style: normal; font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Roboto"; src: url("assets/fonts/Roboto-Italic-Variable.ttf") format("truetype"); font-style: italic; font-weight: 100 900; font-display: swap; }
:root {
  --navy: #252e4f;
  --ink: #252e4f;
  --coral: #e3a4a4;
  --peach: #f5dab6;
  --paper: #fbf2ef;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Roboto", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, input { font: inherit; }
.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;
}

.site-header {
  position: relative;
  z-index: 20;
  height: 94px;
  background: transparent;
}
.header-inner {
  width: min(1274px, calc(100% - 48px));
  height: 94px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}
.brand {
  width: 208px;
  height: 86px;
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-self: flex-start;
  padding-top: 14px;
  text-decoration: none;
  text-transform: uppercase;
}
.brand span { font-size: 28px; line-height: .95; font-weight: 900; letter-spacing: -1.1px; }
.brand strong {
  position: relative;
  margin-top: 1px;
  color: var(--coral);
  font: 400 46px/.82 "KFB Brush", cursive;
  letter-spacing: -.5px;
  transform: rotate(-4deg);
}
.brand strong::after { position: absolute; left: 42px; right: 2px; bottom: -8px; height: 3px; content: ""; border-radius: 50%; background: var(--coral); transform: rotate(-3deg); }
.main-nav {
  display: flex;
  align-items: center;
  gap: 38px;
  margin-left: 145px;
  white-space: nowrap;
}
.main-nav a {
  position: relative;
  padding: 37px 0 13px;
  font-size: 16px;
  line-height: 1;
  font-weight: 600;
  text-decoration: none;
}
.main-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  content: "";
  background: var(--coral);
  transform: scaleX(0);
  transition: transform .2s ease;
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--coral); }
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 29px;
  transform: translateX(37px);
}
.search-toggle {
  display: grid;
  width: 28px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}
.search-toggle svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.newsletter {
  width: 159px;
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  color: #fff;
  background: var(--coral);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .18s ease, background .18s ease;
}
.newsletter:hover { transform: translateY(-2px); background: #cf898b; }
.newsletter svg { width: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; }
.search-panel {
  position: absolute;
  right: max(24px, calc((100% - 1274px) / 2 - 37px));
  top: 79px;
  width: 360px;
  padding: 12px;
  display: flex;
  gap: 8px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(32, 23, 20, .15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: .2s ease;
}
.search-panel.open { opacity: 1; visibility: visible; transform: none; }
.search-panel input { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid #ddd3ce; border-radius: 7px; }
.search-panel button { border: 0; padding: 0 15px; border-radius: 7px; color: #fff; background: var(--coral); cursor: pointer; }
.menu-toggle { display: none; }

.hero { position: relative; height: 646px; overflow: visible; }
.hero-inner {
  position: relative;
  width: min(1274px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}
.hero-copy {
  position: relative;
  z-index: 3;
  width: 680px;
  padding-top: 67px;
}
.eyebrow {
  margin: 0 0 16px;
  color: var(--coral);
  font-size: 18px;
  line-height: 1.15;
  font-weight: 800;
  text-transform: uppercase;
}
.hero h1 {
  margin: 0;
  color: var(--ink);
  font-size: 58px;
  line-height: 1.01;
  letter-spacing: -1.8px;
  font-weight: 800;
}
.brush-line {
  width: 208px;
  height: 17px;
  display: block;
  margin: 4px 0 15px -27px;
  border-radius: 80% 15% 65% 20%;
  background: var(--coral);
  clip-path: polygon(0 55%, 21% 20%, 48% 0, 82% 2%, 100% 25%, 99% 73%, 72% 54%, 38% 56%, 8% 100%);
  transform: rotate(-2deg);
}
.intro {
  width: 610px;
  margin: 0;
  font-size: 21px;
  line-height: 1.36;
  letter-spacing: -.1px;
}
.intro strong { font-weight: 800; }
.hero-buttons { display: flex; gap: 20px; margin-top: 24px; }
.button {
  height: 59px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--coral);
  border-radius: 999px;
  color: var(--coral);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: .18s ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(232, 95, 114, .18); }
.button-primary { width: 272px; color: #fff; background: var(--coral); }
.button-primary span { margin-left: 12px; font-size: 26px; font-weight: 400; line-height: 0; }
.button-secondary { width: 240px; background: rgba(251, 249, 246, .7); }
.hero-art {
  position: absolute;
  z-index: auto;
  top: -40px;
  left: 640px;
  width: 752px;
  height: 556px;
}
.hero-paint {
  position: absolute;
  left: -41px;
  top: 152px;
  width: 660px;
  height: 470px;
  overflow: visible;
  opacity: .4;
  transform: rotate(-3deg);
}
.hero-woman {
  position: absolute;
  z-index: 6;
  left: -85px;
  bottom: -125px;
  width: 722px;
  height: auto;
}
.hero-art blockquote {
  position: absolute;
  z-index: 6;
  top: 102px;
  right: 110px;
  margin: 0;
  color: var(--navy);
  font: 700 28px/1.2 "KFB Ink", cursive;
  text-align: center;
  letter-spacing: .1px;
  -webkit-text-stroke: .25px currentColor;
  transform: rotate(-4deg);
}
.hero-art blockquote::after { display: block; width: 124px; height: 1px; margin: 7px auto 0; content: ""; background: currentColor; transform: rotate(-5deg); }
.quote-heart { position: absolute; z-index: 6; top: 298px; right: 175px; width: 45px; fill: none; stroke: var(--ink); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; transform: rotate(8deg); }
.hero-wave { position: absolute; z-index: 7; left: 0; right: 0; bottom: -1px; width: 100%; height: 105px; display: block; pointer-events: none; }

.benefits { position: relative; z-index: 7; height: 154px; background: transparent; }
.benefits-grid {
  position: relative;
  z-index: 7;
  width: min(1274px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 320px 316px 343px 1fr;
  gap: 0;
}
.benefits-grid article { display: flex; align-items: flex-start; gap: 21px; padding: 12px 0 0 27px; }
.benefit-icon { width: 61px; height: 61px; flex: 0 0 61px; fill: none; stroke: var(--coral); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.benefits-grid h2 { margin: 1px 0 6px; font-size: 17px; line-height: 1.15; text-transform: uppercase; }
.benefits-grid p { margin: 0; font-size: 17px; line-height: 1.46; }

.topics { padding: 8px 0 41px; }
.topics-grid {
  width: min(1290px, calc(100% - 48px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.topic-card {
  position: relative;
  height: 233px;
  overflow: hidden;
  border-radius: 15px;
  color: #fff;
  background-position: center;
  background-size: cover;
  text-decoration: none;
  isolation: isolate;
}
.topic-card::before { position: absolute; z-index: -1; inset: 0; content: ""; background: linear-gradient(90deg, rgba(20,14,12,.66), rgba(20,14,12,.16)); transition: background .25s ease; }
.topic-card::after { display: none; }
.topic-card-media { position: absolute; z-index: -2; inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); object-fit: cover; transition: transform .35s ease; }
.topic-card:hover .topic-card-media { transform: scale(1.06); }
.topic-card:hover::before { background: linear-gradient(90deg, rgba(227,164,164,.82), rgba(37,46,79,.18)); }
.topic-card.training, .topic-card.nutrition, .topic-card.lifestyle, .topic-card.checks { background-image: none; }
.topic-card > div { position: absolute; inset: 41px 27px 26px; }
.topic-card h2 { margin: 0 0 13px; font-size: 32px; line-height: 1; letter-spacing: -1.2px; }
.topic-card p { margin: 0; font-size: 18px; line-height: 1.4; }
.topic-card span { position: absolute; left: 0; bottom: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--coral); font-size: 26px; font-weight: 400; transition: transform .22s ease, background .22s ease; }
.topic-card:hover span { transform: translateX(6px); background: #fff; color: var(--coral); }
.topic-card:focus-visible { outline: 4px solid var(--coral); outline-offset: 4px; }

@media (min-width: 901px) {
  .topics-grid { transform: translateX(9px); }
}

@media (max-width: 1250px) {
  .main-nav { gap: 24px; margin-left: 65px; }
  .hero-art { left: 55%; }
  .newsletter { width: 52px; font-size: 0; }
  .newsletter svg { width: 22px; }
}

@media (min-width: 901px) and (max-width: 1500px) {
  .hero-art { left: auto; right: 0; transform: scale(.9); transform-origin: top right; }
}

@media (max-width: 900px) {
  .site-header, .header-inner { height: 78px; }
  .header-inner { width: calc(100% - 32px); }
  .brand { width: 168px; height: 70px; padding-top: 10px; }
  .brand span { font-size: 22px; }
  .brand strong { font-size: 38px; }
  .header-actions { margin-left: auto; gap: 8px; transform: none; }
  .menu-toggle {
    order: 4;
    width: 42px;
    height: 42px;
    margin-left: 5px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    cursor: pointer;
  }
  .menu-toggle span:not(.sr-only) { width: 22px; height: 2px; display: block; background: var(--ink); transition: .2s ease; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px 24px 20px;
    display: grid;
    gap: 0;
    background: #fff;
    box-shadow: 0 18px 30px rgba(30, 25, 20, .12);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: .2s ease;
  }
  .main-nav.open { visibility: visible; opacity: 1; transform: none; }
  .main-nav a { padding: 15px 0; }
  .main-nav a::after { right: auto; width: 80px; }
  .search-panel { top: 70px; right: 16px; width: min(360px, calc(100% - 32px)); }
  .hero { height: auto; overflow: visible; }
  .hero-wave { display: none; }
  .hero-inner { width: calc(100% - 40px); display: flex; flex-direction: column; }
  .hero-copy { width: 100%; padding-top: 46px; }
  .hero h1 { font-size: clamp(43px, 9vw, 60px); }
  .intro { width: 100%; font-size: 19px; }
  .hero-art { position: relative; top: auto; left: auto; width: calc(100% + 40px); height: auto; aspect-ratio: 752 / 556; margin: 24px 0 0 -20px; overflow: hidden; }
  .hero-paint { left: -5.3%; top: 8.3%; width: 93%; height: 104%; }
  .hero-woman { left: 4.5%; bottom: -13.5%; width: 78.5%; }
  .hero-art blockquote { top: 18%; right: 5%; font-size: clamp(15px, 3.8vw, 29px); }
  .hero-art blockquote::after { width: 65%; }
  .quote-heart { top: 55%; right: 13%; width: 5.6%; }
  .benefits { height: auto; overflow: visible; }
  .benefits-grid { width: calc(100% - 40px); margin: 24px auto 0; grid-template-columns: 1fr 1fr; gap: 12px; }
  .benefits-grid article { padding: 18px; gap: 13px; border-radius: 14px; background: #fff; box-shadow: 0 8px 24px rgba(26, 23, 20, .06); }
  .benefit-icon { width: 40px; height: 40px; flex-basis: 40px; }
  .benefits-grid h2 { margin: 0 0 6px; font-size: 16px; }
  .benefits-grid p { font-size: 15px; line-height: 1.35; }
  .topics { padding: 24px 20px 36px; }
  .topics-grid { width: 100%; grid-template-columns: 1fr 1fr; }
  .topic-card { height: 220px; }
}

@media (max-width: 570px) {
  .newsletter { display: none; }
  .hero-copy { padding-top: 33px; }
  .eyebrow { margin-bottom: 12px; font-size: 14px; }
  .hero h1 { font-size: 42px; line-height: 1.03; letter-spacing: -1.2px; }
  .hero h1 br { display: none; }
  .brush-line { width: 165px; height: 14px; margin: 4px 0 8px -18px; }
  .intro { font-size: 17px; line-height: 1.45; }
  .hero-buttons { flex-direction: column; gap: 11px; }
  .button, .button-primary, .button-secondary { width: 100%; height: 54px; }
  .benefits-grid, .topics-grid { grid-template-columns: 1fr; }
  .topic-card { height: 233px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
