/* ============================================================
   DIAL DESIGNS — Base / Reset
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; border: none; background: none; }
input, select, textarea { font: inherit; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--w-bold);
  line-height: 1.2;
  color: var(--text-1);
}

p { color: var(--text-2); line-height: 1.7; }

::selection {
  background: var(--brand-600);
  color: var(--ink-50);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-surface); }
::-webkit-scrollbar-thumb { background: var(--ink-500); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--ink-400); }

/* ── Layout helpers ──────────────────────────────────────── */

.container {
  max-width: var(--content-w);
  margin-inline: auto;
  padding-inline: var(--content-pad);
}

.section {
  padding-block: clamp(var(--s-16), 8vw, var(--s-32));
}

.section-sm {
  padding-block: clamp(var(--s-10), 5vw, var(--s-20));
}

.surface {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.divider {
  height: 1px;
  background: var(--border-subtle);
  margin-block: var(--s-16);
}

main { padding-top: var(--nav-h); }

/* ── Type utilities ──────────────────────────────────────── */

.text-1  { color: var(--text-1); }
.text-2  { color: var(--text-2); }
.text-3  { color: var(--text-3); }
.text-4  { color: var(--text-4); }

.text-xs   { font-size: var(--text-xs); }
.text-sm   { font-size: var(--text-sm); }
.text-lg   { font-size: var(--text-lg); }
.text-xl   { font-size: var(--text-xl); }
.text-2xl  { font-size: var(--text-2xl); }
.text-3xl  { font-size: var(--text-3xl); }
.text-4xl  { font-size: var(--text-4xl); }

.font-medium   { font-weight: var(--w-medium); }
.font-semibold { font-weight: var(--w-semibold); }
.font-bold     { font-weight: var(--w-bold); }
.font-black    { font-weight: var(--w-black); }
.font-mono     { font-family: var(--font-mono); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}

.section-heading {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: var(--w-bold);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.section-subheading {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: var(--text-3);
  max-width: 54ch;
  margin-top: var(--s-4);
  line-height: 1.65;
}

/* ── Two-column split ────────────────────────────────────── */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--s-8), 6vw, var(--s-24));
  align-items: center;
}

.split-content { align-self: start; }

@media (max-width: 768px) {
  .split { grid-template-columns: 1fr; }
}
