/* Drawn to Treasure: ivory paper, aubergine ink and a line drawn by hand. */
:root { --hand: "Caveat", "Segoe Print", cursive; }
.brand-hand { font: 500 1.65rem/1.15 var(--hand); letter-spacing: 0; }
.brand-kicker { display: block; margin: 0 0 22px; color: var(--aubergine); }
.brand-line { display: block; overflow: visible; pointer-events: none; color: var(--aubergine); }
.brand-line path { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.brand-line .line-echo { stroke-width: .9; opacity: .45; }
.home-refined .hero { gap: clamp(32px, 5vw, 72px); padding-block: 32px 64px; }
.home-refined .hero-copy h1 { font-size: clamp(3.8rem, 6vw, 5.4rem); line-height: .99; letter-spacing: -.035em; }
.home-refined .hero-copy h1 > span:first-child { position: relative; width: fit-content; margin-bottom: .25em; }
.hero-ink-line { position: absolute; left: 0; bottom: -.11em; width: 99%; height: .19em; color: var(--rose); }
.home-refined .hero-copy h1 > span:last-child { max-width: 9ch; }
.home-refined .hero-copy .intro { margin-top: 28px; }
.home-refined .hero-art { position: relative; border: 1px solid var(--line); }
.home-refined .drawing-note { position: relative; z-index: 1; border-bottom: 1px solid var(--rose); }
.home-refined .drawing-note span { font: 500 1.45rem/1.1 var(--hand); }
.home-refined .hero-figure figcaption { font-size: .75rem; max-width: 44ch; }
.home-refined #examples { position: relative; border-top: 0; padding-top: 56px; }
.section-ink-line { width: 100%; height: 34px; margin-bottom: 40px; color: var(--rose); }
.home-refined .split-heading h2 { font-size: clamp(2.65rem, 4.3vw, 3.9rem); letter-spacing: -.025em; }
.home-refined #home-pieces-title { max-width: 13ch; }
.home-refined .piece-grid-home { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 28px; align-items: stretch; }
.home-refined .piece-grid-home .piece-card { position: relative; min-width: 0; }
.home-refined .piece-grid-home .piece-card:first-child { grid-column: 1; grid-row: 1 / 3; display: flex; flex-direction: column; }
.home-refined .piece-grid-home .piece-card:first-child .piece-art { flex: 1; min-height: 390px; aspect-ratio: auto; }
.home-refined .piece-grid-home .piece-card:first-child .piece-art > img { width: 54%; max-height: 72%; }
.home-refined .piece-grid-home .piece-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.home-refined .piece-grid-home .piece-card:nth-child(3) { grid-column: 3; grid-row: 1; }
.home-refined .piece-grid-home .piece-card:nth-child(4) { grid-column: 2 / 4; grid-row: 2; }
.home-refined .piece-grid-home .piece-card:nth-child(4) .piece-art { aspect-ratio: 2.7; }
.home-refined .piece-grid-home .piece-card:nth-child(4) .piece-art > img { width: 22%; max-height: 70%; }
.home-refined .piece-grid-home .piece-info { padding-top: 12px; }
.home-refined .piece-grid-home .piece-card:first-child h3 { font-size: 2rem; }
.home-refined .piece-grid-home .piece-art::after { content: none; }
.home-refined .piece-grid-home .piece-art { outline: 1px solid transparent; outline-offset: -8px; transition: background-color 180ms ease, outline-color 180ms ease; }
.home-refined .occasions { margin-top: 8px; border-top: 0; background: #f3e9e7; }
.home-refined .occasion-visual { background: var(--ivory); }
.home-refined .occasion-copy h3 { font-size: clamp(2.1rem, 3.3vw, 2.85rem); }
.home-refined .occasion-caption { font: 500 1.5rem/1.2 var(--hand); }
.home-refined .journey-band { background: var(--aubergine); color: var(--ivory); padding-block: 80px; }
.home-refined .journey-band::before { opacity: .055; filter: brightness(0) invert(1); }
.home-refined .journey-band-layout { gap: clamp(32px, 6vw, 88px); align-items: center; }
.home-refined .journey-intro h2 { font-size: clamp(3.5rem, 5vw, 4.8rem); letter-spacing: -.035em; line-height: 1; }
.home-refined .journey-intro p { color: var(--blush); }
.home-refined .journey-intro .button { color: var(--ivory); }
.journey-hand { margin-bottom: 18px; color: #dfbdc7; }
.journey-ink-line { margin-top: 24px; width: min(240px, 75%); height: 44px; color: var(--rose); }
.home-refined .journey-preview.journey-accordion { gap: 0; border-top: 1px solid #806780; }
.home-refined .journey-accordion details { background: transparent; border: 0; border-bottom: 1px solid #806780; }
.home-refined .journey-accordion summary { grid-template-columns: 64px minmax(0, 1fr) 20px; gap: 20px; min-height: 112px; padding: 20px 0; color: var(--ivory); }
.home-refined .journey-step-number { color: #dfbdc7; font: 500 3.6rem/1 var(--heading); letter-spacing: -.045em; }
.home-refined .journey-step-title { font-size: clamp(1.6rem, 2.2vw, 2rem); }
.home-refined .journey-step-toggle::before, .home-refined .journey-step-toggle::after { background: var(--ivory); }
.home-refined .journey-accordion .journey-step-copy { padding: 0 40px 26px 84px; color: var(--blush); }
.home-refined .journey-band :focus-visible { outline-color: var(--ivory); }
.home-refined .home-story-link { padding-block: 72px; }
.home-refined .home-story-link h2 { font-size: clamp(2.8rem, 4.6vw, 4rem); letter-spacing: -.03em; }
.home-refined .signature-close { background: var(--ivory); color: var(--aubergine); padding-top: 0; }
.home-refined .signature-close::before { display: none; }
.signature-thread { width: 100%; height: 80px; margin-bottom: 36px; color: var(--rose); }
.home-refined .signature-close h2 { font-size: clamp(3rem, 4.7vw, 4.25rem); letter-spacing: -.03em; }
.home-refined .signature-close p { color: var(--plum); }
.home-refined .signature-close .button { background: var(--aubergine); border-color: var(--aubergine); color: var(--ivory); }
.home-refined .signature-close :focus-visible { outline-color: var(--aubergine); }
/* A repeatable ink mark, with the same keyboard and touch feedback. */
.button { position: relative; isolation: isolate; transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease; }
.button:not(.button-quiet)::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 7px; height: 4px; background: currentColor; opacity: .5; clip-path: polygon(0 60%, 20% 5%, 43% 40%, 68% 0, 100% 25%, 100% 65%, 70% 48%, 44% 92%, 20% 56%, 0 100%); transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; pointer-events: none; }
.button:focus-visible::after, .button:active::after { transform: scaleX(1); }
.button:active { box-shadow: inset 0 0 0 2px var(--rose); }
.home-refined .journey-intro .button::after, .home-refined .occasion-copy .button::after { left: 0; right: 0; bottom: 4px; }
.home-refined .journey-intro .button:active { background: #543b56; color: var(--ivory); }
.phone-navigation a[href="/start/"] { border-top: 2px solid var(--rose); }
@media (hover: hover) {
  .button:hover::after { transform: scaleX(1); }
  .button:not(.button-outline):not(.button-quiet):hover { background: #684459; border-color: #684459; color: var(--ivory); }
  .button-outline:hover { background: var(--blush); color: var(--aubergine); border-color: var(--rose); }
  .home-refined .journey-intro .button:hover { background: transparent; color: var(--ivory); }
  .home-refined .journey-accordion summary:hover { background: #ffffff08; }
  .home-refined .piece-grid-home .piece-card:hover .piece-art { outline-color: var(--rose); }
}
/* Static is the baseline: only decorative strokes animate, never the content. */
@media (prefers-reduced-motion: no-preference) {
  .brand-motion-ready .brand-line[data-ink] path { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1100ms cubic-bezier(.22,1,.36,1); }
  .brand-motion-ready .brand-line[data-ink].is-inked path { stroke-dashoffset: 0; }
  .brand-motion-ready .brand-line[data-ink] .line-echo { transition-delay: 180ms; }
}
@media (max-width: 980px) and (min-width: 761px) {
  .home-refined .hero-copy h1 { font-size: clamp(3.2rem, 6vw, 4.5rem); }
  .home-refined .piece-grid-home { gap: 20px; }
  .home-refined .piece-grid-home .piece-card:first-child .piece-art { min-height: 300px; }
}
@media (max-width: 760px) {
  .brand-kicker { font-size: 1.5rem; margin-bottom: 18px; }
  .home-refined .hero { padding-block: 20px 36px; gap: 32px; }
  .home-refined .hero-copy h1 { font-size: clamp(3.4rem, 12.2vw, 4.7rem); line-height: 1.02; }
  .home-refined .hero-copy h1 > span:last-child { max-width: none; }
  .home-refined .hero-copy .intro { margin-top: 22px; font-size: 1rem; }
  .home-refined .hero-actions { margin-top: 24px; }
  .home-refined .hero-art { aspect-ratio: 1.4; }
  .home-refined #examples { padding-top: 20px; }
  .section-ink-line { height: 20px; margin-bottom: 28px; }
  .home-refined .split-heading h2 { font-size: clamp(2.5rem, 9.5vw, 3.25rem); }
  .home-refined .piece-grid-home { grid-template-columns: minmax(0,1fr); gap: 22px; }
  .home-refined .piece-grid-home .piece-card:first-child { grid-area: auto; display: block; }
  .home-refined .piece-grid-home .piece-card:first-child .piece-art { min-height: 0; aspect-ratio: 1.45; }
  .home-refined .piece-grid-home .piece-card:first-child .piece-art > img { width: 37%; max-height: 78%; }
  .home-refined .piece-grid-home .piece-card:not(:first-child) { display: grid; grid-template-columns: 100px minmax(0,1fr); gap: 22px; align-items: center; grid-area: auto; padding-top: 18px; border-top: 1px solid var(--line); }
  .home-refined .piece-grid-home .piece-card:not(:first-child) .piece-art { aspect-ratio: 1; min-height: 100px; }
  .home-refined .piece-grid-home .piece-card:not(:first-child) .piece-info { padding: 0; }
  .home-refined .piece-grid-home .piece-card:nth-child(4) .piece-art > img { width: 48%; }
  .home-refined .piece-grid-home h3 { font-size: 1.75rem; }
  .home-refined .piece-grid-home .piece-card:first-child h3 { font-size: 1.875rem; }
  .home-refined .occasions { margin-top: 0; }
  .home-refined .occasion-copy h3 { font-size: 2.125rem; }
  .home-refined .journey-band { padding-block: 48px; }
  .home-refined .journey-band-layout { gap: 32px; }
  .home-refined .journey-intro h2 { font-size: 3.5rem; }
  .journey-hand { font-size: 1.5rem; margin-bottom: 14px; }
  .journey-ink-line { width: 170px; height: 32px; margin-top: 16px; }
  .home-refined .journey-accordion summary { grid-template-columns: 46px minmax(0,1fr) 16px; gap: 16px; min-height: 96px; padding-block: 18px; }
  .home-refined .journey-step-number { font-size: 2.8rem; }
  .home-refined .journey-step-title { font-size: 1.6rem; }
  .home-refined .journey-accordion .journey-step-copy { padding: 0 24px 24px 62px; font-size: .9375rem; }
  .home-refined .home-story-link { padding-block: 48px; }
  .home-refined .home-story-link h2 { font-size: 2.75rem; }
  .signature-thread { height: 54px; margin-bottom: 28px; }
  .home-refined .signature-close h2 { font-size: clamp(2.75rem, 10vw, 3.5rem); }
}
@media (prefers-reduced-motion: reduce) {
  .brand-line path { stroke-dasharray: none; stroke-dashoffset: 0; transition: none; }
  .button, .button::after, .home-refined .piece-grid-home .piece-art { transition: none; }
}
