:root {
  --bg: #0b0f14;
  --surface: rgba(15, 76, 92, 0.1);
  --surface-strong: rgba(11, 15, 20, 0.82);
  --border: rgba(234, 234, 234, 0.09);
  --text: #eaeaea;
  --subtext: #a0a0a0;
  --deep-teal: #0f4c5c;
  --ocean-green: #1b9aaa;
  --sunset-orange: #ff8c42;
  --warm-yellow: #ffc857;
  --soft-lime: #a3d977;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1120px;
  --interactive-glow: 0;
  --glow-x: 50%;
  --glow-y: 50%;
  --glow-warm: rgba(255, 200, 87, 0.24);
  --glow-lime: rgba(163, 217, 119, 0.2);
  --glow-orange: rgba(255, 140, 66, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(27, 154, 170, 0.18), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(255, 140, 66, 0.14), transparent 20%),
    linear-gradient(180deg, #091017 0%, #0b0f14 45%, #0d1118 100%);
  color: var(--text);
  min-height: 100vh;
}

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

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(163, 217, 119, 0.035), transparent 30%),
    linear-gradient(300deg, rgba(255, 200, 87, 0.03), transparent 26%);
  pointer-events: none;
}

.container {
  width: min(var(--container), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(11, 15, 20, 0.65);
  border-bottom: 1px solid rgba(234, 234, 234, 0.06);
}

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

.authority-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

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

.authority-mark img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.96);
  padding: 4px;
}

.authority-mark span {
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.inline-link,
.brand-heading-link {
  color: inherit;
  text-decoration: none;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.inline-link:hover,
.inline-link:focus-visible,
.brand-heading-link:hover,
.brand-heading-link:focus-visible {
  color: var(--warm-yellow);
  text-shadow: 0 0 18px rgba(255, 200, 87, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  color: var(--subtext);
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

section {
  padding: 88px 0;
}

.hero {
  min-height: calc(100vh - 73px);
  display: flex;
  align-items: center;
}

.hero-layout,
.section-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
}

.identity-lockup {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
  padding: 18px 22px;
  border-radius: var(--radius-lg);
  background: rgba(15, 76, 92, 0.12);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.hero-logo {
  width: clamp(86px, 11vw, 120px);
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px;
}

.eyebrow,
.sub-brand,
.section-kicker,
.panel-label {
  margin: 0;
}

.eyebrow,
.section-kicker,
.panel-label {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--warm-yellow);
}

.sub-brand {
  margin-top: 6px;
  color: var(--subtext);
  font-size: 0.95rem;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Poppins", sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.05;
}

.tagline {
  margin: 20px 0 0;
  max-width: 20ch;
  font-size: clamp(1.2rem, 3vw, 1.65rem);
  line-height: 1.25;
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  --interactive-glow: 0;
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  isolation: isolate;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease, border-color 180ms ease, filter 180ms ease;
}

.button::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255, 248, 220, 0.24), transparent 30%),
    linear-gradient(135deg, rgba(255, 200, 87, 0.16), rgba(163, 217, 119, 0.08));
  opacity: var(--interactive-glow);
  transition: opacity 180ms ease;
  z-index: -1;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button:hover {
  --interactive-glow: 1;
}

.button-primary {
  color: #081017;
  background: linear-gradient(135deg, var(--warm-yellow), var(--sunset-orange));
  box-shadow: 0 14px 28px rgba(255, 140, 66, 0.24);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 18px 36px rgba(255, 140, 66, 0.34), 0 0 28px rgba(255, 200, 87, 0.18);
  filter: saturate(1.05);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 200, 87, 0.3);
  box-shadow: 0 14px 32px rgba(27, 154, 170, 0.16), 0 0 24px rgba(255, 200, 87, 0.08);
}

.hero-panel,
.content-card,
.service-card {
  --interactive-glow: 0;
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  box-shadow: var(--shadow);
}

.content-card,
.service-card,
.showcase-card,
.media-frame,
.video-preview,
.hero-panel-card {
  --interactive-glow: 0;
  --glow-x: 50%;
  --glow-y: 50%;
  overflow: hidden;
}

.content-card::before,
.service-card::before,
.media-frame::before,
.video-preview::before,
.hero-panel-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), var(--glow-warm), transparent 28%),
    radial-gradient(circle at calc(var(--glow-x) + 10%) calc(var(--glow-y) + 8%), var(--glow-lime), transparent 36%);
  opacity: var(--interactive-glow);
  pointer-events: none;
  transition: opacity 220ms ease;
}

.hero-panel {
  min-height: 440px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(15, 76, 92, 0.16), rgba(11, 15, 20, 0.94));
}

.hero-panel-art {
  position: absolute;
  inset: 26px 26px 190px 26px;
  border-radius: 28px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(11, 15, 20, 0.2), rgba(11, 15, 20, 0.08));
  border: 1px solid rgba(27, 154, 170, 0.08);
}

.flow-map {
  position: absolute;
  inset: 14px 18px 18px 18px;
  width: calc(100% - 36px);
  height: calc(100% - 32px);
  opacity: 0.84;
}

.flow-trail,
.flow-head {
  fill: none;
  vector-effect: non-scaling-stroke;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-trail {
  stroke: rgba(27, 154, 170, 0.82);
  opacity: 0.44;
}

.flow-head {
  stroke: #ff8c42;
  stroke-width: 1.6;
  opacity: 0.92;
  filter: drop-shadow(0 0 5px rgba(255, 140, 66, 0.22));
}

.hero-panel-card {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(11, 15, 20, 0.58);
  border: 1px solid rgba(234, 234, 234, 0.08);
  backdrop-filter: blur(14px);
}

.focus-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.focus-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
}

.focus-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ffd26f, var(--sunset-orange));
  box-shadow: 0 0 0 5px rgba(255, 140, 66, 0.08);
}

.section-heading {
  display: grid;
  gap: 16px;
}

.section-heading-wide {
  margin-bottom: 26px;
}

.content-card {
  padding: 28px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.035);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.content-card p {
  margin: 0;
  color: var(--subtext);
  font-size: 1rem;
  line-height: 1.75;
}

.content-card p + p {
  margin-top: 18px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  padding: 30px 24px;
  border-radius: var(--radius-lg);
  min-height: 280px;
  display: grid;
  align-content: end;
  gap: 12px;
  overflow: hidden;
  background:
    linear-gradient(rgba(9, 13, 18, 0.6), rgba(9, 13, 18, 0.95)),
    url("assets/service-branding.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-clip: padding-box;
  isolation: isolate;
  transform: translateZ(0);
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease, box-shadow 220ms ease, filter 220ms ease;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-product {
  background-image:
    linear-gradient(rgba(9, 13, 18, 0.6), rgba(9, 13, 18, 0.95)),
    url("assets/service-product.png");
}

.service-archviz {
  background-image:
    linear-gradient(rgba(9, 13, 18, 0.6), rgba(9, 13, 18, 0.95)),
    url("assets/service-architecture.png");
}

.service-branding {
  background-image:
    linear-gradient(rgba(9, 13, 18, 0.6), rgba(9, 13, 18, 0.95)),
    url("assets/service-branding.png");
}

.service-direction {
  background-image:
    linear-gradient(rgba(9, 13, 18, 0.6), rgba(9, 13, 18, 0.95)),
    url("assets/service-direction.png");
}

.service-kicker {
  display: inline-flex;
  width: fit-content;
  min-height: 32px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 200, 87, 0.12);
  border: 1px solid rgba(255, 200, 87, 0.18);
  color: #ffe29a;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
}

.service-card:hover {
  border-color: rgba(255, 200, 87, 0.24);
  box-shadow: 0 28px 54px rgba(0, 0, 0, 0.42), 0 0 28px rgba(163, 217, 119, 0.08);
  filter: saturate(1.04);
  --interactive-glow: 1;
}

.content-card:hover,
.media-frame:hover,
.video-preview:hover,
.hero-panel-card:hover {
  --interactive-glow: 1;
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.4), 0 0 32px rgba(255, 200, 87, 0.08);
}

.content-card:hover,
.content-card:focus-within {
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.service-card p {
  color: rgba(234, 234, 234, 0.82);
  max-width: 42ch;
  margin: 0;
}

.portfolio-card,
.contact-card {
  display: grid;
  gap: 20px;
}

.showpiece-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.showcase-card {
  display: grid;
  gap: 18px;
  min-height: 100%;
}

.media-frame {
  height: 100%;
  min-height: 560px;
  overflow: hidden;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.showpiece-copy {
  align-content: start;
  min-height: 0;
}

.project-label {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: var(--soft-lime);
}

.showpiece-copy h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.project-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.92rem;
}

.video-preview {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(0, 0, 0, 0.22);
}

.video-preview video {
  display: block;
  width: 100%;
  min-height: 320px;
  max-height: 420px;
  object-fit: cover;
  background: #05080c;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  color: var(--text);
  transition: color 180ms ease, transform 180ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: var(--warm-yellow);
}

.contact-link:hover {
  transform: translateX(3px);
}

.contact-link:hover .icon,
.contact-link:focus-visible .icon {
  box-shadow: 0 0 20px rgba(255, 200, 87, 0.16), 0 0 30px rgba(163, 217, 119, 0.1);
  border-color: rgba(255, 200, 87, 0.28);
}

.contact-link:hover .icon {
  transform: translateX(3px);
}

.button.glow-paused,
.content-card.glow-paused,
.service-card.glow-paused,
.media-frame.glow-paused,
.video-preview.glow-paused,
.hero-panel-card.glow-paused {
  --interactive-glow: 0 !important;
}

.button.glow-paused::before,
.content-card.glow-paused::before,
.service-card.glow-paused::before,
.media-frame.glow-paused::before,
.video-preview.glow-paused::before,
.hero-panel-card.glow-paused::before {
  opacity: 0 !important;
}

.button.glow-paused,
.button.glow-paused:hover,
.button.glow-paused:focus-visible {
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
  filter: none;
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.site-footer {
  padding: 0 0 28px;
}

.footer-inner {
  padding-top: 24px;
  border-top: 1px solid rgba(234, 234, 234, 0.08);
}

.site-footer p {
  margin: 0;
  color: var(--subtext);
  text-align: right;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

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

  .reveal,
  .button,
  .service-card,
  .contact-link,
  .content-card,
  .showcase-card {
    transition: none;
    transform: none;
  }

  .button::before,
  .content-card::before,
  .service-card::before,
  .media-frame::before,
  .video-preview::before,
  .hero-panel-card::before {
    display: none;
  }

  .flow-head {
    display: none;
  }
}

@media (max-width: 860px) {
  .header-inner,
  .footer-inner,
  .hero-layout,
  .section-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    gap: 14px;
  }

  .hero {
    min-height: auto;
    padding-top: 54px;
  }

  .hero-panel {
    width: 100%;
    min-height: 320px;
  }

  .hero-panel-art {
    inset: 18px 18px 170px 18px;
  }

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

  .showpiece-layout {
    grid-template-columns: 1fr;
  }

  .media-frame {
    min-height: 420px;
  }

  .site-footer p {
    text-align: left;
  }
}

@media (max-width: 560px) {
  section {
    padding: 72px 0;
  }

  .container {
    width: min(var(--container), calc(100% - 24px));
  }

  .identity-lockup {
    width: 100%;
    align-items: flex-start;
    padding: 16px;
  }

  .hero-logo {
    width: 78px;
  }

  .hero-panel-card,
  .content-card {
    padding: 22px;
  }

  .hero-panel-art {
    inset: 14px 14px 160px 14px;
  }

  .media-frame {
    min-height: 320px;
  }

  .video-preview video {
    min-height: 240px;
  }

  .button {
    width: 100%;
  }
}
