:root {
  --ink: #231f20;
  --ink-soft: #4a4648;
  --grey: #636466;
  --line: #e3e3e5;
  --bg-alt: #f5f5f6;
  --accent: #f7931d;
  --accent-dark: #d97a0b;
  --wrap: 1080px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-dark);
}

h1,
h2,
h3 {
  line-height: 1.2;
  margin: 0;
}

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

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(180%) blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 80px;
}

.site-logo {
  display: block;
  line-height: 0;
}

.site-logo img {
  width: 240px;
  height: auto;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  border-bottom-color: var(--accent);
}

/* Hero */

.hero {
  background: var(--ink);
  color: #fff;
  padding: 48px 0 64px;
}

.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.01em;
  max-width: 17em;
}

.trace {
  position: relative;
  width: min(420px, 70%);
  height: 2px;
  margin: 32px 0 28px;
  background: var(--accent);
}

.trace::after {
  content: "";
  position: absolute;
  right: -12px;
  top: -6px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
}

.hero .lead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  color: #d6d5d6;
  max-width: 36em;
  margin: 0 0 36px;
}

.hero .lead a {
  color: #fff;
  text-decoration-color: var(--accent);
  text-underline-offset: 3px;
}

.button {
  display: inline-block;
  background: var(--accent);
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 4px;
  transition: background 0.15s ease;
}

.button:hover,
.button:focus-visible {
  background: #ffa43a;
}

/* Sections */

.section {
  padding: 88px 0;
}

.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  width: fit-content;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  margin-top: 14px;
  background: var(--accent);
}

.section-intro {
  color: var(--grey);
  margin: 18px 0 0;
  font-size: 1.1rem;
}

/* Brands */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 44px;
}

.brand-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(35, 31, 32, 0.04), 0 8px 24px rgba(35, 31, 32, 0.06);
}

.brand-logo {
  display: flex;
  align-items: center;
  width: 100%;
  height: 150px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.brand-logo-fi {
  width: auto;
  height: 126px;
}

.brand-logo-sm {
  width: 280px;
  height: auto;
}

.brand-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.brand-card p {
  color: var(--ink-soft);
  margin: 0 0 28px;
  flex: 1;
}

/* History */

.timeline {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  max-width: 820px;
}

.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 24px;
  padding: 0 0 40px;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 72px;
  top: 10px;
  bottom: -10px;
  width: 2px;
  background: var(--line);
}

.timeline li:last-child::before {
  display: none;
}

.timeline li::after {
  content: "";
  position: absolute;
  left: 66px;
  top: 6px;
  width: 10px;
  height: 10px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: var(--bg-alt);
}

.year {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1.6;
}

.timeline h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.timeline p {
  margin: 0;
  color: var(--ink-soft);
}

.history-close {
  max-width: 820px;
  margin: 8px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 32px;
  margin-top: 40px;
}

.contact-grid h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 10px;
}

.contact-grid address,
.contact-grid p {
  font-style: normal;
  margin: 0;
  font-size: 1.05rem;
}

/* Footer */

.site-footer {
  background: var(--ink);
  color: #a9a7a8;
  font-size: 14px;
  padding: 28px 0;
}

.site-footer p {
  margin: 0;
}

/* Small screens */

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  html {
    scroll-padding-top: 0;
  }

  .site-header {
    position: static;
  }

  .header-inner {
    flex-direction: column;
    gap: 6px;
    padding: 12px 24px 8px;
  }

  .site-nav {
    gap: 22px;
  }

  .hero {
    padding: 64px 0 72px;
  }

  .section {
    padding: 64px 0;
  }

  .brand-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .brand-card {
    padding: 28px 24px;
  }

  .timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
    padding-left: 28px;
  }

  .timeline li::before {
    left: 6px;
    top: 16px;
  }

  .timeline li::after {
    left: 0;
  }
}
