/* HELVETIKOS landing — v2: cream / navy / sage / terracotta, ii.inc-mood, no build */

:root {
  /* CI palette (docs/ci/HelvetikosLogog_colorpalete.png) */
  --navy: #174b85;
  --navy-deep: #0f3464;
  --cream: #f2ebd9;
  --cream-paper: #ede3cb;
  --cream-soft: #f7f1e1;
  --sage: #7c9557;
  --terracotta: #c67547;
  --swiss-red: #da291c;

  --ink: #141820;
  --ink-soft: #2b303a;
  --muted: #5c6570;

  --border: rgba(23, 75, 133, 0.14);
  --border-soft: rgba(23, 75, 133, 0.08);
  --hair: rgba(124, 149, 87, 0.35);

  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --serif: "Iowan Old Style", "Palatino", "Book Antiqua", Georgia,
    "Times New Roman", serif;

  --max: 62rem;
  --max-text: 44rem;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
}

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.15s var(--ease), opacity 0.15s var(--ease);
}

a:hover {
  color: var(--terracotta);
}

/* ----- Top bar ----- */

.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 1.25rem;
  background: rgba(242, 235, 217, 0.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand img {
  display: block;
  height: 2.6rem;
  width: auto;
  /* Logo PNG has cream background — blend it into the page. */
  mix-blend-mode: multiply;
}

.lang {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.lang-label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-right: 0.35rem;
}

.lang-btn {
  appearance: none;
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.15s var(--ease), background 0.15s var(--ease),
    border-color 0.15s var(--ease);
}

.lang-btn:hover {
  color: var(--navy);
  border-color: var(--border);
}

.lang-btn.is-active {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

/* ----- Shared ----- */

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  margin: 0 0 1.1rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.35rem;
  height: 1px;
  background: var(--terracotta);
  vertical-align: middle;
  margin-right: 0.65rem;
  transform: translateY(-2px);
}

.section-headline {
  margin: 0 0 1.25rem;
  font-family: var(--sans);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.1;
  color: var(--navy-deep);
}

.section-lead {
  max-width: var(--max-text);
  margin: 0 0 2.5rem;
  font-size: clamp(1.1rem, 1.75vw, 1.25rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

section.band {
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--border-soft);
}

section.band:first-of-type {
  border-top: none;
}

section.band.alt {
  background: var(--cream-paper);
}

/* ----- Hero ----- */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 6rem 1.5rem 4.5rem;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    radial-gradient(80% 60% at 85% 10%, rgba(198, 117, 71, 0.14) 0%, transparent 60%),
    radial-gradient(60% 50% at 10% 90%, rgba(124, 149, 87, 0.16) 0%, transparent 55%),
    var(--cream);
}

.hero::after {
  /* Hairline divider under hero */
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--hair) 50%,
    transparent 100%
  );
}

.hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}

.hero-kicker {
  margin: 0 0 1.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
}

.hero-kicker .dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--swiss-red);
  border-radius: 1px;
  margin: 0 0.55rem;
  transform: translateY(-1px);
}

.hero-headline {
  margin: 0 0 2rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(2.85rem, 7.4vw, 6rem);
  line-height: 0.98;
  letter-spacing: -0.028em;
  color: var(--navy-deep);
  max-width: 18ch;
}

.hero-headline .line {
  display: block;
}

.hero-headline .line--italic {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--terracotta);
}

.hero-sub {
  max-width: 44rem;
  margin: 0;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

.scroll-hint {
  position: absolute;
  left: 50%;
  bottom: 1.75rem;
  transform: translateX(-50%);
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  animation: float-hint 3.2s ease-in-out infinite;
}

@keyframes float-hint {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
    opacity: 0.55;
  }
  50% {
    transform: translateX(-50%) translateY(6px);
    opacity: 0.95;
  }
}

/* ----- Who / Manifesto ----- */

.who-grid {
  display: grid;
  gap: 1.75rem 3rem;
  max-width: var(--max-text);
}

@media (min-width: 780px) {
  .who-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }
}

.who-grid p {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.who-grid p strong {
  color: var(--navy-deep);
  font-weight: 600;
}

/* ----- Hub ----- */

.hub-grid {
  display: grid;
  gap: 1.5rem;
  border-top: 1px solid var(--border-soft);
}

@media (min-width: 780px) {
  .hub-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
}

.hub-item {
  padding: 2.25rem 0 0.25rem;
  border-top: 1px solid var(--border);
  margin-top: -1px; /* collapse with hub-grid top border */
}

@media (min-width: 780px) {
  .hub-item + .hub-item {
    padding-left: 2.5rem;
    border-left: 1px solid var(--border-soft);
  }
  .hub-item:first-child {
    padding-right: 2.5rem;
  }
}

.hub-item h3 {
  margin: 0 0 0.65rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--terracotta);
  letter-spacing: -0.01em;
}

.hub-item p {
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.hub-item p strong {
  color: var(--navy-deep);
  font-weight: 600;
}

/* ----- Pillars (Was wir bauen) ----- */

.pillars {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: pillar;
}

.pillars li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  grid-template-areas:
    "num title"
    ".   body";
  column-gap: 1.1rem;
  row-gap: 0.35rem;
  padding: 1.85rem 0;
  border-top: 1px solid var(--border-soft);
  align-items: baseline;
}

.pillars li:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.pillar-num {
  grid-area: num;
}

.pillars h3 {
  grid-area: title;
}

.pillars p {
  grid-area: body;
}

@media (min-width: 780px) {
  .pillars li {
    grid-template-columns: 5rem minmax(11rem, 15rem) 1fr;
    grid-template-areas: "num title body";
    column-gap: 2.25rem;
    row-gap: 0;
  }
}

.pillar-num {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.15rem;
  color: var(--sage);
  letter-spacing: 0.04em;
}

.pillars h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy-deep);
  letter-spacing: -0.005em;
}

.pillars p {
  margin: 0.35rem 0 0;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 38rem;
}

@media (min-width: 780px) {
  .pillars p {
    margin-top: 0;
  }
}

/* ----- Technology ----- */

.tech-lead {
  max-width: var(--max-text);
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.tech-lead strong {
  color: var(--navy-deep);
  font-weight: 600;
}

.tech-link {
  margin: 0;
  font-size: 0.95rem;
}

.tech-link a {
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
  letter-spacing: 0.02em;
}

.tech-link a:hover {
  border-bottom-color: var(--terracotta);
}

/* ----- Contact ----- */

.contact-list {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  max-width: var(--max-text);
}

.contact-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1.25rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--border-soft);
  align-items: baseline;
}

.contact-row:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.contact-row dt {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-row dd {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink);
}

.contact-row dd a {
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2px;
}

.contact-row dd a:hover {
  border-bottom-color: var(--terracotta);
}

/* ----- Footer ----- */

footer {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: rgba(242, 235, 217, 0.85);
  font-size: 0.86rem;
  line-height: 1.6;
  padding: 3rem 1.5rem 3.5rem;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--cream);
}

footer a:hover {
  color: var(--terracotta);
}

footer strong {
  color: #fff;
  font-weight: 600;
}

footer code {
  font-size: 0.78em;
  background: rgba(255, 255, 255, 0.08);
  padding: 0.12em 0.4em;
  border-radius: 4px;
}

.footer-note {
  margin-top: 0.5rem;
  opacity: 0.7;
  font-size: 0.78rem;
}

/* ----- Reduced motion ----- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
