/* L&K Technical LLC — "Harvest" palette: warm linen, deep navy, burnt orange (from the logo), sage. */
/* Fonts are served from this site (no outside requests). Inter and Newsreader: SIL Open Font License, see assets/fonts. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/newsreader-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/newsreader-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Newsreader"; font-style: italic; font-weight: 400; font-display: swap; src: url("assets/fonts/newsreader-latin-400-italic.woff2") format("woff2"); }

:root {
  --paper: #F3ECE0;
  --surface: #FBF8F2;
  --ink: #16243A;
  --muted: #4F5966;
  --line: #E0D6C6;
  --field: #FFFFFF;
  --accent: #D2691E;
  --accent-text: #A04E10;
  --accent-soft: #F7E2CC;
  --second: #5E7A66;
  --second-soft: #E3EBE2;
  --band: #16243A;
  --band-ink: #F3ECE0;
  --band-muted: #C3CAD3;
  --band-accent: #F0A262;
  --btn: #16243A;
  --btn-ink: #FFFFFF;
  --btn-hover: #26395A;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--ink); }
a:hover { color: var(--accent-text); }
section[id] { scroll-margin-top: 16px; }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
@media (max-width: 480px) { .wrap { padding-left: 16px; padding-right: 16px; } }

.stack-8, .stack-16, .stack-18, .stack-22, .stack-36 { display: flex; flex-direction: column; }
.stack-8 { gap: 8px; } .stack-16 { gap: 16px; } .stack-18 { gap: 18px; } .stack-22 { gap: 22px; } .stack-36 { gap: 36px; }
.stack-8 > *, .stack-16 > *, .stack-18 > *, .stack-22 > * { margin: 0; }

/* Type */
.eyebrow { margin: 0; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
.eyebrow-second { color: var(--second); }
.eyebrow-band { color: var(--band-accent); }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; }
h1 { font-size: clamp(44px, 6vw, 76px); line-height: 1; letter-spacing: -.02em; text-wrap: balance; }
h1 em { font-style: italic; color: var(--accent-text); }
h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.06; letter-spacing: -.015em; text-wrap: balance; }
h3 { font-size: clamp(26px, 3vw, 34px); line-height: 1.1; }
.lede { max-width: 520px; font-size: 18px; color: var(--muted); text-wrap: pretty; }
.sub { margin: 0; font-size: 17px; color: var(--muted); }
.body { font-size: 17px; color: var(--muted); }
.signature { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--ink); }
.tagline { margin-top: 6px !important; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.6vw, 28px); line-height: 1.2; color: var(--accent-text); text-wrap: balance; }
.fine { margin: 0; font-size: 13px; color: var(--muted); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.header-row { padding-top: 14px; padding-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-tile { display: flex; background: #fff; border-radius: 10px; padding: 3px 5px; }
.logo-tile img { height: 36px; width: auto; display: block; }
.logo-tile-sm { border-radius: 8px; padding: 2px 4px; }
.logo-tile-sm img { height: 26px; }
.brand-name { font-weight: 600; font-size: 15px; letter-spacing: .02em; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.navlink { color: var(--muted); text-decoration: none; font-size: 14px; padding: 12px 4px; }
.navlink:hover { color: var(--ink); }
@media (max-width: 560px) { .nav { gap: 6px 14px; } .navlink { padding: 10px 2px; } }

/* Buttons */
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; transition: background .15s ease, color .15s ease; }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14px; }
.btn-solid { background: var(--btn); color: var(--btn-ink); }
.btn-solid:hover { background: var(--btn-hover); color: var(--btn-ink); }
.btn-line { border: 1px solid var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-band { background: var(--band-ink); color: var(--band); }
.btn-band:hover { background: var(--band-accent); color: var(--band); }
.btn:focus-visible, .hat:focus-visible, .field:focus-visible, a:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* Hero */
.hero { padding-top: 88px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 56px; align-items: center; }
@media (max-width: 600px) { .hero { padding-top: 48px; padding-bottom: 56px; gap: 48px; } }
.photo { margin: 0; position: relative; }
.photo img { position: relative; width: 100%; height: auto; object-fit: cover; border-radius: 20px; display: block; }
.photo-back { position: absolute; border-radius: 20px; }
.photo-hero { justify-self: center; width: 100%; max-width: 400px; }
.photo-hero img { aspect-ratio: 4 / 5; object-position: center 25%; }
.photo-hero .photo-back { inset: 22px -22px -22px 22px; background: var(--second-soft); }
.photo-story img { aspect-ratio: 4 / 3; object-position: 60% center; }
.photo-story .photo-back { inset: 22px 22px -22px -22px; background: var(--accent-soft); }
@media (max-width: 480px) { .photo-hero .photo-back { inset: 14px -10px -14px 14px; } .photo-story .photo-back { inset: 14px 14px -14px -10px; } }

/* Hats */
.band-surface { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-pad { padding-top: 80px; padding-bottom: 80px; }
@media (max-width: 600px) { .section-pad { padding-top: 56px; padding-bottom: 56px; } }
.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; }
.hat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 12px; }
@media (max-width: 400px) { .hat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.hat { appearance: none; font: inherit; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 22px 12px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; color: var(--muted); transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.hat span { font-size: 14px; font-weight: 600; }
.hat:hover { border-color: var(--ink); color: var(--ink); }
.hat svg { transition: transform .25s cubic-bezier(.3, 1.6, .5, 1), color .18s ease; }
.hat.is-on { background: var(--accent-soft); border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); color: var(--ink); }
.hat.is-on svg { transform: translateY(-6px) rotate(-6deg); color: var(--accent); }

.hat-detail { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 40px; align-items: start; padding-top: 8px; }
.points { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.points li { display: flex; gap: 12px; align-items: baseline; font-size: 16px; }
.points li::before { content: ""; flex: none; width: 14px; height: 2px; background: var(--accent); transform: translateY(-4px); }

.note-card { display: flex; flex-direction: column; gap: 14px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 24px; scroll-margin-top: 16px; }
@media (max-width: 480px) { .note-card { padding: 18px; } }
.note-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.note-title { font-weight: 600; font-size: 15px; }
.subject-pill { font-size: 13px; background: var(--second-soft); border-radius: 999px; padding: 4px 12px; }
.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 12px; }
.note-card label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; color: var(--muted); }
.field { width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--field); border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; }
.field:focus { border-color: var(--ink); outline: none; }
textarea.field { resize: vertical; }

/* Story */
.story { padding-top: 96px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 64px; }
@media (max-width: 600px) { .story { padding-top: 64px; padding-bottom: 56px; gap: 48px; } }
.story-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); gap: 56px; align-items: center; }
.promises { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 16px; }
.promises li { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.promises .num { font-family: var(--serif); font-size: 28px; line-height: 1; color: var(--accent); }
.promises strong { font-weight: 600; font-size: 17px; }
.promises li > span:last-child { font-size: 15px; color: var(--muted); }

/* Tools band */
.tools-mini { padding-top: 56px; padding-bottom: 56px; display: grid; gap: 20px; }
.tool-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 48px; }
.tool-item { display: grid; gap: 6px; align-content: start; padding: 20px 0; border-top: 1px solid rgba(243, 236, 224, .18); color: var(--band-ink); text-decoration: none; }
.tool-item h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1.15; }
.tool-item p { margin: 0; font-size: 15px; color: var(--band-muted); max-width: 46ch; }
.tool-go { margin-top: 6px; font-size: 14px; font-weight: 600; color: var(--band-accent); }
.tool-item:hover { color: var(--band-ink); }
.tool-item:hover .tool-go { text-decoration: underline; text-underline-offset: 3px; }
.tools-note { margin: 0; font-size: 13px; color: var(--band-muted); }

.band-dark { background: var(--band); color: var(--band-ink); }
.band-dark h2 { font-size: 32px; line-height: 1.1; }
.tools { padding-top: 72px; padding-bottom: 72px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 48px; align-items: start; }
@media (max-width: 600px) { .tools { padding-top: 56px; padding-bottom: 56px; gap: 36px; } }
.tools-why { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.tools-why > * { margin: 0; }
.tools-why .btn { margin-top: 8px; }
.band-dark h2 { font-size: clamp(32px, 4vw, 44px); }
.band-lede { font-family: var(--serif); font-size: 22px; line-height: 1.3; color: var(--band-ink); max-width: 34ch; }
.band-sub { font-size: 16px; color: var(--band-muted); max-width: 52ch; }
.band-private { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--band-ink); border: 1px solid rgba(243, 236, 224, .3); border-radius: 999px; padding: 6px 14px; }
.mode-links { display: flex; flex-direction: column; border-top: 1px solid rgba(243, 236, 224, .18); }
.mode-links a { display: flex; gap: 16px; align-items: baseline; padding: 16px 4px; min-height: 44px; text-decoration: none; color: var(--band-ink); border-bottom: 1px solid rgba(243, 236, 224, .18); transition: background .15s ease; }
.mode-links a:hover { color: var(--band-ink); background: rgba(243, 236, 224, .06); }
.mode-links a:hover b { color: var(--band-accent); }
.mode-links .n { flex: none; width: 20px; font-family: var(--serif); font-size: 22px; line-height: 1; color: var(--band-accent); }
.mode-links b { display: block; font-weight: 600; font-size: 16px; }
.mode-links small { display: block; margin-top: 2px; font-size: 14px; color: var(--band-muted); }

/* Footer */
.site-footer { padding-top: 32px; padding-bottom: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-brand { display: flex; align-items: center; gap: 10px; }
