:root {
  --sky: #bfe4f5;
  --wine: #711f45;
  --sun: #f6b81c;
  --milk: #fffdf7;
  --green: #2f7050;
  --ink: #18211d;
  --mist: #eaf4f5;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--milk); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; overflow-x: hidden; }
button, a { font: inherit; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 9px 14px; color: var(--milk); background: var(--wine); transform: translateY(-170%); }
.skip-link:focus { transform: translateY(0); }
.overline { margin: 0; color: var(--wine); font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.header { position: fixed; z-index: 50; inset: 0 0 auto; height: 68px; padding: 0 26px; display: grid; grid-template-columns: 1fr auto auto; gap: 34px; align-items: center; color: var(--wine); background: rgba(255,253,247,.9); border-bottom: 1px solid rgba(113,31,69,.22); backdrop-filter: blur(14px); }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; font-family: Georgia, "Times New Roman", serif; font-size: 1.2rem; font-weight: 700; }
.logo span { width: 36px; height: 36px; display: grid; place-items: center; color: var(--milk); background: var(--wine); border-radius: 50%; font-family: Arial, sans-serif; font-size: 1rem; }
.header > p { margin: 0; color: rgba(24,33,29,.55); font-size: .75rem; letter-spacing: .08em; }
.menu-button { padding: 8px 0; color: var(--wine); background: transparent; border: 0; border-bottom: 1px solid currentColor; cursor: pointer; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.menu { position: fixed; top: 68px; right: 20px; width: min(330px, calc(100% - 40px)); padding: 10px 20px; display: none; color: var(--milk); background: var(--wine); border-radius: 0 0 18px 18px; }
.menu.is-open { display: grid; }
.menu a { padding: 14px 0; display: flex; justify-content: space-between; text-decoration: none; border-bottom: 1px solid rgba(255,253,247,.25); }
.menu a:last-child { border-bottom: 0; }
.menu a::after { content: "↓"; }

.timer-screen { min-height: 100svh; padding-top: 68px; display: grid; grid-template-columns: 42% 58%; background: var(--sky); }
.timer-intro { padding: 7vw 5vw 5vw; display: flex; flex-direction: column; justify-content: center; }
.timer-intro h1 { margin: 45px 0; color: var(--wine); font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 7vw, 8.5rem); font-weight: 400; line-height: .83; letter-spacing: -.07em; }
.timer-intro h1 em { color: var(--green); font-style: italic; }
.timer-intro > p:last-child { max-width: 520px; margin: 0; font-size: 1.05rem; }
.timer-workspace { padding: 5vw; display: grid; grid-template-columns: minmax(300px, 1fr) .8fr; grid-template-rows: 1fr auto auto; gap: 30px 5vw; align-items: center; background: var(--milk); border-radius: 80px 0 0 80px; }
.dial { --progress: 0deg; position: relative; width: min(35vw, 480px); aspect-ratio: 1; display: grid; place-items: center; background: conic-gradient(var(--wine) var(--progress), rgba(113,31,69,.12) 0); border-radius: 50%; transform: rotate(-90deg); }
.dial::after { content: ""; position: absolute; inset: 15px; background: var(--milk); border-radius: 50%; }
.dial-inner { position: relative; z-index: 2; display: grid; justify-items: center; transform: rotate(90deg); }
.timer-value { color: var(--wine); font: 300 clamp(4rem, 8vw, 8.5rem)/1 "Courier New", monospace; letter-spacing: -.1em; }
.timer-state { margin-top: 12px; color: rgba(24,33,29,.6); font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; }
.current-step { align-self: center; }
.current-step > span { color: var(--wine); font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.current-step h2 { margin: 18px 0; color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.7rem, 4vw, 5.2rem); font-weight: 400; line-height: .93; letter-spacing: -.05em; }
.current-step p { max-width: 430px; margin: 0; color: rgba(24,33,29,.72); }
.timer-controls { grid-column: 1 / 3; display: flex; gap: 12px; }
.timer-controls button { padding: 14px 22px; border-radius: 999px; cursor: pointer; font-weight: 700; }
.primary-control { min-width: 200px; color: var(--milk); background: var(--wine); border: 1px solid var(--wine); }
.secondary-control { color: var(--wine); background: transparent; border: 1px solid rgba(113,31,69,.5); }
.secondary-control:disabled { opacity: .4; cursor: default; }
.minute-dots { grid-column: 1 / 3; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 8px; list-style: none; }
.minute-dots li { height: 32px; display: grid; place-items: center; color: rgba(113,31,69,.55); background: rgba(113,31,69,.08); border-radius: 999px; font-size: .7rem; }
.minute-dots li.is-current { color: var(--milk); background: var(--wine); }
.minute-dots li.is-done { color: var(--wine); background: var(--sun); }

.quiet-statement { min-height: 100vh; padding: 9vw 7vw; display: grid; grid-template-columns: 140px 1fr; grid-template-rows: 1fr auto; gap: 60px; color: var(--milk); background: var(--wine); }
.quiet-statement .overline { color: var(--sun); writing-mode: vertical-rl; transform: rotate(180deg); }
.quiet-statement h2 { max-width: 1200px; margin: 0; align-self: center; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 9vw, 11rem); font-weight: 400; line-height: .84; letter-spacing: -.075em; }
.quiet-statement h2 em { color: var(--sky); font-style: italic; }
.quiet-statement > p:last-child { grid-column: 2; max-width: 620px; margin: 0 0 0 auto; color: rgba(255,253,247,.72); font-size: 1.08rem; }

.garden-window { position: relative; min-height: 110vh; background: var(--green); }
.garden-window figure { position: absolute; inset: 0; margin: 0; }
.garden-window figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(24,33,29,.6), transparent 60%); }
.garden-window img { width: 100%; height: 100%; object-fit: cover; }
.garden-window figcaption { position: absolute; z-index: 2; left: 5vw; bottom: 4vw; color: var(--milk); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.garden-window blockquote { position: absolute; z-index: 3; top: 7vw; right: 6vw; width: min(620px, 70vw); margin: 0; padding: 30px 35px; color: var(--wine); background: rgba(255,253,247,.9); border-radius: 36px 36px 4px 36px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 4.3rem); line-height: 1.05; letter-spacing: -.04em; backdrop-filter: blur(8px); }

.minutes { display: grid; grid-template-columns: 40% 60%; background: var(--mist); }
.minutes > header { position: sticky; top: 68px; height: calc(100vh - 68px); padding: 7vw 5vw; display: flex; flex-direction: column; justify-content: space-between; background: var(--sun); border-radius: 0 60px 60px 0; }
.minutes > header h2 { margin: 0; color: var(--wine); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.8rem, 6.5vw, 7.5rem); font-weight: 400; line-height: .85; letter-spacing: -.065em; }
.minutes ol { margin: 0; padding: 0 5vw; list-style: none; }
.minutes li { min-height: 36vh; padding: 50px 0; display: grid; grid-template-columns: 85px 1fr; align-items: center; border-bottom: 1px solid rgba(24,33,29,.22); }
.minutes li b { color: var(--wine); font: 400 1rem/1 Georgia, serif; }
.minutes h3 { margin: 0 0 12px; color: var(--green); font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.5rem, 4.8vw, 5.7rem); font-weight: 400; line-height: .93; letter-spacing: -.05em; }
.minutes li p { max-width: 560px; margin: 0; color: rgba(24,33,29,.66); }

.single-note { min-height: 100vh; display: grid; grid-template-columns: 48% 52%; background: var(--milk); }
.single-note figure { min-width: 0; margin: 0; overflow: hidden; border-radius: 0 80px 80px 0; }
.single-note figure img { width: 100%; height: 100%; object-fit: cover; }
.single-note > div { padding: 8vw 6vw; display: flex; flex-direction: column; justify-content: center; }
.single-note h2 { margin: 50px 0 35px; color: var(--wine); font-family: Georgia, "Times New Roman", serif; font-size: clamp(3.3rem, 6vw, 7rem); font-weight: 400; line-height: .88; letter-spacing: -.065em; }
.single-note > div > p:not(.overline) { max-width: 620px; color: rgba(24,33,29,.72); }
.single-note a { width: fit-content; margin-top: 35px; padding: 13px 20px; color: var(--milk); background: var(--green); border-radius: 999px; text-decoration: none; font-weight: 700; }

.care { padding: 10vw 7vw; color: var(--milk); background: var(--green); }
.care .overline { color: var(--sun); }
.care h2 { max-width: 1150px; margin: 70px 0 50px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(4rem, 8.5vw, 10rem); font-weight: 400; line-height: .84; letter-spacing: -.075em; }
.care > p:last-child { max-width: 650px; margin: 0 0 0 auto; color: rgba(255,253,247,.72); }

.footer { padding: 46px 26px; display: grid; grid-template-columns: 1fr 1.5fr 1fr auto; gap: 4vw; align-items: start; color: var(--milk); background: var(--wine); }
.footer-logo { font-family: Georgia, "Times New Roman", serif; font-size: 1.15rem; }
.footer-logo b { display: inline-grid; place-items: center; width: 32px; height: 32px; margin-right: 7px; color: var(--wine); background: var(--sky); border-radius: 50%; font-family: Arial, sans-serif; }
.footer p { max-width: 480px; margin: 0; color: rgba(255,253,247,.58); font-size: .8rem; }
.footer nav { display: grid; gap: 9px; }
.footer button { padding: 0; width: fit-content; color: var(--milk); background: none; border: 0; border-bottom: 1px solid rgba(255,253,247,.38); cursor: pointer; text-align: left; font-size: .78rem; }
.footer small { color: rgba(255,253,247,.5); font-size: .68rem; }

.legal-dialog { width: min(760px, calc(100% - 28px)); max-height: 88vh; padding: 0; color: var(--ink); background: var(--milk); border: 0; border-radius: 28px; box-shadow: 0 30px 90px rgba(24,33,29,.35); }
.legal-dialog::backdrop { background: rgba(113,31,69,.72); backdrop-filter: blur(6px); }
.dialog-head { position: sticky; top: 0; z-index: 2; padding: 18px 22px; display: flex; justify-content: space-between; align-items: center; color: var(--milk); background: var(--wine); }
.dialog-head h2 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.1rem; font-weight: 400; }
.dialog-head button { width: 36px; height: 36px; color: var(--milk); background: transparent; border: 1px solid rgba(255,253,247,.6); border-radius: 50%; cursor: pointer; font-size: 1.4rem; line-height: 1; }
.dialog-body { padding: 30px 25px 42px; }
.dialog-body h3 { margin-top: 30px; color: var(--wine); font-size: 1rem; }

@media (max-width: 1000px) {
  .timer-screen { grid-template-columns: 1fr; }
  .timer-intro { min-height: 720px; }
  .timer-workspace { min-height: 760px; border-radius: 70px 70px 0 0; }
  .dial { width: min(55vw, 480px); }
  .quiet-statement { grid-template-columns: 80px 1fr; }
  .minutes { grid-template-columns: 1fr; }
  .minutes > header { position: relative; top: 0; height: 650px; border-radius: 0 0 60px 60px; }
  .single-note { grid-template-columns: 1fr; }
  .single-note figure { height: 90vw; border-radius: 0 0 70px 70px; }
  .footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .header { grid-template-columns: 1fr auto; padding-inline: 16px; }
  .header > p { display: none; }
  .timer-intro { min-height: 650px; padding: 60px 20px; }
  .timer-intro h1 { font-size: clamp(4rem, 20vw, 6rem); }
  .timer-workspace { min-height: 780px; padding: 70px 20px 35px; grid-template-columns: 1fr; grid-template-rows: auto auto auto auto; border-radius: 46px 46px 0 0; }
  .dial { width: min(85vw, 380px); justify-self: center; }
  .current-step { text-align: center; }
  .timer-controls, .minute-dots { grid-column: 1; }
  .timer-controls { justify-content: center; }
  .minute-dots { gap: 4px; }
  .minute-dots li { height: 26px; }
  .quiet-statement { min-height: 760px; padding: 70px 20px 45px; display: flex; flex-direction: column; }
  .quiet-statement .overline { writing-mode: initial; transform: none; }
  .quiet-statement h2 { margin: auto 0; font-size: 4rem; }
  .garden-window { min-height: 820px; }
  .garden-window blockquote { top: 30px; right: 20px; width: calc(100% - 40px); padding: 23px; font-size: 2.25rem; }
  .minutes > header { height: 560px; padding: 65px 20px 35px; }
  .minutes > header h2 { font-size: 3.7rem; }
  .minutes ol { padding-inline: 20px; }
  .minutes li { min-height: 300px; grid-template-columns: 45px 1fr; }
  .minutes h3 { font-size: 2.7rem; }
  .single-note figure { height: 125vw; }
  .single-note > div { padding: 75px 20px; }
  .single-note h2 { font-size: 3.55rem; }
  .care { padding: 80px 20px 60px; }
  .care h2 { font-size: 3.7rem; }
  .footer { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
