/* Maroquinerie Latitude: site styles */

:root {
  --cream: #FAF7F2;
  --sand: #F1EAE0;
  --ink: #2B2420;
  --muted: #5C5048;
  --line: #E6DCD0;
  --line-strong: #D9CCBC;
  --accent: #A0622D;
  --accent-dark: #84501F;
  --accent-light: #C9935F;
  --on-dark: #F1EAE0;
  --on-dark-muted: #DCCFBF;
  --on-dark-line: #4A3F38;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 24px;
}

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

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

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

a {
  color: var(--accent);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
}

p {
  margin: 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 100;
  background: var(--ink);
  color: var(--on-dark);
  padding: 8px 16px;
}

/* Text helpers */

.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-title {
  font-size: clamp(32px, 4vw, 46px);
}

.lead {
  font-size: 18px;
  font-weight: 300;
  color: var(--muted);
  max-width: 34em;
}

.text-muted {
  font-weight: 300;
  color: var(--muted);
}

/* Buttons */

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-block;
  padding: 15px 28px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--accent);
  color: var(--cream);
}

.btn-primary:hover {
  background: var(--accent-dark);
  color: var(--cream);
}

.btn-outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

/* Top bar */

.topbar {
  background: var(--ink);
  color: var(--on-dark);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.topbar .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
  padding-top: 10px;
  padding-bottom: 10px;
  text-align: center;
}

/* Header */

.site-header {
  position: relative;
  z-index: 10;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 32px;
  padding-top: 18px;
  padding-bottom: 18px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover {
  color: var(--ink);
}

.brand-seal {
  flex: none;
  width: 52px;
  height: 52px;
}

.brand-name {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-word {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}

.brand-rule {
  width: 1px;
  height: 28px;
  background: var(--accent);
}

.brand-sub {
  font-size: 10px;
  letter-spacing: 0.28em;
  line-height: 1.5;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 1px solid transparent;
  color: var(--ink);
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  border-bottom-color: var(--accent);
  color: var(--ink);
}

.site-nav .nav-instagram {
  display: inline-flex;
  border: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle .icon-close {
  display: none;
}

.site-header.is-open .nav-toggle .icon-open {
  display: none;
}

.site-header.is-open .nav-toggle .icon-close {
  display: block;
}

/* Hero */

.hero .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 72px;
  padding-top: 72px;
  padding-bottom: 88px;
}

.hero-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-text h1 {
  font-size: clamp(40px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.01em;
}

.hero-text .btn-row {
  padding-top: 8px;
}

.hero-media {
  position: relative;
  flex: 1 1 420px;
  min-width: 0;
}

.hero-media img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.hero-badge {
  position: absolute;
  left: 16px;
  bottom: -28px;
  padding: 18px 24px;
  background: var(--cream);
  box-shadow: 0 12px 32px rgba(43, 36, 32, 0.12);
}

.hero-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 600;
  line-height: 1;
}

.hero-badge span {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* Page heading (inner pages) */

.page-hero .container {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.page-hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  max-width: 16em;
}

/* Features band */

.features {
  background: var(--sand);
}

.features .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.feature svg {
  flex: none;
  width: 28px;
  height: 28px;
  margin-top: 2px;
  stroke: var(--accent);
}

.feature strong {
  display: block;
  font-weight: 500;
}

.feature span {
  font-size: 14px;
  color: var(--muted);
}

/* Sections */

.section .container {
  padding-top: 96px;
  padding-bottom: 88px;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 44px;
}

.section-sand {
  background: var(--sand);
}

/* Product categories: subgrid keeps titles, texts and brand lists aligned */

.categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  column-gap: 28px;
  row-gap: 48px;
}

.category {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 16px;
}

.category img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.category h3 {
  font-size: 28px;
  line-height: 1.15;
}

.category p {
  font-size: 15px;
  color: var(--muted);
}

.brands {
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.7;
}

.brands-label {
  padding-right: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Product page: alternating rows */

.product-rows {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.product-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 72px;
}

.product-row:nth-child(even) {
  flex-direction: row-reverse;
}

.product-row img {
  flex: 1 1 380px;
  min-width: 0;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-row-text {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.product-row-text h2 {
  font-size: clamp(32px, 4vw, 42px);
}

/* Services */

.services {
  background: var(--ink);
  color: var(--on-dark);
}

.services .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px 72px;
  padding-top: 80px;
  padding-bottom: 80px;
}

.services-intro {
  flex: 1 1 380px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.services .eyebrow {
  color: var(--accent-light);
}

.services-intro p:last-child {
  font-weight: 300;
  color: var(--on-dark-muted);
}

.services-list {
  flex: 1 1 460px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.service {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 28px;
  border: 1px solid var(--on-dark-line);
}

.service svg {
  width: 36px;
  height: 36px;
  stroke: var(--accent-light);
}

.service h3 {
  font-size: 26px;
  line-height: 1.15;
}

.service p {
  font-size: 15px;
  color: var(--on-dark-muted);
}

/* Shop / visit block */

.visit .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 48px 72px;
  padding-top: 96px;
  padding-bottom: 96px;
}

.visit-media {
  flex: 1 1 380px;
  min-width: 0;
}

.visit-media img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.visit-text {
  flex: 1 1 420px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line-strong);
  list-style: none;
}

.info-list li {
  display: flex;
  gap: 14px;
}

.info-list svg {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 2px;
  stroke: var(--accent);
}

/* Shop page */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: 24px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.split {
  display: flex;
  flex-wrap: wrap;
  gap: 40px 72px;
}

.split > * {
  flex: 1 1 380px;
  min-width: 0;
}

.split-text {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.map {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Contact page */

.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: var(--sand);
}

.contact-card svg {
  width: 32px;
  height: 32px;
  stroke: var(--accent);
}

.contact-card h2 {
  font-size: 28px;
}

.contact-card a {
  font-weight: 500;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: var(--on-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  padding-top: 64px;
  padding-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col .footer-seal {
  width: 96px;
  height: 96px;
}

.footer-col p {
  font-size: 15px;
  font-weight: 300;
  color: #CDBFAE;
}

.footer-title {
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #CDBFAE;
}

.site-footer a {
  color: var(--on-dark);
}

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

.footer-nav a,
.footer-instagram {
  text-decoration: none;
}

.footer-instagram {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-bottom {
  padding-top: 20px;
  padding-bottom: 32px;
  border-top: 1px solid var(--on-dark-line);
  font-size: 13px;
  color: #CDBFAE;
}

/* Mobile */

@media (max-width: 900px) {
  :root {
    --gutter: 20px;
  }

  .topbar .container > span + span {
    display: none;
  }

  .site-header .container {
    padding-top: 12px;
    padding-bottom: 12px;
  }

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

  .brand,
  .brand-name {
    gap: 10px;
  }

  .brand-word {
    font-size: 22px;
  }

  .brand-rule {
    height: 22px;
  }

  .brand-sub {
    font-size: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 100%);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 16px var(--gutter) 32px;
    overflow-y: auto;
    background: var(--cream);
    border-top: 1px solid var(--line);
    font-family: var(--serif);
    font-size: 32px;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
  }

  .site-nav a:hover,
  .site-nav a[aria-current="page"] {
    border-bottom-color: var(--line);
    color: var(--accent);
  }

  .site-nav .nav-instagram {
    display: none;
  }

  .hero .container {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
    padding-top: 40px;
    padding-bottom: 72px;
  }

  .hero-text {
    flex-basis: auto;
    gap: 20px;
  }

  .hero-text h1 {
    font-size: 42px;
  }

  .lead {
    font-size: 17px;
  }

  .hero-media {
    flex-basis: auto;
  }

  .hero-badge {
    left: 12px;
    bottom: -24px;
    padding: 12px 16px;
  }

  .hero-badge strong {
    font-size: 24px;
  }

  .btn-row {
    flex-direction: column;
  }

  .features .container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    padding-top: 36px;
    padding-bottom: 36px;
  }

  .feature svg {
    display: none;
  }

  .feature span {
    font-size: 13px;
  }

  .page-hero .container {
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .section .container,
  .visit .container {
    padding-top: 64px;
    padding-bottom: 56px;
  }

  .services .container {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .section-head {
    margin-bottom: 32px;
  }

  .categories {
    row-gap: 40px;
  }

  .category {
    row-gap: 12px;
  }

  .category img {
    aspect-ratio: 4 / 3;
  }

  .category h3 {
    font-size: 26px;
  }

  .product-rows {
    gap: 56px;
  }

  .service {
    padding: 20px;
  }

  .footer-grid {
    gap: 32px;
    padding-top: 48px;
  }
}
