:root {
  --bg: #f8f3eb;
  --bg-soft: #f2e7da;
  --text: #20150f;
  --text-soft: #5a4337;
  --accent: #8d1f2d;
  --accent-deep: #5f111d;
  --gold: #be9658;
  --line: rgba(95, 17, 29, 0.15);
  --shadow: 0 20px 50px rgba(32, 21, 15, 0.15);
  --anchor-offset: 6.2rem;
}

body[data-theme="festive"] {
  --bg: #140e12;
  --bg-soft: #22161b;
  --text: #f5e9db;
  --text-soft: #d8c4ad;
  --accent: #f0b85c;
  --accent-deep: #ab3e3e;
  --gold: #f0b85c;
  --line: rgba(240, 184, 92, 0.24);
  --shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: var(--anchor-offset);
}

section[id] {
  scroll-margin-top: var(--anchor-offset);
}

body {
  font-family: "Outfit", sans-serif;
  color: var(--text);
  background:
    radial-gradient(800px 350px at 90% -5%, rgba(190, 150, 88, 0.22), transparent 70%),
    radial-gradient(700px 300px at 10% 105%, rgba(141, 31, 45, 0.2), transparent 70%),
    linear-gradient(135deg, var(--bg) 0%, var(--bg-soft) 100%);
  min-height: 100vh;
  transition: background 320ms ease, color 320ms ease;
}

.motif-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.motif {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 999px;
  opacity: 0.12;
  border: 1px solid var(--gold);
  background:
    repeating-linear-gradient(
      45deg,
      rgba(190, 150, 88, 0.22) 0,
      rgba(190, 150, 88, 0.22) 6px,
      transparent 6px,
      transparent 12px
    );
  animation: drift 14s ease-in-out infinite;
}

.m1 {
  top: 10%;
  left: -28px;
}

.m2 {
  top: 30%;
  right: -34px;
  animation-delay: -3s;
}

.m3 {
  bottom: 18%;
  left: 12%;
  animation-delay: -5s;
}

.m4 {
  bottom: 8%;
  right: 20%;
  animation-delay: -9s;
}

.m5 {
  top: 65%;
  left: 45%;
  animation-delay: -7s;
}

.page-shell {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.2rem 1rem 2.5rem;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 243, 235, 0.82);
  backdrop-filter: blur(8px);
}

body[data-theme="festive"] .site-header {
  background: rgba(28, 18, 23, 0.88);
  border-color: rgba(240, 184, 92, 0.28);
}

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: 0.03em;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(95, 17, 29, 0.25);
  box-shadow: 0 6px 16px rgba(32, 21, 15, 0.14);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

body[data-theme="festive"] .site-nav a {
  color: #f8e7d4;
}

body[data-theme="festive"] .site-nav a:hover {
  color: #ffd68f;
}

body[data-theme="festive"] .brand,
body[data-theme="festive"] .brand span {
  color: #f8e7d4;
}

.site-nav a:hover {
  color: var(--accent);
}

.hero {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.kicker,
.section-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
}

.hero-copy h1 {
  margin: 0.8rem 0 1rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 0.95;
}

.hero-copy p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
  font-size: 1rem;
}

.hero-cta {
  margin-top: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.78rem 1.1rem;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.72rem;
  font-weight: 600;
  transition: transform 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(90deg, var(--accent), var(--accent-deep));
  box-shadow: 0 12px 24px rgba(95, 17, 29, 0.28);
}

.button-primary::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -140%;
  width: 36%;
  transform: rotate(18deg);
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 224, 150, 0.65) 48%,
    rgba(255, 255, 255, 0) 100%
  );
  animation: shimmer 3.2s ease-in-out infinite;
}

.button-ghost {
  color: var(--accent-deep);
  border: 1px solid rgba(95, 17, 29, 0.3);
  background: rgba(255, 255, 255, 0.5);
}

.hero-media {
  position: relative;
}

.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.card {
  margin: 0;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.65);
  background: #fff;
}

.card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.02);
}

img.portrait {
  object-position: center 28%;
}

.fade-image {
  opacity: 0;
  filter: saturate(0.86) blur(2px);
  transition: opacity 700ms ease, filter 700ms ease;
}

.fade-image.loaded {
  opacity: 1;
  filter: saturate(1) blur(0);
}

.card.tall {
  grid-row: span 2;
  min-height: 460px;
}

.card.short {
  min-height: 224px;
}

.story,
.contact {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.story h2,
.contact h3 {
  margin: 0.45rem 0 0.8rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.65rem, 3.2vw, 2.5rem);
  line-height: 1.1;
}

.story p,
.contact p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.lookbook {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 0.85rem;
}

.lookbook-card {
  margin: 0;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: var(--shadow);
  min-height: 360px;
  background: rgba(255, 255, 255, 0.5);
}

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

.lookbook-card.feature {
  min-height: 460px;
}

body[data-theme="festive"] .lookbook-card {
  border-color: rgba(240, 184, 92, 0.2);
  background: rgba(240, 184, 92, 0.06);
}

.contact {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 1.2rem;
  align-items: center;
}

.contact-actions {
  display: grid;
  gap: 0.6rem;
}

.site-footer {
  margin-top: 2rem;
  text-align: center;
  color: var(--text-soft);
  font-size: 0.84rem;
}

.site-footer p {
  margin: 0.35rem 0;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
}

.reveal.show {
  animation: reveal 700ms ease forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shimmer {
  0% {
    left: -140%;
  }
  50% {
    left: 145%;
  }
  100% {
    left: 145%;
  }
}

@keyframes drift {
  0% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) translateX(6px) rotate(2deg);
  }
  100% {
    transform: translateY(0) translateX(0) rotate(0deg);
  }
}

@media (max-width: 960px) {
  .hero,
  .contact {
    grid-template-columns: 1fr;
  }

  .lookbook {
    grid-template-columns: 1fr 1fr;
  }

  .lookbook-card.feature {
    grid-column: span 2;
    min-height: 420px;
  }

  .card.tall {
    min-height: 320px;
  }

  .card.short {
    min-height: 160px;
  }
}

@media (max-width: 640px) {
  .page-shell {
    padding: 0.8rem 0.8rem 2rem;
  }

  .site-header {
    flex-direction: column;
    align-items: flex-start;
    border-radius: 1rem;
    gap: 0.4rem;
  }

  .site-nav {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .brand {
    font-size: 1.75rem;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .hero {
    margin-top: 1.2rem;
    gap: 1.1rem;
  }

  .hero-cta .button {
    width: 100%;
  }

  .media-grid {
    grid-template-columns: 1fr;
  }

  .lookbook {
    grid-template-columns: 1fr;
  }

  .lookbook-card,
  .lookbook-card.feature {
    min-height: 300px;
    grid-column: auto;
  }

  .card.tall,
  .card.short {
    min-height: 250px;
  }
}
