/* 10000 Suns -- www.10000suns.com
   Generated site: edit build.py, then run `python3 build.py`.
   Unbounded (display) and Manrope (text), self-hosted. Latin subset. */
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/unbounded-600.woff2') format('woff2'); }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/unbounded-700.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/manrope-500.woff2') format('woff2'); }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/assets/fonts/manrope-600.woff2') format('woff2'); }

:root {
  --paper: #ffffff;
  --ink: #111111;
  --ink-soft: #4b4b4b;
  --mute: #8c8c8c;
  --line: #e4e4e4;
  --panel: #f4f4f4;
  --logo-bg: var(--paper);
  --f-display: 'Unbounded', 'Arial Black', system-ui, sans-serif;
  --f-body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --max: 1120px;
  --text: 62ch;
  --radius: 18px;
  --radius-sm: 12px;
  --h1: clamp(2.2rem, 6vw, 5rem);
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #111111; --ink: #ffffff; --ink-soft: #cfcfcf; --mute: #8c8c8c;
    --line: #2b2b2b; --panel: #1c1c1c; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --paper: #111111; --ink: #ffffff; --ink-soft: #cfcfcf; --mute: #8c8c8c;
  --line: #2b2b2b; --panel: #1c1c1c; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; text-wrap: balance; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--max); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }


/* ---------------------------------------------------------------- header */
header {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--paper) 90%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { height: 38px; width: 38px; display: block; }
.brand .word { font-family: var(--f-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; }
.brand .word small { display: block; font-family: var(--f-body); font-weight: 600; font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); line-height: 1.2; }
.header-right { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; gap: 2px; }
.lang-switcher a {
  padding: 6px 9px; border-radius: 8px; color: var(--mute);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none;
}
.lang-switcher a:hover { color: var(--ink); background: var(--panel); }
.lang-switcher a.active { color: var(--paper); background: var(--ink); }
.menu-toggle {
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 11px;
  background: transparent; border: 1px solid var(--line); border-radius: var(--radius-sm); cursor: pointer;
}
.menu-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); }
.menu-toggle:hover, .menu-toggle:focus-visible { border-color: var(--ink); outline: none; }
.menu-panel {
  position: absolute; right: var(--gutter-r); z-index: 50;
  display: flex; flex-direction: column; min-width: 220px; margin-top: 8px; padding: 10px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 2px 4px rgba(0,0,0,0.05), 0 16px 40px rgba(0,0,0,0.12);
}
.menu-panel[hidden] { display: none; }
.menu-panel a { padding: 10px 14px; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; text-decoration: none; }
.menu-panel a:hover { background: var(--panel); }
.menu-panel a.active { background: var(--ink); color: var(--paper); }

/* ------------------------------------------------------------------ hero */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); --logo-bg: var(--ink); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: stretch; --air-top: clamp(56px, 9vw, 112px); --air-bottom: clamp(72px, 9vw, 120px); }
.hero-text { padding-block: var(--air-top) var(--air-bottom); max-width: 640px; }
.eyebrow { font-weight: 600; font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.hero h1 { font-size: var(--h1); }
.hero h1 .thin { display: block; font-weight: 600; font-size: 0.42em; letter-spacing: 0.02em; color: var(--mute); margin-top: 0.35em; }
.hero .lead { max-width: 52ch; margin-top: 26px; font-size: clamp(1.02rem, 1.6vw, 1.18rem); color: color-mix(in srgb, var(--paper) 72%, var(--ink)); }
.hero-logo { display: block; height: calc(100% - var(--air-top) - var(--air-bottom)); width: auto; margin-block: var(--air-top) var(--air-bottom); color: var(--paper); border-radius: 26px; overflow: hidden; }
.hero-logo svg { height: 100%; width: auto; display: block; }
.cta-list { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.cta {
  display: inline-flex; align-items: center; gap: 10px; padding: 13px 24px;
  border: 1px solid currentColor; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.cta:hover { transform: translateY(-1px); }
.cta:focus-visible { outline: 3px solid var(--mute); outline-offset: 3px; }
.cta-solid { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta-solid:hover { background: var(--panel); border-color: var(--panel); }
.cta-ghost { color: var(--paper); border-color: color-mix(in srgb, var(--paper) 40%, transparent); }
.cta-ghost:hover { border-color: var(--paper); }
.page .cta-solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.page .cta-solid:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.page .cta-ghost { color: var(--ink); border-color: var(--line); }
.page .cta-ghost:hover { border-color: var(--ink); }

/* ----------------------------------------------------------------- facts */
.facts { border-bottom: 1px solid var(--line); background: var(--panel); }
.facts-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: 28px; }
.fact-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); }
.fact-value { font-weight: 600; margin-top: 4px; }

/* ------------------------------------------------------------------ page */
.page { padding-block: clamp(56px, 7vw, 96px) clamp(72px, 8vw, 120px); }
.page h2, .page .page-title { font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 18px; }
.page .intro { max-width: var(--text); color: var(--ink-soft); font-size: 1.08rem; }
.page .intro strong { color: var(--ink); font-weight: 600; font-size: 1.18rem; line-height: 1.5; }
.page .intro-sub { display: block; margin-top: 12px; font-size: 1rem; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 44px; }
.service { padding-top: 22px; border-top: 2px solid var(--ink); min-width: 0; }
.service h3 { font-size: 1.05rem; font-weight: 600; margin-bottom: 10px; }
.service p { color: var(--ink-soft); font-size: 0.98rem; }
.creed {
  margin: clamp(64px, 9vw, 120px) auto 0; max-width: 20ch; text-align: center;
  font-family: var(--f-display); font-weight: 600; font-size: clamp(1.35rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance;
}
.creed .sun { display: block; width: 56px; height: 56px; margin: 0 auto 22px; }
.page .cta-list { margin-top: 44px; justify-content: center; }

/* --------------------------------------------------------------- contact */
/* The office card stands beside the whole left column, from the top of the
   heading to the bottom of the e-mail button, and is exactly as tall. */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 48px; align-items: stretch; }
.contact-main { display: flex; flex-direction: column; }
.contact-main .person { margin-top: 44px; }
.contact-main > p:last-child { margin-top: auto; padding-top: 18px; }
.person { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; align-items: center; }
.portrait { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; display: block; background: var(--panel); }
.person-name { font-family: var(--f-display); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; }
.person-role { color: var(--ink-soft); margin-top: 4px; }
.email { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border: 1px solid var(--ink); border-radius: 999px; font-weight: 600; text-decoration: none; color: var(--ink); }
.email:hover { background: var(--ink); color: var(--paper); }
.email svg { width: 20px; height: 20px; }
.office { display: flex; flex-direction: column; justify-content: space-between; margin: 0; padding: 26px 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); min-width: 0; }
.office dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mute); margin-top: 18px; }
.office dt:first-child { margin-top: 0; }
.office dd { margin: 4px 0 0; font-weight: 600; }
.office dd span { display: block; font-weight: 500; color: var(--ink-soft); }
.office .num { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- footer */
footer { margin-top: auto; background: var(--ink); color: var(--mute); font-size: 0.9rem; --logo-bg: var(--ink); }
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding-block: 34px; }
.foot .brand { color: var(--paper); }
.foot .brand svg { height: 32px; width: 32px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 18px; }
.foot-links a { color: var(--mute); font-weight: 600; text-decoration: none; }
.foot-links a:hover { color: var(--paper); }

html, body { min-height: 100%; }
body { display: flex; flex-direction: column; }
main { flex: 1; }

@media (max-width: 760px) {
  body { font-size: 16px; }
  .brand { gap: 9px; }
  .brand svg { width: 32px; height: 32px; }
  .brand .word { font-size: 0.85rem; }
  .header-right { gap: 8px; }
  .lang-switcher { gap: 0; }
  .lang-switcher a { padding: 5px 5px; font-size: 0.7rem; letter-spacing: 0.04em; }
  .hero .wrap { grid-template-columns: 1fr; gap: 0; }
  .hero-text { padding-block: 44px 40px; }
  .hero-logo { height: auto; max-height: none; width: 60%; max-width: 260px; margin: 0 auto 36px; }
  .hero-logo svg { height: auto; width: 100%; }
  .facts-grid, .services, .contact-grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
  .portrait { width: 88px; height: 88px; }
}
@media (prefers-reduced-motion: reduce) { .cta { transition: none; } }

img { max-width: 100%; height: auto; }
[hidden] { display: none !important; }
