/* A one-column layout for phone-sized reading surfaces, loaded after page styles. */
html { scroll-padding-top:20px; }
body { --phone-gutter:1.125rem; --phone-target:3rem; font-size:1.125rem; line-height:1.6; }
/* Only compensates when the browser fits a virtual desktop viewport onto a narrow touch screen.
   The layout below also reflows; the desktop columns are never scaled up in place. */
html.wide-phone-viewport body { zoom:var(--wide-phone-scale); }
.site-header, html:not(.js) .site-header {
  min-height:4.5rem; height:auto; max-width:none; margin:10px 10px 0;
  padding:10px 12px; gap:8px; flex-wrap:wrap; align-items:center; border-radius:14px;
}
.site-header .wordmark { min-width:0; flex:1 1 110px; gap:7px; font-size:1.06rem; letter-spacing:.025em; }
.site-header .wordmark-caption {
  font-size:.625rem; letter-spacing:.065em; margin-top:4px; white-space:normal;
}
.site-header .site-cart-link { order:1; min-height:var(--phone-target); font-size:1rem; padding:6px 9px; }
.site-header .brand-symbol { width:25px; }
.site-header.mobile-nav-ready, html.js .site-header { flex-wrap:nowrap; }
html.js .site-header #menu-toggle, .site-header.mobile-nav-ready .mobile-menu {
  order:2; display:inline-flex; flex:0 0 auto; flex-direction:row; align-items:center;
  justify-content:center; gap:0; width:auto; min-width:var(--phone-target); min-height:var(--phone-target);
  height:auto; padding:6px 8px; border:1px solid #aebbb3; border-radius:9px;
  font-weight:700; font-size:1rem; background:#fcfaf5;
}
.site-header #menu-toggle span:not(.mobile-menu-label) { display:none; }
.site-header #menu-toggle .mobile-menu-label { display:block; width:auto; height:auto; background:none; }
html.js .site-header #primary-nav, .site-header.mobile-nav-ready nav:not(.is-open) { display:none !important; }
html.js .site-header #primary-nav.is-open, .site-header.mobile-nav-ready nav.is-open {
  display:flex !important; position:absolute; z-index:30; top:100%; left:-1px; right:-1px;
  flex-direction:column; align-items:stretch; gap:4px; padding:10px 14px 16px;
  background:var(--paper); box-shadow:0 15px 28px #1830392b; border:1px solid var(--line);
  border-radius:0 0 14px 14px;
}
.site-header nav[aria-label="Main navigation"] a, html.js .site-header #primary-nav a {
  min-height:var(--phone-target); display:flex; align-items:center; padding:6px 10px;
  white-space:normal; line-height:1.35; font-size:1rem;
}
.site-header nav[aria-label="Main navigation"] .nav-cta { margin:0; }
html:not(.js) .site-header:not(.mobile-nav-ready) nav { order:3; flex:1 0 100%; }

.hero {
  display:grid; grid-template-columns:minmax(0,1fr); gap:20px; min-height:0;
  padding:26px var(--phone-gutter) 24px;
}
.hero-copy { min-width:0; min-height:0; padding:0; align-items:flex-start; }
.hero-copy:before { position:static; width:56px; height:3px; margin-bottom:14px; }
.hero .eyebrow { margin:0 0 12px; font-size:.8125rem; }
.hero h1 { font-size:2rem; line-height:1.12; margin:0 0 16px; }
.hero .earned-display { font-size:3.35rem; margin:0 0 8px -2px; }
.hero .hero-description {
  font-size:1.125rem; line-height:1.55; margin:0 0 10px; max-width:38ch;
}
.hero .hero-actions { display:grid; grid-template-columns:minmax(0,1fr); gap:6px; width:100%; margin:4px 0 0; }
.hero .hero-actions .button, .hero .hero-actions .text-link {
  display:flex; min-height:var(--phone-target); justify-content:space-between; align-items:center;
  font-size:1rem; padding:8px 12px; white-space:normal;
}
.pride-signature { margin:14px 0 0; }
.pride-signature .founder-note { font-size:.875rem; }

.hero-image {
  width:100%; height:auto; min-height:0; aspect-ratio:16/10; margin:0;
  border:4px solid #fcfaf5; border-radius:18px; transform:none;
}
.hero-image.hero-image--friends > img { object-position:center; }

.section-wrap, .document-main, .support-main { padding-inline:var(--phone-gutter); }
main section:not(.hero, .life-section, .closing-section) { min-width:0; }
.story-section, .section-heading, .finder-tools, .planner-layout,
.life-section, .holiday-section, .gift-section, .gift-cards-layout, .founder-inner,
.help-section, .newsletter-section, .contact-invitation, .store-workspace,
.store-help, .shop-product-grid, .shop-filters, .support-layout, .ribbon-detail-layout {
  display:grid; grid-template-columns:minmax(0,1fr); gap:18px; align-items:start;
}

.story-copy h2, .section-heading h2, .finder-section .section-heading h2,
.life-copy h2, .holiday-copy h2, .gift-copy h2, .gift-cards-heading h2, .founder-inner h2,
.help-intro h2, .newsletter-section h2, .contact-invitation h2, .closing-section h2,
.store-hero h1, .pricing-heading h2, .shop-catalog-heading h2, .cart-heading h2,
.document-main h1, .support-main h1 { font-size:2rem; line-height:1.16; }
.story-section, .launch-section, .planner-section, .gift-section, .help-section,
.newsletter-section, .contact-invitation { padding-block:40px; }
.story-section { padding-block:22px 28px; }
.story-copy h2 { font-size:clamp(1.75rem,6.5vw,2rem); margin-bottom:8px; }
.section-heading { margin-bottom:22px; }
.finder-section .finder-heading { gap:10px; }
.finder-heading .button { width:fit-content; max-width:100%; }
.story-copy>p:not(.eyebrow), .section-heading>p, .gift-copy>p:not(.eyebrow),
.holiday-copy>p:not(.eyebrow), .help-intro>p:not(.eyebrow), .founder-body p:not(.large-copy),
.faq-list details p, .life-copy>p:last-child, .support-main p, .support-main li,
.document-main>p, .document-main li {
  font-size:1.125rem; line-height:1.6;
}
.help-intro .text-link, .finder-bottom .text-link, .gift-help,
.launch-size-card .button, .contact-invitation .button, .closing-section .button,
.room-photo-picker .button, .planner-controls>.button, .support-form .button {
  min-height:var(--phone-target); font-size:1rem; white-space:normal;
}
.film-poster { width:100%; aspect-ratio:16/9; transform:none; }
.film-poster .poster-caption { bottom:10px; left:10px; font-size:.875rem; }
.film-dialog { width:calc(100% - 20px); max-width:100%; }
.film-dialog-header { gap:8px; padding:8px 12px; }
.film-dialog .close-dialog { min-height:var(--phone-target); min-width:var(--phone-target); }

.launch-size-grid, .planner-layout .planner-controls, .mounting-options,
.photo-slider-grid, .records-choice-grid, .founder-goal-grid {
  display:grid; grid-template-columns:minmax(0,1fr); gap:12px;
}
.launch-size-card, .room-photo-tools, .gift-card-form, .support-form, .support-card,
.shop-product-card, .cart-panel, .printed-price-panel { padding:16px; min-width:0; }
.finder-section, .founder-section, .closing-section { margin-inline:10px; border-radius:18px; }
.finder-section .section-wrap, .founder-section .section-wrap { padding-inline:14px; }
.finder-search, .planner-canvas-wrap, .planner-controls, .finder-secondary > *, .shop-filters > * { width:100%; min-width:0; }
.finder-tools { gap:8px; margin-bottom:18px; }
.finder-tools .catalog-note { max-width:none; margin:0; padding:0; font-size:.875rem; white-space:normal; }
.branch-tabs { flex-wrap:wrap; max-width:100%; overflow:visible; margin-inline:0; padding-inline:0; }
.branch-tabs button { min-height:var(--phone-target); font-size:.9375rem; padding-inline:9px; }
.finder-secondary { flex-wrap:wrap; gap:6px 16px; }
.finder-secondary .year-details { flex:1 1 185px; max-width:none; }
.year-details summary, .finder-secondary>.subtle-button { min-height:44px; font-size:.9375rem; }
.finder-secondary>.subtle-button { width:auto; }
.year-fields label { flex:0 1 105px; min-width:0; }
.planner-controls fieldset { min-inline-size:0; padding-inline:0; }
#size-options button { min-height:var(--phone-target); font-size:1rem; }
.planner-canvas { aspect-ratio:1.18; }
.layout-metrics p { font-size:.9375rem; }
.layout-metrics>span { font-size:.875rem; }
.selected-list li:not(.empty-selection) { grid-template-columns:17px minmax(0,1fr) auto; }
.selected-list li, .selected-list .empty-selection, .finder-search>label, .display-branch-control label,
.planner-controls legend, .gift-card-form label, .newsletter-form label,
.shop-filters label, .display-form label, .support-form label { font-size:1rem; }
input:not([type=checkbox]):not([type=radio]):not([type=file]):not([type=range]), select, textarea {
  font-size:1.0625rem !important; max-width:100%;
}
main :is(.small-copy, .planner-footnote, .device-notice, .photo-preview-note, .reference-caption, .detail-meta),
.planner-controls .small-copy, .room-photo-tools .small-copy, .cart-totals>p { font-size:.9375rem; line-height:1.55; }
.life-section { padding-inline:var(--phone-gutter); gap:0; }
.life-section > img { height:auto; aspect-ratio:16/10; border-radius:18px 18px 0 0; }
.life-copy { padding:24px 18px; border-radius:0 0 18px 18px; }
.gift-copy { order:-1; }
.gift-art { width:100%; height:340px; }
.holiday-visual, .gift-card-display { min-width:0; max-width:100%; }
.gift-digital-card, .holiday-figure { transform:none; }
.gift-digital-card .digital-earned { font-size:3rem; }
.gift-card-name-row { grid-template-columns:minmax(0,1fr); }
.faq-list { margin:0; }
.faq-list summary { min-height:var(--phone-target); align-items:center; font-size:1rem; }
.newsletter-form { min-width:0; padding:16px; }
.newsletter-form .button, .gift-card-form .button { font-size:1rem; min-height:var(--phone-target); }

.store-hero { padding-block:20px 22px; }
.shop-hero-actions {
  display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,9.25rem),1fr));
  gap:8px; margin-top:12px;
}
.shop-hero-actions .button {
  justify-content:center; min-height:var(--phone-target); margin:0; padding-inline:8px; white-space:normal;
}
.shop-wall-preview {
  grid-template-columns:minmax(0,1fr); grid-template-areas:"heading" "preview" "settings";
  grid-template-rows:auto; gap:12px; padding-block:18px 26px;
}
.shop-preview-intro h2 { font-size:1.75rem; }
.room-preview-actions {
  display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); align-items:stretch;
}
.room-preview-actions :is(.button,.subtle-button) {
  justify-content:center; min-height:var(--phone-target); min-width:0; width:auto;
  margin:0; padding-inline:8px; text-align:center;
}
.shop-wall-preview .planner-canvas { border-radius:14px; }
.shop-wall-preview .wall-preview-label { display:none; }
#wall-preview :is(button,input,select,summary) { scroll-margin-bottom:calc(64px + env(safe-area-inset-bottom,0px)); }
.pricing-heading { display:block; }
.store-workspace, .shop-filters { min-width:0; }
.shop-results, .ribbon-grid, .document-catalog {
  grid-template-columns:repeat(auto-fit,minmax(min(100%, 185px),1fr)); gap:12px;
}
.shop-ribbon h3, .ribbon-card h3 { font-size:1.2rem; overflow-wrap:anywhere; }
.shop-ribbon .add-to-cart, .select-ribbon, .display-form .button {
  min-height:var(--phone-target); font-size:1rem; white-space:normal;
}
.shop-product-card .size-choice { gap:5px; }
.shop-product-card .size-choice button { min-width:0; padding:8px 4px; }
.shop-product-card .size-choice button strong { font-size:1rem; }
.cart-line .remove-line { min-width:var(--phone-target); min-height:var(--phone-target); }
.store-page .cart-line-top { grid-template-columns:50px minmax(0,1fr) 48px; }
.cart-totals>div { gap:10px; font-size:.9375rem; }
.cart-totals>div>span:last-child { text-align:right; }
.store-page .mobile-cart:not([hidden]) {
  display:flex; position:fixed; left:auto; right:var(--phone-gutter);
  bottom:max(10px,env(safe-area-inset-bottom,0px)); z-index:50; gap:12px;
  min-height:44px; padding:6px 12px; align-items:center;
  border-radius:10px; background:var(--ink); color:white; text-decoration:none; font-size:.9375rem;
}
.store-page .mobile-cart strong { font-size:inherit; }
.store-page:has(.mobile-cart:not([hidden])) { padding-bottom:calc(64px + env(safe-area-inset-bottom,0px)); }
.store-page:has(.mobile-cart:not([hidden])) .shop-status { bottom:calc(64px + env(safe-area-inset-bottom,0px)); }
.support-main, .document-main { padding-block:26px 52px; }
.document-main h1, .support-main h1 { overflow-wrap:anywhere; }
.site-footer { padding:32px var(--phone-gutter) 24px; }
.footer-top { display:grid; grid-template-columns:minmax(0,1fr); gap:14px; }
.footer-top nav { grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 12px; }
.footer-top nav a { min-height:var(--phone-target); display:flex; align-items:center; font-size:.9375rem; }
.cart-page .cart-intro p:not(.eyebrow), .cart-page .order-mode-note, .cart-page .cart-empty {
  font-size:1.125rem; line-height:1.6;
}
.cart-page .cart-intro .button, .cart-review { min-height:var(--phone-target); font-size:1rem; }
