/* Shared by the application shell and the independently rendered language landings. */
@font-face {
  font-family: "Instrument Serif";
  src: url("/static/gratitude/InstrumentSerif-Italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
:root {
  --night: #292923; --deep: #242621; --jungle: #39382f; --moss: #6d675a;
  --bone: #f6f2e8; --bone-2: #dcd4c6; --ink: #242621; --ink-2: #554d42;
  --gold: #e6ceb1; --ember: #e6ceb1; --neon: #eddbc3; --berry: #e2c6cc;
  --leaf: #d6c5a3; --panel: #35352e; --field: #292822; --line: #696458;
  --r: 3px; --r-lg: 4px; --r-holo: 3px; --wine:#722d39;
  --display: Georgia, "Times New Roman", serif;
  --text: system-ui, -apple-system, "Segoe UI", sans-serif;
  --signature: "Instrument Serif", Georgia, serif;
}
body:not(.gratitude) { background:var(--night); font-weight:400; }
body::before { content:none; }
h1,h2,h3 { font-family:var(--display); font-weight:400; letter-spacing:-.039em; }
body:not(.gratitude) main h1 { line-height:1.04; }
body:not(.gratitude) main:not(#top) { padding-block-start:clamp(26px,4.5vw,70px); }
body.gallery-page main { padding-block-start:8px; }
body.gift-page main { padding-block-start:12px; }
:where(main) a { text-decoration-thickness:1px; text-underline-offset:.2em; }
body:has(.top-in) header.top { background:var(--deep); border-bottom:1px solid var(--line); }
.top .top-in { padding-block:9px; }
.top .brand,.doorbar .brand { font:400 clamp(23px,3vw,34px)/1 var(--display); letter-spacing:-.055em; gap:0; }
.top .brand b,.doorbar .brand b { color:var(--gold); font:italic 400 1.12em/1 var(--signature); }
.top .doors-nav a,.top .me,.top summary { font-weight:550; text-shadow:none; }
.top .me,.top .menu > summary,.top .langs > summary { border-radius:30px; }
.top .menu-list,.top .langs-list,.top .langs ul { background:var(--deep); border:1px solid var(--line); box-shadow:0 12px 25px #07141148; }
body .btn { font-family:var(--text); font-weight:620; letter-spacing:0; border-radius:3px; }
body .btn.primary { background:var(--wine); color:#fffbef; outline-offset:3px; filter:none; box-shadow:none; }
body .btn.primary:hover { background:#58202b; color:#fffbef; filter:none; }
body .btn.primary::before,body .btn.primary::after { content:none; }
[data-ab~="cta_color-b"] .btn.primary { background:var(--berry); }
[data-ab~="cta_color-b"] .btn.primary:hover { background:#f1d5da; }
body .btn.ghost,body .btn.quiet { background:var(--deep); }
body .card, body .panel, body .holo, body .offer-card { border-radius:var(--r); }
body .holo { background:var(--panel); box-shadow:inset 0 0 0 1px var(--line); }
body .pack-group { box-shadow:none; border:1px solid #c3c3af; border-top:4px solid #722d39; border-radius:3px; }
.pack-group h2 { border-bottom:1px solid #aeb9ab; font-weight:400; }
.pack + .pack { border-top:1px solid #cbd0c1; }
.pack .pack-price { font-weight:400; font-size:clamp(21px,2vw,28px); }
.page-head { border-bottom:1px solid var(--line); padding-block-end:16px; }
.credits-page .tk { filter:none; }
body .plan-sample video,body .gd-film,body .film { border-radius:5px; box-shadow:0 10px 28px #07141140; }
body .plan-sample { background:transparent; box-shadow:none; }
.eyebrow-k { font:600 .82rem/1.4 var(--text); letter-spacing:.08em; text-transform:uppercase; }
@media(min-width:960px) {
  .plan-entry { grid-template-areas:"head sample" "form sample"; align-items:start; }
  .plan-entry .plan-sample { align-self:start; padding:18px; background:var(--bone); border-radius:4px; }
  .plan-sample figcaption { color:var(--ink); }
  .plan-intro { padding-right:0; min-height:0; }
}
.gal-head h1,body:not(.gratitude) .page-head h1,.plan-entry h1 { font-size:clamp(2.1rem,4.6vw,4.2rem); }
body.gallery-page main { background:var(--bone); color:var(--ink); }
.gal-chips { background:var(--bone); }
.gal-sub,.gal-price,.cap .for { color:var(--ink-2); }
.gallery-page .gal-head a,.gal-price a,.gal-price a:hover,.cap h2 a,.meta a,.meta a:hover { color:var(--ink); }
.cap .ex { color:#722d39; }
.gal-chips a { background:#ece6d9; color:var(--ink); box-shadow:none; font-weight:550; }
.gal-chips a:hover,.gal-chips a[aria-current="page"] { color:var(--bone); background:var(--ink); box-shadow:none; }
.gallery-page .style:hover .style-pic { outline-color:var(--ink); }
.gallery-page main :focus-visible,.journey-page main :focus-visible,.prose :focus-visible { outline-color:#722d39; }
@media(max-width:759px) { .gal-head h1 { font-size:clamp(26px,7vw,38px); } }
body.journey-page main { background:var(--bone); color:var(--ink); }
.journey-page main a:not(.btn),.firm-journey main :is(h1,h2) { color:var(--ink); }
.journey-page .j-switch { width:fit-content; gap:2px 3px; padding:3px; border:1px solid #b3bbaf; border-radius:8px; }
.j-switch a { padding:6px 13px; color:var(--ink); text-decoration:none; font-size:.89rem; }
.journey-page .j-switch a[aria-current] { background:var(--ink); color:var(--bone); border-radius:5px; }
.j-hero p { max-width:46ch; }
.j-hero video { height:auto; width:min(100%,265px); justify-self:center; aspect-ratio:9/16; border:5px solid #fffdf7; box-shadow:0 14px 32px #29292329; }
.j-hero .j-cover img { box-shadow:0 12px 28px #24262124; }
.j-example { border-color:#ab7247; }
.j-details { border-top:1px solid #bcc3b6; padding-top:1rem; }
.j-details li::marker { color:#722d39; }
body:has(article.prose) main { background:var(--bone); color:var(--ink); }
.prose .note,.prose a,.prose a:hover { color:var(--ink-2); }
footer,.gratitude footer { background:var(--deep); color:var(--bone-2); box-shadow:none; border-top:1px solid var(--line); }
footer .fcols { border-block:1px solid var(--line); padding-block:20px; }
footer .sig,footer .sig-row p { font:400 19px/1.4 var(--display); }
footer .fcol-t { color:var(--gold); font-weight:600; }
footer a { color:var(--bone); }
footer .fcols a { text-decoration:none; }
footer .fcols a:hover { text-decoration:underline; }
@media(max-width:480px) {
  .top .top-in { padding-block:4px; }.top .brand { font-size:23px; }
  .j-switch a { padding-inline:8px; }.j-hero video { max-width:190px; }
}

/* Localized marketing pages keep their own films, controls and words. */
body:has(> main#top) header.top { position:relative; width:auto; padding:7px var(--gut); background:var(--deep); border-bottom:1px solid var(--line); }
#top .hero { min-height:0; background:var(--deep); }
#top .hero-foil { background:url("/static/lp/cabinet-engraving.webp") right center / cover no-repeat; inset:0 0 -5% 30%; opacity:.74; mask-image:linear-gradient(90deg,transparent,#000 45%); }
#top .hero-copy { min-height:0; padding-block:clamp(32px,5vw,80px); }
#top .hero h1,#top .hero .lede,#top .sec h2,#top .beats .b,#top .payoff { -webkit-text-stroke:0; text-shadow:none; }
#top .hero h1 { font-weight:400; max-width:16ch; }
#top .hero-film { align-items:center; }
#top .hero .phone { transform:none; border-radius:6px; padding:5px; background:#eee7da; box-shadow:0 18px 38px #06140e55; }
#top .hero .phone .screen { border-radius:3px; }
#top .hero-alt { border-radius:30px; font-weight:550; text-shadow:none; background:var(--deep); }
#top .seam,#top .sec > .flies,#top .sec > .plate,body:has(> main#top) footer .plate { display:none; }
#top .sec { background:var(--night); }
#top .why,#top .how { --bone:#242621; --bone-2:#554d42; --gold:#824722; --neon:#784420; background:#f6f2e8; color:var(--bone); }
#top .why a:hover,#top .how a:hover { color:#24392f; }
#top .sec .ink::after { content:none; }
#top .how .site-start { background:#e9e1cf; border-color:#b6bcac; }
#top .num { border-block:1px solid #aeb6a8; }
#top .num b { font-weight:400; }
#top .hero .ticket { box-shadow:none; border-radius:5px; }
@media(min-width:900px) {
  #top .hero-copy { grid-template-columns:minmax(0,1.45fr) minmax(0,1fr); grid-template-rows:auto auto; grid-template-areas:"top film" "foot film"; }
  #top .hero .phone { --h:min(62svh,520px); }
}
@media(max-width:899px) {
  #top .hero-foil { inset:9% 0 8% 30%; opacity:.28; }
  #top .hero-film { container-type:normal; min-height:0; }
  #top .hero .phone { --h:clamp(170px,28svh,280px); }
  #top .hero-copy { row-gap:18px; }
}
@media(prefers-reduced-motion:reduce) {
  #top .hero-foil { transform:none!important; }
}


/* The recipient opens the same foil package seen on the home page. */
.gift-page .unwrap::before { background:none; }
.gift-page .unwrap .from { -webkit-text-stroke:0; }
.gift-page .stage { padding:5px; border-radius:6px; background:var(--bone); box-shadow:0 16px 38px #06181055; }
.gift-page .stage video,.gift-page .box { border-radius:2px; }
.gift-page .box { inset:5px; }
.gift-page .box-plate { object-fit:contain; background:#26251f; }
.gift-page .box-text { color:var(--ink); padding:12px 16px; filter:none; }
.gift-page .box-text::before,.gift-page .box:hover .box-text::before { border-radius:5px; clip-path:none; background:var(--bone); }
.gift-page .box-text b { font-weight:400; white-space:normal; }
.gift-page .box-text small { font-weight:550; }
@media(prefers-reduced-motion:no-preference) {
  .gift-page .box.open .box-plate { transform:scale(1.12); opacity:0; transition:transform .7s ease-in,opacity .7s ease-in; }
}

/* Ink, paper and the house imprint connect the workspaces to the printed gifts. */
body:has(.top-in) header.top,body:has(> main#top) header.top { background:#f6f2e8; border-color:#a89f90; }
.top .brand,.top .brand:hover,.top .doors-nav a,.top .doors-nav a:hover { color:#242621; }
.top .brand b { color:#722d39; }
.top .navs > a.me,.top .menu > summary,.top .langs > summary,.top .lang { background:#eee7d9; color:#242621; box-shadow:inset 0 0 0 1px #b8ad9c; border-radius:3px; }
.top .lang summary { color:inherit; }
.top .doors-nav a,.top .navs a { text-shadow:none; }
.top .doors-nav a:hover,.top .doors-nav a[aria-current="page"] { background:#e4dac9; }
body .tk,#top .door { filter:none; }
body .ticket { mask:none; border:1px solid #b9ae9d; border-radius:3px; box-shadow:none; }
.press-stub { border-right:1px solid #bbad99; }
.press-stub::after,.press-device::after { content:"G"; color:#722d39; font:italic 400 2.5rem/1 var(--signature); }
.press-device { width:4.3rem; height:5.3rem; border:1px solid #b6a891; background:#f6f2e8; display:grid; place-items:center; margin-block:.3rem 1rem; box-shadow:3px 3px 0 #786957; }
.card,.plan-form { background:var(--panel); }
body .ag-hero { display:block; }
body .gift-banner { border-color:#ae9775; }
body .pack { grid-template-columns:minmax(0,1fr) auto auto; }
.plan-entry-form,.plan-entry-form .card { min-width:0; }
.gift-page .box-plate { object-fit:cover; }
body .gd-item a,.ss-packs li { background:#35342d; border:1px solid #746956; border-radius:3px; box-shadow:none; }
body .gd-item img { object-fit:cover; height:88px; width:76px; border-radius:1px; }
body .gd-item b { font-family:var(--display); font-weight:400; font-size:1.4rem; }
body .gd-item .gd-len { font-weight:500; }
.styles .style-row { display:flex; flex-wrap:wrap; gap:.6rem; padding:.35rem 0; overflow:visible; }
.styles .style-row li { min-width:7rem; flex:1 1 7.5rem; border:1px solid #ad9e87; border-top:3px solid #722d39; background:#f6f2e8; padding:.55rem .75rem; }
.styles .style,.styles .sample-link { display:flex; align-items:center; min-height:44px; color:#242621; text-decoration:none; }
.styles .style:hover,.styles .sample-link:hover { color:#722d39; text-decoration:underline; }
.styles .style b { font:400 1.2rem/1.2 var(--display); text-align:start; }
.styles .sample-link { font-size:.85rem; }
.gallery-page .film { border:1px solid #b3a490; box-shadow:none; }
.gallery-page .still { display:grid; grid-template-rows:54% 1fr; background:#eae1cf; text-decoration:none; color:#722d39; padding:6%; }
.gallery-page .model:nth-of-type(3n+2) .still { background:#552931; color:#fff3d8; }
.gallery-page .model:nth-of-type(3n) .still { background:#303029; color:#fff3d8; }
.gallery-page .film .poster { position:static; object-fit:cover; border-radius:0; }
.gallery-page .dedication { padding:.25em 0; font:italic 400 clamp(1.8rem,4vw,3.5rem)/1.15 var(--signature); border-bottom:1px solid currentColor; align-self:center; overflow-wrap:anywhere; }
.gallery-page .mark { display:grid; width:42px; height:42px; font:1rem/1 system-ui; color:#f6f2e8; background:#722d39; margin:0; left:auto; right:8%; top:calc(53% - 26px); box-shadow:none; }
.gallery-page .feed > .styles { grid-column:1/-1; }
body .j-cover img { border-radius:2px; }
@media(max-width:480px) {
  body .pack { grid-template-columns:minmax(0,1fr) auto; }
  .pack form,.pack-price { grid-column:2; }
}
@media(prefers-reduced-motion:no-preference) {
  .gallery-page .still .poster { transition:object-position .45s ease,filter .45s ease; }
  .gallery-page .still:hover .poster { filter:contrast(1.07); object-position:54% center; }
  .press-device { animation:imprint .5s ease-out both; }
  @keyframes imprint { from { opacity:.45; transform:translateY(8px); } }
}

/* The translated editions share the same paper stock, frontispiece and ink. */
#top .hero { background:#f6f2e8; color:#242621; }
#top .hero .lede { color:#49463d; }
#top .hero-foil { inset:0; opacity:.08; mask-image:linear-gradient(90deg,transparent,#000 80%); }
#top .hero .hero-alt { color:#242621; background:transparent; border:1px solid #aa9c8a; border-radius:2px; box-shadow:none; }
#top .hero .ticket { border-top:3px solid #722d39; }
#top .hero .phone,#top .scene .phone,#unwrap .phone { background:#f4e9d5; border:1px solid #877964; padding:5px; transform:none; border-radius:2px; box-shadow:5px 5px 0 -2px #a89a85; }
#top .phone .screen { border-radius:1px; background:#252520; }
#top .phone video { object-fit:contain; }
#top .sec h2,#top .press-proof h2,#top .payoff { font-weight:400; letter-spacing:-.045em; }
#top .press-proof { padding:var(--s-sec) 0; background:#602733; color:#fcf3df; }
#top .press-proof-in { display:grid; gap:2rem; align-items:center; }
#top .press-proof h2 { max-width:13ch; }
#top .press-proof ol { margin:1.5rem 0; padding-inline-start:1.3rem; max-width:32rem; }
#top .press-proof li { padding:.35rem 0; }
#top .press-proof .vid { justify-self:center; margin:0; }
#top .press-proof .phone { --h:clamp(248px,53svh,480px); }
#top .pill .vctl { top:auto; bottom:8px; }
#top .vcap { color:inherit; text-shadow:none; font-weight:500; }
#top .coin-run { width:13px; height:13px; border-radius:50%; background:#dfc7a5; filter:none; }
#top .trail li::before { width:8px; height:8px; top:8px; box-shadow:none; }
#top .shelf a { height:100%; min-height:5rem; padding:.8rem 1rem; border-block:1px solid #a79880; color:#f5edde; align-items:center; font:italic 400 clamp(1.4rem,3vw,2rem)/1.12 var(--signature); }
#top .steps li { grid-template-columns:1fr; border-top:1px solid #aa9983; padding-top:.9rem; }
#top .steps::before { content:none; }
#top .uses li { background:#39362e; }
#top .people-head,#top .why-head { grid-template-columns:1fr; }
#top .mini { background:#e8dfcd; }
#top .vctl button { background:#25251f; }
#top .press-proof .phone .screen { overflow:hidden; }
body:has(> main#top) main { overflow:clip; }
@media(min-width:900px) {
  #top .press-proof-in,#top .join-grid { grid-template-columns:1fr 1fr; }
}
@media(prefers-reduced-motion:no-preference) {
  #top .hero-film { animation:edition-arrive 1.2s cubic-bezier(.18,.65,.22,1) both; }
  @keyframes edition-arrive { from { opacity:.28; transform:translateY(18px) rotate(.8deg); } }
}

.chip input:not(:checked) + span,.pick input:not(:checked) + span,.totem:not(:has(input:checked)) { background:#39372f; }
body .chip,.chip span,.pick span { border-radius:3px; }
body .totem { justify-content:center; padding:12px 8px; min-height:75px; }
body .plan-range li,.pro-stats > div { background:#33332d; border:1px solid var(--line); box-shadow:none; border-radius:3px; }
html:not(.js) #top .vctl { display:none; }
body .approve { margin-top:24px; }
body .approve h2 { padding-right:0; }
body .frame { padding:4px; background:#e5ddce; border:1px solid #938672; border-radius:3px; box-shadow:0 10px 24px #19150f35; }
body .frame video { background:#242621; border-radius:1px; }

html:has(.gal-edition) { scroll-snap-type:none; }
.gallery-page .gal-edition { display:grid; grid-template-columns:1fr minmax(200px,.88fr); align-items:center; gap:clamp(20px,4vw,64px); border-block:1px solid #ab9e89; padding:clamp(18px,3.5vw,42px) 0; }
.gallery-page .gal-edition h1 { max-width:13ch; }
.gallery-page .gal-edition .gal-sub { max-width:38ch; }
.gallery-page .collection-link { display:inline-flex; align-items:center; gap:.6em; margin-top:.45em; min-height:44px; color:#722d39; font-weight:550; }
.gallery-page .gal-feature { margin:0; display:grid; grid-template-columns:minmax(85px,1fr) auto; align-items:end; justify-items:center; gap:1rem; padding:clamp(12px,2vw,32px); background:#34272b; color:#f8efdb; }
.gal-feature video { display:block; width:auto; max-width:100%; height:min(44svh,390px); aspect-ratio:9/16; background:#361823; border:1px solid #99816b; box-shadow:0 6px 16px #21161e75; }
.gal-feature figcaption { writing-mode:vertical-rl; font:italic 400 clamp(20px,2vw,29px)/1 var(--signature); }
@media(max-width:640px) {
  .gallery-page .gal-edition { grid-template-columns:1fr; gap:8px; }
  .gallery-page .gal-edition h1 { max-width:none; }
  .gallery-page .gal-feature { grid-template-columns:1fr auto; padding:12px 14px; }
  .gal-feature video { height:clamp(192px,34svh,300px); }
}
