:root {
  --bg: #f4f1ea;
  --surface: #fbf9f4;
  --ink: #14161a;
  --muted: #5d6068;
  --line: #dcd7cb;
  --accent: #c2410c;
  --accent-ink: #fff;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111317;
    --surface: #181b20;
    --ink: #eeebe3;
    --muted: #9a9ea8;
    --line: #2a2e36;
    --accent: #fb923c;
    --accent-ink: #14161a;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
main, .top, footer { max-width: 1040px; margin: 0 auto; padding: 0 24px; }

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 24px; padding-bottom: 24px;
}
.mark {
  font: 400 26px/1 var(--serif); text-decoration: none;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 12px; background: var(--surface);
}
nav { display: flex; gap: 24px; }
nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
nav a:hover { color: var(--ink); }

section { padding: 72px 0; border-top: 1px solid var(--line); }
.hero { border-top: 0; padding: 72px 0 88px; }
.hero-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.portrait {
  flex: none; width: clamp(150px, 20vw, 220px); height: auto; aspect-ratio: 1; object-fit: cover;
  border-radius: 28px; border: 1px solid var(--line);
}
.eyebrow { margin: 0 0 20px; color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
h1 {
  margin: 0; max-width: 22ch;
  font: 400 clamp(38px, 6.2vw, 72px)/1.06 var(--serif); letter-spacing: -.015em;
}
h1 span { white-space: nowrap; }
.tagline { margin: 18px 0 0; color: var(--accent); font: italic 400 clamp(26px, 3.6vw, 42px)/1.15 var(--serif); }
.lead { max-width: 58ch; margin: 28px 0 0; font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 36px; }
.button {
  display: inline-block; padding: 14px 26px; border-radius: 999px;
  background: var(--ink); color: var(--bg); text-decoration: none; font-weight: 600;
  transition: transform .15s ease;
}
.button:hover { transform: translateY(-2px); }
.link { font-weight: 600; text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 2px; }
.link:hover { color: var(--accent); }

.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin: 64px 0 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 16px; }
.facts dt { font: 400 clamp(38px, 5.4vw, 56px)/1 var(--serif); }
.facts dd { margin: 8px 0 0; color: var(--muted); font-size: 15px; }

h2 { margin: 0; font: 400 clamp(32px, 4.6vw, 46px)/1.1 var(--serif); }
h2.sub { margin-top: 64px; }
.section-lead { margin: 12px 0 0; color: var(--muted); max-width: 56ch; }

.cards { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cards li { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.icon {
  width: 44px; height: 44px; padding: 10px; margin-bottom: 16px; border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  fill: none; stroke: var(--accent); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
}
.icon circle[r="1"] { fill: var(--accent); stroke: none; }
.cards h3, .product h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; }
.cards p { margin: 0; color: var(--muted); font-size: 15.5px; }

.product {
  display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: start;
  margin-top: 40px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px;
}
.product-mark {
  width: 88px; height: 88px; border-radius: 20px; display: grid; place-items: center;
  background: #2e6e5a; color: #fff; font-size: 46px; line-height: 1;
}
.product h3 { font-size: 22px; display: flex; align-items: center; gap: 12px; }
.product p { margin: 0 0 12px; max-width: 62ch; }
.muted { color: var(--muted); }
.tag {
  font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}

.stack { margin: 40px 0 0; }
.stack div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); }
.stack div:last-child { border-bottom: 1px solid var(--line); }
.stack dt { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding-top: 3px; }
.stack dd { margin: 0; }

.pills { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.pills li { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; }

.contact { padding-bottom: 96px; }
.contact-links { display: flex; flex-wrap: wrap; gap: 32px; margin: 32px 0 0; font-size: 20px; }

footer { padding-top: 28px; padding-bottom: 40px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer p { margin: 0; }

@media (max-width: 860px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  main, .top, footer { padding: 0 16px; }
  .top { padding-top: 16px; padding-bottom: 16px; }
  nav { gap: 16px; }
  nav a { font-size: 14px; }
  nav a[href="#own"] { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 40px 0 64px; }
  .hero-head { flex-direction: column-reverse; align-items: flex-start; gap: 28px; }
  .portrait { width: 112px; border-radius: 22px; }
  .facts { grid-template-columns: 1fr; gap: 16px; margin-top: 48px; }
  .cards { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; padding: 24px; gap: 20px; }
  .stack div { grid-template-columns: 1fr; gap: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
