:root {
  --bg: #050816;
  --bg-2: #0a1220;
  --panel: rgba(10, 18, 32, 0.84);
  --panel-strong: rgba(8, 15, 27, 0.96);
  --text: #effcff;
  --muted: #95a9b3;
  --line: rgba(121, 247, 255, 0.16);
  --accent: #5ff6ef;
  --accent-strong: #24dfd6;
  --accent-soft: rgba(95, 246, 239, 0.14);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.38);
  --radius: 24px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(95, 246, 239, 0.08), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(95, 246, 239, 0.12), transparent 24%),
    linear-gradient(180deg, #02040d 0%, #07101b 40%, #050816 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.page-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(95, 246, 239, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95, 246, 239, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black 28%, transparent 85%);
  opacity: 0.32;
  animation: gridDrift 20s linear infinite;
}

.page-glow {
  position: fixed;
  inset: auto;
  width: 420px;
  height: 420px;
  pointer-events: none;
  filter: blur(90px);
  z-index: 0;
  opacity: 0.45;
}

.page-glow-a {
  top: 0;
  left: -120px;
  background: rgba(95, 246, 239, 0.18);
  animation: floatGlowA 13s ease-in-out infinite;
}

.page-glow-b {
  right: -140px;
  top: 28%;
  background: rgba(67, 157, 255, 0.12);
  animation: floatGlowB 16s ease-in-out infinite;
}

.site-header,
.hero,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(20px);
  background: rgba(4, 8, 18, 0.78);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.14);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: #041115;
  background: linear-gradient(135deg, var(--accent), #9cf7ff);
  font-weight: 800;
  box-shadow: 0 0 28px rgba(95, 246, 239, 0.28);
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

.brand-copy span {
  color: var(--muted);
  font-size: 0.78rem;
}

.mobile-nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(95, 246, 239, 0.4);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 0 4px rgba(95, 246, 239, 0.08);
}

.mobile-nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.main-nav a {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--accent);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--accent), transparent);
  transition: transform 0.25s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.button.main-nav-cta {
  display: none;
}

.header-cta {
  display: inline-flex;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #041115;
  background: linear-gradient(135deg, var(--accent), #8ffcff);
  box-shadow: 0 0 30px rgba(95, 246, 239, 0.22);
  animation: pulseButton 4s ease-in-out infinite;
}

.button-secondary,
.button-ghost {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.hero {
  padding: 62px 0 38px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 22px;
  align-items: start;
}

.hero-copy,
.hero-panel,
.project-card,
.service-card,
.stack-group,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 30px;
  padding: 28px;
}

.hero-panel {
  display: grid;
  gap: 14px;
  border-radius: 30px;
  padding: 14px;
  background: rgba(5, 13, 26, 0.78);
}

.hero-visual {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at center, rgba(95, 246, 239, 0.16), rgba(9, 17, 31, 0.55) 42%, rgba(6, 11, 20, 0.96) 72%),
    var(--panel-strong);
}

.hero-visual__ring {
  position: absolute;
  inset: 50%;
  border: 1px solid rgba(95, 246, 239, 0.2);
  border-radius: 999px;
  transform: translate(-50%, -50%);
}

.hero-visual__ring-a {
  width: 160px;
  height: 160px;
  animation: spinSlow 16s linear infinite;
}

.hero-visual__ring-b {
  width: 230px;
  height: 230px;
  border-style: dashed;
  animation: spinReverse 22s linear infinite;
}

.hero-visual__core {
  position: absolute;
  inset: 50%;
  width: 88px;
  height: 88px;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #9afcff);
  color: #041115;
  font-weight: 800;
  letter-spacing: 0.14em;
  box-shadow: 0 0 40px rgba(95, 246, 239, 0.3);
}

.floating-chip {
  position: absolute;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(3, 9, 19, 0.82);
  color: var(--text);
  font-size: 0.8rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
}

.chip-a {
  top: 20px;
  left: 20px;
  animation: floatChip 6s ease-in-out infinite;
}

.chip-b {
  right: 24px;
  top: 50px;
  animation: floatChip 7s ease-in-out infinite reverse;
}

.chip-c {
  left: 34px;
  bottom: 26px;
  animation: floatChip 6.5s ease-in-out infinite;
}

.panel-card {
  border-radius: 24px;
  border: 1px solid var(--line);
  padding: 20px;
}

.panel-card-primary {
  background: linear-gradient(180deg, rgba(95, 246, 239, 0.14), rgba(7, 16, 27, 0.7));
}

.panel-card-secondary {
  background: rgba(255, 255, 255, 0.02);
}

.panel-label,
.eyebrow {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(95, 246, 239, 0.26);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.contact-card h2 {
  margin: 18px 0 14px;
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.35rem);
  max-width: 9ch;
}

.hero-text,
.section-heading p,
.section-intro,
.project-card p,
.service-card p,
.contact-card p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 16px;
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.hero-chip {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 11px 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.86rem;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(95, 246, 239, 0.45);
  animation: pulseDot 2s ease-in-out infinite;
}

.hero-chip strong {
  color: var(--text);
  font-size: 0.9rem;
}

.hero-chip,
.check-list li {
  color: var(--muted);
  font-size: 0.92rem;
}

.panel-card h2 {
  margin: 14px 0 10px;
  font-size: 1.5rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.check-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.check-list li::before {
  content: "•";
  margin-right: 10px;
  color: var(--accent);
}

.section {
  padding: 42px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.section-heading {
  max-width: 760px;
  margin-bottom: 26px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.project-card,
.service-card,
.stack-group {
  border-radius: var(--radius);
  padding: 24px;
}

.interactive-card {
  transition:
    transform 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    background 0.35s ease;
  transform-style: preserve-3d;
  will-change: transform;
}

.interactive-card:hover {
  border-color: rgba(95, 246, 239, 0.36);
  box-shadow:
    0 22px 60px rgba(0, 0, 0, 0.36),
    0 0 0 1px rgba(95, 246, 239, 0.06);
}

.featured-project {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(95, 246, 239, 0.11), rgba(255, 255, 255, 0.02)),
    var(--panel-strong);
}

.project-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.project-type,
.project-status {
  color: var(--muted);
  font-size: 0.8rem;
}

.project-card h3,
.service-card h3,
.stack-group h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
}

.bullet-list {
  margin: 18px 0;
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 8px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.tag-list span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #d2fdfd;
  font-size: 0.82rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.stack-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 26px;
  align-items: start;
}

.stack-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.inquiry-card {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(95, 246, 239, 0.08), rgba(255, 255, 255, 0.015)),
    var(--panel-strong);
  box-shadow: var(--shadow);
  border-radius: 30px;
  padding: 28px;
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: start;
}

.inquiry-sidebar {
  display: grid;
  gap: 18px;
}

.inquiry-sidebar h3 {
  margin: 0;
  font-size: clamp(1.5rem, 2vw, 2rem);
  letter-spacing: -0.04em;
}

.inquiry-sidebar p {
  margin: 0;
  color: var(--muted);
}

.inquiry-points {
  display: grid;
  gap: 12px;
}

.inquiry-point {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
}

.inquiry-point strong {
  color: var(--text);
  font-size: 0.95rem;
}

.inquiry-point span {
  color: var(--muted);
  font-size: 0.9rem;
}

.inquiry-form {
  display: grid;
  gap: 20px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  background: rgba(7, 16, 35, 0.72);
  backdrop-filter: blur(16px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  position: relative;
  display: grid;
  gap: 8px;
  align-content: start;
  min-width: 0;
}

.field span {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  line-height: 1.25;
  outline: none;
  appearance: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: rgba(95, 246, 239, 0.55);
  box-shadow: 0 0 0 4px rgba(95, 246, 239, 0.08);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.field textarea {
  resize: vertical;
  min-height: 150px;
}

.field select {
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(210, 253, 253, 0.95) 50%),
    linear-gradient(135deg, rgba(210, 253, 253, 0.95) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 3px),
    calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.field select.is-native-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border-radius: 16px;
  padding: 14px 16px;
  font: inherit;
  line-height: 1.25;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.custom-select-trigger:hover,
.custom-select.is-open .custom-select-trigger,
.custom-select-trigger:focus-visible {
  border-color: rgba(95, 246, 239, 0.55);
  box-shadow: 0 0 0 4px rgba(95, 246, 239, 0.08);
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.custom-select-label {
  flex: 1;
  min-width: 0;
  text-align: left;
  color: var(--text);
}

.custom-select-label.is-placeholder {
  color: var(--muted);
}

.custom-select-arrow {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid rgba(210, 253, 253, 0.95);
  border-bottom: 2px solid rgba(210, 253, 253, 0.95);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}

.custom-select.is-open .custom-select-arrow {
  transform: rotate(-135deg) translateX(-2px);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  z-index: 30;
  display: grid;
  gap: 6px;
  padding: 10px;
  border-radius: 18px;
  border: 1px solid rgba(95, 246, 239, 0.16);
  background: rgba(6, 16, 35, 0.96);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.42),
    0 0 0 1px rgba(95, 246, 239, 0.05);
  backdrop-filter: blur(18px);
}

.custom-select-menu[hidden] {
  display: none;
}

.custom-select-option {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.custom-select-option:hover,
.custom-select-option:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  transform: translateX(2px);
}

.custom-select-option.is-selected {
  background: rgba(95, 246, 239, 0.12);
  color: var(--accent);
}

.custom-select-option.is-placeholder {
  color: var(--muted);
}

.field-full {
  grid-column: 1 / -1;
}

.form-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.form-status {
  margin: 0;
  min-height: 1.5em;
  color: #bcd8df;
  font-size: 0.92rem;
  padding: 11px 14px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.03);
}

.form-status.is-success {
  color: var(--accent);
  border-color: rgba(95, 246, 239, 0.18);
  background: rgba(95, 246, 239, 0.08);
}

.form-status.is-error {
  color: #ff8f99;
  border-color: rgba(255, 143, 153, 0.2);
  background: rgba(255, 143, 153, 0.08);
}

.form-status.is-loading {
  border-color: rgba(95, 246, 239, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.inquiry-form.is-submitting .button-primary {
  opacity: 0.8;
  pointer-events: none;
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(95, 246, 239, 0.12), rgba(255, 255, 255, 0.015)),
    var(--panel-strong);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.contact-list a,
.contact-list span {
  color: var(--muted);
  font-size: 0.95rem;
}

.contact-list strong {
  color: var(--text);
}

.site-footer {
  padding: 28px 0 42px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.75s ease,
    transform 0.75s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes gridDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(0, 44px, 0);
  }
}

@keyframes floatGlowA {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(40px, 25px, 0);
  }
}

@keyframes floatGlowB {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(-55px, -30px, 0);
  }
}

@keyframes spinSlow {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@keyframes spinReverse {
  from {
    transform: translate(-50%, -50%) rotate(360deg);
  }
  to {
    transform: translate(-50%, -50%) rotate(0deg);
  }
}

@keyframes floatChip {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes pulseButton {
  0%,
  100% {
    box-shadow: 0 0 24px rgba(95, 246, 239, 0.18);
  }
  50% {
    box-shadow: 0 0 36px rgba(95, 246, 239, 0.3);
  }
}

@keyframes pulseDot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.4);
    opacity: 0.7;
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .stack-layout {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inquiry-layout,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .featured-project {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .page-grid {
    opacity: 0.16;
    background-size: 30px 30px;
  }

  .page-glow {
    width: 260px;
    height: 260px;
    opacity: 0.28;
  }

  .header-inner {
    min-height: auto;
    padding: 12px 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
  }

  .brand {
    gap: 10px;
    min-width: 0;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .brand-copy strong {
    font-size: 0.94rem;
  }

  .brand-copy span {
    display: none;
  }

  .mobile-nav-toggle {
    display: none;
  }

  .main-nav {
    display: none;
  }

  .header-cta {
    display: inline-flex;
    min-height: 40px;
    padding: 0 14px;
    font-size: 0.86rem;
    white-space: nowrap;
  }

  .main-nav-cta.button {
    display: none;
  }

  .hero {
    padding-top: 34px;
    padding-bottom: 30px;
  }

  .hero-copy,
  .hero-panel,
  .project-card,
  .service-card,
  .stack-group,
  .contact-card,
  .inquiry-card {
    padding: 20px;
    border-radius: 22px;
  }

  .inquiry-form {
    padding: 18px;
    border-radius: 20px;
  }

  .hero-grid {
    gap: 16px;
  }

  .hero-visual {
    min-height: 150px;
  }

  .hero-visual__ring-b,
  .chip-b,
  .chip-c {
    display: none;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2rem, 10vw, 3.15rem);
    line-height: 0.98;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-highlights {
    gap: 10px;
  }

  .hero-chip {
    width: 100%;
    justify-content: flex-start;
  }

  .scroll-cue {
    margin-top: 12px;
    font-size: 0.8rem;
  }

  .hero-highlights,
  .project-grid,
  .service-grid,
  .stack-groups,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .featured-project {
    grid-column: span 1;
  }

  .project-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .tag-list {
    gap: 8px;
  }

  .tag-list span {
    font-size: 0.78rem;
    padding: 7px 10px;
  }

  .section {
    padding: 28px 0;
  }

  .section-heading {
    margin-bottom: 18px;
  }

  .section-heading h2,
  .contact-card h2 {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .form-meta {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-actions .button {
    width: 100%;
  }

  .contact-actions .button {
    width: 100%;
  }

  .contact-list a,
  .contact-list span {
    word-break: break-word;
  }

  .footer-inner {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .brand {
    width: auto;
    justify-content: flex-start;
  }

  .brand-copy {
    align-items: flex-start;
  }

  .header-inner {
    padding: 10px 0;
  }

  .hero-copy,
  .hero-panel,
  .project-card,
  .service-card,
  .stack-group,
  .contact-card,
  .inquiry-card {
    padding: 18px;
    border-radius: 20px;
  }

  .inquiry-form {
    padding: 16px;
  }

  .panel-card {
    padding: 16px;
  }

  .panel-card h2 {
    font-size: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

