/* GLOBAL */
body {
  font-size: 15px;
}

/* NAVIGATION */
.nav {
  padding-left: 34px;
  padding-right: 34px;
  padding-top: 24px;
  padding-bottom: 24px;
}

.nav-logo img {
  width: 220px;
}

.nav-links {
  gap: 22px;
  margin-right: 0;
}

.nav-links a {
  font-size: 14px;
}

/* HERO SECTIONS */
.hero,
.explore-hero,
.visit-hero,
.exhibits-hero {
  min-height: 760px;
}

.hero-image,
.visit-hero-img,
.exhibits-hero-img,
.carousel-image {
  width: 100%;
  min-height: 760px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.hero-content,
.carousel-content,
.visit-hero-overlay,
.exhibits-hero-content {
  width: min(720px, calc(100% - 64px));
  padding: 28px 30px 34px;
}

.hero-content {
  top: 46%;
}

.carousel-content {
  top: 45%;
}

.visit-hero-overlay {
  top: 47%;
}

.exhibits-hero-content {
  top: 42%;
}

.hero h1,
.carousel-content h1,
.visit-hero-overlay h1,
.exhibits-hero-content h1 {
  font-size: 46px;
}

/* HOME PAGE */
.inside-aqualume {
  margin-top: -110px;
  min-height: 820px;
}

.inside-text {
  padding: 92px 52px 92px 86px;
  max-width: 520px;
  align-self: center;
  transform: translateY(-34px);
}

.inside-text h2,
.explore-content h2,
.maintenance h2,
.visit-content h2,
.marine-text h2,
.visit-expectation-text h2,
.visit-info-title,
.visit-faq h2,
.jellyfish-copy h2,
.touch-copy h2,
.otter-text h2 {
  font-size: 34px;
}

.inside-image {
  left: 0;
  right: 0;
  background: transparent;
}

.inside-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 76% 48%;
}

.explore-aquarium {
  gap: 38px;
  padding: 78px 42px 92px;
}

.explore-image img {
  width: 430px;
  height: 430px;
}

.explore-content {
  max-width: 440px;
}

.maintenance {
  padding: 56px 34px 86px;
}

.maintenance-grid {
  gap: 34px;
}

.maintenance-icon {
  width: 178px;
  height: 178px;
  margin-bottom: 28px;
}

.visit {
  margin-top: 0;
}

.visit-image {
  width: 100%;
  min-height: 700px;
  object-fit: cover;
  object-position: center;
}

.visit-content {
  left: 8%;
  top: 52%;
  max-width: 410px;
}

/* EXPLORE PAGE */
.carousel-dots {
  bottom: 96px;
}

.carousel-content h1 {
  font-size: 46px;
}

.marine-life {
  padding: 62px 34px 28px;
}

.marine-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-areas:
    "turtle starfish text"
    "jellyfish ray clownfish"
    "otter otter otter";
  gap: 22px;
  max-width: 100%;
}

.marine-text {
  max-width: 100%;
  padding-left: 0;
  padding-top: 8px;
  justify-content: flex-start;
}

.marine-text h2 {
  max-width: 12ch;
  margin-bottom: 14px;
}

.marine-text p {
  font-size: 15px;
  margin-bottom: 10px;
}

.card-label {
  left: 16px;
  bottom: 12px;
  padding: 7px 12px;
}

.card-label h3 {
  font-size: 15px;
}

.otter-card .card-label {
  top: 16px;
}

.card-back {
  gap: 12px;
  padding: 18px 18px 20px;
}

.card-back h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.card-back-eyebrow {
  padding: 7px 11px;
}

.card-back-list {
  padding: 14px 14px 0 22px;
  font-size: 13px;
  line-height: 1.5;
}

.card-back-list li + li {
  margin-top: 8px;
}

.otter-card .card-back {
  padding: 18px 20px 20px;
}

/* EXHIBITS PAGE */
.exhibits-hero-content {
  width: min(720px, calc(100% - 64px));
}

.exhibit-section {
  padding: 70px 34px 74px;
}

.jellyfish-section {
  padding-top: 48px;
}

.jellyfish-layout {
  grid-template-columns: minmax(280px, 340px) minmax(360px, 1fr);
  gap: 36px;
  transform: none;
}

.jellyfish-copy {
  margin-left: 0;
  max-width: 340px;
  padding-top: 36px;
}

.jellyfish-copy h2 {
  font-size: 34px;
}

.jellyfish-copy .exhibit-description,
.exhibit-simple-list li,
.touch-highlights li,
.otter-highlights li {
  font-size: 15px;
}

.jellyfish-copy .exhibit-description,
.touch-copy .exhibit-description,
.otter-text .exhibit-description {
  max-width: 27ch;
  text-wrap: balance;
}

.jellyfish-visuals {
  min-height: 500px;
}

.jellyfish-image-small {
  display: none;
}

.jellyfish-image-large {
  top: 40px;
  right: auto;
  left: 50%;
  width: 360px;
  height: 360px;
  transform: translateX(-50%);
}

.jellyfish-dot-coral {
  display: none;
}

.jellyfish-dot-purple {
  display: none;
}

.touch-section {
  padding-top: 0;
  margin-top: 8px;
}

.touch-layout {
  grid-template-columns: minmax(360px, 1fr) minmax(260px, 320px);
  gap: 36px;
  transform: translateX(-24px);
}

.touch-copy {
  max-width: 320px;
  transform: translateX(-12px);
}

.exhibit-simple-list,
.touch-highlights,
.otter-highlights {
  max-width: 28ch;
}

.touch-visual {
  min-height: 470px;
  transform: none;
}

.touch-circle-accent {
  left: 18px;
  top: 74px;
  width: 118px;
  height: 118px;
}

.touch-image-frame {
  max-width: 420px;
}

.otter-bg {
  min-height: 660px;
  width: 100vw;
  max-width: none;
  position: relative;
  left: 50%;
  margin-left: -50vw;
}

.otter-text {
  top: 52%;
  left: 72px;
  transform: translateY(-50%);
  width: 470px;
  padding: 24px 24px 26px;
}
/* VISITS PAGE */
.visit-hero-overlay {
  width: min(680px, calc(100% - 64px));
}

.visit-expectation {
  padding: 34px 34px 64px;
}

.visit-expectation-content {
  gap: 34px;
  align-items: center;
}

.visit-expectation-img {
  max-width: 500px;
}

.visit-expectation-text {
  max-width: 330px;
  transform: none;
}

.visit-expectation-text p,
.visit-expectation-list li {
  font-size: 15px;
}

.visit-expectation-text p {
  max-width: 30ch;
  text-wrap: balance;
}

.visit-info-section {
  padding: 48px 34px 84px;
}

.visit-info-cards {
  gap: 22px;
}

.visit-card {
  padding: 20px 20px 18px;
  min-height: 176px;
}

.visit-card-icon {
  width: 38px;
  height: 38px;
}

.visit-card-line {
  width: 62px;
  margin-bottom: 14px;
}

.visit-card h3 {
  font-size: 17px;
}

.visit-card p,
.visit-list li {
  font-size: 14px;
  line-height: 1.55;
}

.visit-faq {
  margin-top: 28px;
}

.visit-faq-img {
  width: 100%;
  min-height: 860px;
  object-fit: cover;
  object-position: center 44%;
}

.visit-faq-overlay {
  padding: 198px 34px 44px 34px;
}

.visit-faq h2 {
  max-width: 420px;
}

.visit-faq-intro {
  margin-bottom: 20px;
}

.faq-item {
  max-width: 390px;
  margin-bottom: 10px;
}

.faq-question {
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.35;
}

.faq-question-text {
  max-width: 29ch;
  text-wrap: balance;
}

.faq-icon {
  font-size: 18px;
}

.faq-answer {
  padding: 14px 18px 16px;
}

.faq-answer p {
  font-size: 14px;
}

/* FOOTER */
.footer {
  padding: 30px 34px 24px;
}

.footer-top {
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: start;
}

.footer-left {
  justify-self: start;
}

.footer-logo {
  transform: translateY(-22px);
  margin-left: -10px;
}

.footer-logo img {
  width: 240px;
}

.footer-links {
  display: none;
}

.footer-subscribe {
  justify-self: end;
  align-self: start;
  margin-top: -18px;
}

.footer-subscribe h3 {
  margin-bottom: 12px;
}

.subscribe-form {
  flex-wrap: nowrap;
}

.subscribe-form input {
  width: 240px;
}