/* =====================================================================
   FRAMEWORK — shared brand stylesheet
   Coworking · Mt. Juliet, TN
   Direction B: cinematic, soft & airy, modern minimal
   ===================================================================== */

:root {
  /* palette */
  --paper:    #F5F3EE;   /* warm off-white page bg */
  --paper-2:  #FCFBF8;   /* lighter card / alt bg */
  --paper-3:  #EFECE3;   /* slightly deeper band */
  --ink:      #292B27;   /* near-black warm */
  --ink-soft: #5C5F56;   /* muted body text */
  --sage:     #7C8B72;
  --sage-deep:#5E6C55;
  --sage-pale:#DCE2D5;
  --stone:    #B8B2A4;
  --line:     #E2DED4;
  --line-2:   #D8D3C8;
  --terra:    #C0875F;   /* warm accent, used sparingly */
  --forest:   #2E342A;   /* deep footer/section bg */

  --maxw: 1280px;
  --pad: clamp(22px, 5vw, 64px);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 3px rgba(41,43,39,.06), 0 6px 18px rgba(41,43,39,.05);
  --shadow-md: 0 4px 14px rgba(41,43,39,.08), 0 18px 48px rgba(41,43,39,.10);

  --font-disp: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-body: 'Hanken Grotesk', system-ui, sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

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

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

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { font-family: var(--font-disp); font-weight: 600; margin: 0; letter-spacing: -0.02em; line-height: 1.02; }

::selection { background: var(--sage-pale); color: var(--ink); }

/* ---------- layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.section { padding: clamp(64px, 9vw, 132px) 0; }
.section--tight { padding: clamp(48px, 6vw, 88px) 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage-deep);
  display: inline-flex; align-items: center; gap: 10px;
  margin: 0 0 22px;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--sage); display: inline-block;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: #C9D3BF; }
.eyebrow--light::before { background: rgba(255,255,255,.5); }

.h-xl { font-size: clamp(44px, 7vw, 88px); line-height: 0.98; }
.h-lg { font-size: clamp(34px, 4.6vw, 60px); }
.h-md { font-size: clamp(26px, 3vw, 40px); }
.h-sm { font-size: clamp(21px, 2.2vw, 27px); }

.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.55; color: var(--ink-soft); max-width: 56ch; }
.muted { color: var(--ink-soft); }
.measure { max-width: 60ch; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border-radius: var(--r-pill); padding: 14px 28px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 9px;
  letter-spacing: 0.01em; white-space: nowrap; transition: all .25s var(--ease);
}
.btn svg { width: 16px; height: 16px; }
.btn--sage { background: var(--sage-deep); color: #fff; }
.btn--sage:hover { background: var(--ink); transform: translateY(-1px); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--sage-deep); transform: translateY(-1px); }
.btn--white { background: #fff; color: var(--ink); }
.btn--white:hover { background: var(--paper); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn--lineLight { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--lineLight:hover { background: rgba(255,255,255,.12); border-color: #fff; }
.btn--lg { padding: 17px 34px; font-size: 16px; }

.txtlink {
  font-weight: 600; text-decoration: none; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px;
  border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: all .2s var(--ease);
}
.txtlink svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.txtlink:hover { border-color: var(--sage-deep); color: var(--sage-deep); }
.txtlink:hover svg { transform: translateX(3px); }

/* =====================================================================
   HEADER / NAV
   ===================================================================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header .bar {
  max-width: var(--maxw); margin: 0 auto; padding: 20px var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: padding .35s var(--ease);
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 15px; font-weight: 500; text-decoration: none; letter-spacing: 0.01em;
  color: var(--ink); position: relative; padding: 4px 0; transition: color .2s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: currentColor; transition: width .25s var(--ease);
}
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 22px; }

/* transparent-over-hero (homepage top) */
.site-header[data-transparent="true"] { color: #fff; }
.site-header[data-transparent="true"] .nav-links a { color: #fff; }
.site-header[data-transparent="true"] .wordmark .wm { color: #fff; }

/* scrolled / solid */
.site-header[data-solid="true"] {
  background: rgba(245,243,238,.86); backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom-color: var(--line); color: var(--ink);
}
.site-header[data-solid="true"] .bar { padding-top: 14px; padding-bottom: 14px; }
.site-header[data-solid="true"] .nav-links a { color: var(--ink); }
.site-header[data-solid="true"] .wordmark .wm { color: var(--ink); }

/* ---------- wordmark ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.wordmark svg { display: block; flex-shrink: 0; }
.wordmark__mark { height: 40px; width: auto; display: block; flex-shrink: 0; }
.wordmark .wm {
  font-family: var(--font-disp); font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; font-size: 20px; padding-left: 2px; color: var(--ink);
  transition: color .35s var(--ease);
}

.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: inherit; }
.menu-toggle svg { width: 26px; height: 26px; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer { background: var(--forest); color: #E6E3D9; padding: clamp(56px,7vw,96px) 0 36px; }
.site-footer a { color: #E6E3D9; text-decoration: none; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.13); }
.footer-brand .wordmark .wm { color: #fff; }
.footer-brand p { color: #AEB3A4; margin: 20px 0 0; max-width: 32ch; font-size: 15px; line-height: 1.6; }
.footer-col h4 { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #8C9281; font-weight: 600; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 15px; color: #D2D0C5; transition: color .2s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 28px; gap: 18px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; color: #8C9281; font-size: 13.5px; }
.footer-social { display: flex; gap: 14px; }
.footer-social a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; display: grid; place-items: center; transition: all .2s var(--ease); }
.footer-social a:hover { background: #fff; color: var(--forest); border-color: #fff; }
.footer-social svg { width: 17px; height: 17px; }

/* =====================================================================
   REUSABLE BLOCKS
   ===================================================================== */

/* pill / tag */
.tag-pill {
  display: inline-flex; align-items: center; gap: 7px;
  background: var(--sage-pale); color: var(--sage-deep);
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em;
  padding: 6px 13px; border-radius: var(--r-pill);
}

/* generic card */
.card { background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* feature media+text rows */
.media-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.media-row__img { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; }
.media-row__img img { width: 100%; height: 100%; object-fit: cover; }
.media-row--flip .media-row__img { order: 2; }

/* divider */
.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* fade-up reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }
.reveal[data-d="4"] { transition-delay: .32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   SUB-PAGE HERO (solid header pages)
   ===================================================================== */
.page-hero { padding: calc(clamp(78px, 10vw, 116px) + 64px) 0 clamp(40px, 5vw, 64px); background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero__inner { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.page-hero h1 { font-size: clamp(40px, 6vw, 76px); line-height: 0.98; max-width: 16ch; }
.page-hero p { margin: 24px 0 0; max-width: 54ch; }
.page-hero__cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.crumb { display:flex; align-items:center; gap:10px; font-size:13px; color:var(--stone); margin-bottom:22px; }
.crumb a { color: var(--ink-soft); text-decoration: none; }
.crumb a:hover { color: var(--ink); }

/* full-bleed image strip */
.img-strip { width: 100%; height: clamp(280px, 42vw, 560px); overflow: hidden; }
.img-strip img { width: 100%; height: 100%; object-fit: cover; }

/* CTA band text (forest background) — keep copy legible on dark */
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); }

/* simple two-col prose */
.prose-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px,5vw,80px); }
.prose-grid p + p { margin-top: 18px; }
@media (max-width: 860px){ .prose-grid{ grid-template-columns: 1fr; gap: 18px; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.gallery figure { margin: 0; border-radius: var(--r-lg); overflow: hidden; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 16px; bottom: 14px; background: rgba(245,243,238,.92); color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 13px; border-radius: var(--r-pill); }
.g-tall { grid-column: span 5; aspect-ratio: 4/5; }
.g-wide { grid-column: span 7; aspect-ratio: 7/5; }
.g-half { grid-column: span 6; aspect-ratio: 3/2; }
.g-third { grid-column: span 4; aspect-ratio: 1/1; }
@media (max-width: 760px){ .g-tall,.g-wide,.g-half,.g-third{ grid-column: span 12; aspect-ratio: 3/2; } }

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 900px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .media-row { grid-template-columns: 1fr; gap: 28px; }
  .media-row--flip .media-row__img { order: 0; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta .btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .site-header[data-mobile-open="true"] { background: var(--paper); color: var(--ink); border-bottom-color: var(--line); }
  .site-header[data-mobile-open="true"] .wordmark .wm,
  .site-header[data-mobile-open="true"] .nav-links a { color: var(--ink); }
  .site-header[data-mobile-open="true"] .nav-links {
    display: flex; flex-direction: column; gap: 6px; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--paper); padding: 14px var(--pad) 26px; border-bottom: 1px solid var(--line);
  }
  .site-header[data-mobile-open="true"] .nav-links a { font-size: 19px; padding: 10px 0; }
  .footer-top { grid-template-columns: 1fr; gap: 30px; }
}
