:root {
  --bg: #faf8f5;
  --text: #1a1a1a;
  --accent: #8b7355;
  --dark: #111111;
  --dark-2: #1c1c1c;
  --line: rgba(26, 26, 26, 0.16);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Jost, Arial, sans-serif;
  font-weight: 300;
  line-height: 1.9;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.container { width: min(1220px, calc(100% - 72px)); margin: 0 auto; }
.section { padding: 70px 0; }
.heading {
  margin: 0;
  text-align: center;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(56px, 7vw, 90px);
  line-height: 1.03;
  letter-spacing: -0.02em;
  font-weight: 400;
}
.heading .ital { color: var(--accent); font-style: italic; font-weight: 400; }
.intro {
  max-width: 650px;
  margin: 28px auto 0;
  text-align: center;
  font-size: 18px;
}
.btn {
  display: inline-block;
  border: 1px solid currentColor;
  border-radius: 10px;
  background: transparent;
  padding: 12px 24px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 400;
  transition: 0.2s ease;
}
.btn:hover { background: var(--text); color: var(--bg); }

/* NAV */
.header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  min-height: 78px;
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; display: block; }
.links {
  display: flex; gap: 28px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.links a {
  position: relative;
  padding-bottom: 3px;
}
.links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--text);
  transition: width 0.3s ease;
}
.links a:hover::after { width: 100%; }

/* HERO */
.hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.hero video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}
.hero-overlay {
  background: rgba(0,0,0,0.25);
  position: absolute; inset: 0; z-index: 1;
}
.hero-content {
  position: relative; z-index: 2; text-align: center; color: #fff;
  animation: heroFadeUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.3s;
}
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-label { text-transform: uppercase; letter-spacing: 0.2em; font-size: 10px; }
.hero h1 {
  margin: 16px 0 28px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic; font-weight: 400;
  font-size: clamp(64px, 9vw, 112px);
  line-height: 0.95;
}
.hero .btn:hover { background: #fff; color: #111; }

/* LOGOS */
.featured-logos {
  padding: 40px 0;
  background: #f0ebe1;
  border-top: 1px solid rgba(44,36,22,0.08);
  border-bottom: 1px solid rgba(44,36,22,0.08);
}
.featured-label {
  margin: 0 0 22px; text-align: center;
  text-transform: uppercase; letter-spacing: 0.2em;
  font-size: 11px; color: rgba(44,36,22,0.6);
}
.featured-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.featured-row img {
  height: 40px; width: auto; max-width: 100%;
  filter: grayscale(100%); opacity: 0.6;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.featured-row img:hover { filter: grayscale(0%); opacity: 1; transform: scale(1.05); }

/* ABOUT tagline */
.about { text-align: center; }
.about .accent { color: var(--accent); font-style: italic; }
.about .cta { margin-top: 34px; }

/* ABOUT CAITLYN */
.about-caitlyn { background: #f0ebe1; }
.about-row {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}
.about-eyebrow {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.about-title {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 5vw, 72px);
  font-weight: 400;
  line-height: 1.05;
  margin: 0 0 28px;
}
.about-title em { color: var(--accent); font-style: italic; }
.about-text p {
  font-size: 16px;
  line-height: 1.85;
  color: rgba(26,26,26,0.82);
  margin: 0 0 18px;
  max-width: 520px;
}
.about-pull {
  font-family: "Cormorant Garamond", serif !important;
  font-size: 24px !important;
  font-style: italic;
  color: var(--text) !important;
  line-height: 1.5 !important;
  margin: 24px 0 !important;
}
.about-text .btn { margin-top: 12px; }

/* PHOTO STRIP */
.photo-strip { padding: 40px 0 10px; overflow: hidden; }
.photo-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.photo-strip-grid img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ALT ROWS */
.alt-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.alt-row + .alt-row { margin-top: 90px; }
.alt-row.reverse .alt-image { order: 2; }
.alt-row.reverse .alt-text { order: 1; }
.alt-image { overflow: hidden; }
.alt-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s ease;
}
.alt-image:hover img { transform: scale(1.03); }
.alt-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(44px, 4.8vw, 72px);
  font-weight: 400; line-height: 1.06;
}
.alt-title em { color: var(--accent); font-style: italic; }
.alt-text p { max-width: 540px; font-size: 18px; }

/* PACKAGES */
#packages { background: var(--dark-2); color: #fff; }
#packages .heading .ital { color: #cdb89a; }
#packages .intro { color: rgba(255,255,255,0.82); }
.packages-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.package {
  border: 1px solid rgba(255,255,255,0.2);
  padding: 36px 30px;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.package:hover { transform: translateY(-6px); border-color: rgba(255,255,255,0.45); }
.package.popular { background: rgba(255,255,255,0.06); }
.package h3 {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 40px; font-weight: 400;
}
.price-line {
  margin: 20px 0 14px;
  border-top: 1px solid rgba(255,255,255,0.24);
  padding-top: 14px;
  font-family: "Cormorant Garamond", serif;
  font-size: 46px; line-height: 1;
}
.package ul { list-style: none; padding: 0; margin: 0 0 24px; }
.package li { margin: 8px 0; }
#packages .btn:hover { background: #fff; color: #111; }

/* PORTFOLIO */
.portfolio-toggle {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(26,26,26,0.16);
}
.toggle-link {
  border: none;
  background: none;
  padding: 12px 36px;
  font: inherit;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  color: rgba(26,26,26,0.5);
  transition: background 0.2s ease, color 0.2s ease;
}
.toggle-link:first-child { border-right: 1px solid rgba(26,26,26,0.16); }
.toggle-link.active { background: var(--text); color: #fff; }
.toggle-link:hover:not(.active) { background: rgba(26,26,26,0.06); color: var(--text); }

.portfolio-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.portfolio-grid .img-wrap {
  position: relative;
  overflow: hidden;
}
.portfolio-grid .img-wrap img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.5s ease;
}
#brandPanel .portfolio-grid .img-wrap img {
  aspect-ratio: 4 / 3;
}
.portfolio-grid .img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0);
  transition: background 0.4s ease;
  pointer-events: none;
}
.portfolio-grid .img-wrap:hover img { transform: scale(1.06); }
.portfolio-grid .img-wrap:hover::after { background: rgba(26,26,26,0.16); }
.panel[hidden] { display: none !important; }

/* CAROUSEL */
.portfolio-section { padding-bottom: 40px; }
.carousel-viewport {
  margin-top: 32px;
  overflow: hidden;
  position: relative;
  width: 100%;
}
.carousel-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.carousel-slide {
  flex-shrink: 0;
  width: 25%;        /* 4 visible by default — JS overrides on resize */
  min-width: 25%;
}
.carousel-slide img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.carousel-slide[data-cat="brand"] img {
  height: 480px;
}
/* Arrows overlaid */
.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,0.85);
  border: none;
  color: var(--text);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  backdrop-filter: blur(4px);
}
.carousel-arrow:hover { background: rgba(255,255,255,1); }
.carousel-prev { left: 14px; }
.carousel-next { right: 14px; }
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}
.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(44,36,22,0.2);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}
.carousel-dot.active { background: var(--text); transform: scale(1.2); }
@media (max-width: 999px) {
  .carousel-slide { width: 33.333%; min-width: 33.333%; }
}
@media (max-width: 719px) {
  .carousel-slide { width: 50%; min-width: 50%; }
}
@media (max-width: 479px) {
  .carousel-slide { width: 100%; min-width: 100%; }
  .carousel-slide img { height: 340px; }
}

/* BOOK */
.book-inline-list {
  margin-top: 20px;
  border-top: 1px solid rgba(44,36,22,0.12);
}
.book-inline-category {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-style: italic;
  color: var(--accent);
  padding: 14px 0 4px;
  letter-spacing: 0.04em;
}
.book-inline-list .book-row {
  grid-template-columns: 2fr 0.8fr 0.8fr auto;
  padding: 12px 0;
  font-size: 14px;
}
.book-early {
  background: #f0ebe1;
  border-top: 1px solid rgba(44,36,22,0.08);
  border-bottom: 1px solid rgba(44,36,22,0.08);
}
.book-cta-row {
  display: flex;
  align-items: stretch;
  margin: 48px 0 0;
  border: 1px solid rgba(44,36,22,0.14);
}
.book-cta-card {
  flex: 1;
  padding: 36px 40px;
  background: rgba(255,255,255,0.5);
}
.book-cta-card:first-child { border-right: 1px solid rgba(44,36,22,0.14); }
.book-cta-label {
  font-family: "Cormorant Garamond", serif;
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  margin-bottom: 10px;
}
.book-cta-desc {
  font-size: 15px;
  color: rgba(26,26,26,0.75);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 380px;
}
.book-row {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr auto;
  gap: 20px; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  border-radius: 4px;
  transition: background 0.22s ease, padding-left 0.22s ease;
}
.book-row:not(.category-header):hover {
  background: rgba(139,115,85,0.08);
  padding-left: 10px;
}
.book-link { text-transform: uppercase; letter-spacing: 0.14em; font-size: 11px; }
.book-row.category-header {
  border-bottom: none;
  padding-bottom: 0;
  padding-top: 36px;
}
.book-row.category-header strong {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.02em;
}

/* CONTACT */
.contact-wrap { max-width: 900px; margin: 48px auto 0; }
.field { margin-top: 24px; }
.field input, .field textarea {
  width: 100%; border: none;
  border-bottom: 1px solid var(--line);
  background: transparent; padding: 12px 0;
  font: inherit; color: var(--text); outline: none;
  transition: border-color 0.2s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }
.contact-meta {
  margin-top: 36px; text-align: center;
  font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase;
}

/* FOOTER */
.footer {
  background: var(--dark); color: #fff;
  text-align: center; padding: 90px 0 44px;
}
.footer-logo img {
  height: 44px; width: auto; margin: 0 auto;
  filter: invert(1) brightness(2);
}
.footer-links {
  margin-top: 20px; display: flex;
  justify-content: center; gap: 22px;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
}
.footer-links a { position: relative; padding-bottom: 3px; }
.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: rgba(255,255,255,0.6);
  transition: width 0.3s ease;
}
.footer-links a:hover::after { width: 100%; }
.copy { margin-top: 22px; font-size: 11px; letter-spacing: 0.08em; opacity: 0.7; }

/* RESPONSIVE */
@media (max-width: 980px) {
  .links { display: none; }
  .featured-row { justify-content: center; flex-wrap: wrap; gap: 16px; }
  .featured-row img { height: 24px; }
  .photo-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .alt-row, .alt-row.reverse,
  .packages-grid,
  .portfolio-grid { grid-template-columns: 1fr; }
  .alt-row.reverse .alt-image,
  .alt-row.reverse .alt-text { order: initial; }
  .book-row { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
  .book-cta-row { flex-direction: column; }
  .book-cta-card:first-child { border-right: none; border-bottom: 1px solid rgba(44,36,22,0.14); }
  .about-row { grid-template-columns: 1fr; gap: 40px; }
}
