/* Lakewell Studio — lakewellstudio.com
   Shared stylesheet. Light, quiet, typographic. */

:root {
  --ink:        #1d1d1f;
  --ink-soft:   #3f3f45;
  --muted:      #6e6e78;
  --faint:      #96969f;
  --line:       #e6e6ea;
  --line-soft:  #f0f0f3;
  --surface:    #ffffff;
  --surface-2:  #fafafa;
  --accent:     #0066cc;
  --radius:     18px;
  --maxw:       1080px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display",
               "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.025em; color: var(--ink); }
p { margin: 0; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { display: block; max-width: 100%; }
hr { border: 0; border-top: 1px solid var(--line); margin: 0; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.narrow { max-width: 720px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .mark { color: var(--ink); flex: none; }
.brand .name { font-size: 15px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--muted); font-size: 14px; font-weight: 450; white-space: nowrap; }
.nav a:hover { color: var(--ink); text-decoration: none; }

/* ---------- hero ---------- */

.hero { padding: 116px 0 92px; }
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.5rem, 5.6vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  max-width: 15ch;
}
.hero .lede {
  margin-top: 26px; max-width: 46ch;
  font-size: 19px; line-height: 1.62; color: var(--muted);
  letter-spacing: -0.008em;
}

.hero-meta {
  margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px 30px;
  font-size: 14px; color: var(--muted);
}
.hero-meta a {
  display: inline-flex; align-items: center; gap: 9px;
  color: var(--muted); border-bottom: 1px solid transparent; padding-bottom: 2px;
}
.hero-meta a:hover { color: var(--ink); text-decoration: none; border-bottom-color: var(--line); }

/* ---------- generic section ---------- */

.section { padding: 92px 0; border-top: 1px solid var(--line-soft); }
.section-head { margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1.16; }
.section-head p { margin-top: 14px; max-width: 54ch; color: var(--muted); font-size: 17px; }
.label {
  font-size: 12px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 16px;
}

/* ---------- work ---------- */

.work-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px;
}
.work-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--surface); overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.work-card:hover {
  border-color: #d8d8de;
  box-shadow: 0 10px 34px rgba(15, 15, 25, 0.07);
  transform: translateY(-2px);
}
.work-visual {
  height: 188px; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.work-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.work-kicker {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint);
}
.work-body h3 { font-size: 22px; margin-top: 10px; }
.work-body .desc { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.62; }
.work-meta {
  margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center;
  font-size: 13.5px; color: var(--faint);
}
.work-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
  transition: opacity 140ms ease;
}
.btn:hover { opacity: 0.86; text-decoration: none; }
.btn svg { flex: none; }
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted);
  font-size: 13.5px; font-weight: 500;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: #9aa0aa; flex: none; }
.dot.live { background: #2f9e5f; }

/* ---------- principles ---------- */

.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.pt .ico { color: var(--ink); margin-bottom: 16px; }
.pt h3 { font-size: 17px; }
.pt p { margin-top: 9px; color: var(--muted); font-size: 15.5px; line-height: 1.6; }

/* ---------- company ---------- */

.company { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.company .prose p { color: var(--muted); font-size: 17px; }
.company .prose p + p { margin-top: 18px; }

.facts { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts .row {
  display: grid; grid-template-columns: 168px 1fr; gap: 20px;
  padding: 15px 24px; border-bottom: 1px solid var(--line-soft);
}
.facts .row:last-child { border-bottom: 0; }
.facts dt {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--faint); line-height: 1.9;
}
.facts dd { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.55; }
.facts dd.mono {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 14.5px; letter-spacing: 0.02em; color: var(--ink);
}

/* ---------- contact ---------- */

.contact-line { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.contact-line .big { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.03em; font-weight: 600; }

/* ---------- footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 64px 0 56px; margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-brand .name { font-size: 15px; font-weight: 600; }
.foot-brand p { margin-top: 14px; font-size: 13.5px; line-height: 1.7; color: var(--muted); max-width: 34ch; }
.foot-col h4 {
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 14px;
}
.foot-col ul { list-style: none; margin: 0; padding: 0; }
.foot-col li + li { margin-top: 10px; }
.foot-col a { font-size: 14px; color: var(--muted); }
.foot-col a:hover { color: var(--ink); text-decoration: none; }
.foot-bottom {
  margin-top: 52px; padding-top: 22px; border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 13px; color: var(--faint);
}
.foot-bottom .sep { color: var(--line); }

/* ---------- legal documents ---------- */

.doc { padding-top: 72px; padding-bottom: 16px; }
.doc h1 { font-size: clamp(2rem, 4vw, 2.7rem); line-height: 1.12; }
.doc .doc-meta {
  margin-top: 16px; padding-bottom: 30px; border-bottom: 1px solid var(--line);
  font-size: 14px; color: var(--faint);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.doc .intro { margin-top: 32px; font-size: 18px; line-height: 1.65; color: var(--ink-soft); }
.doc h2 { font-size: 20px; margin-top: 46px; }
.doc h3 { font-size: 16px; margin-top: 28px; }
.doc p { margin-top: 14px; color: var(--muted); font-size: 16.5px; line-height: 1.72; }
.doc ul { margin: 14px 0 0; padding-left: 20px; color: var(--muted); font-size: 16.5px; line-height: 1.72; }
.doc li { margin-top: 8px; }
.doc li::marker { color: var(--faint); }
.doc strong { color: var(--ink-soft); font-weight: 600; }
.doc code {
  font-family: ui-monospace, SFMono-Regular, "SF Mono", "Cascadia Mono", Consolas, monospace;
  font-size: 0.88em; padding: 2px 6px; border-radius: 5px;
  background: var(--surface-2); border: 1px solid var(--line-soft); color: var(--ink-soft);
}
.callout {
  margin-top: 26px; padding: 22px 24px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--surface-2);
}
.callout h3 { margin-top: 0; font-size: 15px; }
.callout p { margin-top: 8px; font-size: 15.5px; }
.doc-entity {
  margin-top: 56px; padding-top: 26px; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.8; color: var(--faint);
}
.doc-entity .who { color: var(--ink-soft); font-weight: 600; }

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .company { grid-template-columns: 1fr; gap: 40px; }
  .cols-3 { grid-template-columns: 1fr; gap: 34px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 34px; }
  .foot-brand { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .wrap { padding: 0 22px; }
  .work-grid { grid-template-columns: 1fr; }
  .hero { padding: 76px 0 64px; }
  .hero .lede { font-size: 17.5px; margin-top: 20px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 34px; }
  .nav { gap: 18px; }
  .nav a { font-size: 13.5px; }
  .facts .row { grid-template-columns: 1fr; gap: 2px; padding: 14px 20px; }
  .facts dt { line-height: 1.6; }
  .doc { padding-top: 52px; padding-bottom: 8px; }
  .doc p, .doc ul { font-size: 16px; }
  .site-footer { padding: 48px 0 44px; }
  .foot-bottom { margin-top: 38px; }
}

@media (max-width: 560px) {
  .nav .opt { display: none; }
  .nav { gap: 16px; }
}

@media (max-width: 380px) {
  .nav { gap: 13px; }
  .nav a { font-size: 13px; }
}
