@charset "UTF-8";

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/inter-var-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+2013-2014, U+2018-2019, U+201C-201D, U+2026, U+00B7;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/assets/inter-var-latin-ext.woff2') format('woff2');
  unicode-range: U+011E-011F, U+0130, U+015E-015F;
}

:root {
  --bg: #faf8f3;
  --text: #1a202e;
  --text-soft: #5c5a52;
  --accent: #2c4a72;
  --rule: #8a6a4f;
  --rule-text: #8a6a4f;
  --rule-soft: color-mix(in srgb, #8a6a4f 40%, transparent);
  --status: #3f9e63;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14181f;
    --text: #e8e2d6;
    --text-soft: #a8a396;
    --accent: #8fadd4;
    --rule: #8a6a4f;
    --rule-text: #a5815e;
    --rule-soft: color-mix(in srgb, #8a6a4f 50%, transparent);
    --status: #57b87b;
  }
}

:root[data-theme="light"] {
  --bg: #faf8f3;
  --text: #1a202e;
  --text-soft: #5c5a52;
  --accent: #2c4a72;
  --rule: #8a6a4f;
  --rule-text: #8a6a4f;
  --rule-soft: color-mix(in srgb, #8a6a4f 40%, transparent);
  --status: #3f9e63;
  color-scheme: light;
}
:root[data-theme="dark"] {
  --bg: #14181f;
  --text: #e8e2d6;
  --text-soft: #a8a396;
  --accent: #8fadd4;
  --rule: #8a6a4f;
  --rule-text: #a5815e;
  --rule-soft: color-mix(in srgb, #8a6a4f 50%, transparent);
  --status: #57b87b;
  color-scheme: dark;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.62;
  font-variant-numeric: tabular-nums;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 2px; }

.sheet { max-width: 880px; margin: 0 auto; padding: 64px 32px 48px; }

header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-bottom: 32px;
  border-bottom: 2px solid var(--rule);
}
header img { border-radius: 12px; }
h1 { font-size: 38px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.15; }
.tagline { margin-top: 6px; font-size: 16px; }
.loc { margin-top: 2px; font-size: 14px; color: var(--text-soft); }
.ref {
  margin-left: auto;
  align-self: flex-start;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  text-align: right;
  line-height: 1.8;
}
.ref-links { margin-top: 8px; }
.ref-links a {
  display: inline-block;
  padding: 12px 4px;
  margin: -8px -4px;
  color: var(--accent);
}

.ref-links .lang {
  display: inline-block;
  text-decoration: none;
  padding: 13px 10px;
  margin: -9px -4px -9px -10px;
}
.ref-links .lang span {
  display: inline-block;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  padding: 1.5px 5px;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: 0.08em;
}
.ref-links .tbtn {
  background: none;
  border: 0;
  color: var(--accent);
  cursor: pointer;
  padding: 16px 15px;
  margin: -12px -15px -12px -5px;
}
.ref-links .tbtn svg { vertical-align: -3px; }
.ref-links .tbtn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

@media (min-width: 681px) {
  header { position: relative; }
  header img { flex-shrink: 0; }
  header > div:not(.ref) { flex-shrink: 1; min-width: 0; }
  header .ref { align-self: stretch; display: flex; flex-direction: column; align-items: flex-end; padding-top: 42px; }
  header .ref p:last-child { margin-top: auto; }
  header .ref > p:first-child { position: absolute; top: 0; right: 0; white-space: nowrap; }
  section > h2, section > div:first-child { position: sticky; top: 24px; align-self: start; }
}

section {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--rule-soft);
}
h2 {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-soft);
  line-height: 1.6;
}
h2 .no {
  display: block;
  color: var(--rule-text);
  font-size: 12px;
  margin-bottom: 6px;
}
.colnote { font-size: 12px; color: var(--text-soft); margin-top: 8px; }
.cell { max-width: 620px; }
ul { list-style: none; }
li { padding-left: 22px; position: relative; }
li + li { margin-top: 14px; }
li::before { content: "\2014"; position: absolute; left: 0; top: 0; color: var(--rule); }
.brands { font-size: 14px; color: var(--text-soft); line-height: 2.1; }
.now p + p { margin-top: 14px; }
.principles .pr + .pr, .cases .pr + .pr { margin-top: 26px; }
.principles h3, .cases h3 { font-size: 15px; font-weight: 600; color: var(--text); }
.principles h3 + p, .cases h3 + p { margin-top: 6px; }
.bio p { font-size: 15.5px; color: var(--text-soft); }
.contact a { display: inline-block; padding: 10px 0; margin: -6px 0; }
.contact li::before { top: 4px; }

footer {
  padding-top: 24px;
  font-size: 14px;
  color: var(--text-soft);
}
.status {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 12px;
  color: var(--text-soft);
}
.status .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--status);
  margin-right: 8px;
}
@media (max-width: 440px) {
  .status .sep { display: none; }
  .status .s2 { display: block; padding-left: 16px; }
}

.nf { padding-top: 22vh; }
.nf p { margin-top: 12px; color: var(--text-soft); }

@media (max-width: 680px) {
  .sheet { padding: 44px 22px 40px; }
  header { flex-wrap: wrap; gap: 18px; }
  h1 { font-size: 34px; }
  .ref { margin-left: 0; width: 100%; text-align: left; }
  section { grid-template-columns: 1fr; gap: 18px; padding: 34px 0; }
}
