/* Shared styles preserve Material's document, search and navigation behavior. */
:root {
  --md-text-font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", sans-serif;
  --md-code-font: "SFMono-Regular", Consolas, monospace;
  --site-bg: #fff;
  --site-surface: #f5f5f7;
  --site-ink: #1d1d1f;
  --site-muted: #6e6e73;
  --site-line: #d9d9de;
  --site-blue: #0066cc;
  --site-header: rgba(255, 255, 255, .84);
  --md-default-bg-color: var(--site-bg);
  --md-default-fg-color: var(--site-ink);
  --md-default-fg-color--light: var(--site-muted);
  --md-primary-fg-color: var(--site-bg);
  --md-primary-bg-color: var(--site-ink);
  --md-accent-fg-color: var(--site-blue);
  --md-typeset-a-color: var(--site-blue);
}
[data-md-color-scheme="slate"] {
  --site-bg: #101012;
  --site-surface: #1c1c1f;
  --site-ink: #f5f5f7;
  --site-muted: #a1a1a6;
  --site-line: #38383c;
  --site-blue: #5aafff;
  --site-header: rgba(16, 16, 18, .86);
  --md-default-bg-color: var(--site-bg);
  --md-default-fg-color: var(--site-ink);
  --md-default-fg-color--light: var(--site-muted);
  --md-primary-fg-color: var(--site-bg);
  --md-primary-bg-color: var(--site-ink);
  --md-typeset-a-color: var(--site-blue);
}
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { -webkit-font-smoothing: antialiased; }
a, button, input { -webkit-tap-highlight-color: transparent; }
:where(a, button, input, label[tabindex]):focus-visible { outline: 3px solid var(--site-blue); outline-offset: 5px; }
[hidden] { display: none !important; }
.site-header { background: var(--site-header); color: var(--site-ink); box-shadow: none; border-bottom: 1px solid var(--site-line); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.site-header .md-header__inner { position: relative; height: 64px; max-width: 1160px; padding: 0 24px; gap: 2rem; }
.site-brand { flex: 0 0 auto; color: var(--site-ink); font-size: 1.5rem; line-height: 1; font-weight: 750; letter-spacing: -.09em; }
.site-brand span { color: var(--site-blue); }
.site-links { display: flex; align-items: center; justify-content: center; gap: 2.3rem; margin: 0 auto; }
.site-links a { font-size: .7rem; font-weight: 500; white-space: nowrap; }
.site-links a:hover, .site-footer a:hover { color: var(--site-blue); }
.site-tools { display: flex; align-items: center; }
.site-header .md-header__button { color: var(--site-ink); width: 40px; height: 44px; padding: 10px; margin: 0; }
.site-header .md-header__button svg { width: 20px; height: 20px; }
.site-header .site-menu-button { display: none; }
.scroll-progress { position: absolute; height: 2px; width: 100%; bottom: -1px; background: var(--site-blue); transform: scaleX(var(--scroll-progress, 0)); transform-origin: left; pointer-events: none; }
.site-mobile-menu { padding: 1rem 1.5rem 1.5rem; border-top: 1px solid var(--site-line); max-height: calc(100dvh - 64px); overflow-y: auto; background: var(--site-bg); }
.site-mobile-menu a, .site-mobile-menu button { display: block; width: 100%; text-align: left; padding: .55rem 0; color: var(--site-ink); font-size: .85rem; }
.site-mobile-menu a:hover, .site-mobile-menu button:hover { color: var(--site-blue); }

/* The search worker and keyboard navigation stay with Material; this panel
   overrides its compact header layout at every breakpoint. */
#site-search { position: fixed; inset: 0; width: 100%; height: 100dvh; padding: 0; z-index: 10; visibility: hidden; pointer-events: none; }
#site-search *, #site-search *::before, #site-search *::after { box-sizing: border-box; }
#site-search .md-search__overlay { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; background: rgba(15, 15, 20, .3); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transform: none; opacity: 0; transition: opacity .18s ease; pointer-events: auto; }
#site-search .md-search__inner { position: absolute; inset: clamp(84px, 12vh, 136px) auto auto 50%; float: none; display: flex; flex-direction: column; width: min(720px, calc(100% - 48px)); height: auto; max-height: calc(100dvh - clamp(84px, 12vh, 136px) - 32px); padding: 0; overflow: hidden; background: var(--site-bg); border: 1px solid var(--site-line); border-radius: 24px; box-shadow: 0 24px 80px #0003; color: var(--site-ink); opacity: 0; transform: translate(-50%, -10px); transition: opacity .18s ease, transform .22s ease; }
[data-md-toggle="search"]:checked ~ .site-header #site-search { visibility: visible; pointer-events: auto; }
[data-md-toggle="search"]:checked ~ .site-header #site-search .md-search__overlay { opacity: 1; }
[data-md-toggle="search"]:checked ~ .site-header #site-search .md-search__inner { opacity: 1; transform: translate(-50%, 0); }
.site-search__heading { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 24px 0; }
.site-search__eyebrow { margin: 0 0 6px; font-size: 14px; color: var(--site-muted); }
.site-search__heading h2 { margin: 0; font-size: 24px; font-weight: 650; letter-spacing: -.04em; line-height: 1.4; }
.site-search__close { display: grid; place-items: center; flex: 0 0 40px; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: var(--site-surface); color: var(--site-muted); cursor: pointer; }
.site-search__close:hover { color: var(--site-ink); }
.site-search__close svg { width: 20px; height: 20px; }
#site-search .md-search__form { flex: 0 0 auto; height: 60px; margin: 20px 24px 0; background: var(--site-surface); color: var(--site-ink); border: 1px solid transparent; border-radius: 14px; box-shadow: none; }
#site-search .md-search__form:focus-within { border-color: var(--site-blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--site-blue) 12%, transparent); }
#site-search .md-search__input { width: 100%; height: 100%; padding: 0 52px; font: inherit; font-size: 18px; color: var(--site-ink); outline: none; border: 0; border-radius: inherit; background: transparent; text-overflow: ellipsis; }
#site-search .md-search__input::placeholder { color: var(--site-muted); opacity: 1; }
.site-search__magnify { position: absolute; top: 18px; left: 18px; width: 22px; height: 22px; color: var(--site-muted); pointer-events: none; }
.site-search__magnify svg { width: 22px; height: 22px; }
#site-search .md-search__options { inset: 8px 8px auto auto; }
#site-search .md-search__options .md-search__icon { display: grid; place-items: center; width: 42px; height: 42px; margin: 0; padding: 11px; border-radius: 10px; color: var(--site-muted); }
#site-search .md-search__input:valid ~ .md-search__options .md-search__icon { opacity: 1; pointer-events: auto; transform: none; }
.site-search__shortcuts { padding: 22px 24px 26px; }
.site-search__shortcuts p { margin: 0 0 12px; color: var(--site-muted); font-size: 14px; }
.site-search__shortcuts nav { display: flex; flex-wrap: wrap; gap: 8px; }
.site-search__shortcuts a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--site-line); border-radius: 12px; color: var(--site-ink); font-size: 15px; }
.site-search__shortcuts a:hover { background: var(--site-surface); }
#site-search:has(.md-search__input:valid) .site-search__shortcuts { display: none; }
#site-search:has(.md-search__input:invalid) .md-search__output { display: none; }
#site-search .md-search__output { position: relative; inset: auto; display: flex; flex-direction: column; flex: 0 1 auto; min-height: 0; width: 100%; opacity: 1; border-radius: 0; box-shadow: none; margin-top: 12px; }
#site-search .md-search__scrollwrap { flex: 1 1 auto; min-height: 0; width: 100%; height: auto; max-height: 520px; padding: 0 12px 12px; background: transparent; overscroll-behavior: contain; }
#site-search .md-search-result__meta { padding: 8px 12px 12px; background: transparent; color: var(--site-muted); font-size: 14px; line-height: 1.6; }
#site-search .md-search-result__item { margin: 0 0 4px; box-shadow: none; }
#site-search .md-search-result__link { border-radius: 12px; }
#site-search .md-search-result__link:hover, #site-search .md-search-result__link:focus { background: var(--site-surface); }
#site-search .md-search-result__link:focus-visible { outline: 2px solid var(--site-blue); outline-offset: -2px; }
#site-search .md-search-result__article { padding: 10px 12px; }
#site-search .md-search-result__icon { display: none; }
#site-search .md-search-result .md-typeset { color: var(--site-muted); font-size: 14px; line-height: 1.7; }
#site-search .md-search-result .md-typeset h1 { margin: 0 0 6px; color: var(--site-ink); font-size: 17px; font-weight: 600; line-height: 1.5; letter-spacing: -.025em; }
#site-search .md-search-result .md-typeset h2 { font-size: 15px; margin: 0 0 6px; }
#site-search .md-search-result .md-typeset p { margin: 4px 0; }
#site-search .md-search-result mark { color: var(--site-blue); font-weight: 600; background: transparent; text-decoration: none; }
#site-search .md-search-result__more > summary > div { padding: 10px 12px; font-size: 14px; border-radius: 10px; }
.site-search__footer { display: flex; flex: 0 0 auto; align-items: center; gap: 20px; padding: 14px 24px; border-top: 1px solid var(--site-line); color: var(--site-muted); font-size: 12px; }
.site-search__footer kbd { display: inline-block; min-width: 20px; padding: 1px 4px; margin-right: 3px; border: 1px solid var(--site-line); border-radius: 4px; font: inherit; text-align: center; }
@media (max-width: 700px) {
  #site-search .md-search__inner { top: max(16px, env(safe-area-inset-top)); width: calc(100% - 24px); max-height: calc(100dvh - max(16px, env(safe-area-inset-top)) - max(16px, env(safe-area-inset-bottom))); border-radius: 20px; }
  .site-search__heading { padding: 20px 18px 0; }
  .site-search__heading h2 { font-size: 21px; }
  #site-search .md-search__form { height: 56px; margin: 18px 18px 0; }
  #site-search .md-search__input { font-size: 16px; }
  .site-search__magnify { top: 16px; }
  #site-search .md-search__options { top: 6px; }
  .site-search__shortcuts { padding: 20px 18px; }
  .site-search__footer { display: none; }
}

/* Reading pages use the same typography and neutral palette. */
.md-grid { max-width: 1280px; }
.md-main__inner { margin-top: 2.5rem; }
.md-typeset { font-size: .85rem; line-height: 1.8; }
.md-typeset h1 { font-weight: 720; font-size: 2.2rem; color: var(--site-ink); letter-spacing: -.045em; line-height: 1.25; }
.md-typeset h2 { font-weight: 650; letter-spacing: -.03em; }
.md-typeset img, .md-typeset pre > code { border-radius: 12px; }
.md-nav { font-size: .7rem; }
.md-nav__title { background: none; box-shadow: none; }
.md-nav__link { padding-block: .15rem; }
.md-sidebar--secondary { border-left: 1px solid var(--site-line); }
.md-typeset table:not([class]) { border-radius: 12px; overflow: hidden; }
.md-main__inner:has(> .home-page) { display: block; max-width: none; width: 100%; margin: 0; }
.md-main__inner:has(> .journal-page) { display: block; max-width: none; width: 100%; margin: 0; }
.journal-page { width: 100%; padding: 3rem 48px 5rem; }
.journal-page__inner { max-width: 960px; margin-inline: auto; }
.journal-page--photos .journal-page__inner { max-width: 1200px; }
.journal-back { margin-bottom: 2rem; font-size: .75rem; color: var(--site-muted); }
.journal-back a:hover { color: var(--site-blue); }
.journal-article.md-typeset { font-size: .95rem; line-height: 1.9; }
.journal-article h1 { max-width: 1000px; font-size: clamp(2rem, 4.5vw, 3.2rem); line-height: 1.2; letter-spacing: -.055em; word-break: keep-all; }
.journal-article h2 { margin-top: 2.8rem; font-size: 1.5rem; }
.journal-article p { margin-block: 1.25rem; }
.journal-article li { margin-bottom: .6rem; }
.journal-article img { display: block; width: 100%; height: auto; border-radius: 20px; margin-block: 2rem; }
.journal-article pre { margin-block: 1.5rem; }
.journal-article table:not([class]) { font-size: .8rem; }
.journal-list { margin-block: 3rem; }
.journal-list-item { padding: 2rem 0; border-top: 1px solid var(--site-line); }
.journal-list-item .eyebrow { color: var(--site-muted); }
.journal-list-item h2 { margin-top: .8rem; }
.journal-list-item h2 a { color: var(--site-ink); }
.journal-list-item h2 a:hover { color: var(--site-blue); }
.home-page { width: 100%; color: var(--site-ink); font-size: .85rem; line-height: 1.65; }
.home-page *, .site-footer * { box-sizing: border-box; }
.home-page h1, .home-page h2, .home-page h3, .home-page p, .home-page figure { margin: 0; }
.home-page h1, .home-page h2, .home-page h3 { word-break: keep-all; overflow-wrap: anywhere; }
.home-page h2 { font-size: clamp(1.8rem, 4.2vw, 2.8rem); line-height: 1.22; letter-spacing: -.055em; font-weight: 750; }
.home-page h3 { font-size: 1.55rem; letter-spacing: -.045em; line-height: 1.35; font-weight: 700; }
.home-page img { max-width: 100%; display: block; }
.section-shell { width: min(1120px, calc(100% - 96px)); margin-inline: auto; }
.eyebrow { font-size: .7rem; line-height: 1.4; letter-spacing: .12em; font-weight: 650; }
.muted { color: var(--site-muted); }
.home-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.25rem; margin-top: 1.5rem; }
.pill-button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: .6rem 1.25rem; border-radius: 100px; background: #0071e3; color: #fff; font-size: .8rem; font-weight: 500; line-height: 1.5; transition: background .2s, transform .2s; }
.pill-button:hover { background: #0077ed; transform: translateY(-2px); }
.text-link { color: var(--site-blue); font-size: .85rem; padding-block: .5rem; text-underline-offset: .25em; }
.text-link:hover { text-decoration: underline; }

/* Scroll-linked product composition. */
.home-hero { text-align: center; padding: 4.3rem 24px 2.5rem; overflow: clip; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { color: var(--site-muted); }
.home-hero h1 { margin: 1rem 0 1.1rem; font-size: clamp(2.5rem, 6.2vw, 4.1rem); font-weight: 760; line-height: 1.16; letter-spacing: -.065em; }
.home-hero h1 span { color: var(--site-muted); }
.hero-description { font-size: 1.05rem; letter-spacing: -.025em; color: var(--site-muted); }
.hero-copy .home-actions { justify-content: center; margin-top: 1.25rem; }
.mobile-break { display: none; }
.hero-scroll-scene { margin-top: 3.5rem; }
.hero-stage { position: relative; height: 680px; width: min(800px, 100%); margin: 0 auto; display: flex; justify-content: center; align-items: flex-start; gap: 2.6rem; perspective: 1200px; }
.hero-orbit { position: absolute; inset: 8% -20% -4%; z-index: -1; border-radius: 50%; background: radial-gradient(ellipse, rgba(143, 128, 202, .18), rgba(152, 184, 220, .08) 42%, transparent 68%); }
.device-frame { background: #171719; border: 5px solid #252528; padding: 3px; border-radius: 40px; overflow: hidden; box-shadow: 0 30px 65px -25px #0005, 0 0 0 1px #828288; }
.device-frame img { width: 100%; height: auto; border-radius: 31px; }
.hero-device { width: 244px; flex: 0 0 244px; }
.hero-device--days { transform: rotate(-8deg); }
.hero-device--snap { margin-top: 1.8rem !important; transform: rotate(8deg); }
.hero-device figcaption { margin-top: 1.1rem; font-size: .8rem; font-weight: 650; }
.hero-device figcaption span { display: block; color: var(--site-muted); font-size: .7rem; font-weight: 400; }
.hero-footnote { color: var(--site-muted); font-size: .7rem; letter-spacing: .025em; }

/* A sticky screen follows the three moments in the RaraDays story. */
.days-section { padding: 5.5rem 0 4.5rem; background: var(--site-surface); }
.section-heading .eyebrow, .ai-heading .eyebrow { margin-bottom: 1rem; color: var(--site-muted); }
.days-story { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 3.5rem; }
.product-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -.04em; }
.product-description { margin-top: .6rem !important; font-size: 1.15rem; letter-spacing: -.035em; line-height: 1.5; }
.story-step { padding: 3.3rem 0 1.5rem; min-height: 310px; }
.story-step p { color: var(--site-muted); margin-top: .8rem; font-size: .85rem; }
.feature-symbol { display: block; color: #7961b7; font-size: 1.8rem; line-height: 1; margin-bottom: 1rem; }
.story-step h3 { transition: color .4s; }
.story-step.is-active h3 { color: #7251ad; }
[data-md-color-scheme="slate"] .story-step.is-active h3, [data-md-color-scheme="slate"] .feature-symbol { color: #c3a6f1; }
.days-preview { position: relative; }
.days-preview__sticky { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: center; padding: 1rem 0; perspective: 1000px; }
.days-phone { position: relative; width: min(290px, 30vw, calc((100dvh - 230px) * .46)); min-width: 190px; aspect-ratio: 1206 / 2622; box-sizing: content-box; background: #e5dcf4; }
.days-phone img { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); object-fit: cover; opacity: 0; transition: opacity .55s ease; }
.days-phone img.is-active { opacity: 1; }
.screen-controls { display: flex; background: var(--site-bg); border: 1px solid var(--site-line); padding: 4px; border-radius: 50px; margin-top: 1.25rem; gap: 3px; }
.screen-controls button { min-width: 65px; min-height: 42px; padding: .4rem .65rem; border-radius: 40px; font-size: .7rem; color: var(--site-muted); cursor: pointer; transition: background .2s, color .2s; }
.screen-controls button.is-active { background: var(--site-ink); color: var(--site-bg); }
.snap-section { background: #080809; color: #f5f5f7; overflow: clip; padding: 4rem 0; }
.snap-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.snap-copy .eyebrow { color: #c0a691; margin-bottom: 1rem; }
.snap-copy h2 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); }
.snap-copy h2 span { color: #d9b79a; }
.snap-copy .product-description { margin-top: 1.2rem !important; color: #e4e4e8; }
.snap-details { margin-top: 1.2rem !important; color: #a1a1a6; font-size: .85rem; }
.snap-copy .text-link { color: #74baff; }
.snap-visual { position: relative; display: flex; flex-direction: column; align-items: center; padding-block: 1.2rem; perspective: 1000px; }
.snap-glow { position: absolute; inset: -5% -25%; background: radial-gradient(ellipse, #9b6c3d30, transparent 65%); pointer-events: none; }
.snap-phone { width: 274px; position: relative; transform: rotate(6deg); border-color: #343437; box-shadow: 0 30px 70px #0008; }
.snap-visual figcaption { position: relative; font-size: .65rem; color: #a1a1a6; margin-top: 2rem; text-align: center; }
/* The main journal follows real projects, feedback and decisions. */
.ai-section { position: relative; padding-block: 5rem 5.5rem; }
.ai-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 2.5rem; }
.ai-heading > p { font-size: .85rem; color: var(--site-muted); }
.ai-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ai-feature { display: flex; flex-direction: column; padding: 2rem; border: 1px solid var(--site-line); border-radius: 28px; background: var(--site-surface); color: var(--site-ink); transition: box-shadow .3s, transform .3s; }
.ai-feature:hover { transform: translateY(-5px); box-shadow: 0 20px 50px #00000010; }
.ai-feature-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; color: var(--site-muted); }
.ai-tool { border: 1px solid var(--site-line); border-radius: 100px; padding: .2rem .6rem; font-size: .65rem; }
.ai-prompt { margin: 2rem 0; padding: 1.25rem 1.5rem; border-radius: 20px 20px 4px 20px; background: var(--site-bg); border: 1px solid var(--site-line); }
.ai-prompt > span { font-size: .65rem; color: var(--site-muted); }
.ai-prompt > p { margin-top: .6rem; font-size: 1.15rem; letter-spacing: -.035em; font-weight: 550; line-height: 1.5; word-break: keep-all; }
.ai-feature-copy h3 { font-size: clamp(1.5rem, 2.8vw, 2rem); letter-spacing: -.045em; }
.ai-feature-copy > p { margin-top: 1rem; color: var(--site-muted); font-size: .8rem; }
.ai-read-link { display: inline-block; margin-top: 1.5rem; color: var(--site-blue); font-size: .8rem; }
.ai-feature--snap .ai-prompt { background: #252327; color: #fff; border-color: #252327; }
.ai-feature--snap .ai-prompt > span { color: #ccc1b9; }
.journal-more { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.journal-more > a:first-child { display: flex; flex-direction: column; gap: .4rem; font-size: .85rem; }
.journal-more .eyebrow { color: var(--site-muted); font-size: .6rem; }
.journal-more > a:hover { color: var(--site-blue); }
.journal-series-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 2rem; }
.journal-series-nav a { padding: .4rem 1rem; border: 1px solid var(--site-line); border-radius: 100px; font-size: .75rem; }
.journal-series-nav a:hover { background: var(--site-surface); }
.diary-list { margin: 1.75rem 0 3rem; }
.md-typeset .diary-entry { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1.75rem 0; border-top: 1px solid var(--site-line); color: var(--site-ink); }
.diary-number { color: var(--site-muted); font: .75rem var(--md-code-font); padding-top: .15rem; }
.diary-entry .eyebrow { color: var(--site-muted); font-size: .6rem; }
.diary-entry h3 { margin: .5rem 0 .6rem; font-size: 1.35rem; letter-spacing: -.035em; line-height: 1.4; word-break: keep-all; }
.diary-entry p { margin: 0; color: var(--site-muted); font-size: .85rem; }
.diary-arrow { margin-left: auto; color: var(--site-muted); }
.diary-entry:hover h3, .diary-entry:hover .diary-arrow { color: var(--site-blue); }
.ai-feature:hover .ai-read-link { text-decoration: underline; text-underline-offset: .2em; }
.article-meta { color: var(--site-muted); font-size: .7rem; letter-spacing: .04em; margin-top: -1rem !important; margin-bottom: 2rem !important; }
.journal-section { padding-bottom: 5rem; }
.journal-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; padding-top: 3rem; margin-bottom: 2.5rem; border-top: 1px solid var(--site-line); }
.journal-heading .eyebrow { color: var(--site-muted); margin-bottom: 1rem; }
.journal-heading > .text-link { flex-shrink: 0; }
.journal-description { color: var(--site-muted); margin-top: 1rem !important; }
.photo-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1.8rem 20px; }
.photo-card { grid-column: span 2; min-width: 0; color: var(--site-ink); border-radius: 20px; }
.photo-card--portrait { grid-column: span 3; }
.photo-image { overflow: hidden; border-radius: 20px; background: var(--site-surface); }
.photo-image img { width: 100%; height: auto; transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.photo-card:hover .photo-image img, .photo-card:focus-visible .photo-image img { transform: scale(1.035); }
.photo-card figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .25rem .6rem; padding: .75rem .1rem 0; font-size: .75rem; }
.photo-open { color: var(--site-muted); font-size: .65rem; white-space: nowrap; }
.photo-card:hover .photo-open, .photo-card:focus-visible .photo-open { color: var(--site-blue); }
.journal-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem 2rem; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--site-line); }
.journal-footer > p { font-size: .65rem; color: var(--site-muted); }
.journal-footer > p a:hover { color: var(--site-blue); }
.journal-footer .home-actions { margin-top: 0; }
.about-section { padding: 4rem 0 5rem; text-align: center; background: var(--site-surface); }
.about-avatar { width: 130px; height: 130px; margin: 0 auto 1.2rem; }
.about-content .eyebrow { color: var(--site-muted); margin-bottom: 1rem; }
.about-content > p:not(.eyebrow) { color: var(--site-muted); margin-top: 1.2rem; font-size: .9rem; }
.about-content .home-actions { justify-content: center; }
.pill-button--dark { background: var(--site-ink); color: var(--site-bg); }
.pill-button--dark:hover { background: var(--site-muted); }
.site-footer { background: var(--site-surface); color: var(--site-muted); font-size: .7rem; border-top: 1px solid var(--site-line); }
.site-footer__inner { max-width: 1168px; padding: 2rem 24px; margin-inline: auto; }
.site-footer__inner > p { margin: .75rem 0 1.25rem; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; margin-bottom: 1.5rem; }
.site-footer small { font-size: .65rem; }

/* Progressive enhancement: everything is readable without JavaScript. */
.hero-enter { animation: enter .85s both cubic-bezier(.2, .7, .2, 1); }
.hero-enter:nth-child(2) { animation-delay: .08s; }
.hero-enter:nth-child(3) { animation-delay: .16s; }
.hero-enter:nth-child(4) { animation-delay: .24s; }
[data-reveal] { transition: opacity .85s ease, translate 1s cubic-bezier(.16, 1, .3, 1); }
[data-reveal].reveal-pending { opacity: 0; translate: 0 80px; }
[data-reveal].is-visible { opacity: 1; translate: 0 0; }
.ai-layout > :nth-child(2) { transition-delay: .12s; }
.photo-grid > :nth-child(2), .photo-grid > :nth-child(4) { transition-delay: .12s; }
.photo-grid > :nth-child(5) { transition-delay: .24s; }
@keyframes enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

/* Continuous motion is enabled only after JS has checked reduced motion.
   The native document scroll remains in control; there are no wheel handlers. */
@media (prefers-reduced-motion: no-preference) {
  .motion-enabled .hero-scroll-scene.is-motion-active .hero-device,
  .motion-enabled .days-story.is-motion-active .days-phone,
  .motion-enabled .snap-visual.is-motion-active .snap-phone { will-change: transform; }
}
.motion-enabled .hero-device--days {
  transform: translate3d(calc(44px - var(--hero-progress, 0) * clamp(60px, 12vw, 190px)), calc(38px - var(--hero-progress, 0) * 150px), 0)
    rotateY(calc(-14deg + var(--hero-progress, 0) * 25deg))
    rotate(calc(-12deg - var(--hero-progress, 0) * 8deg))
    scale(calc(.9 + var(--hero-progress, 0) * .2));
}
.motion-enabled .hero-device--snap {
  transform: translate3d(calc(-44px + var(--hero-progress, 0) * clamp(60px, 12vw, 190px)), calc(20px + var(--hero-progress, 0) * 35px), 0)
    rotateY(calc(14deg - var(--hero-progress, 0) * 25deg))
    rotate(calc(12deg + var(--hero-progress, 0) * 8deg))
    scale(calc(.9 + var(--hero-progress, 0) * .2));
}
.motion-enabled .hero-orbit { transform: scale(calc(.75 + var(--hero-progress, 0) * .5)); }
.motion-enabled .days-phone {
  transform: rotateY(calc(-14deg + var(--story-progress, 0) * 28deg))
    rotate(calc(-6deg + var(--story-progress, 0) * 12deg))
    scale(calc(.92 + var(--story-progress, 0) * .12));
}
.motion-enabled .days-phone img { transform: translateY(40px) scale(1.05); transition: opacity .6s ease, transform .8s cubic-bezier(.16, 1, .3, 1); }
.motion-enabled .days-phone img.is-active { transform: translateY(0) scale(1); }
.motion-enabled .snap-phone {
  transform: translate3d(calc(95px - var(--snap-progress, 0) * 170px), calc(130px - var(--snap-progress, 0) * 260px), 0)
    rotateY(calc(-20deg + var(--snap-progress, 0) * 40deg))
    rotate(calc(19deg - var(--snap-progress, 0) * 32deg))
    scale(calc(.86 + var(--snap-progress, 0) * .28));
}
.motion-enabled .snap-glow { transform: scale(calc(.65 + var(--snap-progress, 0) * .65)); }
.motion-enabled .snap-visual { padding-block: 4.5rem; }
.motion-enabled .snap-visual figcaption { margin-top: 3rem; }
@media (min-width: 701px) and (min-height: 650px) {
  .motion-enabled .hero-scroll-scene { --hero-stage-height: min(680px, calc(100svh - 140px)); height: calc(var(--hero-stage-height) + 75svh); }
  .motion-enabled .hero-stage { position: sticky; top: 100px; height: var(--hero-stage-height); align-items: center; }
  .motion-enabled .hero-device { width: min(244px, calc((100svh - 260px) * .46)); flex-basis: min(244px, calc((100svh - 260px) * .46)); }
}
@media (max-width: 76.234375em) {
  .site-header .site-menu-button { display: inline-flex; }
}
@media (max-width: 959px) {
  .section-shell { width: calc(100% - 64px); }
  .days-story, .snap-layout { gap: 2rem; }
  .ai-heading { align-items: flex-start; flex-direction: column; gap: 1rem; }
  .ai-feature { padding: 1.5rem; }
  .ai-prompt { padding: 1rem; }
  .ai-prompt > p { font-size: 1rem; }
  .home-hero { padding-top: 3rem; }
}
@media (max-width: 700px) {
  .journal-page { padding: 2rem 22px 3.5rem; }
  .journal-back { margin-bottom: 1.5rem; }
  .journal-article.md-typeset { font-size: .9rem; line-height: 1.85; }
  .journal-article h1 { font-size: 2rem; }
  .journal-article h2 { margin-top: 2rem; font-size: 1.3rem; }
  .journal-article img { border-radius: 12px; margin-block: 1.5rem; }
  .site-header .md-header__inner { height: 60px; padding-inline: 20px; gap: .75rem; }
  .site-links { display: none; }
  .site-tools { margin-left: auto; }
  .section-shell { width: calc(100% - 40px); }
  .home-hero { padding: 2.75rem 20px 2rem; }
  .home-hero h1 { font-size: clamp(2.05rem, 9vw, 3rem); line-height: 1.2; }
  .hero-description { font-size: .9rem; }
  .mobile-break { display: initial; }
  .home-actions { gap: .9rem; }
  .pill-button, .text-link { font-size: .75rem; }
  .hero-scroll-scene { margin-top: 2.8rem; }
  .hero-stage { height: clamp(390px, 100vw, 560px); gap: 22px; width: 100%; }
  .hero-device { flex-basis: 37%; width: 37%; max-width: 205px; }
  .device-frame { border-width: 4px; padding: 2px; border-radius: 30px; }
  .device-frame img { border-radius: 23px; }
  .hero-device figcaption { margin-top: .8rem; font-size: .7rem; }
  .hero-device figcaption span { font-size: .65rem; }
  .hero-device--snap { margin-top: 1rem !important; }
  .hero-footnote { font-size: .65rem; }
  .days-section { padding: 3.5rem 0; }
  .days-story { grid-template-columns: 1fr; gap: 2rem; margin-top: 2rem; }
  .days-copy { display: contents; }
  .product-intro { grid-row: 1; }
  .days-preview { grid-row: 2; }
  .days-preview__sticky { position: relative; top: auto; }
  .days-phone { width: min(260px, 65vw); min-width: 0; }
  .days-phone img { inset: 2px; width: calc(100% - 4px); height: calc(100% - 4px); }
  .story-step { min-height: 0; padding: 1rem 0 1.5rem; border-bottom: 1px solid var(--site-line); }
  .story-step:last-child { border-bottom: 0; padding-bottom: 0; }
  .story-step h3 { font-size: 1.35rem; }
  .story-step.is-active h3 { color: var(--site-ink); }
  .snap-section { padding: 3.5rem 0 2rem; }
  .snap-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .snap-phone { width: min(260px, 65vw); transform: rotate(4deg); }
  .snap-visual figcaption { margin-top: 1.5rem; font-size: .6rem; }
  .ai-section { padding-block: 3.5rem; }
  .ai-heading { margin-bottom: 1.5rem; }
  .ai-layout { grid-template-columns: 1fr; gap: 1.5rem; }
  .ai-feature { border-radius: 24px; }
  .ai-feature-copy h3 { font-size: 1.7rem; }
  .ai-prompt > p { font-size: 1.15rem; }
  .ai-read-link { margin-top: 1rem; }
  .journal-more { align-items: flex-start; flex-direction: column; }
  .md-typeset .diary-entry { gap: .85rem; }
  .diary-entry h3 { font-size: 1.15rem; }
  .diary-entry p { font-size: .8rem; }
  .journal-section { padding-bottom: 3.5rem; }
  .journal-heading { flex-direction: column; align-items: flex-start; gap: .75rem; padding-top: 2.5rem; margin-bottom: 1.5rem; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem 12px; }
  .photo-card { grid-column: span 2; }
  .photo-card--portrait { grid-column: span 1; }
  .photo-image { border-radius: 14px; }
  .photo-card--portrait figcaption { align-items: flex-start; flex-direction: column; }
  .journal-footer { align-items: flex-start; flex-direction: column; margin-top: 1.5rem; }
  .about-section { padding-block: 3rem; }
  .about-content > p:not(.eyebrow) { font-size: .8rem; word-break: keep-all; }
  .site-footer nav { flex-direction: column; }
  .md-typeset h1 { font-size: 1.8rem; }
  .motion-enabled .hero-device--days { transform: translate3d(calc(var(--hero-progress, 0) * -16px), calc(var(--hero-progress, 0) * -70px), 0) rotate(calc(-8deg - var(--hero-progress, 0) * 7deg)); }
  .motion-enabled .hero-device--snap { transform: translate3d(calc(var(--hero-progress, 0) * 16px), calc(var(--hero-progress, 0) * 40px), 0) rotate(calc(8deg + var(--hero-progress, 0) * 7deg)); }
  .motion-enabled .days-phone { transform: rotate(calc(-4deg + var(--story-progress, 0) * 8deg)); }
  .motion-enabled .snap-phone { transform: translate3d(0, calc(75px - var(--snap-progress, 0) * 150px), 0) rotate(calc(14deg - var(--snap-progress, 0) * 22deg)) scale(calc(.94 + var(--snap-progress, 0) * .1)); }
  [data-reveal].reveal-pending { translate: 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .home-page *, .scroll-progress { animation: none !important; transition: none !important; }
  #site-search .md-search__inner, #site-search .md-search__overlay { transition: none; }
  [data-reveal].reveal-pending { opacity: 1; translate: none; }
  .hero-device { will-change: auto; }
  .hero-device--days { transform: rotate(-8deg); }
  .hero-device--snap { transform: rotate(8deg); }
  .motion-enabled .hero-scroll-scene { height: auto; }
  .motion-enabled .hero-stage { position: relative; top: auto; }
  .motion-enabled .hero-device, .motion-enabled .days-phone, .motion-enabled .snap-phone,
  .motion-enabled .days-phone img, .motion-enabled .hero-orbit, .motion-enabled .snap-glow { transform: none; will-change: auto; }
  .ai-feature:hover, .pill-button:hover { transform: none; }
  .photo-card:hover .photo-image img, .photo-card:focus-visible .photo-image img { transform: none; }
}
@media print {
  .site-header, .site-footer, .hero-stage, .days-preview, .screen-controls { display: none; }
  [data-reveal] { opacity: 1 !important; translate: none !important; }
  .days-story, .snap-layout, .ai-layout { display: block; }
  .motion-enabled .hero-scroll-scene { display: none; }
  .snap-section { background: white; color: black; }
}

@media (min-width: 701px) and (max-height: 649px) {
  .days-preview__sticky { position: static; }
  .days-phone { width: min(290px, 30vw); }
}
