/* ============================================
   LABEL WITH LOVE — Global Styles
   Elevated editorial · IvyBodoni · IvyOra Text body
   Thin decorative lines · B&W with image color
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* PALETTE — B&W foundation, color comes from imagery */
  --black: #2c2c2c;
  --charcoal: #4a4a4a;
  --dark-gray: #6e6e6e;
  --mid-gray: #999999;
  --light-gray: #d4d4d4;
  --border: #e8e8e8;
  --line: #d0cbc4;          /* warm decorative line color */
  --off-white: #f5f5f3;
  --linen: #F6F6F4;
  --warm-white: #fdfcfa;
  --white: #ffffff;

  /* Accent — citrusy sage green pops */
  --accent: #B5BF5B;        /* citrusy sage green */
  --accent-muted: #c8cf8a;  /* lighter version */
  --dusty-blue: #A3B5C7;    /* soft dusty blue */

  /* Typography */
  --font-heading: 'ivybodoni', 'Georgia', serif;
  --font-accent: 'warbler-display', 'Georgia', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif-body: 'ivyora-text', 'Georgia', serif;
  --font-sans: 'commuters-sans', 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: 100px;
  --container-width: 1100px;

  /* Transitions */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
  font-family: var(--font-body);
  color: var(--black);
  background-color: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

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

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

ul, ol {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: normal;
  line-height: 1.12;
  color: var(--black);
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
}

/* Label / eyebrow — uses sans-serif */
h4 {
  font-family: var(--font-sans);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  color: var(--mid-gray);
}

p {
  max-width: 56ch;
  color: var(--dark-gray);
  font-size: 0.88rem;
  line-height: 1.8;
  font-weight: 400;
}

.text-accent {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: 1.05rem;
  color: var(--mid-gray);
  margin: 0 auto;
  text-align: center;
}

.italic {
  font-family: var(--font-accent);
  font-style: italic;
  font-weight: 400;
}

/* --- Layout --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--linen { background-color: var(--linen); }
.section--warm { background-color: var(--warm-white); }
.section--off-white { background-color: var(--off-white); }
.section--dark {
  background-color: var(--black);
  color: var(--off-white);
}
.section--dark h1, .section--dark h2, .section--dark h3 { color: var(--off-white); }
.section--dark h4 { color: var(--mid-gray); }
.section--dark p { color: var(--light-gray); }

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 7px 24px;
  border: 1px solid var(--accent);
  border-radius: 0;
  background: var(--accent);
  color: var(--white);
  cursor: pointer;
  transition: all 0.4s var(--ease);
}

.btn:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--light {
  background: rgba(255,255,255,0.15);
  border-color: var(--white);
  color: var(--white);
}

.btn--light:hover {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.btn--filled {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--filled:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* --- Decorative thin line (signature detail) --- */
.divider {
  width: 40px;
  height: 1px;
  background: var(--line);
  margin: 16px 0;
}

.divider--center {
  margin: 16px auto;
}

/* Full-width thin line separator */
.line-sep {
  width: 100%;
  height: 1px;
  background: var(--line);
}

/* Thin decorative line under headers */
.heading-line {
  width: 50px;
  height: 1px;
  background: var(--line);
  margin: 14px 0 0;
}

.heading-line--center {
  margin: 14px auto 0;
}

/* ============================================
   SCROLLING MARQUEE
   ============================================ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-inner {
  display: inline-flex;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--charcoal);
  padding: 0 24px;
}

.marquee-item::after {
  content: '\2022';
  padding-left: 24px;
  color: var(--light-gray);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.4s var(--ease);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.04);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 80px;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 32px;
}

.logo {
  grid-column: 2;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 62px;
  width: auto;
}

.nav-links {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links--right {
  grid-column: 3;
  justify-content: flex-end;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--mid-gray);
  position: relative;
  transition: color 0.4s var(--ease);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.4s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--black);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* Mobile menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  grid-column: 3;
  justify-self: end;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1px;
  background: var(--black);
  transition: all 0.3s var(--ease);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.5s var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 1.5rem;
  color: var(--black);
  transition: color 0.3s var(--ease);
}

.mobile-nav a:hover {
  color: var(--mid-gray);
}

.mobile-nav-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 8px;
  color: var(--black);
}

/* ============================================
   FONT TOGGLE BUTTON (for comparison)
   ============================================ */
.font-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 0;
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: all 0.3s var(--ease);
}

.font-toggle:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--black);
  color: var(--off-white);
  padding: 72px 0 36px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 14px;
}

.footer-brand .logo-img {
  height: 36px;
  filter: brightness(0) invert(0.9);
}

.footer-brand p {
  color: var(--mid-gray);
  font-size: 0.8rem;
  max-width: 260px;
}

.footer-col h4 {
  color: var(--off-white);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--mid-gray);
  font-size: 0.78rem;
  margin-bottom: 8px;
  transition: color 0.3s var(--ease);
}

.footer-col a:hover {
  color: var(--off-white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.7rem;
  color: var(--mid-gray);
}

.footer-social {
  display: flex;
  gap: 18px;
}

.footer-social a {
  color: var(--mid-gray);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-family: var(--font-sans);
  transition: color 0.3s var(--ease);
}

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

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  :root {
    --section-pad: 72px;
  }

  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .mobile-nav { display: flex; }

  .header-inner { height: 68px; }
  .logo-img { height: 52px; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 640px) {
  :root {
    --section-pad: 52px;
  }

  .header-inner { height: 56px; }
  .logo-img { height: 44px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }
}
