:root {
  --bg: #f6f4f0;
  --bg-strong: #111821;
  --bg-soft: #efe9df;
  --card: #ffffff;
  --accent: #d3542a;
  --accent-dark: #a63f1c;
  --ink: #111821;
  --ink-soft: #43505d;
  --stroke: rgba(17, 24, 33, 0.12);
  --shadow: 0 20px 60px rgba(17, 24, 33, 0.12);
  --radius: 18px;
}

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

body {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
}

.scroll-elevator {
  position: fixed;
  right: -20px;
  top: 0;
  width: 130px;
  height: 220px;
  opacity: 1;
  z-index: 5;
  pointer-events: auto;
  transform: translateY(120px);
  transition: opacity 0.3s ease;
  overflow: visible;
  isolation: isolate;
  cursor: grab;
  touch-action: none;
}

.scroll-elevator.is-grabbing {
  cursor: grabbing;
}

.elevator-frame {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: transparent;
  filter: none;
}

.elevator-frame-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(2% 18% 2% 18% round 48% 48% 48% 48%);
}

.elevator-car {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 26px 26px 18px 18px;
  border: 2px solid rgba(83, 62, 20, 0.45);
  background:
    radial-gradient(circle at 50% 12%, rgba(255, 240, 208, 0.9), rgba(214, 176, 96, 0.35) 55%, transparent 58%),
    linear-gradient(180deg, rgba(246, 221, 169, 0.98), rgba(201, 155, 68, 0.9) 55%, rgba(174, 118, 40, 0.88));
  box-shadow:
    0 14px 30px rgba(17, 24, 33, 0.18),
    inset 0 0 0 2px rgba(255, 244, 214, 0.35),
    inset 0 -12px 18px rgba(92, 62, 18, 0.35);
  overflow: hidden;
  z-index: 2;
}

.elevator-car::before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  top: 6px;
  height: 10px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.5), rgba(180, 140, 60, 0.7) 40%, rgba(80, 50, 10, 0.5));
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.25);
  opacity: 0.6;
}

.elevator-car::after {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 6px;
  height: 12px;
  border-radius: 10px;
  background:
    linear-gradient(90deg, rgba(120, 85, 28, 0.9), rgba(255, 225, 170, 0.75), rgba(120, 85, 28, 0.9));
  box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.25);
  opacity: 0.8;
}

.elevator-trim {
  position: absolute;
  left: 6px;
  right: 6px;
  top: 10px;
  bottom: 10px;
  border-radius: 24px 24px 16px 16px;
  border: 1px solid rgba(255, 232, 170, 0.7);
  box-shadow:
    inset 0 0 10px rgba(92, 62, 18, 0.25),
    inset 0 0 0 1px rgba(117, 82, 28, 0.4),
    inset 0 2px 6px rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

.elevator-rivets {
  position: absolute;
  inset: 6px 6px 6px 6px;
  border-radius: 24px 24px 16px 16px;
  background:
    radial-gradient(circle, rgba(255, 248, 222, 0.9) 0 2px, transparent 3px) left 8px top 10px / 12px 12px repeat-y,
    radial-gradient(circle, rgba(255, 248, 222, 0.9) 0 2px, transparent 3px) right 8px top 10px / 12px 12px repeat-y;
  opacity: 0.85;
  pointer-events: none;
}

.elevator-light {
  position: absolute;
  inset: 10px 14px 20px;
  background: radial-gradient(circle at 50% 30%, rgba(98, 175, 255, 0.85), rgba(35, 97, 190, 0.35) 55%, transparent 75%);
  opacity: 0;
  transition: opacity 0.6s ease;
  filter: drop-shadow(0 0 12px rgba(70, 140, 255, 0.4));
  z-index: 1;
}

.elevator-indicator {
  position: absolute;
  top: 14px;
  left: 18px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 10px;
  background: rgba(18, 24, 32, 0.85);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.4);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  color: #d6ebff;
  text-transform: uppercase;
  z-index: 4;
}

.elevator-indicator .indicator-arrow {
  color: #9ad0ff;
  font-size: 0.6rem;
}

.elevator-door {
  position: absolute;
  top: 14px;
  bottom: 14px;
  width: 50%;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.4), transparent 45%, rgba(60, 40, 10, 0.2)),
    linear-gradient(180deg, rgba(255, 240, 208, 0.98), rgba(178, 128, 44, 0.98));
  border: 1px solid rgba(99, 72, 20, 0.35);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.8s ease;
  z-index: 2;
}

.door-left {
  left: 0;
  border-right: 0;
}

.door-right {
  right: 0;
  border-left: 0;
}

.elevator-window {
  position: absolute;
  left: 16px;
  right: 16px;
  top: 18px;
  bottom: 18px;
  border-radius: 14px;
  border: 1px solid rgba(17, 24, 33, 0.2);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.02) 45%, rgba(0, 0, 0, 0.15)),
    rgba(18, 22, 30, 0.25);
  backdrop-filter: blur(1px);
  opacity: 0.55;
  z-index: 3;
}

.elevator-window::before {
  content: "";
  position: absolute;
  inset: 10px 8px auto 8px;
  height: 26px;
  border-radius: 12px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  opacity: 0.7;
}

.elevator-panel {
  position: absolute;
  right: 18px;
  top: 72px;
  width: 10px;
  height: 50px;
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.6), rgba(60, 40, 10, 0.35));
  box-shadow:
    inset 0 0 4px rgba(0, 0, 0, 0.3),
    0 0 8px rgba(0, 0, 0, 0.2);
  opacity: 0.7;
  z-index: 4;
}

.elevator-text {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 22px;
  text-align: center;
  font-family: "Fraunces", serif;
  font-size: 0.7rem;
  letter-spacing: 0.6px;
  color: rgba(10, 16, 22, 0.95);
  opacity: 0;
  transform: translateY(8px);
  text-shadow:
    0 2px 6px rgba(10, 16, 22, 0.45),
    0 6px 14px rgba(30, 60, 120, 0.35);
  transition: opacity 0.8s ease, transform 0.8s ease;
  z-index: 5;
}

.scroll-elevator.is-idle .door-left {
  transform: translateX(-55%);
}

.scroll-elevator.is-idle .door-right {
  transform: translateX(55%);
}

.scroll-elevator.is-idle .elevator-light {
  opacity: 0.8;
}

.scroll-elevator.is-idle .elevator-text {
  opacity: 0.95;
  transform: translateY(0);
}

@media (max-width: 720px) {
  .scroll-elevator {
    right: -12px;
    width: 100px;
    height: 180px;
    opacity: 1;
  }
}

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

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

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", serif;
  letter-spacing: 0.2px;
  margin: 0 0 12px;
}

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

ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.container {
  width: min(1240px, 92vw);
  margin: 0 auto;
}

.section {
  padding: 90px 0;
  position: relative;
}

.section-contrast {
  background: var(--bg-soft);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 16px;
  background: var(--accent);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 99;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 244, 240, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--stroke);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  object-fit: contain;
  box-shadow: 0 14px 30px rgba(17, 24, 33, 0.12);
  background: #fff;
  padding: 2px;
  filter: saturate(0.85) contrast(0.95);
}

.brand-title {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink);
  margin: 0;
}

.brand-sub {
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin: 0;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: #fff;
  font-weight: 600;
  cursor: pointer;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  padding-bottom: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow);
}

.hero {
  padding-top: 110px;
  overflow: visible;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(211, 84, 42, 0.2), transparent 50%),
    radial-gradient(circle at 80% 10%, rgba(20, 150, 170, 0.2), transparent 45%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.85), rgba(246, 244, 240, 0.8));
  z-index: 1;
}

.hero-bg::before {
  content: none;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  color: var(--ink);
}

.lead {
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.ghost {
  background: transparent;
  border-color: var(--stroke);
  color: var(--ink);
}

.btn:hover {
  transform: translateY(-2px);
}

.hero-pills {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-pills span {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--stroke);
  font-size: 0.85rem;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-visual img {
  border-radius: 28px;
  box-shadow: var(--shadow);
  width: min(620px, 100%);
  max-width: 100%;
  height: auto;
  transform: translate(0, -2%);
}

.hero-stat {
  position: absolute;
  bottom: -20px;
  right: 10%;
  background: #fff;
  border-radius: 16px;
  padding: 14px 20px;
  box-shadow: var(--shadow);
  text-align: left;
}

.hero-stat p {
  margin: 0;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.2rem;
}

.hero-stat span {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.hero-cards {
  margin-top: 60px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  position: relative;
  z-index: 2;
}

.info-card,
.about-card,
.service-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(211, 84, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.info-card:hover,
.about-card:hover,
.service-card:hover {
  transform: scale(1.01);
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 16px 50px rgba(17, 24, 33, 0.16),
    0 0 24px rgba(255, 255, 255, 0.7);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 40px;
}

.section-heading.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.about-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-bottom: 40px;
}

.about-map {
  margin-top: 24px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: center;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(211, 84, 42, 0.08);
}

.about-map iframe {
  width: 100%;
  min-height: 240px;
  border: 0;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(17, 24, 33, 0.14);
}

.team-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.team-card {
  background: #fff;
  border-radius: 22px;
  overflow: visible;
  box-shadow: var(--shadow);
  display: grid;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
  position: relative;
}

.team-card:hover {
  transform: scale(1.01);
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 16px 50px rgba(17, 24, 33, 0.16),
    0 0 24px rgba(255, 255, 255, 0.7);
}

.team-card img {
  height: 230px;
  object-fit: contain;
  object-position: center 55%;
  justify-self: center;
  width: 100%;
  box-shadow: 12px 8px 24px rgba(17, 24, 33, 0.18);
  background: #fff;
  border-radius: 18px;
  transition: transform 0.25s ease, border-radius 0.25s ease;
  z-index: 2;
}

.team-card.is-zoomed img {
  transform: scale(1.18) translateY(-8px);
  border-radius: 22px;
}

.team-card.is-zoomed {
  z-index: 4;
}

#team {
  scroll-margin-top: 110px;
}

.team-card div {
  padding: 0 18px 20px;
}

.service-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.reference-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.reference-grid span {
  background: #fff;
  padding: 16px 18px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.reference-grid span:hover {
  transform: scale(1.01);
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 16px 50px rgba(17, 24, 33, 0.16),
    0 0 24px rgba(255, 255, 255, 0.7);
}

.partner-marquee {
  overflow: hidden;
  border-radius: 18px;
}

.partner-track {
  display: flex;
  width: max-content;
  animation: partner-scroll 28s linear infinite;
}

.partner-set {
  display: flex;
  gap: 22px;
  padding: 6px 8px;
  align-items: center;
}

.partner-marquee img,
.social-grid img {
  background: #fff;
  padding: 18px;
  border-radius: 16px;
  border: 1px solid var(--stroke);
  filter: grayscale(20%);
  transition: transform 0.2s ease, filter 0.2s ease;
  height: 70px;
  width: auto;
  flex: 0 0 auto;
}

.partner-marquee img:hover,
.social-grid img:hover {
  transform: translateY(-3px);
  filter: grayscale(0%);
}

@keyframes partner-scroll {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-track {
    animation: none;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
  }
}

.social-grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.social-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--stroke);
  background: #fff;
  box-shadow: var(--shadow);
}

.social-card img {
  height: 120px;
  padding: 14px;
  filter: none;
}

.social-info {
  flex: 1;
  background: var(--accent);
  color: #fff;
  border-radius: 14px;
  padding: 16px 18px;
}

.social-info h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

.social-info p {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.85);
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
  width: 150px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--accent-dark);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 24, 33, 0.2);
}

@media (max-width: 640px) {
  .social-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-card img {
    height: 110px;
  }
}

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.contact-cards div {
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  border: 1px solid var(--stroke);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-cards div:hover {
  transform: scale(1.01);
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 16px 50px rgba(17, 24, 33, 0.16),
    0 0 24px rgba(255, 255, 255, 0.7);
}

.contact-cards a {
  color: var(--accent-dark);
  font-weight: 600;
}

.contact-form {
  background: #fff;
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.contact-form:hover {
  transform: scale(1.01);
  background: #ffffff;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.7),
    0 16px 50px rgba(17, 24, 33, 0.16),
    0 0 24px rgba(255, 255, 255, 0.7);
}

.contact-form label {
  display: grid;
  gap: 8px;
  font-weight: 500;
}

.contact-form input,
.contact-form textarea {
  border-radius: 12px;
  border: 1px solid var(--stroke);
  padding: 12px;
  font-family: inherit;
  font-size: 1rem;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.site-footer {
  padding: 60px 0 40px;
  background: var(--bg-strong);
  color: #fff;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  align-items: center;
}

.footer-links,
.footer-legal {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-legal {
  justify-content: center;
  flex-wrap: nowrap;
}

.footer-links a {
  color: #fff;
}

.footer-legal .btn.ghost {
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.footer-meta {
  margin-top: 22px;
  font-size: 0.9rem;
  color: #fff;
  opacity: 0.8;
  text-align: center;
}

.legal-section {
  background: #0d131b;
  color: #fff;
  padding: 50px 0;
}

.legal-section p {
  color: rgba(255, 255, 255, 0.7);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

@media (max-width: 880px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    right: 5vw;
    top: 72px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--stroke);
    padding: 18px;
    display: none;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 90px;
  }

  .hero-stat {
    position: static;
    margin-top: 12px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .footer-legal {
    flex-wrap: wrap;
    justify-content: center;
  }
}
