/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/e912d75e-bd4c-4edf-9314-a101c31e0393.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/5f3e8e72-aeae-4699-9ef6-1ad80f4fe12d.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/3b581b56-4eea-4898-beef-1a29972c4fef.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/d27e63a8-eecf-4dc1-beb2-2fad89330b62.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/88d66859-1f0d-4b98-b0b3-1139c911b5b7.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/efcab507-8ad1-4063-84fe-a7c8b8d75a8d.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/d70fbfca-99ea-4dd6-9699-568caf33999c.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/11b88524-f0b0-4be4-9c3e-f42a9250103c.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/eeaedc4d-dc50-451a-859b-56ce7dc800aa.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/adc08c3f-05ba-40b8-8721-402db9979541.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/88680c8c-5789-4259-aece-50d47e04e5ae.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* thai */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/eb62774e-70e8-47d6-9a19-8ef5b6a6ff90.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/94eff0cb-2c0e-4ff0-80c1-2cb3f21cff86.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/4a1e494f-096d-467d-9209-a55ad03ae9bd.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/3b8723eb-136f-48df-9436-d0318f88a019.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* thai */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/357955b5-4a40-4c56-adad-0cca3aac7c59.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/60b482b4-ae9b-4874-9106-69558125a220.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/c6e9af11-63ad-411a-8b5c-74b6db6afb23.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/04323cee-62d6-4db0-bbfc-1c726f85c891.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* thai */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/a23a17b1-3fea-4c72-b96b-55144dd2939a.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/3f303b49-5add-4f18-86fa-775ff07a639d.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/e0d30593-86f2-458e-90fe-5d2e7829577f.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;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/b613c0e6-651a-4d65-b61a-fb8ff0c34e81.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* thai */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/79933771-f893-419b-bd62-fe9ca7b2f51b.woff2") format('woff2');
  unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/7500e636-8ed7-42b1-b512-8f6c884f4899.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Sans Thai';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/53ec9ef2-8605-4b00-a594-15f8a918071e.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;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/b28f0a51-9b5d-445a-ae47-8111045fb019.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("assets/a306d363-ea56-448b-8744-b015b2ed629d.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;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/e4bb9779-a99c-4c67-8c3c-e71a95ed65d5.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/c5bda308-7f2f-4eb2-843a-9d3fff35a211.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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/bea6a523-e6f2-4c94-b404-1700c242c76a.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/9c26aeda-7c58-45bb-a216-ea4c13a58c55.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/1ac48e9a-a63b-4f65-a369-b6f2aeb914df.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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/bea6a523-e6f2-4c94-b404-1700c242c76a.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/9c26aeda-7c58-45bb-a216-ea4c13a58c55.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/1ac48e9a-a63b-4f65-a369-b6f2aeb914df.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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/bea6a523-e6f2-4c94-b404-1700c242c76a.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/9c26aeda-7c58-45bb-a216-ea4c13a58c55.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/1ac48e9a-a63b-4f65-a369-b6f2aeb914df.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;
}
/* vietnamese */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/bea6a523-e6f2-4c94-b404-1700c242c76a.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/9c26aeda-7c58-45bb-a216-ea4c13a58c55.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/1ac48e9a-a63b-4f65-a369-b6f2aeb914df.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 {
    /* CI colors */
    --blue: #2952ff;
    --orange: #ff4810;
    --black: #0a0a0a;
    --cream: #f6f4ef;
    --cream-2: #ecead6;

    /* dark theme — black + blue + orange */
    --bg: var(--black);
    --bg-elev: #131311;     /* cards / cells lifted from bg */
    --bg-elev-2: #1b1a17;   /* deeper lift for nested */
    --ink: var(--cream);
    --ink-soft: #d9d6cc;
    --line: rgba(246,244,239,0.14);
    --line-soft: rgba(246,244,239,0.06);
    --muted: rgba(246,244,239,0.55);
    --accent: var(--blue);
    --accent-2: var(--orange);

    /* Thai fallback in every stack: browser uses per-character font lookup, so
       Latin glyphs come from the primary face and Thai glyphs are picked up by
       IBM Plex Sans Thai automatically — no :lang() switching needed. */
    --eng: 'Space Grotesk', 'IBM Plex Sans Thai', system-ui, sans-serif;
    --thai: 'IBM Plex Sans Thai', 'Space Grotesk', system-ui, sans-serif;
    --mono: 'IBM Plex Mono', 'IBM Plex Sans Thai', ui-monospace, monospace;
    --serif: 'Instrument Serif', 'IBM Plex Sans Thai', 'Times New Roman', serif;
  }

  /* light-flip utility (kept for occasional inverse moments) */
  .light {
    --bg: var(--cream);
    --bg-elev: #ffffff;
    --bg-elev-2: var(--cream-2);
    --ink: var(--black);
    --ink-soft: #1d1d1d;
    --line: rgba(10,10,10,0.12);
    --line-soft: rgba(10,10,10,0.06);
    --muted: rgba(10,10,10,0.58);
    background: var(--bg);
    color: var(--ink);
  }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--eng);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: clip;
  }
  ::selection { background: var(--accent); color: var(--ink); }
  a { color: inherit; text-decoration: none; }
  button { font-family: inherit; cursor: pointer; }

  /* utility */
  .mono { font-family: var(--mono); letter-spacing: .02em; }
  .wrap { max-width: 1640px; margin: 0 auto; padding: 0 48px; }
  @media (max-width: 760px) { .wrap { padding: 0 20px; } }

  /* labels */
  .eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
  }
  .eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 25%, transparent);
    animation: livedot 1.6s ease-in-out infinite;
  }
  @keyframes livedot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .35; transform: scale(.7); }
  }

  /* section chrome */
  section {
    position: relative;
    padding: 140px 0;
    border-top: 1px solid var(--line);
  }
  section.flush { padding: 0; }
  section.dark { border-top-color: rgba(246,244,239,0.16); }

  .sec-head {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 80px;
    margin-bottom: 80px;
    align-items: start;
  }
  .sec-head .pin {
    position: sticky; top: 100px;
  }
  .sec-num {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
    display: flex; gap: 14px; align-items: center;
  }
  .sec-num .ix { color: var(--ink); font-weight: 500; }
  .sec-num .bar { width: 40px; height: 1px; background: var(--ink); }
  .sec-title {
    font-family: var(--eng);
    font-weight: 500;
    font-size: clamp(38px, 5.2vw, 80px);
    line-height: .98;
    letter-spacing: -0.035em;
    margin: 16px 0 0;
    color: var(--ink);
    max-width: 18ch;
  }
  .sec-title em {
    font-style: italic; color: var(--accent);
    font-family: var(--serif); font-weight: 400;
    letter-spacing: -0.025em;
  }
  .sec-lead {
    font-family: var(--thai);
    font-size: clamp(15px, 1.05vw, 18px);
    line-height: 1.6;
    color: var(--muted);
    max-width: 56ch;
    margin: 24px 0 0;
  }
  .sec-lead.en { font-family: var(--eng); }
  @media (max-width: 1000px) {
    section { padding: 100px 0; }
    .sec-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 56px; }
    .sec-head .pin { position: static; }
  }

  /* ===================== NAV ===================== */
  .nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 50;
    backdrop-filter: blur(14px);
    background: color-mix(in srgb, var(--bg) 80%, transparent);
    border-bottom: 1px solid var(--line);
    transition: background .25s, border-color .25s;
  }
  .nav-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 32px;
    padding: 18px 48px;
  }
  .nav-logo { display: flex; align-items: center; gap: 10px; color: var(--ink); }
  .nav-logo svg { height: 26px; width: auto; }
  .nav-logo svg .lm { fill: currentColor; }
  .nav-logo svg .lb { fill: var(--orange); }
  .nav-logo .city {
    font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
    padding-left: 12px; margin-left: 4px;
    border-left: 1px solid var(--line);
  }
  .nav-links {
    display: flex; gap: 32px; justify-self: center;
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  }
  .nav-links a {
    color: var(--muted);
    transition: color .2s;
    position: relative; padding: 4px 0;
  }
  .nav-links a:hover { color: var(--ink); }
  .nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: var(--accent); transition: width .25s;
  }
  .nav-links a:hover::after { width: 100%; }
  .nav-cta {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 12px 18px 12px 22px;
    border-radius: 999px;
    background: var(--ink); color: var(--bg);
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    transition: background .2s, color .2s, transform .2s;
  }
  .nav-cta:hover { background: var(--accent); color: var(--cream); transform: translateY(-1px); }
  .nav-cta .circle {
    width: 24px; height: 24px; border-radius: 50%;
    background: rgba(10,10,10,.12);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 11px;
    transition: transform .25s, background .25s;
  }
  .nav-cta:hover .circle { transform: rotate(-45deg); background: rgba(246,244,239,.22); }
  @media (max-width: 900px) {
    .nav-inner { grid-template-columns: auto auto; padding: 14px 20px; }
    .nav-links { display: none; }
  }

  /* ===================== HERO ===================== */
  .hero {
    padding: 140px 48px 60px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
  }
  .hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 64px;
    align-items: center;
    min-height: 70vh;
  }
  .hero-left { display: flex; flex-direction: column; gap: 32px; }
  .hero-tag {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 10px 18px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
    align-self: flex-start;
    background: var(--bg-elev);
  }
  .hero-tag .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--accent-2);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-2) 25%, transparent);
    animation: livedot 1.6s ease-in-out infinite;
  }
  .hero-tag .city { color: var(--ink); font-weight: 500; }
  .hero-tag .sep { color: var(--line); }

  .hero-h1 {
    font-family: var(--eng);
    font-weight: 500;
    font-size: clamp(48px, 8vw, 142px);
    line-height: .92;
    letter-spacing: -0.05em;
    margin: 0;
    color: var(--ink);
  }
  .hero-h1 em {
    font-family: var(--serif);
    font-style: italic;
    font-weight: 400;
    color: var(--accent);
    letter-spacing: -0.04em;
  }
  /* rotor */
  .hero-h1 .rotor {
    display: inline-block;
    height: .98em;
    line-height: .98;
    overflow: hidden;
    vertical-align: top;
    position: relative;
    min-width: 6ch;
  }
  .hero-h1 .rotor-stack {
    display: flex; flex-direction: column;
    animation: rotor-cycle 12s infinite cubic-bezier(.7,0,.2,1);
  }
  .hero-h1 .rotor-stack span {
    display: block; height: .98em; line-height: .98;
    font-family: var(--serif); font-style: italic; font-weight: 400;
    color: var(--accent); letter-spacing: -0.04em;
    white-space: nowrap;
  }
  @keyframes rotor-cycle {
    0%, 22%   { transform: translateY(0); }
    25%, 47%  { transform: translateY(-100%); }
    50%, 72%  { transform: translateY(-200%); }
    75%, 97%  { transform: translateY(-300%); }
    100%      { transform: translateY(-400%); }
  }
  .hero-h1 .stop {
    display: inline-block;
    width: .18em; height: .18em;
    border-radius: 50%; background: var(--accent-2);
    vertical-align: baseline;
    margin-left: .02em;
    transform: translateY(-.06em);
  }

  .hero-sub {
    font-family: var(--thai);
    font-size: clamp(15px, 1.15vw, 19px);
    line-height: 1.6;
    color: var(--muted);
    max-width: 52ch;
    margin: 0;
  }
  .hero-sub .accent { color: var(--ink); }

  .hero-ctas {
    display: flex; gap: 16px; align-items: center; flex-wrap: wrap;
  }
  .btn-primary {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 16px 22px 16px 26px;
    border-radius: 999px;
    background: var(--ink); color: var(--bg);
    font-family: var(--eng); font-weight: 500;
    font-size: 16px; letter-spacing: -0.01em;
    transition: background .25s, color .25s, transform .25s;
  }
  .btn-primary:hover { background: var(--accent); color: var(--cream); transform: translateY(-2px); }
  .btn-primary .circle {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(10,10,10,.14);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: transform .25s, background .25s;
  }
  .btn-primary:hover .circle { transform: rotate(-45deg); background: rgba(246,244,239,.22); }
  .btn-ghost {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 16px 0;
    border-bottom: 1px solid var(--ink);
    color: var(--ink);
    font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
    transition: color .2s, border-color .2s;
  }
  .btn-ghost:hover { color: var(--accent-2); border-color: var(--accent-2); }

  .hero-meta {
    display: flex; gap: 36px; flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid var(--line);
    margin-top: 8px;
  }
  .hero-meta .kv { display: flex; flex-direction: column; gap: 4px; }
  .hero-meta .kv .k {
    font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
  }
  .hero-meta .kv .v {
    font-family: var(--eng); font-weight: 500;
    font-size: 17px; letter-spacing: -0.01em;
    color: var(--ink);
  }
  .hero-meta .kv .v em { font-style: normal; color: var(--accent-2); }

  /* hero right — featured visual */
  .hero-right {
    position: relative;
    align-self: stretch;
    display: flex;
  }
  .hero-card {
    position: relative;
    width: 100%;
    border-radius: 32px;
    overflow: hidden;
    background: var(--bg-elev);
    color: var(--cream);
    aspect-ratio: 4/5;
    box-shadow: 0 30px 80px rgba(0,0,0,.4), inset 0 0 0 1px rgba(246,244,239,.06);
    transition: transform .6s cubic-bezier(.2,.8,.2,1);
  }
  .hero-card:hover { transform: translateY(-6px); }
  .hero-card .hc-bg {
    position: absolute; inset: 0;
    background:
      radial-gradient(circle at 30% 20%, color-mix(in srgb, var(--accent) 80%, white 10%), transparent 60%),
      linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 60%, var(--black)) 100%);
  }
  .hero-card .hc-dots {
    position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,.14) 1.5px, transparent 2px) 0 0 / 26px 26px;
    mix-blend-mode: overlay;
    animation: hcDots 28s linear infinite;
  }
  @keyframes hcDots { from { transform: translate(0,0); } to { transform: translate(26px, 26px); } }
  .hero-card .hc-mark {
    position: absolute;
    right: -2%; bottom: -8%;
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: 78%; line-height: .82;
    /* compute via vh-aware below using clamp */
    letter-spacing: -0.08em;
    color: var(--cream);
    pointer-events: none; user-select: none;
    z-index: 2;
    font-size: clamp(280px, 50vh, 540px);
    opacity: .96;
  }
  .hero-card .hc-mark .bang { color: var(--accent-2); }

  /* pill at top of card */
  .hc-tag {
    position: absolute; left: 22px; top: 22px; z-index: 4;
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 14px 8px 10px;
    background: rgba(246,244,239,.94);
    color: var(--ink);
    border-radius: 999px;
    font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
    backdrop-filter: blur(6px);
  }
  .hc-tag .live {
    width: 7px; height: 7px; border-radius: 50%; background: var(--orange);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 25%, transparent);
    animation: livedot 1.6s ease-in-out infinite;
  }
  /* sticker on right side */
  .hc-sticker {
    position: absolute; right: -34px; top: 32%;
    z-index: 5;
    width: 132px; height: 132px;
    border-radius: 50%;
    background: var(--accent-2);
    color: var(--cream);
    display: flex; align-items: center; justify-content: center; text-align: center;
    font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
    line-height: 1.35;
    box-shadow: 0 14px 40px rgba(10,10,10,.25);
    animation: stickerSpin 18s linear infinite;
  }
  .hc-sticker b {
    font-family: var(--eng); font-weight: 500; font-size: 28px;
    letter-spacing: -0.02em; line-height: 1; text-transform: none;
    display: block; margin-bottom: 2px;
  }
  @keyframes stickerSpin {
    from { transform: rotate(-10deg); }
    to { transform: rotate(350deg); }
  }
  /* quote at bottom of card */
  .hc-quote {
    position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 4;
    color: var(--cream);
  }
  .hc-quote .qlbl {
    font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    opacity: .85; margin-bottom: 8px;
  }
  .hc-quote .qbig {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: clamp(22px, 1.7vw, 30px); line-height: 1.18; letter-spacing: -0.02em;
    max-width: 26ch;
  }

  /* hero stat strip below */
  .hero-stats {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 22px 0 0;
    margin-top: 56px;
    border-top: 1px solid var(--line);
  }
  .hero-stats .label {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
  }
  .hero-stats .label strong { color: var(--ink); font-weight: 500; }
  .hero-stats .logos {
    display: flex; align-items: center; justify-content: center;
    gap: clamp(20px, 3vw, 44px);
    flex-wrap: wrap;
    font-family: var(--eng); font-weight: 500;
    font-size: clamp(15px, 1.1vw, 19px);
    letter-spacing: -0.01em;
    color: var(--muted);
  }
  .hero-stats .logos span { transition: color .2s; }
  .hero-stats .logos span:hover { color: var(--ink); }
  .hero-stats .est {
    font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
    white-space: nowrap;
  }
  .hero-stats .est strong { color: var(--accent); font-weight: 500; }

  @media (max-width: 1080px) {
    .hero { padding: 120px 32px 40px; }
    .hero-grid { grid-template-columns: 1fr; gap: 48px; min-height: auto; }
    .hero-card { aspect-ratio: 5/4; }
    .hero-card .hc-mark { font-size: clamp(220px, 36vw, 380px); }
    .hc-sticker { right: 16px; top: -34px; }
    .hero-stats { grid-template-columns: 1fr; text-align: center; }
  }
  @media (max-width: 640px) {
    .hero { padding: 100px 20px 32px; }
    .hc-sticker { width: 100px; height: 100px; font-size: 9px; right: 12px; top: -24px; }
    .hc-sticker b { font-size: 22px; }
  }

  /* ===================== MANIFESTO ===================== */
  .manifesto-quote {
    font-family: var(--serif);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(36px, 5vw, 80px);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--ink);
    margin: 0;
    max-width: 22ch;
  }
  .manifesto-quote .em-blue { color: var(--accent); }
  .manifesto-quote .em-orange { color: var(--accent-2); font-style: italic; }
  .manifesto-quote::before {
    content: '"';
    font-size: 1.6em; color: var(--accent-2);
    line-height: 0; vertical-align: -.4em; margin-right: .04em;
  }

  .manifesto-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: 1px solid var(--line);
    margin-top: 80px;
  }
  .mf-cell {
    padding: 36px 32px 32px;
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 12px;
    background: var(--bg);
    transition: background .3s;
  }
  .mf-cell:hover { background: var(--bg-elev); }
  .mf-cell:last-child { border-right: none; }
  .mf-cell .num {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--accent-2);
  }
  .mf-cell h3 {
    font-family: var(--eng); font-weight: 500;
    font-size: clamp(22px, 1.8vw, 28px); letter-spacing: -0.02em;
    margin: 4px 0 6px;
    color: var(--ink);
  }
  .mf-cell h3 em { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
  .mf-cell p {
    font-family: var(--thai); font-size: 14.5px; line-height: 1.6;
    color: var(--muted); margin: 0;
  }
  @media (max-width: 900px) {
    .manifesto-grid { grid-template-columns: 1fr; }
    .mf-cell { border-right: none; border-bottom: 1px solid var(--line); }
    .mf-cell:last-child { border-bottom: none; }
  }

  /* ===================== SERVICES ===================== */
  .services-list {
    border-top: 1px solid var(--ink);
    margin: 0 -48px;
  }
  @media (max-width: 760px) { .services-list { margin: 0 -20px; } }

  .svc-row {
    display: grid;
    grid-template-columns: 90px 110px 1fr 1.4fr 80px;
    gap: 32px;
    align-items: center;
    padding: 36px 48px;
    border-bottom: 1px solid var(--line);
    position: relative;
    cursor: pointer;
    transition: padding-left .35s, background .35s;
    color: var(--ink);
    background: var(--bg);
  }
  .svc-row::before {
    content: '';
    position: absolute; inset: 0;
    background: var(--accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    z-index: 0;
  }
  .svc-row > * { position: relative; z-index: 1; }
  .svc-row:hover { color: var(--cream); padding-left: 72px; }
  .svc-row:hover::before { transform: scaleY(1); transform-origin: top; }
  .svc-row .num {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
    color: var(--muted);
    transition: color .35s;
  }
  .svc-row:hover .num { color: rgba(246,244,239,.7); }
  .svc-row .icon {
    width: 86px; height: 86px;
    color: var(--ink);
    transition: color .35s, transform .5s cubic-bezier(.2,.8,.2,1);
  }
  .svc-row:hover .icon { color: var(--accent-2); transform: rotate(-6deg) scale(1.05); }
  .svc-row .icon svg { width: 100%; height: 100%; }
  .svc-row .icon svg * { fill: currentColor; }
  .svc-row .name {
    font-family: var(--eng); font-weight: 500;
    font-size: clamp(28px, 3vw, 44px);
    letter-spacing: -0.025em;
    line-height: 1;
  }
  .svc-row .name em {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    color: var(--accent);
    transition: color .35s;
  }
  .svc-row:hover .name em { color: var(--accent-2); }
  .svc-row .desc {
    font-family: var(--thai);
    font-size: 14.5px; line-height: 1.55;
    color: var(--muted);
    max-width: 48ch;
    transition: color .35s;
  }
  .svc-row:hover .desc { color: rgba(246,244,239,.85); }
  .svc-row .arrow {
    font-family: var(--mono); font-size: 24px;
    text-align: right;
    color: var(--muted);
    transition: transform .35s, color .35s;
  }
  .svc-row:hover .arrow { transform: translateX(10px); color: var(--cream); }
  @media (max-width: 1100px) {
    .svc-row { grid-template-columns: 60px 1fr; row-gap: 8px; padding: 28px 24px; }
    .svc-row:hover { padding-left: 48px; }
    .svc-row .icon { grid-row: span 2; width: 56px; height: 56px; }
    .svc-row .num { display: none; }
    .svc-row .desc { grid-column: 2; }
    .svc-row .arrow { display: none; }
  }

  /* ===================== WORK / BENTO ===================== */
  .work-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
    gap: 16px;
  }
  .wb {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    background: var(--bg-elev);
    display: flex; flex-direction: column;
    cursor: pointer;
    transition: transform .4s cubic-bezier(.2,.8,.2,1);
    /* Keep anchor versions of .wb visually identical to the original divs —
       no underline, inherit text colour, no implicit focus outline. */
    text-decoration: none; color: inherit;
  }
  .wb:hover { transform: translateY(-4px); }
  .wb .thumb {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: var(--accent);
    color: var(--cream);
    display: flex; align-items: center; justify-content: center;
  }
  .wb .thumb .mark {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: clamp(72px, 9vw, 168px);
    line-height: .8; letter-spacing: -0.05em;
    color: var(--cream);
    text-align: center;
    z-index: 2;
    padding: 16px;
  }
  .wb .thumb .mark .small {
    display: block; font-family: var(--mono); font-style: normal;
    font-size: .14em;
    letter-spacing: .14em; text-transform: uppercase;
    margin-top: 14px;
    color: rgba(246,244,239,.78);
  }
  .wb .thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,.12) 1.5px, transparent 2px) 0 0 / 22px 22px;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
  }
  /* Real project image fills the thumb when one is available. Letter mark is
     hidden via .has-image so the photo isn't competing with a giant glyph.
     Tag overlay sits above with its own dark pill background. */
  .wb .thumb-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
  }
  .wb.has-image .thumb { background: #1a1916; }
  .wb.has-image .thumb .mark { display: none; }
  .wb.has-image .thumb::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, transparent 35%, transparent 65%, rgba(0,0,0,.35) 100%);
    pointer-events: none;
    z-index: 1;
  }
  .wb .tag { z-index: 2; }
  .wb .tag {
    position: absolute; top: 14px; left: 14px;
    background: rgba(10,10,10,.6); color: var(--cream);
    padding: 5px 10px;
    font-family: var(--mono); font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
    border-radius: 999px; backdrop-filter: blur(6px);
    z-index: 3;
  }
  .wb .info {
    padding: 16px 20px 18px;
    background: var(--bg-elev);
    border-top: 1px solid var(--line);
  }
  .wb .info .brand {
    font-family: var(--eng); font-weight: 500;
    font-size: 17px; letter-spacing: -0.01em;
    color: var(--ink);
    display: flex; justify-content: space-between; align-items: center; gap: 8px;
  }
  .wb .info .brand .arr { color: var(--muted); transition: transform .25s, color .25s; }
  .wb:hover .info .brand .arr { transform: translateX(6px); color: var(--accent-2); }
  .wb .info .proj {
    font-family: var(--thai); font-size: 12.5px; line-height: 1.45;
    color: var(--muted); margin-top: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  /* color variants — black/blue/orange palette */
  .wb.t-orange .thumb { background: var(--accent-2); }
  .wb.t-black .thumb { background: #1a1916; }
  .wb.t-black .thumb .mark { color: var(--cream); }
  .wb.t-deep .thumb { background: #0d1b4d; }
  .wb.t-deep .thumb .mark { color: var(--cream); }
  .wb.t-split .thumb { background: linear-gradient(135deg, var(--blue) 0 50%, var(--orange) 50% 100%); }
  .wb.t-radial .thumb {
    background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--blue) 85%, white 10%), color-mix(in srgb, var(--blue) 50%, black 30%));
  }

  /* sizes */
  .wb.s-8 { grid-column: span 8; grid-row: span 3; }
  .wb.s-4 { grid-column: span 4; grid-row: span 3; }
  .wb.s-6 { grid-column: span 6; grid-row: span 3; }
  .wb.s-4-2 { grid-column: span 4; grid-row: span 2; }
  .wb.s-8-2 { grid-column: span 8; grid-row: span 2; }
  .wb.s-12 { grid-column: span 12; grid-row: span 2; }
  @media (max-width: 1100px) {
    .work-grid { grid-template-columns: repeat(6, 1fr); }
    .wb.s-8, .wb.s-6, .wb.s-8-2, .wb.s-12 { grid-column: span 6; }
    .wb.s-4, .wb.s-4-2 { grid-column: span 3; }
  }
  @media (max-width: 640px) {
    .work-grid { grid-template-columns: 1fr; }
    .wb.s-8, .wb.s-6, .wb.s-8-2, .wb.s-12, .wb.s-4, .wb.s-4-2 { grid-column: span 1; }
  }

  .work-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    margin-top: 48px; flex-wrap: wrap;
  }
  .work-foot p {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); margin: 0;
  }
  .work-foot p strong { color: var(--ink); font-weight: 500; }

  /* ===================== NUMBERS (slightly lifted) ===================== */
  .numbers-section {
    background: var(--bg-elev);
    color: var(--ink);
    padding: 140px 0;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
  }
  .numbers-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,.04) 1.2px, transparent 1.5px) 0 0 / 32px 32px;
    pointer-events: none;
  }
  .numbers-section .sec-title em { color: var(--accent-2); }

  .num-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid var(--line);
  }
  .num-cell {
    padding: 56px 32px;
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 16px;
    position: relative;
    background: var(--bg-elev);
    transition: background .3s;
  }
  .num-cell:hover { background: var(--bg-elev-2); }
  .num-cell:last-child { border-right: none; }
  .num-cell .lbl {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
  }
  .num-cell .big {
    font-family: var(--eng); font-weight: 500;
    font-size: clamp(64px, 8vw, 132px); line-height: .92;
    letter-spacing: -0.045em;
    color: var(--ink);
  }
  .num-cell .big em {
    font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--accent-2);
  }
  .num-cell .big.blue em { color: var(--accent); }
  .num-cell .desc {
    font-family: var(--thai); font-size: 14px; line-height: 1.55;
    color: var(--muted); max-width: 32ch; margin: 0;
  }
  @media (max-width: 1000px) {
    .num-row { grid-template-columns: 1fr 1fr; }
    .num-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .num-cell:nth-child(2n) { border-right: none; }
    .num-cell:nth-child(n+3) { border-bottom: none; }
  }
  @media (max-width: 600px) {
    .num-row { grid-template-columns: 1fr; }
    .num-cell { border-right: none; }
    .num-cell:last-child { border-bottom: none; }
  }

  /* ===================== INDUSTRIES ===================== */
  .industries-list {
    display: flex; flex-wrap: wrap; gap: 0;
    font-family: var(--eng); font-weight: 500;
    line-height: 1; letter-spacing: -0.03em;
    margin-top: 16px;
  }
  .industries-list span {
    font-size: clamp(32px, 4.5vw, 72px);
    padding: 12px 28px 12px 0;
    color: var(--muted);
    transition: color .3s;
    display: inline-flex; align-items: center; gap: 22px;
    cursor: default;
  }
  .industries-list span:hover { color: var(--accent); }
  .industries-list span::after {
    content: '/';
    color: var(--line);
    font-weight: 300;
  }
  .industries-list span:last-child::after { content: ''; }

  /* ===================== CLIENTS ===================== */
  .clients-meta {
    display: flex; justify-content: space-between; align-items: end; gap: 32px;
    margin-bottom: 32px; flex-wrap: wrap;
  }
  .clients-meta .count {
    font-family: var(--eng); font-weight: 500;
    font-size: clamp(28px, 2.4vw, 36px); letter-spacing: -0.02em;
    color: var(--ink);
    display: flex; align-items: baseline; gap: 8px;
  }
  .clients-meta .count b {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    color: var(--accent); font-size: 1.4em;
  }
  .clients-meta .note {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
  }
  .clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }
  .client-cell {
    aspect-ratio: 1;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    padding: 20px;
    transition: background .25s;
    background: var(--bg-elev);
    position: relative;
    overflow: hidden;
  }
  .client-cell:hover { background: color-mix(in srgb, var(--accent) 14%, var(--bg-elev)); }
  .client-cell img {
    max-width: 75%; max-height: 60%;
    object-fit: contain;
    filter: grayscale(1) brightness(1.6) contrast(.7) invert(.85);
    mix-blend-mode: screen;
    opacity: .8;
    transition: filter .25s, opacity .25s, mix-blend-mode .25s;
  }
  .client-cell:hover img { filter: none; opacity: 1; mix-blend-mode: normal; }
  @media (max-width: 900px) {
    .clients-grid { grid-template-columns: repeat(4, 1fr); }
  }
  @media (max-width: 600px) {
    .clients-grid { grid-template-columns: repeat(3, 1fr); }
  }

  /* ===================== BLOG / INSIGHTS ===================== */
  .blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .blog-card {
    display: flex; flex-direction: column;
    background: var(--bg-elev);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .4s cubic-bezier(.2,.8,.2,1), background .3s;
    cursor: pointer;
    position: relative;
  }
  .blog-card:hover { transform: translateY(-6px); background: var(--bg-elev-2); }
  .blog-thumb {
    aspect-ratio: 16/10;
    position: relative;
    overflow: hidden;
    background: var(--accent);
    display: flex; align-items: center; justify-content: center;
  }
  .blog-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(255,255,255,.1) 1.5px, transparent 2px) 0 0 / 22px 22px;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 1;
  }
  /* Cover image fills the thumb when the article has one. has-image hides the
     glyph so the photo isn't competing with a giant serif letter. */
  .blog-thumb-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    z-index: 0;
  }
  .blog-thumb.has-image { background: #1a1916; }
  .blog-thumb.has-image .glyph { display: none; }
  .blog-thumb .glyph {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    font-size: clamp(96px, 10vw, 168px);
    line-height: .8; letter-spacing: -0.05em;
    color: var(--cream);
    z-index: 2;
    position: relative;
  }
  .blog-thumb.t-orange { background: var(--accent-2); }
  .blog-thumb.t-deep { background: #0d1b4d; }
  .blog-card .cat {
    position: absolute; top: 16px; left: 16px;
    z-index: 3;
    background: rgba(10,10,10,.55); color: var(--cream);
    padding: 6px 12px;
    border-radius: 999px;
    font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase;
    backdrop-filter: blur(6px);
  }
  .blog-body {
    padding: 24px 26px 28px;
    display: flex; flex-direction: column; gap: 12px;
    flex: 1;
  }
  .blog-meta {
    display: flex; align-items: center; gap: 12px;
    font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted);
  }
  .blog-meta .dot {
    width: 4px; height: 4px; border-radius: 50%; background: var(--muted);
  }
  .blog-title {
    font-family: var(--eng); font-weight: 500;
    font-size: clamp(20px, 1.6vw, 26px);
    letter-spacing: -0.02em; line-height: 1.2;
    color: var(--ink); margin: 0;
  }
  .blog-title em {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    color: var(--accent-2);
  }
  .blog-excerpt {
    font-family: var(--thai); font-size: 13.5px; line-height: 1.55;
    color: var(--muted); margin: 0;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .blog-foot {
    margin-top: auto; padding-top: 14px;
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid var(--line);
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--ink);
  }
  .blog-foot .arr { transition: transform .25s, color .25s; color: var(--muted); }
  .blog-card:hover .blog-foot .arr { transform: translateX(6px); color: var(--accent-2); }
  @media (max-width: 1000px) {
    .blog-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 640px) {
    .blog-grid { grid-template-columns: 1fr; }
  }
  .blog-foot-link {
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    margin-top: 48px; flex-wrap: wrap;
  }
  .blog-foot-link p {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); margin: 0;
  }
  .blog-foot-link p strong { color: var(--ink); font-weight: 500; }

  /* ===================== CONTACT (slightly lifted) ===================== */
  .contact-section {
    background: var(--bg);
    color: var(--ink);
    padding: 180px 0 60px;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--line);
  }
  .contact-h {
    font-family: var(--eng); font-weight: 500;
    font-size: clamp(64px, 12vw, 220px);
    line-height: .9; letter-spacing: -0.05em;
    margin: 0 0 56px;
  }
  .contact-h em {
    font-family: var(--serif); font-style: italic; font-weight: 400;
    color: var(--accent-2);
  }
  .contact-h .arr {
    display: inline-block; transform: rotate(-32deg);
    font-style: normal; color: var(--accent);
    margin-left: .08em;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }
  .ct-cell {
    padding: 36px 32px;
    border-right: 1px solid var(--line);
    display: flex; flex-direction: column; gap: 8px;
    background: var(--bg);
    transition: background .3s;
  }
  .ct-cell:hover { background: var(--bg-elev); }
  .ct-cell:last-child { border-right: none; }
  .ct-cell h4 {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    color: var(--muted); margin: 0 0 8px; font-weight: 400;
  }
  .ct-cell a, .ct-cell p {
    font-family: var(--eng); font-weight: 500;
    font-size: clamp(17px, 1.3vw, 22px); letter-spacing: -0.01em;
    color: var(--ink); margin: 0;
    transition: color .2s;
  }
  .ct-cell a:hover { color: var(--accent-2); }
  .ct-cell .th { font-family: var(--thai); font-weight: 400; font-size: 14px; color: var(--muted); }
  .ct-cell .th a { font: inherit; color: var(--muted); transition: color .2s; }
  .ct-cell .th a:hover { color: var(--accent-2); }

  .contact-cta {
    margin-top: 56px;
    display: flex; justify-content: space-between; align-items: end; gap: 24px;
    flex-wrap: wrap;
  }
  .contact-cta .lead {
    font-family: var(--thai); font-size: 15px; line-height: 1.55;
    color: var(--muted); max-width: 56ch; margin: 0;
  }
  .contact-cta .pill {
    display: inline-flex; align-items: center; gap: 14px;
    padding: 18px 22px 18px 28px;
    border-radius: 999px;
    background: var(--accent-2); color: var(--cream);
    font-family: var(--eng); font-weight: 500; font-size: 18px;
    transition: background .25s, transform .25s;
  }
  .contact-cta .pill:hover { background: var(--accent); transform: translateY(-2px); }
  .contact-cta .pill .circle {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(246,244,239,.18);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 14px;
    transition: transform .25s, background .25s;
  }
  .contact-cta .pill:hover .circle { transform: rotate(-45deg); background: rgba(246,244,239,.28); }
  @media (max-width: 1000px) {
    .contact-grid { grid-template-columns: 1fr 1fr; }
    .ct-cell { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .ct-cell:nth-child(2n) { border-right: none; }
    .ct-cell:nth-child(n+3) { border-bottom: none; }
  }
  @media (max-width: 600px) {
    .contact-grid { grid-template-columns: 1fr; }
    .ct-cell { border-right: none; }
    .ct-cell:last-child { border-bottom: none; }
  }

  /* ===================== FOOTER ===================== */
  footer.bot {
    background: var(--bg-elev);
    color: var(--muted);
    padding: 32px 0;
    border-top: 1px solid var(--line);
  }
  footer.bot .wrap {
    display: grid; grid-template-columns: 1fr auto 1fr;
    align-items: center; gap: 24px;
  }
  footer.bot .so {
    display: flex; align-items: center; gap: 12px;
    color: var(--cream);
    font-family: var(--eng); font-weight: 500;
    font-size: 18px;
  }
  footer.bot .so svg { height: 22px; }
  footer.bot .so svg .lm { fill: var(--cream); }
  footer.bot .so svg .lb { fill: var(--orange); }
  footer.bot .meta, footer.bot .v {
    font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
    justify-self: end;
  }
  footer.bot .meta { justify-self: center; }
  @media (max-width: 700px) {
    footer.bot .wrap { grid-template-columns: 1fr; text-align: center; }
    footer.bot .meta, footer.bot .v { justify-self: center; }
  }

  /* ===================== FADE-IN ON SCROLL ===================== */
  .fadein {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .8s cubic-bezier(.2,.8,.2,1), transform .8s cubic-bezier(.2,.8,.2,1);
  }
  .fadein.in { opacity: 1; transform: translateY(0); }
  @media (prefers-reduced-motion: reduce) {
    .fadein { opacity: 1; transform: none; transition: none; }
  }

