/* A typographic scent score: three chapters, one fragrance, no portrait campaign. */
.note-story { --story-tone:#a7854f; --story-wash:#efe3cc; padding:78px var(--gutter) 48px; background:#f7f2e7; color:var(--teal); max-width:1800px; margin:auto; }
.note-story[data-act="heart"] { --story-tone:#b08943; --story-wash:#ecddbf; }
.note-story[data-act="base"] { --story-tone:#788268; --story-wash:#e3e8d8; }
.note-story-heading { display:flex; align-items:center; justify-content:space-between; gap:60px; margin-bottom:44px; }
.note-story-eyebrow { font:500 9px/1.5 var(--sans); letter-spacing:.17em; color:#85866e; }
.note-story-heading h2 { font:400 clamp(58px,5.6vw,90px)/.98 var(--serif); letter-spacing:-.03em; margin-top:20px; }
.note-story-intro { flex:0 0 330px; padding-right:20px; }
.note-story-intro p { font:400 12px/1.8 var(--sans); color:#70755f; }
.note-story-intro p+p { margin-top:11px; }
.note-story-link { display:inline-flex; align-items:center; gap:30px; border-bottom:1px solid #b7ad91; padding-bottom:7px; margin-top:24px; font:500 11px/1.4 var(--sans); }
.note-story-link .icon { width:20px; height:20px; }
.note-story-link:hover .icon,.note-story-footer a:hover .icon { transform:translateX(4px); }
.note-story-tabs { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px; margin-bottom:24px; }
.note-story-tabs button { display:flex; align-items:center; gap:17px; padding:15px 0 17px; text-align:left; border-bottom:1px solid #d8d4c4; position:relative; color:#8d8f7a; }
.note-story-tabs button:after { content:''; position:absolute; bottom:-1px; left:0; height:1px; width:100%; background:var(--teal); transform:scaleX(0); transform-origin:left; transition:transform 350ms ease; }
.note-story-tabs [aria-selected="true"] { color:var(--teal); }
.note-story-tabs [aria-selected="true"]:after { transform:scaleX(1); }
.note-story-tabs button>span { font:400 22px/1 var(--serif); color:var(--story-tone); }
.note-story-tabs strong { font:400 12px/1.4 var(--sans); }
.note-story-tabs i { margin-left:auto; opacity:0; transition:opacity 300ms ease; }
.note-story-tabs .icon { width:18px; height:18px; }
.note-story-tabs [aria-selected="true"] i { opacity:1; }
.note-story-canvas { position:relative; isolation:isolate; display:flex; align-items:center; justify-content:center; min-height:282px; overflow:clip; background:radial-gradient(ellipse at 50% 60%,var(--story-wash),#f7f2e7 70%); }
.note-story-character { position:absolute; top:26px; left:28px; color:var(--story-tone); font:500 8px/1.4 var(--sans); letter-spacing:.17em; }
.note-story-word { position:relative; z-index:1; font:400 clamp(85px,10vw,165px)/1 var(--serif); letter-spacing:-.04em; color:var(--teal); margin:0; animation:story-word-enter 550ms cubic-bezier(.22,.61,.36,1) both; }
.note-story-score { position:absolute; inset:0; width:100%; height:100%; overflow:visible; }
.note-story-washes { fill:none; stroke:var(--story-tone); stroke-width:29; opacity:.075; }
.note-story-ribbon { fill:none; stroke:url(#story-amber); stroke-width:2; opacity:.18; }
.note-story-ribbon.is-selected { stroke-width:3; opacity:.83; stroke-dasharray:1; animation:story-ribbon-enter 1100ms cubic-bezier(.22,.61,.36,1) both; }
.note-story[data-act="base"] .note-story-ribbon.is-selected { stroke:#718162; }
.note-story-canvas-foot { position:absolute; bottom:20px; right:28px; font:400 8px/1.4 var(--sans); color:#9a9783; }
.note-story-description { display:grid; grid-template-columns:1fr 1.3fr; gap:60px; align-items:start; margin-top:27px; padding:0 28px; }
.note-story-notes-label { font:500 8px/1.5 var(--sans); letter-spacing:.15em; color:#90927e; }
.note-story-notes { display:flex; flex-wrap:wrap; gap:10px; margin-top:12px; }
.note-story-notes>span { font:400 12px/1.4 var(--sans); color:#677259; border:1px solid #d6d6c3; border-radius:25px; padding:8px 14px; }
.note-story-description h4 { font:400 27px/1.2 var(--serif); margin:0 0 10px; }
.note-story-description p { font:400 12px/1.85 var(--sans); color:#757960; max-width:510px; }
.note-story-footer { display:flex; align-items:center; justify-content:space-between; gap:25px; margin-top:35px; padding-top:24px; border-top:1px solid #dcd8c8; }
.note-story-footer>span { font:400 8px/1.6 var(--sans); color:#989984; }
.note-story-footer a { display:inline-flex; align-items:center; gap:20px; font:500 11px/1.5 var(--sans); white-space:nowrap; }
.note-story-footer .icon { width:18px; height:18px; }
@keyframes story-word-enter { from { opacity:0; transform:translateY(13px); filter:blur(3px); } to { opacity:1; transform:none; filter:none; } }
@keyframes story-ribbon-enter { from { stroke-dashoffset:1; } to { stroke-dashoffset:0; } }
@media(max-width:900px) { .note-story { padding-top:58px; } .note-story-heading { gap:35px; } .note-story-intro { flex-basis:260px; } .note-story-heading h2 { font-size:62px; } .note-story-description { gap:35px; padding-inline:10px; } }
@media(max-width:650px) {
  .note-story { padding:46px 24px 32px; }
  .note-story-heading { display:block; margin-bottom:28px; }
  .note-story-heading h2 { font-size:58px; }
  .note-story-intro { padding:0; margin-top:24px; }
  .note-story-tabs { gap:15px; margin-bottom:12px; }
  .note-story-tabs button { gap:8px; align-items:center; }
  .note-story-tabs button>span { font-size:18px; }
  .note-story-tabs strong { font-size:10px; }
  .note-story-tabs i { display:none; }
  .note-story-canvas { min-height:215px; }
  .note-story-character { left:9px; top:15px; font-size:7px; }
  .note-story-word { font-size:clamp(60px,18vw,100px); }
  .note-story-canvas-foot { right:9px; bottom:15px; font-size:7px; }
  .note-story-description { grid-template-columns:1fr; gap:23px; padding:0 5px; }
  .note-story-description h4 { font-size:27px; }
  .note-story-footer { flex-direction:column; align-items:flex-start; gap:16px; }
}
html[data-motion="reduced"] .note-story-word,html[data-motion="reduced"] .note-story-ribbon { animation:none; }
html[data-motion="reduced"] .note-story-tabs button:after,html[data-motion="reduced"] .note-story-tabs i { transition:none; }
@media(prefers-reduced-motion:reduce) { .note-story-word,.note-story-ribbon { animation:none; } .note-story-tabs button:after,.note-story-tabs i { transition:none; } }
