/* ==========================================================================
   components.css · Osteria del Lago
   Navigation, buttons, forms, menu items, marquee, testimonials, FAQ, footer.
   ========================================================================== */

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 0;
  transition:
    background var(--dur-mid) var(--ease-out-expo),
    padding var(--dur-mid) var(--ease-out-expo),
    border-color var(--dur-mid) var(--ease-out-expo);
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* Always-filled nav (index page over the hero video), desktop and mobile */
.nav.is-solid {
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-bottom: 1px solid var(--color-border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}

.nav__logo em {
  font-style: italic;
  color: var(--color-forest);
}

.nav__links {
  display: flex;
  gap: 2rem;
  align-items: center;
  /* push the menu links (and the CTA after them) to the right on desktop */
  margin-left: auto;
  transition: opacity var(--dur-mid) var(--ease-out-expo);
}

.nav__link {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-ink-muted);
  transition: color var(--dur-fast) var(--ease-out-expo);
}

.nav__link:hover {
  color: var(--color-ink);
}

.nav__link.active {
  color: var(--color-ink);
  font-weight: 500;
}

.nav__cta {
  background: var(--color-forest);
  color: #fff;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.625rem 1.375rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition:
    background var(--dur-fast) var(--ease-out-expo),
    transform var(--dur-fast) var(--ease-out-expo);
}

.nav__cta:hover {
  background: var(--color-green);
  transform: translateY(-1px);
}

.nav__cta:active {
  transform: scale(0.98);
}

/* Smooth slide for the index hero nav (logo to the left, CTA to the right).
   JS sets an inline translateX; the transition animates it. While the inline
   transform is present (top of the index page) the :hover lift is naturally
   suppressed, and it returns once the inline transform is cleared on scroll. */
.nav__logo,
.nav__cta {
  transition:
    transform var(--dur-mid) var(--ease-out-expo),
    background var(--dur-fast) var(--ease-out-expo),
    color var(--dur-mid) var(--ease-out-expo);
}

/* Index page, desktop, scrolled to top: transparent bar, links hidden,
   logo in white over the hero video. JS centres the logo + CTA cluster. */
@media (min-width: 901px) {
  .nav--index:not(.scrolled) .nav__links {
    opacity: 0;
    pointer-events: none;
  }

  .nav--index:not(.scrolled) .nav__logo,
  .nav--index:not(.scrolled) .nav__logo em {
    color: #fff;
  }
}

/* Index page on mobile: keep the filled bar exactly as before (unchanged) */
@media (max-width: 900px) {
  .nav--index {
    background: rgba(247, 248, 245, 0.92);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border-bottom: 1px solid var(--color-border);
  }
}

/* Animated "Scroll" cue below the centred logo + CTA (index, desktop, top) */
.nav__scroll {
  display: none;
}

@media (min-width: 901px) {
  .nav--index .nav__scroll {
    display: block;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.85rem;
    text-align: center;
    font-family: var(--font-sans);
    font-size: var(--t-label);
    font-weight: 500;
    letter-spacing: var(--ls-label);
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    transition: opacity var(--dur-mid) var(--ease-out-expo);
  }

  .nav--index .nav__scroll span {
    display: block;
    animation: scroll-bob 1.8s var(--ease-out-expo) infinite;
  }

  .nav--index .nav__scroll::after {
    content: "";
    display: block;
    width: 1px;
    height: 26px;
    margin: 0.6rem auto 0;
    background: rgba(255, 255, 255, 0.55);
    transform-origin: top center;
    animation: scroll-line 1.8s var(--ease-out-expo) infinite;
  }

  /* Hide the cue once the page is scrolled */
  .nav--index.scrolled .nav__scroll {
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes scroll-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(3px); }
}

@keyframes scroll-line {
  0%   { transform: scaleY(0); opacity: 0; }
  30%  { opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .nav--index .nav__scroll span,
  .nav--index .nav__scroll::after {
    animation: none;
  }
}

/* Hamburger */
.nav__hamburger {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  z-index: 210;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--color-ink);
  transition:
    transform 300ms var(--ease-out-expo),
    opacity 300ms var(--ease-out-expo);
}

.nav__hamburger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile overlay menu */
.nav__menu {
  position: fixed;
  inset: 0;
  background: var(--color-canvas);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition:
    opacity var(--dur-mid) var(--ease-out-expo),
    visibility var(--dur-mid) var(--ease-out-expo),
    transform var(--dur-mid) var(--ease-out-expo);
}

.nav__menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav__menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav__menu-links li {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-mid) var(--ease-out-expo),
    transform var(--dur-mid) var(--ease-out-expo);
  transition-delay: var(--link-delay, 0ms);
}

.nav__menu.open .nav__menu-links li {
  opacity: 1;
  transform: translateY(0);
}

.nav__menu-links a {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 6vw, 3.5rem);
  line-height: 1.2;
  color: var(--color-ink);
}

.nav__menu-links a em {
  font-style: italic;
  color: var(--color-forest);
}

.nav__menu-cta {
  margin-top: 2.5rem;
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--dur-mid) var(--ease-out-expo),
    transform var(--dur-mid) var(--ease-out-expo);
  transition-delay: var(--link-delay, 0ms);
}

.nav__menu.open .nav__menu-cta {
  opacity: 1;
  transform: translateY(0);
}

.nav__menu-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-ink);
}

.nav__menu-meta {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

/* Nav responsive: swap desktop links for hamburger on small screens */
@media (max-width: 900px) {
  .nav__links,
  .nav__cta {
    display: none;
  }

  .nav__hamburger {
    display: flex;
  }
}

/* --- Button sending state + spinner --- */
.btn.is-sending {
  cursor: progress;
  opacity: 0.9;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: btn-spin 0.65s linear infinite;
}

@keyframes btn-spin {
  to { transform: rotate(360deg); }
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--font-sans);
  font-weight: 500;
  border-radius: 3px;
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out-expo);
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--color-forest);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.btn-primary:hover {
  background: var(--color-green);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: transparent;
  color: var(--color-forest);
  border: 1.5px solid var(--color-forest);
  padding: 0.6875rem 1.4375rem;
  font-size: 0.9375rem;
}

.btn-secondary:hover {
  background: var(--color-forest);
  color: #fff;
}

.btn-red {
  background: var(--color-crimson);
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
}

.btn-red:hover {
  background: var(--color-red);
  transform: translateY(-1px);
}

.btn-red:active {
  transform: scale(0.98);
}

.btn-ghost {
  background: transparent;
  color: var(--color-ink);
  border: none;
  padding: 0;
  font-size: 0.9375rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ghost .btn-ghost__label {
  position: relative;
}

.btn-ghost .btn-ghost__label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-fast) var(--ease-out-expo);
}

.btn-ghost:hover .btn-ghost__label::after {
  transform: scaleX(1);
}

.btn-arrow {
  width: 20px;
  height: 20px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--dur-fast) var(--ease-out-expo);
  flex-shrink: 0;
}

.btn-ghost:hover .btn-arrow {
  transform: translate(3px, -2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

/* --- Booking bar --- */
.booking-bar {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  flex-wrap: wrap;
}

.booking-bar__field {
  flex: 1;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.booking-bar__label {
  font-size: var(--t-label);
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--color-ink-muted);
}

.booking-bar__input,
.booking-bar__select {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  border: none;
  background: transparent;
  border-bottom: 1px solid var(--color-border);
  padding: 0.375rem 0;
  color: var(--color-ink);
  width: 100%;
  transition: border-color var(--dur-fast) var(--ease-out-expo);
}

.booking-bar__input:focus,
.booking-bar__select:focus {
  outline: none;
  border-bottom-color: var(--color-forest);
}

.booking-bar__submit {
  background: var(--color-forest);
  color: #fff;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 0.9375rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  padding: 0.75rem 2rem;
  transition:
    background var(--dur-fast) var(--ease-out-expo),
    transform var(--dur-fast) var(--ease-out-expo);
}

.booking-bar__submit:hover {
  background: var(--color-green);
  transform: translateY(-1px);
}

.booking-bar__submit:active {
  transform: scale(0.98);
}

/* --- Menu item --- */
.menu-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: start;
}

.menu-item__name {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--color-ink);
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.625rem;
}

.menu-item__desc {
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  margin-top: 0.25rem;
  line-height: 1.55;
  max-width: 52ch;
}

.menu-item__price {
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  color: var(--color-crimson);
  font-weight: 500;
  white-space: nowrap;
  text-align: right;
}

.menu-item__badge {
  display: inline-block;
  background: var(--color-green-tint);
  color: var(--color-forest);
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.5em;
  border-radius: 2px;
  font-weight: 500;
  line-height: 1.2;
}

/* --- Dish feature --- */
.dish-feature {
  border-top: 2px solid var(--color-forest);
  padding-top: 1.5rem;
}

.dish-feature__number {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-ink-muted);
  display: block;
  margin-bottom: 1rem;
  text-transform: lowercase;
  letter-spacing: 0.08em;
}

.dish-feature__name {
  font-family: var(--font-serif);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  line-height: 1.2;
  font-weight: 400;
}

.dish-feature__badge {
  display: inline-block;
  margin-top: 0.75rem;
  background: var(--color-green-tint);
  color: var(--color-forest);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2em 0.5em;
  border-radius: 2px;
  font-weight: 500;
}

.dish-feature__desc {
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
  margin-top: 0.75rem;
  line-height: 1.6;
}

.dish-feature__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-top: 1.25rem;
  padding-top: 0.5rem;
}

.dish-feature__img .img-placeholder,
.dish-feature__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- Stats row --- */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  border: 1px solid var(--color-border);
}

.stat-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid var(--color-border);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.25rem);
  color: var(--color-forest);
  line-height: 1;
  display: block;
}

.stat-label {
  font-size: 0.8125rem;
  color: var(--color-ink-muted);
  margin-top: 0.5rem;
  display: block;
  line-height: 1.4;
}

/* --- Testimonials --- */
.testimonials {
  position: relative;
  overflow: hidden;
  min-height: 240px;
}

.testimonial-item {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  transition:
    opacity var(--dur-mid) var(--ease-out-expo),
    transform var(--dur-mid) var(--ease-out-expo);
  pointer-events: none;
}

.testimonial-item.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.testimonial-item.prev {
  opacity: 0;
  transform: translateX(-40px);
}

.testimonial-item.next {
  opacity: 0;
  transform: translateX(40px);
}

.testimonial-text {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.5vw, 1.625rem);
  font-style: italic;
  line-height: 1.5;
  color: var(--color-ink);
}

.testimonial-author {
  font-size: 0.875rem;
  color: var(--color-ink-muted);
  margin-top: 1.25rem;
}

.testimonial-dots {
  display: flex;
  gap: 0.625rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out-expo);
}

.testimonial-dot.active {
  background: var(--color-forest);
}

/* --- Marquee --- */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid var(--color-border);
  padding-block: 1rem;
}

.marquee__track {
  display: inline-flex;
  gap: 3rem;
  width: max-content;
  animation: marquee-scroll 40s linear infinite;
}

.marquee:hover .marquee__track {
  animation-play-state: paused;
}

.marquee__item {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--color-ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 1.5rem;
}

.marquee__item::after {
  content: "\00B7";
  color: var(--color-crimson);
  font-size: 1.25rem;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee__track {
    animation: none;
  }
}

/* --- FAQ accordion --- */
.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.375rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-ink);
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  position: relative;
  transition: transform var(--dur-fast) var(--ease-out-expo);
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-ink);
}

.faq-icon::before {
  width: 14px;
  height: 1.5px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 1.5px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.faq-item.open .faq-icon {
  transform: rotate(135deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-mid) var(--ease-out-expo);
}

.faq-body p {
  font-size: 0.9375rem;
  color: var(--color-ink-muted);
  line-height: 1.7;
  padding-bottom: 1.5rem;
}

/* --- Hours table --- */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table tr {
  border-bottom: 1px solid var(--color-border);
}

.hours-table td {
  padding: 0.875rem 0;
  font-size: 0.9375rem;
}

.hours-table td:first-child {
  color: var(--color-ink);
  font-weight: 500;
}

.hours-table td:last-child {
  color: var(--color-ink-muted);
  text-align: right;
}

/* --- Pull quote --- */
.pull-quote {
  border-left: 3px solid var(--color-forest);
  padding: 1.5rem 2rem;
  background: var(--color-green-tint);
}

.pull-quote__text {
  font-family: var(--font-serif);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-style: italic;
  line-height: 1.55;
  color: var(--color-ink);
}

.pull-quote__source {
  font-size: 0.8125rem;
  color: var(--color-ink-muted);
  margin-top: 0.75rem;
  font-weight: 500;
}

/* --- Newsletter strip --- */
.newsletter {
  background: var(--color-forest);
  color: #fff;
  padding-block: var(--space-xl);
}

.newsletter h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.newsletter p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  margin-top: 0.75rem;
}

.newsletter__form {
  display: flex;
  gap: 0;
  max-width: 480px;
}

.newsletter__input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 0.9375rem;
  font-family: var(--font-sans);
  border-radius: 3px 0 0 3px;
}

.newsletter__input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.newsletter__input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.5);
}

.newsletter__submit {
  background: #fff;
  color: var(--color-forest);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  border-radius: 0 3px 3px 0;
  transition: background var(--dur-fast) var(--ease-out-expo);
}

.newsletter__submit:hover {
  background: rgba(255, 255, 255, 0.88);
}

.newsletter__success {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.375rem;
  color: #fff;
}

/* --- Footer --- */
.footer {
  background: var(--color-ink);
  color: rgba(255, 255, 255, 0.7);
  padding-block: var(--space-2xl) var(--space-lg);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: #fff;
}

.footer__logo em {
  font-style: italic;
  color: var(--color-sage);
}

.footer__tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
  max-width: 30ch;
}

.footer__heading {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 1rem;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a,
.footer__contact {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--dur-fast) var(--ease-out-expo);
}

.footer__links a:hover {
  color: #fff;
}

.footer__contact {
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--space-xl);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--dur-fast) var(--ease-out-expo);
}

.footer__legal a:hover {
  color: #fff;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.5);
  transition:
    color var(--dur-fast) var(--ease-out-expo),
    border-color var(--dur-fast) var(--ease-out-expo);
}

.social-links a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

/* --- Gallery strip --- */
.gallery-strip {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 4px;
}

.gallery-strip .img-placeholder,
.gallery-strip img {
  aspect-ratio: 4 / 3;
}

.gallery-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-strip .img-placeholder:first-child,
.gallery-strip img:first-child {
  grid-row: 1 / 3;
  aspect-ratio: 3 / 4;
}
