/* ===================================================
   L-PINE DESIGN — _shared.css
   Prefix: lp-
   =================================================== */

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

/* ── TOKENS ── */
:root {
  --stone:        #F8F5F0;
  --stone-mid:    #EDE8DF;
  --stone-dark:   #DDD5C8;
  --ink:          #1C1915;
  --ink-mid:      #5A5248;
  --ink-light:    #9A9088;
  --gold:         #A08B6E;
  --gold-light:   #C4AC8E;
  --footer-bg:    #17140F;
  --white:        #FFFFFF;
  --nav-h:        72px;
  --max-w:        1200px;
  --radius:       2px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-padding-top: var(--nav-h); overflow-x: hidden; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--stone);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ── */
.lp-serif { font-family: 'Cormorant Garamond', Georgia, serif; }
.lp-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  font-weight: 500; color: var(--gold);
}
h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300; line-height: 1.1; letter-spacing: -0.01em;
}
h1 { font-size: clamp(44px, 6vw, 84px); }
h2 { font-size: clamp(30px, 3.2vw, 52px); }
h3 { font-size: clamp(20px, 2vw, 28px); font-weight: 400; }

/* ── NAV ── */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1004;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 56px;
  background: rgba(248,245,240,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(28,25,21,0.07);
  transition: box-shadow 0.4s;
}
.lp-nav.scrolled {
  box-shadow: 0 1px 24px rgba(28,25,21,0.08);
}
.lp-logo { display: flex; align-items: center; gap: 12px; }
.lp-logo-mark {
  width: 38px; height: 38px;
  background: var(--ink);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.lp-logo-mark span {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px; font-weight: 400; color: var(--white);
  letter-spacing: 0;
}
.lp-logo-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 500; color: var(--ink);
  line-height: 1.2;
}
.lp-logo-text small {
  display: block; font-size: 8px; letter-spacing: 0.15em;
  color: var(--ink-light); font-weight: 300;
}
.lp-nav-links {
  display: flex; align-items: center; gap: 40px;
}
.lp-nav-links a {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 400; color: var(--ink-mid);
  transition: color 0.25s;
}
.lp-nav-links a:hover, .lp-nav-links a.active { color: var(--ink); }
.lp-nav-links a.active { border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.lp-nav-cta {
  display: inline-flex; align-items: center;
  padding: 9px 22px;
  background: var(--ink); color: var(--white) !important;
  font-size: 10px !important; letter-spacing: 0.18em !important;
  border-bottom: none !important;
  transition: background 0.3s !important;
}
.lp-nav-cta:hover { background: var(--gold) !important; }

/* ── HAMBURGER ── */
.lp-hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 6px; width: 36px; height: 36px;
  cursor: pointer; background: none; border: none; padding: 0;
  position: relative; z-index: 1005;
}
.lp-hamburger span {
  display: block; height: 1px; background: var(--ink);
  transition: transform .4s cubic-bezier(.25,.46,.45,.94), opacity .3s, width .4s;
  transform-origin: center;
}
.lp-hamburger span:nth-child(1) { width: 28px; }
.lp-hamburger span:nth-child(2) { width: 20px; }
.lp-hamburger span:nth-child(3) { width: 24px; }
.lp-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 28px; }
.lp-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.lp-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 28px; }

/* ── FULLSCREEN MOBILE MENU ── */
.lp-mobile-menu {
  position: fixed; inset: 0; z-index: 1003;
  background: var(--stone);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 36px 72px;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s cubic-bezier(.77,0,.18,1);
  pointer-events: none;
}
.lp-mobile-menu.is-open {
  clip-path: inset(var(--nav-h) 0 0% 0);
  pointer-events: auto;
}
.lp-mobile-links { margin-bottom: 36px; }
.lp-mobile-links li {
  border-bottom: 1px solid rgba(28,25,21,0.08);
  overflow: hidden;
}
.lp-mobile-links a {
  display: flex; align-items: baseline; justify-content: space-between;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(34px, 10vw, 58px); font-weight: 300; font-style: italic;
  color: var(--ink); padding: 14px 0;
  transform: translateY(110%);
  transition: transform .55s cubic-bezier(.25,.46,.45,.94), color .25s;
  -webkit-tap-highlight-color: transparent;
}
.lp-mobile-links a:hover { color: var(--gold); }
.lp-mobile-links a .lp-menu-arrow {
  font-family: 'DM Sans', sans-serif; font-style: normal;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ink-light); font-weight: 400;
}
.lp-mobile-menu.is-open .lp-mobile-links a { transform: translateY(0); }
.lp-mobile-links li:nth-child(1) a { transition-delay: .08s; }
.lp-mobile-links li:nth-child(2) a { transition-delay: .13s; }
.lp-mobile-links li:nth-child(3) a { transition-delay: .18s; }
.lp-mobile-links li:nth-child(4) a { transition-delay: .23s; }
.lp-mobile-links li:nth-child(5) a { transition-delay: .28s; }
.lp-mobile-menu-footer {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-light);
  display: flex; justify-content: space-between; align-items: center;
  opacity: 0; transition: opacity .4s ease .42s;
}
.lp-mobile-menu.is-open .lp-mobile-menu-footer { opacity: 1; }

/* ── BODY OFFSET ── */
.lp-page-body { padding-top: var(--nav-h); }

/* ── SECTION WRAPPERS ── */
.lp-section { padding: 112px 56px; }
.lp-section-sm { padding: 72px 56px; }
.lp-container { max-width: var(--max-w); margin: 0 auto; }
.lp-container-narrow { max-width: 800px; margin: 0 auto; }

/* ── PAGE HERO (non-home) ── */
.lp-page-hero {
  height: 56vh; min-height: 380px;
  position: relative; overflow: hidden;
  display: flex; align-items: flex-end;
  padding: 0 56px 64px;
}
.lp-page-hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.lp-page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(28,25,21,0.72) 0%, rgba(28,25,21,0.2) 60%, transparent 100%);
}
.lp-page-hero-content { position: relative; z-index: 2; color: var(--white); }
.lp-page-hero-content .lp-eyebrow { color: var(--gold-light); margin-bottom: 12px; }
.lp-page-hero-content h1 { color: var(--white); }

/* ── BUTTONS ── */
.lp-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 30px;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  border: 1px solid var(--ink); color: var(--ink);
  background: transparent; cursor: pointer;
  transition: all 0.3s;
  touch-action: manipulation; -webkit-tap-highlight-color: transparent;
}
.lp-btn:hover { background: var(--ink); color: var(--stone); }
.lp-btn-fill { background: var(--ink); color: var(--stone); }
.lp-btn-fill:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.lp-btn-white { border-color: rgba(255,255,255,0.55); color: var(--white); }
.lp-btn-white:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.lp-btn-gold { border-color: var(--gold); color: var(--gold); }
.lp-btn-gold:hover { background: var(--gold); color: var(--white); }

.lp-link {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500; color: var(--ink-mid);
  border-bottom: 1px solid var(--stone-dark);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.lp-link:hover { color: var(--ink); border-color: var(--ink); }
.lp-link-gold { color: var(--gold); border-color: var(--gold-light); }
.lp-link-gold:hover { color: var(--ink); border-color: var(--ink); }

/* ── DIVIDER ── */
.lp-rule { border: none; border-top: 1px solid var(--stone-mid); }
.lp-rule-gold { border-color: var(--gold-light); }

/* ── TRUST / STAT BAR ── */
.lp-stat-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--stone-mid);
  border-bottom: 1px solid var(--stone-mid);
  padding: 36px 56px;
  background: var(--white);
}
.lp-stat-item {
  text-align: center; padding: 0 24px;
  border-right: 1px solid var(--stone-mid);
}
.lp-stat-item:last-child { border-right: none; }
.lp-stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 3.5vw, 48px); font-weight: 300;
  color: var(--ink); line-height: 1;
  margin-bottom: 6px;
}
.lp-stat-label {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  font-weight: 400; color: var(--ink-light);
}

/* ── DARK CTA STRIP ── */
.lp-cta-dark {
  background: var(--footer-bg);
  padding: 96px 56px;
  text-align: center;
}
.lp-cta-dark h2 {
  color: var(--white);
  font-size: clamp(30px, 3.5vw, 54px);
  margin-bottom: 12px;
}
.lp-cta-dark p {
  color: rgba(255,255,255,0.45); font-size: 16px;
  max-width: 480px; margin: 0 auto 36px;
}

/* ── FOOTER ── */
.lp-footer {
  background: var(--footer-bg);
  padding: 80px 56px 40px;
  border-top: 1px solid rgba(255,255,255,0.04);
}
.lp-footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px; margin-bottom: 64px;
}
.lp-footer-brand .lp-footer-logo {
  display: flex; align-items: center; gap: 10px; margin-bottom: 20px;
}
.lp-footer-logo-mark {
  width: 34px; height: 34px;
  background: var(--gold); display: flex; align-items: center; justify-content: center;
}
.lp-footer-logo-mark span {
  font-family: 'Cormorant Garamond', serif; font-size: 18px; color: var(--white);
}
.lp-footer-logo-text {
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); font-weight: 500;
}
.lp-footer-tagline {
  font-family: 'Cormorant Garamond', serif; font-style: italic;
  font-size: 18px; color: rgba(255,255,255,0.25);
  margin-bottom: 24px; line-height: 1.4;
}
.lp-footer-socials { display: flex; gap: 16px; align-items: center; }
.lp-footer-socials a {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.4);
  transition: all 0.25s;
}
.lp-footer-socials a:hover { border-color: var(--gold); color: var(--gold); }
.lp-footer-socials svg { width: 14px; height: 14px; fill: currentColor; }
.lp-footer h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500;
  color: rgba(255,255,255,0.25); margin-bottom: 20px;
}
.lp-footer ul { display: flex; flex-direction: column; gap: 10px; }
.lp-footer ul li, .lp-footer ul a {
  font-size: 14px; color: rgba(255,255,255,0.5); font-weight: 300;
}
.lp-footer ul a:hover { color: rgba(255,255,255,0.9); }
.lp-footer-contact li { display: flex; flex-direction: column; gap: 2px; }
.lp-footer-contact .lp-contact-label {
  font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase;
  color: rgba(255,255,255,0.2); font-weight: 400;
}
.lp-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.lp-footer-bottom p {
  font-size: 11px; color: rgba(255,255,255,0.2); letter-spacing: 0.05em;
}

/* ── LIGHTBOX ── */
.lp-lightbox {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(23,20,15,0.97);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s;
}
.lp-lightbox.is-open { opacity: 1; pointer-events: auto; }
.lp-lightbox-img {
  max-width: 92vw; max-height: 88vh;
  object-fit: contain;
  transform: scale(0.96);
  transition: transform 0.35s cubic-bezier(.25,.46,.45,.94);
}
.lp-lightbox.is-open .lp-lightbox-img { transform: scale(1); }
.lp-lightbox-close {
  position: absolute; top: 24px; right: 32px;
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.7); font-size: 28px; line-height: 1;
  transition: color 0.2s;
}
.lp-lightbox-close:hover { color: var(--white); }
.lp-lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer;
  color: rgba(255,255,255,0.5); font-size: 32px;
  padding: 16px 20px;
  transition: color 0.2s;
}
.lp-lightbox-nav:hover { color: var(--white); }
.lp-lightbox-prev { left: 16px; }
.lp-lightbox-next { right: 16px; }
.lp-lightbox-caption {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .lp-nav { padding: 0 32px; }
  .lp-section { padding: 80px 32px; }
  .lp-section-sm { padding: 56px 32px; }
  .lp-stat-bar { padding: 32px; }
  .lp-footer { padding: 64px 32px 36px; }
  .lp-footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .lp-page-hero { padding: 0 32px 48px; }
  .lp-cta-dark { padding: 80px 32px; }
}
@media (max-width: 768px) {
  .lp-nav { padding: 0 20px; }
  .lp-nav-links { display: none; }
  .lp-hamburger { display: flex; }
  .lp-section { padding: 64px 24px; }
  .lp-section-sm { padding: 48px 24px; }
  .lp-page-hero { padding: 0 24px 40px; height: 48vh; min-height: 320px; }
  .lp-stat-bar { grid-template-columns: 1fr 1fr; padding: 0; gap: 0; }
  .lp-stat-item {
    padding: 28px 16px;
    border-right: none; border-bottom: 1px solid var(--stone-mid);
  }
  .lp-stat-item:nth-child(odd) { border-right: 1px solid var(--stone-mid); }
  .lp-stat-item:nth-last-child(-n+2) { border-bottom: none; }
  .lp-footer { padding: 56px 24px 32px; }
  .lp-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .lp-footer-bottom { flex-direction: column; text-align: center; }
  .lp-cta-dark { padding: 72px 24px; }
}
@media (max-width: 480px) {
  h1 { font-size: clamp(36px, 11vw, 44px); }
}

/* ── TOUCH DEVICE PATCHES ── */
a, button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
@media (hover: none), (pointer: coarse) {
  .lp-hamburger { cursor: pointer; }
}
