/* Two-tone editorial: a flat colour panel carries the name,
   the ground carries the contact. System fonts only. Shared by every language. */
:root {
  /* brand constants, same in both modes */
  --panel:     #1b2b25;
  --on-panel:  #f3efe7;
  --accent:    #ff5b2e;

  /* ground: light */
  --ground:    #f3efe7;
  --text:      #16181a;
  --text-dim:  #67645c;
  --border:    rgba(22, 24, 26, 0.16);

  --font: 'Avenir Next', 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
  --track: 0.2em;
  --fs-label: 0.72rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --panel:    #15221d;
    --ground:   #0b0d0c;
    --text:     #f3efe7;
    --text-dim: #8e8c85;
    --border:   rgba(243, 239, 231, 0.14);
  }
}

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

body {
  font-family: var(--font);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.page {
  display: grid;
  grid-template-columns: 56% 44%;
  min-height: 100vh;
  min-height: 100svh;
}

.panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 4rem;
  padding: clamp(2rem, 6vw, 6rem);
}
.panel--brand { background: var(--panel); color: var(--on-panel); }
.panel--contact { justify-content: flex-end; }
.panel__in { max-width: 36rem; }

.eyebrow {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.6rem;
}
.panel--brand .eyebrow { color: rgba(243, 239, 231, 0.6); }

.top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
}

.mark,
.lang {
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: var(--track);
  text-transform: uppercase;
}
.mark::after {
  content: '';
  display: inline-block;
  width: 6px; height: 6px;
  margin-left: 0.7em;
  background: var(--accent);
  vertical-align: middle;
}

.lang {
  text-decoration: none;
  opacity: 0.6;
  border-bottom: 1px solid transparent;
  transition: opacity 0.25s, border-color 0.25s;
}
.lang:hover { opacity: 1; border-bottom-color: var(--accent); }

h1 {
  font-size: clamp(2.2rem, 5.2vw, 4.4rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 1.8rem;
}

.tagline {
  font-size: clamp(1.2rem, 1.9vw, 1.6rem);
  font-weight: 400;
  line-height: 1.35;
  text-wrap: balance;
  margin-bottom: 1.4rem;
}

.body-copy { max-width: 44ch; opacity: 0.8; }

h2 {
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 2.2rem;
}

.email {
  display: inline-block;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.25rem;
  transition: border-color 0.25s;
  overflow-wrap: anywhere;
}
.email:hover { border-bottom-color: var(--accent); }

.links {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin-top: 1.4rem;
  color: var(--text-dim);
}
.links a { display: block; line-height: 0; transition: color 0.25s; }
.links a:hover { color: var(--accent); }
.icon { width: 1.25rem; height: 1.25rem; }

.footer {
  margin-top: clamp(3rem, 8vw, 6rem);
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  font-size: var(--fs-label);
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

@media (max-width: 860px) {
  .page { grid-template-columns: 1fr; min-height: 0; }
  .panel--brand { min-height: 72svh; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
