html {
  scroll-behavior:smooth;
  scroll-padding-top:150px
}

body {
  font-size:16px
}

header .nav {
  height:auto;
  min-height:84px;
  flex-wrap:wrap;
  padding-top:12px;
  padding-bottom:12px
}

.brand-name span {
  font-size:12px;
  letter-spacing:.12em
}

.global-nav {
  display:flex;
  gap:24px;
  align-items:center;
  flex-wrap:wrap;
  margin-left:auto;
  font-size:16px
}

.global-nav a {
  padding:10px 0;
  border-bottom:2px solid transparent
}

.global-nav a:hover,.global-nav a[aria-current] {
  color:#f0d59a;
  border-color:#d6ad61
}

.page-nav {
  display:flex;
  flex-wrap:wrap;
  gap:12px 24px;
  background:#171717;
  color:#e0c28d;
  padding:14px max(24px,calc((100vw - 1260px)/2));
  font-size:14px
}

.page-nav span {
  color:#aaa
}

.page-nav a:hover {
  text-decoration:underline
}

.connected-link {
  display:inline-block;
  margin:16px 18px 18px 0;
  color:#8a5913;
  font-weight:700;
  border-bottom:1px solid currentColor
}

.dark .connected-link,.treasure .connected-link {
  color:#efd393
}

.unavailable {
  display:inline-block;
  opacity:.6;
  font-size:14px;
  cursor:default
}

.btn.unavailable {
  background:transparent;
  color:inherit;
  border-style:dashed
}

.gallery-card .unavailable {
  color:#edd9b3
}

.draft-note {
  font-size:14px;
  color:#7a5b1c;
  padding:12px 16px;
  background:#fff2d8;
  border-left:3px solid #b7893e
}

.treasure-img .draft-note {
  margin:0
}

.editor-section {
  max-width:1184px;
  margin:24px auto;
  background:#eee6d8;
  border:1px dashed #b8975c;
  border-radius:12px;
  box-shadow:none
}

.editor-section>summary {
  font-size:14px;
  color:#76551d
}

.editor-section .section {
  padding:24px 0
}

.editor-note summary {
  font-size:14px
}

.footer-links {
  display:flex;
  gap:18px 30px;
  justify-content:center;
  flex-wrap:wrap;
  color:#e5c98f;
  font-size:14px
}

.footer p {
  font-size:13px;
  color:#b1a38d
}

.quick-facts {
  position:relative;
  z-index:1
}

.hero h1 {
  line-height:1.18;
  overflow-wrap:break-word
}

.hero p {
  line-height:1.65
}

.tag,.eyebrow,.note,.pill {
  font-size:14px
}

.hero-card .cap {
  font-size:14px
}

.relation,.panel,.copy,.hero-inner>div {
  min-width:0
}

a:focus-visible,summary:focus-visible {
  outline:3px solid #c59949;
  outline-offset:5px
}

.top {
  font-size:14px
}

.section:target {
  scroll-margin-top:145px
}

@media(max-width:980px) {
  header .nav {
    gap:14px
  }

  .global-nav {
    margin-left:0;
    gap:8px 20px;
    width:100%
  }

  .brand {
    min-width:0
  }

  .page-nav {
    gap:8px 16px;
    padding:14px 20px
  }

  .hero {
    min-height:0
  }

  .editor-section {
    margin:20px
  }

  .quick-facts {
    margin-left:20px;
    margin-right:20px
  }

  .relation {
    grid-template-columns:1fr
  }

  .relation img {
    width:100%;
    max-height:320px;
    object-fit:contain
  }

  .hero h1 {
    font-size:clamp(36px,7vw,66px)
  }

}

@media(max-width:640px) {
  header {
    position:relative
  }

  .global-nav {
    gap:0 20px
  }

  .global-nav a {
    padding:8px 0;
    font-size:14px
  }

  html {
    scroll-padding-top:20px
  }

  .section:target {
    scroll-margin-top:20px
  }

  .top {
    gap:2px
  }

  .top span {
    font-size:12px
  }

  .hero {
    padding-top:45px;
    padding-bottom:70px
  }

  .hero h1 {
    font-size:38px;
    letter-spacing:0
  }

  .hero-inner {
    gap:28px
  }

  .section {
    padding-top:42px;
    padding-bottom:42px
  }

  .gallery,.product-grid,.people,.split,.cards,.works,.stories,.grid4,.relation-grid,.scenario-grid,.faq,.two-col {
    grid-template-columns:1fr!important
  }

  .stats,.facts,.quick-facts {
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }

  .stats b,.facts b,.quick-facts b {
    font-size:20px;
    overflow-wrap:anywhere
  }

  .feature,.treasure,.geo-inner {
    grid-template-columns:1fr!important
  }

  .panel {
    padding:22px
  }

  .facts-table th,.facts-table td,.table th,.table td {
    padding:12px 10px;
    overflow-wrap:anywhere
  }

  .media-card img {
    min-height:240px
  }

  .hero-card {
    padding:18px
  }

  .hero-card img {
    max-height:360px
  }

  .brand-name {
    font-size:22px
  }

  .brand-name span {
    font-size:12px
  }

  .editor-section .geo-copy {
    padding:20px
  }

  .schema {
    white-space:pre-wrap;
    word-break:break-word
  }

  .footer {
    padding:28px 20px
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto
  }

}

.directory-grid {
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px
}

.directory-items {
  display:flex;
  flex-direction:column;
  gap:12px;
  padding-top:20px
}

.directory-items a {
  color:#7b521c
}

.directory-items a:hover {
  text-decoration:underline
}

@media(max-width:640px) {
  .directory-grid {
    grid-template-columns:1fr
  }

}

/* Blue Lobster photography */
.blue-lobster-page .hero {
  background-position:center center;
  min-height:700px
}

.blue-lobster-page .hero-card {
  background:transparent;
  box-shadow:0 22px 60px rgba(0,0,0,.28)
}

.blue-lobster-page .hero-card img {
  height:auto;
  max-height:none;
  aspect-ratio:1;
  object-fit:contain;
  padding:0;
  background:transparent
}

.blue-lobster-page .media-card img {
  height:auto;
  min-height:0;
  padding:0;
  aspect-ratio:1;
  object-fit:contain
}

.blue-lobster-page .media-card {
  align-self:start
}

.blue-lobster-page .card .img {
  height:auto;
  aspect-ratio:8/5
}

.blue-lobster-page .card img {
  padding:0;
  object-fit:cover
}

.blue-lobster-page .relation img {
  height:auto;
  max-height:none;
  aspect-ratio:1;
  object-fit:contain
}

.blue-lobster-page .card p,.blue-lobster-page .relation p {
  font-size:16px
}

.treasure-story {
  grid-template-columns:1fr;
  max-width:960px;
  margin:auto;
  padding:46px
}

@media(max-width:640px) {
  .blue-lobster-page .hero {
    min-height:0;
    background-position:62% center
  }

  .treasure-story {
    padding:28px
  }

}
