:root {
  --bg: #fffdfb;
  --bg-soft: #f5e9dd;
  --pink: #f7d6dc;
  --rose: #d9a5ae;
  --text: #272324;
  --muted: #5f5557;
  --card: rgba(255, 255, 255, 0.66);
  --border: rgba(255, 255, 255, 0.55);
  --shadow: 0 14px 40px rgba(108, 72, 80, 0.16);
  --radius: 1.4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior: none;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 10% 0%, #fff 0%, #fff8f5 45%, #f6ece4 100%);
  min-height: 100vh;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overscroll-behavior: none;
}

body.dark {
  --bg: #1f1b1c;
  --bg-soft: #292324;
  --text: #f3ebed;
  --muted: #cebcc0;
  --card: rgba(61, 50, 53, 0.55);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 18px 46px rgba(8, 7, 7, 0.5);
  background: radial-gradient(circle at 10% 0%, #2f282a 0%, #211d1e 48%, #151313 100%);
}

img,
iframe {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.hidden {
  display: none !important;
}

.container {
  width: min(1120px, calc(100% - 2.2rem));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
  position: relative;
  scroll-margin-top: 6.5rem;
  content-visibility: auto;
  contain-intrinsic-size: 1px 800px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
}

h1,
h2,
h3,
.brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 5.6vw, 5.1rem);
  margin: 0.35rem 0 1rem;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.2rem 0 0.8rem;
}

h3 {
  font-size: 1.5rem;
  margin: 0.3rem 0 1rem;
}

.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 0.8rem;
  background: rgba(255, 247, 243, 0.94);
  z-index: 999;
  transition: opacity 0.45s ease;
}

body.dark .loader {
  background: rgba(31, 27, 28, 0.94);
}

.loader.hidden {
  opacity: 0;
  pointer-events: none;
}

.loader__ring {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 999px;
  border: 3px solid rgba(217, 165, 174, 0.25);
  border-top-color: var(--rose);
  animation: spin 1s linear infinite;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, #f7d6dc 0%, #d9a5ae 100%);
  z-index: 130;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding-top: 0.8rem;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.brand {
  font-size: 1.45rem;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand__logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.brand:hover .brand__logo {
  transform: rotate(8deg) scale(1.05);
}

.brand__text {
  display: none;
}

.nav-links {
  display: none;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.95rem;
}

.nav-links a,
.mobile-menu a {
  font-size: 0.95rem;
  padding: 0.45rem 0.65rem;
  border-radius: 999px;
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover,
.mobile-menu a:hover,
.nav-links a:focus-visible,
.mobile-menu a:focus-visible {
  background-color: rgba(217, 165, 174, 0.2);
  transform: translateY(-1px);
}

.menu-toggle {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.45);
  display: grid;
  place-items: center;
  gap: 0.17rem;
}

.menu-toggle span {
  width: 1.2rem;
  height: 2px;
  background: var(--text);
}

.theme-toggle {
  border: 0;
  background: linear-gradient(145deg, #f7d6dc, #d9a5ae);
  color: #1f1a1b;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.25s ease, filter 0.25s ease;
  white-space: nowrap;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.mobile-menu {
  width: min(1120px, calc(100% - 2.2rem));
  margin: 0.55rem auto 0;
  list-style: none;
  padding: 0.75rem;
  border-radius: 1.2rem;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  display: none;
}

.mobile-menu.open {
  display: grid;
  gap: 0.4rem;
}

.hero {
  overflow: clip;
  padding-top: 3.7rem;
}

.hero__bubble-scene {
  position: absolute;
  inset: -6rem 0 -2rem;
  width: 100%;
  height: calc(100% + 8rem);
  pointer-events: none;
  z-index: 0;
  opacity: 0.78;
  mix-blend-mode: multiply;
}

body.dark .hero__bubble-scene {
  opacity: 0.45;
  mix-blend-mode: screen;
}

.hero__content {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__text p {
  color: var(--muted);
  max-width: 58ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.45rem;
}

.btn {
  border-radius: 999px;
  padding: 0.8rem 1.2rem;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  min-height: 44px;
}

.btn--primary {
  background: linear-gradient(145deg, #f7d6dc 0%, #d9a5ae 100%);
  color: #211d1e;
  box-shadow: 0 10px 28px rgba(163, 99, 114, 0.24);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.4);
  border-color: rgba(217, 165, 174, 0.45);
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}

.btn--glow:hover,
.btn--glow:focus-visible {
  box-shadow: 0 0 0 6px rgba(217, 165, 174, 0.22), 0 14px 30px rgba(163, 99, 114, 0.24);
}

.hero__cards {
  display: grid;
  gap: 0.9rem;
  perspective: 900px;
}

.float-card {
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
  background: #fff6f8;
  transform-style: preserve-3d;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.float-card::before {
  content: "";
  position: absolute;
  inset: -45%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.64), transparent 42%);
  opacity: 0;
  transform: translate3d(-18%, -18%, 0);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.float-card:hover {
  transform: translateY(-7px) rotateX(5deg) rotateY(-6deg) translateZ(22px);
  box-shadow: 0 26px 62px rgba(108, 72, 80, 0.22);
}

.float-card:hover::before {
  opacity: 1;
  transform: translate3d(6%, 4%, 0);
}

.float-card--rose {
  background: linear-gradient(145deg, #f4d1d8 0%, #f6eaee 100%);
}

.glass {
  background: var(--card);
  border: 1px solid var(--border);
  backdrop-filter: blur(15px);
}

.hero__glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(50px);
  opacity: 0.62;
  z-index: -1;
}

.hero__glow--one {
  width: 16rem;
  height: 16rem;
  background: #f7d6dc;
  top: 5%;
  left: -2rem;
}

.hero__glow--two {
  width: 18rem;
  height: 18rem;
  background: #f1e4d6;
  right: -4rem;
  top: 26%;
}

.promo-marquee {
  padding: 0.4rem 0 3.4rem;
  overflow: hidden;
}

.promo-marquee__viewport {
  width: 100%;
  overflow: hidden;
  padding: 0.45rem 0;
  background: linear-gradient(90deg, rgba(247, 214, 220, 0.32), rgba(255, 255, 255, 0.7), rgba(247, 214, 220, 0.32));
  border-block: 1px solid rgba(217, 165, 174, 0.26);
  box-shadow: 0 12px 30px rgba(108, 72, 80, 0.08);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.promo-marquee__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: promoSlide 18s linear infinite;
  will-change: transform;
}

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

.promo-card {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 42px;
  padding: 0.45rem 1.4rem;
  white-space: nowrap;
  transition: color 0.2s ease, transform 0.2s ease;
}

.promo-card::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: var(--rose);
  opacity: 0.7;
}

.promo-card:hover,
.promo-card:focus-visible {
  color: var(--rose);
  transform: translateY(-1px);
}

.promo-card__label {
  border-radius: 999px;
  padding: 0.22rem 0.58rem;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  border: 1px solid rgba(217, 165, 174, 0.24);
  font-size: 0.68rem;
  font-weight: 700;
}

.promo-card small {
  color: var(--text);
  font-size: clamp(0.86rem, 2vw, 1rem);
  font-weight: 600;
}

@keyframes promoSlide {
  from {
    transform: translateX(100vw);
  }
  to {
    transform: translateX(-100%);
  }
}

.about {
  display: grid;
  gap: 1.6rem;
}

.about img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 5;
  border-radius: calc(var(--radius) + 0.2rem);
  box-shadow: var(--shadow);
}

.timeline {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
  max-height: min(58vh, 520px);
  overflow-y: auto;
  padding: 0.15rem 0.45rem 0.15rem 0;
  overscroll-behavior: contain;
  scroll-snap-type: y proximity;
  mask-image: linear-gradient(180deg, transparent 0, #000 1.1rem, #000 calc(100% - 1.1rem), transparent 100%);
  scrollbar-width: thin;
  scrollbar-color: rgba(217, 165, 174, 0.65) transparent;
}

.timeline::-webkit-scrollbar {
  width: 7px;
}

.timeline::-webkit-scrollbar-track {
  background: transparent;
}

.timeline::-webkit-scrollbar-thumb {
  background: rgba(217, 165, 174, 0.65);
  border-radius: 999px;
}

.timeline-card {
  border-radius: 1rem;
  padding: 0.9rem 1rem;
  background: var(--card);
  border: 1px solid var(--border);
  scroll-snap-align: start;
}

.timeline-card span {
  font-weight: 700;
}

.section-head {
  margin-bottom: 1.2rem;
}

.section-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.35rem;
  color: var(--muted);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.tag {
  border-radius: 999px;
  border: 1px solid rgba(217, 165, 174, 0.4);
  background: rgba(255, 255, 255, 0.5);
  padding: 0.45rem 0.8rem;
}

.tag.is-active {
  background: linear-gradient(145deg, #f7d6dc 0%, #d9a5ae 100%);
  font-weight: 600;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--card);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(87, 56, 62, 0.18);
}

.blog-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-card__body {
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex: 1;
}

.blog-card__body > p:first-child {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
}

.blog-card__body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
}

.blog-card__body > p:last-of-type {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
  flex: 1;
}

.read-more {
  font-weight: 600;
  font-size: 0.82rem;
  display: inline-flex;
  gap: 0.35rem;
  align-items: center;
  margin-top: 0.25rem;
}

.read-more span {
  transition: transform 0.25s ease;
}

.read-more:hover span {
  transform: translateX(3px);
}

/* Blog modal */
.blog-modal {
  border: none;
  border-radius: 1.25rem;
  padding: 0;
  width: min(760px, calc(100vw - 2rem));
  max-height: min(92vh, 92dvh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(87, 56, 62, 0.22);
  background: var(--bg);
  position: relative;
}

.blog-modal::backdrop {
  background: rgba(20, 10, 12, 0.55);
  backdrop-filter: blur(4px);
}

.blog-modal__close {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border);
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: background 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

.blog-modal__close:hover {
  background: var(--border);
}

.blog-modal__content {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.blog-modal__cover {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.blog-modal__body {
  padding: 1.75rem 1.75rem 2.5rem;
}

.blog-modal__eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.6rem;
}

.blog-modal__title {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 4vw, 2rem);
  line-height: 1.2;
  margin: 0 0 0.5rem;
}

.blog-modal__meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin: 0 0 1.5rem;
}

.blog-modal__prose {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text);
}

.blog-modal__prose p { margin: 0 0 1rem; }
.blog-modal__prose h2 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; }
.blog-modal__prose h3 { font-size: 1.05rem; margin: 1.25rem 0 0.4rem; }
.blog-modal__prose img { width: 100%; border-radius: 0.5rem; margin: 1rem 0; }

.videos {
  background: linear-gradient(180deg, rgba(247, 214, 220, 0.18) 0%, rgba(245, 233, 221, 0.06) 100%);
}

.video-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(250px, 75%);
  gap: 0.9rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}

.video-card {
  border-radius: 1.1rem;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: rgba(255, 255, 255, 0.5);
  scroll-snap-align: start;
  height: 680px;
  display: flex;
  flex-direction: column;
}

.video-card iframe,
.video-card video {
  width: 100%;
  flex: 1;
  border: 0;
  display: block;
  object-fit: cover;
}

.video-card .tiktok-embed {
  width: 100% !important;
  flex: 1;
}

.video-swipe-guard {
  display: none;
}

.video-empty {
  color: var(--muted);
  font-style: italic;
  padding: 2rem 0;
  text-align: center;
  width: 100%;
}

.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  height: 100%;
  padding: 2rem;
  text-align: center;
  color: var(--fg);
}

.video-placeholder svg {
  opacity: 0.5;
}

.video-placeholder p {
  font-weight: 600;
  font-size: 1rem;
}

.video-placeholder small {
  color: var(--muted);
  font-size: 0.78rem;
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: 0.82rem;
}

.masonry {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.gallery-item {
  width: 100%;
  border: 0;
  padding: 0;
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
  min-height: 44px;
  aspect-ratio: 4 / 5;
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

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

.gallery-item:nth-child(2),
.gallery-item:nth-child(4) {
  aspect-ratio: 1 / 1;
}

.lightbox {
  width: min(90vw, 960px);
  border: 0;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(15, 12, 13, 0.88);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.lightbox img,
.lightbox video {
  width: 100%;
  max-height: 82vh;
  border-radius: 0.7rem;
}

.lightbox__close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border: 0;
  font-size: 1.8rem;
  color: #fff;
  background: transparent;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: var(--radius);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.contact-form input,
.contact-form textarea {
  border: 1px solid rgba(217, 165, 174, 0.4);
  border-radius: 0.95rem;
  padding: 0.85rem 0.9rem;
  background: rgba(255, 255, 255, 0.62);
  font: inherit;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(217, 165, 174, 0.18);
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.socials a {
  border-radius: 999px;
  padding: 0.52rem 0.82rem;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid var(--border);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.footer {
  padding: 2rem 0 2.8rem;
  color: var(--muted);
  text-align: left;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem 1rem;
}

.footer p {
  margin: 0;
}

.footer a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  z-index: 300;
  width: min(920px, calc(100% - 2rem));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  border-radius: 1.2rem;
  background: rgba(255, 253, 251, 0.9);
  border: 1px solid rgba(217, 165, 174, 0.32);
  box-shadow: 0 24px 70px rgba(108, 72, 80, 0.22);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

body.dark .cookie-banner {
  background: rgba(31, 27, 28, 0.92);
}

.cookie-banner__text {
  display: grid;
  gap: 0.25rem;
}

.cookie-banner__text strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.25rem;
}

.cookie-banner__text p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 62ch;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: flex-end;
}

.cookie-banner button {
  min-height: 44px;
  border-radius: 999px;
  padding: 0.65rem 0.95rem;
  border: 1px solid rgba(217, 165, 174, 0.42);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-banner__primary {
  background: linear-gradient(145deg, #f7d6dc, #d9a5ae);
  color: #211d1e;
}

.cookie-banner__ghost {
  background: rgba(255, 255, 255, 0.58);
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (min-width: 768px) {
  .section {
    padding: 6rem 0;
  }

  .hero__content {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .about {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: center;
  }

  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

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

  .mobile-menu,
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }

  .video-track {
    grid-auto-columns: minmax(300px, 340px);
  }
}

@media (min-width: 1024px) {
  .container {
    width: min(1280px, calc(100% - 3.5rem));
  }

  .hero__text p {
    max-width: 62ch;
  }

  .about {
    grid-template-columns: 1fr 1.2fr;
    gap: 2rem;
  }

  .about__image-wrap {
    max-height: 720px;
  }

  .blog-card__body {
    padding: 1.15rem;
  }

  .blog-grid {
    gap: 1.25rem;
  }

  .video-track {
    grid-auto-columns: minmax(320px, 1fr);
  }
}

@media (min-width: 1400px) {
  .container {
    width: min(1360px, calc(100% - 4rem));
  }
}

/* ── Theme toggle icon (mobile) ── */
.toggle-icon {
  display: none;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2.5px solid #211d1e;
  background: linear-gradient(90deg, #211d1e 50%, transparent 50%);
  flex-shrink: 0;
}

/* ═══════════════════════════════════════
   MOBILE — max 767px
═══════════════════════════════════════ */
@media (max-width: 767px) {

  /* ── Navbar ── */
  .site-header {
    padding-top: 0.5rem;
  }

  .navbar {
    padding: 0.5rem 0.65rem;
    gap: 0.4rem;
  }

  .brand {
    font-size: 1rem;
    flex: 1;
  }

  .menu-toggle {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
  }

  .theme-toggle {
    padding: 0.55rem 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .toggle-label { display: none; }
  .toggle-icon  { display: block; }

  /* ── Mobile menu ── */
  .mobile-menu {
    padding: 0.6rem;
    border-radius: 1.1rem;
    gap: 0.2rem;
  }

  .mobile-menu a {
    display: block;
    padding: 0.9rem 1.1rem;
    border-radius: 0.75rem;
    font-size: 1.05rem;
    font-weight: 500;
    transition: background 0.2s;
  }

  .mobile-menu a:hover,
  .mobile-menu a:active {
    background: rgba(217, 165, 174, 0.18);
  }

  /* ── Typography ── */
  h1 { font-size: clamp(1.9rem, 9.5vw, 2.8rem); }
  h2 { font-size: clamp(1.5rem, 6.5vw, 2rem); }
  h3 { font-size: 1.15rem; }

  /* ── Sections ── */
  .section {
    padding: 3rem 0;
    contain-intrinsic-size: 1px 500px;
  }

  .cookie-banner {
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-banner__actions {
    justify-content: stretch;
  }

  .cookie-banner button {
    flex: 1 1 150px;
  }

  /* ── Hero ── */
  .hero {
    padding-top: 1.8rem;
  }

  .hero__content {
    gap: 1.5rem;
    text-align: center;
  }

  .hero__text p {
    margin-inline: auto;
    max-width: 44ch;
  }

  .hero__actions {
    flex-direction: column;
    align-items: center;
  }

  .hero__actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    display: inline-flex;
    align-items: center;
  }

  /* Float cards: compact horizontal scroll */
  .hero__cards {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.4rem;
    justify-content: flex-start;
  }

  .hero__cards::-webkit-scrollbar { display: none; }

  .float-card {
    min-width: min(78vw, 270px);
    flex-shrink: 0;
    scroll-snap-align: start;
  }

  .float-card h2 {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0.3rem 0 0;
  }

  .float-card p {
    font-size: 0.78rem;
    margin: 0;
    color: var(--muted);
  }

  /* ── About ── */
  .about__image-wrap {
    border-radius: calc(var(--radius) + 0.2rem);
    overflow: hidden;
    max-height: 420px;
  }

  .about img {
    aspect-ratio: 3 / 4;
    max-height: 420px;
    object-position: top;
  }

  .timeline {
    max-height: 360px;
  }

  /* ── Blog ── */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 0.9rem;
  }

  .blog-card img {
    aspect-ratio: 16 / 9;
  }

  .blog-card__body {
    padding: 0.9rem;
  }

  /* ── Video: horisontal scroll med swipe-guard overlay ── */
  .video-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.6rem;
    gap: 1rem;
    align-items: start;
  }

  .video-card {
    height: auto;
    overflow: visible;
    position: relative;
    scroll-snap-align: start;
  }

  .video-card iframe {
    height: 560px;
    flex: none;
    width: 100%;
  }

  .video-card video {
    height: auto;
    aspect-ratio: 9 / 16;
    max-height: 70vh;
    flex: none;
    width: 100%;
  }

  .video-card .tiktok-embed {
    width: 100% !important;
    min-width: 0 !important;
  }

  /* Swipe guard: sidder over videoen og styrer swipe */
  .video-swipe-guard {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 10;
    background: transparent;
    cursor: grab;
    touch-action: pan-x;
  }

  .video-swipe-guard:active {
    cursor: grabbing;
  }

  /* ── Gallery ── */
  .masonry {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.55rem;
  }

  .gallery-item {
    border-radius: 0.75rem;
  }

  /* ── Contact ── */
  .contact-form {
    padding: 1rem;
    gap: 0.65rem;
  }

  .contact-form label {
    font-size: 0.88rem;
    font-weight: 600;
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 1rem;
    padding: 0.8rem 0.9rem;
  }

  .contact .section-head {
    text-align: center;
  }

  .socials {
    justify-content: center;
  }

  /* ── Blog modal ── */
  .blog-modal {
    position: static;
    width: calc(100vw - 1.2rem);
    max-width: calc(100vw - 1.2rem);
    max-height: 92vh;
    border-radius: 1.2rem;
    margin: auto;
  }

  .blog-modal__body {
    padding: 1.2rem 1rem 2.5rem;
  }

  /* ── Footer ── */
  .footer {
    padding: 1.5rem 0 2rem;
    font-size: 0.85rem;
  }
}

/* Tablet: 2-kolonner blog (540–767px) */
@media (min-width: 540px) and (max-width: 767px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__content {
    text-align: left;
  }

  .hero__actions {
    align-items: flex-start;
  }

  .hero__actions .btn {
    width: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
