/* ============================================================
   UK ETA — REDESIGN v2
   "Government-grade Editorial Luxury"
   References: GOV.UK · NYT · Monocle · Aman · Linear
   ============================================================ */

:root {
  --ink:        #0b1c2c;   /* deep navy ink */
  --ink-soft:   #243447;
  --ink-mute:   #5b6b7f;
  --cream:      #f4ede1;   /* warm ivory parchment */
  --cream-2:    #ece4d4;
  --paper:      #faf6ee;
  --gold:       #9d7d3a;   /* royal warm gold */
  --gold-soft:  #b89752;
  --gov-green:  #00703c;   /* GOV.UK official action color */
  --gov-green-d:#00582d;
  --hair:       rgba(11, 28, 44, 0.12);
  --hair-strong:rgba(11, 28, 44, 0.28);

  --serif:      "EB Garamond", "Noto Serif JP", "Times New Roman", serif;
  --sans:       "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --jp:         "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --jp-serif:   "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --mono:       "JetBrains Mono", ui-monospace, monospace;
}

/* Resets for redesigned section only */
.rd2-hero, .rd2-hero *,
.rd2-facts, .rd2-facts *,
.rd2-strap, .rd2-strap * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ============================================================
   OFFICIAL STRAP (GOV.UK 風)
   ============================================================ */
.rd2-strap {
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rd2-strap__inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 11px 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  font-weight: 500;
  text-transform: uppercase;
}

.rd2-strap__crown {
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  margin-right: 4px;
}

.rd2-strap__label {
  color: var(--cream);
  font-weight: 600;
}

.rd2-strap__divider {
  opacity: 0.35;
  font-weight: 300;
  padding: 0 6px;
}

.rd2-strap__meta {
  color: rgba(244, 237, 225, 0.6);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.18em;
}

/* ============================================================
   HERO
   ============================================================ */
.rd2-hero {
  background: var(--cream);
  background-image:
    radial-gradient(ellipse at top right, rgba(157, 125, 58, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(11, 28, 44, 0.04) 0%, transparent 60%);
  position: relative;
  overflow: hidden;
  color: var(--ink);
}

/* Hairline grid pattern (very subtle, editorial paper) */
.rd2-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11, 28, 44, 0.025) 1px, transparent 1px);
  background-size: 80px 100%;
  pointer-events: none;
  opacity: 0.7;
}

.rd2-hero__grid {
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  padding: 88px 32px 96px;
  align-items: center;
}

/* ---------- Left: editorial copy ---------- */
.rd2-hero__copy {
  position: relative;
}

.rd2-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 40px;
}

.rd2-eyebrow__no {
  color: var(--gold);
  font-weight: 600;
}

.rd2-eyebrow__line {
  flex: 0 0 56px;
  height: 1px;
  background: var(--hair-strong);
}

.rd2-eyebrow__txt {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--ink);
  font-weight: 600;
}

/* Display headline */
.rd2-display {
  font-family: var(--jp-serif);
  color: var(--ink);
  letter-spacing: -0.005em;
  margin-bottom: 40px;
  font-weight: 700;
  line-height: 1.05;
}

.rd2-display__l1 {
  display: block;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 500;
  color: var(--ink-soft);
  margin-bottom: 4px;
  letter-spacing: 0.01em;
}

.rd2-display__l2 {
  display: block;
  font-size: clamp(54px, 7.5vw, 96px);
  font-weight: 800;
  color: var(--ink);
  line-height: 0.98;
  letter-spacing: -0.018em;
}

.rd2-display__l2 em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  letter-spacing: -0.03em;
  padding: 0 0.05em;
}

.rd2-display__l3 {
  display: block;
  font-size: clamp(54px, 7.5vw, 96px);
  font-weight: 800;
  color: var(--ink);
  line-height: 0.98;
  letter-spacing: -0.018em;
  text-indent: 1.5em;
}

/* Lede */
.rd2-lede {
  font-family: var(--jp);
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.85;
  color: var(--ink-soft);
  max-width: 540px;
  margin-bottom: 48px;
  letter-spacing: 0.02em;
  font-weight: 400;
}

.rd2-lede strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15em;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.01em;
}

/* CTA */
.rd2-cta {
  display: flex;
  align-items: flex-end;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.rd2-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 36px;
  background: var(--gov-green);
  color: #ffffff;
  font-family: var(--jp);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  position: relative;
  transition: background 0.25s ease, transform 0.2s ease;
  border-radius: 0;
  min-width: 340px;
}

.rd2-btn::before {
  content: "";
  position: absolute;
  inset: -1px;
  border: 1px solid var(--ink);
  transform: translate(6px, 6px);
  pointer-events: none;
  transition: transform 0.2s ease;
  z-index: -1;
}

.rd2-btn:hover {
  background: var(--gov-green-d);
}

.rd2-btn:hover::before {
  transform: translate(8px, 8px);
}

.rd2-btn__arrow {
  transition: transform 0.2s ease;
}

.rd2-btn:hover .rd2-btn__arrow {
  transform: translateX(4px);
}

.rd2-cta__sub {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
  padding-bottom: 6px;
}

/* Trust marks */
.rd2-marks {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--hair);
}

.rd2-mark {
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.rd2-mark__dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.8;
}

/* ---------- Right: visual ---------- */
.rd2-hero__visual {
  position: relative;
  aspect-ratio: 4/5;
  max-height: 640px;
}

.rd2-visual__frame {
  position: relative;
  width: 100%;
  height: 100%;
  background: var(--ink);
  overflow: hidden;
  border: 1px solid var(--hair-strong);
  box-shadow:
    24px 24px 0 0 var(--ink),
    0 32px 80px rgba(11, 28, 44, 0.18);
}

.rd2-visual__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(11, 28, 44, 0.35) 100%),
    linear-gradient(135deg, rgba(157, 125, 58, 0.18), transparent 40%);
  z-index: 2;
  pointer-events: none;
}

.rd2-visual__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.05) brightness(0.92);
}

/* Royal seal */
.rd2-visual__seal {
  position: absolute;
  top: -36px;
  right: -36px;
  color: var(--gold);
  background: var(--cream);
  border-radius: 50%;
  padding: 12px;
  z-index: 3;
  box-shadow: 0 8px 24px rgba(11, 28, 44, 0.18);
  border: 1px solid var(--hair);
  animation: seal-rotate 80s linear infinite;
}

.rd2-visual__seal svg {
  display: block;
}

@keyframes seal-rotate {
  to { transform: rotate(360deg); }
}

/* Floating data ledger */
.rd2-visual__data {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--paper);
  padding: 24px 28px;
  z-index: 3;
  min-width: 280px;
  box-shadow:
    0 16px 40px rgba(11, 28, 44, 0.18),
    inset 0 0 0 1px var(--hair-strong);
  border-top: 3px solid var(--gold);
}

.rd2-data__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 7px 0;
  border-bottom: 1px dotted var(--hair);
  font-family: var(--sans);
}

.rd2-data__row:last-child {
  border-bottom: none;
}

.rd2-data__k {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.rd2-data__v {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  font-style: italic;
}

/* ============================================================
   FACTS — Editorial Ledger
   ============================================================ */
.rd2-facts {
  background: var(--paper);
  padding: 120px 24px 110px;
  position: relative;
}

.rd2-facts::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 64px;
  background: var(--gold);
}

.rd2-facts__container {
  max-width: 1240px;
  margin: 0 auto;
}

.rd2-facts__head {
  text-align: center;
  margin-bottom: 72px;
}

.rd2-facts__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.42em;
  color: var(--ink-mute);
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 22px;
}

.rd2-facts__line {
  width: 44px;
  height: 1px;
  background: var(--hair-strong);
}

.rd2-facts__title {
  font-family: var(--jp-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.rd2-facts__title em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  color: var(--gold);
  padding: 0 0.1em;
}

/* Ledger rows */
.rd2-ledger {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--hair-strong);
}

.rd2-ledger__row {
  display: grid;
  grid-template-columns: 88px 88px 1fr 1fr;
  align-items: center;
  gap: 32px;
  padding: 32px 16px;
  border-bottom: 1px solid var(--hair);
  position: relative;
  transition: padding 0.3s ease, background 0.25s ease;
}

.rd2-ledger__row::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: -1px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.rd2-ledger__row:hover {
  background: rgba(244, 237, 225, 0.65);
  padding-left: 28px;
}

.rd2-ledger__row:hover::after {
  transform: scaleX(1);
}

.rd2-ledger__no {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 36px;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
}

.rd2-ledger__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--hair-strong);
  border-radius: 50%;
  background: var(--cream);
}

.rd2-ledger__icon img {
  width: 38px;
  height: 38px;
  filter: brightness(0) saturate(100%) invert(11%) sepia(20%) saturate(1500%) hue-rotate(180deg) brightness(95%) contrast(98%);
}

.rd2-ledger__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.rd2-ledger__label {
  font-family: var(--jp);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.rd2-ledger__label-en {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 400;
  color: var(--ink-mute);
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.rd2-ledger__value {
  font-family: var(--jp-serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.005em;
}

.rd2-ledger__value em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.8em;
  color: var(--gold);
  padding: 0 0.06em;
  letter-spacing: -0.03em;
}

.rd2-ledger__note {
  font-family: var(--jp);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  font-weight: 500;
  text-align: right;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .rd2-hero__grid {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 64px 28px 88px;
  }

  .rd2-hero__visual {
    aspect-ratio: 5/4;
    max-width: 560px;
    margin: 0 auto;
  }

  .rd2-display__l3 {
    text-indent: 0;
  }

  .rd2-ledger__row {
    grid-template-columns: 56px 64px 1fr;
    grid-template-areas:
      "no icon body"
      "note note note";
    gap: 22px 20px;
    padding: 28px 16px;
  }

  .rd2-ledger__no {
    grid-area: no;
    font-size: 28px;
  }

  .rd2-ledger__icon {
    grid-area: icon;
    width: 56px;
    height: 56px;
  }

  .rd2-ledger__body {
    grid-area: body;
  }

  .rd2-ledger__note {
    grid-area: note;
    text-align: left;
    padding-left: 78px;
    font-size: 12px;
  }
}

@media (max-width: 767px) {

  .rd2-strap__inner {
    padding: 9px 18px;
    font-size: 10px;
    letter-spacing: 0.16em;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .rd2-strap__divider {
    display: none;
  }

  .rd2-strap__meta {
    font-size: 9.5px;
    letter-spacing: 0.14em;
  }

  .rd2-hero__grid {
    padding: 48px 22px 64px;
    gap: 44px;
  }

  .rd2-eyebrow {
    margin-bottom: 28px;
    font-size: 10.5px;
  }

  .rd2-eyebrow__line {
    flex: 0 0 36px;
  }

  .rd2-eyebrow__txt {
    font-size: 10px;
  }

  .rd2-display {
    margin-bottom: 28px;
  }

  .rd2-display__l1 {
    font-size: 19px;
  }

  .rd2-display__l2,
  .rd2-display__l3 {
    font-size: 44px;
    line-height: 1.02;
  }

  .rd2-lede {
    font-size: 14.5px;
    margin-bottom: 34px;
    line-height: 1.8;
  }

  .rd2-cta {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    margin-bottom: 38px;
  }

  .rd2-btn {
    min-width: 0;
    width: 100%;
    padding: 18px 24px;
    font-size: 15.5px;
  }

  .rd2-cta__sub {
    text-align: center;
    font-size: 10px;
  }

  .rd2-marks {
    gap: 10px;
    padding-top: 22px;
    justify-content: center;
  }

  .rd2-mark {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .rd2-hero__visual {
    aspect-ratio: 4/5;
    margin: 8px auto 28px;
    max-width: 100%;
  }

  .rd2-visual__seal {
    top: -22px;
    right: -14px;
    padding: 8px;
  }

  .rd2-visual__seal svg {
    width: 84px;
    height: 84px;
  }

  .rd2-visual__data {
    bottom: -16px;
    left: -8px;
    right: -8px;
    min-width: 0;
    padding: 18px 20px;
  }

  .rd2-data__k {
    font-size: 10px;
  }

  .rd2-data__v {
    font-size: 14px;
  }

  .rd2-facts {
    padding: 72px 18px 64px;
  }

  .rd2-facts__head {
    margin-bottom: 44px;
  }

  .rd2-facts__title {
    font-size: 26px;
  }

  .rd2-facts__line {
    width: 24px;
  }

  .rd2-facts__eyebrow {
    font-size: 10px;
    letter-spacing: 0.32em;
  }

  .rd2-ledger__row {
    grid-template-columns: 44px 52px 1fr;
    gap: 16px 14px;
    padding: 22px 8px;
  }

  .rd2-ledger__no {
    font-size: 22px;
  }

  .rd2-ledger__icon {
    width: 48px;
    height: 48px;
  }

  .rd2-ledger__icon img {
    width: 28px;
    height: 28px;
  }

  .rd2-ledger__label {
    font-size: 12.5px;
    gap: 8px;
  }

  .rd2-ledger__label-en {
    font-size: 9.5px;
  }

  .rd2-ledger__value {
    font-size: 22px;
  }

  .rd2-ledger__value em {
    font-size: 1.6em;
  }

  .rd2-ledger__note {
    padding-left: 60px;
    font-size: 11.5px;
  }
}
