/*
 * DeepBlueBodrum — Premium V6 final visual system
 * Mobile-first composition, restrained typography, visible photography,
 * compact rhythm, accessible touch targets and no fixed control over media.
 */

:root {
  --v6-header-mobile: calc(64px + env(safe-area-inset-top, 0px));
  --v6-gutter: 16px;
  --v6-section-mobile: 50px;
  --v6-card-radius: 20px;
  --v6-surface: rgba(5, 29, 44, .94);
  --v6-line: rgba(151, 226, 239, .18);
  --v6-shadow: 0 22px 60px rgba(0, 7, 13, .34);
}

html { overflow-x: clip; }
body { overflow-x: clip; }
img, video { max-width: 100%; }
h1, h2, h3 { text-wrap: balance; }
p, li { text-wrap: pretty; }

/* The old floating full-width CTA covered photos and copy on phones. */
.mobile-booking-bar { display: none !important; }

.mobile-header-booking { display: none; }

/* Desktop refinements: premium without oversized display type. */
.hero h1 { max-width: 760px; font-size: clamp(3.35rem, 6vw, 5.7rem); line-height: .94; }
.inner-hero__content h1 { max-width: 760px; font-size: clamp(3rem, 5.3vw, 5rem); line-height: .97; }
.booking-hero h1,
.article-hero h1,
.account-hero h1 { max-width: 860px; font-size: clamp(2.8rem, 5vw, 4.85rem); line-height: .98; }
.section-heading h2 { max-width: 880px; font-size: clamp(2.5rem, 4.5vw, 4.45rem); line-height: .99; }
.inner-hero__content p,
.booking-hero p,
.article-hero p { max-width: 650px; }

/* Editorial pages now lead with the photograph instead of a large empty band. */
.article-hero--visual { padding: 132px 0 60px; }
.article-hero__grid {
  display: grid;
  grid-template-columns: minmax(360px, .88fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(38px, 5vw, 74px);
}
.article-hero__media {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  margin: 0;
  border: 1px solid var(--v6-line);
  border-radius: 28px;
  background: #061b29;
  box-shadow: 0 30px 80px rgba(0, 7, 13, .38);
}
.article-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.article-hero--guide .article-hero__media img { object-position: center 58%; }
.article-hero--seasons .article-hero__media img { object-position: center 50%; }
.article-hero__copy { grid-column: 2; grid-row: 1; min-width: 0; }
.article-hero--visual h1 { max-width: 740px; }
.article-layout--visual { padding-top: 54px; }

/* Brand/social details. */
.desktop-nav { gap: clamp(10px, 1.45vw, 22px); }
.desktop-nav a { font-size: .8rem; white-space: nowrap; }
.header-social {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px;
  border: 1px solid rgba(151, 226, 239, .14);
  border-radius: 999px;
  background: rgba(3, 25, 39, .34);
}
.header-social a {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: #dffcff;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.header-social a:hover {
  color: #fff;
  background: rgba(81, 228, 233, .1);
  transform: translateY(-1px);
}
.header-social .social-icon { width: 16px; height: 16px; }
.footer-social a,
.contact-socials a,
.mobile-social a { min-width: 44px; min-height: 44px; }
.social-icon { flex: 0 0 auto; }

.guest-stories-section { background: linear-gradient(180deg, rgba(3, 17, 28, 0), rgba(6, 28, 42, .42)); }
.guest-stories-heading { max-width: 880px; }
.guest-story-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.guest-story-card,
.guest-empty {
  border: 1px solid var(--v6-line);
  border-radius: 22px;
  background: rgba(8, 34, 51, .68);
  box-shadow: 0 22px 60px rgba(0, 7, 13, .24);
}
.guest-story-card { padding: 16px; }
.guest-story-card header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.guest-story-card header > span,
.guest-empty > span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan);
  background: rgba(81, 228, 233, .08);
}
.guest-story-card header strong { display: block; color: #fff; }
.guest-story-card header small,
.guest-story-card p { color: var(--muted); }
.guest-story-card__photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.guest-story-card__photos button {
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(151, 226, 239, .14);
  border-radius: 12px;
  background: #051d2d;
}
.guest-story-card__photos button.is-large { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.guest-story-card__photos img { width: 100%; height: 100%; object-fit: cover; }
.guest-story-card p { margin-top: 14px; line-height: 1.62; }
.guest-empty {
  max-width: 780px;
  margin: 0 auto;
  padding: 34px;
  text-align: center;
}
.guest-empty > span { margin: 0 auto 16px; }
.guest-empty h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.guest-empty p { max-width: 58ch; margin: 12px auto 20px; color: var(--muted); line-height: 1.7; }

.account-share-layout {
  display: grid;
  grid-template-columns: minmax(320px, .78fr) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.share-upload-panel form { display: grid; gap: 16px; }
.media-dropzone--compact { min-height: 210px; }
.member-submission-list { display: grid; gap: 12px; }
.member-submission {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(151, 226, 239, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
}
.member-submission img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  object-fit: cover;
  background: #051d2d;
}
.member-submission strong { display: block; margin-top: 6px; color: #fff; }
.member-submission small,
.member-submission p { color: var(--muted); }

.admin-table-actions,
.user-danger-actions,
.member-review-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.user-detail-card h2 { margin: 8px 0 18px; font-size: 2rem; }
.member-admin-mini-grid,
.member-review-grid {
  display: grid;
  gap: 12px;
}
.member-admin-mini-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.member-admin-mini-grid article,
.member-review-card {
  border: 1px solid rgba(151, 226, 239, .14);
  border-radius: 16px;
  background: rgba(255, 255, 255, .025);
}
.member-admin-mini-grid article { overflow: hidden; padding-bottom: 10px; }
.member-admin-mini-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.member-admin-mini-grid span,
.member-admin-mini-grid small { margin: 8px 10px 0; }
.member-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.member-review-card { overflow: hidden; }
.member-review-card__image img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #051d2d;
}
.member-review-card__body { display: grid; gap: 12px; padding: 14px; }
.member-review-card__head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}
.member-review-card__head strong { display: block; color: #fff; }
.member-review-card__head small,
.member-review-card__body > small,
.member-review-card p { color: var(--muted); }

@media (max-width: 1180px) {
  .header-social { display: none; }
}

@media (max-width: 1060px) {
  .mobile-header-booking {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(112, 232, 238, .28);
    border-radius: 999px;
    color: #d9feff;
    background: rgba(3, 25, 39, .62);
    font-size: .74rem;
    font-weight: 850;
    white-space: nowrap;
  }
  .mobile-header-booking .icon { width: 17px; height: 17px; color: var(--cyan); }
  .article-hero__grid { grid-template-columns: minmax(300px, .9fr) minmax(0, 1fr); }
}

@media (max-width: 820px) {
  .article-hero__grid { grid-template-columns: 1fr; gap: 26px; }
  .article-hero__media,
  .article-hero__copy { grid-column: 1; }
  .article-hero__media { grid-row: 1; width: min(100%, 680px); }
  .article-hero__copy { grid-row: 2; }
  .guest-story-grid,
  .account-share-layout,
  .member-review-grid { grid-template-columns: 1fr; }
  .member-admin-mini-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 680px) {
  :root { --header-mobile: var(--v6-header-mobile); }

  html { scroll-padding-top: calc(var(--v6-header-mobile) + 14px); }
  body { padding-bottom: 0 !important; font-size: 15px; }
  .container { width: min(calc(100% - (var(--v6-gutter) * 2)), var(--container)); }
  .section { padding: var(--v6-section-mobile) 0; }
  .section-heading { margin-bottom: 23px; }
  .section-heading h2 {
    max-width: 20ch;
    font-size: clamp(1.78rem, 7.7vw, 2.12rem);
    line-height: 1.055;
    letter-spacing: -.039em;
  }
  .section-heading p { max-width: 45ch; margin-top: 10px; font-size: .86rem; line-height: 1.62; }
  .eyebrow,
  .hero__kicker,
  .article-hero .eyebrow,
  .booking-hero .eyebrow,
  .account-hero .eyebrow,
  .legal-page .eyebrow { font-size: .59rem; letter-spacing: .155em; line-height: 1.35; }

  /* Header */
  .site-header { min-height: var(--v6-header-mobile); padding: calc(7px + env(safe-area-inset-top, 0px)) 0 7px; border-bottom: 1px solid rgba(151,226,239,.12); background: rgba(2,14,24,.96); backdrop-filter: blur(18px) saturate(135%); }
  .site-header--scrolled { padding: calc(6px + env(safe-area-inset-top, 0px)) 0 6px; }
  .site-header__inner { min-height: 50px; gap: 7px; }
  .brand__icon { width: 38px; height: 38px; border-radius: 11px; }
  .brand__copy strong { font-size: .84rem; letter-spacing: -.02em; }
  .brand__copy small,
  .header-account,
  .header-logout,
  .header-social,
  .language-switch,
  .header-cta { display: none !important; }
  .header-actions { gap: 7px; }
  .mobile-header-booking { width: 42px; min-height: 42px; padding: 0; border-radius: 13px; background: rgba(5, 34, 49, .8); }
  .mobile-header-booking span { display: none; }
  .menu-toggle { width: 42px; height: 42px; border-radius: 13px; }
  .mobile-menu { padding: calc(var(--v6-header-mobile) + 14px) 14px calc(26px + env(safe-area-inset-bottom)); }
  .mobile-menu nav > a { min-height: 54px; }
  .mobile-menu nav > a span { font-size: .98rem; }
  .mobile-menu__actions { margin-top: 16px; }

  .inner-hero--guests > img { object-position: center 54%; }
  .guest-story-grid { gap: 12px; }
  .guest-story-card { padding: 12px; border-radius: 18px; }
  .guest-story-card__photos { gap: 6px; }
  .guest-story-card__photos button { border-radius: 10px; }
  .guest-empty { padding: 22px 16px; border-radius: 18px; }
  .guest-empty h2 { font-size: 1.55rem; line-height: 1.12; }
  .account-share-layout { gap: 12px; }
  .member-submission { grid-template-columns: 104px minmax(0, 1fr); gap: 10px; padding: 9px; }
  .member-submission strong { font-size: .82rem; line-height: 1.25; }
  .member-submission small,
  .member-submission p { font-size: .68rem; line-height: 1.35; }
  .member-review-card__head,
  .member-review-actions,
  .user-danger-actions,
  .admin-table-actions { align-items: stretch; flex-direction: column; }
  .member-review-actions .button,
  .member-review-actions form,
  .member-review-actions button,
  .user-danger-actions form,
  .user-danger-actions button { width: 100%; }

  /* Home: clear photo, compact copy, no control over the image. */
  .hero { min-height: 0 !important; display: block; overflow: visible; padding: var(--v6-header-mobile) 0 0; }
  .hero::before { display: none; }
  .hero__media,
  .hero__overlay,
  .hero__grid { height: clamp(286px, 78vw, 330px); }
  .hero__media { position: relative; inset: auto; width: 100%; display: block; overflow: hidden; }
  .hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; filter: saturate(1.02) contrast(1.01) brightness(.99); transform: none; }
  .hero__overlay { top: var(--v6-header-mobile); bottom: auto; background: linear-gradient(180deg, rgba(2,13,22,.38), rgba(2,13,22,.02) 45%, rgba(2,13,22,.72)); }
  .hero__grid { top: var(--v6-header-mobile); bottom: auto; opacity: .045; }
  .hero__content { width: min(calc(100% - (var(--v6-gutter) * 2)), var(--container)); display: block; min-height: 0 !important; margin: -28px auto 0; padding: 0 0 42px; }
  .hero__copy { position: relative; z-index: 3; width: 100%; max-width: none; padding: 18px 17px 18px; border: 1px solid var(--v6-line); border-radius: var(--v6-card-radius); background: linear-gradient(155deg, rgba(9,42,60,.98), rgba(3,18,29,.99)); box-shadow: var(--v6-shadow); }
  .hero__kicker { margin-bottom: 9px; padding: 0; border: 0; background: none; box-shadow: none; backdrop-filter: none; font-size: .55rem; }
  .hero h1,
  .hero__copy h1 { max-width: 13ch; font-size: clamp(1.98rem, 8.8vw, 2.32rem); line-height: 1.015; letter-spacing: -.046em; }
  .hero__copy > p { max-width: 43ch; margin-top: 11px; font-size: .84rem; line-height: 1.58; }
  .hero__actions { display: grid; gap: 8px; margin-top: 16px; }
  .hero__actions .button { width: 100%; min-height: 47px; font-size: .78rem; }
  .hero__trust { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; margin-top: 12px; }
  .hero__trust span,
  .hero__trust span:last-child { min-width: 0; min-height: 42px; display: flex; flex-direction: column; justify-content: center; gap: 3px; padding: 6px; border-radius: 11px; font-size: .58rem; line-height: 1.2; text-align: center; }
  .hero__trust .icon { width: 14px; height: 14px; }
  .availability-preview { width: 100%; margin-top: 12px; border-radius: 18px; }
  .availability-preview__head { padding: 15px 15px 12px; }
  .availability-preview__head > span { font-size: .54rem; }
  .availability-preview__head strong { font-size: 1rem; }
  .availability-preview__head small { font-size: .66rem; }
  .availability-preview__days { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; padding: 9px; }
  .availability-day { min-height: 76px; align-items: stretch; flex-direction: column; justify-content: center; gap: 6px; padding: 9px; border: 1px solid rgba(157,222,236,.14); border-radius: 12px; }
  .availability-day:nth-child(n+5) { display: none; }
  .availability-day > span { grid-template-columns: 1fr auto auto; gap: 4px; }
  .availability-day strong { font-size: 1.02rem; }
  .availability-day b { width: 100%; min-width: 0; padding: 5px 7px; font-size: .61rem; }
  .availability-preview__link { min-height: 47px; padding-inline: 15px; font-size: .75rem; }
  .hero__scroll { display: none; }

  /* Home sections */
  .signal-strip__inner { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .signal-strip__inner > div,
  .signal-strip__inner > div:nth-child(n) { min-height: 66px; align-items: flex-start; flex-direction: column; justify-content: center; gap: 4px; padding: 10px 12px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .signal-strip__inner > div:nth-child(2n) { border-right: 0; }
  .signal-strip__inner > div:nth-last-child(-n+2) { border-bottom: 0; }
  .signal-strip span { font-size: .61rem; }
  .experience-grid { gap: 12px; }
  .experience-card,
  .experience-card:first-child { min-height: 330px; border-radius: 20px; }
  .experience-card__content { padding: 19px; }
  .experience-card__content h3 { font-size: 1.38rem; }
  .experience-card__content p { font-size: .8rem; line-height: 1.52; }
  .experience-card__content > span:last-child { margin-top: 14px; font-size: .72rem; }
  .speed-section__grid,
  .boat-section__grid,
  .captain-section__grid { gap: 27px; }
  .video-frame { min-height: 330px; border-radius: 20px; }
  .feature-list > div { padding: 13px 0; }
  .feature-list strong { font-size: .86rem; }
  .feature-list small { font-size: .72rem; }
  .boat-collage { min-height: 350px; }
  .boat-collage__detail { width: 130px; height: 166px; }
  .boat-section__copy .button { width: 100%; }
  .captain-photo { min-height: 350px; }
  .captain-section blockquote { font-size: 1.08rem; line-height: 1.48; }
  .gallery-mosaic { grid-template-rows: 220px 150px; }
  .final-cta { padding: 60px 0 70px; }
  .final-cta h2 { max-width: 17ch; font-size: clamp(1.9rem, 8.5vw, 2.3rem); line-height: 1.04; }
  .final-cta p { font-size: .86rem; }

  /* Image-led public inner pages */
  .inner-hero { min-height: 0 !important; display: block; overflow: visible; padding-top: var(--v6-header-mobile); background: var(--navy-950); }
  .inner-hero > img { position: relative; inset: auto; width: 100%; height: clamp(238px, 67vw, 278px); display: block; object-fit: cover; }
  .inner-hero--fishing > img,
  .inner-hero--boat > img { object-position: center 56%; }
  .inner-hero--gallery > img { object-position: center 48%; }
  .inner-hero--contact > img { object-position: center 43%; }
  .inner-hero__overlay { top: var(--v6-header-mobile); bottom: auto; height: clamp(238px,67vw,278px); background: linear-gradient(180deg, rgba(2,13,22,.08), rgba(2,13,22,.02) 55%, rgba(2,13,22,.68)); }
  .inner-hero__content { width: min(calc(100% - (var(--v6-gutter) * 2)),var(--container)); max-width: none; margin: -23px auto 0; padding: 17px 17px 20px; border: 1px solid var(--v6-line); border-radius: var(--v6-card-radius); background: linear-gradient(160deg, rgba(9,41,59,.98), rgba(3,18,29,.99)); box-shadow: 0 18px 44px rgba(0,7,13,.3); }
  .inner-hero__content h1 { max-width: 16ch; margin-top: 8px; font-size: clamp(1.72rem, 7.55vw, 2rem); line-height: 1.05; letter-spacing: -.039em; }
  .inner-hero__content p { max-width: 45ch; margin-top: 10px; font-size: .83rem; line-height: 1.58; }
  .inner-hero__content > div { display: grid; gap: 8px; margin-top: 14px; }
  .inner-hero__content > div .button { width: 100%; min-height: 45px; font-size: .76rem; }
  .boat-story,
  .split-intro,
  .contact-layout { gap: 24px; }
  .boat-story h2,
  .split-intro h2,
  .contact-info h2 { max-width: 19ch; font-size: clamp(1.72rem,7.5vw,2.04rem); line-height: 1.06; letter-spacing: -.038em; }
  .boat-story__visual { min-height: 0; aspect-ratio: 16 / 11; border-radius: 18px; }
  .boat-gallery { gap: 9px; }
  .gallery-filter { gap: 7px; margin: 23px 0 14px; }
  .gallery-filter button,
  .gallery-filter a { min-height: 42px; padding-inline: 14px; font-size: .74rem; }
  /* A flex stack on phones prevents inherited grid spans from creating empty tracks. */
  .gallery-grid { display: flex; flex-direction: column; gap: 10px; }
  .gallery-item,
  .gallery-item:nth-child(n),
  .gallery-item--wide,
  .gallery-video,
  .gallery-video.gallery-item--wide {
    width: 100%;
    min-height: 0;
    height: auto;
    grid-column: auto !important;
    grid-row: auto !important;
    margin: 0;
    aspect-ratio: 4 / 3;
  }
  .gallery-video { aspect-ratio: 16 / 10; }
  .gallery-item img,
  .gallery-video video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

  /* Editorial guide / seasons */
  .article-hero--visual { padding: calc(var(--v6-header-mobile) + 10px) 0 23px; }
  .article-hero__grid { display: flex; flex-direction: column; gap: 0; }
  .article-hero__media { order: -1; width: 100%; max-width: none; aspect-ratio: 16 / 10; border-radius: 18px; box-shadow: 0 18px 44px rgba(0,7,13,.3); }
  .article-hero__copy { width: 100%; padding: 17px 1px 0; }
  .article-hero--visual h1 { max-width: 18ch; margin-top: 8px; font-size: clamp(1.72rem,7.45vw,1.98rem); line-height: 1.05; letter-spacing: -.04em; }
  .article-hero--visual p { max-width: 44ch; margin-top: 10px; font-size: .83rem; line-height: 1.58; }
  .article-layout,
  .article-layout--visual { gap: 16px; padding-top: 21px; padding-bottom: 55px; }
  .article-toc { position: static; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 6px; overflow: visible; padding: 11px; border-radius: 15px; white-space: normal; }
  .article-toc strong { grid-column: 1 / -1; margin: 0 0 2px; font-size: .58rem; }
  .article-toc a { min-width: 0; min-height: 35px; display: flex; align-items: center; padding: 7px 8px; border: 1px solid rgba(157,222,236,.1); border-radius: 9px; background: rgba(255,255,255,.018); font-size: .67rem; line-height: 1.24; white-space: normal; }
  .article-content section { scroll-margin-top: calc(var(--v6-header-mobile) + 15px); }
  .article-content section + section { margin-top: 28px; padding-top: 24px; }
  .article-content h2,
  .article-body h2 { max-width: 23ch; font-size: clamp(1.4rem,6.25vw,1.66rem); line-height: 1.1; letter-spacing: -.032em; }
  .article-content p,
  .article-content li,
  .article-body p,
  .article-body li { margin-top: 10px; font-size: .84rem; line-height: 1.68; }
  .article-content ul { margin-top: 9px; margin-left: 18px; }
  .article-content .button { min-height: 45px; margin-top: 18px; font-size: .76rem; }

  /* Calendar, account and legal */
  .booking-hero,
  .account-hero,
  .legal-page { padding-top: calc(var(--v6-header-mobile) + 23px); padding-bottom: 27px; }
  .booking-hero h1,
  .account-hero h1,
  .legal-page h1 { max-width: 18ch; margin-top: 8px; font-size: clamp(1.72rem,7.55vw,2.02rem); line-height: 1.05; letter-spacing: -.04em; }
  .booking-hero p,
  .account-hero p,
  .legal-page__header p { max-width: 44ch; margin-top: 10px; font-size: .83rem; line-height: 1.58; }
  .booking-page,
  .booking-section { padding: 30px 0 55px; }
  .booking-layout { gap: 14px; }
  .calendar-panel,
  .booking-summary,
  .account-panel,
  .contact-form-card { padding: 15px; border-radius: 17px; }
  .calendar-panel h2,
  .booking-summary h2,
  .account-panel h2 { font-size: 1.52rem; line-height: 1.08; }
  .calendar-panel__head { gap: 12px; }
  .calendar-legend { gap: 6px 10px; }
  .calendar-legend span { font-size: .63rem; }
  .date-grid { grid-template-columns: repeat(30, 88px); gap: 7px; }
  .date-card { min-height: 92px; padding: 9px; }
  .date-card strong { font-size: 1.35rem; }
  .slot-button { min-height: 58px; padding: 10px; }
  .booking-summary__head { margin-bottom: 12px; }
  .booking-login { padding: 14px; }
  .account-hero__inner { gap: 17px; }
  .account-hero__actions { gap: 7px; }
  .account-hero__actions .button { min-height: 44px; font-size: .75rem; }
  .account-summary { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .account-summary > div { min-width: 0; padding: 13px; }
  .account-summary strong { font-size: 1.35rem; }
  .account-summary small { font-size: .66rem; }
  .account-summary > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .legal-page section { margin-top: 25px; padding-top: 21px; }
  .legal-page section h2 { font-size: clamp(1.38rem,6.1vw,1.62rem); line-height: 1.12; }
  .legal-page section p,
  .legal-page section li { font-size: .84rem; line-height: 1.7; }

  /* Contact */
  .contact-cards { gap: 8px; }
  .contact-cards > a,
  .contact-cards > div { min-height: 62px; padding: 11px; }
  .contact-cards strong { font-size: .79rem; }
  .contact-socials { margin: 17px 0 19px; }
  .contact-socials a { padding-inline: 12px; font-size: .72rem; }
  .contact-form-card h2 { font-size: 1.52rem; }

  /* Authentication */
  .auth-page:not(.auth-page--simple) { min-height: 100svh; display: block !important; padding: 0; }
  .auth-visual { width: 100%; min-height: 224px !important; height: 224px; }
  .auth-visual > img { object-position: center 52%; }
  .auth-visual__overlay { background: linear-gradient(180deg,rgba(2,15,24,.12),rgba(2,15,24,.89)); }
  .auth-visual > .brand { top: 12px; left: 13px; }
  .auth-visual > div:last-child { right: 15px; bottom: 16px; left: 15px; width: auto; max-width: 360px; }
  .auth-visual h1 { max-width: 16ch; margin-top: 7px; font-size: clamp(1.5rem,6.7vw,1.78rem); line-height: 1.06; letter-spacing: -.037em; }
  .auth-visual p { display: none; }
  .auth-panel { min-height: 0; padding: 19px 13px 48px; }
  .auth-card,
  .auth-card--wide { width: 100%; padding: 19px 17px; border-radius: 18px; }
  .auth-card > h1,
  .auth-card > h2 { max-width: 18ch; font-size: clamp(1.48rem,6.6vw,1.76rem); line-height: 1.07; }
  .auth-card > p { margin: 8px 0 16px; font-size: .82rem; line-height: 1.56; }
  .auth-card form { gap: 13px; }
  .auth-row { gap: 8px; }
  .auth-row .check-field,
  .auth-row > a { font-size: .72rem; }
  .auth-page--simple { min-height: 100svh; padding: 21px 13px 46px; }
  .auth-page--simple .auth-panel { min-height: calc(100svh - 67px); padding: 0; }
  .brand--center { margin-bottom: 20px; }

  /* Form consistency and iOS zoom protection */
  .field > span { font-size: .71rem; }
  .field input,
  .field select,
  .field textarea { min-height: 45px; padding: 11px 12px; font-size: 16px; }
  .field textarea { min-height: 96px; }
  .check-field { min-height: 42px; font-size: .76rem; }
  .button { min-height: 44px; }

  /* Footer */
  .site-footer { padding-bottom: calc(34px + env(safe-area-inset-bottom)); }
  .site-footer__grid { grid-template-columns: 1fr !important; gap: 25px; }
  .footer-brand,
  .site-footer__grid > div:last-child { grid-column: auto; }
  .footer-brand > p { max-width: 38ch; font-size: .79rem; }
  .footer-social { gap: 7px; }
  .footer-social a { min-height: 40px; padding-inline: 11px; font-size: .7rem; }
  .site-footer__bottom { align-items: flex-start; gap: 7px; text-align: left; }

  /* Setup */
  .setup-page { grid-template-columns: 1fr; }
  .setup-visual { position: relative; height: auto; min-height: 330px; padding: 17px; }
  .setup-visual__copy h1 { max-width: 17ch; font-size: clamp(1.7rem,7.5vw,2rem); line-height: 1.06; }
  .setup-visual__copy p { font-size: .82rem; line-height: 1.58; }
  .setup-checks { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .setup-checks span { min-width: 0; padding: 7px; font-size: .63rem; line-height: 1.28; }
  .setup-form-wrap { padding: 26px 13px 52px; }
  .setup-form-head h2 { font-size: 1.78rem; }
  .setup-form fieldset { padding: 17px 13px; border-radius: 17px; }

  /* Admin */
  .admin-main { padding: 68px 11px 46px; }
  .admin-topbar { gap: 12px; margin-bottom: 17px; }
  .admin-topbar h1 { max-width: 19ch; font-size: clamp(1.62rem,7.1vw,1.96rem); line-height: 1.06; }
  .admin-topbar p { max-width: 48ch; margin-top: 6px; font-size: .76rem; line-height: 1.5; }
  .admin-topbar__actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .admin-topbar__actions .button { width: 100%; min-height: 42px; padding-inline: 9px; font-size: .69rem; }
  .admin-stat-grid,
  .admin-quick__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .admin-stat-grid article { min-height: 108px; display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 7px; padding: 13px; }
  .admin-stat-icon { width: 36px; height: 36px; border-radius: 11px; }
  .admin-stat-grid strong { font-size: 1.42rem; }
  .admin-stat-grid small { font-size: .63rem; }
  .admin-quick__grid a { min-height: 128px; padding: 13px; }
  .admin-quick__grid strong { margin-top: 16px; font-size: .83rem; }
  .admin-quick__grid small { font-size: .64rem; }
  .admin-card { padding: 14px; border-radius: 16px; }
  .admin-card__head { align-items: flex-start; flex-direction: column; gap: 7px; margin-bottom: 14px; }
  .admin-card__head h2 { font-size: 1.18rem; line-height: 1.15; }
  .admin-list > a { min-height: 59px; grid-template-columns: 41px minmax(0,1fr) auto; gap: 9px; }
  .admin-list__date { width: 41px; height: 41px; }
  .admin-calendar-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 7px; }
  .admin-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .admin-table { min-width: 780px; }
  .admin-filter { grid-template-columns: 1fr; }
  .media-dropzone { min-height: 155px; padding: 20px 14px; }
  .media-limit { text-align: left; }
  .media-upload-options,
  .media-edit-options { grid-template-columns: 1fr; }
  .settings-save { position: static; margin-top: 15px; }
  .admin-media-page { min-height: 0; padding: 0; background: transparent; }
}

@media (max-width: 420px) {
  .hero h1,
  .hero__copy h1 { font-size: 1.94rem; }
  .inner-hero__content h1,
  .article-hero--visual h1,
  .booking-hero h1,
  .account-hero h1,
  .legal-page h1 { font-size: 1.7rem; }
  .article-toc { grid-template-columns: 1fr; }
  .article-toc strong { grid-column: auto; }
  .auth-row { align-items: flex-start; flex-direction: column; }
  .admin-topbar__actions { grid-template-columns: 1fr; }
}

@media (max-width: 350px) {
  .brand__copy strong { font-size: .76rem; }
  .mobile-header-booking,
  .menu-toggle { width: 40px; min-height: 40px; }
  .hero h1,
  .hero__copy h1,
  .inner-hero__content h1,
  .article-hero--visual h1,
  .booking-hero h1,
  .account-hero h1,
  .legal-page h1 { font-size: 1.6rem; }
  .admin-stat-grid,
  .admin-quick__grid,
  .account-summary { grid-template-columns: 1fr; }
  .account-summary > div:last-child:nth-child(odd) { grid-column: auto; }
}

/* Final 2026-06-23 home repair: brighter image, smaller type, closed calendar panel. */
.page--home .hero h1,
.page--home .hero__copy h1 {
  max-width: 680px;
  font-size: clamp(2.8rem, 5.25vw, 5.35rem);
  line-height: .96;
  letter-spacing: -.045em;
}
.page--home .hero__media img {
  filter: saturate(1.05) contrast(1.01) brightness(1.05);
  object-position: center 52%;
}
.page--home .hero__carousel {
  background: #061b2a;
}
.page--home .hero__slide {
  position: absolute;
  inset: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.15s ease;
}
.page--home .hero__slide.is-active {
  opacity: 1;
}
.page--home .hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--slide-position, center 52%);
  transform: scale(1.012);
  transition: transform 7.5s ease-out;
}
.page--home .hero__slide.is-active img {
  transform: scale(1.035);
}
.page--home .hero__overlay {
  background:
    linear-gradient(90deg, rgba(3,15,25,.58) 0%, rgba(3,15,25,.38) 42%, rgba(3,15,25,.12) 72%, rgba(3,15,25,.22) 100%),
    linear-gradient(0deg, rgba(3,15,25,.58) 0%, transparent 28%),
    linear-gradient(180deg, rgba(3,15,25,.18), transparent 24%);
}
.page--home .hero__grid { opacity: .08; }
.page--home .hero__content {
  grid-template-columns: minmax(0, .9fr) minmax(270px, .34fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}
.page--home .hero__copy > p {
  max-width: 560px;
  font-size: clamp(.96rem, 1.3vw, 1.06rem);
}
.page--home .availability-dock {
  position: relative;
  z-index: 5;
  width: min(100%, 335px);
  justify-self: end;
  align-self: center;
}
.page--home .availability-summary {
  width: 100%;
  display: grid;
  gap: 8px;
  padding: 18px 20px;
  border: 1px solid rgba(157, 229, 240, .34);
  border-radius: 22px;
  color: var(--white);
  background: rgba(5, 28, 43, .68);
  box-shadow: 0 18px 44px rgba(0,7,13,.2);
  backdrop-filter: blur(14px);
  cursor: pointer;
  text-align: left;
}
.page--home .availability-summary span {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--cyan);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .15em;
}
.page--home .availability-summary span i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #63efbd;
  box-shadow: 0 0 0 5px rgba(99,239,189,.1);
}
.page--home .availability-summary strong { font-size: 1.12rem; }
.page--home .availability-summary small { color: #c2d4dd; }
.page--home .availability-preview {
  position: fixed;
  display: flex;
  flex-direction: column;
  top: 112px;
  right: max(22px, calc((100vw - var(--container)) / 2));
  width: min(420px, calc(100vw - 32px));
  max-height: min(610px, calc(100svh - 120px));
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.98);
  transform-origin: top right;
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
}
.page--home .availability-dock.is-open .availability-preview {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.page--home .availability-preview__close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 50%;
  color: white;
  background: rgba(255,255,255,.05);
  cursor: pointer;
}
.page--home .availability-preview__head { padding-right: 62px; }
.page--home .availability-preview__days {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
}
.page--home .availability-preview__link {
  flex: 0 0 auto;
}

@media (max-width: 1060px) {
  .page--home .hero__content {
    grid-template-columns: 1fr;
  }
  .page--home .availability-dock {
    width: min(100%, 420px);
    justify-self: start;
  }
}

@media (max-width: 680px) {
  .page--home .hero {
    padding-top: var(--v6-header-mobile);
  }
  .page--home .hero__media,
  .page--home .hero__overlay,
  .page--home .hero__grid {
    height: clamp(310px, 82vw, 360px);
  }
  .page--home .hero__media img {
    object-position: 55% center;
    filter: saturate(1.06) contrast(1.01) brightness(1.04);
  }
  .page--home .hero__slide img {
    object-position: var(--slide-position, 55% center);
    transform: scale(1.008);
  }
  .page--home .hero__slide.is-active img {
    transform: scale(1.024);
  }
  .page--home .hero__overlay {
    background:
      linear-gradient(180deg, rgba(2,13,22,.18) 0%, rgba(2,13,22,.04) 46%, rgba(2,13,22,.52) 100%),
      linear-gradient(90deg, rgba(2,13,22,.42), rgba(2,13,22,.1) 64%);
  }
  .page--home .hero__content {
    display: block;
    margin-top: -24px;
    padding-bottom: 44px;
  }
  .page--home .hero__copy {
    background: linear-gradient(155deg, rgba(9,42,60,.88), rgba(3,18,29,.93));
  }
  .page--home .hero h1,
  .page--home .hero__copy h1 {
    max-width: 11ch;
    font-size: clamp(2.05rem, 9vw, 2.72rem);
    line-height: 1.03;
    letter-spacing: -.025em;
  }
  .page--home .hero__copy > p {
    font-size: .86rem;
    line-height: 1.55;
  }
  .page--home .availability-dock {
    width: 100%;
    margin-top: 12px;
  }
  .page--home .availability-summary {
    padding: 15px 16px;
    border-radius: 18px;
  }
  .page--home .availability-preview {
    position: fixed;
    z-index: 2600;
    top: calc(var(--v6-header-mobile) + 12px);
    right: auto;
    left: 12px;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    max-height: calc(100svh - 108px);
    margin-top: 0;
    transform-origin: top center;
  }
  .page--home .availability-preview__days {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px 14px;
  }
  .page--home .availability-day,
  .page--home .availability-day:nth-child(n+5) {
    min-height: 58px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-width: 0 0 1px;
    border-radius: 0;
  }
  .page--home .availability-day > span {
    grid-template-columns: 38px 34px 38px;
  }
  .page--home .availability-day b {
    width: auto;
    margin-top: 0;
  }
}

@media (max-width: 420px) {
  .page--home .hero h1,
  .page--home .hero__copy h1 {
    font-size: 2rem;
  }
}

@media (min-width: 1061px) {
  .page--home .hero__content {
    align-items: end;
  }

  .page--home .availability-dock {
    width: min(100%, 210px);
    align-self: end;
    justify-self: end;
    margin-bottom: 0;
    transform: translateY(clamp(88px, 11vh, 122px));
  }

  .page--home .availability-summary {
    gap: 5px;
    padding: 11px 13px;
    border-radius: 16px;
    box-shadow: 0 14px 34px rgba(0,7,13,.24);
  }

  .page--home .availability-summary span {
    gap: 6px;
    font-size: .5rem;
  }

  .page--home .availability-summary span i {
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 4px rgba(99,239,189,.1);
  }

  .page--home .availability-summary strong {
    font-size: .92rem;
  }

  .page--home .availability-summary small {
    font-size: .68rem;
    line-height: 1.35;
  }

  .page--home .availability-preview .availability-day:nth-child(n+5) {
    display: none;
  }

  .page--home .availability-preview {
    top: auto;
    right: max(22px, calc((100vw - var(--container)) / 2));
    bottom: 92px;
    width: min(380px, calc(100vw - 32px));
    max-height: min(560px, calc(100svh - 132px));
    transform: translateY(14px) scale(.98);
    transform-origin: bottom right;
  }
}

.cookie-banner {
  top: auto !important;
  right: auto !important;
  bottom: 20px !important;
  left: max(18px, calc((100vw - var(--container)) / 2)) !important;
  width: min(calc(100% - 36px), 360px);
  padding: 12px 14px;
  border-radius: 16px;
}

.cookie-banner p {
  font-size: .72rem;
  line-height: 1.42;
}

.cookie-banner > div {
  gap: 7px;
  margin-top: 10px;
}

.cookie-banner .button {
  min-height: 38px;
  padding-inline: 14px;
  font-size: .72rem;
}

.cookie-banner--leaving {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease;
}

@media (max-width: 680px) {
  .cookie-banner {
    right: 10px !important;
    bottom: 10px !important;
    left: 10px !important;
    width: auto;
    padding: 10px 11px;
  }

  .cookie-banner p {
    font-size: .68rem;
    line-height: 1.38;
  }

  .cookie-banner > div {
    margin-top: 8px;
  }

  .cookie-banner .button {
    min-height: 34px;
    padding-inline: 12px;
    font-size: .68rem;
  }
}

.brand--scene {
  gap: 10px;
  min-width: 0;
}

.brand--scene .brand__icon--scene {
  width: clamp(76px, 7.4vw, 108px);
  height: 42px;
  flex: 0 0 auto;
  border-radius: 11px;
  object-fit: cover;
  object-position: center;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.24));
}

.auth-visual > .brand--scene .brand__icon--scene,
.site-footer .brand--scene .brand__icon--scene {
  width: clamp(88px, 9vw, 124px);
  height: 48px;
}

.admin-sidebar .brand--scene .brand__icon--scene {
  width: 78px;
  height: 42px;
}

.boat-story__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.boat-story__visual picture img {
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 680px) {
  .site-header .brand--scene {
    gap: 7px;
  }

  .site-header .brand--scene .brand__icon--scene {
    width: 56px;
    height: 34px;
    border-radius: 9px;
  }

  .auth-visual > .brand--scene .brand__icon--scene,
  .site-footer .brand--scene .brand__icon--scene,
  .admin-sidebar .brand--scene .brand__icon--scene {
    width: 72px;
    height: 40px;
  }
}

@media (max-width: 420px) {
  .site-header .brand--scene .brand__icon--scene {
    width: 50px;
    height: 32px;
  }
}

/* Final mobile QA polish: date-first booking flow and compact home calendar modal. */
@media (max-width: 680px) {
  .page--home .availability-preview {
    top: calc(var(--v6-header-mobile) + 8px);
    bottom: auto;
    max-height: min(70svh, 570px);
    overflow-y: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .page--home .availability-preview__head {
    padding: 13px 56px 10px 14px;
  }

  .page--home .availability-preview__head strong {
    margin-top: 7px;
    font-size: 1rem;
  }

  .page--home .availability-preview__head small {
    font-size: .64rem;
  }

  .page--home .availability-preview__close {
    top: 11px;
    right: 12px;
    width: 38px;
    height: 38px;
  }

  .page--home .availability-preview__days {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 6px 12px 0;
  }

  .page--home .availability-day,
  .page--home .availability-day:nth-child(n+5) {
    min-height: 51px;
    gap: 8px;
    padding: 7px 0;
  }

  .page--home .availability-day strong {
    font-size: 1rem;
  }

  .page--home .availability-day small,
  .page--home .availability-day em {
    font-size: .61rem;
  }

  .page--home .availability-day b {
    min-width: 66px;
    padding: 5px 8px;
    font-size: .61rem;
  }

  .page--home .availability-preview__link {
    position: relative;
    z-index: 1;
    bottom: auto;
    min-height: 48px;
    margin: 0 -1px -1px;
    background: rgba(5, 28, 43, .97);
    backdrop-filter: blur(12px);
  }

  .page--booking .booking-hero {
    padding-top: calc(var(--v6-header-mobile) + 18px);
    padding-bottom: 22px;
  }

  .page--booking .booking-hero h1 {
    max-width: 20ch;
    font-size: clamp(1.5rem, 6.2vw, 1.86rem);
    line-height: 1.12;
  }

  .page--booking .booking-hero p {
    max-width: 46ch;
    font-size: .8rem;
    line-height: 1.52;
  }

  .page--booking .booking-section {
    padding-top: 20px;
  }

  .page--booking .booking-layout {
    display: flex;
    flex-direction: column;
    gap: 14px;
  }

  .page--booking .calendar-panel {
    order: 1;
  }

  .page--booking .booking-summary {
    order: 2;
    position: static;
  }

  .page--booking .calendar-panel,
  .page--booking .booking-summary {
    padding: 14px;
    border-radius: 17px;
  }

  .page--booking .calendar-panel__head {
    gap: 10px;
    padding-bottom: 14px;
  }

  .page--booking .calendar-panel__head h2,
  .page--booking .booking-summary h2 {
    font-size: 1.26rem;
    line-height: 1.12;
  }

  .page--booking .calendar-legend {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 8px;
  }

  .page--booking .date-grid {
    grid-template-columns: repeat(30, 80px);
    gap: 7px;
    margin-top: 14px;
    padding-bottom: 8px;
  }

  .page--booking .date-card {
    min-height: 84px;
    padding: 8px;
    border-radius: 12px;
  }

  .page--booking .date-card strong {
    font-size: 1.18rem;
  }

  .page--booking .date-card small,
  .page--booking .date-card span {
    font-size: .58rem;
  }

  .page--booking .date-card em {
    padding: 4px 6px;
    font-size: .52rem;
  }

  .page--booking .calendar-note {
    margin-top: 13px;
    padding: 11px;
    font-size: .72rem;
    line-height: 1.48;
  }

  .page--booking .slot-list {
    margin-top: 13px;
  }

  .page--booking .slot-button {
    min-height: 54px;
    padding: 10px;
    border-radius: 12px;
  }

  .page--booking .slot-button strong {
    font-size: .9rem;
  }

  .page--booking .slot-button small,
  .page--booking .slot-button em {
    font-size: .68rem;
  }

  .page--booking .booking-login {
    margin-top: 14px;
    padding-top: 14px;
  }

  .page--booking .booking-login > div {
    padding: 12px;
  }

  .page--booking .booking-login h3 {
    font-size: .98rem;
  }

  .page--booking .booking-login p {
    font-size: .76rem;
    line-height: 1.45;
  }
}

/* Final typography safety: keep text readable and prevent squeezed letters. */
.page * {
  letter-spacing: 0 !important;
}

/* Admin mobile app layer */
.admin-mobile-nav,
.admin-install-button {
  display: none;
}

.admin-install-button {
  position: fixed;
  z-index: 1320;
  top: 14px;
  right: 14px;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(122, 232, 240, .34);
  border-radius: 999px;
  color: #041724;
  background: linear-gradient(135deg, #7af0f1, #32c6df);
  box-shadow: 0 14px 34px rgba(18, 181, 205, .28);
  font-size: .72rem;
  font-weight: 900;
  cursor: pointer;
}

.admin-install-button .icon {
  width: 16px;
  height: 16px;
}

@media (max-width: 760px) {
  .admin-body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  .admin-main {
    padding-top: calc(68px + env(safe-area-inset-top)) !important;
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
  }

  .admin-menu-toggle {
    top: calc(10px + env(safe-area-inset-top));
    left: 10px;
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .admin-sidebar {
    height: 100dvh;
    padding-top: calc(18px + env(safe-area-inset-top));
    padding-bottom: calc(18px + env(safe-area-inset-bottom));
  }

  .admin-install-button:not([hidden]) {
    display: inline-flex;
  }

  .admin-install-button {
    top: calc(10px + env(safe-area-inset-top));
    right: 10px;
    width: 42px;
    min-width: 42px;
    justify-content: center;
    padding: 0;
  }

  .admin-install-button span {
    display: none;
  }

  .admin-mobile-nav {
    position: fixed;
    z-index: 1800;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom));
    left: 10px;
    min-height: 66px;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 4px;
    padding: 6px;
    border: 1px solid rgba(122, 232, 240, .22);
    border-radius: 20px;
    background: rgba(3, 18, 29, .94);
    box-shadow: 0 18px 44px rgba(0, 7, 13, .42);
    backdrop-filter: blur(18px);
  }

  .admin-mobile-nav a {
    min-width: 0;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 3px;
    padding: 7px 4px;
    border-radius: 14px;
    color: #abc4d1;
    font-size: .62rem;
    font-weight: 850;
    line-height: 1;
    text-align: center;
  }

  .admin-mobile-nav a .icon {
    width: 18px;
    height: 18px;
  }

  .admin-mobile-nav a.is-active {
    color: #031722;
    background: linear-gradient(135deg, #78eff0, #38c8df);
  }

  .admin-mobile-nav a:focus-visible,
  .admin-install-button:focus-visible,
  .admin-menu-toggle:focus-visible {
    outline: 2px solid #8af6f3;
    outline-offset: 3px;
  }

  .admin-body.admin-menu-open .admin-menu-toggle,
  .admin-body.admin-menu-open .admin-mobile-nav,
  .admin-body.admin-menu-open .admin-install-button {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity .16s ease, transform .16s ease;
  }

  .admin-topbar {
    padding-top: 2px;
  }
}

@media (max-width: 380px) {
  .admin-mobile-nav {
    min-height: 62px;
    border-radius: 18px;
  }

  .admin-mobile-nav a {
    font-size: .56rem;
  }

  .admin-mobile-nav a .icon {
    width: 17px;
    height: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .page--home .hero__slide:not(.is-active) { opacity: 0 !important; }
  .page--home .hero__slide.is-active img { transform: none !important; }
}
