:root {
  --bg-primary: #0a0a0f;
  --bg-elevated: #111118;
  --bg-footer: #0d0d14;
  --text-primary: #e8e6df;
  --text-muted: #787680;
  --border-subtle: #1e1e28;
  --border-glow: #2a2a3a;
  --accent: #3b5fbf;
  --accent-glow: rgba(59, 95, 191, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text-primary);
  background: var(--bg-primary);
  font-family: "Helvetica Neue", "PingFang TC", "Noto Sans TC", sans-serif;
  letter-spacing: 0;
}
body.drawer-open { overflow: hidden; }
button, input, select { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3 {
  font-family: "Helvetica Neue", "PingFang TC", "Noto Sans TC", sans-serif;
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(18px, 5vw, 56px);
  background: rgba(10, 10, 15, 0.94);
  border-bottom: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  animation: headerSlide 600ms ease both;
}
@keyframes headerSlide {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
.brand-lockup {
  text-decoration: none;
  flex-shrink: 0;
}
.brand-lockup strong {
  color: var(--text-primary);
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.desktop-nav a {
  color: var(--text-muted);
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 200ms, border-color 200ms;
}
.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
}
.bag-link {
  border: 0;
  padding: 0 0 4px;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
}
.bag-link:hover { color: var(--accent); }
.bag-link span { margin-left: 5px; color: var(--text-primary); }
.hamburger {
  display: none;
  border: 0;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 180;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  background: var(--bg-primary);
}
.mobile-menu.open { display: flex; }
.mobile-menu nav { display: grid; gap: 28px; justify-items: center; }
.mobile-menu a {
  color: var(--text-primary);
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-menu-close {
  position: absolute;
  top: 24px;
  right: 24px;
  border: 0;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.mobile-bag-link {
  border: 0;
  border-bottom: 2px solid var(--accent);
  padding: 0 0 6px;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.mobile-bag-link span {
  margin-left: 6px;
  color: var(--accent);
}

/* === HERO REAL RUNWAY VIDEO === */
.hero-section {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 0 clamp(18px, 5vw, 72px);
  color: #fff;
  background: #000;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.74;
  filter: contrast(1.08) brightness(0.72) saturate(0.92);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse at 50% 48%, rgba(59,95,191,0.10), transparent 34%),
    linear-gradient(to bottom, rgba(0,0,0,0.28), rgba(0,0,0,0.68));
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  text-shadow: 0 0 28px rgba(0,0,0,0.62);
}

.hero-editorial {
  display: grid;
  gap: clamp(26px, 4vw, 42px);
  text-align: left;
}

.hero-meta-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--accent);
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.runway-title {
  display: grid;
  margin: 0;
  text-transform: uppercase;
}

.title-line {
  display: block;
  font-size: clamp(64px, 13vw, 164px);
  font-weight: 700;
  line-height: 0.78;
  letter-spacing: -0.06em;
}

.title-line-right {
  justify-self: end;
  color: transparent;
  -webkit-text-stroke: 1px rgba(232, 230, 223, 0.78);
  text-shadow: none;
}

.title-subline {
  display: block;
  margin-top: clamp(18px, 3vw, 34px);
  border-top: 1px solid rgba(232, 230, 223, 0.22);
  padding-top: 18px;
  color: rgba(232, 230, 223, 0.88);
  font-size: clamp(20px, 3vw, 38px);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-align: right;
}

.hero-action-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
}

.hero-action-row span {
  max-width: 280px;
  color: rgba(232, 230, 223, 0.68);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  text-align: right;
  text-transform: uppercase;
}

.text-cta {
  display: inline-flex;
  padding-bottom: 4px;
  border-bottom: 2px solid var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 300ms, border-color 300ms, text-shadow 300ms;
}

.text-cta:hover {
  color: var(--accent);
  border-bottom-color: #fff;
  text-shadow: 0 0 18px var(--accent-glow);
}

.section-shell { padding: 160px clamp(18px, 6vw, 80px); }
.section-heading { margin-bottom: 56px; }
.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.section-heading h2 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(52px, 7vw, 88px);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.section-heading p:not(.eyebrow) {
  max-width: 680px;
  margin: 24px 0 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
}

.heading-row {
  position: relative;
  display: flex;
  align-items: flex-end;
  gap: 0;
}
.heading-num {
  font-family: "Helvetica Neue", sans-serif;
  font-size: clamp(80px, 12vw, 160px);
  font-weight: 900;
  line-height: 0.7;
  color: var(--accent);
  opacity: 0.06;
  position: absolute;
  left: -10px;
  bottom: -12px;
  pointer-events: none;
  z-index: 0;
}
.heading-row h2 {
  position: relative;
  z-index: 1;
}
.page-enter {
  animation: pageIn 700ms ease-out both;
}
@keyframes pageIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.sk-item {
  display: grid;
  gap: 14px;
}
.sk-img {
  aspect-ratio: 3 / 4;
  background: var(--border-subtle);
  animation: skPulse 1.4s ease-in-out infinite;
}
.sk-line {
  height: 13px;
  background: var(--border-subtle);
  animation: skPulse 1.4s ease-in-out infinite;
  animation-delay: 0.15s;
}
.sk-line.short {
  width: 55%;
}
@keyframes skPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.9; }
}
.product-grid:not(:empty) {
  /* JS render 後正常 */
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 64px;
  padding-top: 0;
  background: var(--border-subtle);
}
.brand-card {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--bg-elevated);
  cursor: pointer;
  text-align: left;
}
.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 400ms ease, transform 500ms ease;
}
.brand-card:hover img { filter: brightness(1.05); transform: scale(1.03); }
.brand-card .brand-label {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px 20px;
  background: linear-gradient(to top, rgba(10,10,15,0.92) 0%, transparent 100%);
}
.brand-card .brand-label strong,
.brand-card strong {
  display: block;
  color: #e8e6df;
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand-card .brand-label span,
.brand-card span {
  display: block;
  margin-top: 7px;
  color: rgba(232, 230, 223, 0.7);
  font-size: 12px;
}
.brand-card:hover strong { color: var(--accent); text-shadow: 0 0 20px var(--accent-glow); }

.product-layout {
  display: block;
  margin-top: 48px;
}
.filters {
  position: sticky;
  top: 86px;
  z-index: 10;
  display: flex;
  gap: 12px;
  padding: 16px 0 24px;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 40px;
}
.filters label { display: none; }
.filters select {
  flex: 1;
  max-width: 200px;
  height: 40px;
  border: 1px solid var(--border-subtle);
  padding: 0 12px;
  color: var(--text-primary);
  background: var(--bg-elevated);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  border-radius: 0;
  cursor: pointer;
}
.filters select:hover { border-color: var(--accent); }
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px 28px;
  min-height: 60vh;
}
.product-card { cursor: pointer; }
.product-card.fade-in { opacity: 1; transform: none; }
.product-media {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--bg-elevated);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 4px 10px;
  background: var(--bg-primary);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-badge.badge-stock {
  border-color: var(--accent);
  color: var(--accent);
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms ease;
}
.product-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent-glow);
  opacity: 0;
  transition: opacity 350ms ease;
  pointer-events: none;
}
.product-card:hover .product-media::after { opacity: 0.2; }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding-top: 20px; }
.product-title h3 {
  margin: 0;
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  transition: color 200ms ease;
}
.product-card:hover .product-title h3 { color: var(--accent); }
.product-title span {
  display: block;
  margin-top: 6px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.price-lines {
  display: grid;
  gap: 4px;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 12px;
}
.price-lines div,
.dialog-price div,
.cart-drawer-total-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.card-actions button {
  margin-top: 18px;
  border: 0;
  border-bottom: 1px solid var(--accent);
  padding: 0 0 4px;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.card-actions button:hover { color: var(--accent); }

.process-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 80px 0;
  border-top: 1px solid var(--border-subtle);
}
.process-row:last-child { border-bottom: 1px solid var(--border-subtle); }
.process-row.reverse .process-image { order: 2; }
.process-image { aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-elevated); }
.process-image img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.82); }
.process-num {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-family: "Helvetica Neue", sans-serif;
  font-size: 80px;
  font-weight: 900;
  line-height: 0.85;
  opacity: 0.3;
}
.process-text h3 {
  margin: 0 0 16px;
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 28px;
  font-weight: 700;
}
.process-text p {
  max-width: 420px;
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.9;
}

.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-top: 48px;
  gap: 0;
}
.faq-item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-bottom: 1px solid var(--border-subtle);
  align-items: start;
}
.faq-item:first-child {
  border-top: 1px solid var(--border-subtle);
}
.faq-q {
  display: contents;
}
.faq-num {
  font-family: "Helvetica Neue", sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.5;
  letter-spacing: 0.04em;
  padding-top: 4px;
}
.faq-q h3 {
  margin: 0 0 14px;
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--text-primary);
}
.faq-item p {
  grid-column: 2;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.85;
  max-width: 580px;
}

.site-footer {
  padding: 80px clamp(18px, 5vw, 56px) 32px;
  background: var(--bg-footer);
  border-top: 1px solid var(--border-subtle);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.site-footer h3 {
  margin: 0 0 16px;
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.site-footer p {
  max-width: 360px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}
.site-footer a,
.site-footer span {
  display: block;
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 12px;
}
.site-footer a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  margin-top: 48px;
  padding-top: 20px;
  color: var(--text-muted);
  font-size: 11px;
}

.product-dialog {
  width: min(980px, calc(100vw - 32px));
  border: 1px solid var(--border-glow);
  border-radius: 0;
  padding: 0;
  color: var(--text-primary);
  background: var(--bg-primary);
}
.product-dialog::backdrop { background: rgba(0, 0, 0, 0.75); }
.dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 1;
  border: 0;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.dialog-product { display: grid; grid-template-columns: 1fr 1fr; min-height: 540px; }
.dialog-product > img { width: 100%; height: 100%; object-fit: cover; }
.dialog-copy { display: grid; align-content: center; gap: 24px; padding: 60px; }
.dialog-copy h3 { margin: 0; font-size: 32px; line-height: 1.1; }
.dialog-copy p { margin: 0; color: var(--text-muted); line-height: 1.8; }
.dialog-price {
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 20px 0;
  color: var(--text-muted);
  font-size: 13px;
}
.dialog-actions { display: flex; gap: 24px; }
.dialog-actions a,
.dialog-actions button {
  border: 0;
  border-bottom: 1px solid var(--accent);
  padding: 0 0 4px;
  color: var(--text-primary);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.dialog-actions a:hover,
.dialog-actions button:hover { color: var(--accent); }

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms ease;
}
.drawer-open .cart-drawer-overlay { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 210;
  width: min(440px, 92vw);
  height: 100vh;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-subtle);
  background: var(--bg-primary);
  transform: translateX(100%);
  transition: transform 350ms ease;
}
.cart-drawer.open { transform: translateX(0); }
.cart-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px 32px;
  border-bottom: 1px solid var(--border-subtle);
}
.cart-drawer-header h3 { margin: 0; font-size: 18px; letter-spacing: 0.06em; }
.cart-drawer-header h3 span { margin-left: 8px; color: var(--text-muted); font-size: 14px; font-weight: 600; }
.cart-drawer-header button {
  border: 0;
  padding: 0;
  color: var(--text-muted);
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.cart-drawer-body { flex: 1; overflow-y: auto; padding: 24px 32px; }
.cart-drawer-empty { margin: 60px 0; text-align: center; color: var(--text-muted); font-size: 14px; }
.cart-drawer-list { display: grid; gap: 20px; }
.cart-drawer-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 20px;
}
.cart-drawer-item img { width: 72px; height: 96px; object-fit: cover; }
.cart-drawer-item-info strong {
  display: block;
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.cart-drawer-item-info span { display: block; margin-top: 6px; color: var(--text-muted); font-size: 12px; }
.cart-drawer-remove { border: 0; padding: 4px; color: var(--text-muted); background: transparent; cursor: pointer; font-size: 18px; line-height: 1; }
.cart-drawer-remove:hover { color: var(--accent); }
.cart-drawer-footer { border-top: 1px solid var(--border-subtle); padding: 24px 32px 36px; display: none; flex-direction: column; gap: 20px; }
.cart-drawer-total-line { font-size: 15px; }
.cart-drawer-total-line span:last-child { font-size: 20px; font-weight: 700; }
.cart-drawer-checkout {
  width: 100%;
  border: 0;
  padding: 16px;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  font-family: "Helvetica Neue", "PingFang TC", sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 200ms ease;
}
.cart-drawer-checkout:hover { background: #5b7fe0; }

.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 800ms ease, transform 800ms ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .brand-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .process-row, .dialog-product { grid-template-columns: 1fr; }
  .process-row.reverse .process-image { order: 0; }
}
@media (max-width: 820px) {
  .desktop-nav { display: none; }
  .hamburger { display: block; }
  .site-header { min-height: 64px; }
  .brand-lockup strong { font-size: 20px; }
  .section-shell { padding: 104px 18px; }
  .section-heading h2 { font-size: clamp(42px, 14vw, 64px); }
  .hero-content h1 span { font-size: clamp(46px, 13vw, 76px); }
  .filters { flex-wrap: wrap; top: 72px; }
  .faq-item { grid-template-columns: 48px 1fr; gap: 18px; }
  .filters select { max-width: none; flex: 1 1 120px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .dialog-copy { padding: 32px 22px; }
  .cart-drawer { width: 100vw; }
  .cart-drawer-header, .cart-drawer-body, .cart-drawer-footer { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 560px) {
  .brand-grid,
  .product-grid { grid-template-columns: 1fr; }
}

/* ===== LICENSE PAGE ===== */
.license-layout {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(360px, 1.18fr);
  gap: clamp(42px, 7vw, 108px);
  align-items: center;
}

.license-copy {
  position: relative;
  padding-top: 22px;
}

.license-copy::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 2px;
  background: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}

.license-copy .heading-row {
  margin-bottom: 28px;
}

.license-copy p:not(.eyebrow) {
  max-width: 420px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.9;
}

.license-facts {
  display: grid;
  gap: 18px;
  margin: 42px 0 0;
}

.license-facts div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 18px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}

.license-facts dt {
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.license-facts dd {
  margin: 0;
  color: var(--text-primary);
  font-size: 13px;
  letter-spacing: 0.06em;
}

.license-stage {
  position: relative;
  padding: clamp(18px, 4vw, 44px);
  border-left: 1px solid var(--border-subtle);
}

.license-stage::before,
.license-stage::after {
  content: "";
  position: absolute;
  background: var(--accent);
  opacity: 0.85;
}

.license-stage::before {
  top: 0;
  right: 0;
  width: 42%;
  height: 1px;
}

.license-stage::after {
  right: 0;
  bottom: 0;
  width: 1px;
  height: 42%;
}

.license-display {
  max-width: 720px;
  margin-left: auto;
  border: 1px solid var(--border-glow);
  padding: clamp(14px, 2.6vw, 28px);
  background: #f2f0ea;
  transform: rotate(-1.2deg);
  transform-origin: center;
  box-shadow: 0 0 48px rgba(59, 95, 191, 0.14);
}

.license-display img {
  width: 100%;
  height: auto;
  display: block;
  filter: brightness(0.94) contrast(1.04);
}

@media (max-width: 820px) {
  .hero-section {
    text-align: left;
    place-items: end start;
    padding-bottom: 84px;
  }
  .hero-meta-line,
  .hero-action-row {
    display: grid;
    gap: 18px;
  }
  .title-line {
    font-size: clamp(58px, 19vw, 94px);
  }
  .title-line-right,
  .title-subline,
  .hero-action-row span {
    justify-self: start;
    text-align: left;
  }
  .title-subline {
    font-size: 18px;
    letter-spacing: 0.12em;
  }
  .license-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .license-stage {
    border-left: 0;
    padding: 0;
  }
  .license-display {
    transform: none;
  }
}
