:root {
  --peach-50: #fff7f2;
  --peach-100: #fff2ea;
  --peach-200: #fed7ba;
  --peach-300: #fdb49c;
  --coral: #f2948b;
  --coral-dark: #c8625a;
  --rose: #a65f57;
  --ink: #3d2b28;
  --muted: #6e5955;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(185, 114, 106, 0.14);
  --serif: "Cormorant Garamond", Cambria, Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
}

img, video, iframe { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--coral-dark); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 8px;
}
.skip-link:focus { top: 1rem; }

/* Placeholder text: easy to spot, replace before sharing */
mark.todo {
  background: #fff3b0;
  color: #6b5200;
  padding: 0 0.25em;
  border-radius: 4px;
  font-style: normal;
}
.placeholder {
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 220px;
  padding: 1rem;
  border: 2px dashed var(--peach-300);
  border-radius: var(--radius);
  background: repeating-linear-gradient(45deg, var(--peach-50), var(--peach-50) 12px, var(--peach-100) 12px, var(--peach-100) 24px);
  color: var(--rose);
  font-weight: 500;
  font-size: 0.95rem;
}
.placeholder--round { width: min(320px, 70vw); aspect-ratio: 1; min-height: 0; border-radius: 50%; }
.placeholder--video { aspect-ratio: 16 / 9; min-height: 0; margin-top: 1.25rem; }

/* ---------- NAV ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 247, 242, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled { box-shadow: 0 2px 18px rgba(185, 114, 106, 0.15); }
.nav__brand {
  font-family: var(--serif); font-size: 1.6rem; font-weight: 600;
  color: var(--coral-dark); text-decoration: none;
}
.nav__links { display: flex; align-items: center; gap: 1.4rem; }
.nav__links a {
  font-size: 0.92rem; font-weight: 500; text-decoration: none;
  color: var(--muted); position: relative; padding: 0.2rem 0;
}
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 2px; background: var(--coral);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.nav__links a:hover, .nav__links a.active { color: var(--coral-dark); }
.nav__links a:hover::after, .nav__links a.active::after { transform: scaleX(1); }
.nav__links .nav__cta {
  background: var(--coral-dark); color: #fff; padding: 0.45rem 1.1rem; border-radius: 999px;
}
.nav__links .nav__cta:hover { color: #fff; filter: brightness(1.08); }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 32px; height: 24px; flex-direction: column; justify-content: space-between;
}
.nav__toggle span { height: 3px; width: 100%; background: var(--coral-dark); border-radius: 3px; transition: transform 0.3s, opacity 0.3s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block; padding: 0.85rem 1.7rem; border-radius: 999px;
  font-weight: 600; text-decoration: none; transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--coral-dark); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: #b4544c; }
.btn--ghost { border: 2px solid var(--coral-dark); color: var(--coral-dark); }
.btn--ghost:hover { background: var(--coral-dark); color: #fff; }

/* ---------- HERO ---------- */
.hero {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 3rem);
  background:
    linear-gradient(rgba(255, 247, 242, 0.88), rgba(255, 247, 242, 0.95)),
    url("aesthetic beach pic.avif") center / cover no-repeat;
}
.hero__inner {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  animation: rise 0.9s ease-out both;
}
.hero__eyebrow {
  text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.8rem; font-weight: 600;
  color: var(--rose); margin-bottom: 0.5rem;
}
.hero__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1; color: var(--coral-dark);
  margin-bottom: 1rem;
}
.hero__tagline { font-size: clamp(1.05rem, 2vw, 1.25rem); font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.hero__tagline span { color: var(--coral); margin: 0 0.3rem; }
.hero__intro { color: var(--muted); max-width: 560px; margin-bottom: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.hero__photo { display: grid; place-items: center; }
.hero__photo img { width: min(320px, 70vw); aspect-ratio: 1; object-fit: cover; border-radius: 50%; box-shadow: var(--shadow); border: 6px solid #fff; }

/* ---------- STATS ---------- */
.stats {
  max-width: var(--max);
  margin: -2.5rem auto 0;
  position: relative;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  margin-inline: max(1rem, calc((100% - var(--max)) / 2));
}
.stat { padding: 1.5rem 1rem; text-align: center; }
.stat + .stat { border-left: 1px solid var(--peach-100); }
.stat__num { display: block; font-family: var(--serif); font-size: 2.4rem; font-weight: 600; color: var(--coral-dark); line-height: 1.1; }
.stat__label { font-size: 0.88rem; color: var(--muted); }

/* ---------- SECTIONS ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 5vw, 3rem); }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section--tint { background: linear-gradient(var(--peach-100), var(--peach-50)); }

.section__head { text-align: center; margin-bottom: 2.75rem; }
.section__kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.78rem; font-weight: 600; color: var(--rose);
}
.section__title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 5vw, 3.2rem); line-height: 1.15; color: var(--coral-dark);
}
.section__title::after {
  content: ""; display: block; width: 60px; height: 3px;
  margin: 0.7rem auto 0; background: var(--peach-300); border-radius: 3px;
}
.section__lead { max-width: 640px; margin: 1rem auto 0; color: var(--muted); font-size: 1.1rem; }

.subtitle { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; color: var(--rose); margin-bottom: 0.6rem; line-height: 1.25; }
p + p { margin-top: 1rem; }
.muted { color: var(--muted); font-size: 0.95rem; }

/* case study */
.case { display: grid; grid-template-columns: 1fr 1.3fr 1fr; gap: 1.5rem; }
.case__block { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow); }
.case__block h3 { font-family: var(--serif); font-size: 1.5rem; color: var(--coral-dark); margin-bottom: 0.6rem; }
.case__block p, .case__block li { font-size: 0.97rem; }
.case__block--result { background: var(--coral-dark); color: #fff; }
.case__block--result h3 { color: #fff; }
.impact { display: grid; gap: 1.1rem; }
.impact dt { font-family: var(--serif); font-size: 2rem; font-weight: 600; line-height: 1.1; }
.impact dd { font-size: 0.92rem; opacity: 0.9; }

.ticks { list-style: none; display: grid; gap: 0.55rem; margin-top: 0.75rem; }
.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--coral-dark); font-weight: 700; }

.photo-grid { margin-top: 2.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.25rem; }
.photo-grid img, .photo-grid .placeholder { width: 100%; aspect-ratio: 4 / 3; min-height: 0; object-fit: cover; border-radius: var(--radius); }
.photo-grid figcaption { font-size: 0.85rem; color: var(--muted); margin-top: 0.5rem; }

/* split */
.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: start; }
.photo { width: 100%; max-height: 420px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }

/* music & writing */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 1.75rem; }
.panel { background: var(--peach-50); border: 1px solid var(--peach-100); border-radius: var(--radius); padding: 2rem; }
.book-title { font-family: var(--serif); font-size: 1.6rem; font-style: italic; margin-bottom: 0.5rem; }
.excerpt {
  margin: 1.25rem 0; padding-left: 1rem; border-left: 3px solid var(--peach-300);
  font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--muted);
}

/* timeline */
.timeline { list-style: none; position: relative; max-width: 760px; padding-left: 1.75rem; }
.timeline::before { content: ""; position: absolute; left: 0.35rem; top: 0.5rem; bottom: 0.5rem; width: 2px; background: var(--peach-200); }
.timeline li { position: relative; padding-bottom: 1.75rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -1.75rem; top: 0.45rem;
  width: 0.85rem; height: 0.85rem; border-radius: 50%; background: var(--coral-dark); box-shadow: 0 0 0 4px var(--peach-100);
}
.timeline__date { display: block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--rose); }
.timeline strong { display: block; font-size: 1.08rem; }
.timeline p { color: var(--muted); font-size: 0.96rem; margin-top: 0.15rem; }
.timeline--compact li { padding-bottom: 1.25rem; }

/* about */
.about { max-width: 720px; text-align: center; }
.chips { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.5rem; }
.chips li { background: #fff; border: 1px solid var(--peach-200); padding: 0.45rem 1rem; border-radius: 999px; font-size: 0.95rem; }

/* ---------- FOOTER ---------- */
.footer { background: var(--peach-200); text-align: center; padding: 3rem 1rem 2rem; }
.footer__title { font-family: var(--serif); font-size: 2.2rem; color: var(--coral-dark); margin-bottom: 1.25rem; }
.footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; margin-bottom: 1.75rem; }
.footer__links a { text-decoration: none; font-weight: 500; border-bottom: 2px solid transparent; transition: border-color 0.2s; }
.footer__links a:hover { border-color: var(--coral-dark); }
.footer__copy { font-size: 0.85rem; color: var(--muted); }
.footer__copy a { color: var(--muted); }

/* ---------- ANIMATION ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--peach-50); box-shadow: 0 12px 20px rgba(185, 114, 106, 0.15);
    max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
  }
  .nav__links.open { max-height: 480px; }
  .nav__links a { padding: 0.9rem 1.5rem; border-top: 1px solid var(--peach-100); }
  .nav__links a::after { display: none; }
  .nav__links .nav__cta { margin: 0.75rem 1.5rem 1rem; text-align: center; }
  .case { grid-template-columns: 1fr 1fr; }
  .case__block:nth-child(2) { grid-column: span 2; order: 3; }
}

@media (max-width: 760px) {
  .hero__inner, .split, .duo, .case { grid-template-columns: 1fr; }
  .case__block:nth-child(2) { grid-column: auto; order: 0; }
  .hero__photo { order: -1; }
  .placeholder--round, .hero__photo img { width: min(200px, 55vw); }
  .stats { grid-template-columns: 1fr 1fr; margin-top: -1.5rem; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--peach-100); }
  .panel { padding: 1.5rem; }
}

/* ---------- PRINT (clean one-pager if someone prints it) ---------- */
@media print {
  .nav, .skip-link, .hero__actions, .placeholder, .footer__copy a { display: none !important; }
  .reveal { opacity: 1; transform: none; }
  .section, .hero { padding: 1.5rem 0; background: none; }
  .case__block--result { color: var(--ink); background: none; border: 1px solid #ccc; }
  .case__block--result h3 { color: var(--coral-dark); }
  a { text-decoration: none; }
}
