:root {
  --brown-950: #12343b;
  --brown-900: #174a52;
  --brown-800: #1e6369;
  --brown-600: #3a8c8a;
  --cream: #f3f8f3;
  --cream-deep: #e0ece7;
  --paper: #fffdf4;
  --pink: #f4c542;
  --pink-bright: #ffd95c;
  --pink-soft: #bdebe4;
  --ink: #16363b;
  --muted: #587074;
  --line: rgba(18, 52, 59, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
.section-shell { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }

.site-header {
  background: rgba(243, 248, 243, .92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}
.nav-wrap { width: min(1280px, calc(100% - 48px)); margin: auto; height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: -.03em; color: var(--brown-950); }
.brand-mark { display: grid; place-items: center; width: 31px; height: 31px; background: var(--pink); color: var(--brown-950); border-radius: 50% 50% 50% 7px; font-size: 18px; transform: rotate(-10deg); }
.brand-mark::first-letter { transform: rotate(10deg); }
nav { display: flex; gap: 29px; color: var(--muted); font-size: .88rem; font-weight: 650; }
nav a { transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--pink); }

.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr); min-height: 555px; align-items: center; gap: 45px; padding-top: 53px; padding-bottom: 50px; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--pink); text-transform: uppercase; letter-spacing: .15em; font-size: .69rem; font-weight: 800; margin: 0 0 19px; }
.eyebrow span { display: inline-block; width: 25px; height: 3px; border-radius: 4px; background: var(--pink); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 22px; color: var(--brown-950); font-size: clamp(3.2rem, 6.2vw, 5.55rem); line-height: .98; letter-spacing: -.075em; font-weight: 800; }
h1 em { color: var(--pink); font-style: normal; }
.hero-intro { max-width: 560px; color: var(--muted); font-size: 1.08rem; line-height: 1.7; margin-bottom: 28px; }
.text-link { color: var(--brown-900); font-size: .94rem; font-weight: 800; border-bottom: 2px solid var(--pink); padding-bottom: 5px; display: inline-flex; gap: 12px; }
.text-link span { color: var(--pink); transition: transform .2s; }
.text-link:hover span { transform: translateY(3px); }
.hero-art { height: 420px; position: relative; display: grid; place-items: center; }
.sun-shape { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: var(--pink-soft); right: 12%; top: 5%; }
.sun-shape::after { content: ""; position: absolute; inset: 33px; border: 1px dashed rgba(30, 99, 105, .55); border-radius: inherit; }
.coffee-illustration { position: relative; z-index: 1; width: 320px; height: 320px; }
.cup-handle { position: absolute; z-index: 0; right: 34px; bottom: 91px; width: 67px; height: 76px; border: 8px solid var(--brown-950); border-left: 0; border-radius: 0 52% 52% 0; transform: rotate(-3deg); }
.cup-body { position: absolute; z-index: 1; left: 55px; bottom: 67px; width: 183px; height: 133px; border: 7px solid var(--brown-950); border-top: 0; border-radius: 18px 18px 55px 55px; background: var(--paper); box-shadow: 9px 11px 0 var(--brown-950); }
.coffee-surface { position: absolute; top: -17px; left: -7px; width: 183px; height: 39px; border: 7px solid var(--brown-950); border-radius: 50%; background: var(--brown-800); }
.coffee-surface::after { content: ""; position: absolute; inset: 6px 19px; border: 1px solid rgba(244, 197, 66, .55); border-radius: 50%; }
.cup-saucer { position: absolute; z-index: 2; left: 30px; bottom: 44px; width: 235px; height: 29px; border-radius: 50%; background: var(--brown-950); box-shadow: 0 7px 0 rgba(17, 17, 17, .12); }
.steam { position: absolute; z-index: 0; top: 42px; width: 18px; height: 67px; border-left: 4px solid var(--brown-800); border-radius: 50%; opacity: .75; }
.steam-one { left: 116px; transform: rotate(12deg); }.steam-two { left: 153px; top: 27px; transform: rotate(-8deg); }.steam-three { left: 188px; transform: rotate(13deg); }
.note-card { position: relative; width: min(350px, 77%); min-height: 300px; padding: 27px; border-radius: 8px 24px 8px 25px; background: var(--paper); box-shadow: 18px 19px 0 var(--brown-800), 0 25px 50px rgba(17, 17, 17, .13); transform: rotate(5deg); border: 1px solid rgba(17, 17, 17, .13); }
.note-card::before { content: ""; position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--pink); top: -7px; left: 48%; box-shadow: 0 0 0 5px var(--pink-soft); }
.note-top, .note-total { display: flex; justify-content: space-between; align-items: center; color: var(--brown-800); font-size: .68rem; font-weight: 800; letter-spacing: .15em; }
.note-dot { width: 21px; height: 21px; border-radius: 50%; border: 2px solid var(--pink); }
.note-line { height: 7px; background: var(--cream-deep); margin-top: 18px; border-radius: 20px; }
.note-line.wide { width: 70%; margin-top: 30px; background: var(--pink-soft); }
.note-line.medium { width: 47%; }
.note-chart { height: 95px; display: flex; align-items: end; gap: 12px; margin: 28px 3px 25px; border-bottom: 2px solid var(--cream-deep); }
.note-chart i { display: block; width: 22px; background: var(--pink); border-radius: 5px 5px 0 0; opacity: .83; }
.note-chart i:nth-child(2n) { background: var(--brown-600); }
.note-total { letter-spacing: 0; font-weight: 600; }
.note-total strong { color: var(--pink); letter-spacing: .15em; }
.sparkle { position: absolute; color: var(--pink); font-size: 2.1rem; }
.sparkle-one { top: 58px; left: 8%; }.sparkle-two { bottom: 42px; right: 8%; color: var(--brown-600); }

.notice { display: flex; align-items: flex-start; gap: 16px; padding: 22px 25px; border: 1px solid rgba(244,197,66,.62); background: rgba(189, 235, 228, .5); border-radius: 13px; margin-bottom: 122px; }
.notice-icon { flex: 0 0 auto; display: grid; place-items: center; width: 23px; height: 23px; color: var(--brown-950); background: var(--pink); border-radius: 50%; font-weight: 800; font-family: Georgia, serif; }
.notice strong { color: var(--brown-900); font-size: .89rem; }
.notice p { margin: 4px 0 0; color: var(--muted); font-size: .83rem; line-height: 1.6; }
.content-section { margin-bottom: 125px; }
.section-heading { max-width: 630px; margin-bottom: 45px; }
.section-heading h2, .method-heading h2, .glossary-section h2 { color: var(--brown-950); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.03; letter-spacing: -.06em; margin-bottom: 16px; }
.section-heading > p:last-child, .method-heading > p:last-child { color: var(--muted); font-size: 1rem; max-width: 520px; }
.fundament-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 17px; }
.topic-card { min-height: 320px; padding: 27px; border-radius: 16px; position: relative; overflow: hidden; }
.topic-card h3 { font-size: 1.35rem; color: var(--brown-950); letter-spacing: -.03em; margin-bottom: 10px; }
.topic-card > p { color: var(--muted); font-size: .92rem; max-width: 440px; }
.card-number { font-family: Georgia, serif; font-size: .89rem; font-weight: 700; margin-bottom: 45px; color: var(--pink); }
.card-brown { background: var(--brown-800); color: var(--cream); }.card-brown h3, .card-brown > p { color: var(--cream); }.card-brown > p { color: rgba(251, 243, 230, .72); }.card-brown .card-number { color: var(--pink-soft); }
.card-pink { background: var(--pink); color: var(--brown-950); }.card-pink h3, .card-pink > p { color: var(--brown-950); }.card-pink > p { color: rgba(18,52,59,.8); }.card-pink .card-number { color: var(--brown-900); }
.card-cream { background: var(--cream-deep); }.card-outline { background: var(--paper); border: 1px solid var(--line); }
details { border-top: 1px solid currentColor; margin-top: 25px; padding-top: 13px; font-size: .8rem; color: inherit; }
summary { cursor: pointer; font-weight: 800; list-style: none; display: flex; justify-content: space-between; gap: 15px; }
summary::after { content: "+"; font-size: 1rem; color: var(--pink); }.card-brown summary::after, .card-pink summary::after { color: var(--pink-soft); }
details[open] summary::after { content: "–"; }
details p { margin: 13px 0 0; opacity: .78; line-height: 1.6; }

.method-band { background: var(--brown-900); color: var(--cream); padding: 103px 0; margin-bottom: 125px; }
.method-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 115px; }
.eyebrow.light { color: var(--pink-soft); }.eyebrow.light span { background: var(--pink-soft); }
.method-heading h2 { color: var(--cream); }.method-heading > p:last-child { color: rgba(251,243,230,.7); }
.steps-list { list-style: none; margin: 3px 0 0; padding: 0; }
.steps-list li { display: grid; grid-template-columns: 43px 1fr; gap: 20px; padding: 0 0 26px; margin-bottom: 25px; border-bottom: 1px solid rgba(251,243,230,.18); }
.steps-list li:last-child { border-bottom: 0; margin-bottom: 0; }.steps-list li > span { width: 35px; height: 35px; display: grid; place-items: center; border: 1px solid var(--pink); color: var(--pink-soft); border-radius: 50%; font-family: Georgia, serif; font-weight: 700; }
.steps-list strong { display: block; font-size: 1.04rem; margin-bottom: 5px; }.steps-list p { margin: 0; color: rgba(251,243,230,.64); font-size: .88rem; }
.narrow-heading { max-width: 700px; }
.concept-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px; }
.concept-list article { border-top: 2px solid var(--pink); padding-top: 20px; }.concept-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 9px; color: var(--brown-950); background: var(--pink); font-size: 1.3rem; font-weight: 800; margin-bottom: 19px; }.concept-list h3 { color: var(--brown-900); font-size: 1.05rem; margin-bottom: 7px; }.concept-list p { color: var(--muted); font-size: .88rem; margin: 0; }
.glossary-section { border-top: 1px solid var(--line); padding-top: 75px; padding-bottom: 115px; display: grid; grid-template-columns: .75fr 1.25fr; gap: 60px; }.glossary-section h2 { font-size: 2.4rem; }.glossary-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 0 28px; }.glossary-grid > div { border-bottom: 1px solid var(--line); padding: 20px 0; }.glossary-grid dt { font-weight: 800; color: var(--brown-900); margin-bottom: 4px; }.glossary-grid dd { color: var(--muted); font-size: .85rem; margin: 0; }
.site-footer { background: var(--cream-deep); padding: 34px 0; }.footer-content { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; color: var(--brown-900); }.footer-brand { display: flex; align-items: center; gap: 10px; }.footer-brand .brand-mark { width: 25px; height: 25px; font-size: 14px; }.footer-content p { margin: 0 auto 0 20px; color: var(--muted); font-size: .82rem; }.footer-content small { color: var(--muted); font-size: .7rem; }

@media (max-width: 760px) {
  .section-shell, .nav-wrap { width: min(100% - 32px, 560px); }
  nav { gap: 13px; font-size: .74rem; } nav a:first-child { display: none; }
  .nav-wrap { height: 65px; }
  .hero { display: block; padding-top: 58px; min-height: auto; }.hero-copy { margin-bottom: 20px; } h1 { font-size: clamp(2.9rem, 15vw, 4.4rem); }.hero-intro { font-size: .98rem; }.hero-art { height: 330px; }.sun-shape { width: 270px; height: 270px; }.coffee-illustration { transform: scale(.82); }.note-card { min-height: 255px; width: 280px; padding: 23px; }.note-chart { height: 75px; }
  .notice { margin-bottom: 80px; padding: 18px; }.notice p { font-size: .78rem; }
  .content-section { margin-bottom: 82px; }.section-heading { margin-bottom: 30px; }.section-heading h2, .method-heading h2 { font-size: 2.4rem; }.fundament-grid, .concept-list, .method-layout, .glossary-section { grid-template-columns: 1fr; }.topic-card { min-height: auto; }.card-number { margin-bottom: 28px; }
  .method-band { padding: 72px 0; margin-bottom: 82px; }.method-layout { gap: 45px; }.steps-list li { gap: 13px; }.steps-list li > span { width: 32px; height: 32px; }
  .concept-list { gap: 26px; }.glossary-section { padding-top: 55px; padding-bottom: 75px; gap: 15px; }.glossary-grid { grid-template-columns: 1fr; }.footer-content p { margin-left: 0; width: 100%; order: 3; }
}
