:root {
  --frame-px: 0.5rem;
  --hero-radius: 22px;
  --ink: #0c0a09;
  --ink-card: rgba(28, 22, 18, 0.78);
  --ink-elevated: rgba(36, 28, 22, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f8fafc;
  --muted: #b8a99c;
  --accent: #ff6a3d;
  --accent-soft: rgba(255, 106, 61, 0.2);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 640px) {
  :root { --frame-px: 0.75rem; }
}

@media (min-width: 1280px) {
  :root { --frame-px: 1rem; }
}

html {
  scroll-behavior: smooth;
}

html.light {
  --ink: #f7f4f1;
  --ink-card: rgba(255, 255, 255, 0.86);
  --ink-elevated: rgba(255, 255, 255, 0.96);
  --line: rgba(28, 25, 23, 0.1);
  --text: #1c1917;
  --muted: #57534e;
  --accent-soft: rgba(255, 106, 61, 0.14);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", system-ui, sans-serif;
  color: var(--text);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .font-display {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.03em;
}

.site-shell {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(ellipse 70% 45% at 12% -10%, rgba(255, 106, 61, 0.28), transparent 60%),
    radial-gradient(ellipse 55% 40% at 92% 8%, rgba(255, 140, 66, 0.22), transparent 58%),
    radial-gradient(ellipse 50% 35% at 70% 100%, rgba(255, 106, 61, 0.1), transparent),
    var(--ink);
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(255, 106, 61, 0.045) 1px, transparent 0),
    linear-gradient(90deg, rgba(255, 106, 61, 0.035) 1px, transparent 0),
    linear-gradient(rgba(255, 106, 61, 0.07) 1px, transparent 0),
    linear-gradient(90deg, rgba(255, 106, 61, 0.06) 1px, transparent 0);
  background-size: 16px 16px, 16px 16px, 64px 64px, 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 95% 80% at 50% 15%, #000, transparent 88%);
  mask-image: radial-gradient(ellipse 95% 80% at 50% 15%, #000, transparent 88%);
}

html.light .site-shell::before {
  background-image:
    linear-gradient(rgba(255, 106, 61, 0.05) 1px, transparent 0),
    linear-gradient(90deg, rgba(255, 106, 61, 0.04) 1px, transparent 0),
    linear-gradient(rgba(255, 106, 61, 0.08) 1px, transparent 0),
    linear-gradient(90deg, rgba(255, 106, 61, 0.06) 1px, transparent 0);
}

.layout-frame {
  position: relative;
  z-index: 10;
  margin: 0 auto;
  width: 100%;
  padding-left: var(--frame-px);
  padding-right: var(--frame-px);
}

.hero-stage {
  position: relative;
  overflow: hidden;
  border-radius: var(--hero-radius);
  min-height: calc(100dvh - var(--frame-px) * 2);
  height: calc(100dvh - var(--frame-px) * 2);
  background: #070d1a;
  box-shadow: 0 0 0 1px rgba(255, 106, 61, 0.28);
}

.hero-stage--page {
  min-height: auto;
  height: auto;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 18, 0.82) 0%, rgba(10, 12, 18, 0.28) 40%, rgba(10, 12, 18, 0.05) 100%),
    linear-gradient(180deg, rgba(255, 106, 61, 0.12) 0%, transparent 35%, rgba(10, 12, 18, 0.72) 100%),
    url("../assets/images/hero.jpg") 70% center / cover no-repeat;
}

html.light .hero-bg {
  background:
    linear-gradient(90deg, rgba(247, 244, 241, 0.88) 0%, rgba(247, 244, 241, 0.4) 40%, rgba(247, 244, 241, 0.08) 100%),
    linear-gradient(180deg, rgba(255, 106, 61, 0.08) 0%, transparent 35%, rgba(247, 244, 241, 0.7) 100%),
    url("../assets/images/hero.jpg") 70% center / cover no-repeat;
}

@media (max-width: 767px) {
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(10, 12, 18, 0.35) 0%, rgba(10, 12, 18, 0.15) 28%, rgba(10, 12, 18, 0.88) 100%),
      linear-gradient(0deg, rgba(255, 106, 61, 0.18), transparent 40%),
      url("../assets/images/hero.jpg") 72% center / cover no-repeat;
  }

  html.light .hero-bg {
    background:
      linear-gradient(180deg, rgba(247, 244, 241, 0.25) 0%, rgba(247, 244, 241, 0.08) 28%, rgba(247, 244, 241, 0.9) 100%),
      url("../assets/images/hero.jpg") 72% center / cover no-repeat;
  }
}

.hero-mesh {
  position: absolute;
  inset: -30%;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 45% at 18% 22%, rgba(255, 106, 61, 0.5), transparent 72%),
    radial-gradient(ellipse 50% 50% at 82% 18%, rgba(255, 140, 66, 0.32), transparent 70%),
    radial-gradient(ellipse 45% 40% at 62% 78%, rgba(255, 106, 61, 0.28), transparent 72%);
  filter: blur(52px);
  animation: glow-drift 18s ease-in-out infinite;
}

@keyframes glow-drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(2%, -1.5%) scale(1.04); }
}

.hero-inner {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: inherit;
  padding-bottom: 0.75rem;
}

.site-header {
  position: relative;
  z-index: 40;
  flex-shrink: 0;
}

.site-header.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0.35rem var(--frame-px);
  background: rgba(5, 8, 15, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px -18px rgba(0, 0, 0, 0.65);
}

html.light .site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 48px;
  padding: 0.5rem 0.75rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.logo-mark {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, #ff6a3d, #f04320);
  box-shadow: 0 0 0 1px rgba(255, 106, 61, 0.35);
  overflow: hidden;
}

.nav-pill {
  display: none;
  justify-content: center;
}

@media (min-width: 1024px) {
  .nav-pill {
    display: flex;
  }
}

.nav-links {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.15rem;
  padding: 0.35rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(255, 106, 61, 0.22);
  backdrop-filter: blur(10px);
}

html.light .nav-links {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 106, 61, 0.14);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
}

@media (min-width: 1280px) {
  .nav-link {
    padding: 0.35rem 0.75rem;
    font-size: 0.8125rem;
  }
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--text);
  background: var(--accent-soft);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 106, 61, 0.25);
  background: rgba(15, 23, 42, 0.4);
  color: var(--text);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.icon-btn:hover {
  background: var(--accent-soft);
  border-color: rgba(255, 106, 61, 0.45);
}

.mobile-menu {
  display: none;
  margin-top: 0.5rem;
  padding: 0.5rem;
  border-radius: 1rem;
  background: var(--ink-elevated);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.mobile-menu.is-open {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

@media (min-width: 1024px) {
  .mobile-menu,
  .mobile-menu.is-open {
    display: none !important;
  }
}

.hero-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem 1rem 0.5rem;
  max-width: 40rem;
}

@media (min-width: 768px) {
  .hero-body {
    justify-content: center;
    padding: 2rem 2.5rem;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.pulse-dot {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 999px;
  background: #ff7a4d;
  box-shadow: 0 0 10px rgba(255, 106, 61, 0.95);
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}

.hero-brand {
  margin: 0;
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--text);
}

.hero-sub {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.15rem, 3.2vw, 1.75rem);
  font-weight: 600;
  background: linear-gradient(90deg, #ffb347, #ff6a3d 55%, #f04320);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 1.1rem 0 0;
  max-width: 28rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 480px) {
  .cta-row {
    flex-direction: column;
  }

  .cta-row .btn-primary,
  .cta-row .btn-secondary {
    width: 100%;
  }
}

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 0.2s var(--ease-out), background 0.2s ease, border-color 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ff6a3d, #f04320);
  color: #fff;
  box-shadow: 0 10px 30px -12px rgba(255, 106, 61, 0.75);
}

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

.btn-secondary {
  background: rgba(15, 23, 42, 0.45);
  border: 1px solid rgba(148, 163, 184, 0.25);
  color: var(--text);
  backdrop-filter: blur(8px);
}

html.light .btn-secondary {
  background: rgba(255, 255, 255, 0.7);
}

.btn-secondary:hover {
  border-color: rgba(255, 106, 61, 0.5);
}

.section {
  padding: 3.5rem 0 1rem;
}

@media (min-width: 768px) {
  .section {
    padding: 4.5rem 0 1.5rem;
  }
}

.section-rule {
  border-top: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff7a4d;
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.1;
}

.section-lead {
  margin: 0.75rem 0 0;
  max-width: 36rem;
  color: var(--muted);
  line-height: 1.6;
}

.service-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.service-link {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 10.5rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: var(--ink-card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(12px);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease, background 0.25s ease;
}

.service-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 106, 61, 0.4);
  background: rgba(255, 106, 61, 0.14);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  background: rgba(255, 106, 61, 0.2);
  color: #ff9b74;
  font-size: 1.35rem;
}

.service-link h3 {
  margin: 0;
  font-size: 1.15rem;
}

.service-link p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}

.service-go {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ff9b74;
}

.marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  animation: marquee 28s linear infinite;
}

.marquee-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(15, 23, 42, 0.45);
  color: var(--muted);
  font-size: 0.875rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.split {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2.5rem;
  }
}

.media-frame {
  position: relative;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--line);
  min-height: 16rem;
  background: #0b1428;
}

.media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 16rem;
  max-height: 28rem;
}

.feature-list {
  display: grid;
  gap: 0.85rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--muted);
  line-height: 1.5;
}

.feature-list .material-symbols-rounded {
  color: #ff7a4d;
  font-size: 1.25rem;
  margin-top: 0.1rem;
}

.card-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .card-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.info-tile {
  display: block;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: var(--ink-card);
  border: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s ease, transform 0.2s var(--ease-out);
}

.info-tile:hover {
  border-color: rgba(255, 106, 61, 0.4);
  transform: translateY(-1px);
}

.info-tile h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.info-tile p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.gallery-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.15rem;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 5;
  background: #0b1428;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.contact-grid {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.contact-panel {
  padding: 1.5rem;
  border-radius: 1.35rem;
  background: var(--ink-card);
  border: 1px solid var(--line);
}

.contact-phone {
  display: inline-block;
  margin: 0.5rem 0 1rem;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.social-chip:hover {
  border-color: rgba(255, 106, 61, 0.45);
  background: var(--accent-soft);
}

.note {
  margin-top: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(255, 106, 61, 0.12);
  border: 1px solid rgba(255, 106, 61, 0.25);
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.page-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--hero-radius);
  padding: 0.75rem 1.25rem 2.5rem;
  border: 1px solid rgba(255, 106, 61, 0.28);
  background: linear-gradient(165deg, #1a1210, #141820 45%, #0a0c12);
}

@media (min-width: 1024px) {
  #mobile-btn {
    display: none;
  }
}

html.light .page-hero {
  background: linear-gradient(165deg, #ffffff, #fff1ea 55%, #fff8f4);
}

.page-hero .hero-mesh {
  opacity: 0.7;
}

.footer {
  margin-top: 3rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-mesh,
  .marquee-track,
  .pulse-dot {
    animation: none !important;
  }

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