:root {
  --bg: #ffffff;
  --bg-2: #ffffff;
  --ink: #171814;
  --ink-soft: #46483d;
  --line: #c7bea8;
  --accent: #b03a2e;
  --accent-2: #244c3f;
  --font-ui: "DM Sans", "Avenir Next", "Helvetica Neue", sans-serif;
  --font-display: "Manrope", "Avenir Next", "Helvetica Neue", sans-serif;
  --radius: 20px;
  --container: 1120px;
  --gutter: clamp(3.75rem, 1.6vw, 1.1rem);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  color: var(--ink);
  background: #ffffff;
  font-family: var(--font-ui);
  line-height: 1.4;
}

body.menu-open {
  overflow: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

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

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

main {
  padding-top: 4.8rem;
}

.section {
  padding: 2.5rem 0;
}

.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.04;
  background-image: radial-gradient(circle at 20% 20%, rgba(0, 0, 0, 0.22) 0.6px, transparent 0.7px);
  background-size: 12px 12px;
}

.top-frame {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem var(--gutter) 0;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
}

.mini-mark {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mini-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.frame-plus {
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 4.2rem;
  line-height: 1;
  font-weight: 200;
  cursor: pointer;
  padding: 0;
  margin-top: -0.2rem;
  transform: rotate(0deg);
  transform-origin: 50% 50%;
  transition: transform 0.45s ease;
}

.frame-plus:hover,
.frame-plus.is-open {
  transform: rotate(45deg);
}

.top-dropdown {
  position: fixed;
  top: 58px;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateY(-12px);
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.top-dropdown.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.top-dropdown-inner {
  min-height: min(82vh, 760px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  padding-top: clamp(1.2rem, 4vw, 2rem);
  padding-bottom: clamp(1.2rem, 4vw, 2rem);
}

.dropdown-left {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.dropdown-nav {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.dropdown-nav a {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.4vw, 4.2rem);
  color: #1b1d22;
  letter-spacing: -0.04em;
  position: relative;
  width: 100%;
  padding-bottom: 0.6rem;
}

.dropdown-nav a span {
  font-family: var(--font-ui);
  font-size: 0.33em;
  letter-spacing: 0.06em;
  color: #2d2f35;
  white-space: nowrap;
  flex: 0 0 auto;
}

.dropdown-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0.22rem;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 320ms cubic-bezier(.2,.8,.2,1);
}

.dropdown-nav a:hover::after,
.dropdown-nav a:focus-visible::after {
  transform: scaleX(1);
}

.page-hero {
  padding: 7rem 0 2rem;
}

.page-kicker {
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.page-title {
  margin-top: 0.6rem;
  font-size: clamp(2rem, 6vw, 4rem);
}

.page-lead {
  margin-top: 1rem;
  max-width: 72ch;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  background: #0d0e11;
  color: #f2f4f7;
  margin-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer .container {
  padding-top: clamp(2rem, 4vw, 3.4rem);
  padding-bottom: clamp(2rem, 4vw, 3.2rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.1fr) minmax(180px, 0.9fr) minmax(220px, 1fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 0.85rem;
}

.footer-brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-mark {
  width: 72px;
  height: 72px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.footer-brand-name {
  margin: 0;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.22rem;
  letter-spacing: -0.02em;
}

.footer-meta {
  margin: 0;
  color: rgba(237, 239, 245, 0.78);
  font-size: 0.95rem;
  line-height: 1.55;
}

.footer-col-title {
  margin: 0 0 0.8rem;
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.footer-nav,
.footer-contact {
  display: grid;
  gap: 0.55rem;
}

.footer-nav a,
.footer-contact a {
  width: fit-content;
  color: rgba(237, 239, 245, 0.88);
  position: relative;
  padding-bottom: 0.16rem;
}

.footer-nav a::after,
.footer-contact a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.92);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 260ms cubic-bezier(.2,.8,.2,1);
}

.footer-nav a:hover::after,
.footer-nav a:focus-visible::after,
.footer-contact a:hover::after,
.footer-contact a:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .footer-col-title {
    font-size: 1.25rem;
  }
}

@media (max-width: 980px) {
  .top-dropdown-inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
}

@media (max-width: 760px) {
  main {
    padding-top: 4rem;
  }

  .page-kicker {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .top-dropdown {
    top: 50px;
  }

  .dropdown-nav a {
    font-size: 2.6rem;
  }

  .top-frame {
    min-height: 46px;
    gap: 0.35rem;
  }

  .mini-mark {
    width: 22px;
    height: 22px;
  }

  .frame-plus {
    font-size: 3.3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
