/* The landing page uses Pipnote's paper, ink, postal red and hard-offset shadows. */
.home { --line: #ddd5c8; }
.home .wrap { max-width: 1328px; padding: 0 48px; }
.home a { color: inherit; }
.home button { font: inherit; color: inherit; cursor: pointer; }
.home [hidden] { display: none !important; }
.home :is(a, button, summary):focus-visible { outline: 3px solid var(--postal-red); outline-offset: 5px; }
.home section { scroll-margin-top: 30px; }
.home .eyebrow { font: 400 10px/1.6 "Space Mono", monospace; text-transform: uppercase; letter-spacing: 1.45px; }
.home h1, .home h2, .home h3 { text-wrap: balance; }
.home h2 { font-size: clamp(34px, 4vw, 54px); line-height: 1.08; font-weight: 600; letter-spacing: -2px; margin: 18px 0; }
.home h2 span { color: var(--stone); }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 14px; background: white; z-index: 20; }
.skip-link:focus { top: 12px; }
.site-header { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-bottom: 1px solid var(--line); }
.home .wordmark { font-size: 34px; text-decoration: none; letter-spacing: -1.5px; }
.site-nav { display: flex; gap: 34px; margin-left: auto; margin-right: 40px; font-size: 14px; }
.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--postal-red); }
.language-picker { position: relative; flex-shrink: 0; z-index: 5; }
.language-picker summary { list-style: none; display: flex; align-items: center; gap: 9px; min-height: 46px; padding: 9px 0 9px 10px; border: 0; background: transparent; font-size: 13px; cursor: pointer; }
.language-picker summary::-webkit-details-marker { display: none; }
.language-menu { position: absolute; top: calc(100% + 10px); right: 0; min-width: 216px; padding: 7px; border: 1.5px solid var(--ink); border-radius: 8px; background: var(--paper); box-shadow: 4px 4px 0 var(--kraft); }
.language-menu a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 10px; text-decoration: none; border-radius: 4px; font-size: 15px; }
.language-menu a:hover { background: var(--kraft); }
.language-menu a[aria-current] { background: #efe7da; }
.language-menu .checkmark { margin-left: auto; color: var(--postal-red); }
.hero { display: grid; grid-template-columns: 1.02fr 1fr; gap: 40px; padding: 68px 0 60px; align-items: center; }
.hero-copy { padding: 10px 0 20px; }
.hero-copy > .eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 26px; color: var(--postal-red); }
.status-dot { width: 6px; height: 6px; background: currentColor; border-radius: 50%; flex-shrink: 0; }
.home h1 { font-size: clamp(54px, 5.5vw, 76px); font-weight: 600; letter-spacing: -3.9px; line-height: 1.02; margin: 0; }
.home h1 > span { color: var(--postal-red); }
.hero .lede { max-width: 420px; font-size: 18px; line-height: 1.6; color: var(--muted-ink); margin: 28px 0; text-wrap: pretty; }
.hero-actions { display: flex; align-items: flex-start; flex-direction: column; gap: 23px; }
.home .button { display: inline-flex; justify-content: center; align-items: center; gap: 9px; color: var(--paper); font-size: 14px; line-height: 1.3; padding: 16px 21px; border-radius: 6px; min-height: 52px; transition: transform .18s, background .18s; }
.home .button:hover { transform: translate(-1px,-1px); }
.hero-fineprint { font: 400 10px/1.6 "Space Mono", monospace; color: var(--stone); margin: 18px 0 0; }
.hero-art { position: relative; align-self: stretch; min-height: 515px; background: #f1ebdd; border: 1px solid #e5ddce; border-radius: 140px 140px 12px 12px; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; }
.hero-art video { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 56% 50%; inset: 0; }
.art-topline, .art-caption { position: relative; z-index: 1; }
.art-topline { margin: 46px 30px 0; text-align: center; }
.art-topline .eyebrow { font-size: 9px; color: var(--muted-ink); }
.edition { display: block; font: 400 11px/1.5 "Space Mono", monospace; color: var(--stone); margin-top: 12px; }
.art-caption { margin: 0 24px 24px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.watch-link { display: flex; align-items: center; gap: 10px; text-decoration: none; font-size: 12px; background: var(--paper); border: 1px solid var(--line); padding: 7px 14px 7px 7px; border-radius: 40px; }
.play-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; color: var(--paper); background: var(--ink); font-size: 9px; padding-left: 2px; }
.motion-toggle { display: grid; place-items: center; height: 42px; width: 42px; flex-shrink: 0; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 12px !important; }
.promise-strip { display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 15px 0; }
.promise-strip p { display: flex; align-items: center; justify-content: center; gap: 18px; font-size: 14px; padding: 4px 18px; }
.promise-strip p + p { border-left: 1px solid var(--line); }
.promise-strip span { font: 400 10px/1.5 "Space Mono", monospace; color: var(--postal-red); }
.section-heading > .eyebrow, .section-heading > div > .eyebrow { color: var(--postal-red); margin: 0; }
.section-heading p:not(.eyebrow) { color: var(--muted-ink); font-size: 16px; line-height: 1.6; max-width: 390px; }
.product-section { padding: 108px 0 100px; }
.product-section > .section-heading { text-align: center; }
.product-section > .section-heading p:not(.eyebrow) { max-width: 420px; margin: 22px auto 0; }
.product-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; margin-top: 54px; }
.product-copy { max-width: 500px; }
.product-steps { display: flex; flex-direction: column; position: relative; isolation: isolate; }
.step-highlight { position: absolute; top: 0; left: 0; width: 100%; background: #f1ece3; border-left: 2px solid var(--postal-red); pointer-events: none; transition: transform .32s cubic-bezier(.22,1,.36,1), height .32s cubic-bezier(.22,1,.36,1); }
.product-step { position: relative; width: 100%; text-align: left; background: transparent; border: 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 28px 1fr; gap: 16px; padding: 26px 16px; border-left: 2px solid transparent; }
.product-step.is-active { background: #f1ece3; border-left-color: var(--postal-red); }
.has-highlight .product-step.is-active { background: transparent; border-left-color: transparent; }
.step-number { font: 400 11px/1.5 "Space Mono", monospace; color: var(--stone); padding-top: 4px; }
.product-step.is-active .step-number { color: var(--postal-red); }
.product-step b { display: block; font-size: 21px; letter-spacing: -.4px; font-weight: 500; }
.product-step b + span { display: block; font-size: 14px; line-height: 1.6; color: var(--muted-ink); margin-top: 10px; max-width: 330px; }
.product-note { font-size: 14px; color: var(--stone); padding-left: 22px; margin-top: 24px; }
.product-note span { color: var(--postal-red); padding-right: 12px; }
.product-stage { background: #eee8dc; border: 1px solid var(--line); border-radius: 12px; height: 640px; overflow: hidden; position: relative; padding: 32px 28px 0; }
.screen-panel { height: 100%; overflow: hidden; }
.phone { border: 6px solid var(--ink); border-radius: 38px; width: min(280px,100%); margin: 0 auto; box-shadow: 8px 8px 0 #d6cdbb; overflow: hidden; }
.phone img { display: block; width: 100%; height: auto; }
.stage-caption { position: absolute; bottom: 0; left: 0; right: 0; margin: 0; padding: 17px 10px; background: #eee8dc; text-align: center; font: 400 9px/1.6 "Space Mono", monospace; color: var(--stone); border-top: 1px solid var(--line); }
.arrival-panel { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 28px; padding-bottom: 60px; }
.arrival-panel .eyebrow { text-align: center; font-size: 9px; }
/* Match the Island’s rounded silhouette at every size, clipping the captured wallpaper. */
.arrival-capture { width: 100%; height: auto; border-radius: 16% / 42%; box-shadow: 4px 5px 0 #d6cdbb; }
.arrival-pip { width: 210px; height: 210px; object-fit: contain; }
.crew-section { padding: 26px 0 95px; }
.split-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 34px; }
.split-heading h2 { margin-bottom: 0; }
.split-heading > p { margin-bottom: 5px; }
.crew-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.courier { min-width: 0; padding: 18px 22px 24px; border: 1px solid var(--line); border-radius: 8px; background: #f4edde; transition: transform .25s; }
.courier:hover { transform: translateY(-5px) rotate(-1deg); }
.courier-sparrow { background: #eaf0ef; }
.courier-fox { background: #f5e7dc; }
.courier-tortoise { background: #eceddf; }
.courier-top { display: flex; align-items: center; justify-content: space-between; color: var(--stone); }
.courier-top .eyebrow { margin: 0; }
.courier picture { display: block; }
.courier img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; margin: 12px 0 18px; }
.courier h3 { font-size: 27px; font-weight: 500; letter-spacing: -1px; margin: 0 0 7px; }
.courier p { color: var(--muted-ink); font-size: 12px; line-height: 1.5; margin: 0; }
.section-footnote { font: 400 10px/1.7 "Space Mono", monospace; color: var(--stone); text-align: center; margin-top: 25px; }
.pro-pricing { max-width: 780px; margin: 36px auto 0; text-align: center; }
.pro-pricing h3 { font-size: 26px; font-weight: 500; margin: 0 0 20px; }
.pro-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 12px; }
.pro-plan { min-width: 0; padding: 22px 14px; border: 1px solid var(--line); border-radius: 8px; }
.pro-plan h4 { margin: 0; font-size: 14px; font-weight: 500; }
.pro-plan p { margin: 6px 0 0; color: var(--muted-ink); font-size: 13px; }
.pro-plan .pro-price { font-size: 32px; line-height: 1.3; color: var(--ink); font-variant-numeric: tabular-nums; }
.pro-pricing-note { margin: 14px 0 0; font-size: 12px; line-height: 1.6; color: var(--muted-ink); }
.crew-funnel { margin-top: 20px; text-align: center; }
.films-section { padding: 76px 0 90px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.film-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 40px; }
.film-card { display: block; text-decoration: none; }
.film-image { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--line); background: #eee8dc; }
.film-image img { display: block; width: 100%; height: auto; transition: transform .4s; }
.film-card:hover img { transform: scale(1.025); }
.film-play { position: absolute; left: 20px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); border: 1px solid var(--ink); box-shadow: 2px 2px 0 var(--ink); display: grid; place-items: center; padding-left: 2px; font-size: 12px; }
.film-time { position: absolute; bottom: 22px; right: 18px; background: var(--paper); padding: 4px 7px; border-radius: 3px; font: 400 10px/1.6 "Space Mono", monospace; }
.film-latest { position: absolute; top: 14px; left: 14px; background: var(--postal-red); color: var(--paper); padding: 5px 8px; border-radius: 3px; font: 400 9px/1.6 "Space Mono", monospace; }
.film-caption { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.film-caption .eyebrow { color: var(--stone); font-size: 9px; margin: 7px 0; }
.film-caption h3 { font-weight: 500; font-size: 27px; letter-spacing: -.7px; margin: 0; }
.film-arrow { font-size: 26px; color: var(--postal-red); }
.faq-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; padding: 100px 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 16px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--postal-red); font-size: 24px; font-weight: 400; }
.faq details[open] summary::after { content: '−'; }
.faq p { font-size: 14px; line-height: 1.65; color: var(--muted-ink); margin: 0 25px 24px 0; }
.faq a { text-underline-offset: 3px; }
.final-cta { position: relative; background: var(--ink); color: var(--paper); border-radius: 10px; padding: 64px 40px; text-align: center; overflow: hidden; }
.final-cta .eyebrow { color: #c1b7a4; }
.final-cta h2 { margin: 24px 0 32px; font-size: clamp(36px,4.6vw,60px); }
.final-cta h2 span { color: #e99875; }
.final-cta .button { box-shadow: 3px 3px 0 #000; }
.final-cta > p:last-of-type { font: 400 10px/1.6 "Space Mono",monospace; color: #c1b7a4; margin-top: 20px; }
/* Perforated paper, a framed courier portrait and first-class denomination. */
.postage-stamp { position: absolute; right: 38px; bottom: 38px; width: 112px; height: 144px; padding: 11px; transform: rotate(11deg); color: #8f3c2c;
  background: radial-gradient(circle at 6px 0, var(--ink) 3px, transparent 3.5px) top left / 12px 6px repeat-x,
    radial-gradient(circle at 6px 6px, var(--ink) 3px, transparent 3.5px) bottom left / 12px 6px repeat-x,
    radial-gradient(circle at 0 6px, var(--ink) 3px, transparent 3.5px) top left / 6px 12px repeat-y,
    radial-gradient(circle at 6px 6px, var(--ink) 3px, transparent 3.5px) top right / 6px 12px repeat-y, #e8d8bc;
}
.stamp-print { height: 100%; border: 3px double #a5664f; display: flex; flex-direction: column; align-items: center; position: relative; padding-top: 5px; }
.stamp-country { font: 700 7px/1.5 "Space Mono",monospace; letter-spacing: .7px; }
.stamp-print img { width: 67px; height: 67px; object-fit: contain; }
.stamp-service { font: 400 5px/1.5 "Space Mono",monospace; letter-spacing: .4px; }
.stamp-value { font: 600 20px/1 "Bricolage Grotesque",sans-serif; margin-top: 4px; }
.stamp-value span { font-size: 10px; vertical-align: top; }

.site-footer { padding: 58px 0 26px; }
.footer-top { display: flex; align-items: center; gap: 25px; padding-bottom: 32px; }
.footer-top > p { font-size: 13px; color: var(--stone); }
.footer-top nav { display: flex; margin-left: auto; gap: 24px; font-size: 13px; }
.footer-top nav a { text-decoration: none; }
.footer-bottom { padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 400 9px/1.7 "Space Mono",monospace; color: var(--stone); }
.built-by { display: flex; align-items: center; gap: 8px; }
.built-by img { border-radius: 50%; }
.built-by a { text-underline-offset: 3px; }
.film-dialog { width: min(1040px,calc(100% - 32px)); max-height: calc(100dvh - 32px); padding: 16px; background: var(--paper); color: var(--ink); border: 1.5px solid var(--ink); border-radius: 10px; box-shadow: 6px 6px 0 #000; }
.film-dialog::backdrop { background: #14120fe6; }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 0 14px; }
.dialog-header h2 { font-size: 22px; letter-spacing: -.5px; margin: 0; }
.dialog-header button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 28px; }
.film-dialog video { display: block; width: 100%; max-height: calc(100dvh - 145px); aspect-ratio: 16/9; background: #14120f; border-radius: 4px; }
.home:has(.film-dialog[open]) { overflow: hidden; }
.home:lang(ja) h1 { font-size: clamp(36px,4vw,56px); line-height: 1.3; letter-spacing: -2px; }
.home:lang(ja) h2 { line-height: 1.25; letter-spacing: -1px; }
@media (min-width: 1400px) { .hero { gap: 60px; } }
@media (max-width: 1100px) {
  .home .wrap { padding: 0 32px; }
  .site-nav { gap: 23px; margin-right: 10px; }
  .hero { gap: 24px; }
  .home h1 { font-size: 60px; letter-spacing: -2.8px; }
  .hero-art { min-height: 490px; border-radius: 110px 110px 10px 10px; }
  .product-grid { gap: 40px; }
  .courier { padding: 16px; }
  .faq-section { gap: 40px; }
  .postage-stamp { display: none; }
  .film-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
}
@media (max-width: 760px) {
  .home .wrap { padding: 0 22px; }
  .site-header { min-height: 88px; gap: 12px; }
  .home .wordmark { font-size: 30px; }
  .site-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding: 48px 0 36px; gap: 24px; }
  .hero-copy { padding: 0; }
  .home h1 { font-size: clamp(48px,9.5vw,68px); letter-spacing: -2.7px; }
  .hero-copy > .eyebrow { font-size: 9px; margin-bottom: 22px; }
  .hero .lede { font-size: 17px; max-width: 440px; margin: 22px 0; }
  .hero-actions { gap: 20px; }
  .hero-art { min-height: 0; height: 380px; border-radius: 100px 100px 8px 8px; }
  .art-topline { margin-top: 30px; }
  .art-caption { margin: 0 16px 16px; }
  .promise-strip { padding: 10px 0; }
  .promise-strip p { flex-direction: column; align-items: flex-start; gap: 8px; margin: 6px 0; padding: 4px 12px; font-size: 11px; line-height: 1.4; }
  .promise-strip p:first-child { padding-left: 0; }
  .promise-strip span { font-size: 9px; }
  .home h2 { font-size: 38px; letter-spacing: -1.5px; }
  .product-section { padding: 68px 0; }
  .product-section > .section-heading { text-align: left; }
  .product-section > .section-heading p:not(.eyebrow) { margin: 18px 0 0; }
  .product-grid { grid-template-columns: 1fr; gap: 25px; margin-top: 24px; }
  .product-copy { max-width: none; }
  .product-step { padding: 20px 10px; gap: 10px; grid-template-columns: 24px 1fr; }
  .product-step b { font-size: 19px; }
  .product-step b + span { max-width: none; }
  .product-stage { height: 610px; padding: 28px 24px 0; }
  .phone { width: 260px; }
  .product-note { margin-bottom: 0; font-size: 12px; }
  .split-heading { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
  .section-heading p:not(.eyebrow) { font-size: 15px; }
  .split-heading > p { margin: 0; }
  .crew-section { padding: 0 0 62px; }
  .crew-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .courier { padding: 13px 14px 20px; }
  .courier img { margin: 12px 0; }
  .courier h3 { font-size: 24px; }
  .courier p { font-size: 11px; }
  .section-footnote { font-size: 9px; }
  .films-section { padding: 62px 0 48px; }
  .film-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 28px; }
  .faq-section { grid-template-columns: 1fr; gap: 15px; padding: 62px 0; }
  .faq summary { font-size: 15px; }
  .final-cta { padding: 42px 20px; }
  .final-cta .eyebrow { font-size: 9px; }
  .final-cta h2 { font-size: 35px; }
  .footer-top { flex-wrap: wrap; gap: 12px 20px; }
  .footer-top > p { font-size: 11px; }
  .footer-top nav { width: 100%; margin-left: 0; margin-top: 15px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .site-footer { padding-top: 40px; }
  .home:lang(ja) h1 { font-size: clamp(28px,8.2vw,38px); letter-spacing: -1px; }
}
@media (prefers-reduced-motion: reduce) { .home { scroll-behavior: auto; } }
