.header-actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.45rem;
}

.language-switch { position: relative; }

.language-switch summary {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.3rem;
  padding-inline: 0.58rem;
  border: 1px solid #a7777b88;
  border-radius: 999px;
  list-style: none;
  font-size: 0.875rem;
  cursor: pointer;
}

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

.language-switch summary::after {
  width: 0.36rem;
  height: 0.36rem;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  margin-top: -0.18rem;
  transform: rotate(45deg);
  content: "";
}

.language-options {
  position: absolute;
  z-index: 3;
  inset: calc(100% + 0.55rem) 0 auto auto;
  width: max-content;
  min-width: 8.3rem;
  margin: 0;
  padding: 0.3rem;
  border: 1px solid #fff5edcc;
  border-radius: 1rem;
  background: #fff1eef5;
  box-shadow: 0 10px 24px #66364135;
  list-style: none;
}

.language-options a {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  padding: 0.4rem 0.7rem;
  border-radius: 0.7rem;
  text-decoration: none;
}

.language-options a:hover, .language-options [aria-current] { background: #f1d1d6; }

.hero .hero-title--translated-art {
  width: min(90%, 28rem);
}

.hero .hero-title--text {
  color: #fff7f5;
  font: italic 400 clamp(2.15rem, 6.4vw, 3.8rem)/1.16 var(--display-font);
  text-align: center;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hero .hero-title--script {
  font: 400 clamp(2.8rem, 14vw, 5.8rem)/1.08 'Beautifully Delicious Script', var(--display-font);
}

.founder {
  background-image: linear-gradient(#e2d1d05c, #e2d1d05c), var(--founder-photo, url("./assets/founder.webp"));
}

.contact-photo img { aspect-ratio: 1; object-fit: cover; }

.company-info {
  width: min(75rem, 88.75%);
  margin: clamp(1.25rem, 4vw, 3.25rem) auto 0;
  padding: clamp(1.15rem, 3vw, 2.5rem);
  border: 1px solid #bd969266;
  border-radius: 1.1rem;
  background: #fff5f05c;
  color: #623b45;
}

.company-info h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
  overflow-wrap: anywhere;
  hyphens: auto;
}
.company-info dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.9rem 1.6rem; }
.company-info dt { margin-bottom: 0.15rem; font-size: 0.9rem; font-weight: bold; }
.company-info dd { overflow-wrap: anywhere; }
.company-field--name, .company-field--address { grid-column: 1 / -1; }

.company-field--registration dd, .company-field--tax dd, .company-field--vat dd {
  font-variant-numeric: tabular-nums;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.5rem;
  padding: 1rem;
  border-top: 1px solid #bb858966;
  background: var(--dust);
  text-align: center;
}

.site-footer a { padding-block: 0.55rem; }

.news {
  padding: clamp(3rem, 7vw, 6.6rem) 0;
  background: radial-gradient(ellipse at 19% 0%, #f9e6e8, transparent 55%), var(--blush);
}

.news-inner { width: min(74rem, 100% - 2rem); margin-inline: auto; }
.news .section-heading { margin-bottom: clamp(1.5rem, 4vw, 3rem); }
.news h2 { width: fit-content; padding-bottom: 0.4em; border-bottom: 1px solid #b58770; }
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 21rem), 1fr)); gap: clamp(1rem, 2vw, 1.8rem); }

.news-card {
  min-width: 0;
  max-width: 34rem;
  overflow: hidden;
  border: 1px solid #d7aeb055;
  border-radius: 1.15rem;
  background: #fff8f5;
}

.news-card > img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.news-copy { padding: clamp(1rem, 2.5vw, 1.65rem); }
.news-copy h3 { margin-block: 0.25rem 0.6rem; font-size: clamp(1.45rem, 2.2vw, 1.95rem); overflow-wrap: anywhere; }
.news-copy time { font-size: 0.875rem; }
.news-copy :is(p, details, video, a) { overflow-wrap: anywhere; }
.news-copy :is(details, video, a) { margin-top: 0.75rem; }
.news-copy summary { width: fit-content; padding-block: 0.25rem; cursor: pointer; text-decoration: underline; }
.news-copy details p + p { margin-top: 0.65rem; }
.news-copy video { display: block; width: 100%; border-radius: 0.6rem; background: #37282c; }
.news-copy a { display: inline-block; }

@media (min-width: 48rem) {
  .hero .hero-title--translated-art {
    left: 25.8%;
    width: 37%;
    transform: translateX(-50%);
  }

  .hero .hero-title--text {
    top: 31cqw;
    left: 7%;
    width: 39%;
    font-size: clamp(2rem, 4.6cqw, 6rem);
  }

  .hero .hero-title--script {
    top: 30.27cqw;
    left: 24.8%;
    width: 41%;
    transform: translateX(-50%);
    font-size: clamp(3rem, 7.08cqw, 8.5rem);
  }

  .content-adaptive :is(.studio, .services, .team, .founder) { aspect-ratio: auto; min-height: 52cqw; }
  .content-adaptive .studio-copy { padding-block: 5cqw; }
  .content-adaptive :is(.services, .team) > .section-inner { padding-bottom: 6cqw; }
  .content-adaptive .founder { padding-bottom: 6cqw; }
  .content-adaptive .contact-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas: "contact-title contact-copy" "contact-photo contact-copy";
    gap: 2.5rem clamp(1.5rem, 8vw, 8rem);
    align-items: start;
    padding: 5.62cqw;
    aspect-ratio: auto;
  }
  .content-adaptive .contact-intro { grid-area: contact-title; }
  .content-adaptive .contact-photo { grid-area: contact-photo; width: min(100%, 29rem); }
  .content-adaptive .contact-copy { grid-area: contact-copy; align-self: center; }
  .content-adaptive .contact-inner :is(.contact-intro, .contact-photo, .contact-booking, address, .social-links) { position: static; }
  .content-adaptive .contact-booking { margin-bottom: 1.25em; }
  .content-adaptive .social-links { margin-top: 1.1rem; }
}

@media (min-width: 48rem) and (max-width: 64rem) {
  .header-inner { grid-template-columns: auto 1fr auto; gap: 0.4rem; }
  .header-nav a { padding-inline: 0.52rem; font-size: 0.88rem; }
  .header-booking { padding-inline: 0.65rem; }
}

@media (max-width: 47.999rem) {
  .header-actions { grid-area: 1 / 3; gap: 0.3rem; }
  .header-booking { padding-inline: 0.48rem; font-size: 0.85rem; text-align: center; white-space: normal; }
  .language-switch summary { padding-inline: 0.46rem; }

  .services .feature-grid { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .services .feature-copy { --art-scale: 0.025rem; }
  .services .feature-copy h3 { font-size: 1.3rem; }
  .services .feature-copy p { font-size: 1rem; }
}

@media (max-width: 23rem) {
  .header-brand { width: 2.45rem; }
  .header-inner { gap: 0 0.3rem; }
  .site-header[data-menu-ready] .menu-toggle { padding-inline: 0.42rem; }
}
