/* ============================================================
   Look Local — Marketing surfaces (landing, about, press)
   Imports tokens; adds nav, section helpers, photo placeholders.
   ============================================================ */
@import url("./tokens.css");

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
body {
  font-family: var(--ll-font-body);
  background: var(--ll-bg);
  color: var(--ll-fg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

/* ====== Nav ====== */
.mkt-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--ll-primary);
  border-bottom: none;
}
.mkt-nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  gap: 32px;
}
.mkt-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  flex: 1;
}
.mkt-logo .mark { width: 72px; height: 72px; }
.mkt-logo .wm {
  font-family: var(--ll-font-display);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: white;
  line-height: 1;
  white-space: nowrap;
}
.mkt-links {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.mkt-nav .cta-mini-wrap { flex: 1; display: flex; justify-content: flex-end; }
.mkt-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color var(--ll-dur-fast);
}
.mkt-links a:hover { color: rgba(255,255,255,0.7); }
.mkt-links a.current { color: white; }
.mkt-nav .cta-mini {
  font-family: var(--ll-font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 9px 16px;
  background: var(--ll-accent);
  color: white;
  border-radius: var(--ll-radius-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--ll-dur-fast);
}
.mkt-nav .cta-mini:hover { background: var(--ll-primary-dark); }
.mkt-nav .cta-mini.cta-submit {
  background: transparent;
  color: var(--ll-primary);
  border: 1.5px solid var(--ll-primary);
}
.mkt-nav .cta-mini.cta-submit:hover { background: var(--ll-primary); color: white; }

/* ====== Section helpers ====== */
.mkt-section { padding: 96px 32px; }
.mkt-section.tight { padding: 56px 32px; }
.mkt-section.green { background: var(--ll-primary-dark); color: #FAF7F2; }
.mkt-section.green.big-cta { padding-bottom: 48px; }
.mkt-section.cream { background: var(--ll-surface-2); }
.mkt-wrap { max-width: 1180px; margin: 0 auto; }
.mkt-wrap.narrow { max-width: 760px; }

.eyebrow {
  font-family: var(--ll-font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ll-primary);
  margin-bottom: 18px;
  display: inline-block;
}
.green .eyebrow { color: var(--ll-accent); }

.hed {
  font-family: var(--ll-font-display);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ll-fg);
}
.green .hed { color: #FAF7F2; }
.hed.xxl { font-size: clamp(48px, 7vw, 92px); }
.hed.xl  { font-size: clamp(40px, 5vw, 64px); }
.hed.lg  { font-size: clamp(32px, 4vw, 44px); }

.subhed {
  font-family: var(--ll-font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.4;
  color: var(--ll-primary);
  margin-bottom: 18px;
}
.green .subhed { color: var(--ll-accent); }

.lede {
  font-family: var(--ll-font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ll-fg-2);
  max-width: 56ch;
}
.green .lede { color: rgba(250,247,242,0.85); }

.body { font-size: 16px; line-height: 1.6; color: var(--ll-fg-2); max-width: 62ch; }
.body p + p { margin-top: 1em; }

/* CTAs */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ll-font-body);
  font-size: 15px; font-weight: 700;
  padding: 14px 26px;
  border-radius: var(--ll-radius-md);
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--ll-dur-fast), border-color var(--ll-dur-fast), color var(--ll-dur-fast);
}
.btn-primary { background: var(--ll-primary); color: white; }
.btn-primary:hover { background: var(--ll-primary-dark); }
.btn-accent { background: var(--ll-accent); color: white; }
.btn-accent:hover { background: var(--ll-accent-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ll-fg);
  border-color: var(--ll-border-strong);
}
.btn-ghost:hover { border-color: var(--ll-primary); color: var(--ll-primary); }
.btn-on-green {
  background: transparent; color: #FAF7F2;
  border-color: rgba(255,255,255,0.4);
}
.btn-on-green:hover { background: rgba(255,255,255,0.12); border-color: white; }

/* ====== Photo placeholders ====== */
.photo {
  position: relative;
  background: linear-gradient(135deg, #8a6f4c 0%, #5a4630 100%);
  overflow: hidden;
  border-radius: 6px;
}
.photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='80' height='80'><filter id='n'><feTurbulence baseFrequency='1.2' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.5  0 0 0 0 0.4  0 0 0 0 0.3  0 0 0 1 0'/></filter><rect width='80' height='80' filter='url(%23n)'/></svg>");
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.photo.warm  { background: radial-gradient(circle at 30% 35%, rgba(244,162,97,0.55) 0%, transparent 38%), linear-gradient(135deg, #8a6f4c 0%, #4a3a26 100%); }
.photo.green { background: radial-gradient(circle at 70% 40%, rgba(45,66,112,0.55) 0%, transparent 40%), linear-gradient(160deg, #2D4270 0%, #111C35 100%); }
.photo.dawn  { background: linear-gradient(170deg, #E8C9A4 0%, #C77B3A 60%, #5a3a26 100%); }
.photo.dusk  { background: linear-gradient(180deg, #1C2B4A 0%, #5a3a3a 60%, #1A1A1A 100%); }
.photo .cap {
  position: absolute; left: 12px; bottom: 10px; right: 12px;
  font-family: var(--ll-font-mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  color: rgba(250,247,242,0.85);
  z-index: 1;
}
.photo .placeholder-tag {
  position: absolute; right: 10px; top: 10px;
  font-family: var(--ll-font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  color: rgba(250,247,242,0.7);
  text-transform: uppercase;
  background: rgba(0,0,0,0.18);
  padding: 3px 7px;
  border-radius: 999px;
  z-index: 1;
}

/* ====== Footer ====== */
.mkt-footer {
  background: #111C35;
  color: #c9d4cc;
  padding: 40px 32px 28px;
}
.mkt-footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.mkt-footer h4 {
  font-family: var(--ll-font-body);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ll-accent);
  margin-bottom: 16px;
}
.mkt-footer a { color: #c9d4cc; text-decoration: none; display: block; padding: 4px 0; font-size: 14px; }
.mkt-footer a:hover { color: white; }
.mkt-footer .brandblock { display: flex; flex-direction: column; gap: 16px; max-width: 320px; }
.footer-wordmark { text-align: center; padding: 32px 32px 0; }
.footer-wordmark img { width: 600px; max-width: 100%; height: auto; margin: 0 auto; }
.mkt-footer .brandblock p { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,0.65); }
.mkt-footer .legal {
  max-width: 1180px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.12);
  display: flex;
  justify-content: space-between;
  font-family: var(--ll-font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* ====== Mobile ====== */
@media (max-width: 680px) {
  .mkt-nav-inner { padding: 12px 16px; flex-wrap: wrap; gap: 10px; }
  .mkt-logo { flex: none; }
  .mkt-logo .mark { width: 44px; height: 44px; }
  .mkt-logo .wm { font-size: 26px; }
  .mkt-links { display: flex; flex: 0 0 100%; justify-content: space-around; order: 3; gap: 0; }
  .mkt-links a { font-size: 14px; padding: 6px 4px; }
  .mkt-nav .cta-mini-wrap { flex: none; }
  .mkt-nav .cta-mini { padding: 8px 14px; font-size: 13px; }

  .mkt-section { padding: 56px 20px; }
  .mkt-section.tight { padding: 40px 20px; }

  .mkt-footer { padding: 48px 20px 24px; }
  .mkt-footer-inner { grid-template-columns: 1fr 1fr 1fr; gap: 0; row-gap: 32px; }
  .mkt-footer .brandblock { grid-column: 1 / -1; align-items: center; text-align: center; max-width: 100%; }
  .footer-wordmark { padding: 24px 20px 0; }
  .mkt-footer .legal { flex-direction: column; gap: 8px; }
}
