@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Lato:wght@300;400;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  /* Colors */
  --color-navy:            #1a2744;
  --color-navy-light:      #243258;
  --color-navy-dim:        rgba(26, 39, 68, 0.07);
  --color-cream:           #f9f4ec;
  --color-cream-dark:      #f0e8d8;
  --color-terracotta:      #c8945a;
  --color-terracotta-dark: #b07840;
  --color-terracotta-dim:  rgba(200, 148, 90, 0.15);
  --color-sage:            #7a9b7a;
  --color-white:           #ffffff;
  --color-text-dark:       #1c1c1c;
  --color-text-mid:        #4a4a4a;
  --color-text-light:      #7a7a7a;

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Lato', 'Inter', system-ui, sans-serif;

  /* Fluid Font Scale */
  --text-xs:   clamp(0.75rem,  1.5vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 2vw,   1rem);
  --text-base: clamp(1rem,     2.5vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 3vw,   1.375rem);
  --text-xl:   clamp(1.5rem,   4vw,   2rem);
  --text-2xl:  clamp(2rem,     5vw,   3rem);
  --text-3xl:  clamp(2.5rem,   6vw,   4rem);
  --text-hero: clamp(3rem,     7vw,   5.5rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --container-max:    1200px;
  --container-wide:   1400px;
  --container-narrow: 780px;

  /* Shadows */
  --shadow-sm:  0 2px 8px rgba(26, 39, 68, 0.08);
  --shadow-md:  0 4px 20px rgba(26, 39, 68, 0.12);
  --shadow-lg:  0 8px 40px rgba(26, 39, 68, 0.18);
  --shadow-xl:  0 20px 60px rgba(0, 0, 0, 0.3);

  /* Borders */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 100px;

  /* Transitions */
  --transition-fast:   150ms ease;
  --transition-base:   300ms ease;
  --transition-slow:   600ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Nav height */
  --nav-height: 72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--color-text-dark);
  background-color: var(--color-cream);
  line-height: 1.65;
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

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

ul, ol {
  list-style: none;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-navy);
}

p {
  line-height: 1.75;
}

address {
  font-style: normal;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding-block: var(--space-20);
}

.section--dark {
  background-color: var(--color-navy);
  color: var(--color-cream);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-cream);
}

.section--cream {
  background-color: var(--color-cream-dark);
}

.text-center { text-align: center; }
.text-serif  { font-family: var(--font-serif); }

.eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-terracotta);
  margin-bottom: var(--space-4);
}

.section--dark .eyebrow {
  color: var(--color-terracotta);
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: background-color var(--transition-base),
              color var(--transition-base),
              border-color var(--transition-base),
              transform var(--transition-base),
              box-shadow var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-terracotta);
  color: var(--color-white);
  border: 2px solid var(--color-terracotta);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-terracotta-dark);
  border-color: var(--color-terracotta-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 148, 90, 0.35);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background-color var(--transition-base),
              box-shadow var(--transition-base),
              backdrop-filter var(--transition-base);
}

.nav--scrolled {
  background-color: var(--color-navy);
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-white);
  line-height: 1;
}

.nav__logo span {
  font-style: italic;
  color: var(--color-terracotta);
}

.nav__links {
  display: none;
  align-items: center;
  gap: var(--space-8);
}

@media (min-width: 1024px) {
  .nav__links {
    display: flex;
  }
}

.nav__link {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  transition: color var(--transition-fast);
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: var(--color-terracotta);
  transform: scaleX(0);
  transition: transform var(--transition-base);
  transform-origin: left;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-white);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

.btn-nav {
  display: none;
  padding: 0.5rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-terracotta);
  border: 1.5px solid var(--color-terracotta);
  transition: background-color var(--transition-base),
              color var(--transition-base);
}

.btn-nav:hover {
  background-color: var(--color-terracotta);
  color: var(--color-white);
}

@media (min-width: 1024px) {
  .btn-nav {
    display: inline-flex;
    align-items: center;
  }
}

/* Hamburger */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 2px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .nav__hamburger {
    display: none;
  }
}

.nav__hamburger span {
  display: block;
  height: 2px;
  background-color: var(--color-white);
  border-radius: 2px;
  transition: transform var(--transition-base),
              opacity var(--transition-base);
  transform-origin: center;
}

.nav__hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.nav__mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--color-navy);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-16px);
  transition: opacity var(--transition-base), transform var(--transition-base);
  z-index: 999;
}

.nav__mobile.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY(0);
}

.nav__mobile-link {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  font-weight: 300;
  color: var(--color-white);
  letter-spacing: 0.05em;
  transition: color var(--transition-fast);
}

.nav__mobile-link:hover {
  color: var(--color-terracotta);
}

.nav__mobile .btn-primary {
  margin-top: var(--space-4);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-navy);
  color: var(--color-cream);
  padding-top: var(--space-16);
  padding-bottom: var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 640px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-8);
  }
}

.footer__brand-logo {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--color-white);
  margin-bottom: var(--space-3);
  display: block;
}

.footer__brand-logo span {
  font-style: italic;
  color: var(--color-terracotta);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: rgba(249, 244, 236, 0.65);
  line-height: 1.6;
  max-width: 280px;
}

.footer__heading {
  font-family: var(--font-sans);
  font-size: var(--text-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-terracotta);
  margin-bottom: var(--space-6);
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__nav-link {
  font-size: var(--text-sm);
  color: rgba(249, 244, 236, 0.75);
  transition: color var(--transition-fast);
}

.footer__nav-link:hover {
  color: var(--color-white);
}

.footer__hours-row {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  font-size: var(--text-sm);
  color: rgba(249, 244, 236, 0.75);
  padding-block: var(--space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__hours-row:last-child {
  border-bottom: none;
}

.footer__hours-day { font-weight: 400; }
.footer__hours-time { color: rgba(249, 244, 236, 0.55); }
.footer__hours-closed { color: rgba(200, 148, 90, 0.7); }

.footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.footer__contact-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(249, 244, 236, 0.4);
}

.footer__contact-value {
  font-size: var(--text-sm);
  color: rgba(249, 244, 236, 0.85);
  transition: color var(--transition-fast);
}

a.footer__contact-value:hover {
  color: var(--color-terracotta);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  padding-top: var(--space-8);
  text-align: center;
}

@media (min-width: 640px) {
  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer__copy {
  font-size: var(--text-xs);
  color: rgba(249, 244, 236, 0.35);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer__bottom-link {
  font-size: var(--text-xs);
  color: rgba(249, 244, 236, 0.35);
  transition: color var(--transition-fast);
}

.footer__bottom-link:hover {
  color: rgba(249, 244, 236, 0.65);
}

/* ============================================================
   FOCUS STYLES (ACCESSIBILITY)
   ============================================================ */
:focus-visible {
  outline: 2px solid var(--color-terracotta);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   HOURS TABLE (SHARED)
   ============================================================ */
.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table td {
  padding: 0.4rem 0;
  font-size: var(--text-sm);
  vertical-align: top;
}

.hours-table td:first-child {
  font-weight: 700;
  padding-right: var(--space-6);
  white-space: nowrap;
}

.hours-table td:last-child {
  color: var(--color-text-mid);
}

.hours-table .hours-closed {
  color: var(--color-terracotta-dark);
  font-style: italic;
}

.section--dark .hours-table td:last-child {
  color: rgba(249, 244, 236, 0.6);
}
