/* Each artwork keeps its source proportions, including Safari's tablet layout. */
.hero-gallery{width:100%;max-width:700px;min-height:0;height:auto;aspect-ratio:1 / 1.18;justify-self:center}
.hero-gallery .gallery-frame{margin:0;height:auto}
.hero-gallery .gallery-frame.main{inset:auto;top:0;left:0;width:82%;height:auto}
.hero-gallery .gallery-frame.sub-a{width:40%;aspect-ratio:auto;right:0;bottom:0}
.hero-gallery .gallery-frame.sub-b{width:30%;aspect-ratio:auto;right:0;top:5%}
.hero-gallery .gallery-frame img{display:block;width:100%;height:auto;object-fit:contain}
/* Keep the X shortcut visible next to the navigation on every screen size. */
.header-x{order:3;flex-shrink:0;width:42px;height:42px;padding:10px;border:0;background:transparent}
.footer-x{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:transparent}
.footer-x img{width:24px;height:24px;filter:brightness(0) invert(1)}
.footer-x:hover{opacity:.75}
.footer-x:focus-visible{outline-color:#fff}
.site-nav{margin-left:auto;gap:18px}.header-inner{gap:18px}
.about-letter{background:#faf9f5}
.about-letter .profile-layout{grid-template-columns:minmax(240px,.8fr) minmax(0,1.6fr);gap:64px;align-items:start}
.about-portrait{position:sticky;top:120px;padding-top:36px}
.about-letter .profile-photo{width:100%;aspect-ratio:auto;border:0;border-radius:0;background:transparent}
.about-letter .profile-photo img{display:block;width:100%;height:auto;object-fit:contain}
.portrait-caption{font-family:'Shippori Mincho','Yu Mincho',serif;font-size:24px;font-weight:500;line-height:1.8;text-align:center;margin:24px 0 16px}
.portrait-caption span{display:block}
.portrait-name{text-align:center;font-size:12px;letter-spacing:.2em;font-weight:700;color:#58706c}
.portrait-name span{display:block;font-size:9px;margin-top:5px;letter-spacing:.14em}
.about-letter .profile-copy{padding:0;border:0;border-radius:0;background:transparent;display:block}
.about-letter .section-kicker{font-family:inherit;font-size:12px;letter-spacing:.18em;color:#69786f;margin:0 0 16px}
.about-letter h2{font-family:'Shippori Mincho','Yu Mincho',serif;font-size:38px;font-weight:700;line-height:1.6;letter-spacing:.02em;margin:0 0 30px;padding-bottom:18px;border-bottom:1px solid #b3ada0}
.about-body{font-family:inherit;font-size:17px;font-weight:400;line-height:2;letter-spacing:.02em;color:#182435;line-break:strict}
.about-letter .about-body p{font:inherit;color:inherit;margin:0 0 22px}
.about-body .about-quote{color:#2d6d63!important}
.about-letter .about-signature{margin:26px 0 0;text-align:right;line-height:0}
.about-signature img{display:block;width:280px;max-width:85%;height:auto;margin-left:auto}
.about-letter .profile-meta{margin-top:30px;padding-top:18px;border-top:1px solid #ddd8ce}
.about-x{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:13px;color:#344a46;text-decoration:none}
.about-x img{width:22px;height:22px}.about-x:hover{text-decoration:underline;text-underline-offset:5px}
.fee h2{white-space:pre-line}
.upload-help{font-size:14px;margin:18px 0 24px;border-bottom:1px solid #ddd8ce;padding-bottom:14px}
.upload-help summary{cursor:pointer;color:#234f48;min-height:44px;align-content:center;font-weight:700}
.upload-help p,.upload-help li{font-size:14px;line-height:1.8}.upload-help ol{padding-left:24px}
@media(max-width:1200px){.site-nav{gap:12px;font-size:12px}.header-inner{gap:12px}.site-nav .header-cta{padding-inline:14px}}
@media(max-width:1100px){.site-nav{display:none}.site-nav.is-open{display:flex;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;background:#fbfaf6;padding:20px 25px;box-shadow:0 15px 20px #18243518}.site-nav a{padding:10px}.menu-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-width:54px;min-height:54px;margin-left:0;border:0;background:transparent;box-shadow:none;padding:5px;color:var(--ink);font:inherit;cursor:pointer;flex-shrink:0;order:4}.menu-toggle__icon{display:flex;flex-direction:column;justify-content:space-between;width:28px;height:20px}.menu-toggle__icon span{display:block;width:100%;height:2px;background:currentColor}.menu-toggle__label{font-size:11px;font-weight:700;line-height:1.3}.header-x{margin-left:auto}.about-letter .profile-layout{gap:36px}}
@media(max-width:980px){.about-letter .profile-layout{grid-template-columns:1fr;max-width:760px}.about-portrait{position:static;padding-top:0;max-width:360px;margin:auto}.about-letter h2{font-size:36px}.hero-gallery{max-width:650px;min-height:0}}
@media(max-width:680px){.header-inner{gap:6px}.header-x{width:38px;height:44px;padding:10px 8px}.menu-toggle{min-width:48px}.about-letter{padding-block:60px}.about-letter .profile-layout{gap:36px}.about-portrait{max-width:280px}.about-letter h2{font-size:28px;line-height:1.6;margin-bottom:24px}.about-body{font-size:16px;line-height:2}.about-letter .about-body p{margin-bottom:22px}.portrait-caption{font-size:22px}.about-signature img{width:240px}.hero-gallery{min-height:0}.fee h2{font-size:28px}}
@media(max-width:370px){.brand-text strong{font-size:17px}.brand-text small{font-size:7px}.brand-mark{width:30px;height:30px}.brand{gap:4px}.header-inner{padding-inline:10px}.header-x{width:34px}.menu-toggle{min-width:44px}}

/* Keep the catch copy, artwork and both actions in the initial small viewport.
   The artwork absorbs height changes; text and touch targets keep readable sizes. */
@media (max-width:1180px), (max-width:1366px) and (hover:none) and (pointer:coarse) {
  .home .header-inner{min-height:72px;padding-block:8px}
  .home .hero{
    --hero-admin-offset:0px;
    grid-template-areas:'copy' 'gallery' 'support';
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:auto minmax(120px,1fr) auto;
    width:min(900px,calc(100% - 40px));
    height:calc(100svh - 73px - var(--hero-admin-offset));
    min-height:520px;
    padding:18px 0;
    gap:12px;
    align-content:stretch;
  }
  .home.admin-bar .hero{--hero-admin-offset:32px}
  .hero-copy{width:100%;max-width:none;text-align:center;align-self:center}
  .hero .eyebrow,.hero-lead,.hero .trust-strip{display:none}
  .hero h1{font-size:clamp(34px,4.5vw,48px);line-height:1.25;max-width:none}
  .hero-subtitle{font-size:15px;margin:10px 0 0;letter-spacing:.04em}
  .hero-gallery{
    width:auto;
    height:100%;
    max-width:100%;
    max-height:min(640px,calc((100vw - 72px) * 1.18));
    min-height:0;
    aspect-ratio:1 / 1.18;
    align-self:center;
    justify-self:center;
  }
  .hero-support{width:100%;max-width:680px;justify-self:center;align-self:end}
  .hero-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0}
  .hero-actions .button{min-height:52px;padding:12px 16px;font-size:15px;justify-content:center;line-height:1.5}
  .hero-result-link,.hero-quick-note{text-align:center;font-size:13px;line-height:1.6}
  .hero-result-link{margin:8px 0 4px}
  .hero-result-link a{display:inline-flex;align-items:center;min-height:32px}
  .hero-quick-note{margin:0}
}
@media (max-width:680px) {
  .home .hero{width:calc(100% - 32px);padding:12px 0 16px;gap:10px;min-height:480px}
  .hero h1{font-size:clamp(30px,8.2vw,38px);line-height:1.25}
  .hero-subtitle{font-size:12px;margin-top:7px;letter-spacing:.02em}
  .hero-actions{grid-template-columns:1fr;gap:8px}
  .hero-actions .button{min-height:48px;padding:11px 14px;font-size:14px}
  .hero-result-link,.hero-quick-note{font-size:12px}
  .hero-result-link{margin-top:5px;margin-bottom:0}
}
@media (max-width:782px) {
  .home.admin-bar .hero{--hero-admin-offset:46px}
}
/* On short landscape screens, the copy and artwork share the top row. */
@media (max-width:1180px) and (max-height:600px) and (orientation:landscape) {
  .home .hero{
    grid-template-areas:'copy gallery' 'support support';
    grid-template-columns:minmax(0,1fr) minmax(0,1fr);
    grid-template-rows:minmax(104px,1fr) auto;
    width:min(900px,calc(100% - 40px));
    min-height:240px;
    padding:8px 0;
    gap:8px 24px;
  }
  .hero h1{font-size:clamp(27px,4vw,38px)}
  .hero-subtitle{font-size:12px;max-width:280px;margin:7px auto 0}
  .hero-gallery{max-height:100%}
  .hero-actions{grid-template-columns:1fr 1fr;gap:10px}
  .hero-actions .button{min-height:44px;padding:9px 12px;font-size:13px}
  .hero-result-link{margin-top:2px}
  .hero-quick-note{display:none}
}
