:root {
  --bg: #f3f6f8;
  --ink: #172a3b;
  --muted: #607183;
  --orange: #c37651;
  --line: #d7e0e6;
  --ease: cubic-bezier(.22,1,.36,1);
  --font: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body { margin: 0; color: var(--ink); background: var(--bg); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
body.viewer-open { overflow: hidden; }
body::before { content: ""; position: absolute; top: 0; right: 0; width: 70%; height: 950px; background: radial-gradient(ellipse at 80% 30%,#cfdae47a,transparent 68%); pointer-events: none; z-index: -1; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; }
button,a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; height: auto; }
svg { width: 24px; height: 24px; flex-shrink: 0; }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; }
h1,h2,h3,p,figure { margin: 0; }
:focus-visible { outline: 3px solid #bc7250; outline-offset: 5px; }
.shell { width: min(1240px,calc(100% - 100px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 20px; z-index: 90; padding: 12px 20px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip-link:focus { top: 16px; }
.scroll-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: var(--orange); transform: scaleX(var(--scroll-progress,0)); transform-origin: left; z-index: 80; pointer-events: none; }

/* Navigation and tactile controls */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 82px; margin-top: 18px; padding: 0 24px; position: sticky; top: 14px; z-index: 30; border: 1px solid #ffffffb3; border-radius: 14px; background: #f8fafbd9; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); transition: box-shadow .4s,border-color .4s,background .4s; }
.site-header.is-scrolled { box-shadow: 0 12px 36px #172a3b0c; border-color: #d7e0e6aa; background: #f8fafbf0; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 30px; font-weight: 750; letter-spacing: -1.8px; line-height: 1; }
.brand img { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #fff; object-fit: cover; }
.desktop-nav { display: flex; align-items: center; gap: 8px; }
.desktop-nav a { font-size: 14px; font-weight: 500; padding: 9px 15px; border-radius: 7px; color: var(--muted); transition: background .3s,color .3s; }
.desktop-nav a:hover,.desktop-nav a[aria-current="location"] { background: #e6edf2; color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .button { white-space: nowrap; }
.button { --mx: 0px; --my: 0px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; position: relative; padding: 18px 27px; border: 1px solid transparent; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.3; isolation: isolate; overflow: hidden; transform: translate(var(--mx),var(--my)); transition: transform .35s var(--ease),background .3s,box-shadow .3s,border-color .3s; }
.button::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg,transparent 15%,#ffffff28 50%,transparent 85%); transform: translateX(-150%); transition: transform .65s var(--ease); }
.button:hover::before { transform: translateX(150%); }
.button:hover { box-shadow: 0 10px 24px #172a3b16; }
.button:active { transform: scale(.98); }
.button-small { padding: 13px 20px; }
.button-dark { background: var(--ink); color: #fff; }
.button-dark:hover { background: #2a4257; }
.button-orange { background: var(--orange); color: #fff; }
.button-orange:hover { background: #b66a46; }
.button-outline { background: #ffffff45; border-color: #bccbd6; }
.button-outline:hover { background: #fff; border-color: #8da3b5; }
.button-light { background: #ffffff0c; color: #fff; border-color: #ffffff42; }
.button-light:hover { background: #ffffff19; }
.button svg { width: 18px; height: 18px; }
.menu-toggle { display: none; background: transparent; border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 8px; align-items: center; justify-content: center; flex-direction: column; gap: 6px; }
.menu-toggle span { height: 1.5px; width: 19px; background: var(--ink); transition: transform .3s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.mobile-nav[hidden] { display: none; }
.mobile-nav { position: absolute; top: calc(100% + 10px); left: 0; right: 0; display: grid; gap: 3px; padding: 12px; background: #fcfdfe; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 40px #172a3b14; }
.mobile-nav a { padding: 13px 16px; font-size: 15px; border-radius: 7px; }
.mobile-nav a:hover { background: #e9eff4; }

/* Editorial hero */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 65px; padding-top: 64px; padding-bottom: 53px; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 2.2px; line-height: 1.6; }
.eyebrow-line { display: block; width: 28px; height: 1px; background: var(--orange); }
h1 { font-size: clamp(55px,5.45vw,80px); font-weight: 550; letter-spacing: -4.6px; line-height: 1.07; margin: 25px 0; }
.title-line { display: block; }
.accent-title { color: #8b5b43; }
.hero-description { font-size: 16px; line-height: 1.9; color: var(--muted); max-width: 435px; }
.hero-buttons { display: flex; gap: 12px; margin-top: 30px; }
.hero-social { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.hero-social>svg { width: 19px; height: 19px; color: var(--ink); }
.hero-social strong { font-size: 14px; font-weight: 500; color: var(--ink); }
.hero-social:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.hero-art { min-width: 0; perspective: 1000px; }
.image-trigger { padding: 0; display: block; width: 100%; text-align: left; background: #1d2b37; position: relative; overflow: hidden; }
.portrait-frame { border-radius: 15px; box-shadow: 0 30px 70px -30px #1c334a65; transform: rotateX(var(--rx,0deg)) rotateY(var(--ry,0deg)); transition: transform .7s var(--ease),box-shadow .6s; will-change: transform; }
.portrait-frame::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--px,50%) var(--py,30%),#ffffff12,transparent 50%); pointer-events: none; }
.hero-portrait { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 1.2s var(--ease); }
.portrait-frame:hover .hero-portrait { transform: scale(1.035); }
.portrait-topline { position: absolute; top: 0; left: 0; right: 0; padding: 24px; display: flex; justify-content: space-between; align-items: center; color: #fff; background: linear-gradient(#12233165,transparent); font-size: 12px; letter-spacing: 2px; }
.portrait-topline svg { width: 19px; height: 19px; }
.portrait-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 46px 25px 25px; background: linear-gradient(transparent,#0a1928c9); color: white; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.portrait-caption small { display: block; font-size: 12px; letter-spacing: 1.8px; margin-bottom: 6px; opacity: .65; }
.portrait-caption strong { display: block; font-weight: 450; font-size: 23px; letter-spacing: -.7px; }
.portrait-action { font-size: 12px; padding-bottom: 3px; border-bottom: 1px solid #ffffff65; }
.portrait-meta { display: flex; justify-content: space-between; margin-top: 19px; font-size: 12px; font-weight: 500; letter-spacing: 1.4px; color: var(--muted); }
.contract-wrap { display: flex; align-items: center; gap: 28px; padding: 24px 0; margin-bottom: 55px; border-block: 1px solid var(--line); }
.contract-identity { display: flex; align-items: center; gap: 18px; font-size: 12px; color: var(--muted); line-height: 1.6; padding-right: 35px; border-right: 1px solid var(--line); }
.contract-identity strong { color: var(--ink); font-weight: 500; }
.token-pill { font-size: 20px; font-weight: 650; letter-spacing: -1px; color: var(--ink); }
.contract-details { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.label { font-size: 12px; font-weight: 500; letter-spacing: 1.6px; color: var(--muted); }
.contract-details code { font: 14px/1.5 "SFMono-Regular",Consolas,monospace; word-break: break-all; }
.copy-button { display: flex; align-items: center; justify-content: center; gap: 9px; background: #fff8; border: 1px solid var(--line); border-radius: 8px; padding: 12px 18px; font-size: 14px; transition: background .3s,border-color .3s; white-space: nowrap; }
.copy-button:hover { background: #fff; border-color: #9dafbf; }
.copy-button svg { width: 17px; height: 17px; }
.copy-button.copied { background: #e4efe9; border-color: #b1c9bc; }
.meme-ribbon { overflow: hidden; padding: 25px 0; background: #182b3c; color: #dce4eb; }
.ribbon-content { display: flex; align-items: center; justify-content: space-around; gap: 50px; width: max(100%,1440px); font-size: 12px; font-weight: 500; letter-spacing: 2.8px; transform: translateX(var(--ribbon-offset,0px)); }
.ribbon-content svg { width: 10px; height: 10px; color: #b67c5d; }

/* Story and photographic collection */
.section-space { padding-top: 115px; padding-bottom: 115px; }
.story { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: 106px; }
.story-copy { min-width: 0; }
.story-art { min-width: 0; }
.story-image-frame { border-radius: 12px; }
.story-image-frame img { width: 100%; aspect-ratio: .96; object-fit: cover; transition: transform 1s var(--ease); }
.story-image-frame:hover img { transform: scale(1.035); }
.story-photo-caption { display: flex; justify-content: space-between; gap: 12px; margin-top: 19px; font-size: 12px; color: var(--muted); }
.story-photo-caption span:first-child { font-size: 12px; letter-spacing: 1.2px; }
h2 { font-size: clamp(36px,3.6vw,52px); font-weight: 500; line-height: 1.16; letter-spacing: -2px; }
.story h2 { margin: 18px 0 28px; }
.accent-word { color: #8b5b43; }
.story p { color: var(--muted); font-size: 16px; line-height: 1.9; margin-bottom: 18px; }
.story p strong { font-weight: 550; color: var(--ink); }
.text-link { display: inline-flex; align-items: center; gap: 16px; margin-top: 7px; font-size: 14px; font-weight: 500; border-bottom: 1px solid #b8c7d3; padding-bottom: 9px; }
.text-link svg { width: 13px; height: 13px; color: var(--orange); transition: transform .4s; }
.text-link:hover svg { transform: scale(1.2); }
.moments { background: #e7eef3; border-block: 1px solid #dce5eb; padding-top: 90px; padding-bottom: 48px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 42px; }
.section-heading h2 { margin-top: 16px; }
.section-heading p { color: var(--muted); font-size: 16px; line-height: 1.8; }
.moments-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.moment-card { min-width: 0; }
.moment-photo { border-radius: 10px; }
.moment-photo img { width: 100%; aspect-ratio: .84; object-fit: cover; transition: transform 1s var(--ease); }
.moment-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 65%,#07162245); pointer-events: none; }
.moment-photo:hover img { transform: scale(1.055); }
.mood-tag { position: absolute; z-index: 1; top: 15px; left: 15px; color: #fff; background: #10223366; backdrop-filter: blur(12px); border: 1px solid #ffffff30; padding: 7px 11px; font-size: 12px; letter-spacing: 1.2px; border-radius: 4px; }
.image-hover-label { position: absolute; bottom: 20px; right: 20px; z-index: 2; display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; background: #f7faf9e6; backdrop-filter: blur(12px); border-radius: 7px; color: var(--ink); font-size: 12px; opacity: 0; transform: translateY(8px); transition: opacity .4s,transform .4s var(--ease); }
.image-hover-label svg { width: 15px; height: 15px; }
.image-trigger:hover .image-hover-label,.image-trigger:focus-visible .image-hover-label { opacity: 1; transform: translateY(0); }
.moment-card figcaption { padding: 22px 1px 0; }
.moment-card h3 { font-size: 24px; font-weight: 500; letter-spacing: -.8px; line-height: 1.3; }
.moment-card p { font-size: 16px; color: var(--muted); margin-top: 8px; line-height: 1.7; }
.moments-footnote { margin-top: 42px; border-top: 1px solid #cfdce6; padding-top: 25px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); font-size: 12px; }
.moments-footnote svg { width: 10px; height: 10px; color: var(--orange); }
.mobile-break { display: none; }
.community { padding-top: 100px; padding-bottom: 90px; }
.community-panel { display: grid; grid-template-columns: 1.25fr 1fr; border-radius: 14px; background: #162837; color: #fff; overflow: hidden; position: relative; }
.community-copy { padding: 66px 0 66px 56px; position: relative; z-index: 1; }
.community .eyebrow { color: #bdcbd6; font-size: 12px; }
.community h2 { margin-top: 22px; font-size: clamp(33px,3.5vw,49px); }
.community p { font-size: 16px; line-height: 1.8; margin-top: 20px; color: #b8c7d2; max-width: 370px; }
.community-buttons { display: flex; gap: 12px; margin-top: 29px; }
.community-art { position: relative; min-height: 100%; }
.community-art img { width: 100%; height: 100%; object-fit: cover; object-position: 46% center; }
.community-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg,#162837,transparent 32%); }
.site-footer { padding-bottom: 30px; }
.footer-top { display: flex; align-items: center; gap: 25px; border-bottom: 1px solid var(--line); padding-bottom: 30px; }
.footer-top .brand { font-size: 27px; }
.footer-top .brand img { width: 36px; height: 36px; }
.footer-tagline { flex: 1; color: var(--muted); font-size: 12px; }
.footer-top nav { display: flex; gap: 23px; font-size: 14px; }
.footer-top nav a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 15px; padding-top: 24px; font-size: 12px; color: var(--muted); }
.toast { position: fixed; bottom: 27px; left: 50%; z-index: 70; padding: 16px 23px; background: #1b3043ed; backdrop-filter: blur(12px); color: #fff; font-size: 14px; border: 1px solid #ffffff25; border-radius: 10px; box-shadow: 0 15px 50px #14253526; opacity: 0; visibility: hidden; transform: translate(-50%,12px); transition: opacity .3s,visibility .3s,transform .4s var(--ease); width: max-content; max-width: calc(100% - 32px); text-align: center; }
.toast.visible { opacity: 1; visibility: visible; transform: translate(-50%,0); }

/* Motion is progressive: content remains visible without JavaScript. */
.motion-ready [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .85s var(--ease),transform .85s var(--ease); transition-delay: var(--reveal-delay,0ms); }
.motion-ready [data-reveal].is-revealed { opacity: 1; transform: translateY(0); }

/* Accessible fullscreen collection */
.image-viewer { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 24px; border: 0; color: #f4f7f9; background: #0b1722f5; overflow-y: auto; overscroll-behavior: contain; }
.image-viewer::backdrop { background: #06121b; }
.image-viewer[open] { display: flex; justify-content: center; align-items: center; animation: viewer-in .3s var(--ease); }
@keyframes viewer-in { from { opacity: 0; } to { opacity: 1; } }
.viewer-shell { width: min(1050px,100%); margin: auto; }
.viewer-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-size: 12px; letter-spacing: 2px; color: #aebfcd; }
.viewer-close { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; color: #fff; border: 1px solid #ffffff30; background: #ffffff08; border-radius: 50%; transition: background .3s,transform .3s; }
.viewer-close:hover { background: #ffffff20; transform: rotate(90deg); }
.viewer-stage { height: min(61vh,690px); display: flex; align-items: center; justify-content: center; position: relative; background: #07111a; border: 1px solid #ffffff0d; border-radius: 10px; overflow: hidden; touch-action: pan-y; }
.viewer-stage img { width: 100%; height: 100%; object-fit: contain; transition: opacity .25s; }
.viewer-stage.is-loading img { opacity: .25; }
.viewer-loading { display: none; position: absolute; width: 27px; height: 27px; border: 1px solid #ffffff35; border-top-color: #fff; border-radius: 50%; animation: loading-spin .8s linear infinite; }
.is-loading .viewer-loading { display: block; }
@keyframes loading-spin { to { transform: rotate(360deg); } }
.viewer-info { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 22px; }
.viewer-info h2 { font-size: 25px; letter-spacing: -.7px; }
.viewer-info p { color: #acbdcb; font-size: 14px; margin-top: 6px; }
.viewer-controls { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.viewer-controls button { padding: 10px 14px; background: #ffffff08; color: #fff; border: 1px solid #ffffff25; border-radius: 6px; font-size: 14px; transition: background .3s; }
.viewer-controls button:hover { background: #ffffff1f; }
#viewer-count { font-size: 12px; font-variant-numeric: tabular-nums; color: #acbdcb; white-space: nowrap; }
.viewer-thumbnails { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 24px; }
.viewer-thumbnails button { width: 52px; height: 52px; padding: 3px; border: 1px solid transparent; background: none; border-radius: 7px; opacity: .5; transition: opacity .3s,border-color .3s; }
.viewer-thumbnails button:hover,.viewer-thumbnails button[aria-current="true"] { opacity: 1; border-color: #d0a186; }
.viewer-thumbnails img { width: 100%; height: 100%; object-fit: cover; border-radius: 4px; }
.viewer-hint { text-align: center; color: #8c9fab; font-size: 12px; margin-top: 15px; }

@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .site-header { padding-inline: 20px; }
  .hero { gap: 35px; }
  h1 { font-size: clamp(49px,5.7vw,62px); letter-spacing: -3.6px; }
  .story { gap: 60px; }
  .community-copy { padding: 48px 0 48px 40px; }
  .community h2 { font-size: 40px; }
  .footer-tagline { display: none; }
  .footer-top { justify-content: space-between; }
}
@media (max-width: 800px) {
  .shell { width: calc(100% - 48px); }
  .site-header { padding-inline: 16px; height: 74px; }
  .brand { font-size: 27px; }
  .brand img { width: 36px; height: 36px; }
  .desktop-nav { gap: 0; }
  .desktop-nav a { padding: 9px 10px; font-size: 13px; }
  .button-small { padding: 12px 15px; }
  .hero { padding-top: 45px; gap: 28px; }
  h1 { font-size: clamp(39px,6.1vw,49px); letter-spacing: -2.8px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: 1.5px; }
  .hero-description { font-size: 16px; line-height: 1.8; }
  .hero-buttons { gap: 8px; }
  .hero-buttons .button { padding: 16px; }
  .portrait-topline { padding: 17px; font-size: 12px; }
  .portrait-caption { padding: 35px 17px 17px; }
  .portrait-caption strong { font-size: 20px; }
  .portrait-action { display: none; }
  .portrait-meta { font-size: 12px; letter-spacing: 1px; }
  .contract-identity { padding-right: 25px; }
  .contract-identity>span:last-child { display: none; }
  .section-space { padding-block: 80px; }
  .story { gap: 40px; }
  .story h2 { font-size: 36px; }
  .story-photo-caption { display: block; }
  .story-photo-caption>span { display: block; margin-bottom: 4px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 20px; }
  .moments-grid { gap: 18px; }
  .moment-card h3 { font-size: 21px; }
  .mood-tag { top: 10px; left: 10px; padding: 6px 8px; font-size: 12px; letter-spacing: .7px; }
  .community-panel { grid-template-columns: 1.4fr 1fr; }
  .community-copy { padding: 38px 0 38px 30px; }
  .community h2 { font-size: 34px; }
  .community .eyebrow { font-size: 12px; letter-spacing: 1.5px; }
  .community-buttons .button { padding: 16px 20px; }
}
@media (min-width: 641px) and (max-width: 720px) {
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 100px; }
  .shell { width: calc(100% - 36px); }
  .site-header { top: 9px; margin-top: 9px; height: 69px; padding-inline: 12px; border-radius: 10px; }
  .brand { font-size: 27px; gap: 8px; }
  .brand img { width: 35px; height: 35px; }
  .desktop-nav { display: none; }
  .menu-toggle { display: flex; width: 39px; height: 39px; }
  .header-actions { gap: 8px; }
  .button-small { font-size: 12px; padding: 12px 14px; }
  .hero { grid-template-columns: 1fr; gap: 35px; padding-top: 48px; padding-bottom: 32px; }
  .hero-copy { padding-inline: 4px; }
  .hero .eyebrow { font-size: 12px; letter-spacing: 1.8px; }
  h1 { font-size: clamp(46px,12.5vw,77px); font-weight: 500; letter-spacing: -2.8px; margin: 22px 0; }
  .hero-description { max-width: 450px; }
  .hero-buttons { margin-top: 25px; gap: 10px; }
  .hero-buttons .button { padding: 17px 23px; }
  .hero-social { margin-top: 25px; font-size: 12px; }
  .portrait-frame { border-radius: 12px; }
  .portrait-topline { padding: 22px; font-size: 12px; }
  .hero-portrait { aspect-ratio: 1.02; }
  .portrait-caption { padding: 40px 22px 22px; }
  .portrait-caption strong { font-size: 24px; }
  .portrait-caption small { font-size: 12px; }
  .portrait-action { display: block; font-size: 12px; }
  .portrait-meta { font-size: 12px; margin-top: 15px; }
  .contract-wrap { gap: 15px; padding-block: 20px; margin-bottom: 33px; }
  .contract-identity { padding-right: 15px; }
  .token-pill { font-size: 16px; letter-spacing: -.6px; }
  .contract-details { gap: 5px; }
  .label { font-size: 12px; letter-spacing: 1.2px; }
  .contract-details code { font-size: 12px; }
  .copy-button { width: 39px; height: 39px; padding: 9px; }
  .copy-button span { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .meme-ribbon { padding: 22px 0; }
  .ribbon-content { justify-content: flex-start; width: 1300px; gap: 40px; padding-left: 30px; font-size: 12px; }
  .section-space { padding-block: 65px; }
  .story { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .story-art { order: 2; }
  .story-copy { order: 1; padding-inline: 3px; }
  .eyebrow { font-size: 12px; letter-spacing: 1.8px; }
  h2,.story h2 { font-size: 39px; letter-spacing: -1.7px; }
  .story h2 { margin-top: 17px; margin-bottom: 24px; }
  .story h2 br:nth-of-type(2) { display: none; }
  .story p:first-of-type br { display: none; }
  .story p { font-size: 16px; }
  .story-image-frame img { aspect-ratio: 1; }
  .story-photo-caption { display: flex; font-size: 12px; margin-top: 15px; }
  .story-photo-caption>span { margin: 0; }
  .story-photo-caption span:first-child { font-size: 12px; }
  .image-hover-label { opacity: 1; transform: none; right: 14px; bottom: 14px; font-size: 12px; padding: 9px 12px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 38px; }
  .section-heading p { font-size: 16px; margin-top: 18px; }
  .moments-grid { grid-template-columns: 1fr; gap: 37px; }
  .moment-photo img { aspect-ratio: 1; }
  .mood-tag { top: 15px; left: 15px; font-size: 12px; padding: 7px 11px; }
  .moment-card figcaption { padding-top: 18px; }
  .moment-card h3 { font-size: 26px; }
  .moment-card p { font-size: 16px; margin-top: 6px; }
  .moments-footnote { font-size: 12px; margin-top: 32px; padding-top: 23px; gap: 8px; }
  .community { padding-block: 55px; }
  .community-panel { grid-template-columns: 1fr; }
  .community-copy { padding: 36px 25px 6px; }
  .community h2 { font-size: 36px; letter-spacing: -1.7px; }
  .community p { margin-top: 18px; font-size: 16px; }
  .community .eyebrow { font-size: 12px; }
  .community-buttons { gap: 10px; margin-top: 24px; }
  .community-buttons .button { font-size: 13px; padding: 16px 20px; }
  .community-art { height: 285px; min-height: 0; }
  .community-art img { object-position: center 36%; }
  .community-art::after { background: linear-gradient(#162837,transparent 40%); }
  .footer-top { flex-wrap: wrap; gap: 25px; }
  .footer-top nav { gap: 20px; font-size: 13px; }
  .footer-bottom { flex-direction: column; gap: 8px; font-size: 12px; }
  .toast { padding: 14px 19px; bottom: 18px; font-size: 13px; }
  .image-viewer { padding: 18px; }
  .viewer-header { font-size: 12px; }
  .viewer-stage { height: min(55vh,500px); }
  .viewer-info { flex-direction: column; align-items: flex-start; gap: 20px; }
  .viewer-info h2 { font-size: 24px; }
  .viewer-controls { justify-content: space-between; width: 100%; }
  .viewer-thumbnails { gap: 8px; margin-top: 20px; }
  .viewer-thumbnails button { width: 45px; height: 45px; }
  .viewer-hint { font-size: 12px; }
}
@media (max-width: 359px) {
  .shell { width: calc(100% - 28px); }
  .site-header { padding-inline: 10px; gap: 10px; }
  .brand { font-size: 24px; }
  .brand img { width: 31px; height: 31px; }
  .button-small { font-size: 12px; padding: 12px; }
  .header-actions { gap: 6px; }
  .hero-buttons .button { padding: 16px 19px; }
  .contract-wrap { gap: 11px; }
  .contract-identity { padding-right: 11px; }
  .community-copy { padding-inline: 22px; }
  .community h2 { font-size: 32px; }
  .community-buttons .button { padding: 15px 16px; }
  .portrait-action { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation: none !important; transition: none !important; }
  .motion-ready [data-reveal] { opacity: 1; transform: none; }
  .portrait-frame { transform: none !important; }
  .hero-portrait,.moment-photo img,.story-image-frame img,.button { transform: none !important; }
}

/* Keep controls and secondary captions legible on small screens. */
.button-small,.community-buttons .button,.desktop-nav a,.footer-top nav,.portrait-action,.image-hover-label { font-size: 14px; }
