:root {
  --canvas: #f5f5f5;
  --canvas-soft: #fafafa;
  --card: #ffffff;
  --ink: #0c0a09;
  --body: #4e4e4e;
  --muted: #777169;
  --hairline: #e7e5e4;
  --hairline-strong: #d6d3d1;
  --primary: #292524;
  --primary-active: #0c0a09;
  --mint: #a7e5d3;
  --peach: #f4c5a8;
  --lavender: #c8b8e0;
  --sky: #a8c8e8;
  --rose: #e8b8c4;
  --shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--body);
  font-family: "Noto Sans", "Inter", "Segoe UI", Arial, sans-serif;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

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

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

.page-shell {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 24px 32px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--hairline);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 30% 30%, var(--mint), transparent 64%),
    radial-gradient(circle at 70% 30%, var(--peach), transparent 66%),
    radial-gradient(circle at 50% 70%, var(--lavender), transparent 60%),
    var(--primary);
  box-shadow: 0 0 0 1px rgba(12, 10, 9, 0.1);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  color: var(--ink);
}

.brand-text strong,
.section-heading h2,
.hero-copy h1,
.card h3,
.step h3,
.contact-band h2 {
  color: var(--ink);
  font-family: "Noto Serif", Georgia, "Times New Roman", serif;
  font-weight: 400;
  line-height: 1.1;
  margin: 0;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand-text span {
  font-size: 0.8rem;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav a:hover,
.nav a.active,
.contact-line a:hover,
.contact-card a:hover,
.footer a:hover {
  color: var(--ink);
}

.section {
  padding: 72px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 36px;
  align-items: center;
}

.hero-home {
  padding-top: 68px;
}

.page-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 440px);
  gap: 36px;
  align-items: center;
  padding-top: 56px;
}

body.page-home {
  background:
    linear-gradient(180deg, rgba(167, 229, 211, 0.18) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(135deg, rgba(168, 200, 232, 0.14) 0%, rgba(255, 255, 255, 0) 34%),
    var(--canvas);
}

body.page-product {
  background:
    linear-gradient(180deg, rgba(200, 184, 224, 0.16) 0%, rgba(255, 255, 255, 0) 30%),
    linear-gradient(135deg, rgba(244, 197, 168, 0.12) 0%, rgba(255, 255, 255, 0) 36%),
    #faf8f5;
}

body.page-studio {
  background:
    linear-gradient(180deg, rgba(12, 10, 9, 0.06) 0%, rgba(255, 255, 255, 0) 24%),
    linear-gradient(135deg, rgba(168, 200, 232, 0.13) 0%, rgba(255, 255, 255, 0) 34%),
    #f7f4ef;
}

body.page-company {
  background:
    linear-gradient(180deg, rgba(232, 184, 196, 0.16) 0%, rgba(255, 255, 255, 0) 28%),
    linear-gradient(135deg, rgba(167, 229, 211, 0.16) 0%, rgba(255, 255, 255, 0) 34%),
    #faf9f6;
}

.eyebrow {
  margin: 0 0 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-copy h1 {
  font-size: clamp(3rem, 5vw, 4.6rem);
  max-width: 11ch;
}

.page-hero .hero-copy h1 {
  max-width: 13ch;
}

.lede {
  margin: 18px 0 0;
  max-width: 52ch;
  font-size: 1.15rem;
  color: var(--body);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid var(--hairline-strong);
  font-size: 0.95rem;
  font-weight: 600;
}

.button-primary {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.button-primary:hover {
  background: var(--primary-active);
  border-color: var(--primary-active);
}

.button-secondary {
  background: transparent;
  color: var(--ink);
}

.contact-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.hero-visual,
.visual-panel,
.contact-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--hairline);
  background: linear-gradient(180deg, #fbfbfa 0%, #f1efed 100%);
  box-shadow: var(--shadow);
}

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

.hero-visual img,
.visual-panel img {
  width: 100%;
  aspect-ratio: 1200 / 780;
  height: auto;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(167, 229, 211, 0.22), transparent 34%),
    radial-gradient(circle at 88% 12%, rgba(244, 197, 168, 0.2), transparent 30%),
    linear-gradient(180deg, #fbfbfa 0%, #f1efed 100%);
}

.visual-caption {
  display: grid;
  gap: 6px;
  padding: 18px 20px 22px;
  border-top: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.72);
}

.visual-caption strong,
.contact-panel strong {
  color: var(--ink);
  font-size: 1.02rem;
}

.visual-caption span {
  color: var(--body);
  font-size: 0.95rem;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-notes span {
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.64);
  color: var(--muted);
  font-size: 0.82rem;
}

body.page-home .page-shell {
  max-width: 1280px;
}

body.page-home .hero {
  grid-template-columns: minmax(380px, 0.98fr) minmax(0, 1.02fr);
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}

body.page-home .hero-copy {
  order: 2;
}

body.page-home .hero-visual {
  order: 1;
}

body.page-home .hero-copy h1 {
  max-width: 11.5ch;
  font-size: clamp(2.9rem, 4.35vw, 4.2rem);
}

body.page-home .hero-visual {
  max-width: 640px;
  justify-self: start;
}

body.page-home .strip-item,
body.page-home .card,
body.page-home .step {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(248, 250, 249, 0.98) 100%);
}

body.page-home .strip-item {
  border-color: rgba(167, 229, 211, 0.42);
}

body.page-home .step span {
  background: linear-gradient(135deg, rgba(167, 229, 211, 0.38), rgba(168, 200, 232, 0.28));
}

body.page-home .section-heading h2 {
  max-width: 14ch;
}

body.page-product .page-hero {
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
}

body.page-product .hero-copy h1 {
  max-width: 9ch;
}

body.page-product .page-hero .visual-panel {
  max-width: 620px;
  justify-self: end;
}

body.page-product .steps {
  grid-template-columns: 1fr;
}

body.page-product .step {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.page-product .step span {
  margin-bottom: 0;
  justify-self: start;
}

body.page-product .strip-item {
  background: linear-gradient(180deg, rgba(168, 200, 232, 0.18) 0%, rgba(255, 255, 255, 0.96) 100%);
  border-color: rgba(168, 200, 232, 0.34);
}

body.page-product .feature-row {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(168, 200, 232, 0.22);
}

body.page-product .page-hero .visual-caption {
  background: rgba(255, 255, 255, 0.82);
}

body.page-studio .page-hero {
  grid-template-columns: 1fr;
  gap: 20px;
  padding: 28px;
  margin-top: 18px;
  border-radius: 28px;
  background: linear-gradient(135deg, #161311 0%, #11100f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(12, 10, 9, 0.16);
}

body.page-studio .hero-copy {
  order: 1;
  max-width: 70ch;
}

body.page-studio .visual-panel {
  order: 2;
  width: 100%;
  max-width: 980px;
  justify-self: center;
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

body.page-studio .hero-copy h1,
body.page-studio .hero-copy .lede,
body.page-studio .hero-copy .eyebrow {
  color: #f8f4ee;
}

body.page-studio .hero-copy h1 {
  max-width: 14ch;
}

body.page-studio .hero-notes span {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.82);
}

body.page-studio .visual-panel img {
  background:
    radial-gradient(circle at 20% 18%, rgba(167, 229, 211, 0.16), transparent 30%),
    radial-gradient(circle at 76% 18%, rgba(244, 197, 168, 0.12), transparent 28%),
    #0f0e0d;
}

body.page-studio .visual-caption {
  background: rgba(12, 10, 9, 0.68);
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.page-studio .visual-caption strong,
body.page-studio .visual-caption span {
  color: #f8f4ee;
}

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

body.page-studio .step {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body.page-studio .step span {
  margin-bottom: 0;
  background: linear-gradient(135deg, rgba(168, 200, 232, 0.34), rgba(244, 197, 168, 0.24));
}

body.page-studio .strip-item,
body.page-studio .card,
body.page-studio .feature-row,
body.page-studio .step,
body.page-studio .contact-card {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(12, 10, 9, 0.08);
}

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

body.page-company .page-hero {
  grid-template-columns: 1fr;
  gap: 18px;
}

body.page-company .visual-panel {
  order: 1;
  width: 100%;
  max-width: 680px;
  justify-self: end;
}

body.page-company .hero-copy {
  order: 2;
  max-width: 72ch;
}

body.page-company .hero-copy h1 {
  max-width: 12ch;
}

body.page-company .visual-panel img {
  object-position: center;
}

body.page-company .contact-line {
  gap: 12px 16px;
}

body.page-company .contact-band {
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
}

body.page-company .contact-card {
  background: linear-gradient(180deg, rgba(232, 184, 196, 0.16) 0%, rgba(255, 255, 255, 0.96) 100%);
  border-color: rgba(232, 184, 196, 0.28);
}

body.page-company .contact-panel {
  background: linear-gradient(180deg, rgba(167, 229, 211, 0.14) 0%, rgba(255, 255, 255, 0.94) 100%);
  border-color: rgba(167, 229, 211, 0.26);
}

body.page-company .strip-item {
  background: linear-gradient(180deg, rgba(244, 197, 168, 0.14) 0%, rgba(255, 255, 255, 0.96) 100%);
  border-color: rgba(244, 197, 168, 0.28);
}

body.page-company .card-grid {
  grid-template-columns: 1.15fr 1fr 1fr;
}

.hero-tags {
  position: absolute;
  left: 20px;
  bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}.hero-tags span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(12, 10, 9, 0.08);
  color: var(--ink);
  font-size: 0.8rem;
  backdrop-filter: blur(10px);
}

/* Real photo panels — fill with cover, no letterboxing */
.visual-photo {
  background: #e7e5e4;
}

.visual-photo img {
  width: 100%;
  aspect-ratio: 1200 / 780;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.contact-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 6px;
}

/* Real product screenshot in a browser chrome — used for dark-UI captures */
.visual-shot {
  background: linear-gradient(180deg, #14110f 0%, #0f0d0c 100%);
  border-color: rgba(12, 10, 9, 0.12);
  box-shadow: 0 18px 48px rgba(12, 10, 9, 0.16);
}

.browser-frame {
  display: block;
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  background: #1b1714;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.browser-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: #3a322d;
}

.browser-bar .dot:nth-child(1) { background: #ef6f5e; }
.browser-bar .dot:nth-child(2) { background: #f3c14e; }
.browser-bar .dot:nth-child(3) { background: #62c563; }

.browser-url {
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  letter-spacing: 0.02em;
}

.visual-shot .browser-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  background: #0f0d0c;
}

body.page-product .page-hero .visual-shot .visual-caption {
  background: rgba(20, 17, 15, 0.82);
  border-top-color: rgba(255, 255, 255, 0.08);
}

body.page-product .page-hero .visual-shot .visual-caption strong {
  color: #f8f4ee;
}

body.page-product .page-hero .visual-shot .visual-caption span {
  color: rgba(248, 244, 238, 0.78);
}

/* Product screenshot gallery — real scene/character library captures */
.shot-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.shot-card {
  margin: 0;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: #14110f;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  height: auto;
  display: block;
  background: #14110f;
}

.shot-card figcaption {
  padding: 14px 18px 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(20, 17, 15, 0.82);
  color: rgba(248, 244, 238, 0.82);
  font-size: 0.92rem;
}

.strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.strip-item,
.card,
.step,
.contact-card {
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--card);
  box-shadow: var(--shadow);
}

.strip-item {
  padding: 22px 20px;
}

.strip-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.strip-item strong {
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.section-heading {
  margin-bottom: 24px;
}

.section-heading h2,
.contact-band h2 {
  font-size: 2.25rem;
  max-width: 16ch;
}

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

.feature-grid {
  display: grid;
  gap: 16px;
}

.card {
  padding: 24px;
}

.feature-row {
  display: grid;
  grid-template-columns: minmax(190px, 240px) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px 24px;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.feature-row strong {
  color: var(--ink);
  font-size: 1rem;
}

.feature-row p {
  margin: 0;
}

.card h3,
.step h3 {
  font-size: 1.35rem;
  overflow-wrap: anywhere;
}

.card p,
.step p {
  margin: 14px 0 0;
  color: var(--body);
  overflow-wrap: anywhere;
}

.split-band {
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

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

.step {
  padding: 24px;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  border-radius: 999px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(167, 229, 211, 0.24), rgba(200, 184, 224, 0.24));
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.contact-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 24px;
  align-items: start;
}

.contact-card {
  padding: 24px;
}

.contact-panel {
  padding: 24px;
  display: grid;
  gap: 12px;
  align-self: stretch;
  align-content: start;
}

.contact-panel p {
  margin: 0;
  color: var(--body);
}

.contact-card p {
  margin: 0 0 10px;
  color: var(--body);
}

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

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 1080px) {
  .hero,
  .page-hero,
  .contact-band {
    grid-template-columns: 1fr;
  }

  body.page-home .hero,
  body.page-product .page-hero,
  body.page-company .page-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy h1 {
    max-width: none;
  }

  body.page-home .hero-copy,
  body.page-home .hero-visual,
  body.page-product .hero-copy,
  body.page-product .visual-panel,
  body.page-studio .hero-copy,
  body.page-studio .visual-panel,
  body.page-company .hero-copy,
  body.page-company .visual-panel {
    order: initial;
    max-width: none;
    justify-self: stretch;
  }

  body.page-studio .page-hero {
    padding: 24px;
  }
}

@media (max-width: 820px) {
  .topbar,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav {
    flex-wrap: wrap;
    gap: 16px;
  }

  .strip,
  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .feature-row {
    grid-template-columns: 1fr;
  }

  body.page-product .step,
  body.page-studio .step {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .section-heading h2,
  .contact-band h2,
  .page-hero .hero-copy h1 {
    font-size: 2.5rem;
  }

  body.page-studio .page-hero {
    margin-top: 12px;
  }

  body.page-company .contact-band,
  body.page-company .card-grid,
  body.page-studio .card-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding-left: 16px;
    padding-right: 16px;
  }

  .section {
    padding: 44px 0;
  }

  .hero,
  .page-hero {
    gap: 22px;
  }

  .hero-home {
    padding-top: 28px;
  }

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

  .hero-copy h1,
  body.page-home .hero-copy h1,
  .section-heading h2,
  .contact-band h2,
  .page-hero .hero-copy h1 {
    font-size: 1.95rem;
    line-height: 1.14;
  }

  .lede {
    font-size: 1.05rem;
    margin-top: 14px;
  }

  .cta-row {
    margin-top: 20px;
  }

  body.page-home .hero-visual img,
  body.page-product .visual-panel img,
  body.page-studio .visual-panel img,
  body.page-company .visual-panel img {
    height: auto;
    max-height: none;
  }

  .hero-tags {
    left: 14px;
    right: 14px;
    bottom: 14px;
  }
}
