@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/SourceSerif4-VariableFont.ttf') format('truetype');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Source Serif 4';
  src: url('assets/fonts/SourceSerif4-Italic-VariableFont.ttf') format('truetype');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f2f0ea;
  --bg-muted: #ebe9e1;
  --text: #1a1a1a;
  --muted: #55534c;
  --accent: #9b9fd9;
  --line: rgba(26, 26, 26, 0.14);
  --serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

.heading-serif {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  margin: 0 0 1.5rem;
  line-height: 1.15;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

.heading-serif--small { font-size: clamp(1.3rem, 2vw, 1.6rem); margin-bottom: 1rem; }
.heading-serif--tiny { font-size: 1.15rem; margin-bottom: 0.75rem; }

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

.section__intro {
  max-width: 70ch;
  color: var(--muted);
  margin: 1.5rem 0 2.5rem;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem clamp(1.5rem, 5vw, 4rem);
  background: rgba(242, 240, 234, 0.85);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid transparent;
}

.nav__brand {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  text-decoration: none;
}

.nav__toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text);
}

.nav__links {
  position: absolute;
  top: 100%;
  right: clamp(1.5rem, 5vw, 4rem);
  min-width: 280px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease, opacity 0.2s ease;
  box-shadow: 0 12px 24px rgba(26, 26, 26, 0.08);
}

.nav__links.is-open {
  max-height: 32rem;
  opacity: 1;
}

.nav__links a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid var(--line);
}

.nav__links a:first-child { border-top: none; }

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

/* Section dot navigation */
.section-dots {
  position: fixed;
  z-index: 60;
  left: clamp(1rem, 2vw, 1.75rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.section-dots::before {
  content: '';
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 50%;
  width: 1px;
  background: var(--line);
  transform: translateX(-50%);
  z-index: -1;
}

.section-dots a {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--muted);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
  flex-shrink: 0;
}

.section-dots a:hover {
  border-color: var(--accent);
}

.section-dots a.is-active {
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.5);
}

@media (max-height: 700px), (max-width: 900px) {
  .section-dots {
    display: none;
  }
}

/* Page sections — one per portfolio page */
.page-section {
  min-height: 100svh;
  padding: 7rem clamp(1.5rem, 5vw, 4rem) 4rem;
  scroll-snap-align: start;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

/* Hero */
.hero {
  position: relative;
  align-items: center;
  text-align: center;
  border-top: none;
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 2.5rem;
  transform: translateX(-50%);
  color: var(--muted);
  animation: hero-bounce 2.2s ease-in-out infinite;
}

.hero__scroll svg {
  width: 22px;
  height: 22px;
  display: block;
}

@keyframes hero-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

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

.hero__logo {
  width: clamp(280px, 60vw, 650px);
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero__subtitle {
  margin: 2rem 0 0;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--muted);
}

/* About */
.about__grid {
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  margin-top: 2rem;
}

.about__photo img {
  border-radius: 6px;
  width: 100%;
}

.glance {
  margin: 1.5rem 0 0;
}

.glance > div {
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.glance dt {
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.glance dd {
  margin: 0;
}

/* Capabilities */
.capabilities__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2rem;
}

.capability img {
  border-radius: 6px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1rem;
}

.capability ul {
  margin: 0;
  padding-left: 1.1rem;
}

.capability li {
  margin-bottom: 0.35rem;
}

/* Philosophy */
.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.philosophy__grid > div {
  border-top: 1px solid var(--accent);
  padding-top: 1.25rem;
}

.philosophy__grid h4 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.philosophy__grid p {
  margin: 0;
  font-size: 0.95rem;
}

/* Mous overview */
.mous__layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-top: 2rem;
  align-items: start;
}

.mous__image img {
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.mous__meta {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.mous__meta h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.5rem;
}

.mous__meta ul {
  margin: 0;
  padding-left: 1.1rem;
}

.mous__meta li {
  margin-bottom: 0.3rem;
}

/* Case study galleries + meta grids (reused across pages) */
.case-study__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
  margin: 2rem 0;
}

.case-study__gallery--three {
  grid-template-columns: repeat(3, 1fr);
}

.case-study__gallery img {
  border-radius: 4px;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.case-study__meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.case-study__meta--six {
  grid-template-columns: repeat(3, 1fr);
}

.case-study__meta h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin: 0 0 0.6rem;
  border-top: 1px solid var(--accent);
  padding-top: 0.75rem;
}

.case-study__meta p,
.case-study__meta ul {
  margin: 0;
  font-size: 0.95rem;
}

.case-study__meta ul {
  padding-left: 1.1rem;
}

.case-study__meta li {
  margin-bottom: 0.35rem;
}

/* Range grid */
.range {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.range__item img {
  border-radius: 6px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.range__item h5 {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1rem;
  margin: 0 0 0.4rem;
}

.range__item p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* Detail row (backpack close-ups) */
.detail-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.detail-row__feature img {
  border-radius: 6px;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 0.75rem;
}

.caption {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}

.detail-row__details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.detail-row__details img {
  border-radius: 4px;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  margin-bottom: 0.5rem;
}

.detail-row__details p {
  margin: 0;
  font-size: 0.9rem;
}

/* Luggage */
.luggage__gallery {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 1rem;
  margin: 2rem 0;
}

.luggage__product {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  aspect-ratio: 3 / 4;
}

.luggage__gallery-right {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

.luggage__gallery-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
  aspect-ratio: 16 / 8;
}

.luggage__text {
  max-width: 80ch;
}

.luggage__text p {
  margin: 0.5rem 0 0;
}

.luggage__text h4 {
  margin: 1.5rem 0 0;
  font-weight: 600;
}

/* Next steps */
.next-steps__list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
  max-width: 80ch;
}

.next-steps__list > div {
  border-top: 1px solid var(--accent);
  padding-top: 1.25rem;
}

.next-steps__list p {
  margin: 0.5rem 0 0;
}

/* Contact */
.contact {
  text-align: center;
  align-items: center;
}

.contact__title {
  margin-bottom: 1rem;
}

.contact__links {
  font-size: 1.1rem;
  margin-top: 1rem;
}

.contact__links a {
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
}

.contact__links span {
  margin: 0 0.75rem;
  color: var(--muted);
}

/* Footer */
.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
  }

  .about__photo {
    max-width: 260px;
  }

  .capabilities__grid,
  .philosophy__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .mous__image {
    max-width: 360px;
  }

  .case-study__meta,
  .case-study__meta--six {
    grid-template-columns: repeat(2, 1fr);
  }

  .range {
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-row {
    grid-template-columns: 1fr;
  }

  .case-study__gallery {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .luggage__product {
    aspect-ratio: 4 / 3;
    max-width: 360px;
  }
}

@media (max-width: 640px) {
  .case-study__meta,
  .case-study__meta--six {
    grid-template-columns: 1fr;
  }

  .range {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study__gallery,
  .case-study__gallery--three {
    grid-template-columns: repeat(2, 1fr);
  }

  .luggage__gallery-right {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr;
  }
}
