/* laurascotten.com — NOHO-minimal: two warm greige tones, quiet type, no accents */
:root {
  --paper: #F1EEE9;
  --paper-2: #E7E2DA;
  --ink: #2E2B26;
  --muted: #645C52;
  --line: #D8D1C3;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* One consistent measure: every section shares the same left edge,
   body text sits in a comfortable column inside it. */
.how .wrap > *, .work .wrap > p, .resume .wrap > *, .contact .wrap > * { max-width: 47.5rem; }
.case > p, .case > h4 { max-width: 47.5rem; }

h1, h2, h3, h4 { font-weight: 600; line-height: 1.12; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.8rem, 7vw, 5rem); margin: 0.2em 0 0.35em; }
h2.section-title { font-size: clamp(1.9rem, 4vw, 2.8rem); margin: 0 0 0.4em; }
h3 { font-size: 1.5rem; margin: 0.3em 0 0.6em; }
h4 { font-size: 0.85rem; margin: 2.2em 0 0.8em; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); font-weight: 500; }

p { margin: 0 0 1.1em; }
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--ink); }
img { max-width: 100%; height: auto; display: block; border-radius: var(--radius); }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin: 0;
}

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(241, 238, 233, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 14px; padding-bottom: 14px;
}
.brand { font-weight: 600; font-size: 1.05rem; color: var(--ink); text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { text-decoration: none; }
.site-nav a { margin-left: 22px; color: var(--ink); font-size: 0.92rem; text-decoration: none; }
.site-nav a:hover { color: var(--muted); }

/* hero */
.hero { padding: 110px 0 80px; }
.lede { font-size: clamp(1.25rem, 2.6vw, 1.6rem); font-weight: 400; max-width: 24em; color: var(--ink); }
.hero-actions { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: 1rem; font-weight: 500;
  text-decoration: none; letter-spacing: -0.01em;
}
.btn:hover { background: var(--muted); color: var(--paper); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); background: transparent; }

/* how i work */
.how { padding: 48px 0 88px; }
.limits {
  background: var(--paper-2);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 22px 26px;
  border-radius: var(--radius);
}

/* work */
.work { padding: 88px 0; border-top: 1px solid var(--line); }
.section-sub { color: var(--muted); margin-top: -0.6em; margin-bottom: 3em; }
.case { padding: 64px 0; border-top: 1px solid var(--line); }
.case:first-of-type { border-top: none; padding-top: 0; }
.case-kicker {
  text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.8rem;
  color: var(--muted); margin: 0 0 0.8em; font-weight: 500;
}
.case h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.caveat, .credit { font-style: italic; color: var(--muted); }

/* media */
.media { margin: 2.2em 0; }
/* single-image figures: image at one third width, caption to the right of it */
.media:has(> img) { display: flex; gap: 32px; align-items: flex-start; }
.media:has(> img) > img { width: 33.333%; flex: none; border: 1px solid var(--line); }
.media:has(> img) > figcaption { margin-top: 0; padding-top: 2px; font-size: 1rem; }
.media figcaption, .angle figcaption {
  font-size: 0.92rem; color: var(--muted); margin-top: 10px; line-height: 1.5;
}
.angle figcaption strong { color: var(--ink); font-weight: 500; }
.angle-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
  margin: 2.2em 0;
}
.angle-grid.two-up { grid-template-columns: repeat(2, 1fr); }
.angle { margin: 0; }
.angle img { border: 1px solid var(--line); }
.template-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}

/* charts */
.chart { margin: 2.4em 0; background: var(--paper-2); color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; }
.chart figcaption { font-weight: 500; font-size: 1.05rem; margin-bottom: 18px; color: var(--ink); letter-spacing: -0.01em; }
.bar-row {
  display: grid; grid-template-columns: minmax(140px, 220px) 1fr auto;
  gap: 14px; align-items: center; margin-bottom: 12px;
}
.bar-label { font-size: 0.92rem; color: var(--muted); line-height: 1.35; }
.bar-track { position: relative; height: 22px; background: rgba(46,43,38,0.08); border-radius: 6px; }
.bar {
  position: absolute; left: 0; top: 0; bottom: 0;
  background: var(--ink); border-radius: 6px; min-width: 4px;
}
.bar-down { background: #A39A8C; }
.tick {
  position: absolute; top: -4px; bottom: -4px; width: 2px;
  background: var(--ink); border-radius: 2px; transform: translateX(-50%);
}
.tick::after {
  content: "before"; position: absolute; top: -19px; left: 50%; transform: translateX(-50%);
  font-size: 0.68rem; color: var(--muted); white-space: nowrap;
}
.bar-value { font-weight: 500; font-size: 0.95rem; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.chart-note { font-size: 0.9rem; color: var(--muted); margin: 14px 0 0; }

/* resume */
.resume { padding: 88px 0; border-top: 1px solid var(--line); background: var(--paper-2); }
.resume-actions { margin-bottom: 2em; }
.resume-head h3 { font-size: 2rem; margin-bottom: 0.1em; }
.resume-tag { color: var(--muted); margin-bottom: 0.3em; }
.resume-links { font-size: 0.95rem; }
.resume-summary { font-size: 1.05rem; }
.job { margin-bottom: 2em; }
.job-head { margin-bottom: 0.15em; font-size: 1.08rem; }
.job-dates { color: var(--muted); font-weight: 400; font-size: 0.95rem; margin-left: 8px; }
.job-title { font-style: italic; color: var(--muted); margin-bottom: 0.7em; }
.job ul, .plain-list { padding-left: 1.3em; }
.job li, .plain-list li { margin-bottom: 0.7em; }
.resume h4 { color: var(--ink); border-bottom: 1px solid var(--line); padding-bottom: 8px; }

/* contact */
.contact { padding: 88px 0 100px; border-top: 1px solid var(--line); }
.contact-lines { font-size: 1.25rem; line-height: 2; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 26px 0; }
.site-footer p { margin: 0; font-size: 0.9rem; color: var(--muted); }

/* responsive */
@media (max-width: 760px) {
  body { font-size: 16.5px; }
  .hero { padding: 72px 0 56px; }
  .angle-grid, .angle-grid.two-up, .template-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .bar-row { grid-template-columns: 1fr; gap: 6px; }
  .bar-value { justify-self: start; }
  .site-nav a { margin-left: 14px; }
  .media:has(> img) { gap: 20px; }
}

/* Embedded chat previews can force the host app's theme colors onto the
   page. These hardened rules keep the intended palette intact there. */
html[data-theme] body { color: #2E2B26 !important; background: #F1EEE9 !important; }
html[data-theme] body h1,
html[data-theme] body h2,
html[data-theme] body h3,
html[data-theme] body h4 { color: #2E2B26 !important; }
html[data-theme] body a:not(.btn) { color: #2E2B26 !important; }
html[data-theme] .chart,
html[data-theme] .limits { background: #E7E2DA !important; color: #2E2B26 !important; }

/* print: resume only */
@media print {
  body.printing-resume .site-header,
  body.printing-resume .hero,
  body.printing-resume .how,
  body.printing-resume #work,
  body.printing-resume #contact,
  body.printing-resume .site-footer,
  body.printing-resume .resume-actions { display: none !important; }
  body.printing-resume .resume { background: #fff; border: none; padding: 0; }
  body { font-size: 12px; background: #fff; }
  a { color: var(--ink); text-decoration: none; }
}
