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

/* =========================
   BASE
========================= */
html {
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  color: #000000;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

/* =========================
   LAYOUT
========================= */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* =========================
   HEADER
========================= */
header {
  background: #ffffff;
  border-bottom: 1px solid #ececec;
}

.header-inner {
  min-height: 90px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  column-gap: 24px;
}

/* =========================
   NAVIGATION
========================= */
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
  min-width: 0;
}

.header-inner .nav:first-of-type {
  justify-content: flex-start;
}

.header-inner .nav:last-of-type {
  justify-content: flex-end;
}

.nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  padding: 4px 0;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 1px;
  background: #000000;
  transition: width 0.28s ease;
}

.nav a:hover::after,
.nav a.active::after {
  width: 100%;
}

.home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* =========================
   BRAND
========================= */
.brand {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.brand a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #000000;
  white-space: nowrap;
}

.brand img {
  height: 28px;
  width: auto;
  flex: 0 0 auto;
}

.brand div {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1;
  white-space: nowrap;
}

/* =========================
   HERO
========================= */
.hero {
  padding: 120px 0 110px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: start;
}

.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1 {
  font-size: 44px;
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  max-width: 760px;
}

.hero-copy {
  font-size: 18px;
  line-height: 1.7;
  max-width: 420px;
  color: #222222;
}

/* =========================
   SERVICES
========================= */
.services {
  padding: 100px 0;
  background: #ffffff;
  border-top: 1px solid #ececec;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 42px;
}

.service-card {
  padding-top: 18px;
  border-top: 1px solid #000000;
}

.service-index {
  font-size: 12px;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.service-title {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  margin-bottom: 10px;
}

.service-text {
  font-size: 15px;
  line-height: 1.7;
  color: #2f2f2f;
}

/* =========================
   ABOUT
========================= */
.about {
  padding: 100px 0;
  border-top: 1px solid #ececec;
  background: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.about-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.about-text {
  font-size: 18px;
  line-height: 1.7;
  max-width: 560px;
}

/* =========================
   CONTACT
========================= */
.contact {
  padding: 100px 0;
  border-top: 1px solid #ececec;
  background: #ffffff;
}

.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.contact-label {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.contact-title {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.25;
}

.contact-link {
  text-decoration: none;
  font-size: 20px;
  line-height: 1.3;
  white-space: nowrap;
}

/* =========================
   FOOTER
========================= */
.footer-lux {
  padding: 32px 0 40px;
  border-top: 1px solid #ececec;
  background: #ffffff;
}

.footer-inner {
  display: flex;
  justify-content: flex-end;
}

.footer-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-right a {
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* =========================
   TABLET
========================= */
@media (max-width: 1100px) {
  .container {
    padding: 0 28px;
  }

  .hero {
    padding: 90px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =========================
   MOBILE HEADER
========================= */
@media (max-width: 900px) {
  .container {
    padding: 0 14px;
  }

  .header-inner {
    min-height: auto;
    display: grid;
    grid-template-columns: auto auto;
    justify-content: space-between;
    align-items: center;
    row-gap: 10px;
    column-gap: 16px;
    padding: 14px 0 12px;
  }

  .brand {
    grid-column: 1 / -1;
    justify-content: center;
    order: 1;
  }

  .brand a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    white-space: nowrap;
  }

  .brand img {
    height: 22px;
    width: auto;
  }

  .brand div {
    font-size: 9px;
    letter-spacing: 0.14em;
    line-height: 1;
    white-space: nowrap;
  }

  .header-inner .nav:first-of-type,
  .header-inner .nav:last-of-type {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 12px;
    min-width: 0;
  }

  .header-inner .nav:first-of-type {
    order: 2;
    justify-content: flex-start;
  }

  .header-inner .nav:last-of-type {
    order: 3;
    justify-content: flex-end;
  }

  .nav a {
    font-size: 10px;
    letter-spacing: 0.05em;
    white-space: nowrap;
    line-height: 1;
    padding: 2px 0;
  }

  .nav a::after {
    bottom: -3px;
  }

  .home-link svg {
    width: 15px;
    height: 15px;
  }

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

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .eyebrow {
    font-size: 11px;
    margin-bottom: 14px;
  }

  h1 {
    font-size: 28px;
    line-height: 1.15;
  }

  .hero-copy,
  .about-text,
  .service-text {
    font-size: 15px;
  }

  .services,
  .about,
  .contact {
    padding: 68px 0;
  }

  .services-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .service-title {
    font-size: 19px;
  }

  .contact-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .contact-title {
    font-size: 22px;
  }

  .contact-link {
    font-size: 16px;
    white-space: normal;
    word-break: break-word;
  }

  .footer-lux {
    padding: 28px 0 30px;
  }

  .footer-inner {
    justify-content: center;
  }

  .footer-right {
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px 18px;
  }
}

/* =========================
   SMALL MOBILE
========================= */
@media (max-width: 520px) {
  .container {
    padding: 0 12px;
  }

  .header-inner {
    column-gap: 10px;
    row-gap: 8px;
    padding: 12px 0 10px;
  }

  .brand a {
    gap: 8px;
  }

  .brand img {
    height: 20px;
  }

  .brand div {
    font-size: 8px;
    letter-spacing: 0.12em;
  }

  .header-inner .nav:first-of-type,
  .header-inner .nav:last-of-type {
    gap: 10px;
  }

  .nav a {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .home-link svg {
    width: 14px;
    height: 14px;
  }

  h1 {
    font-size: 26px;
  }

  .hero-copy,
  .about-text,
  .service-text {
    font-size: 14px;
  }

  .contact-title {
    font-size: 21px;
  }

  .contact-link {
    font-size: 15px;
  }
}