@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-700.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --purple: #7561df;
  --purple-soft: #f3efff;
  --purple-line: #e7def8;
  --ink: #16141d;
  --muted: #706d75;
  --blue: #0798cf;
  --page: 780px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 64px;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.25;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
}

.nav {
  display: flex;
  width: min(calc(100% - 32px), 900px);
  height: 56px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  font-size: 14px;
}

.identity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5d5a63;
}

.identity span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #a780ff, var(--purple));
  font-size: 11px;
  font-weight: 700;
}

.identity strong {
  font-size: 18px;
  font-weight: 600;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 2px;
  background: #f5f4f7;
  border-radius: 999px;
  padding: 4px;
}

.nav-pill a {
  display: inline-flex;
  align-items: center;
  height: 32px;
  padding: 0 16px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  position: relative;
}

.nav-pill a:hover {
  color: var(--ink);
}

.nav-active {
  background: #fff;
  color: var(--ink) !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.nav-active::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--purple);
}

.hero {
  width: min(calc(100% - 28px), 900px);
  margin: 16px auto 34px;
  text-align: center;
}

.hero-orb {
  display: block;
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  border-radius: 50%;
  object-fit: cover;
}

.hero h1 {
  margin: 0 auto 14px;
  color: var(--purple);
  font-size: clamp(30px, 3.4vw, 37px);
  line-height: 1.3;
  letter-spacing: -0.06em;
}

.hero-h1-sub {
  display: block;
  margin-top: 8px;
  font-size: 0.62em;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.gradient-text {
  background: linear-gradient(135deg, #7561df, #0798cf);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-name {
  color: var(--ink);
}

.hero p {
  max-width: 720px;
  margin: 0 auto 24px;
  color: #111019;
  font-size: clamp(23px, 2.7vw, 30px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.06em;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 26px;
  font-size: 13px;
  font-weight: 700;
}

.button.dark {
  color: #fff;
  background: #050505;
}

.button.pale {
  color: #fff;
  background: linear-gradient(135deg, #7561df, #0798cf);
}

.logo-row {
  display: flex;
  width: min(calc(100% - 32px), var(--page));
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  gap: 38px;
}

.logo-row img {
  width: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.42;
}

.logo-label {
  width: min(calc(100% - 32px), var(--page));
  margin: 0 auto 10px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
}

.brand-logos-card {
  width: min(calc(100% - 32px), var(--page));
  margin: 0 auto 36px;
  border: 1.5px solid var(--purple-line);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.brand-logos-card .logo-label {
  width: auto;
}

.brand-logos-card .logo-row {
  width: auto;
}

.main-logos img {
  height: 28px;
  width: auto;
}

.agency-logos {
  margin: 22px auto 42px;
  gap: 24px;
}

.agency-logos img {
  max-width: 92px;
  max-height: 24px;
}

.about-card {
  width: min(calc(100% - 32px), var(--page));
  margin: 0 auto 44px;
  border-radius: 16px;
  padding: 34px 42px;
  background: #eee9fb;
}

.about-card h2,
.section-title h2,
.contact h2 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(27px, 3.3vw, 35px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.about-card p {
  margin: 6px 0 0;
  color: #4d4955;
  font-size: 14px;
  line-height: 1.26;
  letter-spacing: -0.03em;
}

.about-card h3 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1;
  letter-spacing: -0.06em;
}

.about-banner {
  display: block;
  width: 100%;
  margin-top: 22px;
  border-radius: 14px;
}

.about-intro {
  display: flex;
  align-items: center;
  gap: 32px;
  width: min(calc(100% - 32px), var(--page));
  margin: 10px auto 26px;
}

.about-portrait {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.about-intro h2 {
  margin: 0 0 12px;
  color: var(--purple);
  font-size: clamp(26px, 3.3vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.06em;
}

.about-intro p {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.about-intro p:last-child {
  margin-bottom: 0;
}

.image-section,
.work,
.selected-content,
.contact {
  width: min(calc(100% - 32px), var(--page));
  margin: 0 auto;
}

.image-section img {
  width: 100%;
  border-radius: 18px;
}

.section-title {
  margin-bottom: 18px;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  letter-spacing: -0.04em;
}

.campaign-stack {
  display: grid;
  justify-items: center;
  margin-bottom: 40px;
}

.campaign-card {
  display: grid;
  justify-items: center;
}

.campaign-card + .campaign-card {
  margin-top: -24px;
}

.campaign-card img {
  width: min(100%, 640px);
  border: 1px solid var(--purple-line);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.campaign-card .selected-content {
  margin-bottom: 32px;
  margin-top: 8px;
  width: 100%;
}

.selected-content {
  margin-bottom: 28px;
  text-align: center;
}

.selected-content.second {
  margin-top: 22px;
}

.selected-content h3 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  letter-spacing: -0.04em;
}

.content-links {
  display: flex;
  min-height: 32px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  border: 1px solid var(--purple-line);
  border-radius: 10px;
  background: var(--purple-soft);
  padding: 8px 14px;
}

.content-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--purple-line);
  color: var(--blue);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: -0.03em;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.content-links a:hover {
  color: var(--purple);
  background: var(--purple-soft);
  border-color: var(--purple);
}

.content-links a::before {
  content: "◇";
  display: inline-block;
  font-size: 10px;
  line-height: 1;
  flex-shrink: 0;
}

.content-links a[href*="youtube"]::before {
  content: "▶";
  font-size: 8px;
}

.content-links a[href*="tiktok"]::before {
  content: "◆";
  font-size: 8px;
}

.content-board {
  width: min(calc(100% - 32px), 660px);
  margin-bottom: 16px;
}

.side-project {
  width: min(calc(100% - 32px), var(--page));
  margin: 20px auto 40px;
}

.side-project-card {
  border: 1.5px solid var(--purple-line);
  border-radius: 16px;
  padding: 28px 32px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
}

.side-project h3 {
  margin: 0 0 4px;
  color: var(--purple);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.side-project p {
  margin: 0 auto 14px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: -0.03em;
}

.side-project-grid {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 10px;
}

.side-project-grid img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 8px;
}

.side-project-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: -0.03em;
}

.side-project-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.contact {
  margin-bottom: 40px;
  text-align: center;
}

.contact h2 {
  margin: 0 0 22px;
  color: var(--purple);
  font-size: clamp(27px, 3.3vw, 35px);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.contact p {
  margin: 0 auto 20px;
  color: #8d8a91;
  font-size: 20px;
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.contact-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  margin-bottom: 10px;
  color: #078fbe;
  font-size: 20px;
  letter-spacing: -0.04em;
}

.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-links img {
  width: 26px;
  height: 26px;
  border-radius: 3px;
}

.contact h3 {
  margin: 0 0 14px;
  color: var(--purple);
  font-size: 20px;
  letter-spacing: -0.05em;
}

.contact-form {
  width: min(100%, 680px);
  margin: 0 auto;
  text-align: left;
}

.contact-form label {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
  color: #77737d;
  font-size: 9px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-radius: 5px;
  padding: 10px 12px;
  color: #222;
  background: #f3f3f3;
  font: inherit;
  font-size: 10px;
  outline: none;
}

.contact-form input {
  height: 28px;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  width: 100%;
  height: 29px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--purple);
  font: inherit;
  font-size: 9px;
}

@media (max-width: 720px) {
  .nav {
    height: auto;
    align-items: flex-start;
    padding: 8px 0;
  }

  .nav-pill {
    flex-wrap: wrap;
    gap: 2px;
    font-size: 11px;
  }

  .identity strong {
    display: none;
  }

  .hero p br,
  .contact p br {
    display: none;
  }

  .logo-row {
    flex-wrap: wrap;
    gap: 18px 28px;
  }

  .about-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .about-portrait {
    width: 100px;
    height: 100px;
  }

  .about-card {
    padding: 28px;
    text-align: center;
  }

  .campaign-card + .campaign-card {
    margin-top: -10px;
  }

  .content-links {
    padding: 8px;
    gap: 6px 10px;
  }

  .side-project-grid {
    flex-wrap: wrap;
  }

  .side-project-grid img {
    width: 90px;
    height: 90px;
  }

  .contact-links {
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .hero p {
    font-size: 21px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .button {
    min-width: 150px;
  }

  .side-project-grid img {
    width: 75px;
    height: 75px;
  }
}

/* ── Blog ── */

.blog-section {
  width: min(calc(100% - 32px), var(--page));
  margin: 0 auto 44px;
}

.blog-section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 18px;
}

.blog-section-header h2,
.blog-page-header h1 {
  margin: 0;
  color: var(--purple);
  font-size: clamp(22px, 2.8vw, 30px);
  letter-spacing: -0.06em;
}

.blog-section-header .view-all {
  color: #079bd0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.blog-card a {
  display: block;
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}

.blog-card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 10px;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card-body time {
  color: var(--muted);
  font-size: 11px;
}

.blog-card-body h3 {
  margin: 4px 0;
  font-size: 18px;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.blog-card-body p {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
  letter-spacing: -0.03em;
}

.blog-card-link {
  color: #079bd0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* Blog listing page */

.blog-page {
  width: min(calc(100% - 32px), var(--page));
  margin: 30px auto 50px;
}

.blog-page-header {
  margin-bottom: 24px;
}

.blog-page-header p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: -0.04em;
}

/* Individual blog post */

.blog-post {
  width: min(calc(100% - 32px), var(--page));
  margin: 30px auto 50px;
}

.blog-post-header {
  margin-bottom: 22px;
}

.blog-post-header time {
  color: var(--muted);
  font-size: 12px;
}

.blog-post-header h1 {
  margin: 4px 0 0;
  color: var(--purple);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.blog-post-hero {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 26px;
}

.blog-post-body {
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.02em;
  color: #2d2a35;
}

.blog-post-body h2 {
  margin: 28px 0 6px;
  color: var(--purple);
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

.blog-post-body p {
  margin: 0 0 12px;
}

.blog-post-body strong {
  font-weight: 700;
}

.blog-post-body em {
  font-style: italic;
}

.blog-back {
  display: inline-block;
  margin-top: 28px;
  color: #079bd0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

/* Blog responsive */

@media (max-width: 720px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-section-header {
    flex-direction: column;
    gap: 6px;
  }
}

/* ── Back to Top ── */

.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  z-index: 20;
}

.back-to-top.visible {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

/* ── How I Think ── */

.how-i-think {
  width: min(calc(100% - 32px), var(--page));
  margin: 20px auto 30px;
  padding: 40px 36px 44px;
  text-align: center;
  border: 1.5px solid var(--purple-line);
  border-radius: 16px;
  background: var(--purple-soft);
}

.how-i-think h2 {
  margin: 0 0 16px;
  color: var(--purple);
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.how-i-think .manifesto {
  max-width: 580px;
  margin: 0 auto 28px;
  color: var(--ink);
  font-size: clamp(14px, 1.7vw, 16px);
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.how-i-think-board {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  border-radius: 12px;
}

.how-i-think .caption {
  margin: 10px auto 0;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: -0.03em;
}

.how-i-think-expand {
  margin: 28px auto 0;
  max-width: 560px;
  text-align: left;
  font-size: 14px;
}

.how-i-think-expand summary {
  cursor: pointer;
  text-align: center;
  color: var(--purple);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.how-i-think-expand p {
  margin: 0 0 12px;
  line-height: 1.55;
  font-size: 14px;
  letter-spacing: -0.02em;
}

.how-i-think-expand p:last-child {
  margin-bottom: 0;
}

.how-i-think-expand strong {
  color: var(--purple);
}

/* ── Footer ── */

.site-footer {
  margin-top: 60px;
  padding: 48px 0 40px;
  background: #faf8ff;
  border-top: 1px solid var(--purple-line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  width: min(calc(100% - 48px), var(--page));
  margin: 0 auto;
}

.footer-left {
  max-width: 340px;
}

.footer-name {
  margin: 0 0 6px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.footer-copy {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -0.02em;
}

.footer-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
  letter-spacing: -0.03em;
}

.footer-right {
  display: flex;
  gap: 56px;
}

.footer-heading {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-col a {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: -0.03em;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.footer-col a:hover {
  border-bottom-color: var(--purple);
}

@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    gap: 32px;
  }

  .footer-right {
    gap: 36px;
  }

  .nav {
    height: auto;
    padding: 8px 0;
  }

  .nav-pill {
    padding: 3px;
    gap: 0;
  }

  .nav-pill a {
    height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }
}
