/* D: SHOWCASE. A longer top page, built only from what the site already says. The logo's square is the entrance to everything. */

/* ---------- without motion: a plain, readable long page ---------- */
.d-side, .d-panels, .d-rib, .d-t__name { display: none; }
.d-section { padding: clamp(72px, 12svh, 150px) var(--side-padding); position: relative; }
.d-inner { max-width: var(--container-width); margin: 0 auto; }
.d-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: .14em;
  color: var(--color-accent-light);
}
.d-more svg { transition: transform .4s var(--ease-out); }
.d-more:hover svg { transform: translateX(6px); }

.d-biz { padding: clamp(72px, 12svh, 150px) var(--side-padding); }
.d-biz__head { max-width: var(--container-width); margin: 0 auto clamp(30px, 5svh, 56px); }
.d-biz__count { display: none; }
.d-act { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; max-width: var(--container-width); margin: 0 auto clamp(56px, 9svh, 110px); }
.d-act__win { position: relative; aspect-ratio: 1; overflow: hidden; background: #070707; }
.d-act__win > img { width: 100%; height: 100%; object-fit: cover; }
.d-act__en {
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 6.4vw, 6.8rem);
  line-height: 1.04;
  letter-spacing: .03em;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.d-act__h { font-size: clamp(1.3rem, 2vw, 1.8rem); font-weight: 600; line-height: 1.4; margin-top: 16px; font-feature-settings: "palt"; }
.d-act__desc { margin-top: 12px; max-width: 34em; line-height: 2; font-size: clamp(.98rem, 1.15vw, 1.08rem); }
.d-act__facts { margin-top: 16px; display: grid; gap: 10px; max-width: 34em; }
.d-act__facts li { list-style: none; display: grid; grid-template-columns: 5em 1fr; gap: 12px; align-items: baseline; font-size: .95rem; line-height: 1.6; }
.d-act__facts b { font-family: 'Cinzel', serif; font-weight: 500; font-size: 1.35rem; color: var(--color-accent-light); }
.d-act .d-more { margin-top: 12px; }

.d-tal { padding: clamp(72px, 12svh, 150px) var(--side-padding); }
.d-tal__head { margin-bottom: 40px; }
.d-t { display: grid; grid-template-columns: minmax(0, 480px) 1fr; gap: clamp(24px, 4vw, 64px); align-items: end; margin-bottom: 64px; }
.d-t__box { position: relative; aspect-ratio: 1; }
.d-t__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(62% 72% at 50% 26%, rgba(212, 175, 55, .36), rgba(212, 175, 55, 0) 72%), #0b0a08;
}
.d-t__frame { position: absolute; inset: 0; border: 1px solid rgba(244, 208, 63, .7); }
.d-t__clip { position: absolute; inset: 0; clip-path: inset(-60% -60% 0 -60%); }
.d-t__p {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: var(--tp, 112%);
  aspect-ratio: var(--pa);
  max-width: none;
  transform: translateX(-50%);
  filter: contrast(1.05) saturate(1.03);
}
.d-t__info h3 { font-size: clamp(2rem, 3.2vw, 3rem); font-weight: 600; line-height: 1.3; font-feature-settings: "palt"; }
.d-t__role { margin-top: 6px; font-family: var(--font-display); letter-spacing: .12em; font-size: clamp(1rem, 1.2vw, 1.15rem); }
.d-t__sns { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 8px; list-style: none; }
.d-t__sns a { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--font-display); letter-spacing: .08em; font-size: 1rem; border-bottom: 0; transition: color .3s; }
.d-t__sns a:hover { color: var(--color-accent-light); }

.d-news__item {
  display: block;
  padding: clamp(22px, 4svh, 40px) 0;
  border-top: 1px solid rgba(255, 255, 255, .24);
  border-bottom: 1px solid rgba(255, 255, 255, .24);
  transition: border-color .4s;
}
.d-news__item:hover { border-color: var(--color-accent); }
.d-news__meta { display: flex; align-items: center; gap: 16px; font-family: var(--font-display); letter-spacing: .1em; font-size: 1rem; }
.d-news__meta span { color: var(--color-accent-light); }
.d-news__t { margin-top: 12px; font-size: clamp(1.9rem, 5.2vw, 5rem); font-weight: 600; line-height: 1.3; font-feature-settings: "palt"; transition: color .4s; }
.d-news__item:hover .d-news__t { color: var(--color-accent-light); }
.d-news__d { margin-top: 14px; line-height: 2; font-size: clamp(.98rem, 1.15vw, 1.08rem); }
.d-news__all { margin-top: 26px; }

.d-co { display: grid; grid-template-columns: minmax(180px, 32%) 1fr; gap: clamp(32px, 6vw, 110px); align-items: start; }
.d-co__logo { width: min(100%, 340px); aspect-ratio: 1; }
.d-co__logo img { width: 100%; height: 100%; }
.d-co dl > div { position: relative; display: grid; grid-template-columns: 8em 1fr; gap: 16px; padding: 18px 0; line-height: 1.8; }
.d-co dl > div::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(255, 255, 255, .24); transform-origin: 0 50%; transition: transform 1.1s var(--ease-out); }
.d-co dt { color: var(--color-text); font-size: .92rem; }
.d-co dd a { border-bottom: 1px solid rgba(255, 255, 255, .4); }
.d-co dd a:hover { color: var(--color-accent-light); border-color: var(--color-accent-light); }
.d-co__more { margin-top: 18px; }

.d-end { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light)); color: #000; text-align: center; padding: clamp(90px, 18svh, 200px) var(--side-padding); }
.d-end__sq { display: none; }
.d-end__in { position: relative; z-index: 1; }
.d-end .section-number { color: #000; }
.d-end .section-heading { color: #000; margin-bottom: 18px; }
.d-end__t { font-family: 'Cinzel', serif; font-weight: 500; font-size: clamp(2.4rem, 8vw, 8.4rem); line-height: 1.06; letter-spacing: .03em; }
.d-end__p { margin: 16px 0 28px; line-height: 1.9; font-size: clamp(1rem, 1.3vw, 1.2rem); }
.d-end__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 40px;
  background: #000;
  color: var(--color-accent-light);
  font-weight: 600;
  letter-spacing: .1em;
  transition: transform .4s var(--ease-out);
}
.d-end__btn:hover { transform: translateY(-3px); }

@media (max-width: 900px) {
  .d-act, .d-t, .d-co { grid-template-columns: 1fr; }
  .d-co__logo { width: 120px; }
}

/* ---------- with motion ---------- */
.d-hero { --w: min(66svh, 44vw); --cy: 50%; background: #000; }
html.fx .hero-scene.d-scene { height: 270svh; }
html.fx .d-hero .hero-video-bg { z-index: 0; }
html.fx .d-hero .hero-bg-image { opacity: .85; }
html.fx .d-hero .fx-canvas { z-index: 0; }
html.fx .d-panels { display: block; position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.d-win { position: absolute; left: 50%; top: var(--cy); width: var(--w); height: var(--w); margin: calc(var(--w) / -2) 0 0 calc(var(--w) / -2); visibility: hidden; }
.d-pan { position: absolute; background: #000; will-change: transform; }
.d-pan--t { left: -4vmax; right: -4vmax; top: -4vmax; height: calc(var(--cy) + 4vmax - var(--w) / 2); }
.d-pan--b { left: -4vmax; right: -4vmax; top: calc(var(--cy) + var(--w) / 2); bottom: -4vmax; }
.d-pan--l { top: -4vmax; bottom: -4vmax; left: -4vmax; right: calc(50% + var(--w) / 2); }
.d-pan--r { top: -4vmax; bottom: -4vmax; right: -4vmax; left: calc(50% + var(--w) / 2); }
.d-line { position: absolute; left: 50%; top: var(--cy); background: #fff; will-change: transform; }
.d-line--t, .d-line--b { width: var(--w); height: 2px; margin: -1px 0 0 calc(var(--w) / -2); transform: scaleX(0); }
.d-line--l, .d-line--r { width: 2px; height: var(--w); margin: calc(var(--w) / -2) 0 0 -1px; transform: scaleY(0); }
.d-letters {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: var(--cy);
  width: calc(var(--w) * 1.077);
  height: calc(var(--w) * 1.077);
  margin: calc(var(--w) * -.5385) 0 0 calc(var(--w) * -.5385);
  clip-path: inset(7%);
  opacity: 0;
  pointer-events: none;
}
.d-letters img { width: 100%; height: 100%; max-width: none; }
html.fx .d-hero .hero-content {
  position: absolute;
  z-index: 3;
  left: 0;
  right: 0;
  top: var(--cy);
  padding: 0;
  transform: translateY(-50%);
}
/* Sized from the square so that "NEW ERA" stays inside it, about 86% of its width, on every screen shape. */
html.fx .d-hero .hero-title { font-size: calc(var(--w) * .155); line-height: 1.08; }
/* Over the city it can't be read, so the tagline sits on black just under the square. */
html.fx .d-hero .hero-sub {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(50% + var(--w) / 2 + 14px);
  margin: 0;
  font-size: clamp(.82rem, 1vw, 1rem);
  will-change: opacity;
}
.d-off .ch { opacity: 0; }
.d-off .hero-sub { opacity: 0; transition: none; }
html.fx .d-side {
  display: block;
  position: absolute;
  z-index: 3;
  bottom: clamp(36px, 8svh, 84px);
  width: calc(50% - var(--w) / 2 - var(--side-padding) - 24px);
  min-width: 200px;
  will-change: transform, opacity;
}
.d-side--l { left: var(--side-padding); }
.d-side--r { right: var(--side-padding); text-align: right; }
.d-side__h { font-family: var(--font-display); font-size: .95rem; letter-spacing: .16em; color: var(--color-accent-light); margin-bottom: 8px; }
.d-side ul { list-style: none; }
.d-side li a { display: inline-flex; align-items: center; min-height: 34px; font-family: var(--font-display); font-size: clamp(1rem, 1.3vw, 1.2rem); letter-spacing: .08em; transition: color .3s; }
.d-side li a:hover, .d-side__news:hover { color: var(--color-accent-light); }
.d-side__news { display: block; line-height: 1.6; font-size: clamp(.95rem, 1.1vw, 1.05rem); transition: color .3s; }
.d-side__news time { display: block; font-family: var(--font-display); letter-spacing: .1em; }
.d-off-side .d-side { opacity: 0; }
html.fx .d-hero .hero-scroll { z-index: 3; bottom: 14px; gap: 8px; }
html.fx .d-hero .scroll-line { height: 36px; }
html.fx .d-off-side .hero-scroll { opacity: 0; transition: none; }

html.fx .about { height: 200svh; }
/* motion.js gives About its pinned words: here the scene is shorter because more follows it. */

html.fx .d-rib {
  display: block;
  overflow: hidden;
  padding: clamp(10px, 3svh, 30px) 0 clamp(30px, 6svh, 70px);
  font-family: 'Cinzel', serif;
  font-size: clamp(2.8rem, 8vw, 8.4rem);
  line-height: 1.2;
  letter-spacing: .05em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, .75);
}
.d-rib span { display: inline-block; will-change: transform; }

/* Service: held on screen on wide screens, one block after another on phones. */
.d-strip { position: absolute; top: 0; bottom: 0; overflow: hidden; will-change: transform; }
.d-strip img { position: absolute; top: 0; height: 100%; max-width: none; object-fit: cover; }
.d-act.is-contain .d-strip img { object-fit: contain; }
.d-act__frame { position: absolute; inset: 0; border: 1px solid rgba(244, 208, 63, .7); pointer-events: none; }

html.d-pin .d-biz { height: 390svh; padding: 0; position: relative; }
html.d-pin .d-biz__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; }
html.d-pin .d-biz__head { position: absolute; z-index: 4; left: var(--side-padding); top: clamp(92px, 12svh, 120px); margin: 0; }
html.d-pin .d-biz__head .section-heading { margin-bottom: 0; }
html.d-pin .d-biz__count {
  display: flex;
  align-items: center;
  gap: 12px;
  position: absolute;
  z-index: 4;
  right: var(--side-padding);
  top: clamp(92px, 12svh, 120px);
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  letter-spacing: .1em;
}
html.d-pin .d-biz__count i { display: block; width: 72px; height: 1px; background: rgba(255, 255, 255, .3); position: relative; overflow: hidden; }
html.d-pin .d-biz__count i::after { content: ""; position: absolute; inset: 0; background: var(--color-accent-light); transform-origin: 0 50%; transform: scaleX(var(--bar, .33)); }
html.d-pin .d-act { position: absolute; inset: 0; display: block; margin: 0; max-width: none; visibility: hidden; }
html.d-pin .d-act.is-here { visibility: visible; }
html.d-pin .d-act__win {
  position: absolute;
  right: calc(var(--side-padding) + 72px);
  top: 50%;
  width: min(68svh, 42vw);
  height: min(68svh, 42vw);
  margin-top: calc(min(68svh, 42vw) / -2 + 3svh);
}
html.d-pin .d-act__text {
  position: absolute;
  z-index: 3;
  left: var(--side-padding);
  top: 50%;
  width: min(60vw, 900px);
  transform: translateY(-46%);
}
html.d-pin .d-act__en { font-size: clamp(3.2rem, 7.2vw, 7.8rem); }
html.d-pin .d-act__rest { max-width: min(33vw, 33em); }
.d-act__en, .d-act__h, .d-act__desc, .d-act__facts, .d-act .d-more { will-change: transform, opacity; }

/* Talents: each person steps out of the square. */
html.fx .d-tal { position: relative; height: 430svh; padding: 0; }
html.fx .d-tal__stage { position: sticky; top: 0; height: 100svh; overflow: hidden; background: #000; isolation: isolate; }
html.fx .d-tal__head { position: absolute; z-index: 8; left: var(--side-padding); top: clamp(92px, 12svh, 120px); margin: 0; }
html.fx .d-tal__head .section-heading { margin-bottom: 0; }
html.fx .d-t { position: absolute; inset: 0; display: block; margin: 0; visibility: hidden; --bw: min(66svh, 42vw); }
html.fx .d-t.is-here { visibility: visible; }
html.fx .d-t__box { position: absolute; left: 50%; bottom: 6svh; width: var(--bw); height: var(--bw); margin-left: calc(var(--bw) / -2); }
html.fx .d-t__bg, html.fx .d-t__frame { opacity: 0; will-change: opacity; }
html.fx .d-t__name {
  display: block;
  position: absolute;
  z-index: 2;
  left: 0;
  top: 45%;
  margin-top: -.6em;
  font-family: 'Cinzel', serif;
  font-weight: 500;
  font-size: clamp(8rem, 21vw, 24rem);
  line-height: 1.2;
  letter-spacing: .04em;
  white-space: nowrap;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(244, 208, 63, .85);
  will-change: transform;
}
/* The box makes no stacking context, so the name can pass between its background and the person. */
html.fx .d-t__bg, html.fx .d-t__frame { z-index: 1; }
html.fx .d-t__clip { z-index: 3; }
html.fx .d-t__p { transform: translate3d(-50%, 62%, 0); will-change: transform; }
html.fx .d-t__info {
  position: absolute;
  z-index: 6;
  left: var(--side-padding);
  bottom: clamp(36px, 8svh, 84px);
  width: calc(50% - var(--bw) / 2 - var(--side-padding) - 20px);
  min-width: 230px;
  opacity: 0;
  will-change: transform, opacity;
}

/* News, Company: appear as they arrive. */
html.fx .d-up { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
html.fx .d-up.is-in { opacity: 1; transform: none; }
html.fx .d-co dl > div::after { transform: scaleX(0); }
html.fx .d-co dl > div.is-in::after { transform: scaleX(1); }
.d-co__logo { will-change: transform; margin-top: 30px; width: min(100%, 280px); }

/* Contact: gold fills the screen from a square. */
html.fx .d-end { background: #000; min-height: 120svh; display: flex; align-items: center; justify-content: center; }
html.fx .d-end__sq {
  display: block;
  position: absolute;
  left: 50%;
  top: 50%;
  width: 160vmax;
  height: 160vmax;
  margin: -80vmax 0 0 -80vmax;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  transform: scale(.04);
  will-change: transform;
}
html.fx .d-end__in { opacity: 0; will-change: opacity, transform; }
/* While gold fills the screen the header turns black, or it would disappear into it. */
html.d-gold .nav.scrolled { background: none; }
html.d-gold .nav-link { color: #000; }
html.d-gold .logo-img { filter: none; }
html.d-gold .nav-toggle span { background: #000; }
html.d-gold .indicator-item { border-color: #000; }
html.d-gold .indicator-item.active { background: #000; box-shadow: none; }

@media (max-width: 900px) {
  .d-hero { --w: min(84vw, 50svh); --cy: 37%; }
  html.fx .d-side { position: absolute; left: 24px; right: 24px; width: auto; min-width: 0; text-align: left; }
  html.fx .d-side--l { bottom: auto; top: calc(var(--cy) + var(--w) / 2 + 46px); }
  html.fx .d-side--r { bottom: clamp(16px, 3svh, 30px); }
  .d-side__h { margin-bottom: 2px; }
  .d-side ul { display: flex; flex-direction: column; }
  .d-side li a { min-height: 44px; }
  html.fx .d-hero .hero-scroll { display: none; }
  html.fx .d-t { --bw: min(74vw, 42svh); }
  html.fx .d-t__box { bottom: auto; top: 16svh; margin-top: calc(var(--bw) * .16); }
  html.fx .d-t__name { top: 26svh; font-size: 34vw; -webkit-text-stroke-width: 1px; }
  html.fx .d-t__info { left: 24px; right: 24px; width: auto; bottom: clamp(14px, 3svh, 32px); }
  .d-t__sns { gap: 0 14px; }
  .d-t__sns a { font-size: .95rem; }
  .d-act__text { margin-top: 18px; }
}
@media (max-width: 900px) and (max-height: 700px) {
  html.fx .d-side--r { display: none; }
  html.fx .d-t__info h3 { font-size: 1.6rem; }
}
