/* Shared base for Yulia Zamyatina's site — palette and type taken from her Figma portfolio (Nov 2026). */
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("fonts/DMSans-Italic.woff2") format("woff2"); font-weight: 100 1000; font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-style: italic; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/DMMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("fonts/DMMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Permanent Marker"; src: url("fonts/PermanentMarker-Regular.woff2") format("woff2"); font-display: swap; }

:root {
  --paper: #F5F3ED;
  --paper-2: #ECE9E1;
  --white: #FFFFFF;
  --ink: #141512;
  --ink-2: #4A4C46;
  --ink-3: #8A8B85;
  --night: #20241F;
  --lime: #E8F58B;
  --red: #E5233D;
  --line: rgba(20, 21, 18, .14);
  --sans: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --mono: "DM Mono", ui-monospace, Menlo, monospace;
  --marker: "Permanent Marker", "Marker Felt", cursive;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.5; font-optical-sizing: auto; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }

.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; }
.serif-i { font-family: var(--serif); font-style: italic; font-weight: 400; }
.marker { font-family: var(--marker); color: var(--red); }
.chip { display: inline-block; background: var(--lime); padding: 6px 10px; font-family: var(--mono); font-size: 12px; letter-spacing: .03em; }
