:root {
  --ink: #15201f;
  --soft-ink: #4f5d5a;
  --muted: #eef3ef;
  --paper: #fbfaf6;
  --white: #ffffff;
  --navy: #07366d;
  --logo-navy: #172235;
  --logo-gold: #b7a27b;
  --teal: #14746f;
  --teal-dark: #0c4d4a;
  --amber: #c9822c;
  --gold: #d6aa63;
  --line: rgba(21, 32, 31, 0.14);
  --shadow: 0 24px 60px rgba(16, 31, 30, 0.14);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Pretendard",
    "Noto Sans KR",
    "Apple SD Gothic Neo",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.6;
}

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

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

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

.intro-loader {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: var(--logo-navy);
  background: var(--paper);
  animation: introFadeOut 700ms ease 2800ms forwards;
}

.intro-loader.is-hidden {
  display: none;
}

.intro-logo-wrap {
  position: relative;
  display: grid;
  place-items: center;
  width: min(340px, 62vw);
  aspect-ratio: 1;
  animation: symbolStageIn 900ms cubic-bezier(0.22, 1, 0.36, 1) 120ms both;
}

.intro-vector-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 24px 34px rgba(23, 34, 53, 0.16));
  animation: symbolBreath 980ms ease 1620ms forwards;
}

.intro-vector-path,
.intro-vector-trail {
  fill: none;
  stroke-linecap: butt;
  stroke-linejoin: miter;
  stroke-miterlimit: 4;
  transform-box: fill-box;
  transform-origin: center;
  will-change: stroke-dashoffset, transform, opacity;
}

.intro-vector-path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  stroke-width: 32;
  opacity: 0;
}

.intro-vector-navy {
  stroke: var(--logo-navy);
  transform: translate(-68px, -28px) rotate(-3deg) scale(0.99);
  animation:
    vectorNavyDraw 1460ms cubic-bezier(0.17, 0.9, 0.23, 1) 160ms forwards,
    vectorNavyLock 420ms ease 1580ms forwards;
}

.intro-vector-gold {
  stroke: var(--logo-gold);
  transform: translate(68px, 28px) rotate(3deg) scale(0.99);
  animation:
    vectorGoldDraw 1460ms cubic-bezier(0.17, 0.9, 0.23, 1) 230ms forwards,
    vectorGoldLock 420ms ease 1580ms forwards;
}

.intro-vector-trail {
  stroke-dasharray: 0.1 1;
  stroke-dashoffset: 1;
  stroke-width: 38;
  opacity: 0;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 0 12px rgba(183, 162, 123, 0.28));
}

.intro-vector-trail-navy {
  stroke: rgba(23, 34, 53, 0.72);
  transform: translate(-68px, -28px) rotate(-3deg) scale(0.99);
  animation: vectorNavyTrail 1180ms cubic-bezier(0.12, 0.84, 0.18, 1) 90ms forwards;
}

.intro-vector-trail-gold {
  stroke: rgba(183, 162, 123, 0.72);
  transform: translate(68px, 28px) rotate(3deg) scale(0.99);
  animation: vectorGoldTrail 1180ms cubic-bezier(0.12, 0.84, 0.18, 1) 170ms forwards;
}

.intro-logo-wrap::before {
  position: absolute;
  inset: 24%;
  border: 1px solid rgba(214, 170, 99, 0.56);
  transform: rotate(45deg) scale(0.55);
  opacity: 0;
  content: "";
  animation: symbolFrame 1100ms ease 760ms forwards;
}

.intro-logo-wrap::after {
  position: absolute;
  inset: 15%;
  background: linear-gradient(105deg, transparent 34%, rgba(255, 255, 255, 0.78) 50%, transparent 66%);
  content: "";
  opacity: 0;
  transform: translateX(-42%) rotate(-18deg);
  animation: logoLightSweep 720ms ease 1600ms forwards;
  pointer-events: none;
}

.intro-bridge-line {
  position: absolute;
  top: 50%;
  width: min(190px, 28vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 170, 99, 0.78), transparent);
  opacity: 0;
  transform: translateY(-50%);
  animation: bridgeLine 1160ms cubic-bezier(0.22, 1, 0.36, 1) 80ms forwards;
}

.intro-bridge-line::after {
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
  opacity: 0.9;
  transform: translateY(-50%);
}

.intro-bridge-line-left {
  right: calc(50% + min(150px, 27vw));
  transform-origin: right center;
}

.intro-bridge-line-left::after {
  right: 0;
}

.intro-bridge-line-right {
  left: calc(50% + min(150px, 27vw));
  transform-origin: left center;
}

.intro-bridge-line-right::after {
  left: 0;
}

.intro-tagline {
  margin: -14px 0 0;
  color: rgba(21, 32, 31, 0.78);
  font-size: clamp(15px, 2.2vw, 21px);
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(10px);
  animation: introTaglineIn 620ms ease 1380ms forwards;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: linear-gradient(180deg, rgba(7, 16, 16, 0.82), rgba(7, 16, 16, 0));
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  color: var(--ink);
  background: rgba(251, 250, 246, 0.96);
  box-shadow: 0 12px 34px rgba(14, 28, 27, 0.08);
  backdrop-filter: blur(16px);
}

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

.brand-logo {
  width: 54px;
  height: 54px;
  border-radius: var(--radius);
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.18));
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.2;
}

.brand small {
  margin-top: 2px;
  color: currentColor;
  font-size: 12px;
  opacity: 0.76;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 14px;
  color: var(--soft-ink);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.site-nav a::after {
  display: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  border-color: rgba(20, 116, 111, 0.22);
  color: var(--teal);
  background: rgba(20, 116, 111, 0.08);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  color: inherit;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.hero-media,
.hero-media img,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(4, 13, 14, 0.94) 0%, rgba(4, 13, 14, 0.76) 38%, rgba(4, 13, 14, 0.28) 76%),
    linear-gradient(180deg, rgba(4, 13, 14, 0.1), rgba(4, 13, 14, 0.68));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 36px));
  margin-left: clamp(18px, 7vw, 92px);
  padding: 128px 0 70px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  word-break: keep-all;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  font-size: clamp(42px, 7vw, 88px);
}

h2 {
  font-size: clamp(30px, 4vw, 54px);
}

h3 {
  font-size: clamp(20px, 2vw, 25px);
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--teal);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--teal-dark);
}

.button.secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.09);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin: 46px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.08);
  font-size: 14px;
  font-weight: 700;
}

.section,
.intro-band,
.quote-band {
  padding: clamp(72px, 10vw, 132px) 0;
}

.section-inner {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
}

[data-page-root] > [data-page] {
  display: none;
}

[data-page-root] > [data-page].is-active-page {
  display: block;
}

[data-page-root] > .hero.is-active-page {
  display: grid;
}

.intro-band {
  background: var(--ink);
  color: var(--white);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: start;
}

.split p:last-child,
.body-copy p,
.section-heading p {
  margin: 0;
  color: var(--soft-ink);
  font-size: 18px;
}

.intro-band .split p:last-child {
  color: rgba(255, 255, 255, 0.74);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(34px, 7vw, 96px);
}

.section-heading h2 + p,
.section-heading .eyebrow + h2 {
  margin-top: 16px;
}

.body-copy {
  display: grid;
  gap: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 54px;
}

.feature-grid article,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(14, 28, 27, 0.06);
}

.feature-grid article {
  min-height: 260px;
  padding: 28px;
}

.feature-grid span {
  display: inline-block;
  margin-bottom: 42px;
  color: var(--amber);
  font-weight: 900;
}

.feature-grid p,
.service-item p,
.process-list span,
.faq-list p,
.quote-band p,
.contact-copy p,
.form-note {
  color: var(--soft-ink);
}

.feature-grid p {
  margin: 14px 0 0;
}

.builder-section {
  background:
    linear-gradient(180deg, rgba(238, 243, 239, 0.8), rgba(251, 250, 246, 0.96)),
    radial-gradient(circle at top right, rgba(214, 170, 99, 0.26), transparent 36%);
}

.builder-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: end;
  margin-bottom: 42px;
}

.builder-heading p:last-child {
  margin: 0;
  color: var(--soft-ink);
  font-size: 18px;
}

.builder-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.26fr) minmax(330px, 0.74fr);
  gap: 18px;
  align-items: start;
}

.builder-controls,
.builder-result {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 45px rgba(14, 28, 27, 0.07);
}

.builder-controls {
  display: grid;
  gap: 28px;
  padding: clamp(22px, 4vw, 34px);
}

.builder-group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.builder-group legend {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 900;
}

.builder-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  counter-reset: builder-tab;
}

.builder-tabs button,
.template-card,
.option-chip {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--white);
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease,
    background 160ms ease;
}

.builder-tabs button {
  position: relative;
  min-height: 76px;
  padding: 18px 18px 18px 56px;
  border-radius: var(--radius);
  counter-increment: builder-tab;
  font-weight: 900;
  text-align: left;
  box-shadow: 0 8px 22px rgba(14, 28, 27, 0.05);
}

.builder-tabs button::before {
  position: absolute;
  left: 16px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--teal);
  background: rgba(20, 116, 111, 0.1);
  content: counter(builder-tab, decimal-leading-zero);
  font-size: 11px;
  font-weight: 900;
}

.builder-tabs button::after {
  position: absolute;
  inset: 10px;
  border: 1px solid transparent;
  border-radius: calc(var(--radius) - 2px);
  content: "";
  pointer-events: none;
}

.builder-tabs button:hover,
.template-card:hover,
.option-chip:hover {
  transform: translateY(-1px);
  border-color: rgba(20, 116, 111, 0.42);
}

.builder-tabs button.is-active,
.template-card.is-selected,
.option-chip.is-selected {
  border-color: var(--teal);
  background: rgba(20, 116, 111, 0.08);
  box-shadow: inset 0 0 0 1px rgba(20, 116, 111, 0.18);
}

.builder-tabs button.is-active {
  z-index: 1;
  background: var(--white);
  box-shadow: 0 18px 36px rgba(14, 28, 27, 0.13);
  transform: translateY(-2px);
}

.builder-tabs button.is-active::after {
  border-color: rgba(214, 170, 99, 0.72);
}

.builder-tabs button.is-active::before {
  color: var(--white);
  background: var(--teal);
}

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

.template-card {
  padding: 18px;
  text-align: left;
}

.template-card strong {
  display: block;
}

.template-card strong {
  font-size: 17px;
  line-height: 1.3;
}

.option-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.option-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 12px;
  font-weight: 800;
}

.option-chip::before {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border: 1px solid currentColor;
  border-radius: 50%;
  content: "+";
  font-size: 13px;
  line-height: 1;
}

.option-chip.is-selected::before {
  color: var(--white);
  background: var(--teal);
  content: "✓";
}

.depth-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

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

.custom-control {
  display: grid;
  gap: 8px;
}

.custom-control-wide {
  grid-column: 1 / -1;
}

.custom-control span {
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 900;
}

.custom-control input,
.custom-control select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 800;
}

.custom-control input[type="range"] {
  min-height: 46px;
  padding: 0;
  accent-color: var(--teal);
}

.depth-options label {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.depth-options label:has(input:checked) {
  border-color: var(--teal);
  background: rgba(20, 116, 111, 0.08);
  box-shadow: inset 0 0 0 1px rgba(20, 116, 111, 0.18);
}

.depth-options input {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
}

.depth-options span {
  font-weight: 900;
}

.depth-options small {
  color: var(--soft-ink);
  line-height: 1.45;
}

.builder-result {
  position: sticky;
  top: 104px;
  padding: clamp(22px, 4vw, 32px);
}

.result-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
}

.builder-result > p:not(.result-kicker):not(.estimate-caution) {
  margin: 12px 0 0;
  color: var(--soft-ink);
}

.builder-preview {
  margin: 22px 0 24px;
  overflow: hidden;
  border: 1px solid rgba(14, 28, 27, 0.12);
  border-radius: var(--radius);
  background: #f7f8f5;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.52);
}

.preview-topbar {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(14, 28, 27, 0.1);
  background: #ffffff;
}

.preview-topbar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(14, 28, 27, 0.18);
}

.preview-topbar span:nth-child(1) {
  background: rgba(214, 170, 99, 0.9);
}

.preview-topbar span:nth-child(2) {
  background: rgba(20, 116, 111, 0.45);
}

.preview-topbar strong {
  min-width: 0;
  margin-left: 6px;
  overflow: hidden;
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-window {
  display: grid;
  grid-template-columns: 118px minmax(0, 1fr);
  min-height: 300px;
}

.preview-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 12px;
  border-right: 1px solid rgba(14, 28, 27, 0.08);
  background: #eef3ef;
}

.preview-nav button {
  width: 100%;
  min-height: 34px;
  border: 1px solid rgba(14, 28, 27, 0.08);
  border-radius: 8px;
  padding: 0 10px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.78);
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.preview-nav button.is-active {
  color: var(--white);
  background: var(--teal);
}

.preview-screen {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 22px;
  background: linear-gradient(145deg, #ffffff, #f7f3ea);
}

.preview-kicker {
  margin: 0;
  color: var(--teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.preview-screen h4 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2.5vw, 28px);
  line-height: 1.2;
}

.preview-body {
  display: grid;
  gap: 14px;
}

.preview-hero-line {
  width: min(240px, 78%);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(7, 54, 109, 0.84), rgba(214, 170, 99, 0.76));
}

.preview-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.preview-metrics div,
.preview-subpanel {
  min-width: 0;
  border: 1px solid rgba(14, 28, 27, 0.08);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.82);
}

.preview-metrics span,
.preview-subpanel span {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: rgba(14, 28, 27, 0.12);
}

.preview-metrics strong,
.preview-subpanel strong {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

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

.preview-list span {
  height: 13px;
  border-radius: 999px;
  background: rgba(20, 116, 111, 0.14);
}

.preview-list span:nth-child(2) {
  width: 82%;
}

.preview-list span:nth-child(3) {
  width: 68%;
}

.preview-subpanel {
  display: grid;
  gap: 10px;
  background: rgba(7, 54, 109, 0.08);
}

.builder-preview[data-layout="tabs"] .preview-window {
  grid-template-columns: 1fr;
}

.builder-preview[data-layout="tabs"] .preview-nav {
  flex-direction: row;
  overflow-x: auto;
  border-right: 0;
  border-bottom: 1px solid rgba(14, 28, 27, 0.08);
}

.builder-preview[data-layout="tabs"] .preview-nav button {
  flex: 0 0 auto;
  width: auto;
  max-width: 130px;
}

.builder-preview[data-layout="landing"] .preview-window {
  grid-template-columns: 1fr;
}

.builder-preview[data-layout="landing"] .preview-nav {
  display: none;
}

.builder-preview[data-layout="landing"] .preview-screen {
  min-height: 300px;
  align-content: center;
}

.builder-preview[data-layout="dashboard"] .preview-screen {
  background: #f2f6f5;
}

.estimate-panel {
  display: grid;
  gap: 10px;
  margin: 24px 0;
}

.estimate-panel div {
  padding: 18px;
  border-radius: var(--radius);
  color: var(--white);
  background: var(--ink);
}

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

.estimate-panel span {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
}

.estimate-panel strong {
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.2;
}

.result-block {
  margin-top: 22px;
}

.result-block h4 {
  margin: 0 0 10px;
  font-size: 15px;
}

.result-block ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.result-block li {
  position: relative;
  padding-left: 16px;
  color: var(--soft-ink);
}

.result-block li::before {
  position: absolute;
  top: 0.7em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.estimate-copy {
  width: 100%;
  margin-top: 26px;
}

.estimate-caution {
  margin: 14px 0 0;
  color: var(--soft-ink);
  font-size: 13px;
}

.service-section {
  background: #f6f2e9;
}

.wide {
  max-width: 760px;
  margin-bottom: 42px;
}

.service-list {
  display: grid;
  gap: 14px;
}

.service-item {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) minmax(280px, 0.9fr);
  gap: clamp(18px, 4vw, 54px);
  align-items: start;
  padding: 30px;
  border-top: 1px solid rgba(21, 32, 31, 0.2);
  background: rgba(255, 255, 255, 0.42);
}

.service-number {
  color: var(--teal);
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.service-item p {
  margin: 12px 0 0;
}

.service-item ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-item li {
  position: relative;
  padding-left: 16px;
  color: var(--soft-ink);
}

.service-item li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  content: "";
}

.muted {
  background: var(--muted);
}

dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

dl div {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

dt {
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
}

dd {
  margin: 2px 0 0;
  color: var(--soft-ink);
}

.process-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 6vw, 80px);
}

.sticky-heading {
  position: sticky;
  top: 112px;
  align-self: start;
}

.process-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 20px;
  padding: 0 0 34px;
  counter-increment: process;
}

.process-list li::before {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  background: var(--teal);
  content: counter(process, decimal-leading-zero);
  font-size: 14px;
  font-weight: 900;
}

.process-list li::after {
  position: absolute;
  top: 62px;
  left: 27px;
  width: 1px;
  height: calc(100% - 62px);
  background: var(--line);
  content: "";
}

.process-list li:last-child::after {
  display: none;
}

.process-list strong {
  display: block;
  margin-bottom: 8px;
  font-size: 22px;
  line-height: 1.24;
}

.process-list span {
  display: block;
  font-size: 17px;
}

.quote-band {
  color: var(--white);
  background: var(--teal-dark);
}

.quote-band-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.quote-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  padding: 0 24px;
}

.faq-list summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 19px;
  font-weight: 900;
}

.faq-list p {
  margin: 0;
  padding: 0 0 24px;
}

.contact-section {
  background: var(--ink);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.contact-copy p {
  margin: 22px 0 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 18px;
}

address {
  display: grid;
  gap: 10px;
  font-style: normal;
}

address a,
address span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

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

.contact-form span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.contact-form input,
.contact-form select {
  height: 50px;
  padding: 0 14px;
}

.contact-form textarea {
  min-height: 142px;
  padding: 14px;
  resize: vertical;
}

.contact-form input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--amber);
}

.contact-form option {
  color: var(--ink);
}

.full {
  grid-column: 1 / -1;
}

.form-note {
  grid-column: 1 / -1;
  margin: -4px 0 0;
  color: rgba(255, 255, 255, 0.58);
  font-size: 13px;
}

.form-note[data-tone="success"],
.admin-login p[data-tone="success"] {
  color: #80e0bd;
}

.form-note[data-tone="error"],
.admin-login p[data-tone="error"] {
  color: #ffb1a6;
}

.contact-form button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.admin-section {
  background: var(--paper);
}

.admin-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
}

.admin-panel {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 4vw, 32px);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(14, 28, 27, 0.07);
}

.admin-login {
  display: grid;
  gap: 14px;
}

.admin-login label {
  display: grid;
  gap: 8px;
}

.admin-login span {
  color: var(--soft-ink);
  font-size: 13px;
  font-weight: 900;
}

.admin-login input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: var(--ink);
  background: var(--white);
}

.admin-login p,
.admin-empty {
  margin: 0;
  color: var(--soft-ink);
  font-size: 14px;
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-toolbar[hidden],
.admin-login[hidden] {
  display: none;
}

.admin-list {
  display: grid;
  gap: 12px;
}

.admin-card {
  display: grid;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: #f7f8f5;
}

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

.admin-card strong {
  color: var(--ink);
  font-size: 18px;
}

.admin-card span {
  color: var(--soft-ink);
  font-size: 12px;
  font-weight: 800;
}

.admin-card dl {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 6px 12px;
  margin: 0;
}

.admin-card dt {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
}

.admin-card dd {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.admin-card p {
  margin: 0;
  color: var(--soft-ink);
  white-space: pre-wrap;
}

.site-footer {
  padding: 34px 0 24px;
  color: rgba(255, 255, 255, 0.8);
  background: #0b1414;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-inner strong {
  display: block;
  color: var(--white);
}

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

.footer-inner a {
  display: block;
  text-align: right;
}

.copyright {
  width: min(1160px, calc(100% - 36px));
  margin: 20px auto 0;
  color: rgba(255, 255, 255, 0.48);
  font-size: 14px;
}

@media (max-width: 980px) {
  .site-nav {
    position: absolute;
    top: 76px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-nav a {
    padding: 14px 12px;
  }

  .nav-toggle {
    display: block;
  }

  .split,
  .two-column,
  .builder-heading,
  .builder-shell,
  .process-layout,
  .quote-band-inner,
  .contact-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .builder-result {
    position: static;
  }

  .template-grid,
  .depth-options,
  .custom-grid,
  .preview-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .service-item {
    grid-template-columns: 56px minmax(0, 1fr);
  }

  .service-item ul {
    grid-column: 2;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 68px;
    padding: 12px 18px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-media img {
    object-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(4, 13, 14, 0.82) 0%, rgba(4, 13, 14, 0.9) 60%, rgba(4, 13, 14, 0.96) 100%),
      linear-gradient(90deg, rgba(4, 13, 14, 0.7), rgba(4, 13, 14, 0.16));
  }

  .hero-content {
    width: calc(100% - 36px);
    margin: 0 auto;
    padding: 108px 0 48px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button {
    width: 100%;
  }

  .hero-points li {
    width: calc(50% - 5px);
    text-align: center;
  }

  .feature-grid,
  .builder-tabs,
  .template-grid,
  .depth-options,
  .custom-grid,
  .preview-metrics,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .preview-window {
    grid-template-columns: 1fr;
  }

  .preview-nav {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(14, 28, 27, 0.08);
  }

  .preview-nav button {
    flex: 0 0 auto;
    width: auto;
    max-width: 132px;
  }

  .feature-grid article {
    min-height: auto;
  }

  .service-item {
    grid-template-columns: 1fr;
    padding: 24px 0;
    background: transparent;
  }

  .service-item ul {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .process-list strong {
    font-size: 19px;
  }

  .footer-inner {
    display: grid;
  }

  .footer-inner a {
    text-align: left;
  }
}

@keyframes vectorNavyDraw {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
    transform: translate(-68px, -28px) rotate(-3deg) scale(0.99);
  }
  18% {
    opacity: 1;
  }
  72% {
    opacity: 1;
    stroke-dashoffset: 0.08;
    transform: translate(5px, 2px) rotate(0.22deg) scale(1.002);
  }
  88% {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: translate(-0.5px, -0.25px) rotate(-0.06deg) scale(1.001);
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes vectorGoldDraw {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
    transform: translate(68px, 28px) rotate(3deg) scale(0.99);
  }
  18% {
    opacity: 1;
  }
  72% {
    opacity: 1;
    stroke-dashoffset: 0.08;
    transform: translate(-5px, -2px) rotate(-0.22deg) scale(1.002);
  }
  88% {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: translate(0.5px, 0.25px) rotate(0.06deg) scale(1.001);
  }
  100% {
    opacity: 1;
    stroke-dashoffset: 0;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes vectorNavyTrail {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
    transform: translate(-88px, -34px) rotate(-4deg) scale(0.988);
  }
  16% {
    opacity: 0.86;
  }
  74% {
    opacity: 0.72;
    stroke-dashoffset: 0.08;
    transform: translate(9px, 3px) rotate(0.32deg) scale(1.004);
  }
  100% {
    opacity: 0;
    stroke-dashoffset: -0.16;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes vectorGoldTrail {
  0% {
    opacity: 0;
    stroke-dashoffset: 1;
    transform: translate(88px, 34px) rotate(4deg) scale(0.988);
  }
  16% {
    opacity: 0.86;
  }
  74% {
    opacity: 0.72;
    stroke-dashoffset: 0.08;
    transform: translate(-9px, -3px) rotate(-0.32deg) scale(1.004);
  }
  100% {
    opacity: 0;
    stroke-dashoffset: -0.16;
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes vectorNavyLock {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  42% {
    transform: translate(-2px, -1px) rotate(-0.3deg) scale(1.006);
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes vectorGoldLock {
  0% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
  42% {
    transform: translate(2px, 1px) rotate(0.3deg) scale(1.006);
  }
  100% {
    transform: translate(0, 0) rotate(0deg) scale(1);
  }
}

@keyframes logoLightSweep {
  0% {
    opacity: 0;
    transform: translateX(-42%) rotate(-18deg);
  }
  30% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(42%) rotate(-18deg);
  }
}

@keyframes symbolStageIn {
  0% {
    transform: translateY(14px) scale(0.96);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

@keyframes symbolBreath {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.018);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes symbolFrame {
  0% {
    opacity: 0;
    transform: rotate(45deg) scale(0.55);
  }
  45% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(45deg) scale(1.42);
  }
}

@keyframes introTaglineIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bridgeLine {
  0% {
    opacity: 0;
    transform: translateY(-50%) scaleX(0);
  }
  55% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-50%) scaleX(1);
  }
}

@keyframes introFadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .intro-loader {
    display: none;
  }
}
