:root {
  --bg: #070707;
  --bg-soft: #0c0c0c;
  --card: #11110f;
  --card-hover: #151410;
  --cream: #eee8dc;
  --ink: #251d18;
  --text: #eee8df;
  --muted: #9f968d;
  --gold: #a28551;
  --gold-soft: rgba(162, 133, 81, 0.38);
  --brown: #3b2419;
  --line: rgba(162, 133, 81, 0.32);
  --serif: "Iowan Old Style", "Baskerville", "Noto Serif TC", "Songti TC", "STSong", serif;
  --max: 1260px;
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  background: var(--gold);
  color: var(--bg);
}

a {
  color: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-160%);
  padding: 0.65rem 1rem;
  background: var(--cream);
  color: var(--ink);
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 3rem), var(--max));
  margin-inline: auto;
}

.wide-container {
  width: min(calc(100% - 2.5rem), 1380px);
}

.hero {
  position: relative;
  min-height: 100svh;
  isolation: isolate;
  background-color: #0a0705;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), rgba(5, 2, 1, 0.02) 54%, rgba(0, 0, 0, 0.12)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.18)),
    url("assets/hero-home.png") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 52% 46%, transparent 0 34%, rgba(0, 0, 0, 0.14) 86%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2.2rem;
}

.brand-mark {
  font-size: 0.94rem;
  letter-spacing: 0.34em;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  gap: clamp(1.25rem, 2.7vw, 2.7rem);
  align-items: center;
}

.site-nav a {
  position: relative;
  color: rgba(238, 232, 223, 0.78);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  background: var(--gold);
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(7, 7, 7, 0.65);
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 1px;
  margin: 0.35rem auto;
  background: var(--text);
}

.hero-copy {
  display: grid;
  min-height: calc(100svh - 7rem);
  place-content: center;
  padding-bottom: 2.5rem;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-size: clamp(1.9rem, 3.4vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.28em;
  line-height: 1.2;
  text-indent: 0.28em;
}

.hero-copy p {
  margin: 1.4rem 0 0;
  color: rgba(238, 232, 223, 0.72);
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.section {
  padding-block: clamp(6.5rem, 10vw, 10rem);
}

.section h2,
.contact-section h2 {
  margin: 1.05rem 0 1.3rem;
  font-size: clamp(2rem, 3.7vw, 3.45rem);
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0.045em;
}

.section h3 {
  font-weight: 400;
}

.eyebrow,
.case-type {
  margin: 0;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.29em;
  line-height: 1.4;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 1.7rem;
  height: 1px;
  margin-right: 0.85rem;
  vertical-align: 0.26em;
  background: var(--gold);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.about-visual {
  margin: 0;
}

.about-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.29;
  border: 1px solid rgba(255, 255, 255, 0.06);
  object-fit: cover;
}

.about-copy > p:not(.eyebrow),
.section-heading > p:last-child,
.section-intro,
.faq-heading > p:last-child,
.contact-copy > p:not(.eyebrow),
.contact-card > p:not(.case-type) {
  color: var(--muted);
}

.about-copy > p:not(.eyebrow) {
  max-width: 38rem;
  margin: 0 0 1.15rem;
}

.about-copy h2 {
  font-size: clamp(1.8rem, 2.45vw, 2.35rem);
  line-height: 1.45;
}

.problems-section {
  padding-top: clamp(4rem, 7vw, 7rem);
}

.problems-section h2 {
  margin-bottom: 2.7rem;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

.dark-card {
  border: 1px solid var(--line);
  border-radius: 1.85rem;
  background: var(--card);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.dark-card:hover {
  transform: translateY(-4px);
  border-color: rgba(162, 133, 81, 0.68);
  background: var(--card-hover);
}

.problem-card {
  min-height: 14.75rem;
  padding: 2.25rem 1.6rem 1.8rem;
}

.problem-card span,
.process-card span {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.17em;
}

.problem-card h3 {
  margin: 2.2rem 0 0.9rem;
  font-size: 1.1rem;
  line-height: 1.65;
}

.problem-card p,
.process-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.75;
}

.services-section {
  padding-top: clamp(6rem, 9vw, 9rem);
}

.section-heading.centered {
  max-width: 48rem;
  margin: 0 auto 4.2rem;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 1.35rem;
}

.service-card {
  display: flex;
  overflow: hidden;
  height: 100%;
  min-width: 0;
  border-radius: 1.9rem;
  background: var(--cream);
  color: var(--ink);
  flex-direction: column;
  grid-column: span 2;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:nth-last-child(-n + 2) {
  grid-column: span 2;
}

.service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-0.25rem);
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.24);
}

.service-card:hover .button,
.service-card:focus-visible .button {
  background: #4a2c1e;
  box-shadow: 0 1rem 2rem rgba(28, 15, 9, 0.2);
}

.service-card:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.service-card > img {
  display: block;
  width: calc(100% - 2rem);
  max-width: none;
  height: auto;
  aspect-ratio: 3 / 2;
  margin: 1rem auto 0;
  border: 1px solid rgba(37, 29, 24, 0.1);
  border-radius: 1rem;
  object-fit: cover;
  flex: 0 0 auto;
}

.service-image--personal { object-position: 50% 50%; }
.service-image--corporate { object-position: 50% 46%; }
.service-image--course { object-position: 50% 52%; }
.service-image--ugc { object-position: 50% 50%; }
.service-image--ai { object-position: 50% 53%; }

.service-body {
  display: flex;
  min-height: 17.5rem;
  padding: 1.45rem 1.55rem 1.55rem;
  text-align: center;
  flex: 1;
  flex-direction: column;
  align-items: center;
}

.service-number {
  margin: 0 0 0.85rem !important;
  color: var(--gold) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.2em;
  line-height: 1 !important;
}

.service-body h3 {
  display: grid;
  min-height: 3.2rem;
  margin: 0 0 1rem;
  font-size: 1.1rem;
  line-height: 1.55;
  place-items: center;
  text-wrap: balance;
}

.service-body > p:not(.service-number) {
  max-width: 30ch;
  margin: 0;
  color: #5c5148;
  font-size: 1rem;
  line-height: 1.8;
  text-wrap: pretty;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  margin-top: auto;
  padding: 0.65rem 2.1rem;
  border: 1px solid rgba(196, 164, 104, 0.65);
  border-radius: 999px;
  background: var(--brown);
  color: var(--text);
  font-size: 1rem;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: #4a2c1e;
  box-shadow: 0 1rem 2rem rgba(28, 15, 9, 0.23);
}

.process-section {
  padding-top: clamp(7rem, 12vw, 11.5rem);
}

.process-section h2 {
  margin-bottom: 0.65rem;
}

.section-intro {
  margin: 0 0 2.7rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.4rem;
}

.process-card {
  min-height: 16rem;
  padding: 2.4rem 1.7rem 1.9rem;
}

.process-card h3 {
  margin: 2.35rem 0 0.8rem;
  font-size: 1.1rem;
}

.work-section {
  background: var(--bg-soft);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 3.3rem;
}

.monitor {
  position: relative;
  z-index: 0;
  isolation: isolate;
  padding: 0.75rem 0.75rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0.85rem;
  background: #181818;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.35);
}

.monitor::before,
.monitor::after {
  content: "";
  position: absolute;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  background: #141414;
}

.monitor::before {
  bottom: -3.4rem;
  width: 18%;
  height: 3.4rem;
}

.monitor::after {
  bottom: -4.15rem;
  width: 34%;
  height: 0.85rem;
  border-radius: 0 0 0.45rem 0.45rem;
}

.browser-bar {
  display: grid;
  min-height: 1.6rem;
  padding-inline: 0.55rem;
  border-radius: 0.3rem;
  background: #101010;
  color: #e8e2d7;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  line-height: 1;
  grid-template-columns: 4rem 1fr 4rem;
  align-items: center;
  text-align: center;
}

.dots {
  display: inline-flex;
  gap: 0.35rem;
}

.dots i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #ff5f57;
}

.dots i:nth-child(2) { background: #febc2e; }
.dots i:nth-child(3) { background: #28c840; }

.monitor > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1.59;
  object-fit: cover;
}

.case-copy {
  margin-top: 5.4rem;
  padding-inline: 0.35rem;
}

.case-copy h3 {
  margin: 0.8rem 0 0.45rem;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
}

.case-copy > p:not(.case-type) {
  margin: 0 0 0.8rem;
  color: #cbc4bb;
}

.case-copy > a {
  display: inline-block;
  border-bottom: 1px solid var(--gold);
  text-decoration: none;
}

.faq-section {
  padding-bottom: clamp(7rem, 11vw, 11rem);
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(13rem, 0.65fr) minmax(0, 1.45fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: start;
}

.faq-heading {
  position: sticky;
  top: 3rem;
}

.faq-list {
  display: grid;
  gap: 1rem;
}

.faq-list details {
  overflow: clip;
  border: 1px solid var(--line);
  border-radius: 1.7rem;
  background: var(--card);
}

.faq-list summary {
  position: relative;
  padding: 1.35rem 4rem 1.35rem 1.75rem;
  cursor: pointer;
  font-size: 1rem;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.8rem;
  transform: translateY(-50%);
  color: var(--gold);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details[open] summary {
  padding-bottom: 0.55rem;
}

.faq-list details > p {
  margin: 0;
  padding: 0.45rem 4rem 1.55rem 1.75rem;
  color: var(--muted);
}

.contact-section {
  padding: 0 0 clamp(5rem, 8vw, 7rem);
}

.contact-panel {
  display: grid;
  padding: clamp(2rem, 4vw, 3.8rem);
  border: 1px solid rgba(162, 133, 81, 0.56);
  border-radius: 2.15rem;
  background: var(--card);
  grid-template-columns: minmax(0, 1.1fr) minmax(19rem, 0.75fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.contact-copy h2 {
  margin-bottom: 0.75rem;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 39rem;
}

.contact-button {
  margin-top: 1.35rem;
  border-radius: 0;
}

.contact-card {
  padding: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
}

.contact-card a {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: clamp(1rem, 1.55vw, 1.35rem);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: #050505;
}

.site-footer .container {
  display: flex;
  min-height: 7rem;
  color: #9c948b;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  align-items: center;
  justify-content: space-between;
}

@media (max-width: 1100px) {
  .problem-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-last-child(-n + 2) {
    grid-column: span 2;
  }

  .service-card:nth-child(5) {
    grid-column: 2 / span 2;
  }
}

@media (max-width: 820px) {
  .container,
  .wide-container {
    width: min(calc(100% - 2rem), var(--max));
  }

  .site-header {
    padding-top: 1.25rem;
  }

  .brand-mark {
    font-size: 0.82rem;
    letter-spacing: 0.22em;
  }

  .nav-toggle {
    display: block;
    cursor: pointer;
  }

  .site-nav {
    position: absolute;
    top: 5rem;
    right: 1rem;
    left: 1rem;
    display: grid;
    z-index: 10;
    padding: 1.2rem;
    border: 1px solid var(--line);
    border-radius: 1.2rem;
    background: rgba(9, 9, 9, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.8rem);
    transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
    grid-template-columns: repeat(2, 1fr);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .site-nav a {
    padding: 0.65rem;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 6.4vw, 2.35rem);
    letter-spacing: 0.15em;
    text-indent: 0.15em;
  }

  .about-copy h2 {
    font-size: clamp(1.45rem, 6.2vw, 2.15rem);
    letter-spacing: 0.03em;
  }

  .split-layout,
  .faq-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .about-copy {
    order: -1;
  }

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

  .faq-heading {
    position: static;
  }

  .contact-panel {
    padding: 2rem 1.35rem;
  }
}

@media (max-width: 620px) {
  .section {
    padding-block: 5.5rem;
  }

  .problem-grid,
  .service-grid,
  .process-grid,
  .case-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .service-card:nth-child(4),
  .service-card:nth-child(5),
  .service-card:nth-last-child(-n + 2) {
    grid-column: auto;
  }

  .problem-card,
  .process-card {
    min-height: auto;
  }

  .service-card > img {
    width: calc(100% - 2rem);
    height: auto;
    margin-top: 1rem;
  }

  .service-body {
    min-height: 17.25rem;
  }

  .section-heading.centered {
    margin-bottom: 2.7rem;
  }

  .case-grid {
    gap: 5.5rem;
  }

  .browser-bar {
    grid-template-columns: 3.25rem 1fr 3.25rem;
    font-size: 0.62rem;
  }

  .case-copy {
    margin-top: 4.7rem;
  }

  .faq-list summary {
    padding-left: 1.3rem;
  }

  .faq-list details > p {
    padding-right: 1.5rem;
    padding-left: 1.3rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .site-footer .container {
    padding-block: 1.8rem;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
