@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap");

:root {
  --bg: #ffffff;
  --hero: #eaedfb;
  --hero-mid: #eef1fc;
  --hero-soft: #f6f8ff;
  --ink: #171c2f;
  --ink-soft: #566179;
  --muted: #8790a6;
  --line: #e8ecf6;
  --line-strong: #d6ddf1;
  --panel: #ffffff;
  --soft: #f7f9fe;
  --accent: #3864e8;
  --accent-strong: #2548c7;
  --accent-purple: #6f5bea;
  --gold: #c7a348;
  --gold-soft: #f3e5b9;
  --success: #27895e;
  --danger: #b94242;
  --radius: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow: 0 26px 80px rgba(35, 60, 120, 0.14);
  --shadow-soft: 0 18px 48px rgba(35, 60, 120, 0.09);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.58;
}

html.studio-boot-pending #root {
  visibility: hidden;
  opacity: 0;
}

h1,
h2,
h3,
p,
li,
dt,
dd,
span,
a,
button,
input,
textarea,
select {
  letter-spacing: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

svg {
  display: block;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px) scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 760ms cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform;
}

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

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 96px 0;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(calc(100% - 48px), calc(var(--max) + 40px));
  min-height: 72px;
  padding: 14px 18px 14px 20px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(214, 221, 241, 0.82);
  border-radius: 999px;
  box-shadow: 0 18px 55px rgba(22, 34, 76, 0.09);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
  isolation: isolate;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 188px;
}

.brand-logo {
  display: block;
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-logo-main {
  width: 188px;
  max-width: 42vw;
}

.brand-logo-login {
  width: 205px;
  max-width: 100%;
}

.brand-logo-studio {
  width: 156px;
  max-width: 34vw;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 750;
}

.main-nav a,
.text-link {
  transition: color 180ms ease;
}

.main-nav a:hover,
.text-link:hover {
  color: var(--accent-strong);
}

.mobile-menu-toggle,
.mobile-menu-panel {
  display: none;
}

.mobile-menu-toggle {
  position: relative;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0;
  background: rgba(246, 248, 255, 0.9);
  border: 1px solid rgba(214, 221, 241, 0.92);
  border-radius: 13px;
  cursor: pointer;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.mobile-menu-toggle span {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: 18px;
  height: 2px;
  background: #17213a;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition:
    opacity 160ms ease,
    transform 180ms ease;
}

.mobile-menu-toggle span:nth-child(1) {
  transform: translate(-50%, calc(-50% - 6px));
}

.mobile-menu-toggle span:nth-child(3) {
  transform: translate(-50%, calc(-50% + 6px));
}

.mobile-menu-toggle[aria-expanded="true"] {
  background: rgba(56, 100, 232, 0.1);
  border-color: rgba(56, 100, 232, 0.34);
  box-shadow: 0 12px 28px rgba(56, 100, 232, 0.14);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-panel[hidden] {
  display: none;
}

.header-cta,
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 19px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
  transition:
    transform 190ms ease,
    box-shadow 190ms ease,
    border-color 190ms ease,
    background 190ms ease,
    color 190ms ease;
}

.header-cta,
.button.primary {
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.16), transparent 38%),
    linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 15px 35px rgba(56, 100, 232, 0.24);
}

.header-cta::after,
.button.primary::after {
  position: absolute;
  inset: -80% auto -80% -45%;
  width: 38%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(243, 229, 185, 0.54), transparent);
  transform: rotate(18deg);
  animation: shine 4.8s ease-in-out infinite;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.78);
  border-color: var(--line-strong);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(35, 60, 120, 0.06);
}

.header-cta:hover,
.button:hover,
.service-card:hover,
.case-card:hover,
.seo-link:hover {
  transform: translateY(-3px);
}

.button.secondary:hover {
  border-color: rgba(199, 163, 72, 0.72);
  box-shadow: 0 18px 36px rgba(35, 60, 120, 0.1);
}

.button svg,
.text-link svg,
.header-cta svg,
.service-card em svg,
.media-caption svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.hero-shell {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 26%, rgba(255, 255, 255, 0.88) 0 9%, transparent 26%),
    linear-gradient(135deg, var(--hero) 0%, var(--hero-mid) 46%, var(--hero-soft) 100%);
  border-bottom-right-radius: 46px;
  border-bottom-left-radius: 46px;
}

.hero-shell::before,
.hero-shell::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.hero-shell::before {
  inset: 0;
  background-image: radial-gradient(rgba(56, 100, 232, 0.16) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 12%, #000 58%, transparent 86%);
  opacity: 0.45;
}

.hero-shell::after {
  right: -180px;
  bottom: -240px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(56, 100, 232, 0.1);
  border-radius: 50%;
}

.hero-dot {
  position: absolute;
  width: 210px;
  height: 150px;
  background-image: radial-gradient(rgba(37, 72, 199, 0.3) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
  opacity: 0.33;
  animation: dotDrift 12s ease-in-out infinite alternate;
}

.dot-one {
  top: 150px;
  left: 58px;
}

.dot-two {
  right: 70px;
  bottom: 92px;
  animation-delay: 1.7s;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 710px) minmax(360px, 1fr);
  align-items: center;
  gap: 38px;
  min-height: 720px;
  padding-top: 150px;
  padding-bottom: 128px;
}

.hero-copy {
  max-width: 690px;
}

.welcome-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(214, 221, 241, 0.9);
  border-radius: 999px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 12px 30px rgba(35, 60, 120, 0.06);
}

.welcome-pill span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(199, 163, 72, 0.12);
}

.hero h1 {
  display: grid;
  gap: 4px;
  margin: 0;
  color: #11172a;
  font-size: 60px;
  font-weight: 900;
  line-height: 1.05;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-purple) 65%, var(--gold) 112%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  max-width: 620px;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 20px;
  line-height: 1.76;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  max-width: 620px;
  margin-top: 30px;
}

.proof-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.hero-proof span:not(.proof-label) {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 6px 11px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(214, 221, 241, 0.9);
  border-radius: 999px;
  color: #2d3753;
  font-size: 13px;
  font-weight: 760;
}

.hero-portrait {
  position: relative;
  min-height: 552px;
}

.portrait-orbit {
  position: absolute;
  inset: 38px 18px 18px 34px;
  border: 1px solid rgba(56, 100, 232, 0.13);
  border-radius: 46% 54% 48% 52%;
  background:
    radial-gradient(circle at 58% 24%, rgba(255, 255, 255, 0.9), transparent 30%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.78), rgba(234, 237, 251, 0.34));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.74);
  animation: orbitBreath 7s ease-in-out infinite;
}

.portrait-card {
  position: absolute;
  right: 18px;
  bottom: -22px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 420px;
  height: 548px;
  border-radius: 44px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.48));
  box-shadow: 0 34px 90px rgba(35, 60, 120, 0.16);
}

.portrait-card img {
  width: auto;
  height: 150%;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(220px);
  filter: drop-shadow(0 22px 32px rgba(18, 29, 67, 0.16));
}

.floating-badge {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-template-columns: 38px 1fr;
  column-gap: 11px;
  align-items: center;
  min-width: 190px;
  padding: 13px 15px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(214, 221, 241, 0.94);
  border-radius: 18px;
  box-shadow: 0 20px 52px rgba(35, 60, 120, 0.14);
  backdrop-filter: blur(14px);
  animation: floatBadge 5.8s ease-in-out infinite;
}

.floating-badge small {
  display: block;
  grid-column: 2;
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.1;
}

.floating-badge strong {
  display: block;
  grid-column: 2;
  color: #16213a;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.badge-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: linear-gradient(145deg, rgba(56, 100, 232, 0.12), rgba(111, 91, 234, 0.1));
  border-radius: 13px;
  color: var(--accent-strong);
}

.badge-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.badge-top {
  top: 36px;
  left: -170px;
}

.badge-mid {
  top: 260px;
  right: -18px;
  animation-delay: 0.9s;
}

.badge-bottom {
  left: 18px;
  bottom: 74px;
  animation-delay: 1.7s;
}

.decision-wrap {
  position: relative;
  z-index: 2;
  margin-top: -76px;
  padding-top: 0;
  padding-bottom: 66px;
}

.decision-card {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 24px;
  align-items: center;
  padding: 22px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(214, 221, 241, 0.88);
  border-radius: 24px;
  box-shadow: 0 24px 75px rgba(35, 60, 120, 0.13);
}

.decision-title {
  padding: 18px 18px 18px 20px;
}

.decision-title strong {
  display: block;
  color: #151d32;
  font-size: 20px;
  font-weight: 920;
}

.decision-title span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.decision-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.decision-step {
  position: relative;
  min-height: 112px;
  padding: 17px 14px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f8faff);
  border: 1px solid var(--line);
  border-radius: 18px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.decision-step::after {
  position: absolute;
  inset: auto 12px 12px 12px;
  height: 3px;
  content: "";
  background: linear-gradient(90deg, var(--accent), var(--accent-purple), var(--gold));
  border-radius: 999px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.decision-step:hover {
  border-color: rgba(56, 100, 232, 0.34);
  box-shadow: 0 16px 34px rgba(35, 60, 120, 0.11);
  transform: translateY(-4px);
}

.decision-step:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.decision-step span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  background: #eef2ff;
  border-radius: 50%;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.decision-step h3 {
  margin: 0;
  color: #1f2941;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.38;
}

.capability-strip {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 26px;
  align-items: center;
  margin-top: -18px;
  padding: 32px 28px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.capability-strip p {
  margin: 0;
  color: #1d2740;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.42;
}

.capability-strip div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 13px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 820;
}

.capability-strip i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}

.descriptor,
.section-label {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-heading {
  max-width: 770px;
  margin-bottom: 36px;
}

.section-heading.with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  max-width: none;
}

.section-heading h2,
.about-copy h2,
.contact-band h2,
.page-hero h1 {
  margin: 0;
  color: #141b2f;
  font-size: 42px;
  font-weight: 920;
  line-height: 1.17;
}

.section-heading h2 {
  max-width: 760px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 900;
}

.services-section {
  padding-top: 82px;
}

.service-rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  position: relative;
  min-height: 270px;
  padding: 24px 20px 22px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(35, 60, 120, 0.06);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.service-card::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(135deg, rgba(56, 100, 232, 0.08), transparent 48%),
    radial-gradient(circle at 88% 12%, rgba(199, 163, 72, 0.14), transparent 22%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.service-card:hover {
  background: #fbfcff;
  border-color: rgba(56, 100, 232, 0.3);
  box-shadow: 0 24px 60px rgba(35, 60, 120, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

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

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.service-icon {
  width: 38px;
  height: 38px;
  padding: 9px;
  background: #eef2ff;
  border-radius: 13px;
  color: var(--accent-strong);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-type {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card h3 {
  margin: 0 0 12px;
  color: #161d31;
  font-size: 20px;
  font-weight: 920;
  line-height: 1.25;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.66;
}

.service-card em {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
  color: var(--accent-strong);
  font-size: 13px;
  font-style: normal;
  font-weight: 900;
}

.about-problem {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
  min-height: 500px;
}

.about-media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.dot-field {
  position: absolute;
  top: -28px;
  left: -32px;
  width: 180px;
  height: 140px;
  background-image: radial-gradient(rgba(56, 100, 232, 0.24) 1.2px, transparent 1.2px);
  background-size: 18px 18px;
}

.media-caption {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  display: grid;
  gap: 4px;
  min-width: 210px;
  padding: 17px 18px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(214, 221, 241, 0.9);
  border-radius: 18px;
  box-shadow: 0 20px 50px rgba(35, 60, 120, 0.16);
  backdrop-filter: blur(14px);
}

.media-caption small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.media-caption strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #16213a;
  font-size: 14px;
  font-weight: 900;
}

.about-copy > p:not(.section-label) {
  max-width: 610px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.76;
}

.about-copy h2 span {
  color: var(--accent-strong);
}

.problem-checks {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.problem-check {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 13px;
  align-items: start;
  padding: 15px 16px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(35, 60, 120, 0.05);
}

.problem-check span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: linear-gradient(145deg, rgba(56, 100, 232, 0.12), rgba(199, 163, 72, 0.16));
  border-radius: 50%;
  color: var(--accent-strong);
}

.problem-check svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-check p {
  margin: 4px 0 0;
  color: #2a354e;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.55;
}

.process-section {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - var(--max)) / 2));
  padding-left: max(24px, calc((100vw - var(--max)) / 2));
  background: linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  max-width: var(--max);
  margin: 0 auto;
}

.process-track {
  position: absolute;
  top: 34px;
  left: 8%;
  right: 8%;
  height: 2px;
  overflow: hidden;
  background: rgba(56, 100, 232, 0.13);
  border-radius: 999px;
}

.process-track::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, var(--accent), var(--accent-purple), var(--gold), transparent);
  transform: translateX(-100%);
  animation: flowSweep 4.4s cubic-bezier(0.3, 0.8, 0.2, 1) infinite;
}

.process-step {
  position: relative;
  z-index: 1;
  min-height: 255px;
  padding: 24px 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 44px rgba(35, 60, 120, 0.07);
}

.process-step span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 54px;
  background: linear-gradient(145deg, var(--accent), var(--accent-purple));
  border: 4px solid #ffffff;
  border-radius: 50%;
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(56, 100, 232, 0.2);
}

.process-step h3 {
  margin: 0 0 11px;
  color: #151d31;
  font-size: 20px;
  font-weight: 920;
}

.process-step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.68;
}

.work-grid,
.work-page-grid,
.principle-grid,
.seo-grid,
.service-detail-list {
  display: grid;
  gap: 16px;
}

.work-grid,
.work-page-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-card,
.seo-link,
.story-card,
.principle-card,
.profile-block,
.service-detail-block,
.contact-aside,
.contact-form {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(35, 60, 120, 0.06);
}

.case-card {
  position: relative;
  min-height: 330px;
  padding: 25px 24px;
  overflow: hidden;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.case-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  content: "";
  background: linear-gradient(90deg, var(--accent), var(--accent-purple), var(--gold));
  opacity: 0.8;
}

.case-card:hover {
  border-color: rgba(56, 100, 232, 0.3);
  box-shadow: 0 24px 64px rgba(35, 60, 120, 0.13);
}

.case-domain {
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.case-card h3 {
  margin: 0 0 12px;
  color: #151d31;
  font-size: 23px;
  font-weight: 920;
}

.case-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.66;
}

.case-card dl {
  display: grid;
  gap: 6px;
  margin: 24px 0 0;
}

.case-card dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.case-card dd {
  margin: 0 0 8px;
  color: #2c3650;
  font-size: 14px;
  line-height: 1.55;
}

.seo-section {
  padding-top: 78px;
}

.seo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seo-link {
  display: grid;
  gap: 9px;
  min-height: 132px;
  padding: 22px;
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.seo-link:hover {
  border-color: rgba(199, 163, 72, 0.56);
  box-shadow: 0 22px 54px rgba(35, 60, 120, 0.12);
}

.seo-link strong {
  color: #171f34;
  font-size: 17px;
  font-weight: 920;
}

.seo-link span {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 84px;
  padding: 54px 56px;
  overflow: hidden;
  background:
    linear-gradient(120deg, #151d31 0%, #223b8a 62%, #315fec 100%);
  border-radius: 28px;
  color: #ffffff;
  box-shadow: 0 28px 80px rgba(35, 60, 120, 0.18);
}

.contact-band .section-label {
  color: var(--gold-soft);
}

.contact-band h2 {
  color: #ffffff;
}

.contact-band p:not(.section-label) {
  max-width: 650px;
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  line-height: 1.72;
}

.contact-band .button.primary {
  background: #ffffff;
  color: var(--accent-strong);
  box-shadow: none;
}

.page-hero {
  padding-top: 170px;
  padding-bottom: 74px;
}

.page-hero .descriptor {
  color: var(--accent-strong);
}

.page-hero h1 {
  max-width: 860px;
}

.page-hero > p:last-child {
  max-width: 770px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.78;
}

.services-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(390px, 0.72fr);
  align-items: center;
  gap: 46px;
  min-height: 650px;
  padding-top: 170px;
  padding-bottom: 70px;
}

.services-hero::before {
  position: absolute;
  inset: 118px 0 22px auto;
  width: min(52vw, 600px);
  content: "";
  background:
    radial-gradient(circle at 52% 38%, rgba(243, 229, 185, 0.48), transparent 33%),
    radial-gradient(circle at 70% 22%, rgba(56, 100, 232, 0.18), transparent 28%);
  filter: blur(18px);
  opacity: 0.86;
  pointer-events: none;
}

.services-hero-copy {
  position: relative;
  z-index: 1;
}

.services-hero .descriptor {
  color: var(--accent-strong);
}

.services-hero h1 {
  max-width: 810px;
  margin: 0;
  color: #11172a;
  font-size: 56px;
  font-weight: 900;
  line-height: 1.08;
}

.services-hero-copy > p:not(.descriptor) {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.78;
}

.services-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.services-hero-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(214, 221, 241, 0.9);
  border-radius: 999px;
  color: #2d3753;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(35, 60, 120, 0.06);
}

.services-hero-media {
  position: relative;
  z-index: 1;
  min-height: 475px;
  border-radius: 38px;
  overflow: hidden;
  box-shadow: 0 34px 86px rgba(35, 60, 120, 0.15);
  isolation: isolate;
}

.services-hero-media::before,
.services-hero-media::after {
  position: absolute;
  inset: 0;
  z-index: 2;
  content: "";
  pointer-events: none;
}

.services-hero-media::before {
  background:
    linear-gradient(90deg, rgba(246, 248, 255, 0.95) 0%, rgba(246, 248, 255, 0.45) 14%, rgba(246, 248, 255, 0) 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0) 58%, rgba(246, 248, 255, 0.9) 100%);
}

.services-hero-media::after {
  border: 1px solid rgba(214, 221, 241, 0.8);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.64);
}

.services-hero-media img {
  display: block;
  width: 100%;
  height: 475px;
  object-fit: cover;
  object-position: 54% 42%;
  transform: scale(1.02);
}

.services-hero-portrait {
  display: grid;
  place-items: end center;
  min-height: 548px;
  overflow: visible;
  box-shadow: none;
  isolation: isolate;
}

.services-hero-portrait::before {
  inset: 52px 18px 42px 54px;
  z-index: -2;
  background:
    radial-gradient(circle at 54% 22%, rgba(255, 255, 255, 0.95), transparent 28%),
    radial-gradient(circle at 74% 32%, rgba(243, 229, 185, 0.58), transparent 34%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.88), rgba(234, 237, 251, 0.62));
  border: 1px solid rgba(214, 221, 241, 0.74);
  border-radius: 46% 54% 48% 52%;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 32px 84px rgba(35, 60, 120, 0.12);
  animation: orbitBreath 7s ease-in-out infinite;
}

.services-hero-portrait::after {
  inset: 92px -8px 34px 120px;
  z-index: -1;
  background-image: radial-gradient(rgba(56, 100, 232, 0.2) 1px, transparent 1px);
  background-size: 19px 19px;
  border: 0;
  border-radius: 38px;
  box-shadow: none;
  opacity: 0.26;
  mask-image: linear-gradient(90deg, transparent 0%, #000 22%, #000 72%, transparent 100%);
}

.services-portrait-orbit {
  position: absolute;
  inset: 26px 0 24px 42px;
  z-index: -3;
  border: 1px solid rgba(56, 100, 232, 0.1);
  border-radius: 48% 52% 46% 54%;
  pointer-events: none;
}

.services-hero-portrait img {
  position: relative;
  z-index: 2;
  width: min(100%, 590px);
  height: auto;
  max-height: 548px;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(16px);
  filter: drop-shadow(0 26px 34px rgba(35, 60, 120, 0.14));
}

.service-hero-badge {
  position: absolute;
  z-index: 4;
  display: grid;
  min-width: 178px;
  gap: 2px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(214, 221, 241, 0.82);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(35, 60, 120, 0.12);
  backdrop-filter: blur(14px);
  animation: floatBadge 5.8s ease-in-out infinite;
}

.service-hero-badge small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.service-hero-badge strong {
  color: #11172a;
  font-size: 15px;
  font-weight: 900;
}

.badge-service-top {
  top: 106px;
  left: 8px;
}

.badge-service-mid {
  right: 10px;
  top: 256px;
  animation-delay: 0.6s;
}

.badge-service-bottom {
  left: 44px;
  bottom: 68px;
  animation-delay: 1.1s;
}

.services-hero-strategy img {
  width: min(148%, 760px);
  max-width: none;
  max-height: none;
  transform: translate(0, 6px);
}

.contact-hero {
  padding-bottom: 84px;
}

.contact-hero-portrait::before {
  inset: 46px 12px 48px 26px;
  border-radius: 50% 50% 46% 54%;
}

.contact-hero-portrait::after {
  inset: 84px -12px 40px 82px;
}

.contact-hero-portrait img {
  width: min(148%, 760px);
  max-width: none;
  max-height: 558px;
  transform: translate(-124px, 8px);
}

.badge-contact-top {
  top: 112px;
  right: auto;
  left: 22px;
}

.badge-contact-mid {
  left: 12px;
  top: 252px;
  animation-delay: 0.6s;
}

.badge-contact-bottom {
  right: 38px;
  bottom: 70px;
  animation-delay: 1.1s;
}

.about-hero {
  padding-bottom: 82px;
}

.about-hero-portrait::before {
  inset: 42px 20px 42px 42px;
  border-radius: 50% 50% 44% 56%;
}

.about-hero-portrait::after {
  inset: 80px 4px 42px 98px;
}

.about-hero-portrait img {
  width: min(104%, 560px);
  max-width: none;
  max-height: 558px;
  transform: translate(8px, 16px);
}

.badge-about-top {
  top: 98px;
  left: 4px;
}

.badge-about-mid {
  right: 8px;
  top: 294px;
  animation-delay: 0.6s;
}

.badge-about-bottom {
  left: 34px;
  bottom: 76px;
  animation-delay: 1.1s;
}

.about-partners {
  padding-top: 18px;
  padding-bottom: 84px;
}

.about-partners-heading {
  margin-bottom: 22px;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.partner-logo-card {
  --partner-logo-width: min(76%, 250px);
  --partner-logo-height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 114px;
  padding: 20px 18px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 16px 38px rgba(35, 60, 120, 0.07);
}

.partner-logo-image {
  display: block;
  width: var(--partner-logo-width);
  height: var(--partner-logo-height);
  max-width: 100%;
  max-height: none;
  object-fit: contain;
}

.partner-kcc {
  --partner-logo-width: min(72%, 240px);
}

.partner-posco {
  --partner-logo-width: min(62%, 190px);
}

.partner-aerix {
  --partner-logo-width: min(66%, 212px);
}

.work-visual-hero {
  padding-bottom: 82px;
}

.work-hero-portrait::before {
  inset: 44px 24px 42px 42px;
  border-radius: 50% 50% 44% 56%;
}

.work-hero-portrait::after {
  inset: 76px 6px 40px 98px;
}

.work-hero-portrait img {
  width: min(104%, 560px);
  max-width: none;
  max-height: 558px;
  transform: translate(4px, 18px);
}

.badge-work-top {
  top: 96px;
  left: 4px;
}

.badge-work-mid {
  right: 4px;
  top: 282px;
  animation-delay: 0.6s;
}

.badge-work-bottom {
  left: 34px;
  bottom: 76px;
  animation-delay: 1.1s;
}

.story-section {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 18px;
  padding-top: 20px;
}

.story-card,
.principle-card,
.profile-block,
.service-detail-block {
  padding: 28px;
}

.story-card.wide {
  padding: 36px;
}

.story-card h2,
.profile-block h2,
.service-detail-block h2 {
  margin: 0 0 18px;
  color: #151d31;
  font-size: 27px;
  font-weight: 920;
  line-height: 1.25;
}

.story-card h3,
.principle-card h3,
.profile-block h3,
.service-detail-block h3 {
  margin: 0 0 12px;
  color: #151d31;
  font-size: 20px;
  font-weight: 920;
}

.story-card p,
.profile-block p,
.service-detail-block p,
.story-card li,
.profile-block li,
.service-detail-block li {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.72;
}

.story-card p {
  margin: 0 0 14px;
}

.story-card p:last-child {
  margin-bottom: 0;
}

.story-card ul,
.profile-block ul,
.service-detail-block ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 19px;
}

.principle-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.principle-card span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 16px;
  background: #eef2ff;
  border-radius: 50%;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.principle-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.68;
}

.service-detail-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-profile,
.work-detail,
.seo-landing {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  padding-top: 20px;
}

.service-detail-block.accent,
.profile-block.accent {
  background:
    linear-gradient(145deg, rgba(56, 100, 232, 0.1), rgba(255, 255, 255, 0.9)),
    #ffffff;
  border-color: rgba(56, 100, 232, 0.2);
}

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

.enterprise-cases {
  position: relative;
  padding-top: 36px;
}

.enterprise-cases::before {
  position: absolute;
  top: 18px;
  right: min(-5vw, -20px);
  z-index: -1;
  width: 360px;
  height: 360px;
  content: "";
  background:
    radial-gradient(circle, rgba(199, 163, 72, 0.18), transparent 68%),
    radial-gradient(circle at 72% 22%, rgba(56, 100, 232, 0.12), transparent 56%);
  filter: blur(4px);
}

.enterprise-cases-heading {
  max-width: 820px;
}

.enterprise-cases-heading p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.72;
}

.enterprise-case-list {
  display: grid;
  gap: 22px;
}

.enterprise-case-card {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(440px, 1.08fr);
  gap: 28px;
  align-items: stretch;
  min-height: 420px;
  padding: 26px;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255, 255, 255, 0.96), rgba(247, 249, 254, 0.88)),
    #ffffff;
  border: 1px solid rgba(214, 221, 241, 0.94);
  border-radius: 26px;
  box-shadow: 0 24px 72px rgba(35, 60, 120, 0.09);
}

.enterprise-case-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 8px 0 8px 4px;
}

.enterprise-case-tag {
  width: fit-content;
  margin-bottom: 18px;
  padding: 8px 12px;
  color: #6d5718;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.35;
  background: linear-gradient(135deg, rgba(243, 229, 185, 0.82), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(199, 163, 72, 0.25);
  border-radius: 999px;
}

.enterprise-case-card h3 {
  max-width: 540px;
  margin: 0 0 14px;
  color: #151d31;
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 920;
  line-height: 1.16;
}

.enterprise-case-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.78;
}

.enterprise-case-brief {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.enterprise-case-brief div {
  min-width: 0;
  padding: 16px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(214, 221, 241, 0.86);
  border-radius: 18px;
}

.enterprise-case-brief h4 {
  margin: 0 0 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 920;
}

.enterprise-case-brief p {
  color: #2c3650;
  font-size: 14px;
  line-height: 1.62;
}

.enterprise-case-gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 178px;
  gap: 12px;
  min-width: 0;
}

.enterprise-case-shot {
  position: relative;
  grid-column: span 3;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #eef2fb;
  border: 1px solid rgba(214, 221, 241, 0.82);
  border-radius: 20px;
  box-shadow: 0 16px 42px rgba(35, 60, 120, 0.1);
  cursor: zoom-in;
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.enterprise-case-shot:first-child {
  grid-column: span 6;
}

.enterprise-case-card.case-aiplug .enterprise-case-gallery {
  grid-template-rows: 215px 178px;
}

.enterprise-case-card.case-aiplug .enterprise-case-shot:first-child {
  grid-row: 1;
}

.enterprise-case-card.case-aiplug .enterprise-case-shot:nth-child(n + 2) {
  grid-row: 2;
}

.enterprise-case-card.case-marumap .enterprise-case-gallery {
  grid-template-rows: 196px 196px;
}

.enterprise-case-shot:nth-child(n + 2) {
  grid-column: span 3;
}

.enterprise-case-shot:first-child:nth-last-child(2),
.enterprise-case-shot:first-child:nth-last-child(2) ~ .enterprise-case-shot {
  grid-column: span 3;
  grid-row: span 2;
}

.enterprise-case-shot:hover {
  border-color: rgba(199, 163, 72, 0.42);
  box-shadow: 0 24px 58px rgba(35, 60, 120, 0.18);
  transform: translateY(-4px);
}

.enterprise-case-shot:focus-visible {
  outline: 3px solid rgba(56, 100, 232, 0.38);
  outline-offset: 4px;
}

.enterprise-case-shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.enterprise-case-shot:hover img {
  transform: scale(1.035);
}

.enterprise-case-shot span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  color: #151d31;
  font-size: 12px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(21, 29, 49, 0.08);
  backdrop-filter: blur(14px);
}

body.modal-open {
  overflow: hidden;
}

.case-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 26px;
  background: rgba(12, 18, 34, 0.62);
  backdrop-filter: blur(16px);
  animation: modalFade 180ms ease both;
}

.case-modal {
  width: min(1180px, 100%);
  max-height: calc(100vh - 52px);
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(247, 249, 254, 0.94)),
    #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  box-shadow: 0 34px 110px rgba(5, 10, 28, 0.36);
  animation: modalLift 220ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.case-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}

.case-modal-header p {
  margin: 0 0 3px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
}

.case-modal-header h2 {
  margin: 0;
  color: #151d31;
  font-size: 22px;
  line-height: 1.25;
}

.case-modal-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  color: #151d31;
  font-size: 28px;
  line-height: 1;
  background: #ffffff;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(35, 60, 120, 0.1);
}

.case-modal-close:hover,
.case-modal-close:focus-visible {
  border-color: rgba(199, 163, 72, 0.45);
  outline: none;
}

.case-modal-stage {
  display: grid;
  place-items: center;
  padding: 18px;
  background:
    radial-gradient(circle at 80% 18%, rgba(199, 163, 72, 0.13), transparent 34%),
    #f4f6fc;
}

.case-modal-stage img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(100vh - 170px);
  object-fit: contain;
  border-radius: 16px;
  box-shadow: 0 18px 54px rgba(5, 10, 28, 0.18);
}

.profile-block h2 {
  font-size: 24px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  padding-top: 20px;
}

.contact-aside,
.contact-form {
  padding: 30px;
}

.contact-aside h2 {
  margin: 0;
  color: #151d31;
  font-size: 28px;
  font-weight: 920;
}

.contact-aside > p {
  margin: 8px 0 26px;
  color: var(--accent-strong);
  font-weight: 850;
}

.contact-aside dl {
  display: grid;
  gap: 8px;
  margin: 0;
}

.contact-aside dt {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.contact-aside dd {
  margin: 0;
  color: #2b3650;
  font-size: 15px;
  line-height: 1.62;
}

.contact-form {
  display: grid;
  gap: 18px;
}

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

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

.contact-form label span {
  color: #2c3650;
  font-size: 13px;
  font-weight: 850;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 13px 14px;
  background: #fbfcff;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: #182139;
  outline: none;
  transition: border-color 170ms ease, box-shadow 170ms ease, background 170ms ease;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  background: #ffffff;
  border-color: rgba(56, 100, 232, 0.55);
  box-shadow: 0 0 0 4px rgba(56, 100, 232, 0.1);
}

.honeypot {
  position: absolute;
  left: -9999px;
}

.form-alert {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 760;
}

.form-alert.error {
  background: rgba(185, 66, 66, 0.08);
  color: var(--danger);
}

.form-alert.success {
  background: rgba(39, 137, 94, 0.09);
  color: var(--success);
}

.form-submit {
  justify-self: start;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 38px 0 52px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.footer-logo {
  display: block;
  width: 172px;
  max-width: 52vw;
  height: auto;
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 800;
}

.footer-meta {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
}

@keyframes shine {
  0% {
    transform: translateX(0) rotate(18deg);
  }
  48%,
  100% {
    transform: translateX(430%) rotate(18deg);
  }
}

@keyframes dotDrift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(14px, -12px, 0);
  }
}

@keyframes orbitBreath {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  50% {
    transform: scale(1.025) rotate(1.5deg);
  }
}

@keyframes floatBadge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes flowSweep {
  0% {
    transform: translateX(-110%);
  }
  55%,
  100% {
    transform: translateX(110%);
  }
}

@keyframes heroImageFloat {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }

  to {
    transform: scale(1.055) translate3d(-12px, -8px, 0);
  }
}

@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalLift {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.studio-login-page,
.studio-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(234, 237, 251, 0.82), rgba(255, 255, 255, 0.98) 380px),
    var(--bg);
}

.studio-login-page {
  display: grid;
  place-items: center;
  padding: 48px 24px 32px;
}

.studio-page {
  padding: 12px 0 0;
}

.studio-login-card {
  display: grid;
  gap: 22px;
  width: min(100%, 430px);
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(35, 60, 120, 0.13);
}

.studio-login-brand {
  display: grid;
  gap: 8px;
  justify-items: start;
}

.studio-login-brand span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.studio-login-copy h1 {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.18;
}

.studio-login-copy p {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.65;
}

.studio-login-form {
  display: grid;
  gap: 12px;
}

.studio-login-form label {
  display: grid;
  gap: 7px;
}

.studio-login-form label span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.studio-login-form input {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  outline: none;
}

.studio-login-form input:focus {
  border-color: rgba(199, 163, 72, 0.78);
  box-shadow: 0 0 0 3px rgba(199, 163, 72, 0.16);
}

.studio-login-form button {
  min-height: 48px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  cursor: pointer;
  font-size: 14px;
  font-weight: 900;
}

.studio-login-form button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.studio-login-alert {
  margin: 0;
  padding: 10px 12px;
  background: rgba(56, 100, 232, 0.08);
  border: 1px solid rgba(56, 100, 232, 0.14);
  border-radius: 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
}

.studio-login-alert.error {
  background: rgba(185, 45, 45, 0.08);
  border-color: rgba(185, 45, 45, 0.16);
  color: #9f2d2d;
}

.studio-shell {
  display: grid;
  grid-template-columns: 292px minmax(0, 1fr);
  gap: 18px;
  max-width: 1440px;
  margin: 0 auto;
}

.studio-sidebar,
.studio-workspace,
.studio-preview,
.studio-editor {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 54px rgba(35, 60, 120, 0.08);
}

.studio-sidebar {
  position: sticky;
  top: 104px;
  align-self: start;
  max-height: calc(100vh - 132px);
  padding: 20px;
  overflow: auto;
  border-radius: 8px;
}

.studio-kicker {
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.studio-sidebar h1 {
  margin: 0;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.18;
}

.studio-sidebar p {
  margin: 12px 0 18px;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.65;
}

.studio-auth {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding: 12px;
  background: rgba(247, 249, 255, 0.86);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.studio-auth label {
  display: grid;
  gap: 6px;
}

.studio-auth label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 860;
}

.studio-auth input {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  outline: none;
}

.studio-auth input:focus {
  border-color: rgba(199, 163, 72, 0.78);
  box-shadow: 0 0 0 3px rgba(199, 163, 72, 0.16);
}

.studio-session-card {
  display: grid;
  gap: 3px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.studio-session-card span,
.studio-session-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.studio-session-card strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-auth button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
}

.studio-auth button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.studio-mode {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 8px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 900;
}

.studio-mode-server {
  background: rgba(39, 137, 94, 0.1);
  color: #1f6f4a;
}

.studio-mode-local,
.studio-mode-checking {
  background: rgba(199, 163, 72, 0.12);
  color: #72581b;
}

.studio-page-list {
  display: grid;
  gap: 8px;
}

.studio-page-list button,
.studio-actions button,
.studio-change-list button,
.studio-filter-tabs button,
.studio-field-actions button,
.studio-panel-head button,
.studio-history-item button,
.studio-site-audit-list button,
.studio-block-list button {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  cursor: pointer;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.studio-page-list button {
  display: grid;
  gap: 3px;
  width: 100%;
  padding: 11px 12px;
  text-align: left;
  border-radius: 8px;
}

.studio-page-list button.is-active,
.studio-block-list button.is-active {
  border-color: rgba(199, 163, 72, 0.74);
  background: linear-gradient(180deg, rgba(243, 229, 185, 0.34), rgba(255, 255, 255, 0.94));
  box-shadow: inset 3px 0 0 var(--gold);
}

.studio-page-list span {
  font-size: 13px;
  font-weight: 850;
}

.studio-page-list small,
.studio-toolbar span,
.studio-field small,
.studio-block-list small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.studio-workspace {
  min-width: 0;
  padding: 18px;
  border-radius: 8px;
}

.studio-toolbar {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 14px;
  align-items: start;
  margin-bottom: 14px;
}

.studio-toolbar strong,
.studio-toolbar span {
  display: block;
}

.studio-toolbar strong {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.25;
}

.studio-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.studio-actions button {
  min-height: 36px;
  padding: 8px 11px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 850;
}

.studio-actions button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
}

.studio-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.studio-notice {
  margin: 0 0 14px;
  padding: 10px 12px;
  background: rgba(39, 137, 94, 0.08);
  border: 1px solid rgba(39, 137, 94, 0.2);
  border-radius: 8px;
  color: #226b4c;
  font-size: 13px;
  font-weight: 760;
}

.studio-ops-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  gap: 12px;
  margin: 0 0 14px;
}

.studio-changes,
.studio-history-panel {
  min-width: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.studio-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.studio-panel-head strong,
.studio-panel-head span {
  display: block;
}

.studio-panel-head strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.studio-panel-head span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
}

.studio-panel-head button {
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--accent-strong);
  font-size: 10px;
  font-weight: 900;
  white-space: nowrap;
}

.studio-changes p,
.studio-history-panel p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 720;
}

.studio-change-list {
  display: grid;
  gap: 8px;
  max-height: 224px;
  overflow: auto;
}

.studio-change-list button {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 10px;
  text-align: left;
  border-radius: 8px;
}

.studio-change-list button.is-active {
  border-color: rgba(199, 163, 72, 0.74);
  background: linear-gradient(180deg, rgba(243, 229, 185, 0.34), rgba(255, 255, 255, 0.94));
  box-shadow: inset 3px 0 0 var(--gold);
}

.studio-change-list small,
.studio-change-list strong,
.studio-change-list span {
  display: block;
}

.studio-change-list small {
  color: var(--muted);
  font-size: 10px;
  font-weight: 820;
}

.studio-change-list strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 880;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-change-list span {
  overflow: hidden;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-history-list {
  display: grid;
  gap: 8px;
  max-height: 224px;
  overflow: auto;
}

.studio-history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 9px 10px;
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.studio-history-item strong,
.studio-history-item span,
.studio-history-item time {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-history-item strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.studio-history-item span,
.studio-history-item time {
  color: var(--muted);
  font-size: 10px;
  font-weight: 760;
}

.studio-history-item button {
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
}

.studio-site-audit {
  display: grid;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.98), rgba(255, 255, 255, 0.94));
  border: 1px solid var(--line-strong);
  border-radius: 8px;
}

.studio-site-audit-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.studio-site-audit-head strong,
.studio-site-audit-head span,
.studio-site-audit-head time {
  display: block;
}

.studio-site-audit-head strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 900;
}

.studio-site-audit-head span,
.studio-site-audit-head time {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
}

.studio-site-audit-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.studio-site-audit-metrics span {
  padding: 5px 8px;
  background: rgba(56, 100, 232, 0.07);
  border: 1px solid rgba(56, 100, 232, 0.12);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 840;
}

.studio-site-audit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  max-height: 228px;
  overflow: auto;
}

.studio-site-audit-list button {
  display: grid;
  min-width: 0;
  gap: 3px;
  padding: 9px 10px;
  text-align: left;
  border-radius: 8px;
}

.studio-site-audit-list button.is-active {
  border-color: rgba(199, 163, 72, 0.74);
  background: linear-gradient(180deg, rgba(243, 229, 185, 0.34), rgba(255, 255, 255, 0.94));
  box-shadow: inset 3px 0 0 var(--gold);
}

.studio-site-audit-list strong,
.studio-site-audit-list span,
.studio-site-audit-list small,
.studio-site-audit-list em {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-site-audit-list strong {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.studio-site-audit-list span {
  color: var(--accent-strong);
  font-size: 11px;
  font-weight: 900;
}

.studio-site-audit-list small,
.studio-site-audit-list em {
  color: var(--muted);
  font-size: 10px;
  font-style: normal;
  font-weight: 760;
}

.studio-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  gap: 14px;
  align-items: stretch;
}

.studio-preview,
.studio-editor {
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
}

.studio-preview {
  min-height: 720px;
  background: #eef2fb;
}

.studio-preview iframe {
  display: block;
  width: 100%;
  height: 720px;
  border: 0;
  background: #ffffff;
}

.studio-editor {
  display: grid;
  grid-template-rows: auto minmax(220px, 1fr) auto;
  min-height: 720px;
}

.studio-block-tools {
  display: grid;
  gap: 9px;
  padding: 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--line-strong);
}

.studio-block-tools label {
  display: grid;
  gap: 5px;
}

.studio-block-tools label span {
  color: var(--ink);
  font-size: 12px;
  font-weight: 900;
}

.studio-block-tools input {
  width: 100%;
  min-height: 38px;
  padding: 9px 11px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font-size: 13px;
  outline: none;
}

.studio-block-tools input:focus {
  border-color: rgba(56, 100, 232, 0.72);
  box-shadow: 0 0 0 3px rgba(56, 100, 232, 0.1);
}

.studio-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.studio-filter-tabs button {
  min-height: 30px;
  padding: 6px 9px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 880;
}

.studio-filter-tabs button.is-active {
  border-color: rgba(199, 163, 72, 0.74);
  background: rgba(243, 229, 185, 0.42);
  color: #72581b;
}

.studio-block-tools small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
}

.studio-block-list {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 456px;
  padding: 12px;
  overflow: auto;
  background: #f8faff;
  border-bottom: 1px solid var(--line-strong);
}

.studio-block-list button {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 10px;
  text-align: left;
  border-radius: 8px;
}

.studio-block-list span {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.studio-block-list em {
  justify-self: start;
  padding: 2px 7px;
  background: rgba(199, 163, 72, 0.14);
  border-radius: 999px;
  color: #80621a;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
}

.studio-list-empty {
  padding: 16px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-align: center;
}

.studio-field {
  display: grid;
  gap: 8px;
  padding: 14px;
}

.studio-field-label {
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.studio-field textarea {
  width: 100%;
  min-height: 132px;
  padding: 12px;
  resize: vertical;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  color: var(--ink);
  font-size: 14px;
  line-height: 1.65;
  outline: none;
}

.studio-field textarea:focus {
  border-color: rgba(56, 100, 232, 0.74);
  box-shadow: 0 0 0 3px rgba(56, 100, 232, 0.12);
}

.studio-field-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.studio-field-actions button {
  min-height: 34px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 880;
}

.studio-field-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.studio-empty {
  margin: 14px;
  padding: 18px;
  background: var(--soft);
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  color: var(--ink-soft);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 1100px) {
  .site-header {
    top: 12px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 135px;
    padding-bottom: 120px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero h1 {
    font-size: 50px;
  }

  .hero-portrait {
    width: min(100%, 650px);
    min-height: 520px;
    margin: 0 auto;
  }

  .portrait-card {
    right: 130px;
  }

  .portrait-card img {
    height: 134%;
    transform: translateY(88px);
  }

  .decision-card {
    grid-template-columns: 1fr;
  }

  .decision-title {
    padding-bottom: 0;
  }

  .service-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-hero {
    grid-template-columns: 1fr;
    gap: 34px;
    padding-top: 150px;
  }

  .services-hero h1 {
    max-width: 760px;
    font-size: 50px;
  }

  .services-hero::before {
    inset: auto -40px 40px auto;
    width: min(82vw, 720px);
    height: 420px;
  }

  .services-hero-media {
    width: min(100%, 720px);
    min-height: 420px;
    margin-left: auto;
  }

  .services-hero-media img {
    height: 420px;
  }

  .services-hero-portrait {
    min-height: 500px;
  }

  .services-hero-portrait img {
    height: auto;
    max-height: 500px;
  }

  .services-hero-strategy img {
    width: min(162%, 835px);
    max-width: none;
    max-height: none;
    transform: translate(0, 8px);
  }

  .badge-service-top {
    left: 20px;
  }

  .badge-service-mid {
    right: 24px;
  }

  .contact-hero-portrait img {
    width: min(164%, 835px);
    max-height: 500px;
    transform: translate(-42px, 8px);
  }

  .badge-contact-top {
    right: auto;
    left: 28px;
  }

  .badge-contact-mid {
    left: 24px;
  }

  .about-hero-portrait img {
    width: min(104%, 540px);
    max-height: 500px;
    transform: translate(10px, 16px);
  }

  .badge-about-top {
    left: 22px;
  }

  .badge-about-mid {
    right: 28px;
  }

  .work-hero-portrait img {
    width: min(104%, 540px);
    max-height: 500px;
    transform: translate(6px, 16px);
  }

  .badge-work-top {
    left: 22px;
  }

  .badge-work-mid {
    right: 28px;
  }

  .about-problem,
  .service-profile,
  .enterprise-case-card,
  .work-detail,
  .seo-landing,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .enterprise-case-card {
    min-height: auto;
  }

  .enterprise-case-copy {
    padding: 4px 0 0;
  }

  .enterprise-case-gallery {
    grid-auto-rows: 180px;
  }

  .process-timeline,
  .principle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .process-track {
    display: none;
  }

  .studio-shell {
    grid-template-columns: 1fr;
  }

  .studio-sidebar {
    position: relative;
    top: auto;
    max-height: none;
  }

  .studio-page-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-site-audit-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .studio-ops-panel {
    grid-template-columns: 1fr;
  }

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

  .studio-preview,
  .studio-preview iframe,
  .studio-editor {
    min-height: 560px;
    height: 560px;
  }
}

@media (max-width: 860px) {
  .site-header {
    align-items: center;
    width: min(calc(100% - 24px), calc(var(--max) + 40px));
    min-height: 68px;
    gap: 14px;
    padding: 10px 12px;
    border-radius: 24px;
  }

  .site-header.is-mobile-menu-open {
    border-color: rgba(56, 100, 232, 0.22);
    box-shadow:
      0 22px 58px rgba(22, 34, 76, 0.12),
      0 0 0 1px rgba(255, 255, 255, 0.72) inset;
  }

  .site-header.is-mobile-menu-open::before {
    position: absolute;
    top: -18px;
    left: 50%;
    z-index: 0;
    width: 100vw;
    height: 100vh;
    content: "";
    background: rgba(238, 243, 255, 0.72);
    backdrop-filter: blur(3px);
    pointer-events: none;
    transform: translateX(-50%);
  }

  .site-header > * {
    position: relative;
    z-index: 2;
  }

  .brand {
    min-width: auto;
    margin-right: auto;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    width: 48px;
    height: 48px;
    gap: 0;
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%),
      linear-gradient(135deg, #17213a, #315bdf);
    border-color: rgba(255, 255, 255, 0.64);
    border-radius: 17px;
    box-shadow:
      0 14px 30px rgba(49, 91, 223, 0.2),
      0 0 0 1px rgba(23, 33, 58, 0.08);
  }

  .mobile-menu-toggle span {
    width: 19px;
    height: 2px;
    background: #ffffff;
  }

  .mobile-menu-toggle[aria-expanded="true"] {
    background:
      linear-gradient(145deg, rgba(255, 255, 255, 0.18), transparent 42%),
      linear-gradient(135deg, var(--accent), var(--accent-strong));
    border-color: rgba(255, 255, 255, 0.76);
    box-shadow:
      0 18px 36px rgba(56, 100, 232, 0.28),
      0 0 0 1px rgba(56, 100, 232, 0.18);
  }

  .main-nav {
    display: none;
  }

  .site-header .header-cta::after {
    display: none;
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 3;
    display: grid;
    width: min(100%, calc(100vw - 24px));
    gap: 2px;
    padding: 12px;
    overflow: hidden;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.98));
    border: 1px solid rgba(196, 207, 235, 0.92);
    border-radius: 24px;
    box-shadow:
      0 28px 70px rgba(22, 34, 76, 0.16),
      0 0 0 1px rgba(255, 255, 255, 0.82) inset;
    backdrop-filter: blur(20px);
  }

  .mobile-menu-panel::before {
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 3px;
    content: "";
    background: linear-gradient(90deg, var(--accent), var(--gold), var(--accent-purple));
    border-bottom-left-radius: 999px;
    border-bottom-right-radius: 999px;
  }

  .mobile-menu-panel[hidden] {
    display: none;
  }

  .mobile-menu-panel a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 13px 16px;
    border-radius: 16px;
    color: #19243b;
    font-size: 15px;
    font-weight: 850;
    letter-spacing: 0;
  }

  .mobile-menu-panel a::after {
    width: 7px;
    height: 7px;
    margin-left: 16px;
    content: "";
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    opacity: 0.42;
    transform: rotate(45deg);
  }

  .mobile-menu-panel a:hover {
    background: rgba(56, 100, 232, 0.075);
    color: var(--accent-strong);
  }

  .mobile-menu-panel .mobile-menu-cta {
    justify-content: center;
    min-height: 54px;
    margin-top: 8px;
    background:
      linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 38%),
      linear-gradient(135deg, var(--accent), var(--accent-strong));
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(56, 100, 232, 0.24);
  }

  .mobile-menu-panel .mobile-menu-cta::after {
    opacity: 0.72;
  }

  .section {
    width: min(calc(100% - 32px), var(--max));
    padding: 72px 0;
  }

  .hero-shell {
    border-bottom-right-radius: 28px;
    border-bottom-left-radius: 28px;
  }

  .hero {
    padding-top: 128px;
    padding-bottom: 96px;
    gap: 34px;
    overflow: visible;
  }

  .hero-copy {
    min-width: 0;
  }

  .hero h1 {
    display: block;
    max-width: 100%;
    font-size: clamp(36px, 8vw, 46px);
    line-height: 1.12;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero h1 span {
    display: inline;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero h1 span + span::before {
    content: " ";
  }

  .hero-lead {
    font-size: 17px;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero-portrait {
    display: grid;
    place-items: end center;
    width: min(100%, 520px);
    min-height: 500px;
    margin: 4px auto 0;
  }

  .portrait-card {
    position: relative;
    right: auto;
    left: auto;
    bottom: auto;
    width: min(78vw, 350px);
    height: 460px;
    margin: 0 auto;
    border-radius: 34px;
    transform: none;
  }

  .portrait-card img {
    height: 113%;
    transform: translateY(8px);
  }

  .portrait-orbit {
    inset: 34px 16px 18px;
    border-radius: 34px;
  }

  .floating-badge {
    min-width: 168px;
    padding: 11px 12px;
  }

  .badge-top {
    top: 56px;
    left: 0;
  }

  .badge-mid {
    right: 0;
    bottom: 142px;
  }

  .badge-bottom {
    left: 10px;
    bottom: 64px;
  }

  .decision-wrap {
    margin-top: -54px;
    padding-top: 0;
  }

  .decision-list,
  .work-grid,
  .work-page-grid,
  .seo-grid,
  .service-detail-list,
  .work-detail-columns {
    grid-template-columns: 1fr;
  }

  .studio-page {
    padding: 18px 12px 24px;
  }

  .studio-workspace,
  .studio-sidebar {
    padding: 14px;
  }

  .studio-toolbar {
    grid-template-columns: 1fr;
  }

  .studio-actions {
    justify-content: flex-start;
  }

  .studio-site-audit-list {
    grid-template-columns: 1fr;
  }

  .capability-strip {
    grid-template-columns: 1fr;
  }

  .capability-strip div {
    justify-content: flex-start;
  }

  .section-heading.with-action,
  .contact-band,
  .site-footer {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-band h2,
  .page-hero h1 {
    font-size: 34px;
  }

  .partner-logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-logo-card {
    min-height: 104px;
    padding: 18px 14px;
  }

  .about-media,
  .about-media img {
    min-height: 0;
    height: 390px;
  }

  .contact-band {
    padding: 38px 28px;
  }

  .page-hero {
    padding-top: 140px;
  }

  .services-hero {
    padding-top: 138px;
    padding-bottom: 56px;
  }

  .services-hero h1 {
    font-size: 38px;
  }

  .services-hero-copy > p:not(.descriptor) {
    font-size: 17px;
  }

  .services-hero-media {
    min-height: 390px;
    border-radius: 28px;
  }

  .services-hero-media img {
    height: 390px;
    object-position: 58% 44%;
  }

  .services-hero-portrait {
    min-height: 460px;
    overflow: hidden;
  }

  .services-hero-portrait::before {
    inset: 46px 14px 44px 14px;
    border-radius: 34px;
  }

  .services-hero-portrait::after,
  .services-portrait-orbit {
    display: none;
  }

  .services-hero-portrait img {
    width: min(100%, 520px);
    height: auto;
    max-height: 442px;
    object-fit: contain;
    object-position: center bottom;
  }

  .services-hero-strategy img {
    width: min(148%, 650px);
    max-width: none;
    max-height: none;
    transform: translate(0, 6px);
  }

  .service-hero-badge {
    min-width: 158px;
    padding: 11px 13px;
    border-radius: 16px;
  }

  .service-hero-badge strong {
    font-size: 13px;
  }

  .badge-service-top {
    top: 62px;
    left: 8px;
  }

  .badge-service-mid {
    top: auto;
    right: 8px;
    bottom: 92px;
  }

  .badge-service-bottom {
    left: 24px;
    bottom: 30px;
  }

  .contact-hero {
    padding-bottom: 48px;
  }

  .contact-hero-portrait {
    min-height: 460px;
  }

  .contact-hero-portrait::before {
    inset: 44px 10px 38px 10px;
    border-radius: 34px;
  }

  .contact-hero-portrait img {
    width: 154%;
    max-width: none;
    max-height: 446px;
    transform: translate(-58px, 6px);
  }

  .badge-contact-top {
    top: 58px;
    right: 8px;
    left: auto;
  }

  .badge-contact-mid {
    top: auto;
    left: 8px;
    bottom: 86px;
  }

  .badge-contact-bottom {
    right: 20px;
    bottom: 26px;
  }

  .about-hero {
    padding-bottom: 48px;
  }

  .about-hero-portrait {
    min-height: 460px;
  }

  .about-hero-portrait::before {
    inset: 44px 12px 38px 12px;
    border-radius: 34px;
  }

  .about-hero-portrait img {
    width: min(102%, 430px);
    max-height: 446px;
    transform: translate(0, 14px);
  }

  .badge-about-top {
    top: 58px;
    left: 8px;
  }

  .badge-about-mid {
    top: auto;
    right: 8px;
    bottom: 88px;
  }

  .badge-about-bottom {
    left: 24px;
    bottom: 28px;
  }

  .work-visual-hero {
    padding-bottom: 48px;
  }

  .work-hero-portrait {
    min-height: 460px;
  }

  .work-hero-portrait::before {
    inset: 44px 12px 38px 12px;
    border-radius: 34px;
  }

  .work-hero-portrait img {
    width: min(104%, 430px);
    max-height: 446px;
    transform: translate(0, 14px);
  }

  .badge-work-top {
    top: 58px;
    left: 8px;
  }

  .badge-work-mid {
    top: auto;
    right: 8px;
    bottom: 88px;
  }

  .badge-work-bottom {
    left: 24px;
    bottom: 28px;
  }

  .enterprise-case-card {
    gap: 22px;
    padding: 20px;
    border-radius: 22px;
  }

  .enterprise-case-brief {
    grid-template-columns: 1fr;
  }

  .enterprise-case-gallery {
    grid-auto-rows: 150px;
    gap: 10px;
  }

  .enterprise-case-shot {
    border-radius: 16px;
  }

  .enterprise-case-shot span {
    right: 9px;
    bottom: 9px;
    max-width: calc(100% - 18px);
    font-size: 11px;
  }

  .story-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: calc(100% - 18px);
    gap: 8px;
    min-height: 64px;
    padding: 8px 9px;
    border-radius: 22px;
  }

  .brand {
    min-width: 142px;
  }

  .mobile-menu-toggle {
    width: 46px;
    height: 46px;
    border-radius: 16px;
  }

  .header-cta {
    min-height: 40px;
    padding: 9px 11px;
    font-size: 12px;
  }

  .brand-logo-main {
    width: 142px;
    max-width: 38vw;
  }

  .hero {
    padding-top: 112px;
    padding-bottom: 78px;
    gap: 24px;
  }

  .hero h1 {
    display: grid;
    gap: 3px;
    font-size: clamp(27px, 7.45vw, 31px);
    line-height: 1.14;
  }

  .hero h1 span {
    display: block;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .hero h1 span + span::before {
    content: none;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.72;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .about-partners {
    padding-top: 20px;
    padding-bottom: 64px;
  }

  .partner-logo-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .partner-logo-card {
    --partner-logo-width: min(78%, 240px);
    --partner-logo-height: 54px;
    min-height: 88px;
  }

  .partner-logo-image {
    width: var(--partner-logo-width);
    height: var(--partner-logo-height);
  }

  .partner-kcc {
    --partner-logo-width: min(74%, 232px);
  }

  .partner-posco {
    --partner-logo-width: min(62%, 188px);
  }

  .partner-aerix {
    --partner-logo-width: min(66%, 208px);
  }

  .proof-label {
    flex: 0 0 100%;
  }

  .hero-proof {
    gap: 8px;
  }

  .hero-portrait {
    width: min(100%, 360px);
    min-height: 430px;
  }

  .portrait-orbit {
    inset: 34px 4px 18px;
    border-radius: 28px;
  }

  .portrait-card {
    position: relative;
    width: min(76vw, 286px);
    height: 392px;
    right: auto;
    left: auto;
    bottom: auto;
    margin: 0 auto;
    transform: none;
  }

  .portrait-card img {
    width: auto;
    height: 112%;
    transform: translateY(8px);
  }

  .services-hero h1 {
    font-size: 34px;
  }

  .services-hero-tags {
    gap: 8px;
  }

  .services-hero-tags span {
    min-height: 32px;
    padding: 5px 10px;
    font-size: 12px;
  }

  .services-hero-media {
    min-height: 330px;
  }

  .services-hero-media img {
    height: 330px;
    object-position: 60% 44%;
  }

  .services-hero-portrait {
    min-height: 390px;
  }

  .services-hero-portrait::before {
    inset: 42px 4px 34px 4px;
  }

  .services-hero-portrait img {
    width: 118%;
    max-width: none;
    max-height: 372px;
    transform: translateY(12px);
  }

  .services-hero-strategy img {
    width: 170%;
    max-height: none;
    transform: translate(0, 2px);
  }

  .service-hero-badge {
    min-width: 132px;
    padding: 9px 11px;
  }

  .service-hero-badge small {
    font-size: 10px;
  }

  .service-hero-badge strong {
    font-size: 12px;
  }

  .badge-service-top {
    top: 48px;
  }

  .badge-service-mid {
    bottom: 72px;
  }

  .badge-service-bottom {
    left: 8px;
    bottom: 18px;
  }

  .contact-hero-portrait {
    min-height: 390px;
  }

  .contact-hero-portrait::before {
    inset: 40px 4px 28px 4px;
  }

  .contact-hero-portrait img {
    width: 160%;
    max-height: 382px;
    transform: translate(-82px, 4px);
  }

  .badge-contact-top {
    top: 46px;
    right: 0;
    left: auto;
  }

  .badge-contact-mid {
    bottom: 64px;
  }

  .badge-contact-bottom {
    right: 4px;
    bottom: 14px;
  }

  .about-hero-portrait {
    min-height: 390px;
  }

  .about-hero-portrait::before {
    inset: 40px 4px 28px 4px;
  }

  .about-hero-portrait img {
    width: min(106%, 370px);
    max-height: 382px;
    transform: translate(0, 12px);
  }

  .badge-about-top {
    top: 46px;
    left: 0;
  }

  .badge-about-mid {
    right: 0;
    bottom: 66px;
  }

  .badge-about-bottom {
    left: 8px;
    bottom: 14px;
  }

  .work-hero-portrait {
    min-height: 390px;
  }

  .work-hero-portrait::before {
    inset: 40px 4px 28px 4px;
  }

  .work-hero-portrait img {
    width: min(108%, 374px);
    max-height: 382px;
    transform: translate(0, 12px);
  }

  .badge-work-top {
    top: 46px;
    left: 0;
  }

  .badge-work-mid {
    right: 0;
    bottom: 66px;
  }

  .badge-work-bottom {
    left: 8px;
    bottom: 14px;
  }

  .hero-actions {
    display: grid;
  }

  .button,
  .header-cta {
    width: 100%;
  }

  .site-header .header-cta {
    width: auto;
  }

  .portrait-card {
    width: 300px;
    height: 410px;
  }

  .floating-badge {
    grid-template-columns: 32px 1fr;
    min-width: 132px;
    max-width: 158px;
    padding: 9px 10px;
    border-radius: 15px;
  }

  .badge-top {
    top: 48px;
    left: 2px;
  }

  .badge-mid {
    right: 0;
    bottom: 124px;
  }

  .badge-bottom {
    left: 4px;
    bottom: 54px;
  }

  .badge-icon {
    width: 32px;
    height: 32px;
  }

  .floating-badge strong {
    font-size: 12px;
  }

  .decision-card {
    padding: 15px;
    border-radius: 20px;
  }

  .service-rail,
  .process-timeline,
  .principle-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .studio-page-list,
  .studio-actions {
    grid-template-columns: 1fr;
  }

  .studio-actions button {
    width: 100%;
  }

  .studio-history-item {
    grid-template-columns: 1fr;
  }

  .studio-history-item button {
    width: 100%;
  }

  .enterprise-cases-heading p:last-child {
    font-size: 15px;
  }

  .enterprise-case-card {
    padding: 16px;
    border-radius: 18px;
  }

  .enterprise-case-tag {
    border-radius: 14px;
  }

  .enterprise-case-card h3 {
    font-size: 25px;
  }

  .enterprise-case-gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 190px;
  }

  .enterprise-case-shot:first-child,
  .enterprise-case-shot:nth-child(n + 2),
  .enterprise-case-card.case-aiplug .enterprise-case-shot:first-child,
  .enterprise-case-card.case-aiplug .enterprise-case-shot:nth-child(n + 2),
  .enterprise-case-shot:first-child:nth-last-child(2),
  .enterprise-case-shot:first-child:nth-last-child(2) ~ .enterprise-case-shot {
    grid-column: auto;
    grid-row: auto;
  }

  .service-card,
  .case-card,
  .enterprise-case-shot,
  .story-card,
  .principle-card,
  .profile-block,
  .service-detail-block,
  .contact-aside,
  .contact-form {
    border-radius: 18px;
  }

  .about-media img {
    height: 320px;
  }

  .media-caption {
    right: 12px;
    bottom: 12px;
    min-width: 176px;
  }

  .section-heading h2,
  .about-copy h2,
  .contact-band h2,
  .page-hero h1 {
    font-size: 30px;
  }

  .site-footer nav {
    flex-wrap: wrap;
  }

  .studio-page-list {
    grid-template-columns: 1fr;
  }

  .studio-site-audit-head {
    display: grid;
  }

  .studio-site-audit-list {
    grid-template-columns: 1fr;
  }

  .studio-actions button {
    flex: 1 1 calc(50% - 8px);
  }

  .studio-preview,
  .studio-preview iframe,
  .studio-editor {
    min-height: 500px;
    height: 500px;
  }
}

.studio-shell-redesign {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  max-width: none;
  margin: 0;
}

.studio-topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(210px, 0.8fr) minmax(280px, 1.15fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(35, 60, 120, 0.11);
  backdrop-filter: blur(18px);
}

.studio-topbar-brand,
.studio-account-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.studio-topbar-brand strong,
.studio-topbar-brand small,
.studio-account-hero strong,
.studio-account-hero small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-topbar-brand strong,
.studio-account-hero strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.studio-topbar-brand small,
.studio-account-hero small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
}

.studio-page-select {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.studio-page-select span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.studio-page-select select {
  width: 100%;
  min-height: 38px;
  padding: 8px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  outline: none;
}

.studio-status-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-width: 0;
}

.studio-status-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid rgba(56, 100, 232, 0.12);
  border-radius: 8px;
  background: rgba(56, 100, 232, 0.07);
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.studio-status-chip.is-dirty {
  border-color: rgba(199, 163, 72, 0.28);
  background: rgba(243, 229, 185, 0.4);
  color: #72581b;
}

.studio-topbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 7px;
  min-width: 0;
}

.studio-topbar-actions button,
.studio-drawer-head button,
.studio-deploy-actions button,
.studio-drawer .studio-block-tools button,
.studio-drawer .studio-change-list button,
.studio-drawer .studio-history-item button {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.studio-topbar-actions > button,
.studio-menu-wrap > button {
  min-height: 38px;
  padding: 8px 11px;
}

.studio-topbar-actions button.primary,
.studio-deploy-actions button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
}

.studio-topbar-actions button:disabled,
.studio-deploy-actions button:disabled {
  cursor: not-allowed;
  opacity: 0.44;
}

.studio-menu-wrap,
.studio-account {
  position: relative;
}

.studio-popover {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 40;
  width: min(320px, calc(100vw - 28px));
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 22px 54px rgba(22, 34, 70, 0.16);
}

.studio-more-menu {
  display: grid;
  gap: 6px;
}

.studio-more-menu button,
.studio-account-card button {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  text-align: left;
}

.studio-account-button {
  display: grid;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  place-items: center;
  border-radius: 50%;
}

.studio-account-button span,
.studio-account-hero > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}

.studio-account-card {
  display: grid;
  gap: 8px;
}

.studio-account-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 760;
}

.studio-canvas-shell {
  display: grid;
  gap: 10px;
  min-width: 0;
  padding: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 18px 54px rgba(35, 60, 120, 0.08);
}

.studio-canvas-head,
.studio-canvas-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 0;
}

.studio-canvas-head strong,
.studio-canvas-head span,
.studio-canvas-foot strong,
.studio-canvas-foot span {
  display: block;
  min-width: 0;
}

.studio-canvas-head strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.studio-canvas-head span,
.studio-canvas-foot span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.studio-viewport-tabs {
  display: inline-flex;
  gap: 5px;
  padding: 4px;
  background: #f6f8ff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.studio-viewport-tabs button {
  min-height: 30px;
  padding: 5px 8px;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.studio-viewport-tabs button.is-active {
  background: #fff;
  color: var(--accent-strong);
  box-shadow: 0 6px 16px rgba(35, 60, 120, 0.09);
}

.studio-shell-redesign .studio-preview {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: min(900px, calc(100vh - 260px));
  height: auto;
  padding: 10px;
  overflow: hidden;
  background: #eef2fb;
  border-radius: 8px;
}

.studio-shell-redesign .studio-preview iframe {
  display: block;
  width: 100%;
  height: min(900px, calc(100vh - 280px));
  min-height: 650px;
  border: 0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(35, 60, 120, 0.12);
}

.studio-shell-redesign .studio-preview-tablet iframe {
  width: min(768px, 100%);
}

.studio-shell-redesign .studio-preview-mobile iframe {
  width: min(390px, 100%);
}

.studio-canvas-foot {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 4px 2px 0;
}

.studio-canvas-foot strong {
  overflow: hidden;
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-canvas-foot button {
  min-height: 32px;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--accent-strong);
  cursor: pointer;
  font-size: 12px;
  font-weight: 900;
}

.studio-save-meta {
  margin: -4px 4px 0;
  color: var(--muted);
  font-size: 11px;
  font-weight: 780;
}

.studio-drawer-scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  border: 0;
  background: rgba(15, 23, 42, 0.18);
  cursor: default;
}

.studio-drawer {
  position: fixed;
  top: 84px;
  right: 12px;
  bottom: 12px;
  z-index: 60;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  gap: 12px;
  width: min(520px, calc(100vw - 24px));
  min-width: 0;
  padding: 14px;
  overflow: auto;
  background: rgba(255,255,255,0.98);
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.2);
}

.studio-drawer-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.studio-drawer-head strong,
.studio-drawer-head span {
  display: block;
}

.studio-drawer-head strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.studio-drawer-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 780;
}

.studio-drawer-head button {
  min-height: 32px;
  padding: 6px 9px;
}

.studio-drawer .studio-block-tools,
.studio-drawer .studio-history-panel,
.studio-drawer .studio-site-audit {
  border-radius: 8px;
}

.studio-drawer .studio-change-list,
.studio-drawer .studio-history-list,
.studio-drawer .studio-site-audit-list {
  max-height: none;
}

.studio-drawer .studio-change-list strong,
.studio-drawer .studio-change-list span {
  white-space: normal;
}

.studio-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(15, 23, 42, 0.28);
}

.studio-deploy-modal {
  display: grid;
  gap: 14px;
  width: min(480px, 100%);
  padding: 18px;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.22);
}

.studio-deploy-modal strong {
  display: block;
  color: var(--ink);
  font-size: 19px;
  font-weight: 950;
}

.studio-deploy-modal p {
  margin: 6px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.studio-deploy-summary {
  display: grid;
  gap: 7px;
  padding: 10px;
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.studio-deploy-summary span {
  overflow: hidden;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.studio-deploy-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.studio-deploy-actions button {
  min-height: 38px;
  padding: 8px 12px;
}

@media (max-width: 1180px) {
  .studio-topbar {
    grid-template-columns: minmax(180px, 1fr) minmax(220px, 1fr);
  }

  .studio-status-strip,
  .studio-topbar-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .studio-page {
    padding: 8px 0 0;
  }

  .studio-shell-redesign {
    width: 100%;
    gap: 10px;
  }

  .studio-topbar {
    top: 8px;
    grid-template-columns: 1fr;
    padding: 10px;
  }

  .studio-topbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto auto;
    width: 100%;
  }

  .studio-topbar-actions > button,
  .studio-menu-wrap > button {
    width: 100%;
    min-width: 0;
    padding: 8px;
  }

  .studio-menu-wrap,
  .studio-account {
    min-width: 0;
  }

  .studio-canvas-shell {
    padding: 8px;
  }

  .studio-canvas-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .studio-viewport-tabs {
    width: 100%;
  }

  .studio-viewport-tabs button {
    flex: 1;
  }

  .studio-shell-redesign .studio-preview {
    min-height: 540px;
    padding: 6px;
  }

  .studio-shell-redesign .studio-preview iframe {
    height: 560px;
    min-height: 560px;
  }

  .studio-canvas-foot {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .studio-canvas-foot button {
    width: 100%;
  }

  .studio-drawer {
    top: 76px;
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
  }

  .studio-deploy-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .studio-deploy-actions button {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .studio-topbar-actions {
    grid-template-columns: 1fr 1fr;
  }

  .studio-menu-wrap,
  .studio-account {
    width: 100%;
  }

  .studio-account-button {
    width: 100%;
    border-radius: 8px;
  }

  .studio-popover {
    right: auto;
    left: 0;
    width: calc(100vw - 40px);
  }

  .studio-account .studio-popover {
    right: 0;
    left: auto;
  }

  .studio-status-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .studio-status-chip,
  .studio-mode {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* AMARANS full rebuild */
body {
  background: #c9c5bd;
}

.amarans-rebuild,
.ar-header,
.ar-footer {
  --ar-bg: #ebe8e2;
  --ar-field: #c9c5bd;
  --ar-ink: #17150f;
  --ar-muted: #4d483f;
  --ar-soft: #a8a398;
  --ar-line: rgba(23, 21, 15, 0.16);
  --ar-accent: #f2502c;
  --ar-dark: #17150f;
  font-family: Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ar-ink);
}

.amarans-rebuild {
  min-height: 100vh;
  background: var(--ar-bg);
}

.amarans-rebuild [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.amarans-rebuild ::selection,
.ar-header ::selection,
.ar-footer ::selection {
  background: var(--ar-accent);
  color: var(--ar-bg);
}

.ar-logo,
.ar-kicker,
.ar-section-index,
.ar-button,
.ar-contact-link,
.ar-nav,
.ar-mobile-cta,
.ar-text-link,
.ar-card small,
.ar-card div small,
.ar-unit-card small,
.ar-contact-aside dt,
.ar-footer h2,
.ar-footer > p {
  font-family: "Space Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

.ar-logo,
.amarans-rebuild h1,
.amarans-rebuild h2,
.amarans-rebuild h3,
.ar-history-row > strong,
.ar-step strong,
.ar-rule strong {
  font-family: "Space Grotesk", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ar-logo {
  display: inline-flex;
  align-items: baseline;
  color: var(--ar-ink);
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}

.ar-logo > span {
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  margin-left: 0.07em;
  background: var(--ar-accent);
  border-radius: 50%;
  vertical-align: baseline;
}

.ar-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(235, 232, 226, 0.88);
  border-bottom: 1px solid rgba(23, 21, 15, 0.1);
  backdrop-filter: blur(12px);
}

.ar-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 88px), 1192px);
  min-height: 74px;
  margin: 0 auto;
}

.ar-brand {
  display: inline-flex;
  align-items: center;
}

.ar-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  color: var(--ar-ink);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.ar-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.42em;
  color: var(--ar-ink);
  font-weight: 900;
}

.ar-nav a,
.ar-footer a,
.ar-text-link {
  transition: color 180ms ease, border-color 180ms ease;
}

.ar-nav a:hover,
.ar-footer a:hover,
.ar-text-link:hover {
  color: var(--ar-accent);
}

.ar-nav a.is-active {
  color: var(--ar-ink);
}

.ar-nav a.is-active::after {
  content: "";
  width: 0.62em;
  height: 0.62em;
  margin-top: 0.02em;
  background: var(--ar-accent);
  border-radius: 50%;
}

.ar-contact-link,
.ar-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  color: var(--ar-bg);
  background: var(--ar-dark);
  border: 1px solid var(--ar-dark);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.ar-contact-link:hover,
.ar-button:hover {
  color: var(--ar-ink);
  background: var(--ar-accent);
  transform: translateX(4px);
}

.ar-menu,
.ar-mobile-nav {
  display: none;
}

.ar-section {
  width: min(calc(100% - 88px), 1192px);
  margin: 0 auto;
  padding: 84px 0;
  border-bottom: 1px solid var(--ar-line);
}

.ar-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
  gap: 48px;
  align-items: stretch;
  padding-top: 76px;
  padding-bottom: 60px;
}

.ar-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 460px;
}

.ar-step-dots {
  display: flex;
  gap: 7px;
  margin-bottom: 22px;
}

.ar-step-dots span {
  width: 13px;
  height: 13px;
  border: 1.5px solid var(--ar-accent);
}

.ar-step-dots span:first-child {
  background: var(--ar-accent);
}

.ar-step-dots span:last-child {
  border-color: rgba(23, 21, 15, 0.25);
}

.ar-kicker,
.ar-section-index {
  margin: 0;
  color: var(--ar-accent);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ar-hero h1,
.ar-page-hero h1 {
  margin: 0;
  color: var(--ar-ink);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.82;
}

.ar-hero h1 {
  font-size: clamp(104px, 15vw, 200px);
}

.ar-page-hero h1 {
  font-size: clamp(84px, 12.6vw, 160px);
}

.ar-hero h1 span,
.ar-page-hero h1 span,
.ar-feature h2 span,
.ar-heading-row h2 span,
.ar-cta h2 em,
.amarans-rebuild h2 em,
.ar-page-lead em,
.ar-wide-title em {
  color: var(--ar-accent);
  font-style: normal;
}

.ar-hero-lead {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--ar-ink);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.12;
}

.ar-hero-action {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 42px;
}

.ar-hero-action strong {
  color: var(--ar-ink);
  font-family: "Space Grotesk", sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 0.8;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.ar-hero-action a {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 64px;
  height: 64px;
  color: var(--ar-bg);
  background: var(--ar-dark);
  font-size: 26px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.ar-hero-action a:hover {
  color: var(--ar-ink);
  background: var(--ar-accent);
  transform: translateX(6px);
}

.ar-hero-action p {
  margin: 0;
  max-width: 270px;
  color: var(--ar-muted);
  font-size: 14px;
  line-height: 1.65;
}

.ar-hero-visual {
  position: relative;
  min-height: 460px;
  margin: 0;
  overflow: hidden;
  background: #ded9cf;
  border: 1px solid var(--ar-ink);
}

.ar-hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: grayscale(0.84) brightness(1.05) contrast(0.98) sepia(0.12);
  object-fit: cover;
}

.ar-hero-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(160deg, transparent 55%, rgba(242, 80, 44, 0.16));
}

.ar-hero-visual figcaption {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  padding: 10px 16px;
  color: var(--ar-ink);
  background: var(--ar-accent);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.ar-hero-visual > span {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  width: 34px;
  height: 34px;
  background: var(--ar-accent);
}

.ar-marquee {
  overflow: hidden;
  padding: 12px 0;
  color: var(--ar-bg);
  background: var(--ar-dark);
  white-space: nowrap;
}

.ar-marquee span {
  display: inline-block;
  min-width: 200%;
  font-family: "Space Mono", monospace;
  font-size: 13px;
  font-weight: 700;
  animation: ar-marquee 32s linear infinite;
}

.ar-split {
  display: grid;
  grid-template-columns: 120px minmax(320px, 1fr) minmax(260px, 0.72fr);
  gap: 48px;
  align-items: start;
}

.amarans-rebuild h2 {
  margin: 0;
  color: var(--ar-ink);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 900;
  line-height: 0.98;
}

.ar-copy-stack p {
  margin: 0;
  color: var(--ar-muted);
  font-size: 16px;
  line-height: 1.85;
}

.ar-metrics {
  display: flex;
  gap: 30px;
  margin-top: 28px;
}

.ar-metrics span {
  display: grid;
  gap: 4px;
}

.ar-metrics strong {
  color: var(--ar-accent);
  font-family: "Space Grotesk", sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 0.9;
}

.ar-metrics small {
  color: #6b6760;
  font-family: "Space Mono", monospace;
  font-size: 9px;
  text-transform: uppercase;
}

.ar-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 38px;
}

.ar-heading-row > p {
  max-width: 280px;
  margin: 0;
  color: var(--ar-muted);
  font-size: 14px;
  line-height: 1.7;
}

.ar-card-grid {
  display: grid;
  border-top: 1px solid var(--ar-ink);
  border-left: 1px solid var(--ar-line);
}

.ar-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ar-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 0;
}

.ar-services-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ar-card,
.ar-outline-card {
  min-width: 0;
  padding: 30px 28px 32px;
  background: var(--ar-bg);
  border-right: 1px solid var(--ar-line);
  border-bottom: 1px solid var(--ar-line);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.ar-card:hover {
  background: #e1dcd1;
}

.ar-card > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.ar-card strong,
.ar-rule strong,
.ar-step strong,
.ar-history-row > strong,
.ar-outline-card > strong {
  color: var(--ar-accent);
}

.ar-card strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 30px;
  font-weight: 900;
}

.ar-card small,
.ar-card div small,
.ar-outline-card small,
.ar-unit-card small,
.ar-feature small {
  color: var(--ar-accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.ar-card h3,
.ar-outline-card h3,
.ar-unit-card h3 {
  margin: 18px 0 10px;
  color: var(--ar-ink);
  font-size: 25px;
  font-weight: 900;
  line-height: 1.12;
}

.ar-card p,
.ar-outline-card p,
.ar-unit-card p,
.ar-feature p,
.ar-history p,
.ar-rule p,
.ar-step p {
  margin: 0;
  color: var(--ar-muted);
  font-size: 15px;
  line-height: 1.7;
}

.ar-card-large h3 {
  max-width: 320px;
  margin-top: 14px;
  font-size: 24px;
  line-height: 1.35;
}

.ar-wide-title {
  margin: 14px 0 40px;
  max-width: 940px;
}

.ar-step-list,
.ar-rule-list {
  display: grid;
}

.ar-step,
.ar-rule {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--ar-ink);
  transition: padding-left 180ms ease, background 180ms ease;
}

.ar-step:hover,
.ar-rule:hover {
  padding-left: 18px;
  background: linear-gradient(90deg, rgba(242, 80, 44, 0.08), transparent);
}

.ar-step strong,
.ar-rule strong {
  font-size: 58px;
  font-weight: 900;
  line-height: 0.78;
}

.ar-step h3,
.ar-rule h3 {
  margin: 0 0 8px;
  font-size: 27px;
  font-weight: 900;
  line-height: 1.2;
}

.ar-cta {
  position: relative;
  overflow: hidden;
  padding: 100px max(44px, calc((100vw - 1192px) / 2));
}

.ar-cta-dark {
  color: var(--ar-bg);
  background: var(--ar-dark);
}

.ar-cta-orange {
  color: var(--ar-ink);
  background: var(--ar-accent);
}

.ar-cta > span {
  position: absolute;
  right: -2%;
  bottom: -20%;
  color: rgba(242, 80, 44, 0.12);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(130px, 22vw, 300px);
  font-weight: 900;
  line-height: 0.7;
  pointer-events: none;
}

.ar-cta-orange > span {
  color: rgba(23, 21, 15, 0.12);
}

.ar-cta > div {
  position: relative;
  z-index: 1;
}

.ar-cta h2 {
  max-width: 960px;
  margin: 0;
  color: inherit;
  font-size: clamp(44px, 6.5vw, 76px);
  line-height: 0.94;
}

.ar-cta .ar-button {
  margin-top: 34px;
  color: var(--ar-ink);
  background: var(--ar-accent);
  border-color: var(--ar-accent);
}

.ar-cta-orange .ar-button {
  color: var(--ar-bg);
  background: var(--ar-dark);
  border-color: var(--ar-dark);
}

.ar-page-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(280px, 1fr);
  gap: 42px;
  align-items: end;
  padding-top: 92px;
}

.ar-page-lead h2 {
  color: var(--ar-ink);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.16;
}

.ar-page-lead p {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ar-muted);
  font-size: 17px;
  line-height: 1.8;
}

.ar-text-link {
  color: var(--ar-ink);
  border-bottom: 1px solid var(--ar-ink);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ar-outline-card {
  border: 1px solid var(--ar-ink);
}

.ar-outline-card:hover {
  color: var(--ar-bg);
  background: var(--ar-dark);
}

.ar-outline-card:hover h3,
.ar-outline-card:hover p {
  color: inherit;
}

.ar-outline-card > strong {
  font-family: "Space Grotesk", sans-serif;
  font-size: 36px;
  font-weight: 900;
}

.ar-history h2 {
  margin: 8px 0 36px;
}

.ar-history-row {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 40px;
  padding: 34px 0;
  border-top: 1px solid var(--ar-ink);
}

.ar-history-row > strong {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 30px;
  font-weight: 900;
}

.ar-history-row > strong::before {
  width: 10px;
  height: 10px;
  background: var(--ar-accent);
  border-radius: 50%;
  content: "";
}

.ar-history-row div {
  display: grid;
  gap: 24px;
}

.ar-history h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.ar-history a {
  display: inline-flex;
  margin-top: 8px;
  color: var(--ar-accent);
  font-family: "Space Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  border-bottom: 1px solid rgba(242, 80, 44, 0.4);
}

.ar-unit-card {
  overflow: hidden;
  background: var(--ar-bg);
  border-right: 1px solid var(--ar-line);
  border-bottom: 1px solid var(--ar-line);
}

.ar-team-units {
  border-bottom: 0;
}

.ar-unit-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
  color: var(--ar-bg);
  background: var(--ar-dark);
}

.ar-unit-card header small {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.ar-unit-card header span {
  color: var(--ar-bg);
}

.ar-unit-card > div {
  padding: 26px 24px 30px;
}

.ar-unit-card dl {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 16px;
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--ar-line);
}

.ar-unit-card dt,
.ar-unit-card dd {
  margin: 0;
  font-size: 13px;
}

.ar-unit-card dt {
  font-weight: 800;
}

.ar-unit-card dd {
  color: var(--ar-accent);
  font-family: "Space Mono", monospace;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.ar-feature {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 60px);
  color: var(--ar-bg);
  background: var(--ar-dark);
}

.ar-feature > span {
  position: absolute;
  right: -2%;
  bottom: -30%;
  color: rgba(242, 80, 44, 0.12);
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(120px, 18vw, 220px);
  font-weight: 900;
  line-height: 0.7;
}

.ar-feature > div {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.ar-feature h2 {
  margin: 18px 0 12px;
  color: inherit;
  font-size: clamp(48px, 7vw, 84px);
}

.ar-feature p {
  color: #c9c5bd;
  font-size: 18px;
}

.ar-feature .ar-button {
  margin-top: 26px;
  color: var(--ar-ink);
  background: var(--ar-accent);
  border-color: var(--ar-accent);
}

.ar-work-section {
  padding-top: 26px;
}

.ar-work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}

.ar-work-card {
  min-width: 0;
  padding: 18px;
  background: rgba(225, 220, 209, 0.86);
  border: 1px solid var(--ar-ink);
}

.ar-work-card header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(23, 21, 15, 0.22);
}

.ar-work-card strong {
  flex: 0 0 auto;
  color: var(--ar-accent);
  font-size: 16px;
  font-weight: 900;
}

.ar-work-card h2 {
  margin: 0;
  color: var(--ar-ink);
  font-size: clamp(24px, 2.2vw, 34px);
  line-height: 1.05;
  text-align: right;
  word-break: keep-all;
}

.ar-work-card p {
  min-height: 5.25em;
  margin: 18px 0;
  color: #514d45;
  font-size: 14px;
  line-height: 1.75;
  word-break: keep-all;
}

.ar-work-shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.ar-work-shot {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  background: var(--ar-dark);
  border: 1px solid rgba(23, 21, 15, 0.3);
}

.ar-work-shot.is-primary {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}

.ar-work-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 180ms ease, filter 180ms ease;
}

.ar-work-shot:hover img,
.ar-work-shot:focus-visible img {
  transform: scale(1.025);
  filter: saturate(1.06) contrast(1.02);
}

.ar-work-shot:focus-visible {
  outline: 3px solid var(--ar-accent);
  outline-offset: 3px;
}

.ar-lightbox-open {
  overflow: hidden;
}

.ar-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5dvh clamp(16px, 4vw, 44px);
  background: rgba(23, 21, 15, 0.82);
}

.ar-lightbox-backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.ar-lightbox-panel {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(94vw, 1500px);
  height: 95dvh;
  max-height: 95dvh;
  margin: 0;
  overflow: hidden;
  background: var(--ar-bg);
  border: 1px solid rgba(235, 232, 226, 0.28);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.45);
}

.ar-lightbox-panel img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  background: #080806;
}

.ar-lightbox-panel figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  background: var(--ar-bg);
  border-top: 1px solid var(--ar-line);
}

.ar-lightbox-panel figcaption strong {
  color: var(--ar-ink);
  font-size: 18px;
  font-weight: 900;
}

.ar-lightbox-panel figcaption span {
  color: #514d45;
  font-size: 13px;
  word-break: keep-all;
}

.ar-lightbox-close,
.ar-lightbox-nav {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--ar-bg);
  cursor: pointer;
  background: rgba(23, 21, 15, 0.78);
  border: 1px solid rgba(235, 232, 226, 0.36);
}

.ar-lightbox-close {
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  line-height: 1;
}

.ar-lightbox-nav {
  top: 50%;
  width: 48px;
  height: 72px;
  font-size: 44px;
  line-height: 1;
  transform: translateY(-50%);
}

.ar-lightbox-nav.prev {
  left: 14px;
}

.ar-lightbox-nav.next {
  right: 14px;
}

.ar-lightbox-close:hover,
.ar-lightbox-nav:hover,
.ar-lightbox-close:focus-visible,
.ar-lightbox-nav:focus-visible {
  color: var(--ar-ink);
  background: var(--ar-accent);
  outline: 0;
}

.ar-contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: start;
}

.ar-contact-aside,
.amarans-rebuild .contact-form {
  padding: 32px;
  background: rgba(235, 232, 226, 0.76);
  border: 1px solid var(--ar-ink);
}

.ar-contact-aside > p {
  margin: 14px 0 28px;
  color: var(--ar-accent);
  font-weight: 900;
}

.ar-contact-aside dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.ar-contact-aside dt {
  margin-top: 14px;
  color: var(--ar-soft);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.ar-contact-aside dd {
  margin: 0;
  color: var(--ar-muted);
  font-size: 15px;
  line-height: 1.65;
}

.amarans-rebuild .contact-form {
  display: grid;
  gap: 18px;
}

.amarans-rebuild .form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.amarans-rebuild .contact-form label {
  display: grid;
  gap: 8px;
}

.amarans-rebuild .contact-form label span {
  color: var(--ar-ink);
  font-size: 13px;
  font-weight: 900;
}

.amarans-rebuild .contact-form input,
.amarans-rebuild .contact-form select,
.amarans-rebuild .contact-form textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  color: var(--ar-ink);
  background: #f4f1ea;
  border: 1px solid rgba(23, 21, 15, 0.32);
  border-radius: 0;
  outline: none;
}

.amarans-rebuild .contact-form textarea {
  min-height: 170px;
  resize: vertical;
}

.amarans-rebuild .contact-form input:focus,
.amarans-rebuild .contact-form select:focus,
.amarans-rebuild .contact-form textarea:focus {
  border-color: var(--ar-accent);
  box-shadow: 0 0 0 3px rgba(242, 80, 44, 0.14);
}

.amarans-rebuild .button.primary,
.amarans-rebuild .form-submit {
  justify-self: start;
  min-height: 48px;
  padding: 14px 22px;
  color: var(--ar-bg);
  background: var(--ar-dark);
  border: 1px solid var(--ar-dark);
  border-radius: 0;
  box-shadow: none;
}

.amarans-rebuild .button.primary:hover,
.amarans-rebuild .form-submit:hover {
  color: var(--ar-ink);
  background: var(--ar-accent);
  border-color: var(--ar-accent);
  transform: translateX(4px);
}

.amarans-rebuild .form-alert {
  border-radius: 0;
}

.ar-footer {
  padding: 62px max(44px, calc((100vw - 1192px) / 2)) 34px;
  color: var(--ar-bg);
  background: var(--ar-dark);
}

.ar-footer > div {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(235, 232, 226, 0.18);
}

.ar-footer .ar-logo {
  color: var(--ar-bg);
}

.ar-footer p {
  margin: 14px 0 0;
  max-width: 340px;
  color: var(--ar-soft);
  font-size: 14px;
  line-height: 1.7;
}

.ar-footer nav {
  display: flex;
  gap: 52px;
  flex-wrap: wrap;
}

.ar-footer section {
  display: grid;
  gap: 11px;
  align-content: start;
}

.ar-footer h2 {
  margin: 0;
  color: var(--ar-accent);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.ar-footer a {
  color: #d8d4cb;
  font-size: 14px;
}

.ar-footer > p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  max-width: none;
  padding-top: 20px;
  color: #8a857b;
  font-size: 10px;
  text-transform: none;
}

.case-modal {
  max-height: 95dvh;
}

.case-modal-stage img {
  max-height: calc(95dvh - 130px);
}

.studio-deploy-modal {
  max-height: 95dvh;
  overflow: auto;
}

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

@media (max-width: 980px) {
  .ar-header-inner {
    grid-template-columns: auto 1fr auto;
    width: min(calc(100% - 48px), 1192px);
  }

  .ar-nav,
  .ar-contact-link {
    display: none;
  }

  .ar-menu {
    display: grid;
    place-items: center;
    justify-self: end;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .ar-menu span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ar-ink);
    transition: transform 160ms ease;
  }

  .ar-menu span + span {
    margin-top: 6px;
  }

  .ar-menu[aria-expanded="true"] span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .ar-menu[aria-expanded="true"] span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .ar-mobile-nav {
    grid-column: 1 / -1;
    display: grid;
    gap: 0;
    padding-top: 8px;
    background: var(--ar-bg);
  }

  .ar-mobile-nav[hidden] {
    display: none;
  }

  .ar-mobile-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.36em;
    padding: 14px 2px;
    border-top: 1px solid var(--ar-line);
    font-family: "Space Grotesk", sans-serif;
    font-size: 28px;
    font-weight: 900;
  }

  .ar-mobile-nav a.is-active::after {
    content: "";
    width: 0.46em;
    height: 0.46em;
    margin-top: 0.1em;
    background: var(--ar-accent);
    border-radius: 50%;
  }

  .ar-mobile-cta {
    margin-top: 14px;
    color: var(--ar-bg);
    background: var(--ar-dark);
    text-align: center;
  }

  .ar-section {
    width: min(calc(100% - 44px), 720px);
    padding: 58px 0;
  }

  .ar-hero,
  .ar-page-hero,
  .ar-split,
  .ar-contact-layout {
    grid-template-columns: 1fr;
  }

  .ar-hero-copy {
    min-height: auto;
  }

  .ar-hero-visual {
    min-height: 340px;
  }

  .ar-three,
  .ar-two,
  .ar-services-grid,
  .ar-work-grid {
    grid-template-columns: 1fr;
  }

  .ar-work-card p {
    min-height: 0;
  }

  .ar-lightbox {
    padding: 2.5dvh 12px;
  }

  .ar-lightbox-panel {
    width: 100%;
  }

  .ar-lightbox-panel figcaption {
    align-items: flex-start;
    flex-direction: column;
  }

  .ar-heading-row,
  .ar-footer > div,
  .ar-footer > p {
    align-items: start;
    flex-direction: column;
  }

  .ar-history-row {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 560px) {
  .ar-header-inner {
    width: min(calc(100% - 40px), 440px);
    min-height: 66px;
  }

  .ar-logo {
    font-size: 21px;
  }

  .ar-section {
    width: min(calc(100% - 36px), 440px);
    padding: 48px 0;
  }

  .ar-hero {
    padding-top: 46px;
  }

  .ar-hero h1,
  .ar-page-hero h1 {
    font-size: clamp(72px, 20vw, 96px);
  }

  .ar-page-hero h1 {
    font-size: clamp(64px, 18vw, 84px);
  }

  .ar-hero-lead {
    font-size: 27px;
  }

  .ar-hero-action {
    align-items: flex-start;
    gap: 14px;
  }

  .ar-hero-action strong {
    font-size: 34px;
  }

  .ar-hero-action a {
    width: 56px;
    height: 56px;
  }

  .ar-page-lead h2,
  .amarans-rebuild h2 {
    font-size: 31px;
  }

  .ar-card,
  .ar-outline-card,
  .ar-unit-card > div,
  .ar-contact-aside,
  .amarans-rebuild .contact-form {
    padding: 24px 22px;
  }

  .ar-step,
  .ar-rule {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .ar-step strong,
  .ar-rule strong {
    font-size: 42px;
  }

  .ar-cta {
    padding: 60px 22px;
  }

  .ar-cta h2 {
    font-size: 39px;
  }

  .amarans-rebuild .form-grid {
    grid-template-columns: 1fr;
  }

  .ar-footer {
    padding: 46px 22px 28px;
  }
}

/* AMARANS 2026 full renewal */
.amarans-modern,
.am-header,
.am-util,
.am-cta-band,
.am-footer,
.am-floating-contact {
  --am-navy: #16243f;
  --am-navy-2: #0f172a;
  --am-orange: #f2502c;
  --am-orange-soft: #ffb9a6;
  --am-ink: #16243f;
  --am-muted: #5b6577;
  --am-soft: #f4f6f9;
  --am-line: #edf0f5;
  --am-white: #ffffff;
  font-family: Pretendard, "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--am-ink);
}

.amarans-modern {
  min-height: 100vh;
  background: var(--am-white);
  overflow: hidden;
}

.am-container {
  width: min(calc(100% - 48px), 1240px);
  margin: 0 auto;
}

.am-label,
.am-eyebrow,
.am-util-meta,
.am-nav,
.am-form-index,
.am-footer h2,
.am-service-card small,
.am-team-card small {
  font-family: "Plus Jakarta Sans", Pretendard, sans-serif;
}

.am-util {
  position: relative;
  z-index: 70;
  background: var(--am-navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
}

.am-util .am-container {
  display: flex;
  align-items: center;
  gap: 26px;
  min-height: 42px;
}

.am-util b {
  color: var(--am-orange);
  font-weight: 800;
}

.am-util-meta {
  margin-left: auto;
  color: rgba(255, 255, 255, 0.52);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.am-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--am-line);
  backdrop-filter: blur(12px);
}

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

.am-brand {
  display: inline-flex;
  align-items: center;
}

.am-brand img {
  width: auto;
  height: 26px;
  display: block;
}

.am-nav {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.am-nav a {
  position: relative;
  color: var(--am-navy);
}

.am-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--am-orange);
  transition: width 220ms ease;
}

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

.am-header-cta,
.am-button,
.am-submit,
.am-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 26px;
  color: #fff;
  background: var(--am-orange);
  border: 1px solid var(--am-orange);
  border-radius: 999px;
  box-shadow: 0 16px 32px -14px rgba(242, 80, 44, 0.72);
  font-weight: 800;
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.am-button.dark {
  color: #fff;
  background: var(--am-navy);
  border-color: var(--am-navy);
  box-shadow: none;
}

.am-header-cta:hover,
.am-button:hover,
.am-submit:hover,
.am-mobile-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px -18px rgba(242, 80, 44, 0.8);
}

.am-menu,
.am-mobile-nav {
  display: none;
}

.am-hero {
  position: relative;
  min-height: 650px;
  overflow: hidden;
  background: var(--am-navy);
}

.am-hero-visual {
  position: absolute;
  inset: 0;
}

.am-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: am-slow-zoom 8s ease forwards;
}

.am-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.68) 44%, rgba(15, 23, 42, 0.12) 100%);
}

.am-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-height: 650px;
  padding: clamp(64px, 9vw, 120px) 0 clamp(74px, 10vw, 140px);
}

.am-hero-copy {
  max-width: 650px;
}

.am-eyebrow,
.am-label {
  color: var(--am-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

.am-label.invert {
  color: var(--am-orange-soft);
}

.am-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  margin-bottom: 26px;
  color: var(--am-orange-soft);
  background: rgba(242, 80, 44, 0.16);
  border: 1px solid rgba(242, 80, 44, 0.42);
  border-radius: 999px;
  font-size: 12px;
}

.am-eyebrow span {
  width: 7px;
  height: 7px;
  background: var(--am-orange);
  border-radius: 50%;
  animation: am-pulse 2s infinite;
}

.am-hero h1,
.am-page-hero h1,
.am-section h2,
.am-service-band h2,
.am-copy h2,
.am-cta-band h2,
.am-squad h2 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Pretendard, sans-serif;
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.14;
  text-wrap: balance;
}

.am-hero h1 {
  color: #fff;
  font-size: clamp(42px, 6vw, 72px);
}

.am-hero h1 em,
.am-page-hero h1 em,
.am-squad em {
  color: var(--am-orange);
  font-style: normal;
}

.am-hero-copy > p:not(.am-eyebrow) {
  max-width: 530px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.78;
}

.am-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 38px;
}

.am-play-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-weight: 800;
}

.am-play-link span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
}

.am-hero-stat {
  position: absolute;
  right: 0;
  bottom: 46px;
  display: grid;
  grid-template-columns: auto auto;
  gap: 4px 18px;
  padding: 22px 26px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.4);
}

.am-hero-stat strong {
  color: var(--am-orange);
  font-size: 38px;
  line-height: 1;
}

.am-hero-stat span {
  align-self: end;
  color: var(--am-muted);
  font-size: 13px;
}

.am-hero-stat i {
  grid-row: 1 / 3;
  width: 1px;
  background: var(--am-line);
}

.am-section {
  width: min(calc(100% - 48px), 1240px);
  margin: 0 auto;
  padding: clamp(62px, 8vw, 112px) 0;
}

.am-soft {
  width: 100%;
  max-width: none;
  padding-right: max(24px, calc((100vw - 1240px) / 2));
  padding-left: max(24px, calc((100vw - 1240px) / 2));
  background: var(--am-soft);
}

.am-section-head {
  margin-bottom: 48px;
}

.am-section-head.centered {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.am-section-head.split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.am-section h2,
.am-section-head h2,
.am-copy h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 46px);
}

.am-feature-grid,
.am-service-grid,
.am-work-grid,
.am-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.am-feature-card,
.am-service-card,
.am-team-card {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--am-line);
  border-radius: 22px;
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 360ms ease, border-color 360ms ease;
}

.am-feature-card:hover,
.am-service-card:hover,
.am-team-card:hover,
.am-work-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -26px rgba(22, 36, 63, 0.3);
  border-color: rgba(242, 80, 44, 0.28);
}

.am-feature-card {
  padding: 38px 32px;
}

.am-feature-card > span,
.am-service-card header span,
.am-team-card header span {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
  color: var(--am-orange);
  background: rgba(242, 80, 44, 0.1);
  border-radius: 18px;
}

.am-feature-card svg,
.am-service-card svg,
.am-team-card svg,
.am-contact-list svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.am-feature-card small,
.am-service-card small,
.am-team-card small {
  color: var(--am-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.am-feature-card h3,
.am-service-card h2,
.am-team-card h2 {
  margin: 8px 0 12px;
  font-size: 22px;
  line-height: 1.28;
}

.am-feature-card p,
.am-service-card p,
.am-team-card p,
.am-copy p,
.am-large-copy {
  color: var(--am-muted);
  font-size: 16px;
  line-height: 1.75;
}

.am-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(38px, 6vw, 82px);
  align-items: center;
}

.am-image-stack,
.am-image-card {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #dfe4ec;
  border-radius: 24px 80px 24px 24px;
}

.am-image-stack img,
.am-image-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.am-image-stack:hover img,
.am-image-card:hover img {
  transform: scale(1.04);
}

.am-image-stack figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 8px 13px;
  color: #fff;
  background: var(--am-orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.am-copy {
  max-width: 560px;
}

.am-mini-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.am-mini-grid article {
  padding: 22px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 16px 36px -24px rgba(22, 36, 63, 0.26);
}

.am-mini-grid strong {
  display: block;
  margin-bottom: 6px;
  font-size: 16px;
}

.am-mini-grid span {
  color: var(--am-muted);
  font-size: 13px;
  line-height: 1.6;
}

.am-text-link {
  display: inline-flex;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 2px solid var(--am-orange);
  color: var(--am-navy);
  font-weight: 900;
}

.am-service-band {
  position: relative;
  overflow: hidden;
  background: var(--am-navy);
}

.am-service-band > img {
  position: absolute;
  inset: 0 auto 0 0;
  width: 62%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
}

.am-service-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.46), rgba(15, 23, 42, 0.9) 56%);
}

.am-service-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: clamp(64px, 8vw, 112px) 0;
}

.am-service-band h2 {
  margin-top: 12px;
  color: #fff;
  font-size: clamp(30px, 4vw, 46px);
}

.am-service-band p {
  max-width: 430px;
  margin: 18px 0 30px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.am-service-short {
  padding: 14px;
  background: var(--am-orange);
  border-radius: 24px;
}

.am-service-short a {
  display: grid;
  grid-template-columns: 44px 24px minmax(0, 1fr);
  gap: 4px 14px;
  align-items: center;
  width: 100%;
  padding: 16px 18px;
  color: #fff;
  border-radius: 16px;
  transition: background 220ms ease, transform 220ms ease;
}

.am-service-short a:hover {
  background: rgba(255, 255, 255, 0.14);
  transform: translateX(4px);
}

.am-service-short span {
  grid-column: 1;
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1.5px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
}

.am-service-short svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.am-service-short small {
  grid-column: 3;
  justify-self: end;
  color: rgba(255, 255, 255, 0.74);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: right;
  white-space: nowrap;
}

.am-service-short i {
  grid-column: 2;
  grid-row: 1 / 3;
  justify-self: center;
  align-self: center;
  font-style: normal;
}

.am-service-short b {
  grid-column: 3;
  justify-self: end;
  text-align: right;
}

.am-impact {
  align-items: start;
}

.am-bars article {
  margin-bottom: 30px;
}

.am-bars header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.am-bars strong {
  color: var(--am-orange);
}

.am-bars span {
  display: block;
  height: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  background: #eef1f5;
  border-radius: 999px;
}

.am-bars i {
  display: block;
  height: 100%;
  background: var(--am-orange);
  border-radius: inherit;
  transform-origin: left;
  animation: am-bar 1.1s cubic-bezier(0.3, 0.8, 0.3, 1) both;
}

.am-bars .muted i {
  background: #cdd3dd;
}

.am-work-grid.preview {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.am-work-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-align: left;
  color: inherit;
  font: inherit;
  text-decoration: none;
  background: #fff;
  border: 1px solid rgba(22, 36, 63, 0.08);
  border-radius: 22px;
  box-shadow: 0 22px 50px -30px rgba(22, 36, 63, 0.25);
  isolation: isolate;
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.3, 1), box-shadow 360ms ease, border-color 360ms ease;
}

.am-work-card figure {
  position: relative;
  margin: 0;
  padding: 14px 14px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #f6f8fb 0%, #fff 100%);
  aspect-ratio: 16 / 10;
  border-radius: 22px 22px 0 0;
}

.am-work-shot-main {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 18px 18px 6px 6px;
  background: transparent;
  cursor: zoom-in;
}

.am-work-shot-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  background: #dfe4ec;
  border-radius: 18px 18px 6px 6px;
  box-shadow: 0 14px 28px -26px rgba(22, 36, 63, 0.42);
  transition: transform 520ms cubic-bezier(0.2, 0.7, 0.3, 1);
}

.am-work-card:hover .am-work-shot-main img {
  transform: scale(1.06);
}

.am-work-card figure span {
  position: absolute;
  top: 16px;
  right: 18px;
  color: #fff;
  font-size: 34px;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.34);
}

.am-work-shot-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 12px 14px 0;
  background: #fff;
}

.am-work-shot-thumb {
  height: 62px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 36, 63, 0.1);
  border-radius: 10px;
  background: #f6f8fb;
  cursor: zoom-in;
}

.am-work-shot-thumb.is-active {
  border-color: rgba(242, 80, 44, 0.56);
  box-shadow: 0 0 0 3px rgba(242, 80, 44, 0.1);
}

.am-work-shot-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.am-work-copy {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 26px 28px 30px;
}

.am-work-card small {
  display: block;
  color: var(--am-orange);
  font-size: 13px;
  font-weight: 800;
}

.am-work-card h2 {
  margin: 6px 48px 10px 0;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.22;
}

.am-work-card p {
  margin: auto 0 0;
  color: var(--am-muted);
  font-size: 14px;
  line-height: 1.65;
}

.am-work-url {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: calc(100% - 48px);
  margin-top: 14px;
  color: var(--am-orange);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  word-break: break-all;
}

.am-work-card b {
  position: absolute;
  top: 26px;
  right: 24px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--am-soft);
  border-radius: 50%;
  transition: transform 260ms ease, background 260ms ease, color 260ms ease;
}

.am-work-card:hover b {
  color: #fff;
  background: var(--am-orange);
  transform: translate(4px, -4px);
}

.am-page-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  min-height: clamp(340px, 34vw, 470px);
  overflow: hidden;
  background: radial-gradient(circle at 80% -10%, rgba(242, 80, 44, 0.22), transparent 44%), var(--am-navy);
}

.am-page-hero-visual {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--am-navy);
}

.am-page-hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 58%;
  filter: saturate(1.02) contrast(1.05);
  transform: scale(1.04);
  animation: am-slow-zoom 9s ease forwards;
}

.am-page-hero.is-image-filled {
  min-height: clamp(400px, 38vw, 540px);
}

.am-page-hero.is-image-filled .am-page-hero-visual img {
  object-position: center 42%;
  transform: scale(1.13);
}

.am-page-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(100deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.78) 42%, rgba(15, 23, 42, 0.36) 72%, rgba(15, 23, 42, 0.24) 100%),
    radial-gradient(circle at 86% 18%, rgba(242, 80, 44, 0.2), transparent 34%);
}

.am-page-hero.has-image::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 0;
  height: 6px;
  background: var(--am-orange);
}

.am-page-hero .am-container {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1240px);
  padding: clamp(74px, 9vw, 122px) 0 clamp(54px, 6vw, 82px);
}

.am-page-hero h1 {
  margin-top: 14px;
  color: #fff;
  font-size: clamp(38px, 5.6vw, 66px);
  text-shadow: 0 24px 54px rgba(0, 0, 0, 0.34);
}

.am-service-card,
.am-team-card {
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
}

.am-service-card header,
.am-team-card header {
  display: flex;
  align-items: start;
  justify-content: space-between;
}

.am-service-card header b,
.am-team-card header b {
  color: #e6e9ef;
  font-size: 24px;
}

.am-service-card > div {
  padding: 14px 16px;
  margin: 14px 0;
  background: var(--am-soft);
  border-radius: 14px;
}

.am-service-card > div b {
  display: block;
  margin-bottom: 5px;
  color: var(--am-orange);
  font-size: 12px;
}

.am-service-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: auto;
  padding-top: 18px;
}

.am-service-card footer span {
  padding: 5px 12px;
  color: var(--am-muted);
  background: var(--am-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
}

.am-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  padding: clamp(52px, 7vw, 90px) max(24px, calc((100vw - 1240px) / 2));
  background: var(--am-navy);
}

.am-stats article {
  text-align: center;
}

.am-stats strong {
  display: block;
  color: var(--am-orange);
  font-size: clamp(42px, 5vw, 62px);
  line-height: 1;
}

.am-stats span {
  display: block;
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.66);
}

.am-large-copy {
  max-width: 680px;
  margin: 0 0 46px;
  font-size: 18px;
}

.am-team-card {
  min-height: 382px;
}

.am-team-card ul {
  display: grid;
  gap: 10px;
  padding: 18px 0 0;
  margin: auto 0 0;
  border-top: 1px solid var(--am-line);
  list-style: none;
}

.am-team-card li {
  display: flex;
  gap: 9px;
  align-items: center;
  font-weight: 700;
}

.am-team-card li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--am-orange);
  border-radius: 50%;
}

.am-squad {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(32px, 4vw, 52px);
  margin-top: 32px;
  color: #fff;
  background: var(--am-navy);
  border-radius: 26px;
}

.am-squad h2 {
  margin-top: 12px;
  font-size: clamp(22px, 3vw, 34px);
}

.am-manifesto {
  width: min(calc(100% - 48px), 1040px);
  margin: 0 auto;
  padding: clamp(52px, 6vw, 92px) 0;
}

.am-manifesto article {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 30px;
  padding: clamp(28px, 3.4vw, 46px) 0;
  border-bottom: 1px solid var(--am-line);
}

.am-manifesto strong {
  color: var(--am-orange);
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.9;
}

.am-manifesto h2 {
  margin: 0;
  font-size: clamp(24px, 3.3vw, 38px);
  line-height: 1.22;
  text-wrap: balance;
}

.am-manifesto p {
  max-width: 650px;
  margin: 14px 0 0;
  color: var(--am-muted);
  font-size: 16px;
  line-height: 1.75;
}

.am-contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(38px, 5vw, 72px);
  align-items: start;
}

.am-contact-list {
  display: grid;
  gap: 18px;
  margin-top: 36px;
}

.am-contact-list a {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 2px 18px;
  align-items: center;
  padding: 18px 20px;
  background: var(--am-soft);
  border-radius: 18px;
}

.am-contact-list span:first-child {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--am-orange);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 24px -18px rgba(22, 36, 63, 0.3);
}

.am-contact-list b {
  color: #9aa3b2;
  font-size: 11px;
  letter-spacing: 0.1em;
}

.am-contact-list strong {
  font-size: 16px;
}

.am-contact-form,
.am-contact-success {
  padding: clamp(28px, 3.4vw, 44px);
  background: #fff;
  border: 1px solid var(--am-line);
  border-radius: 26px;
  box-shadow: 0 30px 70px -40px rgba(22, 36, 63, 0.3);
}

.am-form-index {
  margin: 0 0 14px;
  color: var(--am-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.am-inquiry-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 30px;
}

.am-inquiry-pills button {
  padding: 10px 16px;
  color: var(--am-navy);
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.am-inquiry-pills button.is-active {
  color: #fff;
  background: var(--am-orange);
  border-color: var(--am-orange);
}

.am-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

.am-contact-form input,
.am-contact-form textarea {
  width: 100%;
  padding: 15px 18px;
  color: var(--am-ink);
  background: var(--am-soft);
  border: 1px solid #e6e9ef;
  border-radius: 14px;
  outline: none;
  font-size: 15px;
}

.am-contact-form textarea {
  margin-bottom: 22px;
  resize: vertical;
}

.am-contact-form input:focus,
.am-contact-form textarea:focus {
  background: #fff;
  border-color: var(--am-orange);
}

.am-form-alert {
  margin: 0 0 14px;
  color: #bb2a12;
  font-weight: 700;
}

.am-submit {
  width: 100%;
  font-size: 15px;
}

.am-contact-success {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 440px;
  color: #fff;
  background: var(--am-navy);
}

.am-contact-success span {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 26px;
  background: var(--am-orange);
  border-radius: 50%;
  font-size: 32px;
}

.am-contact-success h2 {
  margin: 0;
  font-size: 30px;
}

.am-contact-success p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.75;
}

.am-contact-success button {
  align-self: start;
  padding: 13px 26px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  font-weight: 800;
}

.am-cta-band {
  background: var(--am-orange);
}

.am-cta-band .am-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(28px, 5vw, 84px);
  width: min(calc(100% - 160px), 1868px);
  min-height: clamp(190px, 14vw, 288px);
  padding: clamp(56px, 6vw, 96px) 0;
}

.am-cta-band h2 {
  max-width: none;
  color: #fff;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

.am-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  min-width: 290px;
  min-height: 90px;
  padding: 22px 32px 22px 42px;
  color: #fff;
  background: var(--am-navy);
  border-radius: 999px;
  box-shadow: 0 26px 60px -32px rgba(22, 36, 63, 0.8);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.am-cta-button i {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--am-orange);
  background: #fff;
  border-radius: 50%;
  font-style: normal;
  font-size: 28px;
  line-height: 1;
}

.am-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 30px 68px -34px rgba(22, 36, 63, 0.9);
}

.am-footer {
  color: rgba(255, 255, 255, 0.7);
  background: var(--am-navy);
}

.am-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 40px;
  padding: clamp(52px, 6vw, 82px) 0 clamp(32px, 4vw, 42px);
}

.am-footer img {
  width: auto;
  height: 28px;
  margin-bottom: 20px;
}

.am-footer p {
  max-width: 310px;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
  line-height: 1.75;
}

.am-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.am-footer a,
.am-footer span {
  display: block;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 14px;
}

.am-footer a:hover {
  color: var(--am-orange);
}

.am-footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  width: min(calc(100% - 48px), 1240px);
  max-width: none !important;
  padding: 22px 0;
  margin: 0 auto !important;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-family: "Plus Jakarta Sans", Pretendard, sans-serif;
  font-size: 12px !important;
  letter-spacing: 0.04em;
}

.am-footer-bottom span {
  margin: 0;
  color: rgba(255, 255, 255, 0.45);
}

.am-floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 200;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: #fff;
  background: var(--am-orange);
  border-radius: 50%;
  box-shadow: 0 16px 32px -10px rgba(242, 80, 44, 0.7);
  font-size: 24px;
  font-weight: 900;
  animation: am-float 3s ease-in-out infinite;
}

.am-lightbox {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(7px);
}

.am-lightbox-bg {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 0;
  cursor: zoom-out;
}

.am-lightbox-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto auto;
  width: min(1180px, 94vw);
  max-height: 92dvh;
  margin: 0;
  overflow: auto;
  background: #fff;
  border-radius: 28px;
}

.am-lightbox-panel > img {
  width: 100%;
  height: clamp(440px, 70dvh, 740px);
  min-height: 0;
  object-fit: contain;
  background: #f4f7fb;
}

.am-lightbox-panel figcaption {
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2.2vw, 30px) clamp(26px, 3.2vw, 42px) clamp(24px, 2.4vw, 34px);
}

.am-lightbox-panel span {
  align-self: start;
  padding: 6px 14px;
  color: #fff;
  background: var(--am-orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.am-lightbox-panel strong {
  margin-top: 12px;
  font-size: clamp(22px, 2.4vw, 30px);
}

.am-lightbox-panel p {
  max-width: 780px;
  margin: 10px 0 0;
  color: var(--am-muted);
  line-height: 1.75;
}

.am-lightbox-close,
.am-lightbox-arrow {
  position: absolute;
  z-index: 4;
  display: grid;
  place-items: center;
  border: 0;
  color: #fff;
  background: rgba(22, 36, 63, 0.82);
  border-radius: 50%;
}

.am-lightbox-close {
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  font-size: 22px;
}

.am-lightbox-arrow {
  top: clamp(230px, 37dvh, 390px);
  width: 48px;
  height: 48px;
  font-size: 34px;
  transform: translateY(-50%);
}

.am-lightbox-arrow.prev {
  left: 14px;
}

.am-lightbox-arrow.next {
  right: 14px;
}

.am-build-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #16243f 0%, #22365a 58%, #f2502c 180%);
}

.am-build-hero .am-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: clamp(34px, 6vw, 78px);
  align-items: end;
  min-height: clamp(430px, 42vw, 560px);
  padding: clamp(72px, 10vw, 128px) 0 clamp(56px, 7vw, 92px);
}

.am-build-hero h1 {
  max-width: 720px;
  margin: 14px 0 0;
  color: #fff;
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 950;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.am-build-hero-copy > p:not(.am-label) {
  max-width: 560px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 18px;
  line-height: 1.76;
}

.am-build-search {
  display: grid;
  gap: 16px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 20px;
  box-shadow: 0 28px 70px -34px rgba(0, 0, 0, 0.48);
}

.am-build-search label {
  display: grid;
  gap: 8px;
}

.am-build-search span {
  color: var(--am-orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.am-build-search input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  color: var(--am-ink);
  background: var(--am-soft);
  border: 1px solid #e4e8ef;
  border-radius: 12px;
  font: inherit;
  outline: none;
}

.am-build-search input:focus {
  background: #fff;
  border-color: var(--am-orange);
}

.am-build-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.am-build-tags button {
  min-height: 34px;
  padding: 8px 12px;
  color: var(--am-navy);
  background: #fff;
  border: 1px solid #e6e9ef;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.am-build-tags button.is-active {
  color: #fff;
  background: var(--am-orange);
  border-color: var(--am-orange);
}

.am-build-search > p {
  margin: 0;
  color: var(--am-muted);
  font-size: 13px;
  line-height: 1.55;
}

.am-build-index {
  width: min(calc(100% - 48px), 1160px);
  margin: 0 auto;
  padding: clamp(58px, 7vw, 96px) 0;
}

.am-build-index-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.am-build-index-head h2 {
  margin: 8px 0 0;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.18;
}

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

.am-build-card {
  min-width: 0;
}

.am-build-card a {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 250px;
  height: 100%;
  overflow: hidden;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(22, 36, 63, 0.08);
  border-radius: 20px;
  box-shadow: 0 22px 54px -34px rgba(22, 36, 63, 0.32);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.am-build-card a:hover {
  border-color: rgba(242, 80, 44, 0.32);
  box-shadow: 0 28px 62px -34px rgba(22, 36, 63, 0.42);
  transform: translateY(-5px);
}

.am-build-card img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: top center;
  background: #dfe4ec;
}

.am-build-card div {
  display: flex;
  flex-direction: column;
  padding: 24px;
}

.am-build-card small {
  color: var(--am-orange);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.am-build-card h2 {
  margin: 8px 0 10px;
  font-size: clamp(20px, 2.4vw, 27px);
  line-height: 1.24;
  text-wrap: balance;
}

.am-build-card p {
  margin: 0;
  color: var(--am-muted);
  font-size: 14px;
  line-height: 1.68;
}

.am-build-card footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: auto;
  padding-top: 18px;
  color: #8b95a6;
  font-size: 12px;
  font-weight: 850;
}

.am-build-empty {
  display: grid;
  place-items: start;
  gap: 12px;
  padding: clamp(32px, 5vw, 54px);
  background: var(--am-soft);
  border: 1px solid var(--am-line);
  border-radius: 20px;
}

.am-build-empty h1,
.am-build-empty h2 {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
}

.am-build-empty p {
  margin: 0;
  color: var(--am-muted);
}

.am-build-article {
  display: grid;
  grid-template-columns: minmax(0, 760px) 280px;
  gap: clamp(34px, 6vw, 80px);
  width: min(calc(100% - 48px), 1120px);
  margin: 0 auto;
  padding: clamp(54px, 7vw, 94px) 0;
}

.am-build-article-main {
  min-width: 0;
}

.am-build-back {
  display: inline-flex;
  margin-bottom: 22px;
  color: var(--am-orange);
  font-size: 13px;
  font-weight: 900;
}

.am-build-article h1 {
  margin: 14px 0 0;
  color: var(--am-ink);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 950;
  line-height: 1.22;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.am-build-meta {
  margin: 18px 0 0;
  color: #8b95a6;
  font-size: 14px;
  font-weight: 850;
}

.am-build-article figure {
  margin: 34px 0 0;
  overflow: hidden;
  background: #dfe4ec;
  border-radius: 20px;
  aspect-ratio: 16 / 9;
}

.am-build-article figure img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.am-build-lead {
  margin: 34px 0 0;
  padding-left: 18px;
  color: var(--am-muted);
  border-left: 3px solid var(--am-orange);
  font-size: 18px;
  font-weight: 650;
  line-height: 1.78;
}

.am-build-prose {
  margin-top: 34px;
  color: #27334d;
  font-size: 17px;
  line-height: 1.86;
}

.am-build-prose h2,
.am-build-prose h3,
.am-build-prose h4 {
  margin: 2.1em 0 0.7em;
  color: var(--am-ink);
  font-weight: 950;
  line-height: 1.26;
  text-wrap: balance;
}

.am-build-prose h2 {
  font-size: clamp(24px, 3vw, 32px);
}

.am-build-prose h3 {
  font-size: 23px;
}

.am-build-prose p {
  margin: 0 0 1.1em;
}

.am-build-prose ul,
.am-build-prose ol {
  display: grid;
  gap: 8px;
  padding-left: 1.3em;
  margin: 0 0 1.3em;
}

.am-build-prose li::marker {
  color: var(--am-orange);
  font-weight: 900;
}

.am-build-prose blockquote {
  margin: 30px 0;
  padding: 20px 24px;
  color: var(--am-ink);
  background: var(--am-soft);
  border-left: 4px solid var(--am-orange);
  border-radius: 0 16px 16px 0;
}

.am-build-prose blockquote p:last-child {
  margin-bottom: 0;
}

.am-build-prose code {
  padding: 2px 6px;
  background: #eef2f7;
  border-radius: 6px;
  font-size: 0.92em;
}

.am-build-prose pre {
  overflow: auto;
  padding: 18px;
  color: #fff;
  background: var(--am-navy);
  border-radius: 14px;
}

.am-build-prose a {
  color: var(--am-orange);
  border-bottom: 1px solid rgba(242, 80, 44, 0.34);
  font-weight: 850;
}

.am-build-aside {
  align-self: start;
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
  padding-left: 26px;
  border-left: 1px solid var(--am-line);
}

.am-build-aside h2 {
  margin: 0 0 8px;
  color: #9aa3b2;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.am-build-aside a {
  display: grid;
  gap: 6px;
  padding: 13px 0;
  color: inherit;
  border-bottom: 1px solid var(--am-line);
}

.am-build-aside a:hover strong {
  color: var(--am-orange);
}

.am-build-aside strong {
  font-size: 14px;
  line-height: 1.45;
}

.am-build-aside span,
.am-build-aside p {
  margin: 0;
  color: var(--am-muted);
  font-size: 12px;
  line-height: 1.6;
}

.am-build-load-note {
  margin-top: 28px;
  color: #8b95a6;
  font-size: 13px;
}

.build-log-admin-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(15, 23, 42, 0.28);
}

.build-log-admin-panel {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 12px;
  width: min(1440px, 100%);
  max-height: calc(100dvh - 36px);
  min-height: min(860px, calc(100dvh - 36px));
  padding: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.26);
}

.build-log-admin-head,
.build-log-admin-list-head,
.build-log-admin-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.build-log-admin-head strong {
  display: block;
  color: var(--ink);
  font-size: 20px;
  font-weight: 950;
}

.build-log-admin-head span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.build-log-admin-head button,
.build-log-admin-list-head button,
.build-log-admin-sync,
.build-log-admin-actions button,
.build-log-admin-actions a {
  min-height: 36px;
  padding: 8px 11px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
}

.build-log-admin-actions button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
}

.build-log-admin-actions button:disabled,
.build-log-admin-sync:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.build-log-admin-notice {
  margin: 0;
  padding: 10px 12px;
  color: var(--ink-soft);
  background: #f8faff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
}

.build-log-admin-grid {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: 14px;
  min-height: 0;
}

.build-log-admin-list,
.build-log-admin-editor,
.build-log-admin-preview {
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcff;
}

.build-log-admin-list {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}

.build-log-admin-list-head strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
}

.build-log-admin-list > div:last-child {
  display: grid;
  gap: 8px;
  min-height: 0;
  overflow: auto;
}

.build-log-admin-list > div:last-child button {
  display: grid;
  gap: 5px;
  width: 100%;
  padding: 12px;
  text-align: left;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.build-log-admin-list > div:last-child button.is-active {
  border-color: rgba(56, 100, 232, 0.34);
  box-shadow: 0 0 0 3px rgba(56, 100, 232, 0.08);
}

.build-log-admin-list small,
.build-log-admin-list span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 820;
}

.build-log-admin-list strong {
  color: var(--ink);
  font-size: 13px;
  line-height: 1.42;
}

.build-log-admin-editor {
  display: grid;
  gap: 12px;
  padding: 12px;
}

.build-log-admin-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.build-log-admin-editor label {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.build-log-admin-editor label span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.build-log-admin-editor input,
.build-log-admin-editor select,
.build-log-admin-editor textarea {
  width: 100%;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-size: 13px;
  outline: none;
}

.build-log-admin-editor textarea {
  resize: vertical;
  line-height: 1.62;
}

.build-log-admin-markdown textarea {
  min-height: 360px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
}

.build-log-admin-editor input:focus,
.build-log-admin-editor select:focus,
.build-log-admin-editor textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(56, 100, 232, 0.08);
}

.build-log-admin-preview {
  padding: 22px;
  background: #fff;
}

.build-log-admin-preview > span {
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.build-log-admin-preview h1 {
  margin: 10px 0 12px;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.2;
}

.build-log-admin-preview > p {
  margin: 0 0 18px;
  color: var(--muted);
  line-height: 1.65;
}

.amarans-modern [data-reveal],
.am-footer [data-reveal],
.am-cta-band [data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 760ms cubic-bezier(0.2, 0.7, 0.3, 1) var(--delay, 0ms), transform 760ms cubic-bezier(0.2, 0.7, 0.3, 1) var(--delay, 0ms);
}

.amarans-modern [data-reveal].is-visible,
.am-footer [data-reveal].is-visible,
.am-cta-band [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@keyframes am-slow-zoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}

@keyframes am-pulse {
  0% { box-shadow: 0 0 0 0 rgba(242, 80, 44, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(242, 80, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(242, 80, 44, 0); }
}

@keyframes am-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

@keyframes am-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .amarans-modern *,
  .am-header *,
  .am-footer *,
  .am-floating-contact {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}

@media (max-width: 1024px) {
  .am-nav,
  .am-header-cta {
    display: none;
  }

  .am-header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .am-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-end;
    justify-self: end;
    width: 34px;
    padding: 6px 0;
  }

  .am-menu span {
    display: block;
    width: 26px;
    height: 2px;
    background: var(--am-navy);
    border-radius: 2px;
  }

  .am-menu span:nth-child(2) {
    width: 20px;
  }

  .am-mobile-nav {
    display: grid;
    gap: 0;
    width: min(calc(100% - 48px), 1240px);
    padding: 10px 0 24px;
    margin: 0 auto;
    background: #fff;
  }

  .am-mobile-nav[hidden] {
    display: none;
  }

  .am-mobile-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--am-line);
    font-size: 22px;
    font-weight: 900;
  }

  .am-mobile-cta {
    margin-top: 18px;
  }

  .am-hero-stat {
    display: none;
  }

  .am-feature-grid,
  .am-service-grid,
  .am-work-grid,
  .am-team-grid,
  .am-work-grid.preview,
  .am-two-col,
  .am-service-band-inner,
  .am-contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .am-service-band > img {
    width: 100%;
    opacity: 0.38;
  }

  .am-build-hero .am-container,
  .am-build-article,
  .build-log-admin-grid {
    grid-template-columns: 1fr;
  }

  .am-build-aside {
    position: static;
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid var(--am-line);
    border-left: 0;
  }

  .build-log-admin-panel {
    overflow: auto;
  }

  .build-log-admin-grid {
    overflow: visible;
  }

  .am-squad,
  .am-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .am-cta-band .am-container {
    width: min(calc(100% - 72px), 1240px);
    min-height: 220px;
  }

  .am-cta-band h2 {
    font-size: clamp(34px, 5vw, 52px);
  }
}

@media (max-width: 680px) {
  .am-container,
  .am-section,
  .am-manifesto,
  .am-footer-bottom {
    width: min(calc(100% - 36px), 520px);
  }

  .am-util .am-container {
    min-height: 38px;
  }

  .am-util-phone,
  .am-util-meta {
    display: none;
  }

  .am-brand img {
    height: 23px;
  }

  .am-hero,
  .am-hero-inner {
    min-height: 620px;
  }

  .am-hero h1 {
    font-size: clamp(36px, 12vw, 54px);
  }

  .am-feature-grid,
  .am-service-grid,
  .am-work-grid,
  .am-team-grid,
  .am-work-grid.preview,
  .am-build-grid,
  .am-two-col,
  .am-service-band-inner,
  .am-contact-grid,
  .am-mini-grid,
  .am-form-grid,
  .am-squad,
  .am-footer-grid,
  .am-lightbox-panel {
    grid-template-columns: 1fr;
  }

  .am-section-head.split,
  .am-build-index-head,
  .am-cta-band .am-container {
    align-items: start;
    flex-direction: column;
  }

  .am-build-index,
  .am-build-article {
    width: min(calc(100% - 36px), 520px);
  }

  .am-build-card a {
    grid-template-columns: 1fr;
  }

  .am-build-card img {
    min-height: 210px;
    aspect-ratio: 16 / 10;
  }

  .am-build-hero .am-container {
    min-height: 0;
    padding-top: 68px;
  }

  .am-build-search {
    padding: 18px;
  }

  .build-log-admin-backdrop {
    padding: 8px;
  }

  .build-log-admin-panel {
    max-height: calc(100dvh - 16px);
    min-height: calc(100dvh - 16px);
    padding: 10px;
  }

  .build-log-admin-fields {
    grid-template-columns: 1fr;
  }

  .build-log-admin-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .am-cta-band .am-container {
    width: min(calc(100% - 36px), 520px);
    min-height: 0;
    padding: 58px 0;
  }

  .am-cta-band h2 {
    font-size: clamp(31px, 10vw, 42px);
  }

  .am-cta-button {
    justify-content: space-between;
    width: 100%;
    min-width: 0;
    min-height: 72px;
    padding: 17px 20px 17px 28px;
    font-size: 18px;
  }

  .am-cta-button i {
    width: 38px;
    height: 38px;
    font-size: 24px;
  }

  .am-soft {
    padding-right: 18px;
    padding-left: 18px;
  }

  .am-page-hero .am-container {
    padding-top: 58px;
  }

  .am-page-hero {
    min-height: 390px;
  }

  .am-page-hero-visual img {
    object-position: center 56%;
  }

  .am-page-hero.is-image-filled {
    min-height: 430px;
  }

  .am-page-hero.is-image-filled .am-page-hero-visual img {
    object-position: center 44%;
    transform: scale(1.1);
  }

  .am-page-hero.has-image::before {
    background:
      linear-gradient(100deg, rgba(15, 23, 42, 0.96) 0%, rgba(15, 23, 42, 0.82) 56%, rgba(15, 23, 42, 0.5) 100%),
      radial-gradient(circle at 80% 22%, rgba(242, 80, 44, 0.18), transparent 42%);
  }

  .am-page-hero h1 {
    font-size: clamp(34px, 11vw, 52px);
  }

  .am-lightbox {
    padding: 14px;
  }

  .am-lightbox-panel {
    width: min(100%, 520px);
    max-height: 90dvh;
    border-radius: 22px;
  }

  .am-lightbox-panel > img {
    height: clamp(260px, 56dvh, 500px);
  }

  .am-lightbox-panel figcaption {
    padding: 20px 22px 24px;
  }

  .am-lightbox-panel strong {
    font-size: clamp(21px, 6vw, 27px);
  }

  .am-lightbox-arrow {
    top: clamp(150px, 31dvh, 280px);
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .am-lightbox-arrow.prev {
    left: 10px;
  }

  .am-lightbox-arrow.next {
    right: 10px;
  }

  .am-stats {
    grid-template-columns: 1fr 1fr;
    padding-right: 18px;
    padding-left: 18px;
  }

  .am-manifesto article {
    grid-template-columns: 58px 1fr;
    gap: 18px;
  }

  .am-floating-contact {
    width: 52px;
    height: 52px;
    right: 16px;
    bottom: 16px;
  }
}
