/* ===========================================================
   Liaison — Hero copy, image placeholder, section head, buttons, floating CTA
   =========================================================== */

/* Hero copy elements */
.hero-tagline-en {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.hero-tagline-en::before {
  content: "";
  width: 30px; height: 1px;
  background: var(--accent);
}
.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4.6vw, 62px);
  line-height: 1.35;
  letter-spacing: 0.005em;
  color: var(--ink);
  white-space: nowrap;
}
.hero-title .hl {
  position: relative;
  display: inline-block;
}
.hero-title .hl::after {
  content: "";
  position: absolute;
  left: -4px; right: -4px;
  bottom: 6%;
  height: 14%;
  background: rgba(168, 24, 72,0.18);
  z-index: -1;
}
.hero-sub {
  font-family: var(--jpsans);
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  margin: 32px 0 40px;
  max-width: none;
  white-space: nowrap;
}

/* Image placeholder */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(26,22,20,0.85) 0 1px, transparent 1px 14px),
    linear-gradient(180deg, #2a2520 0%, #1a1614 100%);
  color: rgba(244,241,235,0.55);
  overflow: hidden;
  display: grid;
  place-items: center;
  font-family: "JetBrains Mono", "Roboto Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.ph::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(244,241,235,0.12);
  pointer-events: none;
}
.ph .ph-tag {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ph .ph-tag svg {
  opacity: 0.5;
}
.ph .ph-tag span { color: rgba(244,241,235,0.7); }
.ph .ph-tag small {
  font-family: var(--sans);
  font-size: 9px;
  letter-spacing: 0.32em;
  color: rgba(244,241,235,0.35);
  text-transform: uppercase;
}

/* ---------- Section base ---------- */
.section {
  padding: 140px var(--gutter);
  position: relative;
}
.section-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: start;
  margin-bottom: 64px;
}
.section-head .left .index-num {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-3);
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-head .left .index-num::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
}
.section-head h2.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 1.2;
  letter-spacing: 0.005em;
  color: var(--ink);
}
.section-head h2.section-title small {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-top: 14px;
}

.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  background: var(--accent);
  color: var(--paper);
  font-family: var(--jpsans);
  font-size: 14px;
  letter-spacing: 0.1em;
  border-radius: 999px;
  transition: background .3s, transform .3s;
}
.btn-pill:hover { background: var(--accent); opacity: 0.8; transform: translateY(-1px); }
.btn-pill .ar {
  width: 22px; height: 1px;
  background: currentColor;
  position: relative;
}
.btn-pill .ar::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.btn-pill .ico-insta {
  width: 18px; height: 18px;
  display: block;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
  transition: transform .3s ease;
}
.btn-pill:hover .ico-insta { transform: translateX(4px); }

/* ---------- Floating CTA (school promo, appears after hero scroll) ---------- */
.float-cta {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  display: inline-flex;
  align-items: stretch;
  padding: 18px 22px 18px 24px;
  background: var(--accent);
  color: var(--paper);
  text-decoration: none;
  border-radius: 14px;
  box-shadow: 0 22px 50px -18px rgba(168, 24, 72, 0.55), 0 6px 16px -6px rgba(26,22,20,0.25);
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  pointer-events: none;
  transition: opacity .5s cubic-bezier(.2,.7,.2,1), transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .3s, background .3s;
  max-width: 360px;
  overflow: hidden;
}
.float-cta.in {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.float-cta::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--paper);
  opacity: 0.5;
}
.float-cta:hover {
  background: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: 0 26px 56px -20px rgba(130, 14, 56, 0.6), 0 8px 18px -6px rgba(26,22,20,0.3);
}
.float-cta-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 8px;
}
.float-cta-tag {
  font-family: var(--jpsans);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: rgba(244,241,235,0.78);
  text-transform: none;
  display: inline-block;
}
.float-cta-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--paper);
}
.float-cta-more {
  font-family: var(--jpsans);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: rgba(244,241,235,0.82);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  transition: color .3s, gap .3s;
}
.float-cta-arr {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  position: relative;
  transition: width .3s ease;
}
.float-cta-arr::after {
  content: "";
  position: absolute;
  right: 0; top: -3px;
  width: 7px; height: 7px;
  border-right: 1px solid currentColor;
  border-top: 1px solid currentColor;
  transform: rotate(45deg);
}
.float-cta:hover .float-cta-more {
  color: var(--paper);
  gap: 14px;
}
.float-cta:hover .float-cta-arr { width: 24px; }
.fc-arr-svg { display: none; }

@media (max-width: 640px) {
  .float-cta {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
    padding: 14px 16px 14px 20px;
  }
  .float-cta-title { font-size: 13px; }
}
