/* Self-hosted variable fonts: Archivo (Display) & IBM Plex Sans (UI / Body) */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 600 800;
  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: 600 800;
  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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-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: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-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;
}

:root {
  /* Palette */
  --navy: #102a48;
  --navy-deep: #0b2037;
  --navy-surface: #173456;
  --ink: #152a3e;
  --muted: #4b5a69;
  --ink-on-dark: #ffffff;
  --muted-on-dark: #d7e4ec;
  --sand: #f5f2ec;
  --warm: #f3f1ed;
  --surface-tint: #f8f8f5;
  --line: #dddeda;
  --rule: #dedfdc;
  --mint: #d0eadf;
  --mint-hover: #ebfff3;
  --green: #1d5d4a;
  --green-soft: #e9eeeb;
  --white: #ffffff;
  --focus: #1d5d4a;

  /* Typography */
  --font-display: "Archivo", "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max: 1312px;

  /* Concentric Radii */
  --radius-lg: 10px;
  --radius-md: 6px;
  --radius-sm: 4px;

  /* Elevation Shadows (neutral elevation, no colored glow) */
  --shadow-border:
    0 0 0 1px oklch(0 0 0 / 0.07),
    0 1px 2px -1px oklch(0 0 0 / 0.06),
    0 2px 6px 0 oklch(0 0 0 / 0.04);
  --shadow-border-hover:
    0 0 0 1px oklch(0 0 0 / 0.14),
    0 4px 10px -2px oklch(0 0 0 / 0.08),
    0 2px 4px 0 oklch(0 0 0 / 0.05);
  --shadow-dropdown:
    0 0 0 1px oklch(0 0 0 / 0.08),
    0 12px 28px -4px oklch(0 0 0 / 0.16),
    0 4px 10px -2px oklch(0 0 0 / 0.08);
  --image-outline: 1px solid oklch(0 0 0 / 0.1);

  /* Motion Physics */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --scale-press: 0.96;
}

/* Locale-specific script font fallback stacks */
:lang(zh-Hant) {
  --font-display: "Archivo", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
  --font-body: "IBM Plex Sans", "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}

:lang(ja) {
  --font-display: "Archivo", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --font-body: "IBM Plex Sans", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
}

:lang(ko) {
  --font-display: "Archivo", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
  --font-body: "IBM Plex Sans", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}

:lang(ar) {
  --font-display: "Archivo", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  --font-body: "IBM Plex Sans", "Geeza Pro", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}
