:root {
  --bg: #f2efe8;
  --text: #141414;
  --muted: #6f6a62;
  --quiet: #9a948a;
  --line: rgba(20,20,20,0.12);
  --accent: #ff3b12;
  --steel: #263238;
  --mx: 50%;
  --my: 50%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255,59,18,var(--glow-opacity, 0.09)), transparent 15rem),
    linear-gradient(135deg, rgba(38,50,56,0.05), transparent 32rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  overflow-x: hidden;
  position: relative;
}

body.legal {
  --glow-opacity: 0.08;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.18;
  mask-image: radial-gradient(circle at var(--mx) var(--my), rgba(0,0,0,0.8), transparent 30rem);
}

body.home::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.16'/%3E%3C/svg%3E");
  opacity: 0.045;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.page {
  position: relative;
  z-index: 1;
  width: min(100% - 44px, 980px);
  margin-inline: auto;
  padding: clamp(28px, 4vw, 56px) 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: clamp(36px, 5vw, 72px);
  color: var(--steel);
}

.logo {
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
}

.logo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.brand-mark {
  display: grid;
  gap: 4px;
  font-size: 11px;
  letter-spacing: 0.2em;
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-mark span:last-child {
  color: var(--quiet);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 760px) auto;
  gap: clamp(34px, 6vw, 72px);
  align-items: start;
}

header {
  max-width: 760px;
}

h1 {
  font-size: clamp(36px, 5.6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0.035em;
  font-weight: 620;
  text-transform: uppercase;
}

.home h1 {
  max-width: 760px;
}

.sub {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.sub::before {
  content: "";
  width: 42px;
  height: 1px;
  background: var(--accent);
}

.section {
  margin-top: clamp(54px, 7vw, 96px);
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  left: 0;
  top: -34px;
  width: 100%;
  height: 1px;
  background: var(--line);
}

.label {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal .label {
  margin-bottom: 24px;
}

.glyphs {
  width: 172px;
  display: grid;
  grid-template-columns: repeat(2, 72px);
  gap: 18px 20px;
  color: rgba(38,50,56,0.44);
  pointer-events: none;
  margin-top: 6px;
}

.glyphs svg {
  width: 72px;
  height: 72px;
  overflow: visible;
}

.glyphs .accent {
  color: rgba(255,59,18,0.58);
}

.glyphs path,
.glyphs circle,
.glyphs rect,
.glyphs line {
  vector-effect: non-scaling-stroke;
}

.topics {
  display: grid;
  gap: 12px;
  list-style: none;
}

.topic {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  width: fit-content;
}

.topic small {
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 0.16em;
  transition: color 160ms ease;
}

.topic span {
  display: inline-block;
  font-size: clamp(24px, 3.6vw, 44px);
  line-height: 1;
  letter-spacing: -0.055em;
  transform-origin: left center;
  transform: translate3d(0, 0, 0) scale(1);
  backface-visibility: hidden;
  transition: color 160ms ease, transform 160ms cubic-bezier(0.2, 0, 0.2, 1);
  will-change: transform;
}

.topic:hover small {
  color: var(--accent);
}

.topic:hover span {
  color: var(--accent);
  transform: translate3d(0, 0, 0) scale(1.018);
}

.note {
  margin-top: 34px;
  max-width: 460px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.contact {
  display: grid;
  gap: 6px;
  color: var(--text);
  font-style: normal;
  font-size: clamp(15px, 1.8vw, 20px);
  line-height: 1.32;
  letter-spacing: -0.01em;
}

.contact-name {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 620;
}

.contact-location {
  color: var(--muted);
}

.contact-mail {
  width: fit-content;
  color: var(--steel);
  border-bottom: 1px solid rgba(38,50,56,0.28);
}

.contact-mail:hover {
  border-color: var(--accent);
}

.links {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  color: var(--muted);
}

.links a {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  transition: border-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.links svg {
  width: 17px;
  height: 17px;
  display: block;
}

.links a:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.updated {
  margin-top: 26px;
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--quiet);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(154,148,138,0.34);
  opacity: 0.78;
  transition: border-color 180ms ease, color 180ms ease, opacity 180ms ease;
}

.legal-link:hover {
  color: var(--accent);
  border-color: var(--accent);
  opacity: 1;
}

.back {
  display: inline-block;
  margin-bottom: clamp(54px, 8vw, 88px);
  color: var(--quiet);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border-bottom: 0;
}

.details {
  display: grid;
  gap: 8px;
  max-width: 620px;
  color: var(--text);
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.45;
}

.details strong {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 620;
}

.detail-item {
  display: grid;
  gap: 2px;
}

.detail-item b {
  color: var(--quiet);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.detail-item span {
  color: var(--text);
}

.details .muted {
  color: var(--muted);
}

.details .todo {
  color: var(--accent);
}

.fineprint {
  margin-top: 22px;
  max-width: 620px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

@media (max-width: 820px) {
  .page {
    width: min(100% - 28px, 980px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .glyphs {
    width: fit-content;
    grid-template-columns: repeat(4, 44px);
    gap: 12px;
    margin-top: 0;
  }

  .glyphs svg {
    width: 44px;
    height: 44px;
  }

  h1 {
    font-size: clamp(32px, 9.4vw, 58px);
  }

  .home .section {
    margin-top: 64px;
  }
}
