/* ===========================================================
   Lumae — one-page site
   Palette:  #FFFFFF bg / #14151A ink / #5B5F68 muted
             #E4000F accent / #B8000C accent-dark / #E7E7EA line
   Type:     Space Grotesk (display) + IBM Plex Sans (body/UI)
   =========================================================== */

:root {
  --bg: #ffffff;
  --ink: #14151a;
  --muted: #5b5f68;
  --line: #e7e7ea;
  --accent: #e4000f;
  --accent-dark: #b8000c;
  --accent-ink: #ffffff;

  --header-h: 92px;
  --header-h-mobile: 72px;

  --font-display: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  --font-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;

  --max-w: 1160px;
}

/* -------------------- Reset -------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, dl, dd, h1, h2, h3, p { margin: 0; }
button { font: inherit; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}

/* -------------------- Header -------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(20, 21, 26, 0.02);
}

.header-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 52px; width: auto; }

.primary-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-link {
  position: relative;
  font-size: 0.95rem;
  color: var(--ink);
  padding: 6px 0;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--accent);
  transition: right 0.25s ease;
}
.nav-link:hover::after,
.nav-link.is-active::after {
  right: 0;
}
.nav-link.is-active { color: var(--accent-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* -------------------- Hero -------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  background-image: url("images/hero-bg.jpg");
  background-size: cover;
  background-position: center 30%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10, 10, 12, 0.35) 0%, rgba(10, 10, 12, 0.15) 30%, rgba(10, 10, 12, 0.55) 78%, rgba(10, 10, 12, 0.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 96px;
  color: #fff;
}
.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 5.4vw, 4.1rem);
  line-height: 1.1;
  max-width: 15ch;
  letter-spacing: -0.01em;
}

.scroll-cue {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
}
.scroll-cue-line {
  width: 1px;
  height: 34px;
  background: rgba(255, 255, 255, 0.65);
  position: relative;
}
.scroll-cue-line::after {
  content: "";
  position: absolute;
  left: -3px;
  bottom: -1px;
  width: 7px;
  height: 7px;
  border-right: 1px solid rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.9);
  transform: rotate(45deg);
}

/* -------------------- Services -------------------- */
.services { background: var(--bg); }

.services-intro {
  padding: 128px 0 64px;
}
.services-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
  max-width: 16ch;
}
.services-lead {
  margin-top: 22px;
  max-width: 62ch;
  font-size: 1.05rem;
  color: var(--muted);
}

.service-list {
  border-top: 1px solid var(--line);
}
.service-row {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.service-head {
  display: flex;
  align-items: center;
  gap: 14px;
}
.service-icon {
  flex: none;
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: var(--accent);
}
.service-icon svg {
  width: 100%;
  height: 100%;
}
.service-name {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: -0.01em;
}
.service-desc {
  color: var(--muted);
  max-width: 58ch;
  font-size: 1rem;
}

/* Statement block — full-bleed accent moment */
.statement-block {
  background: var(--accent);
  color: var(--accent-ink);
  margin-top: 96px;
}
.statement-inner {
  padding: 96px 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.statement-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.statement-text p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 54ch;
}
.statement-text p + p { margin-top: 18px; }
.statement-goal {
  font-weight: 500;
  color: #fff;
}

/* -------------------- Contacts -------------------- */
.contacts { background: var(--bg); }
.contacts-inner {
  padding: 128px 32px 140px;
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}
.contacts-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
}
.contacts-details {
  margin-top: 40px;
  border-top: 1px solid var(--line);
}
.contacts-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.contacts-item dt {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 8px;
}
.contacts-item dd {
  margin: 0;
  font-size: 1.05rem;
}
.contact-email {
  color: var(--accent);
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}
.contact-email:hover { border-bottom-color: var(--accent); }

.contacts-map {
  width: 100%;
  height: 460px;
  border: 1px solid var(--line);
}
.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.02);
}

/* -------------------- Footer -------------------- */
.site-footer {
  border-top: 1px solid var(--line);
}
.footer-inner {
  padding: 36px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.footer-logo { height: 32px; width: auto; opacity: 0.85; }
.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 880px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .statement-inner {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 72px 32px;
  }
  .contacts-inner {
    grid-template-columns: 1fr;
    padding: 96px 32px 110px;
    gap: 40px;
  }
  .contacts-map { height: 360px; }
}

@media (max-width: 680px) {
  :root { --header-h: var(--header-h-mobile); }

  .header-inner { padding: 0 20px; }
  .section-inner { padding-left: 20px; padding-right: 20px; }

  .brand-logo { height: 32px; }
  .footer-logo { height: 26px; }

  .nav-toggle { display: flex; }

  .primary-nav {
    position: fixed;
    top: var(--header-h-mobile);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .primary-nav.is-open { max-height: 240px; }
  .primary-nav .nav-link {
    width: 100%;
    padding: 16px 20px;
    border-bottom: 1px solid var(--line);
  }
  .nav-link::after { display: none; }
  .nav-link.is-active { background: #faf5f5; }

  .hero-content { padding: 0 20px 64px; }
  .scroll-cue { right: 20px; bottom: 28px; }

  .services-intro { padding: 88px 0 48px; }
  .statement-block { margin-top: 64px; }
  .statement-inner { padding: 56px 20px; }
  .contacts-inner { padding: 72px 20px 88px; }
  .contacts-map { height: 300px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 20px;
  }
}
