/* ───────────────────────────────────────────────
   DESIGN TOKENS
─────────────────────────────────────────────── */
:root {
  --bg: #F9F6F1;
  /* warm ivory page background */
  --surface: #FFFFFF;
  /* cards, header */
  --surface-alt: #F4F0E8;
  /* subtle card bg variation */
  --border: #E8E2D9;
  --ink: #1E1C19;
  /* primary text – deep charcoal */
  --ink-mid: #5C5750;
  /* secondary text */
  --ink-soft: #9B948A;
  /* muted labels */
  --accent: #7A5C3F;
  /* warm brown accent */
  --accent-lt: #C9A980;
  /* light accent for icons */

  --ff-serif: 'Cormorant Garamond', Georgia, serif;
  --ff-sans: 'Inter', system-ui, sans-serif;

  --header-h: 60px;
  --gutter: 20px;
  --r-card: 14px;
  --r-btn: 8px;
  --r-pill: 999px;

  --ease: cubic-bezier(.25, .46, .45, .94);
  --t-fast: 0.18s;
  --t-med: 0.32s;
}

/* ───────────────────────────────────────────────
   BASE RESET
─────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  min-width: 320px;
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  min-height: 100dvh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

a[hidden],
[hidden] {
  display: none !important;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul {
  list-style: none;
}

/* Focus rings */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ───────────────────────────────────────────────
   HEADER
─────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo-img {
  height: 70px;
  width: auto;
  object-fit: contain;
  transform: scale(1.8);
  transform-origin: left center;
}

/* Hamburger Toggle */
.nav-toggle {
  width: 44px;
  height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transform-origin: center;
  transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ───────────────────────────────────────────────
   SLIDE NAV
─────────────────────────────────────────────── */
.main-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 199;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem var(--gutter) 2.5rem;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease), visibility 0s var(--t-med);
}

.main-nav.is-open {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
}

.main-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.nav-link {
  display: block;
  padding: 1.1rem 0;
  font-family: var(--ff-serif);
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}

.nav-link:last-child {
  border-bottom: none;
}

.main-nav-footer {
  padding-top: 2rem;
}

.main-nav-tagline {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
}

/* ───────────────────────────────────────────────
   HERO
─────────────────────────────────────────────── */
.hero {
  position: relative;
  width: 100%;
}

.hero-media {
  position: relative;
  width: 100%;
  height: 56vh;
  min-height: 380px;
  max-height: 580px;
  overflow: hidden;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(20, 17, 12, 0.05) 0%,
      rgba(20, 17, 12, 0.22) 40%,
      rgba(20, 17, 12, 0.68) 100%);
}

.hero-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem var(--gutter) 2rem;
  color: #fff;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.hero-heading {
  font-family: var(--ff-serif);
  font-size: clamp(2.4rem, 8vw, 3.5rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.hero-heading em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
}

.hero-sub {
  font-size: 0.68rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.4rem;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: #fff;
  color: var(--ink);
  font-family: var(--ff-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--r-btn);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.hero-cta:active {
  transform: scale(0.97);
}

.hero-cta-arrow {
  font-size: 0.9rem;
}

/* ───────────────────────────────────────────────
   CARDS SECTION
─────────────────────────────────────────────── */
.cards-section {
  padding: 2rem var(--gutter) 2.5rem;
}

.cards-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.cards-header-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.cards-header-label {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  flex-shrink: 0;
}


/* ── Featured Cards (View Catalogue + Visit Website) ── */
.featured-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 10px;
}

.featured-card {
  position: relative;
  display: flex;
  align-items: stretch;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  height: 110px;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.featured-card:active {
  transform: scale(0.985);
  border-color: var(--accent-lt);
}

.featured-num {
  position: absolute;
  top: 0.8rem;
  right: 0.9rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  opacity: 0.7;
}

.featured-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.9rem 0.8rem 0.9rem 1.1rem;
  min-width: 0;
}

.featured-icon {
  color: var(--accent);
  margin-bottom: 6px;
}

.featured-icon svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured-title {
  font-family: var(--ff-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 3px;
}

.featured-label {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--accent);
  text-transform: uppercase;
}

.featured-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0.8rem 0.9rem 0.8rem 0;
  flex-shrink: 0;
}

.featured-arrow {
  width: 30px;
  height: 30px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-mid);
  transition: background var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}

.featured-card:active .featured-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.featured-arrow svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.featured-photo {
  width: 115px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  overflow: hidden;
}

.featured-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Divider between featured and grid */
.cards-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 6px 0;
}

.cards-divider-rule {
  flex: 1;
  height: 1px;
  background: var(--border);
}

.cards-divider-label {
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  flex-shrink: 0;
}

/* Card Grid — 2 columns */
.cards-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* Individual Card — vertical tile */
.action-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  overflow: hidden;
  padding: 1rem 1rem 0.85rem;
  min-height: 120px;
  cursor: pointer;
  transition: transform var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.action-card:active {
  transform: scale(0.96);
  border-color: var(--accent-lt);
  background: var(--surface-alt);
}

/* Card: Number badge */
.card-num {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  opacity: 0.7;
}

/* Card: Top row — icon */
.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: auto;
}

.card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}

.card-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card: Bottom row — title + arrow */
.card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 6px;
  padding-top: 0.85rem;
}

.card-title {
  font-family: var(--ff-serif);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.2;
}

/* Card: Arrow circle */
.card-arrow {
  width: 28px;
  height: 28px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--ink-mid);
  transition: border-color var(--t-fast), background var(--t-fast), color var(--t-fast);
}

.action-card:active .card-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.card-arrow svg {
  width: 11px;
  height: 11px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Card: Photo column */
.card-photo {
  width: 88px;
  flex-shrink: 0;
  border-left: 1px solid var(--border);
  overflow: hidden;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ───────────────────────────────────────────────
   SOCIAL STRIP
─────────────────────────────────────────────── */
.social-section {
  padding: 0.5rem var(--gutter) 2.5rem;
  text-align: center;
}

.social-label-text {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 1rem;
}

.social-row {
  display: flex;
  justify-content: center;
  gap: 1.75rem;
}

.social-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  color: var(--ink-mid);
  transition: color var(--t-fast);
}

.social-item:active {
  color: var(--accent);
}

.social-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--t-fast), background var(--t-fast);
}

.social-item:active .social-icon-wrap {
  border-color: var(--accent-lt);
  background: var(--surface-alt);
}

.social-icon-wrap svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-name {
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ───────────────────────────────────────────────
   FOOTER
─────────────────────────────────────────────── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
}

.footer-photo-strip {
  height: 130px;
  overflow: hidden;
}

.footer-photo-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.footer-body {
  padding: 2.5rem var(--gutter) max(2rem, env(safe-area-inset-bottom));
  text-align: center;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.9rem;
}

.footer-logo .brand-logo-img {
  transform-origin: center center;
}

.footer-tagline {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--ink-mid);
  margin-bottom: 3px;
}

.footer-sub {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
  margin-bottom: 1.25rem;
}

.footer-web-link {
  display: inline-block;
  font-family: var(--ff-serif);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.footer-locations {
  margin-bottom: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.locations-title {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--ink-mid);
  margin-bottom: 0.8rem;
}

.locations-list {
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--ink-soft);
  max-width: 480px;
  margin: 0 auto;
}

.footer-copy {
  font-size: 0.65rem;
  color: var(--ink-soft);
}

/* ───────────────────────────────────────────────
   CATALOGUE DIALOG
─────────────────────────────────────────────── */
.catalogue-dialog {
  width: min(580px, calc(100% - 24px));
  max-height: min(84dvh, 740px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-sans);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.catalogue-dialog::backdrop {
  background: rgba(10, 8, 5, 0.48);
  backdrop-filter: blur(3px);
}

.catalogue-dialog-header {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 88px;
  padding: 1.2rem 1.25rem 1.2rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.catalogue-dialog-eyebrow {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  color: var(--ink-soft);
  margin-bottom: 3px;
}

.catalogue-dialog-title {
  font-family: var(--ff-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: var(--ink);
}

.catalogue-dialog-close {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--ink-mid);
  display: grid;
  place-items: center;
  transition: background var(--t-fast), border-color var(--t-fast);
}

.catalogue-dialog-close:hover {
  background: var(--surface-alt);
}

.catalogue-groups {
  padding: 0.5rem 1.5rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.catalogue-group h3 {
  margin: 1.1rem 0 0.3rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.catalogue-option {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--ink-mid);
  transition: color var(--t-fast);
}

.catalogue-option:last-child {
  border-bottom: none;
}

.catalogue-option:hover {
  color: var(--accent);
}

.catalogue-option-arrow {
  flex-shrink: 0;
  color: var(--accent-lt);
  font-size: 0.8rem;
}

/* ───────────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────────── */
@media (max-width: 380px) {
  :root {
    --gutter: 15px;
  }

  .hero-heading {
    font-size: 2.2rem;
  }

  .card-photo {
    width: 72px;
  }
}

@media (min-width: 520px) {
  .cards-list {
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (min-width: 768px) {
  .hero-media {
    height: 52vh;
    max-height: 640px;
  }

  .cards-section {
    padding-inline: 2rem;
  }

  .cards-list {
    max-width: 560px;
  }

  .hero-body {
    max-width: 520px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .catalogue-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ───────────────────────────────────────────────
   REDUCED MOTION
─────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}