/* Atelier — shared styles for landing pages */
:root {
  --bg: #FBF8F1;
  --surface: #FFFFFF;
  --ink: #14120D;
  --ink2: #3F3A30;
  --muted: #8B8273;
  --line: #E5DFD0;
  --accent: #B8560E;
  --accent-soft: #F4E5D2;
  --accent-ink: #6B3208;
  --good: #4A6A2C;
  --bad: #B23A1F;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  font-size: 15px;
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.serif { font-family: 'Source Serif 4', Georgia, serif; font-weight: 500; letter-spacing: -0.3px; }
.mono { font-family: 'JetBrains Mono', ui-monospace, monospace; }
.label { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); }
.eyebrow { font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }

/* Container */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 248, 241, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-family: 'Source Serif 4', Georgia, serif; font-size: 18px; font-weight: 600; letter-spacing: -0.4px; color: var(--ink); }
.brand .logo-mark { width: 26px; height: 26px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 13px; color: var(--ink2); font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta a:first-child { font-size: 13px; color: var(--ink2); font-weight: 500; }
.btn-ink { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: var(--ink); color: var(--bg); font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; border: none; transition: opacity .15s; }
.btn-ink:hover { opacity: 0.85; }
.btn-ghost { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; background: transparent; color: var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.6px; text-transform: uppercase; border: 1px solid var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-accent { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; border: none; }
.btn-accent:hover { background: var(--accent-ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--ink); padding: 8px 12px; font-size: 11px; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; }
@media (max-width: 820px) {
  .nav-links, .nav-cta a:first-child { display: none; }
}

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 64px 0 36px; margin-top: 80px; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.foot h5 { font-family: 'JetBrains Mono', monospace; font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.foot ul { list-style: none; padding: 0; margin: 0; }
.foot li { margin-bottom: 10px; }
.foot li a { font-size: 13px; color: var(--ink2); }
.foot li a:hover { color: var(--accent); }
.foot-bottom { border-top: 1px solid var(--line); padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 12px; color: var(--muted); }
@media (max-width: 720px) {
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Editorial helpers */
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.rule-thick { border: 0; border-top: 2px solid var(--ink); margin: 0; }

/* Cards */
.card { background: var(--surface); border: 1px solid var(--line); padding: 28px; }
.card.dashed { background: transparent; border-style: dashed; }

/* Forms */
.input { width: 100%; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; color: var(--ink); outline: none; font-family: inherit; border-radius: 0; }
.input:focus { border-color: var(--ink); }

/* Selection */
::selection { background: var(--accent); color: #fff; }

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(20,18,13,0.15); }
::-webkit-scrollbar-thumb:hover { background: rgba(20,18,13,0.3); }
