/* DesignGPT — brand gateway. Visual center: enter designgpt.art */

:root {
  --ink: #121212;
  --ink-2: #2a2a2a;
  --muted: #6b6b6b;
  --line: rgba(18, 18, 18, 0.12);
  --paper: #f2f3f5;
  --paper-2: #e7e9ec;
  --lacquer: #b91c2c;
  --lacquer-deep: #8f1421;
  --snow: #f7f7f5;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-brand: "Fraunces", Georgia, serif;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem clamp(1.25rem, 4vw, 3.5rem);
  color: var(--snow);
  mix-blend-mode: normal;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(242, 243, 245, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.12rem;
  line-height: 1.15;
  max-width: min(52vw, 18rem);
}

.logo-text {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.logo-sub {
  font-size: clamp(0.58rem, 1.6vw, 0.68rem);
  font-weight: 600;
  opacity: 0.78;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.88rem;
  opacity: 0.88;
}

.nav a {
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 1;
}

.header-cta {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 0.95rem;
  border: 1px solid currentColor;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.site-header:not(.is-scrolled) .header-cta:hover {
  background: var(--snow);
  color: var(--ink);
  border-color: var(--snow);
}

.site-header.is-scrolled .header-cta {
  background: var(--ink);
  color: var(--snow);
  border-color: var(--ink);
}

.site-header.is-scrolled .header-cta:hover {
  background: var(--lacquer);
  border-color: var(--lacquer);
}

@media (min-width: 860px) {
  .nav {
    display: flex;
  }
}

/* Hero — one full-bleed composition */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: var(--snow);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 42%;
  transform: scale(1.04);
  animation: hero-ken 18s var(--ease) forwards;
}

@keyframes hero-ken {
  from { transform: scale(1.08); }
  to { transform: scale(1.0); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.45) 48%, rgba(10, 10, 10, 0.28) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.35) 0%, transparent 28%, rgba(10, 10, 10, 0.72) 100%);
}

.hero-stage {
  position: relative;
  z-index: 1;
  width: min(720px, 100%);
  padding:
    calc(6.5rem + env(safe-area-inset-top))
    clamp(1.25rem, 4vw, 3.5rem)
    clamp(2.5rem, 6vh, 4rem);
}

.company-name {
  margin: 0 0 1rem;
  font-family: var(--font-body);
  font-size: clamp(0.92rem, 2.2vw, 1.2rem);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  border-left: 3px solid var(--lacquer);
  padding-left: 0.9rem;
  line-height: 1.4;
}

.brand-word {
  margin: 0 0 1.1rem;
  font-family: var(--font-brand);
  font-size: clamp(3.4rem, 11vw, 6.4rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.hero-title {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 500;
  line-height: 1.4;
  max-width: 18em;
}

html[lang="en"] .hero-title {
  max-width: 14em;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 2rem;
  max-width: 28rem;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.7;
  color: rgba(247, 247, 245, 0.78);
}

/* Destination CTA — visual center */
.enter {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  padding: 1rem 0 1.05rem;
  border-top: 1px solid rgba(247, 247, 245, 0.35);
  border-bottom: 1px solid rgba(247, 247, 245, 0.35);
  min-width: min(100%, 22rem);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.enter:hover {
  border-color: rgba(247, 247, 245, 0.9);
  transform: translateX(4px);
}

.enter-kicker {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.enter-url {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  font-family: var(--font-brand);
  font-size: clamp(1.65rem, 4vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.enter-arrow {
  font-size: 0.72em;
  transition: transform 0.3s var(--ease);
}

.enter:hover .enter-arrow {
  transform: translate(3px, -3px);
}

.enter-compact,
.enter-on-light {
  color: var(--ink);
  border-top-color: rgba(18, 18, 18, 0.2);
  border-bottom-color: rgba(18, 18, 18, 0.2);
}

.enter-compact:hover,
.enter-on-light:hover {
  border-top-color: var(--lacquer);
  border-bottom-color: var(--lacquer);
  color: var(--lacquer-deep);
}

.hero-meta {
  margin: 2rem 0 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: rgba(247, 247, 245, 0.62);
}

/* Sections */
.section {
  padding: clamp(4.5rem, 11vh, 7.5rem) clamp(1.25rem, 4vw, 3.5rem);
}

.section-inner {
  max-width: 760px;
  margin: 0 auto;
}

.section-inner.wide {
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lacquer);
}

.eyebrow.light {
  color: #e8a0a8;
}

.section-title {
  margin: 0 0 1.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4.2vw, 2.7rem);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.section-title.light {
  color: var(--snow);
}

.section-lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--ink-2);
  line-height: 1.8;
}

.prose {
  margin: 0;
  color: var(--muted);
}

.prose.light {
  color: rgba(247, 247, 245, 0.72);
  max-width: 40rem;
  font-size: 1.05rem;
}

.about {
  background: var(--paper);
}

.about-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

.advantage {
  background: var(--ink);
  color: rgba(247, 247, 245, 0.82);
}

.advantage .section-title {
  color: var(--snow);
}

.advantage .eyebrow {
  color: #e8a0a8;
}

.adv-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}

.split {
  display: grid;
  gap: 2.5rem;
  border-top: 1px solid rgba(247, 247, 245, 0.14);
  padding-top: 2.25rem;
}

@media (min-width: 800px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }
}

.split-block h3 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--snow);
}

.split-block p {
  margin: 0 0 1rem;
  font-size: 0.98rem;
  color: rgba(247, 247, 245, 0.68);
}

.split-block p:last-child {
  margin-bottom: 0;
}

.business {
  background: var(--paper-2);
}

.biz-list {
  margin-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.biz-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem 1.5rem;
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--line);
}

.biz-index {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--lacquer);
  padding-top: 0.15rem;
}

.biz-item h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 600;
}

.biz-item p {
  margin: 0;
  color: var(--muted);
}

.product {
  background: var(--paper);
}

.layers {
  display: grid;
  gap: 0;
  margin: 2.25rem 0 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 800px) {
  .layers {
    grid-template-columns: 1fr 1fr;
  }
}

.layer {
  padding: 1.85rem 0;
  border-bottom: 1px solid var(--line);
}

@media (min-width: 800px) {
  .layer:first-child {
    padding-right: 2rem;
    border-right: 1px solid var(--line);
  }

  .layer:last-child {
    padding-left: 2rem;
  }
}

.layer-tag {
  display: inline-block;
  margin-bottom: 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lacquer);
}

.layer h3 {
  margin: 0 0 0.7rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
}

.layer p {
  margin: 0;
  color: var(--muted);
}

.diff {
  margin-top: 2rem;
}

.diff h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
}

.diff p {
  margin: 0;
  color: var(--muted);
  max-width: 42rem;
}

.mid-cta {
  margin-top: 2.5rem;
}

.vision {
  background:
    linear-gradient(160deg, #1a1414 0%, #121212 55%, #1d1715 100%);
  color: var(--snow);
}

.gateway {
  padding: clamp(5rem, 14vh, 8.5rem) clamp(1.25rem, 4vw, 3.5rem);
  background: var(--paper);
  text-align: left;
}

.gateway-inner {
  max-width: 760px;
  margin: 0 auto;
}

.gateway-company {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lacquer);
}

.gateway-brand {
  margin: 0 0 0.6rem;
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
}

.gateway-title {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.8vw, 1.7rem);
  font-weight: 500;
}

.gateway-lead {
  margin: 0 0 1.75rem;
  color: var(--muted);
}

.site-footer {
  padding: 1.75rem clamp(1.25rem, 4vw, 3.5rem) 2.25rem;
  background: var(--ink);
  color: rgba(247, 247, 245, 0.65);
}

.footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-inner strong {
  display: block;
  color: var(--snow);
  font-size: clamp(0.95rem, 2.2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-inner p {
  margin: 0.2rem 0 0;
  font-size: 0.82rem;
}

.footer-link {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--snow);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.footer-link:hover {
  color: #e8a0a8;
}

/* Motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

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

.hero [data-reveal]:nth-child(1) { transition-delay: 0.05s; }
.hero [data-reveal]:nth-child(2) { transition-delay: 0.14s; }
.hero [data-reveal]:nth-child(3) { transition-delay: 0.24s; }
.hero [data-reveal]:nth-child(4) { transition-delay: 0.34s; }
.hero [data-reveal]:nth-child(5) { transition-delay: 0.44s; }
.hero [data-reveal]:nth-child(6) { transition-delay: 0.54s; }

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .hero-media img {
    transform: none;
  }

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