/* sections.css — component styling for the Reiwa recruiting site */

/* scroll offset for sticky nav */
section[id], [id="top"] { scroll-margin-top: 96px; }
.wrap--narrow { max-width: 880px; }

/* ───────────────────────── Navigation ───────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav--solid {
  background: rgba(252, 251, 248, 0.86);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(31,61,46,0.02);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__logo { display: flex; align-items: center; }
.nav__logo-img { height: 34px; width: auto; display: block; }
@media (max-width: 460px) { .nav__logo-img { height: 28px; } }
.nav__links { display: flex; gap: clamp(18px, 2.4vw, 38px); }
.nav__links a {
  font-size: 14px; font-weight: 500; color: var(--ink-soft); position: relative; padding-block: 6px;
  transition: color .3s var(--ease);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 0;
  background: var(--gold); transition: width .35s var(--ease);
}
.nav__links a:hover { color: var(--charcoal); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { padding: 11px 22px; font-size: 14px; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--charcoal); border-radius: 2px; transition: transform .35s var(--ease), opacity .25s var(--ease); display: block; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav__drawer { display: none; }

@media (max-width: 940px) {
  .nav__links, .nav__cta { display: none; }
  .nav__burger { display: flex; }
  .nav__drawer {
    display: flex; flex-direction: column; gap: 4px;
    background: rgba(252,251,248,0.98); backdrop-filter: blur(14px);
    padding: 0 var(--gutter); max-height: 0; overflow: hidden;
    border-bottom: 1px solid transparent;
    transition: max-height .45s var(--ease), padding .45s var(--ease);
  }
  .nav__drawer.open { max-height: 420px; padding: 12px var(--gutter) 26px; border-bottom-color: var(--line); }
  .nav__drawer a { padding: 13px 4px; font-size: 16px; border-bottom: 1px solid var(--line); }
  .nav__drawer a:last-child { border: none; margin-top: 12px; justify-content: center; }
}

/* ───────────────────────── Hero (full-bleed KV) ───────────────────────── */
.hero { position: relative; padding-top: clamp(120px, 16vh, 168px); padding-bottom: clamp(40px, 6vw, 72px); overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
.hero__title {
  font-size: clamp(34px, 5.2vw, 66px); line-height: 1.28; margin-top: 22px; letter-spacing: 0.01em;
}
.hero__title em { font-style: normal; color: var(--gold); position: relative; white-space: nowrap; }
.hero__title em::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.04em; height: 0.16em;
  background: linear-gradient(90deg, var(--gold), transparent); opacity: 0.3; border-radius: 2px;
}
.hero__title .nowrap { white-space: nowrap; }
.hero__sub { margin-top: 24px; font-size: clamp(15px, 1.5vw, 18px); color: var(--ink-soft); line-height: 1.9; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

.hero--kv { padding-top: 0; padding-bottom: clamp(40px, 6vw, 72px); }
.hero-kv__media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-kv__media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% center; display: block;
}
.hero-kv__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, var(--paper) 18%, oklch(0.97 0.01 90 / 0.72) 40%, transparent 66%),
    linear-gradient(0deg, var(--paper) 2%, transparent 26%);
}
.hero-kv__inner {
  position: relative; z-index: 1;
  min-height: clamp(520px, 76vh, 760px);
  display: flex; align-items: center;
  padding-top: clamp(110px, 15vh, 168px);
}
.hero--kv .hero__copy { max-width: 600px; }
.hero--kv .hero__title { font-size: clamp(32px, 4.6vw, 58px); }

@media (max-width: 760px) {
  .hero-kv__media img { object-position: 78% center; }
  .hero-kv__scrim {
    background:
      linear-gradient(180deg, oklch(0.98 0.01 90 / 0.92) 30%, oklch(0.97 0.01 90 / 0.6) 52%, transparent 72%),
      linear-gradient(0deg, var(--paper) 6%, transparent 32%);
  }
  .hero-kv__inner { min-height: clamp(440px, 66vh, 600px); align-items: flex-start; }
  .hero--kv .hero__copy { max-width: 100%; }
}

/* ───────────────────────── Section variants ───────────────────────── */
.section--sage { background: var(--sage); }

/* ───────────────────────── Philosophy（経営理念） ───────────────────────── */
.philosophy { position: relative; overflow: hidden; }
/* 背景に浮かぶ巨大なゴースト番号でセクションに奥行きを与える */
.philosophy__ghost {
  position: absolute; z-index: 0; pointer-events: none;
  top: clamp(-40px, -3vw, -24px); right: clamp(-24px, 1vw, 32px);
  font-family: var(--serif); font-weight: 700; font-style: italic;
  font-size: clamp(180px, 30vw, 400px); line-height: 0.8;
  color: var(--gold); opacity: 0.05;
}
.philosophy .wrap { position: relative; z-index: 1; }
.philosophy__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  margin-top: clamp(20px, 3vw, 40px);
}
/* 画像列：斜めにずらしたインクのフレームを背後へ敷き、写真を「組み込む」 */
.philosophy__media {
  position: relative;
  align-self: stretch;
  z-index: 1;
}
.philosophy__media::before {
  content: "";
  position: absolute; z-index: -1;
  inset: clamp(18px, 2.4vw, 30px) auto auto clamp(-14px, -1.6vw, -22px);
  width: clamp(120px, 34%, 220px); height: 62%;
  border: 1.5px solid var(--gold);
  border-radius: var(--r-lg);
  opacity: 0.5;
}
.philosophy__figure {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  min-height: 380px;
}
.philosophy__figure img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  object-position: center top;
  /* 青空が強いため彩度を落とし、ブランドのクリーム調にわずかに温色寄せて馴染ませる */
  filter: saturate(0.6) brightness(1.03) contrast(1.02) sepia(0.14);
}
.philosophy__figure::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(40,32,16,0.30) 0%, rgba(40,32,16,0.04) 34%, rgba(40,32,16,0) 60%);
  pointer-events: none;
}
/* ステートメント：写真側へ食い込ませて重なりを作る */
.philosophy__statement {
  position: relative; z-index: 2;
  max-width: 560px;
  margin-left: clamp(-40px, -4vw, -72px);
  padding: clamp(30px, 3.4vw, 52px) clamp(30px, 3.4vw, 52px) clamp(26px, 3vw, 44px);
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.philosophy__tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.06;
  letter-spacing: 0.02em;
  color: var(--gold);
  display: flex; flex-direction: column;
}
.philosophy__tagline span:last-child { padding-left: clamp(24px, 3vw, 48px); }
.philosophy__tagline::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  background: var(--gold);
  margin: clamp(20px, 2vw, 28px) 0 0;
}
.philosophy__text {
  font-family: var(--serif);
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 2.1;
  color: var(--ink-soft);
  margin-top: clamp(20px, 2.2vw, 30px);
}
@media (max-width: 860px) {
  .philosophy__grid { grid-template-columns: 1fr; gap: clamp(0px, 3vw, 8px); }
  .philosophy__figure { aspect-ratio: 16 / 11; min-height: 0; max-height: 420px; }
  .philosophy__media::before { display: none; }
  .philosophy__statement {
    max-width: none;
    margin-left: clamp(16px, 6vw, 48px);
    margin-right: clamp(16px, 6vw, 48px);
    margin-top: clamp(-40px, -8vw, -56px);
  }
}

/* ───────────────────────── Reasons ───────────────────────── */
.reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.reason-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px); position: relative; overflow: hidden;
}
.reason-card__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.reason-card__num { font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 40px; color: var(--sage-deep); line-height: 1; }
.reason-card__icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  display: grid; place-items: center; color: var(--gold);
  background: var(--mist); border: 1px solid var(--sage-deep);
}
.reason-card h3 { font-size: clamp(19px, 1.8vw, 23px); margin-bottom: 14px; }
.reason-card__lines p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.85; }

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

/* ───────────────────────── Career ───────────────────────── */
.career { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(14px, 2vw, 28px); align-items: stretch; }
.career-col {
  border-radius: var(--r-lg); padding: clamp(26px, 3vw, 40px);
  border: 1px solid; position: relative;
}
.career-col--base { background: var(--mist); border-color: var(--sage-deep); }
.career-col--adv { background: oklch(0.97 0.03 88); border-color: oklch(0.88 0.05 82); }
.career-col__tag {
  display: inline-block; font-family: var(--serif); font-style: italic; font-size: 13px; letter-spacing: 0.08em;
  color: var(--ink-soft); margin-bottom: 14px; font-weight: 700;
}
.career-col__tag--gold { color: var(--gold-deep); }
.career-col h3 { font-size: clamp(18px, 1.7vw, 22px); margin-bottom: 18px; }
.career-col ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.career-col li { position: relative; padding-left: 22px; font-size: 15px; color: var(--ink); }
.career-col li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px;
  background: var(--charcoal); transform: rotate(45deg);
}
.career-col--adv li::before { background: var(--gold-deep); }
.career-arrow { display: grid; place-items: center; color: var(--sage-deep); font-size: 30px; }
.career-arrow__glyph::before { content: "\2192"; }

@media (max-width: 760px) {
  .career { grid-template-columns: 1fr; }
  .career-arrow { padding: 4px 0; }
  .career-arrow__glyph::before { content: "\2193"; }
}

/* ───────────────────────── Badges ───────────────────────── */
.badges { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 13px 24px; font-size: 15px; font-weight: 600; color: var(--charcoal);
  box-shadow: var(--shadow-sm);
}
.badge__dot { width: 9px; height: 9px; border-radius: 2px; background: var(--gold); transform: rotate(45deg); flex: none; }

/* ───────────────────────── Voices ───────────────────────── */
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 26px); }
.voice {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.voice__media { position: relative; aspect-ratio: 4 / 5; background: #fff; overflow: hidden; }
.voice__photo { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.voice__body { padding: clamp(20px, 1.8vw, 26px); display: flex; flex-direction: column; flex: 1; }
.voice__kicker { font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 12px; }
.voice__head { display: flex; flex-direction: column; gap: 5px; margin-bottom: 14px; }
.voice__head h3 { font-size: clamp(19px, 1.5vw, 22px); }
.voice__meta { font-size: 12px; color: var(--ink-faint); letter-spacing: 0.04em; }
.voice__quote {
  font-family: var(--serif); font-size: clamp(16px, 1.3vw, 18px); color: var(--charcoal); line-height: 1.65;
  font-weight: 600; margin-bottom: 20px;
}
.btn-text {
  background: none; border: none; cursor: pointer;
  font-family: var(--sans); font-weight: 700; font-size: 14.5px; letter-spacing: 0.04em; color: var(--gold);
  display: inline-flex; align-items: center; gap: 9px; padding: 8px 0; white-space: nowrap;
  transition: gap .35s var(--ease), color .3s var(--ease);
}
.btn-text .arrow { transition: transform .35s var(--ease); }
.btn-text:hover { color: var(--charcoal); }
.btn-text:hover .arrow { transform: translateX(5px); }

.voice__qa { margin-top: auto; }
.voice__qa summary.btn-text { list-style: none; }
.voice__qa summary.btn-text::-webkit-details-marker { display: none; }
.voice__qa-body { margin-top: 18px; }

@media (max-width: 980px) { .voices { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .voices { grid-template-columns: 1fr; } .voice__media { aspect-ratio: 16 / 10; } }

/* ── Interview reading modal ── */
.vmodal { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: clamp(16px, 4vw, 48px); }
.vmodal[hidden] { display: none; }
.vmodal__overlay {
  position: absolute; inset: 0; background: oklch(0.205 0.012 70 / 0.55); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .32s var(--ease);
}
.vmodal.show .vmodal__overlay { opacity: 1; }
.vmodal__frame {
  position: relative; z-index: 1; display: flex; flex-direction: column;
  width: min(760px, 100%); max-height: min(86vh, 900px);
  opacity: 0; transform: translateY(24px) scale(0.98); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.vmodal.show .vmodal__frame { opacity: 1; transform: none; }
.vmodal__panel {
  flex: 1 1 auto; min-height: 0; background: var(--paper); border-radius: var(--r-xl);
  overflow-y: auto; padding: clamp(30px, 4vw, 56px); box-shadow: var(--shadow-lg);
}
.vmodal__close {
  position: absolute; z-index: 2; top: 18px; right: 18px;
  width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff;
  font-size: 24px; line-height: 1; color: var(--ink-soft); cursor: pointer; flex: none;
  box-shadow: var(--shadow-sm);
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.vmodal__close:hover { background: var(--charcoal); color: #fff; transform: rotate(90deg); }
.vmodal__head { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.vmodal__mono {
  width: 64px; height: 64px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font-family: var(--serif); font-weight: 700; font-size: 26px; color: #fff;
  background: linear-gradient(150deg, var(--gold-soft), var(--gold));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.2);
}
.vmodal__kicker { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 6px; }
.vmodal__head h3 { font-size: clamp(22px, 2.4vw, 28px); }
.vmodal__meta { font-size: 12.5px; color: var(--ink-faint); letter-spacing: 0.04em; }
.vmodal__headline {
  font-family: var(--serif); font-weight: 600; font-size: clamp(18px, 2vw, 24px); color: var(--charcoal);
  line-height: 1.6; padding: 22px 0; margin-bottom: 14px; border-block: 1px solid var(--line);
}
.qa { display: flex; flex-direction: column; gap: 30px; }
.qa-q { display: flex; align-items: flex-start; gap: 14px; font-family: var(--serif); font-weight: 700; font-size: clamp(16px, 1.6vw, 18px); color: var(--charcoal); line-height: 1.7; margin-bottom: 14px; }
.qa-a { display: flex; align-items: flex-start; gap: 14px; }
.qa-a-body p { color: var(--ink-soft); font-size: 15px; line-height: 2; }
.qa-a-body p + p { margin-top: 14px; }
.qa-mark {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-weight: 700; font-size: 15px; margin-top: 1px;
}
.qa-mark--q { background: var(--gold); color: #fff; }
.qa-mark--a { background: var(--mist); color: var(--ink-faint); border: 1px solid var(--line); }

/* ───────────────────────── Messages ───────────────────────── */
.messages { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.4vw, 30px); }
.msg {
  border-radius: var(--r-xl); padding: clamp(30px, 3.4vw, 46px); border: 1px solid;
  position: relative; overflow: hidden;
}
.msg--rookie { background: oklch(0.965 0.014 86); border-color: var(--sage-deep); }
.msg--exam { background: oklch(0.97 0.035 88); border-color: oklch(0.88 0.05 82); }
.msg h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 22px; }
.msg--rookie h3 { color: var(--charcoal); }
.msg--exam h3 { color: oklch(0.50 0.10 72); }
.msg ul { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.msg li { display: flex; align-items: flex-start; gap: 13px; font-size: 15.5px; color: var(--ink); line-height: 1.7; }
.msg__check { width: 22px; height: 22px; border-radius: 50%; flex: none; position: relative; margin-top: 2px; }
.msg--rookie .msg__check { background: var(--charcoal); }
.msg--exam .msg__check { background: var(--gold-deep); }
.msg__check::after {
  content: ""; position: absolute; left: 7px; top: 5px; width: 5px; height: 9px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
@media (max-width: 760px) { .messages { grid-template-columns: 1fr; } }

/* ───────────────────────── Requirements ───────────────────────── */
.reqs-banner {
  position: relative; border-radius: var(--r-xl); overflow: hidden; margin-bottom: clamp(32px, 4vw, 48px);
  box-shadow: var(--shadow-md); aspect-ratio: 16 / 7; display: block;
}
.reqs-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reqs-banner__cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 28px 22px;
  color: #fff; font-size: 13.5px; font-weight: 600; letter-spacing: 0.04em;
  background: linear-gradient(transparent, oklch(0.205 0.012 70 / 0.80));
}
@media (max-width: 600px) { .reqs-banner { aspect-ratio: 16 / 10; } .reqs-banner__cap { font-size: 12px; padding: 40px 18px 18px; } }

.reqs { border-top: 1px solid var(--sage-deep); }
.reqs__row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--sage-deep); align-items: baseline; }
.reqs__row dt { font-family: var(--serif); font-weight: 700; font-size: 15px; color: var(--charcoal); letter-spacing: 0.04em; }
.reqs__row dd { font-size: 15.5px; color: var(--ink); line-height: 1.8; }
@media (max-width: 640px) { .reqs__row { grid-template-columns: 1fr; gap: 6px; } }

/* ───────────────────────── CTA ───────────────────────── */
.cta { position: relative; padding-block: clamp(80px, 9vw, 130px); overflow: hidden; color: #fff; }
.cta__bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(900px 520px at 85% 115%, oklch(0.605 0.098 80 / 0.32), transparent 60%),
    linear-gradient(155deg, oklch(0.205 0.012 70 / 0.66), oklch(0.205 0.012 70 / 0.50)),
    url("../img/img-reception.jpg") center/cover no-repeat;
}
.cta__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 30px 30px; opacity: 0.6;
}
.cta__grid { display: grid; grid-template-columns: 1fr 0.92fr; gap: clamp(36px, 5vw, 72px); align-items: center; position: relative; z-index: 1; }
.cta__title { color: #fff; font-size: clamp(28px, 3.6vw, 46px); margin-top: 20px; line-height: 1.34; }
.flow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.flow__step {
  display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.26); border-radius: 999px; padding: 11px 20px;
  white-space: nowrap; flex: none; color: #fff;
}
.flow__n {
  width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,0.16);
  display: grid; place-items: center; font-family: var(--serif); font-size: 12px; font-style: italic;
}
.flow__arrow { color: rgba(255,255,255,0.5); font-weight: 700; display: inline-block; transition: transform .3s var(--ease); }
@media (max-width: 600px) {
  .cta__intro { text-align: center; }
  .flow { flex-direction: column; align-items: center; gap: 10px; }
  .flow__arrow { transform: rotate(90deg); }
}

.contact-card { background: #fff; border-radius: var(--r-xl); padding: clamp(32px, 3.6vw, 52px); box-shadow: var(--shadow-lg); color: var(--ink); text-align: center; }
.contact-card__eyebrow { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: 0.22em; color: var(--gold); margin-bottom: 16px; }
.contact-card__title { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; }
.contact-card__note { color: var(--ink-soft); font-size: 14.5px; line-height: 1.95; margin-top: 18px; }
.contact-card__btn { margin-top: clamp(26px, 3vw, 34px); width: 100%; justify-content: center; }
.contact-br { display: none; }
@media (min-width: 520px) { .contact-br { display: inline; } }

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

/* ───────────────────────── Footer ───────────────────────── */
.footer { background: var(--charcoal-deep); color: rgba(255,255,255,0.7); padding-block: 52px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__brand { display: flex; flex-direction: column; gap: 12px; }
.footer__url { font-size: 13px; color: rgba(255,255,255,0.55); }
.footer__url:hover { color: #fff; }
.footer__right { text-align: right; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 0.04em; }
@media (max-width: 620px) { .footer__inner { flex-direction: column; align-items: flex-start; } .footer__right { text-align: left; align-items: flex-start; } }

/* ───────────────────────── Back to top ───────────────────────── */
.to-top {
  position: fixed; z-index: 90; right: clamp(16px, 3vw, 32px); bottom: clamp(16px, 3vw, 32px);
  width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  background: var(--charcoal); color: #fff; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--gold); }
@media (prefers-reduced-motion: reduce) { .to-top { transition: opacity .3s var(--ease); } }
