/* Fonts ship with the template (SIL OFL, see assets/fonts/OFL-*.txt): no request to Google Fonts.
 * Archivo is one variable file per subset (weights 100 to 900); Hind is three static weights. */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/archivo-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../fonts/archivo-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/hind-400-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 400; font-display: swap; src: url(../fonts/hind-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/hind-500-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 500; font-display: swap; src: url(../fonts/hind-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/hind-600-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Hind"; font-style: normal; font-weight: 600; font-display: swap; src: url(../fonts/hind-600-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Gusset design tokens. Change --brand to recolor the whole template: every accent, button, tag and the 3D scene
 * follow it. The neutrals are pencil graphite and drafting paper on purpose (the shop drawing is the product). */
:root {
  /* color */
  --brand:      oklch(47% 0.13 152);     /* machine-tool green: the press brake, the lathe, the paint on the stair */
  --brand-hi:   oklch(54% 0.14 150);     /* hover: lighter, never darker */
  --brand-deep: oklch(38% 0.12 152);     /* text-size green on paper (AA) */
  --on-brand:   oklch(97% 0.006 90);     /* paper on green */
  --tint:       oklch(92% 0.04 150);     /* pale green panel */
  --hazard:     oklch(86% 0.17 95);      /* safety yellow: the title block stripe, the dimension line, the weld glow */
  --on-hazard:  oklch(22% 0.01 70);
  --dark:       oklch(24% 0.008 70);     /* graphite */
  --dark-2:     oklch(28% 0.009 70);
  --dark-3:     oklch(34% 0.01 70);
  --rule-dark:  oklch(40% 0.01 70);
  --paper:      oklch(96.5% 0.006 90);   /* drafting paper */
  --wash:       oklch(92.5% 0.009 92);   /* the grey band of the sheet */
  --grid:       oklch(88% 0.012 92);     /* the drafting grid line */
  --ink:        oklch(22% 0.01 70);
  --ink-2:      oklch(38% 0.01 70);
  --muted:      oklch(49% 0.01 70);
  --rule:       oklch(85% 0.01 90);
  --on-dark:    oklch(96% 0.006 90);
  --on-dark-2:  oklch(76% 0.01 90);
  --focus:      oklch(60% 0.19 150);
  --error:      oklch(52% 0.18 27);
  --ok:         oklch(50% 0.12 152);
  --weld:       oklch(82% 0.17 70);      /* the hot bead, 3D scene only */
  /* gradients: every dark surface comes from here */
  --grad-dark: linear-gradient(160deg, oklch(19% 0.008 70) 0%, oklch(24% 0.008 70) 55%, oklch(30% 0.03 152) 100%);
  --grad-veil: linear-gradient(180deg, transparent 0%, color-mix(in oklch, var(--dark) 84%, transparent) 100%);
  --grad-side: linear-gradient(90deg, color-mix(in oklch, var(--dark) 94%, transparent) 0%, color-mix(in oklch, var(--dark) 55%, transparent) 55%, transparent 100%);
  --sheet-grid: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  --hatch: repeating-linear-gradient(135deg, var(--hazard) 0 10px, var(--dark) 10px 20px);
  /* type */
  --font-display: "Archivo", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Hind", -apple-system, system-ui, sans-serif;
  --text-sm: 0.875rem; --text-base: 1.0625rem; --text-md: 1.3rem; --text-lg: 1.65rem; --text-xl: 2.15rem; --text-2xl: 2.75rem;
  --text-display: clamp(2.7rem, 4.8vw + 1rem, 5.4rem); --text-display-s: clamp(2.1rem, 3.2vw + 0.9rem, 3.6rem);
  /* space */
  --space-2xs: .25rem; --space-xs: .5rem; --space-sm: .75rem; --space-md: 1rem; --space-lg: 1.5rem; --space-xl: 2.5rem; --space-2xl: 4rem; --space-3xl: 6.5rem; --space-4xl: 10rem;
  --wrap: 78rem;
  /* motion: the press brake. A firm, decelerating stroke; nothing bounces. */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1); --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1); --ease-press: cubic-bezier(0.3, 0.8, 0.1, 1);
  --dur-micro: 140ms; --dur-short: 240ms; --dur-long: 600ms;
  --z-base: 1; --z-raised: 10; --z-dropdown: 100; --z-sticky: 200; --z-modal: 400;
  --radius: 2px; --radius-s: 1px; --radius-l: 4px; --radius-pill: 999px;
  --shadow: 0 1px 2px oklch(22% 0.01 70 / 0.08), 0 18px 40px -22px oklch(22% 0.01 70 / 0.35);
  --shadow-up: 0 2px 4px oklch(22% 0.01 70 / 0.08), 0 28px 48px -22px oklch(22% 0.01 70 / 0.45);
}
@media (prefers-reduced-motion: reduce) { :root { --dur-micro: 1ms; --dur-short: 1ms; --dur-long: 1ms; } }
