
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #fbfbfd;
  --bg-alt: #f5f5f7;
  --surface: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --ink-mute: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --tech: #0066cc;
  --tech-soft: #e6f0fb;
  --steel: #5d6470;
  --rust: oklch(0.62 0.14 50);
  --radius: 18px;
  --radius-lg: 22px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { background: var(--bg); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text",
               "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
               "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "palt" 1, "kern" 1;
  line-height: 1.5;
  letter-spacing: 0.01em;
}
.mono {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-feature-settings: "tnum" 1;
}

/* ─── NAV ─── */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251,251,253,0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand-logo { height: 40px; width: auto; display: block; }
footer .brand-logo { height: 46px; }
@media (max-width: 680px) { .brand-logo { height: 34px; } }
.brand-mark {
  width: 38px; height: 38px; border-radius: 50%;
  background: url('assets/logo.avif') center/contain no-repeat;
  flex-shrink: 0; position: relative;
}
.brand-mark::before { content: none; }
.brand-mark .m-mono {
  /* Hidden — kept for accessibility text fallback if image fails */
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.brand-text { font-size: 15px; font-weight: 500; color: var(--ink); letter-spacing: 0.04em; line-height: 1.2; }
.brand-text small { display: block; font-size: 9px; color: var(--ink-mute); font-weight: 400; letter-spacing: 0.18em; margin-top: 3px; }
.nav-links { display: flex; gap: 28px; align-items: center; margin-left: auto; }
.nav-links a {
  font-size: 13px; color: var(--ink-2); text-decoration: none;
  letter-spacing: 0.04em; transition: color .2s; position: relative; padding: 4px 0;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); font-weight: 500; }
.nav-cta {
  font-size: 12px; padding: 8px 16px;
  background: var(--ink); color: #fff;
  border-radius: 999px; text-decoration: none; transition: background .2s;
}
.nav-cta:hover { background: #000; }

/* ─── HAMBURGER ─── */
.nav-toggle {
  display: none; width: 40px; height: 40px;
  border: 1px solid var(--line); background: transparent;
  border-radius: 999px; cursor: pointer;
  align-items: center; justify-content: center;
  padding: 0; transition: background .2s ease;
}
.nav-toggle:hover { background: var(--bg-alt); }
.nav-toggle .bars { width: 16px; height: 10px; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 1.5px; background: var(--ink); border-radius: 1px;
  transition: transform .25s ease, top .25s ease;
}
.nav-toggle .bars::before { top: 0; }
.nav-toggle .bars::after { top: 8px; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 4px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 4px; transform: rotate(-45deg); }
.drawer {
  position: fixed; inset: 0;
  background: rgba(251,251,253,0.98);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  z-index: 99; opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
  display: flex; flex-direction: column;
  padding: 72px 24px 32px;
}
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-links { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.drawer-links a {
  font-size: 22px; font-weight: 500; color: var(--ink); text-decoration: none;
  letter-spacing: -0.01em; padding: 16px 4px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-links a::after { content: "→"; color: var(--ink-mute); font-size: 16px; }
.drawer-cta {
  margin-top: 16px; font-size: 15px; font-weight: 500;
  background: var(--ink); color: #fff;
  padding: 14px; border-radius: 999px;
  text-align: center; text-decoration: none;
}
body.drawer-open { overflow: hidden; }

/* ─── PAGE HERO (inner pages) ─── */
.page-hero {
  position: relative; padding: 80px 32px 64px;
  background: var(--bg); overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}
.page-hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,102,204,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,102,204,0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, #000 20%, transparent 70%);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; position: relative; }
.page-hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.18em; color: var(--tech);
  text-transform: uppercase; margin-bottom: 24px;
  padding: 6px 12px; background: var(--tech-soft); border-radius: 999px;
  opacity: 0; animation: rise .7s ease forwards .1s;
}
.page-hero .eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--tech); box-shadow: 0 0 0 4px rgba(0,102,204,0.18);
}
.page-hero-title {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1; letter-spacing: -0.03em; font-weight: 600; color: var(--ink);
  opacity: 0; animation: rise .8s ease forwards .2s;
}
.page-hero-sub {
  margin-top: 20px;
  font-size: clamp(16px, 1.5vw, 19px); color: var(--ink-2);
  line-height: 1.55; max-width: 560px; font-weight: 400;
  opacity: 0; animation: rise .8s ease forwards .35s;
}

/* ─── SECTIONS ─── */
section.s { padding: 96px 32px; }
.container { max-width: 1200px; margin: 0 auto; }
.section-head { margin-bottom: 56px; max-width: 760px; }
.kicker {
  font-size: 11px; letter-spacing: 0.18em;
  color: var(--tech); text-transform: uppercase; margin-bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px;
}
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--tech); }
.title {
  font-size: clamp(32px, 4vw, 52px); font-weight: 600; color: var(--ink);
  letter-spacing: -0.03em; line-height: 1.08;
}
.lede { margin-top: 18px; font-size: 17px; color: var(--ink-2); line-height: 1.6; }
.fade { opacity: 0; transform: translateY(20px); transition: opacity .8s ease, transform .8s ease; }
.fade.visible { opacity: 1; transform: translateY(0); }

/* ─── BUTTONS ─── */
.btn {
  font-family: inherit; font-size: 14px; font-weight: 500;
  padding: 12px 24px; border-radius: 999px;
  cursor: pointer; transition: all .2s ease;
  border: 1px solid transparent;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #000; transform: translateY(-1px); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); }
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ─── ABOUT GRID ─── */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: start; }
.about-body p { font-size: 15px; line-height: 1.95; color: var(--ink-2); margin-bottom: 18px; }
.about-body p:last-child { margin-bottom: 0; }
.about-body .pull {
  font-size: 22px; line-height: 1.55; color: var(--ink);
  letter-spacing: -0.01em; font-weight: 500; margin: 8px 0 28px;
}

/* ─── SERVICE CARDS ─── */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svc {
  background: var(--surface); border-radius: var(--radius-lg); padding: 40px;
  border: 1px solid var(--line-soft); position: relative;
  transition: transform .25s ease, box-shadow .25s ease; overflow: hidden;
}
.svc:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(0,0,0,0.06); }
.svc-num {
  font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute);
  margin-bottom: 28px; display: flex; align-items: center; gap: 10px;
}
.svc-num::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.svc-icon {
  width: 56px; height: 56px; border-radius: 14px;
  background: var(--tech-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 28px; color: var(--tech);
}
.svc-name { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 10px; }
.svc-name-en { font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 18px; }
.svc-body { font-size: 14px; line-height: 1.75; color: var(--ink-2); }

/* ─── TOPICS ─── */
.topics-head { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 24px; margin-bottom: 40px; }
.topics-head .right { font-size: 13px; color: var(--ink-mute); }
.topics-list { border-top: 1px solid var(--line-soft); }
.topic {
  display: grid; grid-template-columns: 120px 130px 1fr 24px;
  gap: 24px; align-items: center; padding: 22px 4px;
  border-bottom: 1px solid var(--line-soft);
  transition: background .2s ease; cursor: pointer; text-decoration: none; color: inherit;
}
.topic:hover { background: rgba(0,0,0,0.015); }
.topic-date { font-size: 13px; color: var(--ink-mute); letter-spacing: 0.04em; }
.topic-tag {
  font-size: 11px; padding: 5px 12px;
  background: var(--bg-alt); color: var(--ink-2);
  border-radius: 999px; letter-spacing: 0.04em;
  justify-self: start; border: 1px solid var(--line-soft);
}
.topic-text { font-size: 15px; color: var(--ink); line-height: 1.55; }
.topic-text small { display: block; font-size: 12px; color: var(--ink-mute); margin-bottom: 4px; letter-spacing: 0.02em; }
.topic-arrow { color: var(--ink-mute); font-size: 14px; justify-self: end; }

/* ─── CTA ─── */
.cta {
  background: var(--ink); color: #fff;
  padding: 96px 32px; position: relative; overflow: hidden;
}
.cta-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, #000 20%, transparent 70%);
}
.cta-inner { max-width: 900px; margin: 0 auto; text-align: center; position: relative; }
.cta-title { font-size: clamp(32px, 5vw, 60px); font-weight: 600; letter-spacing: -0.04em; line-height: 1.05; }
.cta-sub { margin-top: 18px; font-size: 17px; color: rgba(255,255,255,0.65); line-height: 1.5; }
.cta-actions { margin-top: 36px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #f0f0f0; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.3); }
.btn-outline:hover { border-color: #fff; }

/* ─── FOOTER ─── */
footer { background: var(--bg); padding: 56px 32px 32px; border-top: 1px solid var(--line-soft); }
.foot { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.foot-top {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 24px;
  padding-bottom: 24px; border-bottom: 1px solid var(--line-soft);
}
.foot-cols { display: flex; gap: 40px; flex-wrap: wrap; }
.foot-col h5 { font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); text-transform: uppercase; margin-bottom: 12px; font-weight: 500; }
.foot-col a { display: block; font-size: 12px; color: var(--ink-2); text-decoration: none; margin-bottom: 8px; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; color: var(--ink-mute); letter-spacing: 0.04em; }

/* ─── ANIMATIONS ─── */
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; margin-left: auto; }
  .nav-inner { padding: 12px 20px; }
  section.s { padding: 60px 20px; }
  .page-hero { padding: 56px 20px 44px; }
  .page-hero-title { font-size: clamp(30px, 7vw, 44px); }
  .title { font-size: clamp(26px, 6vw, 36px); }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .svc-grid { grid-template-columns: 1fr; }
  .cta { padding: 64px 20px; }
  .foot-top { flex-direction: column; gap: 24px; }
  footer { padding: 40px 20px 28px; }
}
@media (max-width: 480px) {
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
}

/* ─── INFO TABLE (会社情報) ─── */
.info-section { background: var(--surface); }
.info-card {
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden;
}
.info-row {
  display: grid; grid-template-columns: 200px 1fr;
  gap: 0; border-bottom: 1px solid var(--line-soft);
}
.info-row:last-child { border-bottom: none; }
.info-key {
  padding: 22px 28px; font-size: 12px; font-weight: 500;
  letter-spacing: 0.06em; color: var(--ink-mute);
  background: var(--surface); border-right: 1px solid var(--line-soft);
  text-transform: uppercase;
}
.info-val {
  padding: 22px 28px; font-size: 15px; color: var(--ink); line-height: 1.7;
}
.info-val ul { list-style: none; display: flex; flex-direction: column; gap: 4px; }
.info-val ul li::before { content: "·"; margin-right: 8px; color: var(--tech); }
@media (max-width: 640px) {
  .info-row { grid-template-columns: 1fr; }
  .info-key { border-right: none; border-bottom: 1px solid var(--line-soft); padding: 14px 20px; }
  .info-val { padding: 16px 20px; }
}

/* ─── SERVICE DETAIL CARDS ─── */
.svc-detail {
  background: var(--surface); border-radius: var(--radius-lg); padding: 40px;
  border: 1px solid var(--line-soft);
}
.svc-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.svc-detail-header {
  display: flex; align-items: flex-start; gap: 20px; margin-bottom: 28px;
  padding-bottom: 28px; border-bottom: 1px solid var(--line-soft);
}
.svc-detail-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--tech-soft); display: flex; align-items: center; justify-content: center;
  color: var(--tech); flex-shrink: 0;
}
.svc-detail-title { font-size: 24px; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 6px; }
.svc-detail-en { font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); text-transform: uppercase; }
.svc-detail-desc { font-size: 15px; line-height: 1.8; color: var(--ink-2); margin-bottom: 24px; }
.svc-detail-list { display: grid; gap: 10px; }
.svc-detail-item {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 14px 16px;
  background: var(--bg-alt); border-radius: 10px;
  font-size: 14px; color: var(--ink);
}
.svc-detail-item::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--tech); flex-shrink: 0; margin-top: 5px;
}
.svc-notice {
  margin-top: 16px; padding: 14px 16px;
  background: rgba(0,102,204,0.05); border-radius: 10px;
  font-size: 12px; color: var(--steel); line-height: 1.65;
}
@media (max-width: 920px) {
  .svc-detail-grid { grid-template-columns: 1fr; }
  .svc-detail { padding: 28px 24px; }
}

/* ─── PRICING TABLE ─── */
.pricing-section { background: var(--surface); }
.pricing-grid { display: grid; gap: 32px; }
.pricing-card {
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden;
}
.pricing-card-head {
  padding: 28px 32px 24px;
  border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: 16px;
}
.pricing-card-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--tech-soft); display: flex; align-items: center; justify-content: center;
  color: var(--tech);
}
.pricing-card-title { font-size: 20px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); }
.pricing-card-sub { font-size: 12px; color: var(--ink-mute); margin-top: 2px; letter-spacing: 0.04em; }
.pricing-table { width: 100%; border-collapse: collapse; }
.pricing-table th {
  padding: 14px 28px; text-align: left;
  font-size: 11px; letter-spacing: 0.12em; font-weight: 500;
  color: var(--ink-mute); text-transform: uppercase;
  background: var(--surface); border-bottom: 1px solid var(--line-soft);
}
.pricing-table td {
  padding: 16px 28px; font-size: 14px; color: var(--ink);
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}
.pricing-table tr:last-child td { border-bottom: none; }
.pricing-table tr:hover td { background: rgba(0,0,0,0.012); }
.pricing-table td.price {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 16px; font-weight: 500; color: var(--ink);
  white-space: nowrap;
}
.pricing-note {
  padding: 16px 32px 24px;
  font-size: 12px; color: var(--ink-mute); line-height: 1.7;
  border-top: 1px solid var(--line-soft);
}
@media (max-width: 640px) {
  .pricing-table th, .pricing-table td { padding: 12px 16px; }
  .pricing-card-head { padding: 20px 16px; }
  .pricing-note { padding: 14px 16px; }
}

/* ─── RESULTS / TIMELINE ─── */
.results-section { background: var(--bg-alt); }
.results-year-group { margin-bottom: 48px; }
.results-year-group:last-child { margin-bottom: 0; }
.results-year {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 20px;
}
.results-year .year-label {
  font-family: "JetBrains Mono", ui-monospace, monospace;
  font-size: 13px; font-weight: 500; letter-spacing: 0.1em;
  color: var(--tech); white-space: nowrap;
}
.results-year::after { content: ""; flex: 1; height: 1px; background: var(--line-soft); }
.results-list { display: grid; gap: 10px; }
.result-item {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 18px 22px;
  display: grid; grid-template-columns: 1fr auto;
  gap: 16px; align-items: center;
  transition: border-color .2s, box-shadow .2s;
}
.result-item:hover { border-color: var(--line); box-shadow: 0 4px 16px rgba(0,0,0,0.04); }
.result-client { font-size: 13px; color: var(--ink-mute); margin-bottom: 4px; letter-spacing: 0.02em; }
.result-name { font-size: 15px; color: var(--ink); line-height: 1.5; }
.result-tag {
  font-size: 11px; padding: 4px 10px;
  background: var(--bg-alt); color: var(--ink-2);
  border-radius: 999px; border: 1px solid var(--line-soft);
  white-space: nowrap; letter-spacing: 0.04em;
}
@media (max-width: 640px) {
  .result-item { grid-template-columns: 1fr; gap: 8px; }
}

/* ─── CONTACT FORM ─── */
.contact-section { background: var(--surface); }
.contact-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: start; }
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label {
  font-size: 12px; font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink-2); text-transform: uppercase;
}
.form-group label .req { color: var(--tech); margin-left: 4px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 13px 16px;
  font-family: inherit; font-size: 15px; color: var(--ink);
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-radius: 12px; outline: none;
  transition: border-color .2s, box-shadow .2s;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--tech); box-shadow: 0 0 0 3px rgba(0,102,204,0.1);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit {
  width: 100%; padding: 15px;
  background: var(--ink); color: #fff;
  border: none; border-radius: 999px;
  font-family: inherit; font-size: 15px; font-weight: 500;
  cursor: pointer; transition: background .2s;
  letter-spacing: 0.02em;
}
.form-submit:hover { background: #000; }
.contact-info-card {
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 36px;
}
.contact-info-item {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 0; border-bottom: 1px solid var(--line-soft);
}
.contact-info-item:last-child { border-bottom: none; padding-bottom: 0; }
.contact-info-label { font-size: 11px; letter-spacing: 0.14em; color: var(--ink-mute); text-transform: uppercase; }
.contact-info-value { font-size: 16px; color: var(--ink); line-height: 1.5; }
.contact-info-value a { color: var(--tech); text-decoration: none; }
.contact-info-value a:hover { text-decoration: underline; }
@media (max-width: 920px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
}

/* ─── SOCIAL ─── */
.social-section { background: var(--surface); }
.social-event-card {
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 32px;
}
.social-event-head {
  padding: 28px 32px; border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
}
.social-event-head-row {
  display: flex; gap: 28px; align-items: flex-start;
}
.social-event-logo {
  flex: 0 0 130px; height: 130px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 16px;
  padding: 10px;
  box-shadow:
    0 1px 2px rgba(0,0,0,0.04),
    0 8px 20px -6px rgba(0,0,0,0.12),
    0 18px 40px -12px rgba(0,0,0,0.10);
}
.social-event-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.social-event-head h3 { font-size: 22px; font-weight: 500; letter-spacing: -0.015em; color: var(--ink); margin-bottom: 8px; }
.social-event-meta {
  display: flex; gap: 24px; flex-wrap: wrap;
  font-size: 13px; color: var(--ink-mute);
}
.social-event-meta span { display: flex; align-items: center; gap: 6px; }
.social-event-body { padding: 28px 32px; }
.social-results-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; }
.social-result-card {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: 12px; padding: 20px;
}
.social-result-cat { font-size: 11px; letter-spacing: 0.12em; color: var(--tech); text-transform: uppercase; margin-bottom: 14px; }
.social-result-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 0; border-bottom: 1px solid var(--line-soft); font-size: 14px;
}
.social-result-item:last-child { border-bottom: none; padding-bottom: 0; }
.social-result-rank { font-family: "JetBrains Mono", monospace; font-size: 12px; color: var(--ink-mute); width: 24px; flex-shrink: 0; }
.partner-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.partner-card {
  background: var(--bg-alt); border: 1px solid var(--line-soft);
  border-radius: 14px; padding: 28px;
  overflow: hidden;
  text-decoration: none; color: inherit;
  transition: border-color .2s, box-shadow .2s;
}
.partner-card:hover { border-color: var(--ink); box-shadow: 0 6px 24px rgba(0,0,0,0.06); }
.partner-logo {
  margin: -28px -28px 22px;
  height: 150px;
  background: #fff; border-bottom: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.partner-logo img { max-width: 78%; max-height: 80%; object-fit: contain; }
.partner-logo--bleed img { width: 100%; height: 100%; max-width: none; max-height: none; object-fit: cover; }
.partner-role { font-size: 11px; letter-spacing: 0.14em; color: var(--tech); text-transform: uppercase; margin-bottom: 8px; }
.partner-name { font-size: 18px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.partner-desc { font-size: 13px; color: var(--ink-mute); }
@media (max-width: 640px) {
  .social-results-grid { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; }
  .social-event-head, .social-event-body { padding: 20px; }
  .social-event-head-row { flex-direction: column; gap: 18px; }
  .social-event-logo { flex: 0 0 auto; width: 110px; height: 110px; }
  .partner-logo { margin: -20px -20px 18px; height: 130px; }
}
