:root {
  color-scheme: light;
  --ink: #151816;
  --muted: #6c746e;
  --paper: #f4f6f1;
  --panel: #ffffff;
  --coal: #161b19;
  --soft: #edf1ec;
  --line: #dce2da;
  --accent: #8f5d47;
  --sage: #6d806f;
  --blue: #4d7381;
  --champagne: #ead5bd;
  --mist: #e8f0ee;
  --shadow: 0 22px 52px rgba(22, 27, 25, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    "Inter",
    "PingFang SC",
    "Microsoft YaHei",
    "Noto Sans CJK SC",
    Arial,
    sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

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

button {
  font: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 0 clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(21, 27, 24, 0.94);
  color: #fafbf7;
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 780;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 31px;
  height: 31px;
  background: linear-gradient(135deg, #fff7ea, #cfe2dd);
  color: #1c221f;
  font-size: 12px;
  font-weight: 850;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 3vw, 36px);
  color: rgba(250, 251, 247, 0.72);
  font-size: 13px;
}

.nav-links a,
.nav-action,
.hero-actions a,
.filter-button {
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-action {
  padding: 9px 14px;
  border: 1px solid rgba(250, 251, 247, 0.34);
  background: rgba(250, 251, 247, 0.06);
  color: #fafbf7;
  font-size: 13px;
}

.nav-action:hover {
  border-color: rgba(250, 251, 247, 0.74);
  background: rgba(250, 251, 247, 0.14);
}

.hero {
  position: relative;
  display: grid;
  align-content: end;
  min-height: calc(92svh - 64px);
  padding: 86px clamp(18px, 4vw, 54px) 34px;
  color: #fafbf7;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero::before {
  background:
    radial-gradient(circle at 72% 18%, rgba(77, 115, 129, 0.22), rgba(77, 115, 129, 0) 34%),
    linear-gradient(90deg, rgba(14, 17, 15, 0.9) 0%, rgba(14, 17, 15, 0.73) 31%, rgba(14, 17, 15, 0.28) 56%, rgba(14, 17, 15, 0.06) 78%),
    url("./assets/female-neutral-public-ai-v1/cover-twintail-night.png") center 40% / cover no-repeat;
  filter: saturate(1.08) contrast(1.03);
  transform: scale(1.02);
}

.hero::after {
  background:
    linear-gradient(0deg, rgba(14, 17, 15, 0.86), rgba(14, 17, 15, 0) 53%),
    linear-gradient(180deg, rgba(14, 17, 15, 0.1), rgba(14, 17, 15, 0.42));
}

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

.hero-copy {
  max-width: 510px;
  align-self: end;
  padding-top: 18vh;
}

.eyebrow {
  margin-bottom: 13px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f0c7b6;
}

h1 {
  max-width: 510px;
  margin-bottom: 18px;
  font-size: 86px;
  line-height: 0.98;
  font-weight: 880;
}

#hero-title span {
  display: block;
  width: max-content;
  max-width: 100%;
  background: linear-gradient(105deg, #fff8ec 0%, #edc7a8 32%, #c7deda 68%, #fff8ec 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

#hero-title span:first-child {
  position: relative;
}

#hero-title span:first-child::after {
  content: "";
  position: absolute;
  left: 2px;
  right: 12px;
  bottom: -7px;
  height: 2px;
  background: linear-gradient(90deg, rgba(234, 213, 189, 0), rgba(234, 213, 189, 0.86), rgba(199, 222, 218, 0));
  animation: title-sheen 4.8s ease-in-out infinite;
}

@keyframes title-sheen {
  0%,
  100% {
    opacity: 0.38;
    transform: scaleX(0.72);
    transform-origin: left;
  }

  50% {
    opacity: 0.92;
    transform: scaleX(1);
  }
}

.hero-copy p:not(.eyebrow) {
  max-width: 480px;
  margin-bottom: 22px;
  color: rgba(250, 251, 247, 0.86);
  font-size: 19px;
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(250, 251, 247, 0.44);
  background: rgba(250, 251, 247, 0.08);
  color: #fafbf7;
  font-size: 13px;
  font-weight: 760;
}

.hero-actions a:first-child {
  background: #fafbf7;
  color: var(--coal);
}

.hero-actions a:hover {
  transform: translateY(-1px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: end;
  width: min(760px, 100%);
  margin-top: 30px;
  border: 1px solid rgba(250, 251, 247, 0.18);
  background: rgba(250, 251, 247, 0.07);
}

.hero-stats div {
  min-height: 68px;
  padding: 15px 16px;
  border-right: 1px solid rgba(250, 251, 247, 0.16);
  background: rgba(21, 27, 24, 0.28);
  backdrop-filter: blur(10px);
}

.hero-stats div:last-child {
  border-right: 0;
}

.hero-stats span {
  display: block;
  margin-bottom: 8px;
  color: rgba(250, 251, 247, 0.58);
  font-size: 12px;
}

.hero-stats strong {
  display: block;
  color: #fafbf7;
  font-size: 16px;
  line-height: 1.35;
}

.section {
  padding: clamp(58px, 8vw, 106px) clamp(18px, 4vw, 54px);
}

.section-head,
.process-grid,
.service-grid,
.case-filter,
.case-table,
.video-layout,
.video-note,
.price-grid,
.price-note,
.library-grid,
.change-grid,
.material-layout {
  width: min(1180px, 100%);
  margin-inline: auto;
}

.section-head {
  margin-bottom: 28px;
}

.section-head h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 48px;
  line-height: 1.1;
  font-weight: 860;
}

.section-head p:not(.eyebrow) {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.42fr);
  gap: 28px;
  align-items: end;
}

.intro-section,
.materials-section,
.video-section {
  background: #fafbf7;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 20px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.process-grid article {
  min-height: 168px;
  padding: 22px;
  background: #ffffff;
}

.process-grid span,
.service-grid span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 22px;
  background: var(--soft);
  color: var(--sage);
  font-size: 11px;
  font-weight: 850;
}

.process-grid h3,
.service-grid h3,
.material-layout h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.25;
}

.process-grid p,
.service-grid p,
.material-layout p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

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

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

.service-grid article {
  min-height: 214px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.service-grid article:nth-child(2) span {
  color: var(--blue);
}

.service-grid article:nth-child(3) span {
  color: var(--accent);
}

.service-grid article:nth-child(5) span {
  color: var(--blue);
}

.case-section {
  background: linear-gradient(180deg, #eef3ee 0%, #f6f2ec 100%);
}

.video-section {
  border-top: 1px solid rgba(22, 27, 25, 0.08);
}

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

.video-card {
  min-height: 230px;
  padding: 24px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.video-card-main {
  background: var(--soft);
}

.video-card span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  margin-bottom: 24px;
  background: var(--coal);
  color: #fafbf7;
  font-size: 11px;
  font-weight: 850;
}

.video-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
  line-height: 1.25;
}

.video-card p,
.video-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.video-note {
  margin-top: 14px;
}

.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 16px;
}

.filter-button {
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid rgba(22, 27, 25, 0.18);
  background: #ffffff;
  color: #4f5751;
  cursor: pointer;
  font-size: 13px;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--coal);
  background: var(--coal);
  color: #fafbf7;
}

.case-table {
  display: grid;
  gap: 10px;
}

.case-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.35fr) minmax(0, 0.65fr);
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(109, 128, 111, 0.18);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 14px 34px rgba(22, 27, 25, 0.07);
}

.case-row.is-hidden {
  display: none;
}

.case-copy {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.case-index {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  background: var(--soft);
  color: var(--accent);
  font-size: 11px;
  font-weight: 860;
}

.case-row:nth-child(2) .case-index,
.case-row:nth-child(5) .case-index {
  color: var(--blue);
}

.case-row:nth-child(3) .case-index,
.case-row:nth-child(4) .case-index {
  color: var(--sage);
}

.case-type {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.case-copy h3 {
  margin-bottom: 10px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 860;
}

.workflow-panel {
  display: grid;
  grid-template-columns: minmax(170px, 0.27fr) minmax(0, 0.73fr);
  gap: 12px;
  align-items: stretch;
  min-width: 0;
}

.workflow-rules {
  display: grid;
  align-content: center;
  gap: 8px;
  min-width: 0;
}

.workflow-rules span {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 11px;
  border: 1px solid rgba(109, 128, 111, 0.2);
  background: rgba(237, 241, 236, 0.78);
  color: #3e4942;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.35;
}

.workflow-rules span:first-child {
  border-color: rgba(143, 93, 71, 0.26);
  background: #fff7ef;
  color: #734b3a;
}

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

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

.workflow-assets-four .workflow-card {
  min-height: 0;
}

.workflow-card,
.workflow-result,
.reference-strip figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 27, 25, 0.1);
  background: #dfe5dc;
}

.workflow-card,
.workflow-result {
  aspect-ratio: 3 / 4;
}

.reference-strip figure {
  aspect-ratio: 3 / 4;
}

.workflow-result img,
.workflow-card img,
.reference-strip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.workflow-result figcaption,
.workflow-card figcaption,
.reference-strip figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 8px;
  background: rgba(22, 27, 25, 0.72);
  color: #fafbf7;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
}

.case-copy p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.formula {
  display: grid;
  grid-template-columns: minmax(78px, 132px) 24px minmax(78px, 132px) 24px minmax(78px, 132px);
  justify-content: end;
  align-items: center;
  gap: 8px;
}

.formula-wide {
  grid-template-columns: minmax(68px, 112px) 20px minmax(68px, 112px) 20px minmax(68px, 112px) 20px minmax(68px, 112px);
  gap: 6px;
}

.reference-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.formula figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(22, 27, 25, 0.12);
  background: #dfe5dc;
}

.formula img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.formula .result {
  outline: 2px solid rgba(109, 128, 111, 0.58);
  outline-offset: -2px;
}

.workflow-card.workflow-result {
  outline: 2px solid rgba(109, 128, 111, 0.58);
  outline-offset: -2px;
}

.formula figcaption {
  position: absolute;
  left: 7px;
  bottom: 7px;
  max-width: calc(100% - 14px);
  padding: 5px 7px;
  background: rgba(22, 27, 25, 0.78);
  color: #fafbf7;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
}

.formula > span {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  background: #f6f7f3;
  color: var(--coal);
  font-size: 17px;
  font-weight: 860;
}

.formula > span:nth-of-type(2) {
  background: var(--coal);
  color: #fafbf7;
}

.pricing-section {
  background: #f7f3ee;
}

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

.price-grid.is-single {
  max-width: 760px;
  grid-template-columns: 1fr;
}

.price-card {
  min-height: 288px;
  padding: 24px;
  border: 1px solid rgba(22, 27, 25, 0.12);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(22, 27, 25, 0.06);
}

.price-card.is-featured {
  border-color: rgba(143, 93, 71, 0.42);
  background: #fffaf5;
  box-shadow: 0 20px 42px rgba(143, 93, 71, 0.13);
}

.price-card-main {
  min-height: auto;
}

.price-label {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 5px 9px;
  background: var(--coal);
  color: #fafbf7;
  font-size: 12px;
  font-weight: 820;
}

.price-card h3 {
  margin-bottom: 12px;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 880;
}

.price-card-main h3 {
  font-size: 52px;
}

.price-card p {
  min-height: 74px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.68;
}

.price-card-main p {
  min-height: 0;
  max-width: 620px;
  color: #27302a;
  font-size: 16px;
}

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

.price-card li {
  position: relative;
  padding-left: 16px;
  color: #3f4742;
  font-size: 13px;
  line-height: 1.45;
}

.price-card-main li {
  font-size: 14px;
  line-height: 1.58;
}

.price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 6px;
  height: 6px;
  background: var(--sage);
}

.price-note {
  margin-top: 14px;
  margin-bottom: 0;
  padding: 14px 16px;
  border: 1px solid rgba(22, 27, 25, 0.1);
  background: rgba(255, 255, 255, 0.68);
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.library-section {
  background: #fafbf7;
}

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

.library-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(22, 27, 25, 0.06);
}

.library-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #dfe5dc;
}

.library-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.library-card figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 7px;
  background: rgba(22, 27, 25, 0.78);
  color: #fafbf7;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
}

.library-card h3 {
  margin: 14px 14px 7px;
  font-size: 17px;
  line-height: 1.24;
}

.library-card p {
  min-height: 48px;
  margin: 0 14px 15px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.style-reference {
  width: min(1180px, 100%);
  margin: 44px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.style-reference-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.46fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 18px;
}

.style-reference-head h3 {
  margin-bottom: 0;
  font-size: 36px;
  line-height: 1.12;
  font-weight: 860;
}

.style-reference-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

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

.look-card {
  min-width: 0;
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(22, 27, 25, 0.06);
}

.look-card figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #dfe5dc;
}

.look-card img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center;
}

.look-card figcaption {
  position: absolute;
  left: 8px;
  bottom: 8px;
  max-width: calc(100% - 16px);
  padding: 5px 7px;
  background: rgba(22, 27, 25, 0.78);
  color: #fafbf7;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
}

.is-lightbox-target {
  cursor: zoom-in;
}

.is-lightbox-target:focus-visible {
  outline: 3px solid rgba(77, 115, 129, 0.58);
  outline-offset: 3px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 48px);
  background: rgba(10, 12, 11, 0.86);
}

.lightbox[hidden] {
  display: none;
}

.lightbox figure {
  position: relative;
  width: min(92vw, 980px);
  max-height: 90vh;
  margin: 0;
}

.lightbox-image {
  width: 100%;
  max-height: 84vh;
  object-fit: contain;
  background: #111411;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.42);
}

.lightbox-caption {
  margin-top: 10px;
  color: rgba(250, 251, 247, 0.82);
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(250, 251, 247, 0.3);
  background: rgba(250, 251, 247, 0.09);
  color: #ffffff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
}

body.is-previewing {
  overflow: hidden;
}

.change-section {
  background: var(--coal);
  color: #fafbf7;
}

.change-section .section-head h2 {
  color: #fafbf7;
}

.change-section .section-head p:not(.eyebrow) {
  max-width: 760px;
  color: rgba(250, 251, 247, 0.72);
}

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

.change-grid span {
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(250, 251, 247, 0.13);
  background: rgba(250, 251, 247, 0.06);
  color: rgba(250, 251, 247, 0.88);
  text-align: center;
  font-size: 14px;
  line-height: 1.35;
}

.change-grid span:nth-child(3n) {
  background: rgba(143, 93, 71, 0.18);
}

.change-grid span:nth-child(4n) {
  background: rgba(109, 128, 111, 0.2);
}

.change-grid span:nth-child(5n) {
  background: rgba(77, 115, 129, 0.2);
}

.material-layout {
  display: grid;
  grid-template-columns: 1.4fr repeat(2, 1fr);
  gap: 12px;
}

.material-layout article {
  min-height: 142px;
  padding: 22px;
  border: 1px solid var(--line);
  background: #ffffff;
}

.material-primary {
  grid-row: span 2;
  background: var(--soft) !important;
}

.material-primary h3:not(:first-child) {
  margin-top: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(18px, 4vw, 54px);
  background: var(--coal);
  color: rgba(250, 251, 247, 0.62);
  font-size: 13px;
}

/* Premium section polish */
body {
  background:
    linear-gradient(180deg, #f5f6f0 0%, #eef2ed 41%, #f7f2ec 100%);
}

.site-header {
  border-bottom-color: rgba(234, 213, 189, 0.16);
  background:
    linear-gradient(90deg, rgba(20, 24, 22, 0.96), rgba(31, 39, 35, 0.93)),
    rgba(21, 27, 24, 0.94);
  box-shadow: 0 10px 34px rgba(8, 11, 10, 0.16);
}

.nav-links a {
  position: relative;
  padding-block: 22px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(234, 213, 189, 0.78), transparent);
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.nav-action,
.hero-actions a,
.filter-button,
.price-label {
  border-radius: 6px;
}

.section {
  position: relative;
}

.section-head {
  position: relative;
  padding-top: 18px;
}

.section-head::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(168px, 36vw);
  height: 1px;
  background: linear-gradient(90deg, var(--accent), rgba(109, 128, 111, 0.58), transparent);
}

.split-head::before {
  left: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: #7f533f;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.72;
}

.hero .eyebrow::before {
  background: #f0c7b6;
}

.section-head h2,
.style-reference-head h3 {
  color: #19201c;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-head p:not(.eyebrow),
.style-reference-head p:last-child {
  color: #5f6962;
  font-size: 15px;
}

.intro-section {
  background:
    linear-gradient(180deg, #fbfcf8 0%, #f2f6f0 100%);
}

.process-grid {
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(109, 128, 111, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 24px 64px rgba(22, 27, 25, 0.1);
}

.process-grid article {
  position: relative;
  min-height: 190px;
  padding: 30px 28px 28px;
  border-right: 1px solid rgba(109, 128, 111, 0.14);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(242, 246, 240, 0.82)),
    #ffffff;
}

.process-grid article:last-child {
  border-right: 0;
}

.process-grid article::after,
.service-grid article::after,
.video-card::after,
.material-layout article::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(143, 93, 71, 0.8), rgba(77, 115, 129, 0.46), transparent);
  opacity: 0.7;
}

.process-grid span,
.service-grid span,
.video-card span,
.case-index {
  border-radius: 6px;
}

.process-grid span,
.service-grid span {
  background: linear-gradient(135deg, #f5eadf, #e4ede8);
  color: #6d5d4f;
  box-shadow: inset 0 0 0 1px rgba(143, 93, 71, 0.1);
}

.process-grid h3,
.service-grid h3,
.video-card h3,
.material-layout h3 {
  color: #1d251f;
  font-weight: 820;
}

.services-section {
  background:
    linear-gradient(180deg, #eef2ed 0%, #f7f2ec 100%);
}

.service-grid {
  gap: 14px;
}

.service-grid article {
  position: relative;
  overflow: hidden;
  min-height: 232px;
  padding: 26px 24px 24px;
  border-color: rgba(109, 128, 111, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(249, 247, 241, 0.92)),
    #ffffff;
  box-shadow: 0 16px 42px rgba(22, 27, 25, 0.07);
}

.service-grid article:nth-child(2n) {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(238, 244, 241, 0.9)),
    #ffffff;
}

.service-grid article:hover,
.library-card:hover,
.look-card:hover {
  transform: translateY(-2px);
  border-color: rgba(143, 93, 71, 0.28);
  box-shadow: 0 22px 56px rgba(22, 27, 25, 0.11);
}

.service-grid article,
.library-card,
.look-card {
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.case-section {
  background:
    linear-gradient(180deg, rgba(232, 240, 238, 0.96) 0%, rgba(247, 242, 236, 0.98) 100%);
}

.case-filter {
  padding: 6px;
  border: 1px solid rgba(109, 128, 111, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.filter-button {
  min-height: 38px;
  padding-inline: 15px;
  border-color: transparent;
  background: transparent;
  color: #4d574f;
  font-weight: 720;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: rgba(22, 27, 25, 0.9);
  background: #171c19;
}

.case-table {
  gap: 14px;
}

.case-row {
  position: relative;
  overflow: hidden;
  gap: 22px;
  padding: 20px;
  border-color: rgba(109, 128, 111, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 241, 0.9)),
    #ffffff;
  box-shadow: 0 18px 48px rgba(22, 27, 25, 0.08);
}

.case-row::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--sage), var(--blue));
}

.case-index {
  border-color: rgba(143, 93, 71, 0.28);
  background: linear-gradient(135deg, #fff8ef, #e8f0ee);
  box-shadow: 0 8px 18px rgba(22, 27, 25, 0.06);
}

.case-type {
  color: #7b5a49;
  letter-spacing: 0.02em;
}

.case-copy h3 {
  color: #171e1a;
  text-wrap: balance;
}

.workflow-panel {
  padding: 10px;
  border: 1px solid rgba(109, 128, 111, 0.16);
  border-radius: 8px;
  background: rgba(244, 246, 241, 0.68);
}

.workflow-rules span {
  border-color: rgba(109, 128, 111, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.76);
}

.workflow-rules span:first-child {
  background: linear-gradient(135deg, #fff7ef, #f1e9de);
}

.workflow-card,
.workflow-result,
.reference-strip figure,
.library-card,
.look-card {
  border-radius: 8px;
}

.workflow-card,
.workflow-result {
  border-color: rgba(22, 27, 25, 0.12);
  box-shadow: 0 10px 22px rgba(22, 27, 25, 0.08);
}

.workflow-card.workflow-result {
  outline-color: rgba(143, 93, 71, 0.72);
}

.workflow-result figcaption,
.workflow-card figcaption,
.reference-strip figcaption,
.library-card figcaption,
.look-card figcaption {
  border: 1px solid rgba(250, 251, 247, 0.12);
  border-radius: 5px;
  background: rgba(16, 20, 18, 0.78);
  backdrop-filter: blur(8px);
}

.video-section {
  background:
    linear-gradient(180deg, #fbfcf8 0%, #eef3ee 100%);
  border-top-color: rgba(109, 128, 111, 0.16);
}

.video-card {
  position: relative;
  overflow: hidden;
  min-height: 244px;
  border-color: rgba(109, 128, 111, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(240, 245, 242, 0.94)),
    #ffffff;
  box-shadow: 0 16px 42px rgba(22, 27, 25, 0.07);
}

.video-card-main {
  background:
    linear-gradient(135deg, #17201c 0%, #2d3b34 58%, #7b5a49 140%);
  color: #fafbf7;
}

.video-card-main::after {
  background: linear-gradient(90deg, rgba(234, 213, 189, 0.92), rgba(199, 222, 218, 0.56), transparent);
}

.video-card span {
  background: linear-gradient(135deg, #151b18, #3a4a42);
}

.video-card-main span {
  background: rgba(250, 251, 247, 0.12);
  box-shadow: inset 0 0 0 1px rgba(250, 251, 247, 0.18);
}

.video-card-main h3,
.video-card-main p {
  color: #fafbf7;
}

.video-card-main p {
  opacity: 0.78;
}

.video-note,
.price-note {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(232, 240, 238, 0.7)),
    rgba(255, 255, 255, 0.68);
}

.library-section {
  background:
    linear-gradient(180deg, #fafbf7 0%, #eef2ed 48%, #f7f2ec 100%);
}

.library-grid,
.look-grid {
  gap: 14px;
}

.library-card,
.look-card {
  overflow: hidden;
  border-color: rgba(109, 128, 111, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 243, 0.96)),
    #ffffff;
}

.library-card figure,
.look-card figure {
  border-bottom: 1px solid rgba(109, 128, 111, 0.14);
}

.library-card img,
.look-card img,
.workflow-card img,
.workflow-result img {
  filter: saturate(1.02) contrast(1.01);
}

.library-card h3,
.look-card figcaption {
  letter-spacing: 0;
}

.style-reference {
  margin-top: 54px;
  padding-top: 34px;
  border-top-color: rgba(109, 128, 111, 0.2);
}

.style-reference-head {
  padding: 20px 0 0;
  border-top: 1px solid rgba(143, 93, 71, 0.16);
}

.change-section {
  background:
    linear-gradient(145deg, #111614 0%, #1d2923 48%, #2c2520 100%);
}

.change-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(234, 213, 189, 0.05), transparent 28%, rgba(77, 115, 129, 0.08) 70%, transparent),
    repeating-linear-gradient(90deg, rgba(250, 251, 247, 0.035) 0 1px, transparent 1px 96px);
}

.change-section .section-head,
.change-section .change-grid {
  position: relative;
  z-index: 1;
}

.change-section .section-head::before {
  background: linear-gradient(90deg, #ead5bd, rgba(199, 222, 218, 0.52), transparent);
}

.change-section .eyebrow {
  color: #edc7a8;
}

.change-section .section-head p:not(.eyebrow) {
  color: rgba(250, 251, 247, 0.74);
}

.change-grid {
  gap: 10px;
}

.change-grid span {
  min-height: 64px;
  border-color: rgba(250, 251, 247, 0.16);
  border-radius: 8px;
  background: rgba(250, 251, 247, 0.07);
  box-shadow: inset 0 1px 0 rgba(250, 251, 247, 0.08);
  font-weight: 720;
}

.change-grid span:nth-child(3n) {
  background: rgba(143, 93, 71, 0.2);
}

.change-grid span:nth-child(4n) {
  background: rgba(109, 128, 111, 0.22);
}

.change-grid span:nth-child(5n) {
  background: rgba(77, 115, 129, 0.22);
}

.materials-section {
  background:
    linear-gradient(180deg, #fbfcf8 0%, #f3f6ef 100%);
}

.material-layout {
  gap: 14px;
}

.material-layout article {
  position: relative;
  overflow: hidden;
  border-color: rgba(109, 128, 111, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(242, 246, 240, 0.86)),
    #ffffff;
  box-shadow: 0 14px 34px rgba(22, 27, 25, 0.06);
}

.material-primary {
  background:
    linear-gradient(145deg, #e7eee8 0%, #fbf5ed 100%) !important;
}

.pricing-section {
  background:
    linear-gradient(180deg, #f7f2ec 0%, #eef2ed 100%);
}

.price-grid.is-single {
  max-width: 820px;
}

.price-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}

.price-card.is-featured {
  border-color: rgba(143, 93, 71, 0.34);
  background:
    linear-gradient(135deg, #fffaf5 0%, #f1f6f2 72%, #fbf0e6 100%);
  box-shadow: 0 28px 70px rgba(143, 93, 71, 0.14);
}

.price-card.is-featured::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--sage), var(--blue));
}

.price-label {
  background: linear-gradient(135deg, #151b18, #3c4c44);
}

.price-card-main h3 {
  width: fit-content;
  background: linear-gradient(105deg, #171e1a 0%, #8f5d47 47%, #4d7381 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-card li::before {
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--sage));
}

.site-footer {
  border-top: 1px solid rgba(234, 213, 189, 0.14);
  background:
    linear-gradient(90deg, #121715, #1d2823),
    var(--coal);
}

@media (max-width: 1060px) {
  .split-head,
  .case-row {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: 72px;
  }

  .workflow-panel {
    grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  }

  .process-grid,
  .service-grid,
  .video-layout,
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid article:last-child,
  .video-card-main {
    grid-column: 1 / -1;
  }

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

  .style-reference-head {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .nav-links {
    display: none;
  }

  .nav-action {
    justify-self: end;
  }

  .hero {
    min-height: 86svh;
    background-color: #111511;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(14, 17, 15, 0.08) 0%, rgba(14, 17, 15, 0.16) 40%, rgba(14, 17, 15, 0.92) 100%),
      url("./assets/female-neutral-public-ai-v1/cover-twintail-night.png") 52% 36% / cover no-repeat;
  }

  .hero-copy {
    max-width: 430px;
    padding-top: 42vh;
  }

  h1 {
    font-size: 58px;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 410px;
    font-size: 16px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    margin-top: 18px;
  }

  .hero-stats div {
    min-height: 66px;
    border-right: 0;
    border-bottom: 1px solid rgba(250, 251, 247, 0.18);
    padding: 14px;
  }

  .hero-stats div:last-child {
    border-bottom: 0;
  }

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

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

  .formula > span {
    display: none;
  }

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

  .workflow-card,
  .workflow-result {
    min-height: 0;
  }

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

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

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

  .lightbox {
    padding: 14px;
  }

  .lightbox figure {
    width: 100%;
  }

  .material-primary {
    grid-row: auto;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 60px;
    padding-inline: 14px;
  }

  .brand span:last-child {
    max-width: 112px;
    white-space: normal;
    line-height: 1.15;
  }

  .nav-action {
    padding: 8px 10px;
    font-size: 12px;
  }

  .hero,
  .section {
    padding-inline: 14px;
  }

  .hero {
    min-height: 84svh;
    padding-top: 40px;
  }

  h1 {
    font-size: 46px;
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .section {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .section-head h2 {
    font-size: 34px;
  }

  .process-grid,
  .service-grid,
  .video-layout,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .service-grid article:last-child,
  .video-card-main {
    grid-column: auto;
  }

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

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

  .process-grid {
    padding: 12px;
  }

  .case-row {
    padding: 13px;
  }

  .case-copy {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .case-copy h3 {
    font-size: 20px;
  }

  .workflow-rules span {
    font-size: 12px;
  }

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

  .formula {
    gap: 6px;
  }

  .formula figcaption {
    left: 5px;
    bottom: 5px;
    padding: 4px 5px;
    font-size: 10px;
  }

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

  .site-footer {
    flex-direction: column;
    padding-inline: 14px;
  }
}

/* Final dark system alignment */
:root {
  color-scheme: dark;
  --night: #0f1412;
  --night-2: #151d19;
  --night-3: #1d2823;
  --night-panel: rgba(24, 32, 28, 0.88);
  --night-panel-strong: rgba(30, 41, 35, 0.94);
  --warm-text: #f2eadf;
  --soft-text: rgba(232, 240, 238, 0.78);
  --dim-text: rgba(232, 240, 238, 0.62);
  --dark-line: rgba(234, 213, 189, 0.16);
  --dark-line-strong: rgba(234, 213, 189, 0.28);
}

html,
body {
  background: #0f1412;
}

body {
  color: var(--warm-text);
  background:
    linear-gradient(180deg, #0f1412 0%, #16211c 36%, #111614 72%, #17130f 100%);
}

main {
  background:
    linear-gradient(180deg, rgba(15, 20, 18, 0) 0, #101613 18px, #101613 100%);
}

.section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-top: 1px solid rgba(234, 213, 189, 0.1);
  color: var(--warm-text);
}

.section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(234, 213, 189, 0.045), transparent 30%, rgba(77, 115, 129, 0.07) 72%, transparent),
    repeating-linear-gradient(90deg, rgba(250, 251, 247, 0.028) 0 1px, transparent 1px 108px);
}

.intro-section {
  background: linear-gradient(180deg, #101613 0%, #16211c 100%);
}

.services-section {
  background: linear-gradient(180deg, #16211c 0%, #151d19 100%);
}

.case-section {
  background: linear-gradient(180deg, #151d19 0%, #101613 100%);
}

.video-section {
  background: linear-gradient(180deg, #101613 0%, #17231e 100%);
  border-top-color: rgba(234, 213, 189, 0.12);
}

.library-section {
  background: linear-gradient(180deg, #17231e 0%, #101613 54%, #181510 100%);
}

.materials-section {
  background: linear-gradient(180deg, #181510 0%, #101613 100%);
}

.pricing-section {
  background: linear-gradient(180deg, #101613 0%, #141b17 100%);
}

.change-section {
  background: linear-gradient(145deg, #101613 0%, #1a2721 48%, #251f1a 100%);
}

.section-head h2,
.style-reference-head h3 {
  background: linear-gradient(104deg, #f6eadb 0%, #ead5bd 38%, #c7deda 78%, #f2eadf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.section-head p:not(.eyebrow),
.style-reference-head p:last-child,
.case-copy p:last-child,
.process-grid p,
.service-grid p,
.video-card p,
.video-note,
.library-card p,
.material-layout p,
.price-card p,
.price-note {
  color: var(--soft-text);
}

.eyebrow,
.case-type {
  color: #edc7a8;
  letter-spacing: 0;
}

.section-head::before,
.style-reference-head::before {
  background: linear-gradient(90deg, #ead5bd, rgba(199, 222, 218, 0.58), transparent);
}

.process-grid,
.case-filter,
.case-row,
.video-note,
.price-note {
  border: 1px solid var(--dark-line);
  background:
    linear-gradient(145deg, rgba(30, 41, 35, 0.9), rgba(16, 22, 19, 0.88)),
    rgba(17, 23, 20, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
}

.process-grid {
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(234, 213, 189, 0.08), rgba(199, 222, 218, 0.04)),
    rgba(16, 22, 19, 0.92);
}

.process-grid article,
.service-grid article,
.video-card,
.library-card,
.look-card,
.material-layout article,
.price-card {
  border-color: var(--dark-line);
  background:
    linear-gradient(145deg, rgba(31, 42, 36, 0.93), rgba(17, 23, 20, 0.94)),
    var(--night-panel);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
}

.process-grid article {
  border-right-color: rgba(234, 213, 189, 0.12);
}

.service-grid article:nth-child(2n) {
  background:
    linear-gradient(145deg, rgba(27, 43, 39, 0.94), rgba(17, 23, 20, 0.94)),
    var(--night-panel);
}

.process-grid article::after,
.service-grid article::after,
.video-card::after,
.material-layout article::after {
  background: linear-gradient(90deg, rgba(234, 213, 189, 0.72), rgba(199, 222, 218, 0.42), transparent);
}

.process-grid span,
.service-grid span,
.video-card span,
.case-index,
.price-label {
  background: linear-gradient(135deg, rgba(234, 213, 189, 0.16), rgba(199, 222, 218, 0.1));
  color: #ead5bd;
  border: 1px solid rgba(234, 213, 189, 0.16);
  box-shadow: inset 0 1px 0 rgba(250, 251, 247, 0.08);
}

.process-grid h3,
.service-grid h3,
.video-card h3,
.library-card h3,
.material-layout h3,
.price-card h3,
.case-copy h3 {
  color: #f2eadf;
}

.service-grid article:hover,
.library-card:hover,
.look-card:hover {
  border-color: var(--dark-line-strong);
  box-shadow: 0 28px 78px rgba(0, 0, 0, 0.34);
}

.case-filter {
  padding: 7px;
  background: rgba(18, 25, 21, 0.78);
  backdrop-filter: blur(12px);
}

.filter-button {
  border-color: transparent;
  background: rgba(250, 251, 247, 0.045);
  color: rgba(232, 240, 238, 0.76);
}

.filter-button:hover,
.filter-button.is-active {
  border-color: rgba(234, 213, 189, 0.34);
  background: linear-gradient(135deg, rgba(234, 213, 189, 0.2), rgba(109, 128, 111, 0.2));
  color: #f2eadf;
}

.case-row {
  background:
    linear-gradient(135deg, rgba(31, 42, 36, 0.94), rgba(17, 23, 20, 0.93)),
    rgba(16, 22, 19, 0.9);
}

.case-row::before {
  background: linear-gradient(180deg, #ead5bd, #6d806f, #4d7381);
}

.case-index {
  color: #ead5bd;
}

.case-type {
  color: #edc7a8;
}

.workflow-panel {
  border-color: rgba(234, 213, 189, 0.14);
  background: rgba(8, 12, 10, 0.22);
}

.workflow-rules span {
  border-color: rgba(234, 213, 189, 0.14);
  background: rgba(250, 251, 247, 0.06);
  color: rgba(232, 240, 238, 0.78);
}

.workflow-rules span:first-child {
  border-color: rgba(234, 213, 189, 0.22);
  background: rgba(234, 213, 189, 0.13);
  color: #f0d7bd;
}

.workflow-card,
.workflow-result,
.reference-strip figure {
  border-color: rgba(234, 213, 189, 0.14);
  background: #141b17;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.24);
}

.workflow-card.workflow-result {
  outline-color: rgba(234, 213, 189, 0.74);
}

.video-card-main,
.price-card.is-featured,
.material-primary {
  border-color: rgba(234, 213, 189, 0.28);
  background:
    linear-gradient(135deg, rgba(38, 48, 40, 0.98) 0%, rgba(24, 38, 33, 0.98) 58%, rgba(82, 58, 45, 0.92) 145%) !important;
  color: #f2eadf;
}

.video-card-main h3,
.video-card-main p,
.material-primary h3,
.material-primary p {
  color: #f2eadf;
}

.video-card-main p,
.material-primary p {
  color: rgba(232, 240, 238, 0.75);
}

.library-card figure,
.look-card figure {
  border-bottom-color: rgba(234, 213, 189, 0.13);
  background: #141b17;
}

.style-reference {
  border-top-color: rgba(234, 213, 189, 0.16);
}

.style-reference-head {
  border-top-color: rgba(234, 213, 189, 0.16);
}

.change-grid span {
  border-color: rgba(234, 213, 189, 0.16);
  background: rgba(250, 251, 247, 0.065);
  color: rgba(242, 234, 223, 0.88);
}

.change-grid span:nth-child(3n) {
  background: rgba(143, 93, 71, 0.22);
}

.change-grid span:nth-child(4n) {
  background: rgba(109, 128, 111, 0.22);
}

.change-grid span:nth-child(5n) {
  background: rgba(77, 115, 129, 0.2);
}

.price-card-main h3 {
  background: linear-gradient(104deg, #f6eadb 0%, #ead5bd 44%, #c7deda 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.price-card li {
  color: rgba(232, 240, 238, 0.78);
}

.price-card li::before {
  background: linear-gradient(135deg, #ead5bd, #6d806f);
}

.price-note,
.video-note {
  color: rgba(232, 240, 238, 0.74);
}

.site-footer {
  border-top-color: rgba(234, 213, 189, 0.16);
  background: linear-gradient(90deg, #0f1412, #18231e);
  color: rgba(232, 240, 238, 0.62);
}

@media (max-width: 760px) {
  .process-grid article {
    border-right: 0;
    border-bottom: 1px solid rgba(234, 213, 189, 0.12);
  }

  .process-grid article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .brand {
    min-width: 0;
    gap: 8px;
    font-size: 13px;
  }

  .brand span:last-child {
    max-width: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1;
  }

  .nav-action {
    white-space: nowrap;
  }

  .case-row,
  .workflow-panel,
  .process-grid,
  .case-filter,
  .video-note,
  .price-note {
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
  }

  .hero-copy {
    width: 100%;
    max-width: 340px;
  }

  .hero-copy p:not(.eyebrow) {
    max-width: 330px;
    overflow-wrap: anywhere;
  }

  .hero-actions,
  .hero-stats {
    width: 100%;
    max-width: 340px;
  }

  .hero-stats strong {
    overflow-wrap: anywhere;
  }
}

/* Public AI final pass */
:root {
  color-scheme: dark;
  --final-bg: #0d1210;
  --final-panel: rgba(22, 30, 26, 0.82);
  --final-panel-strong: rgba(28, 39, 34, 0.94);
  --final-text: #f4eee6;
  --final-soft: rgba(232, 240, 238, 0.76);
  --final-dim: rgba(232, 240, 238, 0.56);
  --final-line: rgba(234, 213, 189, 0.16);
  --final-line-strong: rgba(234, 213, 189, 0.32);
  --final-gold: #ead5bd;
  --final-copper: #d59d7d;
  --final-green: #9eb2a0;
  --final-blue: #94b8c3;
}

body {
  background:
    linear-gradient(180deg, #0b100e 0%, #111a16 38%, #0d1210 100%),
    var(--final-bg);
  color: var(--final-text);
}

.site-header {
  border-bottom-color: rgba(234, 213, 189, 0.13);
  background: rgba(10, 15, 13, 0.9);
}

.brand-mark {
  border-radius: 7px;
  background: linear-gradient(135deg, #fff2dc, #a8c7c1);
}

.hero {
  min-height: calc(92svh - 64px);
  padding-bottom: clamp(30px, 5vw, 58px);
}

.hero::before {
  background:
    radial-gradient(circle at 68% 28%, rgba(148, 184, 195, 0.18), rgba(148, 184, 195, 0) 30%),
    linear-gradient(90deg, rgba(9, 13, 11, 0.96) 0%, rgba(9, 13, 11, 0.82) 29%, rgba(9, 13, 11, 0.33) 52%, rgba(9, 13, 11, 0.05) 78%),
    url("./assets/female-neutral-public-ai-v1/cover-twintail-night.png") 58% 42% / cover no-repeat;
}

.hero::after {
  background:
    linear-gradient(0deg, rgba(9, 13, 11, 0.95), rgba(9, 13, 11, 0) 52%),
    linear-gradient(180deg, rgba(9, 13, 11, 0.22), rgba(9, 13, 11, 0.36));
}

.hero-copy {
  max-width: 470px;
  padding-top: 16vh;
}

h1 {
  max-width: 470px;
  font-size: clamp(58px, 6.4vw, 82px);
}

#hero-title span {
  background: linear-gradient(104deg, #fff5e7 0%, #edc7a8 31%, #b9d5d0 66%, #fff7ec 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section {
  background:
    radial-gradient(circle at 14% 0%, rgba(213, 157, 125, 0.09), transparent 28%),
    linear-gradient(180deg, #101713 0%, #0c1210 100%);
  color: var(--final-text);
}

.intro-section,
.services-section,
.case-section,
.video-section,
.library-section,
.change-section,
.materials-section,
.pricing-section {
  background:
    radial-gradient(circle at 82% 8%, rgba(148, 184, 195, 0.08), transparent 29%),
    linear-gradient(180deg, #111a16 0%, #0c1210 100%);
  border-top: 1px solid var(--final-line);
}

.section-head h2,
.section-head h3,
.case-copy h3,
.showcase-copy h3 {
  color: var(--final-text);
}

.section-head p,
.service-grid p,
.process-grid p,
.video-card p,
.material-layout p,
.price-card p,
.case-copy p:last-child,
.showcase-copy p,
.library-card p,
.style-reference-head p {
  color: var(--final-soft);
}

.eyebrow {
  color: var(--final-copper);
}

.process-grid,
.service-grid,
.video-layout,
.material-layout,
.price-grid {
  position: relative;
}

.process-grid article,
.service-grid article,
.video-card,
.material-layout article,
.price-card,
.library-card,
.look-card,
.case-row {
  border-color: var(--final-line);
  background:
    linear-gradient(145deg, rgba(30, 41, 35, 0.92), rgba(13, 19, 16, 0.96)),
    var(--final-panel);
  box-shadow: 0 22px 64px rgba(0, 0, 0, 0.24);
}

.process-grid span,
.service-grid span,
.video-card span,
.case-index,
.price-label {
  border-color: rgba(234, 213, 189, 0.22);
  background: linear-gradient(135deg, rgba(234, 213, 189, 0.18), rgba(148, 184, 195, 0.08));
  color: var(--final-gold);
}

.case-section {
  padding-top: clamp(64px, 8vw, 118px);
}

.case-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 22px;
  border: 1px solid var(--final-line);
  border-radius: 8px;
  background: rgba(8, 12, 10, 0.66);
}

.filter-button {
  min-height: 38px;
  border-radius: 6px;
  color: rgba(244, 238, 230, 0.78);
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--final-line-strong);
  background: linear-gradient(135deg, rgba(234, 213, 189, 0.2), rgba(148, 184, 195, 0.12));
  color: var(--final-text);
}

.library-grid,
.look-grid {
  gap: 14px;
}

.library-card,
.look-card {
  overflow: hidden;
  border-radius: 8px;
}

.library-card figure,
.look-card figure {
  background: #151c18;
}

.library-card img,
.look-card img {
  filter: saturate(1.02) contrast(1.02);
}

.library-card figcaption,
.look-card figcaption {
  background: rgba(9, 13, 11, 0.76);
}

.style-reference {
  border-top-color: var(--final-line);
}

.style-reference-head {
  border-top-color: transparent;
}

.change-grid span {
  border-color: rgba(234, 213, 189, 0.16);
  background: rgba(250, 251, 247, 0.06);
  color: rgba(244, 238, 230, 0.86);
}

.price-card-main h3 {
  background: linear-gradient(104deg, #fff1da 0%, #edc7a8 42%, #b9d5d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 860px) {
  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 13, 11, 0.2) 0%, rgba(9, 13, 11, 0.72) 58%, rgba(9, 13, 11, 0.96) 100%),
      url("./assets/female-neutral-public-ai-v1/cover-twintail-night.png") 55% 40% / cover no-repeat;
  }

  .hero-copy {
    max-width: 430px;
    padding-top: 32svh;
  }

  h1 {
    max-width: 360px;
    font-size: clamp(48px, 13vw, 66px);
  }

}

@media (max-width: 560px) {
  .hero {
    min-height: calc(94svh - 64px);
    padding-bottom: 24px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(9, 13, 11, 0.06) 0%, rgba(9, 13, 11, 0.62) 50%, rgba(9, 13, 11, 0.96) 100%),
      url("./assets/female-neutral-public-ai-v1/cover-twintail-night.png") 52% 35% / cover no-repeat;
  }

  .hero-copy {
    max-width: 330px;
    padding-top: 38svh;
  }

  h1 {
    max-width: 300px;
    font-size: clamp(42px, 14vw, 54px);
  }

  .hero-copy p:not(.eyebrow) {
    font-size: 15px;
    line-height: 1.62;
  }

  .case-filter {
    width: 100%;
  }

  .filter-button {
    flex: 1 1 auto;
  }

}

/* List showcase final lock */
.case-section .case-table {
  display: grid;
  gap: 12px;
}

.case-section .case-row {
  display: grid;
  grid-template-columns: minmax(230px, 0.34fr) minmax(0, 0.66fr);
  align-items: center;
  gap: 16px;
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(109, 128, 111, 0.18);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(22, 27, 25, 0.06);
}

.case-section .case-row.is-hidden {
  display: none;
}

.case-section .case-copy {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.case-section .case-copy h3 {
  margin-bottom: 8px;
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.25;
}

.case-section .case-copy p:last-child {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.6;
}

.case-section .workflow-panel {
  display: grid;
  grid-template-columns: minmax(160px, 0.28fr) minmax(0, 0.72fr);
  gap: 10px;
  align-items: stretch;
  min-width: 0;
}

.case-section .workflow-rules {
  display: grid;
  align-content: center;
  gap: 7px;
  min-width: 0;
}

.case-section .workflow-rules span {
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(109, 128, 111, 0.2);
  background: rgba(237, 241, 236, 0.82);
  color: #3e4942;
  font-size: 12px;
  font-weight: 720;
  line-height: 1.35;
}

.case-section .workflow-rules span:first-child {
  border-color: rgba(143, 93, 71, 0.28);
  background: #fff7ef;
  color: #734b3a;
}

.case-section .workflow-assets {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 22px minmax(0, 1fr) 22px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.case-section .workflow-assets-four {
  grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
  gap: 5px;
}

.case-section .workflow-operator {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(109, 128, 111, 0.24);
  border-radius: 999px;
  background: rgba(237, 241, 236, 0.92);
  color: #3e4942;
  font-size: 15px;
  font-weight: 840;
  line-height: 1;
}

.case-section .workflow-assets-four .workflow-operator {
  width: 18px;
  height: 18px;
  font-size: 13px;
}

.case-section .workflow-operator-equals {
  border-color: rgba(143, 93, 71, 0.28);
  background: #fff7ef;
  color: #734b3a;
}

.case-section .workflow-card,
.case-section .workflow-result {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(22, 27, 25, 0.1);
  background: #dfe5dc;
}

.case-section .workflow-result {
  outline: 2px solid rgba(109, 128, 111, 0.56);
  outline-offset: -2px;
}

.case-section .workflow-card img,
.case-section .workflow-result img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.case-section .workflow-card figcaption,
.case-section .workflow-result figcaption {
  position: absolute;
  left: 7px;
  bottom: 7px;
  max-width: calc(100% - 14px);
  padding: 5px 7px;
  background: rgba(22, 27, 25, 0.74);
  color: #fafbf7;
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
}

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

@media (max-width: 1100px) {
  .case-section .case-row {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .case-section .workflow-panel {
    grid-template-columns: minmax(150px, 0.24fr) minmax(0, 0.76fr);
  }
}

@media (max-width: 820px) {
  .case-section .workflow-panel {
    grid-template-columns: 1fr;
  }

  .case-section .workflow-rules {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 560px) {
  .case-section .case-row {
    padding: 13px;
  }

  .case-section .case-copy {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
  }

  .case-section .workflow-assets {
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr) 18px minmax(0, 1fr);
    gap: 4px;
  }

  .case-section .workflow-assets-four {
    grid-template-columns: minmax(0, 1fr) 15px minmax(0, 1fr) 15px minmax(0, 1fr) 15px minmax(0, 1fr);
    gap: 3px;
  }

  .case-section .workflow-operator {
    width: 18px;
    height: 18px;
    font-size: 13px;
  }

  .case-section .workflow-assets-four .workflow-operator {
    width: 15px;
    height: 15px;
    font-size: 11px;
  }

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

/* AISHOT contact and simplified case board */
.case-section .workflow-panel {
  grid-template-columns: 1fr;
}

.case-section .workflow-assets {
  width: 100%;
}

.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 16px;
  align-items: stretch;
}

.pricing-layout .price-grid.is-single {
  max-width: none;
}

.contact-card {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 18px;
  border: 1px solid rgba(22, 27, 25, 0.12);
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(22, 27, 25, 0.06);
}

.contact-card img {
  display: block;
  width: 112px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(22, 27, 25, 0.1);
  background: #ffffff;
}

.contact-card span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--coal);
  font-size: 24px;
  line-height: 1;
}

.contact-card a {
  color: #734b3a;
  font-size: 18px;
  font-weight: 840;
  text-decoration: none;
}

.site-footer {
  align-items: center;
}

.site-footer > div:first-child {
  display: grid;
  gap: 5px;
}

.site-footer strong {
  color: #fafbf7;
  font-size: 18px;
  letter-spacing: 0;
}

.site-footer span {
  color: rgba(250, 251, 247, 0.68);
}

.footer-contact {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-contact img {
  width: 58px;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(250, 251, 247, 0.18);
  background: #ffffff;
}

.footer-contact a {
  color: #fafbf7;
  font-weight: 820;
  text-decoration: none;
}

.floating-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 80;
  display: grid;
  justify-items: end;
  gap: 8px;
}

.floating-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid rgba(250, 251, 247, 0.2);
  background: var(--coal);
  color: #fafbf7;
  font-size: 14px;
  font-weight: 860;
  text-decoration: none;
  box-shadow: 0 16px 30px rgba(22, 27, 25, 0.22);
}

.floating-contact-panel {
  display: grid;
  width: 156px;
  gap: 7px;
  padding: 10px;
  border: 1px solid rgba(22, 27, 25, 0.12);
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(22, 27, 25, 0.16);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.floating-contact:hover .floating-contact-panel,
.floating-contact:focus-within .floating-contact-panel {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-contact-panel img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(22, 27, 25, 0.1);
}

.floating-contact-panel strong {
  color: var(--coal);
  font-size: 14px;
  line-height: 1;
}

.floating-contact-panel span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

@media (max-width: 900px) {
  .pricing-layout {
    grid-template-columns: 1fr;
  }

  .pricing-contact {
    max-width: 440px;
  }
}

@media (max-width: 620px) {
  .contact-card {
    grid-template-columns: 92px minmax(0, 1fr);
    padding: 14px;
  }

  .contact-card img {
    width: 92px;
  }

  .contact-card strong {
    font-size: 20px;
  }

  .site-footer {
    display: grid;
  }

  .footer-contact {
    align-items: center;
  }

  .floating-contact {
    right: 12px;
    bottom: 12px;
  }

  .floating-contact-panel {
    width: 132px;
  }
}

/* Library page 2026-07-11 update */
.case-gallery-note {
  max-width: 860px;
  margin: 16px auto 0;
  color: rgba(250, 251, 247, 0.74);
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.materials-section .material-layout {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.materials-section .material-layout article {
  min-height: 150px;
  padding: 24px;
}

.material-next,
.material-zip-note {
  margin: 14px 0 0;
  border-radius: 8px;
  line-height: 1.7;
}

.material-next {
  color: rgba(250, 251, 247, 0.82);
  font-size: 16px;
  font-weight: 780;
  text-align: center;
}

.material-zip-note {
  padding: 14px 16px;
  border: 1px solid rgba(234, 213, 189, 0.2);
  background: rgba(250, 251, 247, 0.08);
  color: rgba(250, 251, 247, 0.76);
  font-size: 14px;
}

@media (max-width: 980px) {
  .materials-section .material-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .case-gallery-note {
    text-align: left;
  }
}

/* Case board contrast alignment 2026-07-12 */
.case-section .case-row {
  border-color: var(--final-line);
  background:
    linear-gradient(145deg, rgba(30, 41, 35, 0.96), rgba(13, 19, 16, 0.98)),
    var(--final-panel);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.case-section .case-row::before {
  background: linear-gradient(180deg, #e6c3a4, #94b8c3, transparent);
}

.case-section .case-copy .case-type {
  color: var(--final-copper);
}

.case-section .case-copy h3 {
  color: var(--final-text);
}

.case-section .case-copy p:last-child {
  color: var(--final-soft);
}

.case-section .workflow-panel {
  padding: 10px;
  border: 1px solid rgba(234, 213, 189, 0.13);
  border-radius: 8px;
  background: rgba(7, 11, 9, 0.58);
}

.case-section .workflow-operator {
  border-color: rgba(234, 213, 189, 0.24);
  background: rgba(234, 213, 189, 0.13);
  color: #f4eee6;
}

.case-section .workflow-operator-equals {
  border-color: rgba(148, 184, 195, 0.42);
  background: rgba(148, 184, 195, 0.18);
  color: #d5e7e5;
}

.case-section .workflow-card,
.case-section .workflow-result {
  border-color: rgba(234, 213, 189, 0.19);
  background: #151c18;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22);
}

.case-section .workflow-result {
  outline-color: rgba(148, 184, 195, 0.78);
}

/* Hero title refinement 2026-07-12 */
.hero-copy {
  max-width: 560px;
}

h1 {
  max-width: 560px;
  font-size: 78px;
  line-height: 1.04;
}

#hero-title span {
  white-space: nowrap;
}

@media (max-width: 860px) {
  .hero-copy,
  h1 {
    max-width: 430px;
  }

  h1 {
    font-size: 60px;
  }
}

@media (max-width: 560px) {
  .hero-copy,
  h1 {
    max-width: 330px;
  }

  h1 {
    font-size: 42px;
    line-height: 1.08;
  }
}
