/* Fluid sizing, touch controls and safe areas for phones and tablets. */
html { -webkit-text-size-adjust: 100%; }
body { overflow-wrap: break-word; }
img, svg, iframe { max-width: 100%; }
.hero, .gallery, .essence-grid, .video-layout, .social-section { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
.hero-copy, .hero-art, .product, .product-info > div, .video-feature, .video-aside, .socials, .section-head > * { min-width: 0; }
.section-head > p { flex: 0 1 310px; }
.hero-actions { flex-wrap: wrap; }
.button { min-height: 48px; max-width: 100%; line-height: 1.5; text-align: center; }
.button > span, .social-icon, .socials a > span:last-child { flex-shrink: 0; }
.text-link, nav a, .filters button { min-height: 44px; align-items: center; }
.text-link { padding-block: 10px; }
.product-info { gap: 12px; }
.product-info > a { flex: 0 0 44px; width: 44px; height: 44px; }
.image-button { height: auto; aspect-ratio: 1 / 1.1; }
.video-cover { height: auto; aspect-ratio: 16 / 10; }
.orbit { width: min(470px, 95%); height: auto; aspect-ratio: 1; }
.orbit-two { width: min(540px, 105%); height: auto; }
.video-caption { flex-wrap: wrap; }
.floating-wa { right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-width: 52px; min-height: 52px; justify-content: center; }
footer { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
dialog { width: min(950px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 56px 20px 24px; overflow: auto; }
.dialog-close { width: 44px; height: 44px; top: 4px; right: 4px; }
dialog img { max-height: calc(100dvh - 160px); }
#video-dialog { width: min(900px, calc(100vw - 24px)); }
@media (max-width: 1100px) {
  header { height: auto; min-height: 85px; padding-block: 16px; gap: 20px; }
  .menu { display: block; flex-shrink: 0; border: 1px solid var(--line); background: none; color: var(--gold); width: 44px; height: 44px; font-size: 24px; }
  nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #0b2921; padding: 20px 6%; gap: 10px; align-items: stretch; flex-direction: column; border-bottom: 1px solid var(--line); max-height: calc(100dvh - 85px); overflow-y: auto; }
  nav.open { display: flex; }
  nav a { display: flex; padding: 12px; }
  .nav-contact { justify-content: space-between; }
  h1 { font-size: clamp(3rem, 7.4vw, 5rem); letter-spacing: -.025em; }
  .hero-art { height: auto; aspect-ratio: 1; }
  .art-tag { right: 0; }
  .essence-grid { gap: 40px; }
  .video-layout { gap: 30px; }
  .video-aside .button { gap: 12px; }
  .section-head { gap: 30px; }
}
@media (min-width: 701px) and (max-width: 900px) {
  .section { padding-block: 80px; }
  .section-head { display: block; }
  .section-head > p { max-width: 550px; margin-top: 24px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-layout { grid-template-columns: minmax(0, 1fr); }
  .video-aside { max-width: 600px; }
  .social-section { gap: 35px; }
}
@media (max-width: 700px) {
  .hero, .gallery, .essence-grid, .video-layout, .social-section { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: 0; padding-top: 40px; }
  h1 { font-size: clamp(2.75rem, 10.2vw, 4.5rem); line-height: 1.05; }
  h2, .contact h2 { font-size: clamp(2.2rem, 7.8vw, 3.4rem); line-height: 1.12; letter-spacing: -.025em; }
  .eyebrow { font-size: .75rem; letter-spacing: 1.5px; line-height: 1.7; }
  .hero-art { width: 100%; max-width: 440px; margin-inline: auto; height: auto; aspect-ratio: 1; }
  .hero-art img { width: 74%; height: 74%; }
  .orbit { width: 88%; }
  .orbit-two { width: 98%; }
  .hero-note { line-height: 1.8; letter-spacing: 1.4px; }
  .hero-note span { margin-right: 10px; }
  .art-tag { font-size: clamp(1rem, 4vw, 1.3rem); }
  .scroll-note { font-size: .75rem; letter-spacing: 1px; }
  .scroll-note span { margin-left: 12px; }
  .section { padding-block: 60px; }
  .gallery { gap: 30px; }
  .filters button { font-size: .875rem; padding: 10px 14px; }
  .product-info h3 { font-size: clamp(1.5rem, 6.5vw, 1.9rem); }
  .essence-text { font-size: clamp(1.4rem, 5.5vw, 1.8rem); }
  .video-aside h3 { font-size: clamp(2.4rem, 9vw, 3.2rem); }
  .video-cover button { font-size: .875rem; letter-spacing: 1px; }
  .socials a { min-height: 64px; gap: 14px; }
  .contact .button { margin-top: 28px; }
  .contact > p:last-child { line-height: 1.8; }
}
@media (max-width: 380px) {
  .brand { font-size: .875rem; letter-spacing: 1.5px; gap: 7px; }
  .brand small { font-size: .5625rem; letter-spacing: 1.5px; }
  .mark { font-size: 36px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 12px; }
  .hero-actions .button, .video-aside .button, .contact .button { width: 100%; gap: 10px; padding: 15px 12px; }
  .hero-actions .text-link { justify-content: center; }
  .values > div { padding-left: 32px; }
  dialog { padding-inline: 12px; }
}
@media (hover: none) {
  .button:hover { transform: none; }
  .image-button:hover img { transform: none; }
  .socials a:hover { padding-left: 0; }
}
@media (max-height: 500px) and (orientation: landscape) {
  nav { max-height: calc(100dvh - 85px); }
  dialog img { max-height: calc(100dvh - 120px); }
  #video-dialog { width: min(600px, calc(100vw - 24px)); }
  #video-container { max-height: calc(100dvh - 150px); }
}
