:root {
  --color-text: #111;
  --color-bg: #fafafa;
  --color-dark: #030303;
  --color-white: #ffffff;

  --color-overlay: #030303;

  --fs-brand: 1.1rem;
  --fs-hero-tag: clamp(1.6rem, 3vw, 2rem);
  --fs-overlay-links: 2rem;

  --radius-card: 18px;

  --shadow-card: 0 18px 40px rgba(0,0,0,0.08);
  --border-card: 1px solid rgba(0,0,0,0.03);

  --transition-fast: 250ms ease;
  --transition-mid: 350ms ease;
  --transition-burger: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  min-height: 100vh;
  font-family: "Futura","Futura PT","Century Gothic","CenturyGothic","AppleGothic",Arial,sans-serif;
  background: var(--color-bg);
  color: var(--color-text);
  overflow-x: hidden;
}

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.25rem;
  z-index: 30;
}

.brand {
  font-size: var(--fs-brand);
  font-weight: 600;
  letter-spacing: .05em;
}

/* MENU TOGGLE */

.menu {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  padding: 0;
  width: 40px;
  height: 40px;
  justify-content: center;
  align-items: center;
  outline: none;
}

.menu:focus-visible {
  outline: none;
}

.menu svg {
  width: 32px;
  height: 32px;
}

.line {
  fill: none;
  stroke: var(--color-white);
  stroke-width: 6;
  transition:
    stroke-dasharray var(--transition-burger),
    stroke-dashoffset var(--transition-burger),
    filter var(--transition-mid);
}

.line1 { stroke-dasharray: 60 207; }
.line2 { stroke-dasharray: 60 60; }
.line3 { stroke-dasharray: 60 207; }

.menu.opened .line1 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.menu.opened .line2 {
  stroke-dasharray: 1 60;
  stroke-dashoffset: -30;
}

.menu.opened .line3 {
  stroke-dasharray: 90 207;
  stroke-dashoffset: -134;
}

.menu.glow .line {
  filter: drop-shadow(0 0 14px rgba(255,255,255,0.55));
}

/* OVERLAY */

.menu-overlay {
  position: fixed;
  inset: 0;
  background: var(--color-overlay);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  font-size: var(--fs-overlay-links);
  letter-spacing: .03em;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition-fast), visibility var(--transition-fast);
  z-index: 20;
}

.menu-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay a {
  color: var(--color-white);
  text-decoration: none;
  font-weight: 500;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity var(--transition-mid),
    transform var(--transition-mid);
}

.menu-overlay.active a { opacity: 1; transform: translateY(0); }

.menu-overlay.active a:nth-child(1) { transition-delay: 80ms; }
.menu-overlay.active a:nth-child(2) { transition-delay: 150ms; }
.menu-overlay.active a:nth-child(3) { transition-delay: 220ms; }
.menu-overlay.active a:nth-child(4) { transition-delay: 290ms; }
.menu-overlay.active a:nth-child(5) { transition-delay: 360ms; }

/* HERO */

.hero {
  padding: 110px 1.5rem 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-inner {
  max-width: 520px;
  width: 100%;
  text-align: center;
}

.hero-tag {
  font-size: var(--fs-hero-tag);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-dark);
  margin-bottom: 1.75rem;
}

.logo-card {
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 1.75rem 2rem 1.5rem;
  box-shadow: var(--shadow-card);
  border: var(--border-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.logo-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo-wrapper img {
  max-width: 320px;
  width: 100%;
  height: auto;
  display: block;
}

.hero-divider {
  width: 80px;
  height: 1px;
  background: #e0e0e0;
}

.contact-info {
  font-size: .95rem;
  color: #333;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.contact-info span {
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .75rem;
  color: #555;
}

.contact-info a {
  color: var(--color-dark);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: .04em;
}

.contact-info a:hover {
  text-decoration: underline;
}


/* FOCUS RESET  */

.menu {
  -webkit-tap-highlight-color: transparent;  
}

.menu:focus {
  outline: none;
}

.menu:focus-visible {
  outline: none; 
}

.menu::-moz-focus-inner {
  border: 0; 
}


/* MEDIA QUERIES */

@media (max-width: 360px) {
  .brand { font-size: .95rem; }
  .menu svg { width: 28px; height: 28px; }
  .hero { padding: 95px 1rem 35px; }
  .hero-tag { font-size: 1.3rem; letter-spacing: .08em; }
  .logo-wrapper img { max-width: 230px; }
}

@media (max-width: 480px) {
  .menu-overlay { font-size: 1.6rem; gap: 1.6rem; }
  .logo-card { padding: 1.5rem 1.5rem 1.25rem; }
  .contact-info { font-size: .85rem; }
}

@media (max-width: 768px) {
  header { padding: 0 1.1rem; }
  .hero { padding: 120px 1.2rem 40px; }
  .logo-wrapper img { max-width: 280px; }
}

@media (max-width: 1024px) {
  .hero-inner { max-width: 600px; }
  .logo-card { padding: 2rem 2.5rem; border-radius: 20px; }
  .hero-tag { font-size: 2.1rem; }
  .menu-overlay { font-size: 2rem; }
}

@media (max-width: 1300px) {
  header { padding: 0 2rem; }
  .hero { padding-top: 150px; padding-bottom: 60px; }
  .logo-card { max-width: 540px; }
}

@media (min-width: 1400px) {
  .hero-tag { font-size: 2.3rem; }
  .logo-wrapper img { max-width: 360px; }
  .logo-card { padding: 2.3rem 3rem 2rem; }
}
