/* Mira — holding page
   All desktop values are taken 1:1 from the approved design (Example 1B, colourway 16.3, contact block M1). */

:root {
  --ink: #0F0E0E;
  --ink-soft: #3A3631;
  --paper: #F3F0E7;
  --paper-cream: #D6CFB0;
  --warm-skin: #B28E6D;
  --signal: #D65410;
  --line: 1.5px solid var(--ink);
  --sans: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'Space Mono', ui-monospace, Menlo, monospace;
  --serif: 'Fraunces', 'GT Super Display', Georgia, serif;
  --lift: 4px;
  --ease: cubic-bezier(.2, .7, .3, 1);
}


html {
  -webkit-text-size-adjust: 100%;
  /* always reserve room for the scrollbar, so NL and EN never shift sideways */
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

.page { min-height: 100vh; display: flex; flex-direction: column; box-sizing: border-box; }
main { flex: 1 0 auto; }
img { display: block; max-width: 100%; height: auto; }

/* the small mono type used for the label, the box headers, the switch and the buttons */
.mono {
  font-family: var(--mono);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ---------- header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
  padding: 0 64px;
  border-bottom: var(--line);
}
.site-header .logo-link { display: block; }
.site-header .logo { width: 97px; height: 44px; }

.lang-switch { display: inline-flex; border: var(--line); }
.lang-switch a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 18px;
  color: var(--ink);
  background: transparent;
  text-decoration: none;
  transition: background-color 120ms ease, color 120ms ease;
}
.lang-switch a + a { border-left: var(--line); }
.lang-switch a[aria-current="page"] { background: var(--ink); color: var(--paper); cursor: default; }
.lang-switch a:not([aria-current="page"]):hover { background: #FFFFFF; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 48px 64px 8px;
}
.hero-text { display: flex; flex-direction: column; gap: 22px; }
.hero-text .kicker { margin: 0; }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 72px;
  line-height: 0.96;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-variation-settings: 'opsz' 144, 'SOFT' 0, 'WONK' 0;
}
.hero .lead {
  margin: 0;
  max-width: 580px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 4px 0 0;
  font-size: 16px;
  line-height: 1.4;
}
.status::before {
  content: "";
  width: 14px;
  height: 14px;
  flex: none;
  background: var(--signal);
  border: var(--line);
}
.hero-art { display: flex; justify-content: flex-end; }
.hero-art img { width: 437px; }

/* ---------- contact cards ---------- */
.contacts { padding: 24px 64px 56px; }
.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.card { border: var(--line); background: var(--paper); display: flex; flex-direction: column; }
.card-label { margin: 0; padding: 14px 24px; border-bottom: var(--line); }
.card-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px 26px; }
.card-name { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -0.01em; }
.card-detail { font-size: 17px; }

/* action: a transparent label box joined to a colour block with an arrow.
   Inspired by the 1B spec sheet: on hover the whole block lifts off the page with a hard
   offset shadow and the arrow steps forward; on click it presses back flat. */
.action {
  margin-top: 8px;
  align-self: flex-start;
  display: inline-flex;
  align-items: stretch;
  height: 50px;
  border: var(--line);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 0 0 var(--ink);
  transition: transform 140ms var(--ease), box-shadow 140ms var(--ease);
}
.action-label { display: flex; align-items: center; padding: 0 20px; background: transparent; transition: background-color 140ms ease; }
.action-go {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  border-left: var(--line);
}
.action-go svg { transition: transform 160ms var(--ease); }
.action--skin .action-go { background: var(--warm-skin); }
.action--signal .action-go { background: var(--signal); }
.action--cream .action-go { background: var(--paper-cream); }

.action:hover { transform: translate(calc(var(--lift) * -1), calc(var(--lift) * -1)); box-shadow: var(--lift) var(--lift) 0 var(--ink); }
.action:hover .action-label { background: #FFFFFF; }
.action:hover .action-go svg { transform: translateX(4px); }
.action:active { transform: translate(0, 0); box-shadow: 0 0 0 var(--ink); transition-duration: 60ms; }

/* keyboard focus */
.action:focus-visible,
.lang-switch a:focus-visible,
.logo-link:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

/* ---------- footer ---------- */
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 64px;
  border-top: var(--line);
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .hero h1 { font-size: 60px; }
  .hero-art img { width: 380px; }
}

@media (max-width: 960px) {
  .site-header { height: 80px; padding: 0 32px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 40px 32px 8px; }
  .hero-art { justify-content: flex-start; }
  .hero-art img { width: 340px; }
  .contacts { padding: 24px 32px 48px; }
  .contacts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .site-footer { padding: 20px 32px; }
}

@media (max-width: 640px) {
  .site-header { height: 72px; padding: 0 20px; }
  .site-header .logo { width: 84px; height: 38px; }
  .lang-switch a { height: 40px; padding: 0 14px; }
  .hero { padding: 32px 20px 4px; gap: 28px; }
  .hero h1 { font-size: 42px; line-height: 0.98; }
  .hero .lead { font-size: 17px; }
  .hero-art img { width: 280px; }
  .contacts { padding: 20px 20px 40px; }
  .contacts-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .card-name { font-size: 24px; }
  .site-footer { flex-direction: column; gap: 4px; padding: 18px 20px; }
}

@media (prefers-reduced-motion: reduce) {
  .action, .action-go svg, .action-label, .lang-switch a { transition: none; }
  .action:hover { transform: none; box-shadow: var(--lift) var(--lift) 0 var(--ink); }
  .action:hover .action-go svg { transform: none; }
}

/* accessible, visually hidden headings */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
