/* ========================
   1. CSS Custom Properties
   ======================== */
:root {
  --black:  #0a0a0a;
  --white:  #fafafa;
  --grey-1: #1a1a1a;
  --grey-2: #6b6b6b;
  --grey-3: #d4d4d4;
  --grey-4: #f0f0f0;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;
}

/* ========================
   2. Reset & Base
   ======================== */
*, *::before, *::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 300;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 300;
}

p {
  margin: 0;
}

button {
  cursor: pointer;
}

/* ========================
   3. Typography Scale
   ======================== */
/* Headings use serif; body uses sans. See component sections for specifics. */

/* ========================
   4. Utility Classes
   ======================== */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ========================
   5. Navigation
   ======================== */
.site-nav {
  width: 100%;
  height: 4rem;
  z-index: 100;
}

.site-nav--transparent {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--white);
}

.site-nav--solid {
  position: sticky;
  top: 0;
  background: var(--white);
  border-bottom: 1px solid var(--grey-3);
  color: var(--black);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.1rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: inherit;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: inherit;
  transition: opacity 0.2s ease;
  padding-bottom: 2px;
}

.nav-links a:hover {
  opacity: 0.6;
}

.nav-links a.active {
  border-bottom: 1px solid currentColor;
}

/* ========================
   6. Hero (index.html)
   ======================== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  height: 100vh;
  min-height: 600px;
}

.hero-portrait {
  position: relative;
  overflow: hidden;
  background: var(--white);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-portrait--slideshow {
  background: var(--grey-4);
}

.hero-portrait--slideshow .hero-portrait-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: heroPortraitFade 54s ease-in-out infinite;
}

.hero-portrait--slideshow .hero-portrait-slide:nth-child(1) {
  animation-delay: 0s;
}

.hero-portrait--slideshow .hero-portrait-slide:nth-child(2) {
  animation-delay: -48s;
}

.hero-portrait--slideshow .hero-portrait-slide:nth-child(3) {
  animation-delay: -42s;
}

.hero-portrait--slideshow .hero-portrait-slide:nth-child(4) {
  animation-delay: -36s;
}

.hero-portrait--slideshow .hero-portrait-slide:nth-child(5) {
  animation-delay: -30s;
}

.hero-portrait--slideshow .hero-portrait-slide:nth-child(6) {
  animation-delay: -24s;
}

.hero-portrait--slideshow .hero-portrait-slide:nth-child(7) {
  animation-delay: -18s;
}

.hero-portrait--slideshow .hero-portrait-slide:nth-child(8) {
  animation-delay: -12s;
}

.hero-portrait--slideshow .hero-portrait-slide:nth-child(9) {
  animation-delay: -6s;
}

.hero-image {
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-logo-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.hero-logo-overlay img {
  height: 25rem;
  width: auto;
  object-fit: contain;
}

.hero-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem;
  background: var(--white);
}

.hero-overline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: normal;
  font-size: clamp(2rem, 2.5vw, 3rem);
  line-height: 1.0;
  color: var(--black);
  margin-bottom: 2rem;
}

.hero-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--grey-2);
  max-width: 340px;
  margin-bottom: 3rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--grey-3);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s ease, gap 0.2s ease;
  align-self: flex-start;
}

.hero-cta:hover {
  border-color: var(--black);
  gap: 0.75rem;
}

@keyframes heroPortraitFade {
  0%,
  7% {
    opacity: 1;
  }

  11%,
  96% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-portrait--slideshow .hero-portrait-slide {
    animation: none;
  }

  .hero-portrait--slideshow .hero-portrait-slide:first-child {
    opacity: 1;
  }
}

/* ========================
   7. Home: Concept Section
   ======================== */
.concept-section {
  padding: 7rem 2rem;
  text-align: center;
  border-top: 1px solid var(--grey-3);
}

.concept-quote {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  line-height: 1.3;
  color: var(--black);
  margin: 0 0 2rem;
}

.concept-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--grey-2);
  max-width: 520px;
  margin: 0 auto 3rem;
}

.concept-link {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--grey-3);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s ease;
}

.concept-link:hover {
  border-color: var(--black);
}

/* ========================
   8. Home: Preview Strip
   ======================== */
/* REMOVED */

/* ========================
   9. Shop Page
   ======================== */
.shop-header {
  text-align: center;
  padding: 5rem 2rem 3rem;
  border-bottom: 1px solid var(--grey-3);
  margin-bottom: 4rem;
}

.shop-title {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.shop-subtitle {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-2);
}

.shop-enquiry {
  max-width: 520px;
  margin: 2rem auto 0;
}

.shop-enquiry-text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--grey-2);
  margin-bottom: 1rem;
}

.shop-enquiry-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem 1.5rem;
}

.shop-enquiry-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--black);
  border-bottom: 1px solid var(--grey-3);
  padding-bottom: 0.25rem;
  transition: border-color 0.2s ease;
}

.shop-enquiry-link:hover {
  border-color: var(--black);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 7rem;
}

/* ========================
   10. Carousel Component
   ======================== */
.product-carousel {
  position: relative;
  margin-bottom: 1.5rem;
}

.carousel-track-container {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--grey-1);
}

.carousel-track {
  height: 100%;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

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

.slide-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.6);
  color: var(--grey-3);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.6rem 1rem;
  pointer-events: none;
}

.carousel-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 0.75rem;
  pointer-events: none;
  z-index: 5;
}

.carousel-btn {
  pointer-events: auto;
  background: rgba(10, 10, 10, 0.45);
  border: 1px solid rgba(212, 212, 212, 0.25);
  color: var(--white);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-family: var(--font-sans);
}

.carousel-btn:hover,
.carousel-btn:focus-visible {
  background: rgba(10, 10, 10, 0.85);
  border-color: rgba(212, 212, 212, 0.6);
  outline: none;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.75rem 0 0;
}

.carousel-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grey-3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel-dot.active {
  background: var(--black);
  transform: scale(1.4);
}

.carousel-dot:focus-visible {
  outline: 2px solid var(--black);
  outline-offset: 3px;
}

/* ========================
   Product Info
   ======================== */
.product-info {
  padding-top: 0.25rem;
}

.product-name {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}

.product-tagline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 1.65;
  color: var(--grey-2);
  margin-bottom: 0.75rem;
}

.product-price {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--black);
  margin-bottom: 0.4rem;
}

.product-looks-label {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-2);
}

/* ========================
   11. About Page
   ======================== */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 85vh;
}

.about-portrait {
  overflow: hidden;
  background: var(--grey-1);
}

.about-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
}

.about-overline {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-2);
  margin-bottom: 1.5rem;
}

.about-name {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(3rem, 4vw, 4.5rem);
  line-height: 1.05;
  margin-bottom: 2.5rem;
}

.about-bio {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--grey-2);
  margin-bottom: 1.25rem;
}

.values-strip {
  background: var(--grey-4);
  padding: 5rem 2rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.value-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.value-body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--grey-2);
}

.social-cta {
  background: var(--grey-1);
  color: var(--white);
  text-align: center;
  padding: 6rem 2rem;
}

.social-cta-heading {
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  margin-bottom: 1.25rem;
}

.social-cta-sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--grey-3);
  margin-bottom: 1.5rem;
}

.social-cta-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 1.75rem;
}

.social-cta-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-3);
  border-bottom: 1px solid var(--grey-2);
  padding-bottom: 0.2rem;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.social-cta-link:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ========================
   12. Footer
   ======================== */
.site-footer {
  background: var(--black);
  color: var(--white);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-self: start;
}

.footer-brand img {
  height: 1.75rem;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-nav {
  display: flex;
  gap: 2rem;
  justify-self: center;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
  justify-self: end;
}

.footer-nav a,
.footer-social a {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-social a:hover {
  color: var(--white);
}

.footer-legal {
  border-top: 1px solid var(--grey-1);
  text-align: center;
  padding: 1rem 2rem;
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--white);
}

/* ========================
   13. Responsive Breakpoints
   ======================== */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    grid-template-columns: 1fr;
    height: auto;
  }

  .hero-image {
    height: 60vh;
  }

  .hero-logo-overlay img {
    width: 60%;
    height: auto;
  }

  .hero-text {
    padding: 3rem 1.5rem;
    text-align: center;
    align-items: center;
  }

  .hero-cta {
    align-self: auto;
  }

  .hero-body {
    max-width: 100%;
  }

  .hero-portrait {
    height: 70vw;
    max-height: 480px;
  }

  .hero-portrait--slideshow {
    aspect-ratio: 2 / 3;
    height: auto;
    max-height: none;
  }

  .hero-portrait--slideshow .hero-portrait-slide {
    object-fit: cover;
    object-position: center;
  }

  /* Home preview */
  .preview-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  /* About */
  .about-intro {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-portrait {
    height: 65vw;
    min-height: 300px;
  }

  .about-text {
    padding: 3rem 1.5rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  /* Shop */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    padding: 0 1.5rem 5rem;
  }

  /* Footer */
  .footer-inner {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-nav {
    gap: 1.5rem;
  }

  .footer-social {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .nav-logo {
    font-size: 0.9rem;
  }

  .nav-links a {
    font-size: 0.65rem;
  }

  .hero-text {
    padding: 2.5rem 1.25rem;
  }

  .concept-section {
    padding: 4rem 1.25rem;
  }

  .preview-strip {
    padding: 0 1.25rem 4rem;
  }

  .preview-grid {
    grid-template-columns: 1fr;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .shop-header {
    padding: 3rem 1.25rem 2rem;
  }

  .products-grid {
    padding: 0 1.25rem 4rem;
    gap: 3rem;
  }

  .about-text {
    padding: 2.5rem 1.25rem;
  }

  .values-strip {
    padding: 3.5rem 1.25rem;
  }
}
