/* Smiddy Creative — company site. Tokens from Brand Design/README.md (1 Jul 2026). */
:root {
  --paper: #F5F1E8;
  --surface: #FBF9F3;
  --ink: #1B1916;
  --text-2: #5C5749;
  --text-3: #908A7A;
  --hairline: #E4DECF;
  --accent: #0F6E56;
  --on-accent: #F5F1E8;
  --measure: 36rem;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.wrap { max-width: 60rem; margin: 0 auto; padding: 0 clamp(1rem, 5vw, 3rem); }
a { color: inherit; text-decoration: underline; text-decoration-color: var(--text-3); text-underline-offset: 0.18em; }
a:hover { text-decoration-color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }

/* Masthead */
.mast { display: flex; justify-content: space-between; align-items: center; padding: 1.4rem 0; }
.wordmark { display: inline-flex; align-items: center; gap: 0.3em; text-decoration: none; }
.wordmark svg { width: 1em; height: 1em; font-size: 1.15rem; }
.wordmark span {
  font-family: "Gabarito", system-ui, sans-serif;
  font-weight: 800; font-size: 1.5rem; letter-spacing: -0.03em; line-height: 1;
}
.meta {
  font-family: "Space Grotesk", monospace, sans-serif;
  font-weight: 500; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--text-2);
}

/* Hero */
.hero { padding: clamp(3rem, 10vw, 7.5rem) 0 2.5rem; }
h1 {
  font-family: "Gabarito", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(2.5rem, 7vw, 5rem);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin: 0 0 1.5rem;
  max-width: 15ch;
}
.lede { font-size: 1.25rem; line-height: 1.45; max-width: var(--measure); margin: 0; }

/* Definition — the forge */
.definition {
  margin: 3rem 0 3.5rem;
  padding: 1.5rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 14px;
  max-width: var(--measure);
}
.definition p { margin: 0; }
.definition .word {
  font-family: "Gabarito", system-ui, sans-serif;
  font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em;
}
.definition .spark { width: 0.9em; height: 0.9em; color: var(--accent); vertical-align: -0.08em; margin-right: 0.3em; }
.definition .gram { margin-left: 0.6rem; }
.definition .sense { margin-top: 0.6rem; color: var(--text-2); }

/* Sections */
.block { padding: 2.5rem 0; border-top: 1px solid var(--hairline); max-width: var(--measure); }
h2 {
  font-family: "Gabarito", system-ui, sans-serif;
  font-weight: 700; font-size: 1.45rem; line-height: 1.2; letter-spacing: -0.02em;
  margin: 0 0 1rem;
}
.block p { margin: 0 0 1rem; }
.block p:last-child { margin-bottom: 0; }

.principles { margin: 0; display: grid; gap: 1.25rem; }
.principles dt { font-weight: 700; }
.principles dd { margin: 0.15rem 0 0; color: var(--text-2); }

/* Contact */
.contact form { margin-top: 1.5rem; display: grid; gap: 1rem; max-width: 28rem; }
.row { display: grid; gap: 0.35rem; }
label { font-size: 0.95rem; color: var(--text-2); }
input, textarea {
  font: inherit; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--hairline); border-radius: 12px;
  padding: 0.7rem 0.85rem;
}
input:focus, textarea:focus { border-color: var(--accent); outline: none; }
button {
  justify-self: start;
  font: inherit; font-weight: 700;
  background: var(--accent); color: var(--on-accent);
  border: 0; border-radius: 14px;
  padding: 0.8rem 1.3rem; cursor: pointer;
  min-height: 44px;
}
button:hover { filter: brightness(1.08); }
.hidden { position: absolute; left: -10000px; }

/* Footer */
.foot {
  margin-top: 3rem; padding: 1.5rem 0 2.5rem;
  border-top: 1px solid var(--hairline);
  font-size: 0.9rem; color: var(--text-2);
}
.foot p { margin: 0 0 0.5rem; max-width: var(--measure); }

/* Inner pages */
.narrow { max-width: var(--measure); padding-top: 3rem; }
.narrow h1 { font-size: clamp(2rem, 5vw, 3rem); }
.narrow h2 { font-size: 1.2rem; margin-top: 1.75rem; }

@media (prefers-reduced-motion: no-preference) {
  button, a { transition: filter .15s, text-decoration-color .15s; }
}
