:root {
  --paper: #f2f4f1;
  --ink: #0e2f2b;
  --teal: #0e5a52;
  --yellow: #f5b800;
  --line: #c7d0cb;
  --muted: #4a5b56;
  --white: #ffffff;
  --display: "Bricolage Grotesque", system-ui, sans-serif;
  --body: "Public Sans", system-ui, sans-serif;
  --max: 1100px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0; }
p { margin: 0; }
ul, dl { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 20;
}
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.brand { font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.site-header nav { display: flex; align-items: center; gap: 22px; font-size: 0.95rem; }
.site-header nav a { text-decoration: none; }
.site-header nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { background: var(--ink); color: var(--paper); padding: 8px 16px; border-radius: 4px; font-weight: 600; }

/* Buttons */
.btn {
  display: inline-block; font: 600 1rem var(--body);
  padding: 13px 22px; border-radius: 4px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: transform 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-dark { background: var(--ink); color: var(--paper); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: #ffc81f; }

/* Hero */
.hero {
  max-width: var(--max); margin: 0 auto;
  padding: 72px 24px 80px;
  display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center;
}
.role { font-weight: 600; color: var(--teal); margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.02em; }
.lead { color: var(--muted); margin-top: 22px; max-width: 54ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* Before/after panel (the one memorable element) */
.panel { background: var(--ink); color: var(--paper); padding: 28px; border-radius: 6px; }
.panel h2 { font-size: 1.15rem; font-weight: 600; margin-bottom: 18px; }
.tasks li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 12px 0; border-top: 1px solid rgba(242, 244, 241, 0.2);
  font-size: 0.98rem;
}
.tasks .label { transition: color 0.3s ease; }
.tasks .hrs { white-space: nowrap; font-variant-numeric: tabular-nums; }
.tasks li.done .label { text-decoration: line-through; color: rgba(242, 244, 241, 0.5); }
.tasks li.done .hrs { color: var(--yellow); font-weight: 600; }
.total {
  display: flex; justify-content: space-between; align-items: baseline;
  border-top: 2px solid var(--paper); padding: 14px 0 22px;
}
.total strong { font-family: var(--display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.panel .btn { width: 100%; }
.note { font-size: 0.85rem; color: rgba(242, 244, 241, 0.65); margin-top: 12px; }

/* Sections */
.section { max-width: var(--max); margin: 0 auto; padding: 72px 24px; border-top: 1px solid var(--line); }
.section > h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; letter-spacing: -0.01em; margin-bottom: 36px; }
.two-col { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; }
.two-col p { max-width: 60ch; font-size: 1.15rem; }
.facts li { padding: 10px 0; border-top: 1px solid var(--line); }
.facts li:last-child { border-bottom: 1px solid var(--line); }

.services { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.services > div { border-top: 1px solid var(--line); padding: 24px 0 28px; }
.services dt { font-family: var(--display); font-weight: 800; font-size: 1.3rem; margin-bottom: 8px; }
.services dd { margin: 0; color: var(--muted); max-width: 46ch; }

/* Work ledger */
.ledger { border-bottom: 1px solid var(--line); }
.ledger li { border-top: 1px solid var(--line); }
.ledger a {
  display: grid; grid-template-columns: 170px 1.1fr 1.6fr 1.2fr; gap: 20px; align-items: baseline;
  padding: 22px 8px; text-decoration: none; transition: background 0.15s ease;
}
.ledger a:hover { background: var(--white); }
.ledger .kind { color: var(--teal); font-weight: 600; font-size: 0.95rem; }
.ledger .proj { font-family: var(--display); font-weight: 800; font-size: 1.3rem; }
.ledger .desc { color: var(--muted); }
.ledger .host { text-align: right; text-decoration: underline; text-underline-offset: 4px; font-size: 0.95rem; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.quotes blockquote { margin: 0; padding-left: 20px; border-left: 4px solid var(--yellow); }
.quotes p { font-size: 1.08rem; }
.quotes footer { margin-top: 14px; color: var(--muted); font-size: 0.95rem; }

/* Contact */
.contact .lead { margin: -12px 0 36px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
form label { display: block; font-weight: 600; margin: 0 0 6px; }
form input, form textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 12px 14px; margin-bottom: 20px;
  background: var(--white); border: 1px solid var(--muted); border-radius: 4px;
}
.error { color: #a31515; margin: -6px 0 16px; font-weight: 600; }
.channels li { border-top: 1px solid var(--line); }
.channels li:last-child { border-bottom: 1px solid var(--line); }
.channels a { display: block; padding: 18px 4px; font-family: var(--display); font-weight: 800; font-size: 1.3rem; text-decoration: none; }
.channels a:hover { background: var(--white); }

.site-footer {
  max-width: var(--max); margin: 0 auto; padding: 28px 24px 40px;
  border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem;
}

/* About with photo */
.about-grid { display: grid; grid-template-columns: 0.8fr 1.4fr; gap: 56px; align-items: start; }
.portrait {
  width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 30%;
  border-radius: 6px; display: block; background: var(--line);
}
.about-text p { max-width: 60ch; font-size: 1.15rem; margin-bottom: 28px; }

/* Shop */
.shop-lead { margin: -12px 0 28px; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 32px; }
.chip {
  font: 600 0.95rem var(--body); color: var(--ink); background: transparent;
  border: 2px solid var(--ink); border-radius: 999px; padding: 8px 18px; cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.chip:hover { background: var(--white); }
.chip.is-active { background: var(--ink); color: var(--paper); }
.shop-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.shop-grid li {
  background: var(--white); border-top: 4px solid var(--yellow); border-radius: 4px;
  padding: 24px 22px 22px; display: flex; flex-direction: column; gap: 8px;
}
.shop-grid li[hidden] { display: none; }
.shop-grid .kind { color: var(--teal); font-weight: 600; font-size: 0.9rem; }
.shop-grid h3 { font-size: 1.25rem; font-weight: 800; }
.shop-grid p { color: var(--muted); font-size: 0.98rem; flex: 1; }
.order {
  margin-top: 10px; align-self: flex-start; font-weight: 600; text-decoration: none;
  background: var(--ink); color: var(--paper); padding: 10px 16px; border-radius: 4px;
}
.order:hover { background: var(--teal); }

.channels small { display: block; font-family: var(--body); font-weight: 400; font-size: 0.95rem; color: var(--muted); margin-top: 2px; }

/* Mobile menu button */
.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0; background: none; border: 0; cursor: pointer;
  position: relative;
}
.menu-btn span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink); transition: transform 0.2s ease, top 0.2s ease; }
.menu-btn span:first-child { top: 18px; }
.menu-btn span:last-child { top: 25px; }
.menu-btn[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* Responsive */
@media (max-width: 900px) {
  .hero, .two-col, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .portrait { max-width: 380px; }
  .shop-grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .quotes { grid-template-columns: 1fr; }
  .ledger a { grid-template-columns: 1fr; gap: 4px; padding: 20px 4px; }
  .ledger .host { text-align: left; }
}
@media (max-width: 640px) {
  .menu-btn { display: block; }
  .site-header nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .site-header nav .nav-cta { margin-top: 14px; border-bottom: 0; text-align: center; padding: 14px; }
  .shop-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .section { padding: 56px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* Icons and illustration */
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ico-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 10px; background: #fdf0bf; color: var(--teal); flex-shrink: 0; }
.ico-tile .icon { width: 24px; height: 24px; }
.ico-lg { width: 64px; height: 64px; border-radius: 16px; }
.ico-lg .icon { width: 32px; height: 32px; }
.btn, .nav-cta, .order, .chip { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.services dt { display: flex; align-items: center; gap: 14px; }
.facts li { display: flex; align-items: center; gap: 10px; }
.facts .icon { color: var(--teal); }
.tasks .label { display: flex; align-items: center; gap: 10px; }
.tasks .label .icon { color: var(--yellow); }
.panel { position: relative; }
.stamp { position: absolute; top: -18px; right: -14px; width: 60px; height: 60px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; box-shadow: 0 0 0 4px var(--paper); transform: scale(0) rotate(-30deg); transition: transform 0.35s cubic-bezier(0.3, 1.6, 0.5, 1); }
.stamp .icon { width: 30px; height: 30px; stroke-width: 3; }
.panel.is-auto .stamp { transform: scale(1) rotate(-8deg); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { position: relative; }
.steps li:not(:last-child)::after { content: ""; position: absolute; top: 44px; left: 128px; right: -28px; border-top: 2px dashed var(--line); }
.step-art { display: grid; place-items: center; width: 88px; height: 88px; border-radius: 50%; background: var(--teal); color: var(--paper); box-shadow: 8px 8px 0 var(--yellow); margin-bottom: 28px; }
.step-art .icon { width: 40px; height: 40px; }
.steps h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 8px; }
.steps p { color: var(--muted); max-width: 34ch; }

.shop-grid .ico-tile { margin-bottom: 6px; }
.ledger .kind { display: flex; align-items: center; gap: 8px; }
.quotes blockquote > .icon { display: block; width: 28px; height: 28px; color: var(--yellow); margin-bottom: 8px; }
.channels a { display: flex; align-items: center; gap: 16px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .steps li:not(:last-child)::after { display: none; }
}
