.refresh-home { background: var(--paper); }
#about, #products, #stories, #institution, #contact { scroll-margin-top: 5rem; }
.header-contact { padding: .6rem 1rem; border: 1px solid currentColor; font-size: var(--text-sm); line-height: 1; }
.menu-button { min-width: 3.4rem; }
.menu-button span { width: auto; white-space: nowrap; writing-mode: horizontal-tb; }
.refresh-link { display: inline-flex; align-items: center; min-height: 2.9rem; padding: .3rem 0; border-bottom: 1px solid currentColor; font-size: .92rem; font-weight: 600; }
.refresh-link-light { color: var(--green-dark); border-color: rgba(20, 54, 42, .55); }

.refresh-home .hero { min-height: max(44rem, 100svh); }
.refresh-home .hero::after { background: linear-gradient(90deg, rgba(243,240,232,.42) 0%, rgba(243,240,232,.15) 36%, rgba(243,240,232,0) 58%); }
.refresh-home .hero-media img { object-position: center; }
.refresh-home .hero-copy { width: min(48vw, 46rem); padding: calc(var(--header-h) + 3rem) 0 3.5rem; margin-left: clamp(2rem, 7vw, 7rem); }
.refresh-home .hero .eyebrow { margin: 0 0 2.25rem; color: var(--orange); font-size: .75rem; }
.refresh-home .hero h1 { max-width: none; font-size: clamp(4rem, 5.8vw, 6.8rem); line-height: 1.12; letter-spacing: -.05em; }
.refresh-home .hero h1 span:last-child { margin-left: 0; }
.refresh-home .hero-description { max-width: 28rem; margin: 1.9rem 0 0; font-size: clamp(1rem, 1.2vw, 1.2rem); }
.refresh-home .hero-cta { margin: 2rem 0 0; }
.refresh-home .hero-cta .refresh-link { min-width: 7.5rem; min-height: 3.25rem; justify-content: center; padding: .5rem 1.5rem; color: #fff; background: var(--green-dark); border: 0; }

.refresh-about { min-height: 44rem; padding-block: var(--section-y); display: grid; grid-template-columns: .7fr 2.2fr .85fr; gap: var(--gap); align-items: start; }
.refresh-about-copy h2, .refresh-section-head h2, .refresh-story-copy h2, .refresh-institution h2, .refresh-contact h2 { margin: 0; font-family: var(--font-display); font-weight: 400; letter-spacing: -.04em; line-height: 1.12; }
.refresh-about-copy h2, .refresh-section-head h2, .refresh-institution h2 { font-size: var(--title-md); }
.refresh-about-copy > p { width: min(35rem, 78%); margin: 3rem 0 0 auto; color: var(--muted); font-size: 1.05rem; }
.refresh-about-note { align-self: end; margin: 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--green); font-size: .9rem; }

.refresh-products { padding-block: var(--section-y); background: var(--paper-light); }
.refresh-section-head { display: grid; grid-template-columns: .7fr 2.2fr .85fr; gap: var(--gap); align-items: end; margin-bottom: clamp(4rem, 7vw, 7rem); }
.refresh-section-head > div > p { max-width: 32rem; margin: 2rem 0 0; color: var(--muted); }
.refresh-section-head > .refresh-link { justify-self: end; }
.studio-gallery { overflow: hidden; }
.studio-gallery-toolbar { margin-bottom: 1.5rem; display: flex; align-items: end; justify-content: space-between; gap: 2rem; }
.studio-gallery-toolbar > p { margin: 0; color: var(--green-dark); font-family: var(--font-display); font-size: clamp(1.35rem, 2vw, 2rem); line-height: 1.45; }
.studio-gallery-controls { display: flex; gap: .55rem; }
.studio-gallery-controls button { min-width: 4rem; height: 2.85rem; padding-inline: .9rem; border: 1px solid var(--line); color: var(--green-dark); background: transparent; font-size: .82rem; font-weight: 600; transition: color .2s, background .2s, opacity .2s; }
.studio-gallery-controls button:hover:not(:disabled) { color: #fff; background: var(--green-dark); }
.studio-gallery-controls button:disabled { opacity: .28; cursor: default; }
.studio-gallery-track { display: flex; gap: clamp(.9rem, 1.4vw, 1.35rem); overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.studio-gallery-track::-webkit-scrollbar { display: none; }
.studio-gallery-track:focus-visible { box-shadow: 0 0 0 2px var(--paper-light), 0 0 0 4px var(--green); }
.studio-gallery-slide { flex: 0 0 clamp(19rem, 34vw, 31rem); min-width: 0; margin: 0; scroll-snap-align: start; }
.studio-gallery-slide img { width: 100%; aspect-ratio: 1; display: block; object-fit: cover; background: #ebe6dd; }
.studio-gallery-slide > img, .studio-gallery-frame { height: 34vw; min-height: 19rem; max-height: 31rem; aspect-ratio: auto; }
.studio-gallery-frame { width: 100%; aspect-ratio: 1; overflow: hidden; background: #ebe6dd; }
.studio-gallery-frame img { height: 100%; aspect-ratio: auto; }
.studio-gallery-frame--ornament img { transform: scale(1.24); transform-origin: center; }
.studio-gallery-slide figcaption { padding: 1rem 0 1.35rem; display: grid; grid-template-columns: 5.75rem 1fr; gap: 1rem; border-bottom: 1px solid var(--line); }
.studio-gallery-slide figcaption span { color: var(--orange); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.studio-gallery-slide figcaption p { margin: 0; color: var(--green-dark); font-family: var(--font-display); font-size: clamp(1.05rem, 1.5vw, 1.35rem); line-height: 1.45; }
.studio-gallery-paths { margin-top: 2.25rem; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.studio-gallery-paths a { min-height: 6.5rem; padding: 1.25rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; transition: color .2s, background .2s; }
.studio-gallery-paths a + a { border-left: 1px solid var(--line); }
.studio-gallery-paths a:hover { color: #fff; background: var(--green-dark); }
.studio-gallery-paths span { color: var(--muted); font-size: .8rem; }
.studio-gallery-paths a:hover span { color: rgba(255,255,255,.65); }
.studio-gallery-paths strong { font-family: var(--font-display); font-size: 1.1rem; font-weight: 500; }

.refresh-stories { min-height: 0; padding-block: var(--section-y); display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(22rem, .85fr); gap: clamp(4rem, 10vw, 11rem); color: var(--green-dark); background: #e8eee8; }
.refresh-story-intro h2 { margin: 2.5rem 0 0; max-width: 12ch; font-family: var(--font-display); font-size: clamp(3.2rem, 5.4vw, 6.5rem); font-weight: 400; letter-spacing: -.045em; line-height: 1.12; }
.refresh-story-intro > p { max-width: 37rem; margin: 2.25rem 0 0; color: var(--muted); }
.refresh-story-links { display: flex; flex-wrap: wrap; gap: 2rem; margin-top: 2.25rem; }
.refresh-story-points { align-self: end; border-top: 1px solid rgba(20,54,42,.25); }
.refresh-story-points article { display: grid; grid-template-columns: 7rem 1fr; gap: 1.5rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(20,54,42,.25); }
.refresh-story-points span { color: var(--orange); font-size: .875rem; font-weight: 600; }
.refresh-story-points p { margin: 0; color: var(--green-dark); }

.refresh-institution { padding-block: var(--section-y); display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(4rem, 10vw, 11rem); align-items: end; }
.refresh-institution h2 { margin-top: 2.5rem; }
.refresh-institution-intro > p { max-width: 36rem; margin: 2rem 0; color: var(--muted); }
.refresh-button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.6rem; padding: 0 1.5rem; color: #fff; background: var(--green); font-weight: 600; }
.refresh-institution-list { border-top: 1px solid var(--line); }
.refresh-institution-list > div { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); }
.refresh-institution-list span { color: var(--orange); font-size: .875rem; font-weight: 600; }
.refresh-institution-list p { margin: 0; }

.refresh-contact { min-height: 42rem; padding: 7rem var(--page); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--yellow); }
.refresh-contact > p { margin: 0 0 1.5rem; color: var(--green-dark); }
.refresh-contact h2 { font-size: clamp(3.8rem, 7vw, 8rem); }
.refresh-contact-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 3rem; }
.refresh-contact-links a { min-height: 3.4rem; padding: 0 1.4rem; display: inline-flex; align-items: center; border: 1px solid var(--green-dark); font-weight: 600; }
.refresh-contact-links a:first-child { color: #fff; background: var(--green-dark); }
.refresh-footer { padding-top: clamp(4rem, 6vw, 6rem); }
.refresh-footer .footer-main { grid-template-columns: minmax(15rem, 1.6fr) repeat(2, minmax(10rem, .7fr)); gap: clamp(2.5rem, 6vw, 6rem); padding-bottom: clamp(3rem, 5vw, 5rem); }
.refresh-footer .footer-main > .footer-intro { margin: 0; }
.refresh-footer .footer-kicker { margin: 0; color: var(--yellow); font-size: .75rem; font-weight: 600; letter-spacing: .18em; }
.refresh-footer .footer-tagline { max-width: 20rem; margin: 1.25rem 0 0; color: rgba(255,255,255,.72); font-size: var(--text-sm); }
.refresh-footer .footer-bottom { align-items: center; justify-content: flex-end; }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity .75s ease, transform .85s var(--ease); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .header-contact { display: none; }
  .site-header, .site-header.scrolled, .site-header.menu-active { color: var(--green-dark); background: rgba(246,243,235,.97); border-color: rgba(20,54,42,.16); backdrop-filter: blur(16px); }
  .site-header .brand { gap: .55rem; }
  .site-header .brand-symbol { height: 2rem; filter: none; }
  .site-header .brand-wordmark { height: 1.35rem; filter: none; }
  .menu-button { position: relative; display: grid; width: 2.75rem; min-width: 2.75rem; height: 2.75rem; min-height: 2.75rem; padding: 0; color: var(--green-dark); background: transparent; border: 0; border-radius: 0; gap: .38rem; transition: color .25s ease, transform .2s ease; }
  .menu-button:active { transform: scale(.96); }
  .menu-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; }
  .menu-button i { width: 1.55rem; height: 1.5px; }
  .site-header.menu-active .menu-button { color: var(--green-dark); background: transparent; }
  .site-header.menu-active .menu-button i:first-of-type { transform: translateY(.207rem) rotate(45deg); }
  .site-header.menu-active .menu-button i:last-of-type { transform: translateY(-.207rem) rotate(-45deg); }
  .mobile-menu { padding: 2.25rem var(--page) 1.75rem; color: var(--green-dark); background: var(--paper); }
  .mobile-menu nav::before { content: "Moyangsaero · Menu"; display: block; margin-bottom: 1.4rem; color: var(--orange); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
  .mobile-menu a { padding: 1rem 0; border-color: rgba(20,54,42,.2); font-size: clamp(2rem,9.4vw,3.15rem); }
  .mobile-menu p { color: rgba(20,54,42,.55); }
  .refresh-home .hero { min-height: 100svh; padding-top: var(--header-h); display: grid; grid-template-rows: minmax(0, 54svh) auto; align-items: stretch; color: var(--green-dark); background: var(--paper); }
  .refresh-home .hero::after { display: none; }
  .refresh-home .hero-media { position: relative; inset: auto; grid-row: 1; }
  .refresh-home .hero-media img { height: 100%; object-position: 65% center; }
  .refresh-home .hero-copy { grid-row: 2; width: auto; margin: 0; padding: 2.25rem var(--page) 3rem; background: var(--paper); }
  .refresh-home .hero h1 { font-size: clamp(2.65rem, 10.5vw, 4.5rem); line-height: 1.13; }
  .refresh-home .hero-description { margin-top: 1.15rem; font-size: 1rem; }
  .refresh-home .hero-cta { margin-top: 1.6rem; }
  .refresh-home .hero-cta .refresh-link { width: 100%; }
  .refresh-about, .refresh-section-head, .refresh-institution { grid-template-columns: 1fr; }
  .refresh-about { min-height: 0; }
  .refresh-about-copy > p { width: 100%; margin: 2rem 0 0; }
  .refresh-about-note { margin-top: 2rem; }
  .refresh-section-head > .refresh-link { justify-self: start; }
  .refresh-stories { grid-template-columns: 1fr; }
  .refresh-story-intro h2 { max-width: 14ch; }
  .refresh-story-points { align-self: auto; }
}
@media (max-width: 640px) {
  #about, #products, #stories, #institution, #contact { scroll-margin-top: 4.25rem; }
  .hero .eyebrow { display: none; }
  .hero-description, .hero-cta { margin-left: 0; }
  .hero-cta { gap: 1rem; }
  .refresh-home .hero-copy { padding-top: 2.1rem; padding-bottom: 2.75rem; }
  .refresh-home .hero h1 { font-size: clamp(2.45rem, 10.8vw, 3.4rem); }
  .refresh-about, .refresh-products, .refresh-institution { padding-block: 6.5rem; }
  .refresh-about-copy h2, .refresh-section-head h2 { font-size: clamp(2.55rem, 12.2vw, 3.8rem); }
  .refresh-institution h2 { font-size: clamp(2.45rem, 11.5vw, 3.5rem); }
  .studio-gallery-toolbar { margin-bottom: 1.15rem; }
  .studio-gallery-toolbar > p { font-size: 1.15rem; }
  .studio-gallery-controls { display: none; }
  .studio-gallery-track { width: calc(100% + var(--page)); padding-right: var(--page); }
  .studio-gallery-slide { flex-basis: min(74vw, 19rem); }
  .studio-gallery-slide > img, .studio-gallery-frame { height: min(74vw, 19rem); min-height: 0; max-height: none; aspect-ratio: auto; }
  .studio-gallery-slide figcaption { grid-template-columns: 5.25rem 1fr; padding-top: .85rem; }
  .studio-gallery-paths { grid-template-columns: 1fr; margin-top: 1.5rem; }
  .studio-gallery-paths a { min-height: 5.5rem; padding: 1.1rem 0; }
  .studio-gallery-paths a + a { border-left: 0; border-top: 1px solid var(--line); }
  .refresh-stories { padding-block: 6.5rem; }
  .refresh-story-intro h2 { margin-top: 2rem; font-size: clamp(2.55rem, 11.8vw, 4.1rem); }
  .refresh-story-intro > p { margin-top: 1.75rem; }
  .refresh-story-links { gap: 1.25rem; margin-top: 1.75rem; }
  .refresh-story-points article { grid-template-columns: 6.25rem 1fr; gap: 1rem; padding: 1.25rem 0; }
  .refresh-contact { min-height: 0; padding-block: 5rem; }
  .refresh-contact h2 { font-size: clamp(2.9rem, 14vw, 4.5rem); }
  .refresh-contact-links { flex-direction: column; width: 100%; margin-top: 2.25rem; }
  .refresh-contact-links a { justify-content: center; }
  .refresh-footer { padding: 4rem var(--page) 1.5rem; }
  .refresh-footer .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.75rem 1.25rem; padding-bottom: 3rem; }
  .refresh-footer .footer-main > .footer-intro { grid-column: 1 / -1; }
  .refresh-footer .footer-links { gap: .7rem; }
  .refresh-footer .footer-links p { margin-bottom: .6rem; }
}
