:root {
  color-scheme: light;
  --bg: #fffaf2;
  --bg-soft: #f7efe3;
  --card: rgba(255, 255, 255, 0.76);
  --card-strong: #ffffff;
  --text: #25211c;
  --muted: #6f665e;
  --line: rgba(70, 53, 34, 0.13);
  --accent: #dd8d56;
  --accent-strong: #c96f36;
  --green: #9bbf9d;
  --blue: #8aa5c8;
  --shadow: 0 24px 70px rgba(83, 58, 37, 0.13);
  --radius: 28px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  font-family: "Inter", "Noto Sans SC", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(221, 141, 86, 0.24), transparent 34rem),
    radial-gradient(circle at 85% 15%, rgba(138, 165, 200, 0.2), transparent 28rem),
    linear-gradient(180deg, #fffaf2 0%, #fffdf9 45%, #f8efe3 100%);
}

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

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

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 16px 0 54px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 50px rgba(72, 51, 31, 0.08);
  backdrop-filter: blur(22px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-right: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #efc178);
  box-shadow: 0 10px 28px rgba(201, 111, 54, 0.26);
}

.brand strong,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a,
.language-toggle {
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--muted);
  font: inherit;
  font-size: 14px;
  background: transparent;
}

.nav-links a {
  padding: 10px 12px;
}

.nav-links a:hover,
.language-toggle:hover {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 250, 242, 0.8);
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  cursor: pointer;
}

.toggle-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
}

.section {
  margin: 72px 0;
}

.section-grid,
.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 36px;
  align-items: center;
}

.hero {
  min-height: 560px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 20px;
  font-size: clamp(44px, 6.7vw, 78px);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  letter-spacing: -0.02em;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.hero-text {
  max-width: 680px;
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0 22px;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: var(--text);
  box-shadow: 0 18px 36px rgba(37, 33, 28, 0.18);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
}

.profile-card {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  padding: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
}

.profile-orbit {
  position: absolute;
  inset: auto -56px -92px auto;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(221, 141, 86, 0.32), rgba(155, 191, 157, 0.32));
  filter: blur(3px);
}

.avatar {
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  margin-bottom: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.64);
  border-radius: 36px;
  color: #fff;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.08em;
  background: linear-gradient(135deg, #1f1d1a, #dd8d56);
  box-shadow: 0 26px 60px rgba(37, 33, 28, 0.24);
  transform: rotate(-4deg);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 34%;
}

.profile-card h2 {
  font-size: 34px;
}

.profile-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.profile-pills span {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.56);
}

.section-copy {
  padding: 28px;
  border-left: 1px solid var(--line);
}

.section-heading {
  max-width: 700px;
  margin-bottom: 28px;
}

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

.feature-card {
  min-height: 250px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  box-shadow: 0 18px 50px rgba(83, 58, 37, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.feature-card:hover {
  background: var(--card-strong);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 34px;
  color: var(--accent-strong);
  font-weight: 800;
}

.timeline {
  display: grid;
  gap: 18px;
}

.career-section .section-heading {
  max-width: 820px;
}

.privacy-note {
  max-width: 760px;
  padding: 16px 18px;
  border: 1px solid rgba(201, 111, 54, 0.18);
  border-radius: 18px;
  color: #7b5b43;
  background: rgba(221, 141, 86, 0.09);
}

.career-timeline {
  grid-template-columns: 1fr;
}

.timeline-item {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.58);
}

.timeline-item > span {
  width: 14px;
  height: 14px;
  margin-top: 7px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px var(--line), 0 10px 20px rgba(155, 191, 157, 0.28);
}

.role-meta {
  margin-bottom: 10px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.achievement-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.75;
}

.achievement-list li::marker {
  color: var(--accent);
}

.future-item {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.68), rgba(155, 191, 157, 0.1));
}

.interests-section .section-heading {
  max-width: 820px;
}

.work-emphasis {
  display: inline-block;
  margin: 0 0.08em;
  padding: 0 0.18em;
  border-radius: 0.28em;
  color: #fff;
  background: linear-gradient(135deg, var(--text), var(--accent-strong));
  transform: rotate(-1deg);
}

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

.interest-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(83, 58, 37, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.interest-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.featured-interest {
  grid-column: span 2;
}

.agent-banner {
  grid-column: 1 / -1;
  min-height: auto;
  overflow: hidden;
  padding: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 242, 0.9)),
    radial-gradient(circle at top left, rgba(221, 141, 86, 0.2), transparent 28rem);
}

.agent-banner-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.agent-banner-head .interest-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.agent-banner-head h3 {
  margin-bottom: 6px;
}

.agent-marquee {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  scrollbar-width: thin;
}

.agent-track {
  display: flex;
  width: max-content;
  gap: 10px;
  margin: 0;
  padding: 10px;
  list-style: none;
  animation: agent-scroll 34s linear infinite;
}

.agent-marquee:hover .agent-track,
.agent-marquee:focus-within .agent-track {
  animation-play-state: paused;
}

.agent-track li {
  flex: 0 0 auto;
  max-width: min(78vw, 560px);
  border: 1px solid rgba(70, 53, 34, 0.1);
  border-radius: 999px;
  padding: 11px 16px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 10px 28px rgba(83, 58, 37, 0.07);
  white-space: nowrap;
}

@keyframes agent-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 15px));
  }
}

.interest-icon {
  display: inline-flex;
  margin-bottom: 22px;
  font-size: 30px;
}

.interest-card h3 {
  margin-bottom: 12px;
}

.interest-card p {
  margin-bottom: 0;
}

.mini-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.mini-list li::marker {
  color: var(--accent);
}

.cats-section .section-heading {
  max-width: 760px;
}

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

.cat-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 50px rgba(83, 58, 37, 0.08);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cat-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.cat-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.cat-copy {
  padding: 20px;
}

.cat-rank {
  margin-bottom: 8px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cat-copy h3 {
  margin-bottom: 8px;
  font-size: 26px;
}

.cat-copy p:last-child {
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.75;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 36px;
  align-items: start;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow);
}

.contact-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 20px;
  align-items: center;
}

.qr-card {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  text-align: center;
  box-shadow: 0 14px 36px rgba(83, 58, 37, 0.08);
}

.qr-card img {
  display: block;
  width: 100%;
  border-radius: 16px;
}

.qr-card figcaption {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contact-lines {
  display: grid;
  gap: 12px;
}

.contact-lines a,
.contact-lines div {
  display: grid;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.contact-lines strong {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-lines span {
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 36px 0 48px;
  color: var(--muted);
  font-size: 14px;
}

[data-animate] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .site-header {
    align-items: flex-start;
    border-radius: 28px;
  }

  .nav-links {
    display: none;
  }

  .section-grid,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

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

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

  .featured-interest {
    grid-column: span 2;
  }

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

  .section-copy {
    padding: 0;
    border-left: 0;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(calc(100% - 22px), var(--max-width));
  }

  .site-header {
    top: 10px;
    margin-bottom: 34px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 17px;
  }

  .profile-card,
  .contact-section {
    padding: 24px;
  }

  .card-grid,
  .cat-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

  .featured-interest {
    grid-column: auto;
  }

  .feature-card {
    min-height: auto;
  }

  .site-footer {
    flex-direction: column;
  }
}
