:root {
  --ink: #262323;
  --ink-soft: #4e4848;
  --paper: #f7f6ea;
  --white: #ffffff;
  --stone: #f0f0d8;
  --stone-deep: #e3e1c2;
  --line: #d9d5bd;
  --head-bg: #ddd5c6;
  --plum: #604848;
  --plum-deep: #463434;
  --plum-tint: #f3ece4;
  --rose: #F0D890;
  --ochre: #c9a548;
  --on-dark: #fbfaf0;
  --radius: 18px;
  --gutter: 20px;
  --font-head: "Petrona", Georgia, "Times New Roman", serif;
  --font-body: "Rethink Sans", "Segoe UI", Arial, sans-serif;
  --hair: #e8e1d8;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { overflow-x: hidden; max-width: 100%; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--plum); }
:focus-visible { outline: 3px solid var(--plum); outline-offset: 3px; }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 12px;
}
h2 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); }

.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.lead { max-width: 34em; margin: 0 0 36px; color: var(--ink-soft); font-size: 1.06rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 28px;
  font-weight: 600; font-size: .98rem; text-decoration: none;
  border-radius: 999px;
}
.btn-dark, .btn-head { color: var(--white); background: var(--plum); }
.btn-dark:hover, .btn-head:hover { background: var(--plum-deep); }
.btn-light { color: var(--plum-deep); background: var(--white); }
.btn-light:hover { background: var(--plum-tint); }
.btn-light:focus-visible { outline-color: var(--white); }

/* Top bar */
.topbar {
  margin: 0; padding: 9px var(--gutter);
  text-align: center; font-size: .86rem; line-height: 1.45;
  color: var(--white); background: var(--plum);
}
.topbar a { color: var(--white); font-weight: 600; }
.topbar a:focus-visible { outline-color: var(--white); }

/* Header: split links, centred logo, CTA far right, pale sub-row */
.site-head { position: static; background: var(--white); }
.head-main {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px;
  max-width: 1440px; margin: 0 auto; min-height: 76px; padding: 0 32px;
}
.head-left { display: flex; gap: 30px; }
.head-right { display: flex; align-items: center; justify-content: flex-end; gap: 30px; }
.head-left a, .head-link { font-weight: 500; font-size: 1rem; color: var(--ink); text-decoration: none; }
.head-left a:hover, .head-link:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 5px; }
.brand img { height: 46px; width: auto; }
.btn-head { min-height: 44px; padding: 0 22px; }
.head-sub {
  display: flex; justify-content: center; gap: 40px;
  padding: 10px var(--gutter);
  background: var(--plum-tint);
}
.head-sub a { font-size: .9rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.head-sub a:hover { color: var(--plum); text-decoration: underline; text-underline-offset: 4px; }

/* Hero */
.hero { position: relative; min-height: min(80vh, 760px); display: grid; place-items: end center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.hero::after { content: ""; position: absolute; inset: 0; background: rgba(38, 35, 35, .42); }
.hero-copy {
  position: relative; z-index: 1;
  max-width: 780px; padding: 0 var(--gutter) clamp(56px, 10vh, 110px);
  text-align: center; color: var(--white);
}
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.5rem); margin-bottom: 10px; text-wrap: balance; }
.hero-copy p { margin: 0 auto 26px; max-width: 30em; font-size: 1.1rem; }

/* Sections */
section[id] { scroll-margin-top: 12px; }
.routines, .goals, .areas, .progress, .closing, .faq { padding: clamp(72px, 10vw, 128px) 0; }

.routines-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.routines-grid img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: 6px; }
.filters { margin: 0; border-top: 1px solid var(--hair); }
.filters div { display: grid; grid-template-columns: 120px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--hair); }
.filters dt { font-weight: 600; }
.filters dd { margin: 0; color: var(--ink-soft); }

.goals { padding-top: 0; }
.goal-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.goal-row img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; margin-bottom: 14px; }
.goal-row strong { display: block; font-family: var(--font-head); font-weight: 600; font-size: 1.25rem; }
.goal-row span { font-size: .95rem; color: var(--ink-soft); }

.areas { background: var(--paper); }
.areas-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.areas-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.area-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.area-list li { padding: 8px 18px; border: 1px solid var(--plum); border-radius: 999px; font-weight: 500; color: var(--plum-deep); }

.time { padding: clamp(72px, 10vw, 128px) 0; }
.time-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.time-row li { padding: 28px 28px 0 0; }
.time-row li + li { padding-left: 28px; border-left: 1px solid var(--hair); }
.time-row b { font-family: var(--font-head); font-weight: 400; font-size: clamp(3.6rem, 7vw, 5.4rem); line-height: 1; color: var(--plum); }
.time-row span { margin-left: 6px; font-weight: 600; }
.time-row p { margin: 12px 0 0; color: var(--ink-soft); max-width: 22em; }

.progress { background: var(--plum-tint); }
.track { list-style: none; margin: 0 0 44px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: st; }
.track li { position: relative; padding-top: 34px; }
.track li::before { content: ""; position: absolute; top: 6px; left: 0; right: -32px; height: 2px; background: var(--line); }
.track li:last-child::before { right: 0; }
.track li::after { content: ""; position: absolute; top: 0; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--plum); }
.track strong { display: block; font-family: var(--font-head); font-size: 1.4rem; font-weight: 600; }
.track small { display: block; margin-bottom: 6px; font-size: .9rem; color: var(--ink-soft); }
.track p { margin: 0; max-width: 22em; }

.care { padding: clamp(56px, 8vw, 96px) 0; border-bottom: 1px solid var(--hair); }
.care-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 88px); align-items: start; }
.care-grid p { margin: 0; color: var(--ink-soft); max-width: 32em; }
.care-list { list-style: none; margin: 0; padding: 0; }
.care-list li { padding: 13px 0 13px 30px; border-bottom: 1px solid var(--hair); position: relative; }
.care-list li:first-child { border-top: 1px solid var(--hair); }
.care-list li::before { content: ""; position: absolute; left: 4px; top: 21px; width: 12px; height: 7px; border-left: 2px solid var(--plum); border-bottom: 2px solid var(--plum); transform: rotate(-45deg); }

.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.closing-grid img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 6px; }
.closing-grid p { color: var(--ink-soft); max-width: 30em; margin: 0 0 26px; }
.closing-grid .note { margin: 16px 0 0; font-size: .88rem; }

.faq { padding-top: 0; }
.faq-wrap { display: grid; grid-template-columns: 1fr 2fr; gap: clamp(28px, 6vw, 88px); }
.faq details { border-bottom: 1px solid var(--hair); }
.faq details:first-child { border-top: 1px solid var(--hair); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 600; font-size: 1.05rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--plum); line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 20px; color: var(--ink-soft); max-width: 40em; }

/* Footer */
.site-foot { background: var(--white); border-top: 1px solid var(--hair); padding: 52px 0 28px; }
.foot-grid { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; align-items: flex-start; }
.foot-brand { max-width: 360px; }
.foot-brand img { height: 42px; width: auto; margin-bottom: 14px; }
.foot-brand p { margin: 0; font-size: .92rem; color: var(--ink-soft); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 26px; }
.foot-nav a { font-size: .94rem; color: var(--ink); text-decoration: none; }
.foot-nav a:hover { color: var(--plum); text-decoration: underline; }
.copy { margin: 32px 0 0; text-align: center; font-size: .85rem; color: var(--ink-soft); }

@media (max-width: 960px) {
  .head-left, .head-link { display: none; }
  .head-main { grid-template-columns: auto 1fr; padding: 0 var(--gutter); min-height: 68px; }
  .routines-grid, .areas-grid, .care-grid, .closing-grid, .faq-wrap { grid-template-columns: 1fr; }
  .areas-grid img { order: -1; }
  .goal-row { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand img { height: 36px; }
  .btn-head { padding: 0 16px; min-height: 42px; font-size: .92rem; }
  .head-sub { gap: 26px; }
  .hero { min-height: 560px; }
  .hero-copy .btn { width: 100%; max-width: 320px; }
  .filters div { grid-template-columns: 1fr; gap: 2px; }
  .time-row, .track { grid-template-columns: 1fr; }
  .time-row li, .time-row li + li { padding: 22px 0; border-left: 0; border-bottom: 1px solid var(--hair); }
  .track { gap: 0; }
  .track li { padding: 0 0 26px 30px; }
  .track li::before { top: 0; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .track li:last-child::before { bottom: auto; height: 14px; }
  .track li::after { top: 4px; }
  .btn-dark { width: 100%; }
}

/* Homepage "From the blog" row (WordPress) */
.reads { padding: clamp(56px, 8vw, 88px) 0; background: var(--paper); }
.reads + .faq { padding-top: clamp(72px, 10vw, 128px); }
.reads-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.reads-head h2 { margin: 0; }
.reads-all { font-weight: 600; white-space: nowrap; }
.reads-row { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); }
.reads-row li + li { border-left: 1px solid var(--line); }
.reads-row a { display: flex; gap: 16px; align-items: flex-start; height: 100%; padding: 24px 24px 0 0; color: inherit; text-decoration: none; }
.reads-row li + li a { padding-left: 24px; }
.reads-fig { flex: none; width: 96px; }
.reads-fig img { width: 96px; height: 96px; object-fit: cover; border-radius: 50%; }
.reads-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.reads-tag { font-size: .76rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--plum); }
.reads-body strong { font-family: var(--font-head); font-weight: 600; font-size: 1.18rem; line-height: 1.22; }
.reads-row a:hover strong { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.reads-body small { font-size: .86rem; color: var(--ink-soft); }
@media (max-width: 900px) {
  .reads-row { grid-template-columns: 1fr; }
  .reads-row li + li { border-left: 0; border-top: 1px solid var(--line); }
  .reads-row a, .reads-row li + li a { padding: 20px 0; }
  .reads-fig, .reads-fig img { width: 72px; height: 72px; }
}
