@font-face {
  font-family: "Lulo Clean";
  src: url("../fonts/lulo-clean-bold.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Futura LT";
  src: url("../fonts/futura-book.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Futura LT";
  src: url("../fonts/futura-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

:root {
  --pink: #d91272;
  --ink: #050505;
  --peach: rgba(244, 192, 175, 0.68);
  --footer: rgba(244, 192, 175, 0.78);
  --paper: rgba(255, 255, 255, 0.78);
  --content-width: 980px;
  --body-font: "Futura LT", "Century Gothic", Arial, sans-serif;
  --heading-font: "Lulo Clean", "Arial Black", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  position: relative;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 16px;
  line-height: 1.8;
  background: #d9eeea;
}

body::before {
  content: "";
  position: fixed;
  inset: -1px;
  z-index: -1;
  pointer-events: none;
  background: #d9eeea url("../img/gemmy-background.avif") center center / cover no-repeat;
}

a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

a:hover,
a:focus-visible {
  color: var(--pink);
}

.site-header {
  min-height: 118px;
  background: rgba(255, 255, 255, 0.28);
}

.header-inner {
  width: min(var(--content-width), calc(100% - 32px));
  min-height: 118px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 56px;
}

.logo-link {
  display: inline-flex;
  width: 97px;
  height: 97px;
  flex: 0 0 97px;
  border-radius: 50%;
  overflow: hidden;
}

.logo-link img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.nav-toggle {
  display: none;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 31px;
  flex: 1;
  font-size: 18px;
  line-height: 1.2;
}

.nav-item {
  position: relative;
}

.site-nav a,
.nav-summary {
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"],
.nav-summary:hover,
.nav-item:hover > details > .nav-summary,
.nav-item.active > .nav-summary {
  color: var(--pink);
}

.nav-item details {
  position: relative;
}

.nav-summary {
  list-style: none;
  cursor: default;
}

.nav-summary::-webkit-details-marker {
  display: none;
}

.submenu {
  position: absolute;
  left: 50%;
  top: calc(100% + 16px);
  z-index: 4;
  min-width: 190px;
  padding: 12px 16px;
  display: none;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.12);
}

.nav-item:hover .submenu,
.nav-item:focus-within .submenu,
.nav-item details[open] .submenu {
  display: grid;
  gap: 8px;
}

.content-band {
  background: var(--peach);
}

.home-intro {
  background:
    radial-gradient(circle at 84% 74%, rgba(248, 179, 213, 0.78) 0%, rgba(248, 179, 213, 0) 35%),
    radial-gradient(circle at 11% 30%, rgba(244, 192, 175, 0.78) 0%, rgba(244, 192, 175, 0) 50%),
    rgba(255, 255, 255, 0.12);
}

.content-inner {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 64px;
}

.home-intro .content-inner {
  padding-top: 64px;
  padding-bottom: 72px;
}

.page-main {
  min-height: 60vh;
}

.text-block {
  max-width: 970px;
}

h1,
h2 {
  margin: 0 0 8px;
  color: var(--pink);
  font-family: var(--heading-font);
  font-size: clamp(28px, 4.2vw, 42px);
  line-height: 1.35;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.home-title {
  font-size: 34px;
}

p {
  margin: 0 0 20px;
}

.button-row {
  margin-top: 34px;
  text-align: center;
}

.button {
  min-width: 220px;
  min-height: 70px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px 11px;
  border: 0;
  background: #fff;
  box-shadow: 4px 4px 0 var(--pink);
  color: var(--ink);
  font-size: 24px;
  letter-spacing: 0.16em;
  line-height: 1;
  text-decoration: none;
}

.button:hover,
.button:focus-visible {
  color: var(--ink);
  transform: translate(1px, 1px);
  box-shadow: 3px 3px 0 var(--pink);
}

.button-small {
  min-width: 166px;
  min-height: 58px;
  background: var(--pink);
  color: #fff;
  box-shadow: none;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.button-small:hover,
.button-small:focus-visible {
  color: #fff;
  transform: none;
  box-shadow: none;
  filter: brightness(0.96);
}

.work-section {
  min-height: 820px;
  background: rgba(244, 192, 175, 0.52);
}

.work-section .content-inner {
  padding-top: 48px;
  padding-bottom: 88px;
}

.portfolio-space {
  min-height: 670px;
}

.portfolio-gallery {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-gallery:empty {
  display: block;
}

.portfolio-card {
  aspect-ratio: 1;
  display: block;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.42);
}

.portfolio-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.simple-page .content-inner {
  min-height: 360px;
  padding-top: 52px;
}

.simple-page p {
  max-width: 620px;
}

.faq-page {
  background: rgba(244, 192, 175, 0.58);
}

.faq-page .content-inner {
  padding-top: 28px;
  padding-bottom: 76px;
}

.intro-line {
  margin-bottom: 32px;
}

.faq-list {
  display: grid;
  gap: 58px;
}

.faq-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 36px;
  align-items: start;
}

.faq-row h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
  text-transform: none;
}

.faq-row p {
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.55;
}

.article-page {
  background: rgba(244, 192, 175, 0.52);
}

.article-page .content-inner {
  padding-top: 28px;
  padding-bottom: 48px;
}

.article-page h1 {
  margin-bottom: 10px;
}

.article-page h2 {
  margin: 26px 0 8px;
  color: var(--ink);
  font-family: var(--body-font);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0;
  text-transform: none;
}

.article-page ul,
.article-page ol {
  margin: 0 0 22px 22px;
  padding-left: 16px;
}

.article-page li {
  margin-bottom: 2px;
}

.about-copy {
  max-width: 890px;
}

.site-footer {
  background: var(--footer);
}

.footer-inner {
  width: min(var(--content-width), calc(100% - 40px));
  margin: 0 auto;
  padding: 40px 0 46px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 68px;
}

.footer-title {
  margin-bottom: 0;
  font-size: 18px;
}

.site-footer p,
.site-footer li {
  font-size: 14px;
  line-height: 1.65;
}

.footer-links {
  margin-top: 36px;
}

.footer-cta {
  text-align: center;
}

.hours {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 1.9;
}

.hours td {
  padding: 0 12px 6px 0;
}

.hours-note {
  margin-top: 22px;
}

@media (max-width: 820px) {
  body {
    background-size: auto 1000px;
  }

  .header-inner {
    min-height: auto;
    padding: 14px 0;
    align-items: flex-start;
    gap: 18px;
  }

  .logo-link {
    width: 74px;
    height: 74px;
    flex-basis: 74px;
  }

  .nav-toggle {
    margin: 15px 0 0 auto;
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding: 12px 0 2px;
    flex-basis: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    font-size: 17px;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .submenu {
    position: static;
    margin-top: 8px;
    padding: 0 0 0 18px;
    transform: none;
    background: transparent;
    box-shadow: none;
  }

  .content-inner,
  .footer-inner {
    width: min(100% - 32px, var(--content-width));
  }

  h1,
  h2 {
    font-size: 28px;
    letter-spacing: 0.14em;
  }

  .home-title {
    font-size: 30px;
  }

  .button {
    min-width: 190px;
    min-height: 62px;
    font-size: 20px;
  }

  .faq-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .faq-list {
    gap: 34px;
  }

  .faq-row p {
    font-size: 15px;
  }

  .work-section {
    min-height: 580px;
  }

  .portfolio-space {
    min-height: 420px;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-cta {
    text-align: left;
  }
}
