.home-mobile-album,
.album-header-link,
.modal-jumps,
.phone-gallery-hint,
.album-page .home-menu-toggle {
  display: none;
}

@media (max-width: 760px) {
  :root {
    --phone-gutter: clamp(16px, 4.5vw, 28px);
  }

  .home-header .home-menu-toggle,
  .album-page .home-menu-toggle {
    width: 44px;
    height: 44px;
  }

  .home-header .home-nav.is-open,
  .album-page .topnav.is-open {
    overscroll-behavior: contain;
  }

  .home-hero {
    min-height: 0;
    display: block;
    padding-block: 0 24px;
  }

  .home-hero__content {
    position: relative;
    padding-block: clamp(108px, 22svh, 164px) 18px;
    padding-inline: var(--phone-gutter) !important;
  }

  .home-hero h1 {
    font-size: clamp(36px, 9.6vw, 66px);
    line-height: 1;
    overflow-wrap: normal;
  }

  .home-hero .home-hero__lead {
    font-size: 16px !important;
    max-width: 34ch !important;
  }

  .home-hero__actions {
    gap: 8px;
    margin-top: 20px;
  }

  .home-hero__actions .home-button {
    width: auto;
    padding-inline: 12px;
    letter-spacing: .02em;
    font-size: .76rem;
  }

  .home-hero__actions .home-mobile-album {
    display: inline-flex;
    background: #f2c66d;
    border-color: #f2c66d;
    color: #16130a;
  }

  .home-page:not(.is-suspended) .home-hero__gold-invite {
    position: relative;
    inset: auto;
    z-index: 2;
    width: auto;
    margin-inline: var(--phone-gutter);
  }

  .home-page:not(.is-suspended) .home-hero__gold-invite button {
    grid-template-columns: 52px minmax(0, 1fr);
    min-height: 70px;
    border-radius: 12px;
    gap: 12px;
    padding: 8px 12px;
  }

  .home-page:not(.is-suspended) .home-hero__gold-invite img {
    width: 52px;
    height: 52px;
    border-radius: 10px;
  }

  .home-scroll-cue { display: none; }
  .home-footer { padding-bottom: 32px; }

  .home-section, .gold-page-section, .oikos-section {
    padding: 38px var(--phone-gutter);
    scroll-margin-top: 0;
  }

  .home-section h2 {
    font-size: clamp(28px, 7.8vw, 42px);
    text-wrap: balance;
  }

  .home-section__intro p,
  .gold-page-copy p,
  .oikos-copy p {
    font-size: 1rem;
    line-height: 1.55;
  }

  .home-section__intro--split { gap: 10px; }
  .home-project { gap: 18px; }
  .home-project__numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .home-project__numbers div { min-width: 0; padding: 8px; }
  .home-project__numbers strong { font-size: clamp(28px, 8vw, 42px); }
  .home-project__numbers span { font-size: .68rem; }
  .home-field { gap: 16px; }

  .home-fauna .fauna-gallery,
  .home-field .field-collage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
  }

  .home-fauna .fauna-gallery figure { aspect-ratio: 1 / 1; }
  .fauna-gallery figcaption { padding: 26px 9px 8px; }
  .fauna-gallery em { font-size: .91rem; }
  .fauna-gallery span { font-size: .72rem; line-height: 1.3; }

  .home-team .team-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .home-team .team-member { min-height: 0; }
  .home-team .team-member img { display: block; aspect-ratio: 1 / 1.15; height: auto; }
  .home-team .team-member div { position: static; padding: 8px; background: none; }
  .home-team .team-member h3 { font-size: 1.1rem; }
  .home-team .team-member p { font-size: .77rem; }

  .partner-grid, .resource-panel { margin-top: 18px; }
  .partner-grid .partner-grid__active { min-height: 0; padding: 12px; }
  .resource-panel article { padding: 14px 16px; }
  .resource-panel article > span { display: none; }
  .resource-panel h3 { margin-top: 0; }
  .resource-panel small a { display: inline-flex; align-items: center; min-height: 44px; }

  .album-page .page-shell { overflow: clip; }
  .album-page .topbar {
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    min-height: 60px;
    gap: 8px;
    padding: 7px var(--phone-gutter);
    background: #07120e;
  }

  .album-page .brand { margin-right: auto; gap: 8px; }
  .album-page .brand img { width: 34px; height: 34px; }
  .album-page .brand strong { font-size: clamp(.84rem, 3.9vw, 1.2rem); }
  .album-page .brand small { display: none; }
  .album-page .home-menu-toggle {
    display: grid;
    place-content: center;
    gap: 4px;
    padding: 0;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #112015;
  }

  .album-page .home-menu-toggle span {
    display: block;
    width: 17px;
    height: 2px;
    background: var(--gold);
  }

  .album-header-link {
    display: inline-grid;
    place-items: center;
    min-height: 44px;
    padding-inline: 9px;
    color: var(--gold);
    font-size: .85rem;
    font-weight: 700;
    text-decoration: none;
  }

  .album-page .topbar .topnav {
    display: none;
    position: absolute;
    inset: calc(100% + 4px) var(--phone-gutter) auto;
    width: auto;
    max-height: calc(100dvh - 80px);
    padding: 8px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #08160e;
    box-shadow: 0 18px 32px #0008;
  }

  .album-page .topbar .topnav.is-open { display: grid; }
  .album-page .topnav .home-products-menu > div {
    position: static;
    width: auto;
    max-height: none;
    padding: 4px;
    box-shadow: none;
  }

  .album-page .topnav :is(a, summary) {
    display: flex;
    align-items: center;
    min-height: 44px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .album-page .topnav .home-products-menu a { display: grid; }
  .album-page .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 24px var(--phone-gutter) 18px;
  }

  .album-page .hero-copy { grid-row: 1; }
  .album-page .hero-copy h1 { font-size: clamp(35px, 10vw, 58px); line-height: .99; }
  .album-page .hero-copy > p:not(.eyebrow) { font-size: 1rem; line-height: 1.55; }
  .album-page .hero-actions { gap: 8px; margin-top: 16px; }
  .album-page .hero-actions .button { min-height: 46px; padding-inline: 13px; }
  .album-page .hero-stage { min-height: 0; }
  .album-page .hero-stage .poster {
    display: grid;
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 9px;
    aspect-ratio: auto;
    transform: none;
  }

  .album-page .poster img { width: 100%; height: auto; }
  .album-page .poster::after { content: none; }
  .album-page .poster-badge { position: static; padding: 0; background: none; border: 0; }
  .album-page .poster-badge span { font-size: .79rem; }
  .album-page .institutional-strip {
    grid-row: 3;
    margin: 0;
    padding: 10px;
    gap: 7px;
  }

  .album-page .institutional-logos {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 5px;
  }

  .album-page .institutional-logos img { width: 100%; height: 42px; padding: 4px; }
  .album-page .section { padding: 28px var(--phone-gutter); }
  .album-page .section-head { gap: 8px; }
  .album-page .section-head h2 { font-size: clamp(26px, 7.7vw, 40px); }
  .album-page .album-context { margin: 12px 0 18px; font-size: .875rem; }
  .album-page .controls { gap: 8px; }
  .album-page .search { min-height: 46px; font-size: 16px; border-radius: 10px; }
  .album-page .filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
  .album-page .filter { min-height: 44px; padding: 6px 2px; font-size: .75rem; }
  .album-page .album-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 0;
    border: 0;
    background: none;
  }

  .album-page .species-card { display: grid; min-width: 0; padding: 4px; border-radius: 12px; align-content: start; box-shadow: none; }
  .album-page .species-card__image { padding: 3px; border-radius: 8px; }
  .album-page .species-card__image img { min-width: 0; min-height: 0; filter: none; }
  .album-page .species-card__body { padding: 8px 5px 10px; }
  .album-page .species-card h3 { font-size: .95rem; line-height: 1.2; }
  .album-page .species-card p { font-size: .76rem; }
  .album-page .species-card .tag-row { gap: 3px; margin-bottom: 6px; }
  .album-page .species-card .tag { min-height: 19px; padding: 1px 5px; font-size: .59rem; }
  .album-page .species-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

  .album-page .modal { padding: 0; backdrop-filter: none; }
  .album-page .modal-card {
    width: 100%;
    height: 100dvh;
    max-height: none;
    border: 0;
    border-radius: 0;
    overscroll-behavior: contain;
    scroll-padding-top: 62px;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
    background: #08130d;
  }

  .album-page .modal-close {
    top: max(8px, env(safe-area-inset-top));
    margin: 8px 12px -52px auto;
    background: #101e14;
  }

  .album-page .modal-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
  .album-page .content-panel { display: contents; }
  .album-page .modal-heading { grid-row: 1; padding: 16px var(--phone-gutter) 12px; padding-right: max(66px, var(--phone-gutter)); }
  .album-page .modal-heading h2 { font-size: clamp(26px, 7.6vw, 39px); line-height: 1.05; }
  .album-page .modal-jumps { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
  .album-page .modal-jumps button {
    min-height: 44px;
    padding: 4px 9px;
    color: var(--gold);
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #152119;
    font-size: .79rem;
  }

  .album-page .modal-jumps [hidden] { display: none; }
  .album-page .media-panel { grid-row: 2; padding: 0 var(--phone-gutter) 14px; }
  .album-page .photo-frame, .album-page .photo-frame img { min-height: 0; }
  .album-page .photo-frame img { height: clamp(148px, 30svh, 270px); }
  .album-page .thumbs button { flex-basis: 54px; height: 44px; }
  .album-page .sticker-strip { grid-template-columns: 58px minmax(0, 1fr); gap: 9px; padding: 8px; }
  .album-page .sticker-strip img { max-height: 86px; }
  .album-page .fact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-inline: var(--phone-gutter); }
  .album-page .modal-text, .album-page .species-sources, .album-page .safety { margin-inline: var(--phone-gutter); }
  .album-page .modal-text { line-height: 1.6; }
  .album-page .modal-grid { padding-bottom: 24px; }

  .oikos-page .oikos-hero { padding: 88px var(--phone-gutter) 24px; gap: 14px; }
  .oikos-page .oikos-hero h1 { font-size: clamp(32px, 10.4vw, 52px) !important; margin: 8px 0 12px; }
  .oikos-page .oikos-hero__content p:not(.home-eyebrow) { width: 100% !important; font-size: 1rem; }
  .oikos-page .oikos-actions, .oikos-page .oikos-tags { margin-top: 12px; }
  .oikos-page .oikos-logo-card { display: grid; min-height: 0; padding: 4px; }
  .oikos-page .oikos-logo-card .oikos-logo-img { width: min(100%, 160px); max-height: 77px; object-fit: contain; }
  .oikos-page .oikos-feature-grid { gap: 0; margin-top: 16px; border-top: 1px solid #a7683f55; }
  .oikos-page .oikos-feature-grid article {
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid #a7683f55;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .oikos-page .oikos-feature-grid h3 { margin: 0 0 4px; font-size: 1.15rem; }
  .phone-gallery-hint { display: block; margin: 12px 0 0; color: #ffdfbd; font-size: .85rem; }
  .oikos-page .oikos-screen-grid.oikos-screen-grid--current {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(148px, 47%);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    overscroll-behavior-inline: contain;
    margin-top: 9px;
    padding-bottom: 8px;
  }

  .oikos-page .oikos-screen-grid--current .oikos-phone { scroll-snap-align: start; }

  .gold-page .gold-page-hero { min-height: 0; }
  .gold-page .gold-page-hero__content {
    gap: 14px;
    padding: 88px var(--phone-gutter) 22px;
    width: 100%;
  }

  .gold-page .gold-page-hero h1 { font-size: clamp(48px, 14vw, 76px); }
  .gold-page .gold-hero-avatar {
    display: grid;
    grid-template-columns: 84px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 10px;
  }
  .gold-page .gold-hero-avatar::before { display: none; }
  .gold-page .gold-hero-avatar img { height: 84px; }
  .gold-page .gold-hero-avatar figcaption { padding: 0; border: 0; }
  .gold-page .gold-capability-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 0; }
  .gold-page .gold-capability-strip article { padding: 12px; }
  .gold-page .gold-question-examples { gap: 6px; }

  :is(.sigmai-page, .topotrail-page) .product-site-brand strong { font-size: clamp(11px, 3.4vw, 17px); }
  :is(.sigmai-page, .topotrail-page) .product-site-nav :is(summary, .product-site-home) { min-height: 44px; }
  .sigmai-page .hero, .topotrail-page header { padding: 22px var(--phone-gutter); }
  .sigmai-page .hero-grid, .topotrail-page .hero { position: relative; display: block; width: 100%; }
  .sigmai-page .brand-mark, .topotrail-page .hero img {
    position: absolute;
    top: 1px;
    right: 0;
    width: 57px;
    height: 57px;
    padding: 5px;
    border-radius: 8px;
  }

  :is(.sigmai-page, .topotrail-page) header h1 { font-size: clamp(37px, 10.8vw, 58px); margin-right: 64px; }
  :is(.sigmai-page, .topotrail-page) .eyebrow { padding-right: 60px; font-size: .71rem; }
  :is(.sigmai-page, .topotrail-page) .subtitle { font-size: 1rem; line-height: 1.5; }
  :is(.sigmai-page, .topotrail-page) .hero-actions { gap: 7px; margin-top: 13px; }
  :is(.sigmai-page, .topotrail-page) .hero-action { padding-inline: 10px; font-size: .72rem; }
  :is(.sigmai-page, .topotrail-page) .hero-badges { gap: 5px; margin-top: 12px; }
  :is(.sigmai-page, .topotrail-page) .badge { font-size: .78rem; padding: 5px 9px; }
  :is(.sigmai-page, .topotrail-page) section { scroll-margin-top: 0; }
  .sigmai-page main { padding: 25px var(--phone-gutter) 32px; }
  .sigmai-page main section { margin-bottom: 26px; }
  :is(.sigmai-page, .topotrail-page) .grid { gap: 0; }
  :is(.sigmai-page, .topotrail-page) .card {
    padding: 12px 0;
    border: 0;
    border-bottom: 1px solid var(--sigmai-line, var(--line));
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .topotrail-page .steps { gap: 6px; }
  .topotrail-page .step {
    padding: 12px 12px 12px 50px;
  }

  .topotrail-page .step::before { position: absolute; top: 12px; left: 10px; }
  .topotrail-page .step p { margin: 0; }
}

@media (max-width: 760px) and (orientation: portrait) {
  .chat-stage .chat-canvas {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    width: 100%;
    height: var(--chat-viewport-height, 100dvh);
    padding: max(8px, env(safe-area-inset-top)) 10px max(8px, env(safe-area-inset-bottom));
    gap: 8px;
  }

  .chat-stage .chat-back { position: relative; inset: auto; justify-self: start; min-height: 44px; }
  .chat-stage .gold-panel {
    position: relative;
    inset: auto;
    width: auto;
    height: auto;
    min-height: 0;
  }

  .chat-stage .gold-mobile-chat-header { min-height: 56px; padding: 4px 12px 4px 65px; }
  .chat-stage .avatar-card { top: calc(max(8px, env(safe-area-inset-top)) + 58px); left: 22px; width: 44px; height: 44px; }
  .chat-stage .message p { font-size: 1rem; line-height: 1.55; }
  .chat-stage .composer {
    position: relative;
    inset: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px;
    align-items: center;
    gap: 6px;
    width: auto;
    height: auto;
    padding: 6px;
    border-radius: 14px;
  }

  .chat-stage .composer textarea {
    position: static;
    width: 100%;
    height: 46px;
    min-height: 46px;
    padding: 10px;
    border-radius: 9px;
    font-size: 16px;
  }

  .chat-stage .send-button { position: relative; inset: auto; width: 44px; height: 44px; }
}
