/* Minutewell site. Warm paper, persimmon accent, system fonts. */
:root {
  --accent: #E4572E;
  --accent-text: #B83F1C;
  --accent-soft: #FCE6DE;
  --ink: #1B1F2A;
  --ink-secondary: #5B6170;
  --ink-tertiary: #9096A2;
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --raised: #F3F1EC;
  --line: #E6E2DA;
  --success: #1F9D6B;
  --shadow: 0 8px 28px rgba(27, 31, 42, 0.06);
  --max: 1040px;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent); }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { width: min(720px, calc(100% - 40px)); margin: 0 auto; }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.nav-links { display: flex; gap: 18px; align-items: center; }
.nav-links a { color: var(--ink-secondary); text-decoration: none; font-size: 15px; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  text-decoration: none;
  font-weight: 650;
  box-shadow: 0 8px 18px rgba(228, 87, 46, 0.28);
}
.btn:hover { color: white; }
.btn.quiet {
  background: var(--raised);
  color: var(--ink);
  box-shadow: none;
}

.hero { padding: 28px 0 12px; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.kicker { color: var(--accent-text); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin: 0 0 10px; }
h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 60px); line-height: 1.05; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }
.lede { color: var(--ink-secondary); font-size: 19px; margin: 0 0 22px; max-width: 38em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }

.panel {
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 22px;
}
.flow { display: grid; grid-template-columns: 1fr auto 1fr; gap: 10px; align-items: center; }
.node, .blocked {
  border-radius: 16px;
  padding: 16px 10px;
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}
.node { background: var(--bg); border: 0.5px solid var(--line); }
.blocked { background: var(--raised); color: var(--ink-tertiary); }
.arrow { color: var(--ink-tertiary); font-weight: 700; }
.panel p { color: var(--ink-secondary); margin: 14px 0 0; font-size: 15px; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 28px 0 8px; }
.card {
  background: var(--surface);
  border: 0.5px solid var(--line);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 1px 0 rgba(27, 31, 42, 0.02);
}
.card h2, .section h2 { font-size: 18px; margin: 8px 0; }
.card p, .section p, .section li { color: var(--ink-secondary); }
.mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft); color: var(--accent);
  display: grid; place-items: center; font-weight: 700;
}

.section { padding: 36px 0; }
.section h2 { font-family: var(--serif); font-size: 32px; margin: 0 0 8px; }
footer {
  border-top: 0.5px solid var(--line);
  padding: 22px 0 36px;
  color: var(--ink-tertiary);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
footer a { color: var(--ink-secondary); }

.policy h1 { font-size: clamp(36px, 4vw, 48px); }
.policy h2 { font-family: var(--serif); font-size: 26px; margin: 28px 0 8px; }
.policy p, .policy li { color: var(--ink-secondary); }
.policy ul { padding-left: 1.2em; }
.updated { color: var(--ink-tertiary); font-size: 14px; }

.hero-shot img {
  width: min(280px, 100%);
  margin: 0 auto;
  border-radius: 28px;
  border: 0.5px solid var(--line);
  box-shadow: var(--shadow);
}
.gallery { padding: 12px 0 8px; }
.gallery h2 { font-family: var(--serif); font-size: 32px; margin: 0 0 4px; }
.gallery h3 { font-size: 15px; margin: 8px 0 0; color: var(--ink); }
.shot-row {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-snap-type: x mandatory;
}
.shot-row figure { margin: 0; flex: 0 0 auto; scroll-snap-align: start; width: 200px; }
.shot-row.pad figure { width: 260px; }
.shot-row.mac figure { width: 420px; }
.shot-row img, .design-grid img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  border: 0.5px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--surface);
}
.shot-row figcaption, .design-grid figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: var(--ink-secondary);
}
.design-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
  padding-bottom: 12px;
}
.design-grid figure { margin: 0; }
.design-grid figure.wide { grid-column: span 2; }
.more {
  margin: 8px 0 28px;
  border: 0.5px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  padding: 12px 16px;
}
.more summary { cursor: pointer; font-weight: 650; }
.more .design-grid { padding-top: 14px; }

@media (max-width: 800px) {
  .hero, .grid { grid-template-columns: 1fr; }
  .nav { align-items: flex-start; }
  .design-grid figure.wide { grid-column: span 1; }
  .shot-row.mac figure { width: 300px; }
}
