/* seating-md site: an event planner's drafting table.
   Deep ink navy, a faint plan grid, cool paper, and coral "seat" dots.
   Gloock for display, Schibsted Grotesk for text, DM Mono for labels. */
:root {
  --ink: #14223b;
  --ink-2: #22355a;
  --paper: #f2f3f0;
  --card: #ffffff;
  --text: #1b2333;
  --muted: #566074;
  --line: #d5d8d2;
  --seat: #ff6a4d;
  --seat-soft: #ffd9cf;
  --plan: rgba(255, 255, 255, 0.07);
  --display: "Gloock", "Iowan Old Style", Georgia, serif;
  --sans: "Schibsted Grotesk", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--paper); color: var(--text); font: 400 17px/1.6 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--seat); outline-offset: 3px; border-radius: 2px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--seat); color: #fff; padding: 10px 14px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

/* header */
.top { background: var(--ink); color: #fff; border-bottom: 1px solid rgba(255,255,255,.08); }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 64px; flex-wrap: wrap; padding-block: 10px; }
.wordmark { font: 500 16px/1 var(--mono); letter-spacing: .02em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.mark { width: 18px; height: 18px; border-radius: 50%; border: 2px solid currentColor; position: relative; flex: none; }
.mark::after { content: ""; position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--seat); top: -6px; left: 4px; box-shadow: 10px 10px 0 var(--seat), -6px 10px 0 var(--seat), 4px 16px 0 var(--seat); }
.nav { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 22px; font: 400 14px/1.4 var(--mono); }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }

/* hero */
.hero { background: var(--ink); color: #fff; position: relative; overflow: hidden;
  background-image: linear-gradient(var(--plan) 1px, transparent 1px), linear-gradient(90deg, var(--plan) 1px, transparent 1px);
  background-size: 32px 32px; }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -160px; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; padding: 84px 0 96px; position: relative; }
.eyebrow { font: 400 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #c9d3e6; display: flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--seat); box-shadow: 0 0 0 4px rgba(255,106,77,.2); flex: none; }
h1 { font: 400 clamp(38px, 5.2vw, 64px)/1.04 var(--display); letter-spacing: -.01em; margin: 22px 0 22px; text-wrap: balance; }
.lede { font-size: 19px; color: #d7deeb; max-width: 34em; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.btn { display: inline-block; background: var(--seat); color: #1b0f0b; font-weight: 700; padding: 13px 22px; border-radius: 999px; text-decoration: none; }
.btn:hover { background: #ff8569; }
.btn-quiet { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.5); }
.btn-quiet:hover { background: rgba(255,255,255,.08); }
.hero-art { position: relative; padding: 0 0 60px 40px; }
.poster { display: block; width: 78%; margin-left: auto; transform: rotate(1.6deg); box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 40px 80px rgba(0,0,0,.45); }
.tent { position: absolute; display: block; box-shadow: 0 2px 4px rgba(0,0,0,.25), 0 26px 50px rgba(0,0,0,.45); }
.tent-a { width: 66%; left: 0; bottom: 70px; transform: rotate(-4deg); }
.tent-b { width: 38%; right: 4%; bottom: 8px; transform: rotate(3deg); }

/* sections */
section { padding: 88px 0; }
h2 { font: 400 clamp(32px, 4vw, 46px)/1.08 var(--display); letter-spacing: -.01em; margin-bottom: 18px; color: var(--ink); }
.kicker { font: 500 13px/1.4 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 26px; }
.section-lede { color: var(--muted); max-width: 40em; margin-bottom: 40px; font-size: 18px; }

.outputs { padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.strip { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; align-items: start; }
.strip li { display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.strip a { display: flex; align-items: center; justify-content: center; height: 210px; background: #e4e6e1; border-radius: 6px; padding: 16px; margin-bottom: 8px; }
.strip img { max-height: 100%; width: auto; box-shadow: 0 2px 10px rgba(20,34,59,.18); }
.strip b { font-weight: 700; color: var(--ink); }
.strip span { color: var(--muted); line-height: 1.45; }

.how { background: var(--card); }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; counter-reset: s; }
.steps li { position: relative; padding: 28px 26px 30px; border: 1px solid var(--line); border-radius: 10px; background: var(--paper); }
.num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 400 22px/1 var(--display); margin-bottom: 18px; position: relative; }
.num::after { content: ""; position: absolute; width: 10px; height: 10px; border-radius: 50%; background: var(--seat); top: -3px; right: -3px; }
.steps h3 { font: 700 20px/1.25 var(--sans); color: var(--ink); margin-bottom: 8px; }
.steps p { color: var(--muted); }
.ask { margin-top: 44px; border-left: 4px solid var(--seat); padding: 6px 0 6px 24px; }
.ask blockquote { font: 400 clamp(22px, 2.6vw, 30px)/1.3 var(--display); color: var(--ink); }
.ask figcaption { font: 400 13px/1.4 var(--mono); color: var(--muted); margin-top: 10px; letter-spacing: .04em; }

.themes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 22px; }
.theme { display: flex; flex-direction: column; gap: 12px; }
.theme > a img { box-shadow: 0 2px 4px rgba(20,34,59,.1), 0 16px 34px rgba(20,34,59,.16); transition: transform .2s; }
.theme > a:hover img { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .theme > a img { transition: none; } }
.theme-card { width: 86%; margin: -48px auto 0; position: relative; box-shadow: 0 10px 24px rgba(20,34,59,.25); }
.theme figcaption { font-size: 15px; color: var(--muted); line-height: 1.45; }
.theme figcaption b { display: block; font: 500 15px/1.4 var(--mono); color: var(--ink); }

.examples-sec { background: #e8eae5; }
.examples { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px; }
.examples li { background: var(--card); border-radius: 10px; padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.ex-shot { display: flex; justify-content: center; align-items: center; background: var(--ink); border-radius: 6px; padding: 22px; height: 340px; margin-bottom: 6px; }
.ex-shot img { max-height: 100%; width: auto; box-shadow: 0 16px 30px rgba(0,0,0,.4); }
.examples h3 { font: 700 19px/1.3 var(--sans); color: var(--ink); }
.examples p { color: var(--muted); font-size: 15.5px; }
.links { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: auto; padding-top: 6px; }
.links a { font: 400 13px/1 var(--mono); text-decoration: none; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }
.links a:hover { border-color: var(--seat); background: var(--seat-soft); }

.install-sec { background: var(--ink); color: #fff; }
.install-sec h2 { color: #fff; }
.install { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 26px; }
.box { background: var(--ink-2); border-radius: 10px; padding: 22px; min-width: 0; }
.box h3 { font: 500 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #c9d3e6; margin-bottom: 12px; }
pre { background: #0b1427; border-radius: 6px; padding: 16px; font: 400 14px/1.6 var(--mono); color: #f4f6fb; white-space: pre-wrap; overflow-wrap: anywhere; }
pre code { font: inherit; }
.note { margin-top: 22px; color: #c9d3e6; }

.foot { background: #0d1729; color: #c9d3e6; padding: 44px 0 52px; font-size: 15px; }
.foot-row { display: grid; gap: 10px; }
.foot .wordmark { color: #fff; margin-bottom: 6px; }
.foot a { color: #fff; }

/* 404 */
.lost { background: var(--ink); color: #fff; padding: 120px 0 140px; min-height: 60vh;
  background-image: linear-gradient(var(--plan) 1px, transparent 1px), linear-gradient(90deg, var(--plan) 1px, transparent 1px); background-size: 32px 32px; }
.lost h1 { max-width: 14em; }

@media (max-width: 1020px) {
  .hero-grid { grid-template-columns: 1fr; padding: 60px 0 72px; }
  .hero-art { max-width: 620px; margin: 0 auto; width: 100%; }
  .strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps, .install { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .hero-art { padding-left: 0; }
  .strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip a { height: 160px; }
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .examples { grid-template-columns: 1fr; }
  .ex-shot { height: 280px; }
  .nav { gap: 4px 14px; font-size: 13px; }
}
