/* ============================================================
   Holland Lane LLC — design system (warmth pass)
   Warm paper base, one lively green (leaf), one warm gold
   (marigold). Space Grotesk display + Figtree body. Rounded
   shapes. Signature "lane-marking" motif in marigold.
   ============================================================ */

/* ---- Tokens ---- */
:root {
  --paper:        #FAF7F0;   /* page background */
  --paper-tint:   #F3EEE1;   /* alternating section / footer bg */
  --ink:          #241F1B;   /* headings, primary text (warm charcoal) */
  --ink-soft:     #5C5349;   /* body / secondary text */
  --line:         #E7DFCF;   /* hairline borders / dividers */
  --leaf:         #2B6B4E;   /* primary accent — buttons, links */
  --leaf-deep:    #1D4C37;   /* hover / active */
  --marigold:     #E7A93C;   /* decorative accent — dividers, badges */
  --marigold-text:#8C5E14;   /* darker marigold, safe for small labels */
  --badge-bg:     #FBEAC7;   /* "Coming Soon" badge tint */

  --maxw: 1100px;
  --radius: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(36, 31, 27, .05), 0 2px 10px rgba(36, 31, 27, .05);
  --shadow-md: 0 12px 30px rgba(36, 31, 27, .10), 0 3px 10px rgba(36, 31, 27, .06);

  --ease: cubic-bezier(.16, 1, .3, 1);

  --font-display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* lane-marking divider: long rounded dash, gap, repeat */
  --lane-divider: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='74' height='6'%3E%3Cline x1='5' y1='3' x2='55' y2='3' stroke='%23E7A93C' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

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

img, svg { display: block; max-width: 100%; }
a { color: var(--leaf); text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2.5px solid var(--leaf);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 5vw, 2.5rem);
}
.container.narrow { max-width: 760px; }
.center { text-align: center; }

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section.tint { background: var(--paper-tint); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--marigold-text);
  margin-bottom: 1rem;
}

.lede {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-soft);
  max-width: 60ch;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -999px; top: 0;
  background: var(--leaf);
  color: var(--paper);
  padding: 0.65rem 1rem;
  border-radius: 0 0 10px 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ---- The lane-marking motif ---- */
.lane-mark {
  display: inline-block;
  width: 22px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: var(--marigold);
  vertical-align: middle;
}
.lane-mark-sm { width: 16px; height: 4px; }

hr.lane-divider {
  width: 100%;
  height: 6px;
  border: 0;
  background-image: var(--lane-divider);
  background-repeat: repeat-x;
  background-position: left center;
}

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  color: var(--ink);
  white-space: nowrap;
}
.wordmark .lane-mark { margin-right: 10px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.6vw, 2rem);
}
.nav-links > a {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--marigold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}
.nav-links > a:not(.nav-cta):hover { color: var(--ink); }
.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a:not(.nav-cta):focus-visible::after,
.nav-links > a.is-current::after { transform: scaleX(1); }
.nav-links > a.is-current { color: var(--leaf); }

.nav-cta {
  background: var(--leaf);
  color: var(--paper) !important;
  padding: 0.55rem 1.15rem;
  border-radius: var(--radius-pill);
  font-weight: 600 !important;
  transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.nav-cta:hover { background: var(--leaf-deep); transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-sm); }
.nav-cta.is-current { background: var(--leaf-deep); }

/* mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  border: none;
  background: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  margin-inline: auto;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0.5rem clamp(1.5rem, 5vw, 2.5rem) 1.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--ink);
  border-top: 1px solid var(--line);
}
.mobile-menu a:first-child { border-top: none; }
.mobile-menu a.is-current { color: var(--leaf); }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: background .2s var(--ease), border-color .2s var(--ease),
              transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn-primary { background: var(--leaf); color: var(--paper); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--leaf-deep); transform: translateY(-2px) scale(1.02); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--leaf); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--leaf); transform: translateY(-2px) scale(1.02); }

/* ============================================================
   Hero (shared across pages)
   ============================================================ */
.hero { padding-block: clamp(3.5rem, 9vw, 6.5rem) clamp(2rem, 4vw, 3rem); }
.hero .eyebrow { margin-bottom: 1.1rem; }
.hero h1 {
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 0.6em;
  max-width: 18ch;
}
.hero .lede { max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* the divider sits full-bleed-ish inside the container just under the hero */
.hero-divider { padding-block: 0.5rem 0; }

/* ============================================================
   Link cards (Home)
   ============================================================ */
.link-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 1.75rem);
}
.link-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.link-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #d9cfb8; }
.link-card h2 { font-size: 1.5rem; }
.link-card p { color: var(--ink-soft); flex: 1; }
.link-card .go {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--leaf);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.link-card .go span { transition: transform .2s var(--ease); }
.link-card:hover .go span { transform: translateX(4px); }

/* ============================================================
   Content blocks (Consulting, About, etc.)
   ============================================================ */
.block { max-width: 720px; }
.block h2 { margin-bottom: 1rem; }
.block p { color: var(--ink-soft); }
.block p + p { margin-top: 1.1rem; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.85rem;
}
.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: 500;
  color: var(--ink);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5em;
  width: 18px; height: 4px;
  border-radius: var(--radius-pill);
  background: var(--marigold);
}

.service-area {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-left: 4px solid var(--marigold);
  border-radius: 4px;
  background: var(--paper-tint);
  color: var(--ink-soft);
  max-width: 60ch;
}

.closing-cta { margin-top: clamp(2.5rem, 5vw, 4rem); }
.closing-cta h3 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); margin-bottom: 1.25rem; max-width: 22ch; }

/* ============================================================
   Apps — Sharp Sparrow + tile grid
   ============================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.feature-copy .title-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0.4rem 0 1.1rem;
}
.feature-copy p { color: var(--ink-soft); max-width: 52ch; }
.feature-copy p + p { margin-top: 1rem; }
.small-note { font-size: 0.95rem; color: var(--ink-soft); opacity: .85; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--badge-bg);
  color: var(--marigold-text);
}
.badge::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--marigold);
}
.badge.badge-lg { font-size: 0.8125rem; padding: 0.45rem 1rem; }

.feature-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--leaf);
}
.feature-link span { transition: transform .2s var(--ease); }
.feature-link:hover span { transform: translateX(4px); }

/* decorative abstract tile grid — site palette only, not mahjong art */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.6rem, 1.4vw, 0.9rem);
  aspect-ratio: 1 / 1;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
  padding: clamp(1rem, 2.2vw, 1.4rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.tile {
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--paper-tint);
}
.tile i {
  display: block;
  border-radius: var(--radius-pill);
  background: currentColor;
}
.tile-leaf   { background: var(--leaf);      color: rgba(250,247,240,.9); }
.tile-gold   { background: var(--marigold);  color: rgba(36,31,27,.75); }
.tile-line   { background: var(--paper);     border: 1px solid var(--line); color: var(--marigold); }
.tile-deep   { background: var(--leaf-deep);  color: rgba(250,247,240,.9); }
.tile-badge  { background: var(--badge-bg);  color: var(--marigold-text); }
.tile i.dash { width: 46%; height: 6px; }
.tile i.dot  { width: 30%; aspect-ratio: 1; border-radius: 50%; }

/* Apps page leans a touch warmer */
.apps-hero .eyebrow { color: var(--marigold-text); }

.subfeature { margin-top: clamp(3rem, 6vw, 5rem); max-width: 640px; }
.subfeature h3 { margin-bottom: 0.6rem; }
.subfeature p { color: var(--ink-soft); }

/* ============================================================
   About
   ============================================================ */
.about-body {
  font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.35rem);
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 62ch;
}
.about-body + .about-body { margin-top: 1.2rem; }

/* ============================================================
   Contact
   ============================================================ */
.contact-wrap { max-width: 720px; }
.email-link {
  display: inline-block;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1rem + 2.6vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--leaf);
  background-image: linear-gradient(var(--marigold), var(--marigold));
  background-size: 0% 3px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  transition: background-size .35s var(--ease), color .2s var(--ease);
  word-break: break-word;
}
.email-link:hover { background-size: 100% 3px; color: var(--leaf-deep); }
.legal-line { margin-top: 1.75rem; font-size: 0.9rem; color: var(--ink-soft); opacity: .85; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--paper-tint);
  border-top: 1px solid var(--line);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
}
.footer-inner { display: flex; flex-direction: column; gap: 0.9rem; }
.footer-signoff {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.8vw, 1.4rem);
  font-weight: 500;
  color: var(--ink);
}
.footer-signoff .heart { color: var(--ink); font-style: normal; }
.footer-signoff .bot {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  vertical-align: -0.22em;
  color: var(--ink);
}
.footer-legal { font-size: 0.875rem; color: var(--ink-soft); opacity: .85; line-height: 1.7; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.link-cards .link-card:nth-child(2) { transition-delay: .08s; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .link-cards { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-visual { order: -1; }
}

/* ============================================================
   Motion preferences
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .btn:hover, .nav-cta:hover, .link-card:hover { transform: none; }
}
