/* Gallery modal styles */
.gallery-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
  outline: none;
  overflow: hidden;
}
.gallery-modal.open {
  display: flex;
}
.gallery-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.92);
  backdrop-filter: blur(8px);
}
.gallery-modal-content {
  position: relative;
  z-index: 1;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  max-height: 96vh;
  width: min(92vw, 1100px);
  padding: 20px 0;
  box-sizing: border-box;
  background: transparent;
}
.gallery-modal-media {
  position: relative;
  width: 100%;
  max-width: 100%;
  min-height: min(56vh, 560px);
  display: grid;
  place-items: center;
  overflow: hidden;
  background: transparent;
}
.gallery-modal-spinner,
.gallery-modal-image {
  grid-area: 1 / 1;
}
.gallery-modal-spinner {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 3px solid rgba(255, 247, 236, 0.2);
  border-top-color: rgba(255, 247, 236, 0.95);
  animation: gallerySpinnerRotate 0.8s linear infinite;
}
.gallery-modal-image {
  max-width: 100%;
  max-height: min(80vh, 820px);
  /* width: 100%; */
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
  background: transparent;
  opacity: 1;
  visibility: visible;
  transition: opacity 160ms ease;
}
.gallery-modal-image img {
  filter: none;
}
.gallery-modal-media.is-loading .gallery-modal-image {
  opacity: 0;
  visibility: hidden;
  box-shadow: none;
}
.gallery-modal-media:not(.is-loading) .gallery-modal-spinner {
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}
.gallery-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 247, 236, 0.95);
  border: none;
  border-radius: 999px;
  width: 44px;
  height: 44px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.gallery-modal-close:hover {
  background: #f5e6c8;
}
.gallery-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 247, 236, 0.95);
  border: none;
  border-radius: 999px;
  width: 52px;
  height: 52px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}
.gallery-modal-prev {
  left: 12px;
}
.gallery-modal-next {
  right: 12px;
}
.gallery-modal-nav:hover {
  background: #f5e6c8;
}
/* Simple gallery main image styles */
.gallery-main-image {
  width: 100%;
  max-width: 100vw;
  max-height: 70vh;
  display: block;
  margin: 0 auto;
  object-fit: contain;
  object-position: center center;
  border-radius: 18px;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

@media (max-width: 719px) {
  .gallery-main-image {
    object-position: center bottom;
  }
}

.simple-gallery-viewer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 32px 0;
}
.gallery-prev,
.gallery-next {
  background: rgba(255, 247, 236, 0.9);
  border: none;
  border-radius: 999px;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.gallery-prev:hover,
.gallery-next:hover {
  background: #f5e6c8;
}

@media (max-width: 719px) {
  .simple-gallery-viewer {
    gap: 10px;
  }

  .gallery-prev,
  .gallery-next,
  .gallery-modal-nav,
  .gallery-modal-close {
    width: 48px;
    height: 48px;
  }

  .gallery-modal-content {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    min-height: 100dvh;
    justify-content: center;
    padding: max(18px, env(safe-area-inset-top)) 0
      max(92px, env(safe-area-inset-bottom));
    overflow: hidden;
  }

  .gallery-modal-nav {
    position: fixed;
    top: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    transform: none;
  }

  .gallery-modal-prev {
    left: calc(50vw - 58px);
  }

  .gallery-modal-next {
    right: calc(50vw - 58px);
  }

  .gallery-modal-close {
    position: fixed;
    top: max(12px, env(safe-area-inset-top));
    right: max(12px, env(safe-area-inset-right));
  }

  .gallery-modal-image {
    max-height: min(62vh, 62dvh);
  }

  .gallery-modal-media {
    width: 100%;
    min-height: min(62vh, 62dvh);
    height: min(62vh, 62dvh);
    max-height: min(62vh, 62dvh);
  }
}

@keyframes gallerySpinnerRotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-alt: #fefefe;
  --text: #111111;
  --muted: #5f5f5f;
  --accent: #111111;
  --accent-2: #2b2b2b;
  --border: #d6c7b0;
  --border-strong: #bca887;
  --shadow-soft: rgba(0, 0, 0, 0.08);
  --shadow-medium: rgba(0, 0, 0, 0.16);
  /* --interactive-1: #ff6f9c;
  --interactive-2: #ffb85c; */
  --interactive-1: #5cffae;
  --interactive-2: #6f7bff;
  --max-width: 1000px;
  --radius: 10px;
}

/* New layout helpers added for index.html redesign */
.header-inner {
  display: flex;
  flex-wrap: nowrap;
  flex-direction: column;
  gap: 0;
}
.header-main {
  min-height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: center;
}
.hero-intro {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.hero-image-wrapper {
  width: 100%;
  display: block;
  max-width: 520px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px rgba(16, 16, 16, 0.08);
}
.hero-image-wrapper img {
  transition: filter 2s ease;
  filter: grayscale(100%) saturate(1.1) brightness(1.1);
}
.feature-card {
  background: var(--surface);
  border: 1px solid rgba(188, 168, 135, 0.45);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 20px var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}
.wrap.work-highlights h3 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.work-highlights h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(72, 58, 43, 0.85),
    rgba(214, 199, 176, 0.7)
  );
  transition: background 0.3s ease;
}
.work-highlights h3:hover::after,
.work-highlights h3:focus-visible::after {
  background: linear-gradient(
    90deg,
    var(--interactive-2),
    var(--interactive-1)
  );
}
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 12px;
}
.feature-card--highlight {
  background: var(--surface);
  border: 1px solid rgba(188, 168, 135, 0.45);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 20px var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}
.feature-card--highlight:hover,
.feature-card--highlight:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px var(--shadow-medium);
}

@media (max-width: 719px) {
  .work-highlights--reveal .feature-card--highlight.is-pending {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
      opacity 560ms ease,
      transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 220ms ease,
      border-color 220ms ease,
      background 220ms ease;
    transition-delay: var(--reveal-delay, 0ms);
  }

  .work-highlights--reveal .feature-card--highlight.is-pending.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .creations-tease--reveal .creations-tease__card.is-pending,
  .work-experience--reveal .feature-card--work.is-pending {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition:
      opacity 560ms ease,
      transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1),
      box-shadow 220ms ease,
      border-color 220ms ease,
      background 220ms ease;
    transition-delay: var(--reveal-delay, 0ms);
  }

  .creations-tease--reveal .creations-tease__card.is-pending.is-visible,
  .work-experience--reveal .feature-card--work.is-pending.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.feature-card--highlight h4 {
  margin: 0 0 20px;
  position: relative;
}
.feature-card--highlight h4::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(72, 58, 43, 0.85),
    rgba(214, 199, 176, 0.7)
  );
  transition: background 0.3s ease;
}
.feature-card--highlight:hover h4::after,
.feature-card--highlight:focus-visible h4::after {
  background: linear-gradient(
    90deg,
    var(--interactive-2),
    var(--interactive-1)
  );
}
.feature-card p {
  margin: 0;
}
.feature-card__cta {
  margin-top: auto;
  padding: 4px 0;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}
.feature-card__cta::after {
  content: "→";
  font-size: 1rem;
  transition: transform 0.25s ease;
}
.feature-card__cta:hover,
.feature-card__cta:focus-visible {
  color: var(--interactive-2);
}
.feature-card__cta:hover::after,
.feature-card__cta:focus-visible::after {
  transform: translateX(4px);
}

.wrap.creations-tease h3 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.wrap.creations-tease h3 a {
  color: inherit;
  text-decoration: none;
}

.wrap.creations-tease h3 a:hover,
.wrap.creations-tease h3 a:focus-visible,
.wrap.creations-tease h3 a:active {
  color: inherit;
  text-decoration: none;
}

.creations-tease h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(72, 58, 43, 0.85),
    rgba(214, 199, 176, 0.7)
  );
  transition: background 0.3s ease;
}
.creations-tease h3:hover::after,
.creations-tease h3:focus-visible::after {
  background: linear-gradient(
    90deg,
    var(--interactive-2),
    var(--interactive-1)
  );
}

.creations-tease__card {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.creations-tease__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.creations-tease__gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: 0 12px 28px var(--shadow-soft);
  cursor: pointer;
}
.creations-tease__gallery img:hover {
  transform: translateY(-4px);
}

.awards-section {
  overflow: visible;
}

.awards-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.awards-section__eyebrow {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.wrap.awards-section h3 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin: 0;
}

.awards-section h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(72, 58, 43, 0.85),
    rgba(214, 199, 176, 0.7)
  );
  transition: background 0.3s ease;
}

.awards-section h3:hover::after,
.awards-section h3:focus-visible::after {
  background: linear-gradient(
    90deg,
    var(--interactive-2),
    var(--interactive-1)
  );
}

.awards-section__controls {
  display: flex;
  gap: 10px;
}

.awards-section__nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(188, 168, 135, 0.55);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 8px 20px var(--shadow-soft);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    background 180ms ease;
}

.awards-section__nav:hover,
.awards-section__nav:focus-visible {
  border-color: var(--interactive-2);
  color: var(--interactive-2);
  transform: translateY(-2px);
}

.awards-section__nav:disabled {
  opacity: 0.38;
  cursor: default;
  transform: none;
}

.awards-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(245px, 34%);
  gap: 16px;
  margin: -10px -30px -12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 28px 30px 36px;
}

.awards-slider::-webkit-scrollbar {
  display: none;
}

.award-card {
  min-height: 230px;
  padding: 22px;
  border: 1px solid rgba(188, 168, 135, 0.55);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.78)),
    var(--surface);
  box-shadow: 0 12px 28px var(--shadow-soft);
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scroll-snap-align: start;
  text-decoration: none;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}

.award-card:hover,
.award-card:focus-within {
  color: inherit;
  transform: translateY(-6px);
  border-color: rgba(111, 123, 255, 0.45);
  box-shadow: 0 26px 50px var(--shadow-medium);
}

.award-card__year {
  width: max-content;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(32, 32, 32, 0.72);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.award-card h4 {
  margin: 10px 0 0;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.05;
}

.award-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.award-card__link {
  margin-top: auto;
  color: var(--accent);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  width: max-content;
}

.award-card__link::after {
  content: "→";
  transition: transform 0.25s ease;
}

.award-card:hover .award-card__link,
.award-card__link:focus-visible {
  color: var(--interactive-2);
}

.award-card:hover .award-card__link::after,
.award-card__link:focus-visible::after {
  transform: translateX(4px);
}

.awards-section__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 28px;
  margin-top: 4px;
}

.awards-section__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(72, 58, 43, 0.26);
  cursor: pointer;
  transition:
    width 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.awards-section__dot:hover,
.awards-section__dot:focus-visible {
  transform: scale(1.2);
}

.awards-section__dot.is-active {
  width: 24px;
  background: linear-gradient(90deg, var(--interactive-2), var(--interactive-1));
}

.wrap.work-experience h3 {
  position: relative;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.work-experience h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(72, 58, 43, 0.85),
    rgba(214, 199, 176, 0.7)
  );
  transition: background 0.3s ease;
}
.work-experience h3:hover::after,
.work-experience h3:focus-visible::after {
  background: linear-gradient(
    90deg,
    var(--interactive-2),
    var(--interactive-1)
  );
}
.work-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.internships-section {
  overflow: visible;
}
.internships-section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.internships-section .internships-section__header h3 {
  margin: 0;
}
.work-grid--slider {
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 48%);
  margin: -10px -30px -12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-padding-inline: 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 28px 30px 36px;
}
.work-grid--slider::-webkit-scrollbar {
  display: none;
}
.work-grid--slider .feature-card--work {
  min-height: 100%;
  scroll-snap-align: start;
}
.feature-card--work {
  position: relative;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(188, 168, 135, 0.6);
  padding: 24px;
  backdrop-filter: blur(6px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    background 220ms ease;
}
.feature-card__header::before {
  content: "";
  position: absolute;
  inset: 0px 10% auto 10%;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(72, 58, 43, 0.85),
    rgba(214, 199, 176, 0.7)
  );
  opacity: 0.9;
  transition:
    background 0.3s ease,
    opacity 0.3s ease;
}
.feature-card--work.is-active,
.feature-card--work:hover,
.feature-card--work:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px var(--shadow-medium);
}
.feature-card--work > * {
  position: relative;
  z-index: 1;
}
.feature-card--work.is-active .feature-card__header::before,
.feature-card--work:hover .feature-card__header::before,
.feature-card--work:focus-within .feature-card__header::before {
  background: linear-gradient(
    90deg,
    var(--interactive-2),
    var(--interactive-1)
  );
  opacity: 1;
}
.feature-card--work .feature-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.feature-card--work .feature-card__header h4 {
  margin: 0;
  margin-top: 30px;
}
.feature-card--work .feature-card__location {
  margin: 6px 0 0;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
}
.feature-card--work .feature-card__meta {
  color: rgba(30, 32, 46, 0.76);
  font-size: 0.92rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.feature-card--work .feature-card__meta-note {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.06);
  color: rgba(32, 32, 32, 0.72);
  font-size: 0.72rem;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}
.feature-card--work.is-active .feature-card__meta-note,
.feature-card--work:hover .feature-card__meta-note,
.feature-card--work:focus-within .feature-card__meta-note {
  color: var(--interactive-2);
}
.feature-card--work h4 {
  font-size: 1.1rem;
  line-height: 1.3;
}
.feature-card--work h4 em {
  font-style: normal;
  color: rgba(30, 32, 46, 0.6);
  font-weight: 500;
}
.feature-card--work .badges {
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.feature-card--work .badges .badge {
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  overflow: hidden;
  display: flex;
  flex-wrap: nowrap;
  gap: 3px;
  transition:
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}
.feature-card--work .badge--best {
  font-weight: 600;
}
.feature-card--work.is-active .badge--michelin,
.feature-card--work:hover .badge--michelin,
.feature-card--work:focus-within .badge--michelin {
  border: 1px solid rgba(217, 37, 69, 0.6);
}
.feature-card--work.is-active .badge--hat,
.feature-card--work:hover .badge--hat,
.feature-card--work:focus-within .badge--hat {
  border: 1px solid rgba(254, 72, 97, 0.6);
}
.feature-card--work.is-active .badge--best,
.feature-card--work:hover .badge--best,
.feature-card--work:focus-within .badge--best {
  border: 1px solid rgba(0, 0, 0, 0.6);
  background: #fff !important;
}
.feature-card--work .feature-card__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.feature-card--work .feature-card__body p {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.55;
}
.feature-card--work .feature-card__body ul {
  margin: 0;
  padding-left: 20px;
}
.feature-card--work .feature-card__body li {
  margin-bottom: 6px;
}
.btn-group {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Brand link (header) */
.brand-link {
  text-decoration: none;
  color: inherit;
}

/* Hero lead paragraph */
.hero-lead {
  max-width: 70ch;
}

/* Hero image
  Ensures images inside the wrapper scale correctly and behave as block elements */
.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer paragraph defaults inside site-footer */
.site-footer p {
  margin: 0;
  color: var(--muted);
}
.experience-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  gap: 12px;
}
.experience-item {
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #fff, #fbfbfb);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* small utility */
.muted-small {
  color: var(--muted);
}

/* Reset + base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: "Lora", "Times New Roman", serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  font-size: 16px;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  transition:
    filter 0.3s ease,
    transform 0.22s ease;
}
img:hover,
img:focus-visible {
  filter: none;
}
.hero-image-wrapper:is(:hover, :focus-visible, :focus-within) img,
.feature-card:is(:hover, :focus-within) img,
.feature-card--work.is-active img,
.feature-card--work:is(:hover, :focus-within) img,
.gallery-item:is(:hover, :focus-visible, :focus-within, :active) img,
.badges .badge:is(:hover, :focus-visible, :focus-within) img {
  filter: none;
}

a {
  color: var(--accent);
  transition: color 0.25s ease;
}
a:hover,
a:focus-visible,
a:active {
  color: var(--interactive-2);
}

/* Typography: refined serif headings using Cormorant Garamond */
h1,
h2,
h3,
h4,
.site-title {
  font-family: "Cormorant Garamond", "Lora", "Times New Roman", serif;
  letter-spacing: 0.4px;
  color: var(--accent);
}

.site-title {
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--accent);
}

/* Hero heading: light, roomy */
.hero h2 {
  font-family: "Cormorant Garamond", "Lora", "Times New Roman", serif;
  margin: 0 0 10px;
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.8px;
  line-height: 1.05;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 16px;
}

/* Header */
.site-header {
  position: relative;
  padding: 28px 0;
  border-bottom: 1px solid rgba(72, 58, 43, 0.18);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.6),
    rgba(255, 255, 255, 0)
  );
}
.site-header .site-title {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 1px;
}
.site-sub {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.site-nav {
  margin-top: 10px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
}
.site-nav a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  padding: 6px 8px;
  border-radius: 6px;
  transition:
    color 0.25s ease,
    background 0.25s ease;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.header-utility {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 26px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid rgba(188, 168, 135, 0.45);
  background: var(--surface);
  cursor: pointer;
  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  border-color: rgba(72, 58, 43, 0.6);
  background: rgba(255, 255, 255, 0.92);
}

.theme-toggle__track {
  display: inline-flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 2px;
  border-radius: 999px;
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(95, 255, 174, 0.4),
    rgba(111, 123, 255, 0.4)
  );
  transition: background 0.25s ease;
}

.theme-toggle__icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  pointer-events: none;
  transition: opacity 0.25s ease;
  opacity: 0.35;
}

.theme-toggle__icon svg {
  width: 14px;
  height: 14px;
}

.theme-toggle__icon--sun {
  left: 6px;
  color: #fff;
  opacity: 1;
}

.theme-toggle__icon--moon {
  right: 6px;
  color: #000;
}

.theme-toggle.is-dark .theme-toggle__icon--sun,
html[data-theme="dark"] .theme-toggle .theme-toggle__icon--sun {
  opacity: 0.35;
}

.theme-toggle.is-dark .theme-toggle__icon--moon,
html[data-theme="dark"] .theme-toggle .theme-toggle__icon--moon {
  opacity: 1;
}

.theme-toggle__thumb {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 4px 10px var(--shadow-soft);
  transform: translateX(0);
  transition:
    transform 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

.theme-toggle.is-dark .theme-toggle__thumb {
  transform: translateX(20px);
  background: var(--bg);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

.theme-toggle.is-dark .theme-toggle__track {
  background: linear-gradient(
    135deg,
    rgba(72, 58, 43, 0.65),
    rgba(214, 199, 176, 0.4)
  );
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--bg);
  color: inherit;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}
.menu-toggle:focus-visible,
.menu-toggle:hover {
  border-color: rgba(0, 0, 0, 0.28);
  background: rgba(255, 255, 255, 0.92);
}
.menu-toggle:active {
  transform: scale(0.96);
}
.menu-toggle__bar {
  display: block;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}
.menu-toggle__bar + .menu-toggle__bar {
  margin-top: 5px;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  transform: translateY(7px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(4) {
  transform: translateY(-7px) rotate(-45deg);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.back-to-top {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: 48px;
  height: 48px;
  border: 1px solid rgba(188, 168, 135, 0.55);
  border-radius: 999px;
  background: rgba(255, 247, 236, 0.94);
  color: var(--text);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  z-index: 40;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.back-to-top::before {
  content: "";
  width: 12px;
  height: 12px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: rotate(45deg) translate(2px, 2px);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover,
.back-to-top:focus-visible,
.back-to-top:active {
  background: rgba(255, 247, 236, 1);
  border-color: rgba(111, 123, 255, 0.44);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 719px) {
  .back-to-top {
    display: inline-flex;
  }
}

html[data-theme="dark"] .back-to-top {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 18, 0.92);
  color: rgba(255, 247, 236, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .back-to-top:hover,
html[data-theme="dark"] .back-to-top:focus-visible,
html[data-theme="dark"] .back-to-top:active {
  border-color: rgba(92, 255, 174, 0.34);
  background: rgba(26, 26, 26, 0.98);
}

html:not([data-theme]) .back-to-top {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(18, 18, 18, 0.92);
  color: rgba(255, 247, 236, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34);
}

html:not([data-theme]) .back-to-top:hover,
html:not([data-theme]) .back-to-top:focus-visible,
html:not([data-theme]) .back-to-top:active {
  border-color: rgba(92, 255, 174, 0.34);
  background: rgba(26, 26, 26, 0.98);
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a:active {
  background: rgba(0, 0, 0, 0.08);
  color: var(--interactive-2);
}

@media (max-width: 719px) {
  .site-header {
    padding: 0px 0 18px;
  }
  .header-inner {
    gap: 12px;
  }
  .header-main {
    min-height: auto;
    align-items: center;
    gap: 12px;
  }
  .site-header .site-title {
    font-size: 1.4rem;
  }
  .site-sub {
    max-width: 18ch;
  }
  .header-controls {
    position: relative;
    display: grid;
    justify-items: end;
    gap: 10px;
    margin-left: 0;
  }
  .header-utility {
    gap: 8px;
  }
  .menu-toggle {
    display: inline-flex;
    z-index: 50;
  }
  .site-nav {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    left: auto;
    width: min(320px, calc(100vw - 32px));
    display: grid;
    gap: 12px;
    padding: 18px 18px 20px;
    border-radius: 14px;
    background: var(--surface);
    border: 1px solid rgba(188, 168, 135, 0.45);
    box-shadow: 0 24px 46px var(--shadow-soft);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity 0.24s ease,
      transform 0.24s ease,
      visibility 0.24s ease,
      box-shadow 0.24s ease;
    z-index: 40;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    box-shadow: 0 32px 52px rgba(0, 0, 0, 0.16);
  }
  .site-nav a {
    padding: 10px 2px;
    font-size: 1.04rem;
  }
  .hero-grid {
    grid-template-areas:
      "title"
      "image"
      "copy";
    gap: 18px;
    align-items: start;
  }
  .hero-intro {
    display: contents;
  }
  .hero h2 {
    grid-area: title;
    margin-bottom: 0;
  }
  .hero-copy {
    grid-area: copy;
  }
  .hero-image-wrapper {
    grid-area: image;
    max-width: min(100%, 430px);
    width: 100%;
  }
  .hero-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .feature-card--work .feature-card__header {
    align-items: center;
    flex-direction: column;
    gap: 20px;
  }
  .awards-section__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .awards-section__controls {
    align-self: flex-end;
  }
  .awards-slider {
    grid-auto-columns: minmax(238px, 86%);
    margin: -8px -18px -10px;
    scroll-padding-inline: 18px;
    padding: 24px 18px 34px;
  }
  .award-card {
    min-height: 220px;
  }
  .award-card h4 {
    font-size: 1.42rem;
  }
  .internships-section__header {
    align-items: flex-start;
    flex-direction: column;
  }
  .internships-section__header .awards-section__controls {
    align-self: flex-end;
  }
  .work-grid--slider {
    grid-auto-columns: minmax(260px, 86%);
    margin: -8px -18px -10px;
    scroll-padding-inline: 18px;
    padding: 24px 18px 34px;
  }
}

/* Hero */
.hero {
  padding: 28px 0;
}
.hero p {
  margin: 0 0 12px;
  color: var(--muted);
}
.hero p {
  margin: 0 0 12px;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.btn:hover,
.btn:focus-visible,
.btn:active {
  background: var(--interactive-2);
  color: var(--bg);
}
.btn.ghost:hover,
.btn.ghost:focus-visible,
.btn.ghost:active {
  color: var(--interactive-2);
  border-color: var(--interactive-2);
  background: transparent;
}

/* Content */
.job {
  padding: 14px 0;
  margin: 18px 0;
  border-bottom: 1px solid var(--border);
}
.job h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.job p {
  margin: 0;
  color: var(--muted);
}

.dishes {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dishes li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.press-list a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}
.press-list a:hover,
.press-list a:focus-visible,
.press-list a:active {
  color: var(--interactive-2);
  text-decoration: underline;
}

.press-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.press-showcase {
  display: grid;
  gap: 16px;
  margin-bottom: 8px;
}

.press-showcase__intro {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px 18px;
  border: 1px solid rgba(188, 168, 135, 0.45);
  border-radius: 20px;
  background:
    radial-gradient(
      circle at top right,
      rgba(111, 123, 255, 0.1),
      transparent 34%
    ),
    linear-gradient(160deg, rgba(255, 248, 238, 0.96), rgba(255, 255, 255, 1));
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.08);
}

.press-showcase__eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.press-showcase__intro h2,
.press-showcase__description {
  margin: 0;
}

.press-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 4px;
}

.press-stat {
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(188, 168, 135, 0.45);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.74);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.press-stat:last-child {
  grid-column: 1 / -1;
}

.press-stat__value {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  line-height: 0.95;
  color: var(--accent);
}

.press-stat__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.press-callout {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(188, 168, 135, 0.45);
  background:
    linear-gradient(180deg, rgba(17, 17, 17, 0.96), rgba(36, 36, 36, 0.96)),
    var(--accent);
  color: #f7f1e8;
  box-shadow: 0 18px 36px rgba(17, 17, 17, 0.14);
}

.press-callout__label,
.press-callout__text {
  margin: 0;
}

.press-callout__label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(247, 241, 232, 0.72);
}

.press-callout__text {
  margin-top: 12px;
  font-size: 1rem;
  line-height: 1.6;
}

.press-list--cards {
  display: grid;
  gap: 14px;
}

.press-list--cards li {
  padding: 0;
  border: 0;
  display: flex;
}

.press-list--cards a {
  position: relative;
  min-height: 100%;
  width: 100%;
  padding: 20px 20px 18px;
  border-radius: 18px;
  border: 1px solid rgba(188, 168, 135, 0.34);
  background: var(--surface);
  box-shadow: 0 8px 24px var(--shadow-soft);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  text-decoration: none;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease,
    color 220ms ease;
}

.press-card__source {
  padding-right: 24px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.press-card__meta {
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--muted);
}

.press-card__title {
  font-size: 1.08rem;
  line-height: 1.4;
  color: var(--accent);
}

.press-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--interactive-2);
}

.press-card__cta::after {
  content: "→";
  transition: transform 220ms ease;
}

.press-list--cards a:hover,
.press-list--cards a:focus-visible,
.press-list--cards a:active {
  transform: translateY(-3px);
  border-color: rgba(111, 123, 255, 0.28);
  box-shadow: 0 14px 30px rgba(17, 17, 17, 0.1);
  text-decoration: none;
}

.press-list--cards a:hover::after,
.press-list--cards a:focus-visible::after,
.press-list--cards a:active::after {
  transform: translate(2px, -2px);
  color: var(--interactive-2);
}

.press-list--cards a:hover .press-card__cta::after,
.press-list--cards a:focus-visible .press-card__cta::after,
.press-list--cards a:active .press-card__cta::after {
  transform: translateX(4px);
}

@media (min-width: 720px) {
  .press-showcase {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
  }

  .press-showcase__intro {
    padding: 28px;
  }

  .press-callout {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .press-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .press-stat:last-child {
    grid-column: auto;
  }

  .press-list--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1040px) {
  .press-main {
    gap: 28px;
  }

  .press-showcase {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .press-list--cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  padding: 6px 0;
}

.embed {
  margin-top: 12px;
}

/* Footer */
.site-footer {
  padding: 18px 0;
  margin-top: 40px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Utilities */
.muted {
  color: var(--muted);
}

/* Responsive tweaks */
@media (min-width: 640px) {
  .site-title {
    font-size: 1.9rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .wrap {
    padding: 28px;
  }
  .work-grid {
    gap: 24px;
  }
}

@media (min-width: 1000px) {
  .site-title {
    font-size: 2.2rem;
  }
  .hero h2 {
    font-size: 2.6rem;
  }
  .work-grid {
    gap: 28px;
  }
  .work-grid--slider {
    grid-auto-columns: minmax(320px, 38%);
  }
  .feature-card--work {
    padding: 28px 30px 30px;
  }
  .feature-card--work .feature-card__header {
    gap: 24px;
  }
  .feature-card--work::before {
    inset: 16px 32px auto 32px;
    height: 4px;
  }
  .feature-card--work .feature-card__meta {
    font-size: 0.95rem;
    letter-spacing: 1.4px;
  }
  .feature-card--work .feature-card__body ul {
    padding-left: 24px;
  }
}

/* Accessibility: focus states */
a:focus,
button:focus {
  outline: 3px solid var(--interactive-1);
  outline-offset: 3px;
}

::selection {
  background: var(--interactive-1);
  color: #ffffff;
}

html[data-theme="dark"] {
  --bg: #050505;
  --surface: #111111;
  --surface-alt: #1c1c1c;
  --text: #f1f1f1;
  --muted: #b3b3b3;
  --accent: #f4f4f4;
  --accent-2: #dcdcdc;
  --border: #262626;
  --border-strong: #3a3a3a;
  --shadow-soft: rgba(0, 0, 0, 0.65);
  --shadow-medium: rgba(0, 0, 0, 0.8);
}

html[data-theme="dark"] body {
  background: var(--bg);
  color: var(--text);
}

html[data-theme="dark"] .site-header {
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.95),
    rgba(12, 12, 12, 0.6)
  );
}

html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-footer {
  border-color: var(--border);
}

html[data-theme="dark"] .site-nav a {
  color: var(--accent);
}

html[data-theme="dark"] .feature-card {
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
}

html[data-theme="dark"] .award-card {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(18, 18, 18, 0.96),
    rgba(28, 28, 28, 0.96)
  );
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .award-card:hover,
html[data-theme="dark"] .award-card:focus-within {
  border-color: rgba(92, 255, 174, 0.34);
  box-shadow: 0 30px 52px rgba(0, 0, 0, 0.44);
}

html[data-theme="dark"] .award-card__year {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(220, 220, 220, 0.78);
}

html[data-theme="dark"] .awards-section__nav {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(26, 26, 26, 0.85);
}

html[data-theme="dark"] .awards-section__dot {
  background: rgba(255, 255, 255, 0.22);
}

html[data-theme="dark"] .awards-section__dot.is-active {
  background: linear-gradient(90deg, var(--interactive-2), var(--interactive-1));
}

html[data-theme="dark"] .press-showcase__intro {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(
      circle at top right,
      rgba(92, 255, 174, 0.14),
      transparent 34%
    ),
    linear-gradient(160deg, rgba(17, 17, 17, 0.96), rgba(28, 28, 28, 0.96));
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
}

html[data-theme="dark"] .press-stat {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .press-card__source,
html[data-theme="dark"] .press-showcase__eyebrow,
html[data-theme="dark"] .press-stat__label {
  color: rgba(241, 241, 241, 0.64);
}

html[data-theme="dark"] .press-callout {
  border-color: rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(10, 10, 10, 0.96), rgba(22, 22, 22, 0.96)),
    var(--accent);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.48);
}

html[data-theme="dark"] .press-list--cards a {
  border-color: rgba(255, 255, 255, 0.08);
  background: linear-gradient(
    180deg,
    rgba(18, 18, 18, 0.96),
    rgba(28, 28, 28, 0.96)
  );
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .press-list--cards a::after {
  color: rgba(241, 241, 241, 0.5);
}

html[data-theme="dark"] .press-list--cards a:hover,
html[data-theme="dark"] .press-list--cards a:focus-visible,
html[data-theme="dark"] .press-list--cards a:active {
  border-color: rgba(92, 255, 174, 0.34);
  box-shadow: 0 30px 52px rgba(0, 0, 0, 0.44);
}

html[data-theme="dark"] .creations-tease__eyebrow,
html[data-theme="dark"] .creations-tease__list li {
  color: rgba(241, 241, 241, 0.68);
}

html[data-theme="dark"] .creations-tease__eyebrow a {
  color: rgba(255, 247, 236, 0.9);
}

html[data-theme="dark"] .creations-tease__list li {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

html[data-theme="dark"] .feature-card--work {
  background: linear-gradient(
    135deg,
    rgba(20, 20, 20, 0.95),
    rgba(28, 28, 28, 0.95)
  );
  border: 1px solid var(--border-strong);
  box-shadow: 0 32px 60px rgba(0, 0, 0, 0.7);
}

html[data-theme="dark"] .feature-card--work.is-active,
html[data-theme="dark"] .feature-card--work:hover,
html[data-theme="dark"] .feature-card--work:focus-within {
  border-color: var(--interactive-1);
  box-shadow: 0 42px 70px rgba(0, 0, 0, 0.75);
  background: linear-gradient(
    135deg,
    rgba(255, 111, 156, 0.22),
    rgba(255, 184, 92, 0.26)
  );
}

html[data-theme="dark"] .feature-card--work .feature-card__meta {
  color: rgba(230, 230, 230, 0.72);
}

html[data-theme="dark"] .feature-card--work .feature-card__location {
  color: rgba(210, 210, 210, 0.64);
}

html[data-theme="dark"] .feature-card--work h4 em {
  color: rgba(210, 210, 210, 0.64);
}

html[data-theme="dark"] .feature-card--work .feature-card__body p {
  color: rgba(236, 236, 236, 0.78);
}

html[data-theme="dark"] .feature-card--work .badges .badge {
  background: rgba(0, 0, 0, 0.9);
}

html[data-theme="dark"] .feature-card--work .feature-card__meta-note {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(220, 220, 220, 0.78);
}

html[data-theme="dark"] .feature-card--work.is-active .feature-card__meta-note,
html[data-theme="dark"] .feature-card--work:hover .feature-card__meta-note,
html[data-theme="dark"]
  .feature-card--work:focus-within
  .feature-card__meta-note {
  color: var(--interactive-1);
}

html[data-theme="dark"] .badge--best img {
  filter: invert(1) saturate(0.6) brightness(1.4);
}

html[data-theme="dark"] .menu-toggle {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(26, 26, 26, 0.85);
  color: var(--accent);
}

html[data-theme="dark"] .menu-toggle:hover,
html[data-theme="dark"] .menu-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(38, 38, 38, 0.92);
}

html[data-theme="dark"] .theme-toggle {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(18, 18, 18, 0.8);
}

html[data-theme="dark"] .theme-toggle:hover,
html[data-theme="dark"] .theme-toggle:focus-visible {
  background: rgba(28, 28, 28, 0.92);
  border-color: rgba(255, 255, 255, 0.32);
}

html[data-theme="dark"] .theme-toggle__thumb {
  transform: translateX(20px);
  background: var(--bg);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
}

html[data-theme="dark"] .theme-toggle__track {
  background: linear-gradient(
    135deg,
    rgba(72, 58, 43, 0.65),
    rgba(214, 199, 176, 0.4)
  );
}

/* Dark mode (single consolidated block) */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #050505;
    --surface: #111111;
    --surface-alt: #1c1c1c;
    --text: #f1f1f1;
    --muted: #b3b3b3;
    --accent: #f4f4f4;
    --accent-2: #dcdcdc;
    --border: #262626;
    --border-strong: #3a3a3a;
    --shadow-soft: rgba(0, 0, 0, 0.65);
    --shadow-medium: rgba(0, 0, 0, 0.8);
  }
  .theme-toggle__thumb {
    background: var(--bg);
  }
  html:not([data-theme]) body {
    background: var(--bg);
    color: var(--text);
  }
  html:not([data-theme]) .site-header {
    background: linear-gradient(
      180deg,
      rgba(12, 12, 12, 0.95),
      rgba(12, 12, 12, 0.6)
    );
  }
  html:not([data-theme]) .site-header,
  html:not([data-theme]) .site-footer {
    border-color: var(--border);
  }
  html:not([data-theme]) .site-nav a {
    color: var(--accent);
  }
  html:not([data-theme]) .feature-card {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.65);
  }
  html:not([data-theme]) .press-showcase__intro {
    border-color: rgba(255, 255, 255, 0.08);
    background:
      radial-gradient(
        circle at top right,
        rgba(92, 255, 174, 0.14),
        transparent 34%
      ),
      linear-gradient(160deg, rgba(17, 17, 17, 0.96), rgba(28, 28, 28, 0.96));
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
  }
  html:not([data-theme]) .press-stat {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
  }
  html:not([data-theme]) .press-card__source,
  html:not([data-theme]) .press-showcase__eyebrow,
  html:not([data-theme]) .press-stat__label {
    color: rgba(241, 241, 241, 0.64);
  }
  html:not([data-theme]) .press-callout {
    border-color: rgba(255, 255, 255, 0.08);
    background:
      linear-gradient(180deg, rgba(10, 10, 10, 0.96), rgba(22, 22, 22, 0.96)),
      var(--accent);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.48);
  }
  html:not([data-theme]) .press-list--cards a {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(
      180deg,
      rgba(18, 18, 18, 0.96),
      rgba(28, 28, 28, 0.96)
    );
    box-shadow: 0 20px 38px rgba(0, 0, 0, 0.34);
  }
  html:not([data-theme]) .press-list--cards a::after {
    color: rgba(241, 241, 241, 0.5);
  }
  html:not([data-theme]) .press-list--cards a:hover,
  html:not([data-theme]) .press-list--cards a:focus-visible,
  html:not([data-theme]) .press-list--cards a:active {
    border-color: rgba(92, 255, 174, 0.34);
    box-shadow: 0 30px 52px rgba(0, 0, 0, 0.44);
  }
  html:not([data-theme]) .creations-tease__card {
    border-color: rgba(255, 255, 255, 0.08);
    background: linear-gradient(
      160deg,
      rgba(17, 17, 17, 0.96),
      rgba(28, 28, 28, 0.96)
    );
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.42);
  }
  html:not([data-theme]) .creations-tease__eyebrow,
  html:not([data-theme]) .creations-tease__list li {
    color: rgba(241, 241, 241, 0.68);
  }
  html:not([data-theme]) .creations-tease__eyebrow a {
    color: rgba(255, 247, 236, 0.9);
  }
  html:not([data-theme]) .creations-tease__list li {
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
  }
  html:not([data-theme]) .feature-card--work {
    background: linear-gradient(
      135deg,
      rgba(20, 20, 20, 0.95),
      rgba(28, 28, 28, 0.95)
    );
    border: 1px solid var(--border-strong);
    box-shadow: 0 32px 60px rgba(0, 0, 0, 0.7);
  }
  html:not([data-theme]) .feature-card--work.is-active,
  html:not([data-theme]) .feature-card--work:hover,
  html:not([data-theme]) .feature-card--work:focus-within {
    border-color: var(--interactive-1);
    box-shadow: 0 42px 70px rgba(0, 0, 0, 0.75);
    background: linear-gradient(
      135deg,
      rgba(255, 111, 156, 0.22),
      rgba(255, 184, 92, 0.26)
    );
  }
  html:not([data-theme]) .feature-card--work .feature-card__meta {
    color: rgba(230, 230, 230, 0.72);
  }
  html:not([data-theme]) .feature-card--work .feature-card__location {
    color: rgba(210, 210, 210, 0.64);
  }
  html:not([data-theme]) .feature-card--work h4 em {
    color: rgba(210, 210, 210, 0.64);
  }
  html:not([data-theme]) .feature-card--work .feature-card__body p {
    color: rgba(236, 236, 236, 0.78);
  }
  html:not([data-theme]) .feature-card--work .badges .badge {
    background: rgba(0, 0, 0, 0.9);
  }
  html:not([data-theme]) .feature-card--work .feature-card__meta-note {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(220, 220, 220, 0.78);
  }
  html:not([data-theme]) .feature-card--work.is-active .feature-card__meta-note,
  html:not([data-theme]) .feature-card--work:hover .feature-card__meta-note,
  html:not([data-theme])
    .feature-card--work:focus-within
    .feature-card__meta-note {
    color: var(--interactive-1);
  }
  html:not([data-theme]) .badge--best img {
    filter: invert(1) saturate(0.6) brightness(1.4);
  }
  html:not([data-theme]) .menu-toggle {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(26, 26, 26, 0.85);
    color: var(--accent);
  }
  html:not([data-theme]) .menu-toggle:hover,
  html:not([data-theme]) .menu-toggle:focus-visible {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(38, 38, 38, 0.92);
  }
  html:not([data-theme]) .theme-toggle {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(18, 18, 18, 0.8);
  }
  html:not([data-theme]) .theme-toggle:hover,
  html:not([data-theme]) .theme-toggle:focus-visible {
    background: rgba(28, 28, 28, 0.92);
    border-color: rgba(255, 255, 255, 0.32);
  }
  html:not([data-theme]) .theme-toggle__thumb {
    transform: translateX(20px);
    background: var(--bg);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.35);
  }
  html:not([data-theme]) .theme-toggle__track {
    background: linear-gradient(
      135deg,
      rgba(72, 58, 43, 0.65),
      rgba(214, 199, 176, 0.4)
    );
  }
}

@media (prefers-color-scheme: dark) and (max-width: 719px) {
  html:not([data-theme]) .site-nav {
    background: rgba(18, 18, 18, 0.96);
    border: 1px solid var(--border-strong);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.75);
  }
  html:not([data-theme]) .site-nav.is-open {
    box-shadow: 0 36px 70px rgba(0, 0, 0, 0.78);
  }
}

.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

/* Content */
.job {
  padding: 14px 0;
  margin: 18px 0;
  border-bottom: 1px solid var(--border);
}
.job h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}
.job p {
  margin: 0;
  color: var(--muted);
}

.press-list,
.dishes {
  list-style: none;
  padding: 0;
  margin: 0;
}
.dishes li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.press-list a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease;
}
.press-list a:hover,
.press-list a:focus-visible,
.press-list a:active {
  color: var(--interactive-2);
  text-decoration: underline;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.contact-list li {
  padding: 6px 0;
}

.embed {
  margin-top: 12px;
}

/* Footer */
.site-footer {
  padding: 28px 0;
  margin-top: 40px;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Utilities */
.muted {
  color: var(--muted);
}

/* Responsive tweaks */
@media (min-width: 640px) {
  .site-title {
    font-size: 1.45rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .wrap {
    padding: 28px;
  }
}

@media (min-width: 1000px) {
  .site-title {
    font-size: 1.6rem;
  }
  .hero {
    padding: 48px 0;
  }
  .hero h2 {
    font-size: 2.6rem;
  }
}

/* Accessibility: focus states */
a:focus,
button:focus {
  outline: 3px solid var(--interactive-1);
  outline-offset: 3px;
}

/* Accessibility: focus states */
a:focus,
button:focus {
  outline: 3px solid var(--interactive-1);
  outline-offset: 3px;
}

.contact-list li {
  padding: 6px 0;
}

.embed {
  margin-top: 12px;
}

/* Larger viewports */
@media (min-width: 640px) {
  .site-title {
    font-size: 1.45rem;
  }
  .hero h2 {
    font-size: 2rem;
  }
  .wrap {
    padding: 28px;
  }
}

@media (min-width: 1000px) {
  .site-title {
    font-size: 1.6rem;
  }
  .hero {
    padding: 48px 0;
  }
  .hero h2 {
    font-size: 2.6rem;
  }
}

.hero {
  padding: 36px 0;
}
.btn {
  display: inline-block;
  padding: 8px 14px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}
.btn.ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}
.job {
  border-left: 3px solid var(--border);
  padding: 12px;
  margin: 18px 0;
}
.press-list,
.dishes {
  list-style: none;
  padding: 0;
}
.dishes li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}
.site-footer {
  border-top: 1px solid var(--border);
  padding: 18px 0;
  margin-top: 40px;
  color: var(--muted);
}
.embed {
  margin-top: 12px;
}

/* New hero grid */
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
}
.hero-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

/* Hero entry animation */
.hero {
  position: relative;
  --hero-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}
.hero-grid {
  opacity: 0;
  transform: translateY(36px);
  animation: heroGridRise 0.8s var(--hero-ease) 0.08s forwards;
}
.hero-intro > * {
  opacity: 0;
  transform: translateY(28px);
  animation: heroCopyReveal 0.65s var(--hero-ease) forwards;
}
.hero-intro > *:nth-child(1) {
  animation-delay: 0.18s;
}
.hero-intro > *:nth-child(2) {
  animation-delay: 0.28s;
}
.hero-intro > *:nth-child(3) {
  animation-delay: 0.4s;
}
.hero-image-wrapper {
  opacity: 0;
  transform: translateY(32px) scale(0.96);
  animation: heroPortraitReveal 1s var(--hero-ease) 0.32s forwards;
}
.hero-image-wrapper img {
  transform: scale(1.04);
  animation: heroPortraitZoom 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
  will-change: transform, filter;
}

@keyframes heroGridRise {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroCopyReveal {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes heroPortraitReveal {
  from {
    opacity: 0;
    transform: translateY(32px) scale(0.94);
    box-shadow: 0 80px 110px rgba(16, 16, 16, 0);
  }
  to {
    opacity: 1;
    transform: none;
    box-shadow: 0 20px 40px rgba(16, 16, 16, 0.08);
  }
}

@keyframes heroPortraitZoom {
  from {
    transform: scale(1.08);
  }
  45% {
    transform: scale(1.02);
  }
  to {
    transform: none;
  }
}

@keyframes heroPortraitColorReveal {
  from {
    filter: grayscale(100%) saturate(1.1) brightness(1.1);
  }
  to {
    filter: none;
  }
}

@media (max-width: 719px) {
  .hero-image-wrapper img {
    animation:
      heroPortraitZoom 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards,
      heroPortraitColorReveal 1.5s ease 0.65s forwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-grid,
  .hero-intro > *,
  .hero-image-wrapper,
  .hero-image-wrapper img {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr 480px;
  }
  .hero-image img {
    height: 420px;
  }
  .creations-tease__card {
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
    align-items: start;
  }
  .creations-tease__gallery {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

/* Instagram gallery */
.instagram h3 {
  margin-top: 8px;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 18px;
  cursor: zoom-in;
  margin: 0;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 0.92 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.22s ease;
  filter: none !important;
}
.gallery-item:hover img,
.gallery-item:focus img {
  transform: scale(1.03);
}

.gallery-item:focus-within {
  outline: 2px solid rgba(188, 168, 135, 0.75);
  outline-offset: 4px;
}

@media (max-width: 539px) {
  .gallery {
    gap: 10px;
  }

  .gallery-item:nth-child(5n + 1) img,
  .gallery-item:nth-child(5n + 4) img {
    aspect-ratio: 0.8 / 1;
  }
}

@media (min-width: 720px) {
  .gallery {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top))
    max(16px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom))
    max(16px, env(safe-area-inset-left));
  background:
    radial-gradient(circle at top, rgba(188, 168, 135, 0.18), transparent 40%),
    rgba(7, 7, 7, 0.9);
  backdrop-filter: blur(12px);
  z-index: 9999;
  touch-action: pan-y;
}
.lightbox[aria-hidden="false"] {
  display: flex;
}
.lightbox-figure {
  margin: 0;
  width: min(100%, 1080px);
  display: grid;
  gap: 14px;
  justify-items: center;
}
.lb-stage {
  position: relative;
  width: min(100%, 1080px);
  max-width: 100%;
  height: min(76vh, 820px);
  overflow: hidden;
  border-radius: 20px;
  will-change: transform, opacity;
}
.lb-track {
  display: grid;
  grid-template-columns: repeat(3, 100%);
  width: 300%;
  height: 100%;
  transform: translate3d(-33.333333%, 0, 0);
  will-change: transform;
}
.lb-stage.is-animating .lb-track {
  transition: transform 260ms ease;
}
.lb-stage.is-dragging .lb-track {
  transition: none;
}
.lb-slide {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: hidden;
}
/* Lightbox image: always fully visible, width 100%, center or bottom on mobile */
.lb-image {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  filter: none;
  user-select: none;
  -webkit-user-drag: none;
  touch-action: none;
  object-fit: contain;
  object-position: center center;
}

@media (max-width: 719px) {
  .lb-image {
    object-position: center bottom;
  }
}
.lb-image-current {
  display: block;
}
.lb-meta {
  min-height: 1.2em;
  color: rgba(255, 250, 242, 0.82);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
}
.lb-nav,
.lb-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  color: #1d1a17;
  background: rgba(255, 247, 236, 0.9);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}
.lb-nav {
  position: absolute;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 999px;
  font-size: 2rem;
  cursor: pointer;
}
.lb-prev {
  left: max(12px, env(safe-area-inset-left));
}
.lb-next {
  right: max(12px, env(safe-area-inset-right));
}
.lb-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.8rem;
}
body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 719px) {
  .lightbox {
    align-items: stretch;
  }

  .lightbox-figure {
    width: 100%;
    align-self: center;
  }

  .lb-stage {
    height: min(70vh, 74dvh);
  }

  .lb-nav {
    top: auto;
    bottom: max(18px, env(safe-area-inset-bottom));
    margin-top: 0;
    width: 56px;
    height: 56px;
    font-size: 2.1rem;
  }

  .lb-prev {
    left: calc(50% - 68px);
  }

  .lb-next {
    right: calc(50% - 68px);
  }

  .lb-meta::after {
    content: "Swipe left or right to browse, down to close";
    display: block;
    margin-top: 8px;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
    opacity: 0.72;
  }
}

/* Badge image normalization */
.badges {
  display: flex;
  gap: 10px;
  align-items: center;
}
.badges .badge {
  display: inline-flex;
  align-items: center;
  padding: 4px;
}
.badges .badge img {
  height: 28px;
  width: auto;
  display: block;
  object-fit: contain;
}
.badge--best img {
  height: 30px;
}

/* Legal / imprint page */
.legal-page {
  display: grid;
  gap: 32px;
}
.legal-section {
  background: var(--surface);
  border: 1px solid rgba(188, 168, 135, 0.35);
  border-radius: 14px;
  box-shadow: 0 8px 20px var(--shadow-soft);
  padding: 28px 32px;
  display: grid;
  gap: 12px;
}
.legal-section h2 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
}
.legal-section p {
  margin: 0;
  line-height: 1.6;
  color: var(--muted);
}

.legal-section a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.legal-section a:hover,
.legal-section a:focus-visible {
  text-decoration: underline;
}

/* Contact page */
.contact-page {
  display: flex;
  flex-direction: column;
  gap: 36px;
}
.wrap.contact-page .contact-eyebrow,
.wrap.contact-page .contact-form-section > h3 {
  position: relative;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 28px;
  color: var(--muted);
}
.wrap.contact-page .contact-eyebrow::after,
.wrap.contact-page .contact-form-section > h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 72px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(72, 58, 43, 0.85),
    rgba(214, 199, 176, 0.7)
  );
  transition: background 0.3s ease;
}
.wrap.contact-page .contact-eyebrow:hover::after,
.wrap.contact-page .contact-eyebrow:focus-visible::after,
.wrap.contact-page .contact-form-section > h3:hover::after,
.wrap.contact-page .contact-form-section > h3:focus-visible::after {
  background: linear-gradient(
    90deg,
    var(--interactive-2),
    var(--interactive-1)
  );
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}
.contact-profile__image {
  width: 100%;
  max-width: 220px;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center 24%;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.contact-card {
  background: var(--surface);
  border: 1px solid rgba(188, 168, 135, 0.4);
  border-radius: 14px;
  box-shadow: 0 8px 24px var(--shadow-soft);
  padding: 26px 28px;
  display: grid;
  align-items: start;
  justify-content: center;
  gap: 14px;
}
.contact-card--profile {
  justify-items: center;
  text-align: center;
  gap: 18px;
}
.contact-card__profile-copy {
  display: grid;
  gap: 6px;
}
.contact-card__profile-copy h3 {
  margin: 0;
  font-size: 1.2rem;
}
.contact-card__profile-copy p {
  max-width: 18rem;
}
/* Icon inside contact chips */
.contact-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto;
  object-fit: contain;
  filter: none;
  transition:
    transform 0.18s ease,
    opacity 0.18s ease,
    filter 0.18s ease;
}

.contact-chip:hover .contact-icon,
.contact-chip:focus-visible .contact-icon {
  transform: translateY(-2px) scale(1.03);
}

/* Ensure good contrast in dark mode for icons that are bitmaps */
html[data-theme="dark"] .contact-icon {
  filter: invert();
}
.contact-card h3 {
  margin: 0;
  font-size: 1.3rem;
}
.contact-card p {
  color: var(--muted);
  margin: 0;
  line-height: 1.58;
}
.contact-card__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  align-self: end;
}
.contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(17, 17, 17, 0.08);
  text-decoration: none;
  font-weight: 600;
  color: var(--accent);
  background: var(--bg);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.06);
}
.contact-chip:hover,
.contact-chip:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}
.contact-chip-note {
  font-size: 0.9rem;
  color: var(--muted);
}

@media (min-width: 680px) {
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .contact-page {
    gap: 44px;
  }
  .contact-profile__image {
    max-width: 200px;
  }
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Contact form styles */
.contact-form-section {
  background: transparent;
}

.contact-form {
  background: var(--surface);
  border: 1px solid rgba(188, 168, 135, 0.35);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 8px 24px var(--shadow-soft);
  display: block;
  gap: 12px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--accent-2);
}
.form-group input,
.form-group textarea {
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  transition:
    box-shadow 0.18s ease,
    transform 0.12s ease,
    border-color 0.12s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--interactive-2);
  box-shadow: 0 6px 20px rgba(111, 123, 255, 0.08);
}
.form-actions {
  margin-top: 8px;
}
.form-status {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 600;
}
.form-status.success {
  background: linear-gradient(
    90deg,
    rgba(92, 255, 174, 0.14),
    rgba(111, 123, 255, 0.06)
  );
  color: var(--interactive-1);
  border: 1px solid rgba(92, 255, 174, 0.16);
}
.form-status.error {
  background: linear-gradient(
    90deg,
    rgba(255, 111, 156, 0.06),
    rgba(214, 199, 176, 0.04)
  );
  color: #d6455d;
  border: 1px solid rgba(217, 37, 69, 0.08);
}

@media (min-width: 680px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
  .form-grid .form-group:nth-child(3) {
    grid-column: 2 / 2;
  }
  .contact-form .form-group:nth-of-type(4) {
    grid-column: 1 / -1;
  }
}

/* Language toggle styles */
.lang-toggle-wrapper {
  display: flex;
  gap: 4px;
  align-items: center;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2px;
}

.lang-toggle {
  background: transparent;
  border: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.lang-toggle:hover {
  color: var(--text);
  background: rgba(214, 199, 176, 0.2);
}

.lang-toggle.active {
  background: var(--accent);
  color: var(--bg);
}

.lang-toggle:focus-visible {
  outline: 2px solid var(--interactive-2);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  .lang-toggle-wrapper {
    margin-top: 0;
  }
}
