* {
  box-sizing: border-box;
}

:root {
  --top-bar-height: 96px;
  --hero-grid-gap: calc(var(--top-bar-height) * 0.8);
  --gallery-grid-gap: 1.2rem;
  --gallery-side-gap: calc(var(--gallery-grid-gap) * 1.8);
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  overflow-x: hidden;
}

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 200;
}

.top-bar {
  height: var(--top-bar-height);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  gap: 1.5rem;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-nav a {
  color: #111;
  text-decoration: none;
  font-size: 1.06rem;
  letter-spacing: 0.09em;
  font-weight: 300;
  white-space: nowrap;
}

.top-nav a.active {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.logo {
  height: 56px;
  width: auto;
  display: block;
}

.hero {
  min-height: calc(100vh - var(--top-bar-height));
  position: relative;
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 20px;
  width: 72px;
  height: 36px;
  display: block;
  text-decoration: none;
  transform: translateX(-50%);
  z-index: 10;
}

.scroll-cue svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
  filter: drop-shadow(0 0.5px 0.8px rgba(0, 0, 0, 0.12));
}

.hero-image {
  width: 100%;
  height: calc(100vh - var(--top-bar-height));
  object-fit: cover;
  display: block;
}

.gallery {
  background: #fff;
  padding: var(--hero-grid-gap) var(--gallery-side-gap) 1rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gallery-grid-gap);
  scroll-margin-top: var(--gallery-side-gap);
}

.gallery-item {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.03);
}

.gallery-hover-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  opacity: 0;
  transition: opacity 0.2s ease;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1.06rem;
  letter-spacing: 0.09em;
}

.gallery-item:hover .gallery-hover-label {
  opacity: 1;
}

.attention-page .gallery {
  padding-top: var(--gallery-grid-gap);
}

.beach-page .gallery {
  padding-top: var(--gallery-grid-gap);
}

.babycare-page .gallery {
  padding-top: var(--gallery-grid-gap);
}

.attention-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.beach-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.babycare-gallery-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.attention-gallery-grid .gallery-item {
  aspect-ratio: auto;
}

.beach-gallery-grid .gallery-item {
  aspect-ratio: auto;
}

.babycare-gallery-grid .gallery-item {
  aspect-ratio: auto;
}

.attention-gallery-grid .gallery-item img {
  height: auto;
  object-fit: contain;
}

.beach-gallery-grid .gallery-item img {
  height: auto;
  object-fit: contain;
}

.babycare-gallery-grid .gallery-item img {
  height: auto;
  object-fit: contain;
}

.attention-page .gallery-item:hover img {
  transform: none;
}

.beach-page .gallery-item:hover img {
  transform: none;
}

.babycare-page .gallery-item:hover img {
  transform: none;
}

.attention-page .gallery-hover-label {
  display: none;
}

.beach-page .gallery-hover-label {
  display: none;
}

.babycare-page .gallery-hover-label {
  display: none;
}

@media (max-width: 700px) {
  :root {
    --gallery-grid-gap: 0.9rem;
  }

  .top-bar {
    height: auto;
    padding: 0 1rem;
    min-height: 78px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
  }

  .top-nav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
  }

  .logo {
    height: 44px;
  }

  .hero {
    min-height: calc(100vh - 78px);
  }

  .hero-image {
    height: calc(100vh - 78px);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery {
    padding-top: calc(78px * 0.8);
  }

  .attention-page .gallery {
    padding-top: var(--gallery-grid-gap);
  }

  .beach-page .gallery {
    padding-top: var(--gallery-grid-gap);
  }

  .babycare-page .gallery {
    padding-top: var(--gallery-grid-gap);
  }
}

.site-footer {
  height: var(--top-bar-height);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 2rem 0 var(--gallery-side-gap);
}

.site-footer a {
  color: #111;
  text-decoration: none;
  font-size: 1.06rem;
  letter-spacing: 0.09em;
  font-weight: 300;
}

.legal-main {
  padding: 1.6rem var(--gallery-side-gap) 2.2rem;
}

.legal-content {
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  color: #111;
  font-size: 1rem;
  line-height: 1.65;
}

.legal-content h1 {
  margin: 0 0 1rem;
  font-size: 1.18rem;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.legal-content h2 {
  margin: 2rem 0 0.8rem;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.legal-content p,
.legal-content ul {
  margin: 0 0 0.9rem;
}

.legal-content ul {
  padding-left: 1.2rem;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  color: #111;
  text-underline-offset: 0.15em;
}

.contact-main {
  padding: 1.6rem var(--gallery-side-gap) 2.2rem;
}

.contact-columns {
  max-width: 1080px;
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(260px, 0.8fr);
  gap: 2.2rem;
  align-items: start;
  margin-left: auto;
  margin-right: auto;
}

.contact-profile {
  display: grid;
  grid-template-columns: minmax(220px, 340px) minmax(280px, 1fr);
  gap: 1.4rem 2rem;
  align-items: start;
}

.contact-photo {
  width: 100%;
  height: auto;
  display: block;
}

.contact-details h1 {
  margin: 0 0 0.9rem;
  font-size: 1.18rem;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.contact-details p {
  margin: 0 0 0.9rem;
  line-height: 1.65;
}

.contact-details a {
  color: #111;
  text-underline-offset: 0.15em;
}

.about-block h2 {
  margin: 0 0 0.8rem;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.about-block p {
  margin: 0 0 0.9rem;
  line-height: 1.65;
  text-align: justify;
}

.contact-highlight,
.contact-highlight a {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
}

.contact-highlight a {
  font-weight: 200;
}

.about-lead {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
}

.client-list {
  width: 100%;
  max-width: 1080px;
  margin-top: 2.6rem;
  margin-left: auto;
  margin-right: auto;
}

.client-list h2 {
  margin: 0 0 0.8rem;
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.client-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  columns: 5;
  column-gap: 2rem;
}

.client-list li {
  margin-bottom: 0.35rem;
  break-inside: avoid;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.uc-main {
  flex: 1;
  overflow: hidden;
  padding: 0;
  min-height: calc(100dvh - var(--top-bar-height) - 64px);
}

body.uc-page {
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.uc-page .site-footer {
  margin-top: auto;
  height: 64px;
  min-height: 64px;
}

.uc-page .contact-main {
  flex: 1;
}

.uc-hero {
  width: 100%;
  min-height: calc(100dvh - var(--top-bar-height) - 64px);
  position: relative;
  overflow: hidden;
}

.uc-carousel {
  position: absolute;
  inset: 0;
  background: #111 url('/assets/images/carousel/Anna_Tarrin_01.jpg') center center / cover no-repeat;
  z-index: 1;
}

.uc-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  opacity: 0;
  transition: opacity 0.25s linear;
}

.uc-slide.is-active {
  opacity: 1;
}

.uc-slide:first-child {
  opacity: 1;
}


.uc-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 0.7rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.34);
  color: #fff;
  z-index: 2;
}

.uc-main h1 {
  margin: 0;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.uc-main p {
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .site-footer {
    min-height: 78px;
    height: auto;
    padding: 0 1rem 0 var(--gallery-side-gap);
  }

  .legal-main {
    padding: 1.1rem 1rem 1.8rem;
  }

  .legal-content {
    font-size: 0.96rem;
    line-height: 1.6;
  }

  .contact-main {
    padding: 1.1rem 1rem 1.8rem;
  }

  .uc-main,
  .uc-hero {
    min-height: calc(100dvh - 78px - 234px);
  }

  .uc-page .site-footer {
    height: 234px;
    min-height: 234px;
  }

  .uc-page .top-bar {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3rem;
    padding-bottom: 0;
    gap: 3rem;
    margin-bottom: 3rem;
  }

  .uc-page .top-nav {
    width: auto;
  }

  .contact-columns {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .contact-profile {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .client-list ul {
    columns: 1;
  }
}
