@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/source-sans-3-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-serif-4-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Source Serif 4";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/source-serif-4-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Noto Serif JP";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/noto-serif-jp-two-glyphs.ttf") format("truetype");
  unicode-range: U+4E00, U+74B0;
}

:root {
  --navy: #0f3564;
  --navy-soft: #1b5393;
  --blue: #2692b6;
  --teal: #4fc3cd;
  --teal-ink: #2e8ba6;
  --turquoise: #7cd4d8;
  --interaction: #1487a8;
  --charcoal: #263b4b;
  --muted: #586f81;
  --paper: #f7fafb;
  --mist: #e6f2f2;
  --surface: #ffffff;
  --line: rgba(15, 53, 100, .13);
  --line-strong: rgba(15, 53, 100, .27);
  --font-display: "Source Serif 4", Georgia, serif;
  --font-body: "Source Sans 3", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --content-max: 1500px;
  --edge: clamp(1.2rem, 4vw, 4.5rem);
  --orbit-size: clamp(330px, 40vw, 610px);
  --ease: cubic-bezier(.22, .61, .16, 1);
  --fast: 180ms;
  --medium: 650ms;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  min-width: 280px;
  background: var(--paper);
  color-scheme: light;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100svh;
  color: var(--charcoal);
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), rgba(15, 53, 100, .04) 50%, transparent calc(50% + .5px)),
    radial-gradient(circle at 20% 44%, rgba(94, 191, 192, .12), transparent 30%),
    linear-gradient(112deg, var(--paper) 0 57%, var(--mist) 57% 100%);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, p, ul { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button { appearance: none; margin: 0; padding: 0; border: 0; color: inherit; background: none; font: inherit; cursor: pointer; }
svg { display: block; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: .75rem;
  left: .75rem;
  padding: .65rem .85rem;
  color: white;
  background: var(--navy);
  font-size: .78rem;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform var(--fast) ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 2px solid var(--turquoise);
  outline-offset: 4px;
  border-radius: 2px;
}

.page {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.site-header,
.site-footer {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--edge);
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--navy);
  text-decoration: none;
}
.brand__logo {
  /* Brand rules: horizontal gradient min 240px, horizontal solid min 180px.
     Gradient is used where there is room; below 900px the solid navy takes over
     because 240px would dominate a phone header. */
  width: clamp(15rem, 17vw, 17.5rem);   /* 240px - 280px */
  height: auto;
}
.brand__logo--gradient { display: block; }
.brand__logo--navy { display: none; }

.portal-utility {
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: .85rem;
  font-size: .75rem;
}
.portal-utility__context { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); letter-spacing: .04em; }
.status-dot { width: .38rem; height: .38rem; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(61, 153, 180, .12); }
.portal-link { color: var(--navy); letter-spacing: .08em; text-decoration: none; text-transform: uppercase; transition: color var(--fast) ease; }
.portal-link:hover, .portal-link:focus-visible { color: var(--teal-ink); }

main {
  width: min(100%, var(--content-max));
  margin-inline: auto;
  padding-inline: var(--edge);
}

.hero {
  min-height: calc(100svh - 154px);
  display: grid;
  grid-template-columns: minmax(470px, 1.08fr) minmax(390px, .92fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding-block: clamp(2.2rem, 6vh, 5.5rem);
}

.hero__visual {
  position: relative;
  min-width: 0;
  display: grid;
  justify-items: center;
  transition: transform 1.05s var(--ease);
}

.figure-label {
  justify-self: stretch;
  display: flex;
  align-items: center;
  gap: .8rem;
  color: var(--muted);
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.figure-label::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.figure-label span { color: var(--navy); }

.orbit {
  position: relative;
  width: var(--orbit-size);
  height: var(--orbit-size);
  isolation: isolate;
  animation: orbit-arrive .9s .1s var(--ease) both;
}

@keyframes orbit-arrive {
  from { opacity: .18; transform: scale(.965); }
  to { opacity: 1; transform: scale(1); }
}

.orbit__mark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 74%;
  height: 74%;
  overflow: visible;
  transform: translate(calc(-50% + var(--drift-x, 0px)), calc(-50% + var(--drift-y, 0px)));
  transition: transform 420ms var(--ease);
}

.network__edge,
.network__line,
.network__meridian,
.network__path {
  fill: none;
  stroke: var(--teal);
  stroke-width: .55;
  vector-effect: non-scaling-stroke;
  opacity: .19;
}
.network__path { stroke: var(--turquoise); stroke-dasharray: 2 4; opacity: .28; }
.network__path:first-of-type { animation: connection-flow 18s linear infinite; }
@keyframes connection-flow { to { stroke-dashoffset: -24; } }
.world-window { opacity: .24; transition: opacity var(--medium) var(--ease), filter var(--medium) var(--ease); }
.world-rotation {
  transform-box: view-box;
  transform-origin: 0 0;
  animation: world-turn 42s linear infinite;
}
@keyframes world-turn { to { transform: translateX(-220px); } }
.orbit.is-world-active .world-window { opacity: .7; filter: saturate(1.2); }
.orbit.is-world-active .network { opacity: .45; }

.enso-card-brush {
  opacity: .98;
  pointer-events: none;
}

.segment {
  opacity: 0;
  transition: opacity var(--fast) ease;
  pointer-events: none;
}
.segment__edge {
  fill: none;
  stroke: var(--interaction);
  stroke-width: 1.3;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  filter:
    drop-shadow(0 0 1px rgba(247, 250, 251, .96))
    drop-shadow(0 0 2.2px rgba(15, 53, 100, .34));
}
.segment.is-active { opacity: .94; }
.segment-hits path { fill: none; stroke: transparent; stroke-width: 22; pointer-events: stroke; cursor: pointer; }

.orbit__center {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  justify-items: center;
  color: var(--navy);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: opacity var(--medium) var(--ease), transform var(--medium) var(--ease);
}
.orbit__one {
  display: block;
  width: clamp(9.2rem, calc(var(--orbit-size) * .39), 14.25rem);
  height: auto;
}
.orbit__continuity { margin-top: .62rem; color: var(--teal); font-family: "Noto Serif JP", serif; font-size: .66rem; letter-spacing: .24em; }
.orbit.is-world-active .orbit__center { opacity: .18; transform: translate(-50%, -50%) scale(.9); }

.orbit__center-button {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 34%;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
.orbit__center-button:hover::after,
.orbit__center-button:focus-visible::after,
.orbit__center-button[aria-pressed="true"]::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(94, 191, 192, .58);
  border-radius: inherit;
}

.concepts { position: absolute; inset: 0; pointer-events: none; }
.concepts li { position: absolute; top: var(--top); left: var(--left); transform: translate(-50%, -50%); }
/* Concept positions. Declared here rather than as inline style attributes so the
   page satisfies `style-src 'self'` with no 'unsafe-inline'. Keyed by concept
   rather than DOM order, so reordering the list cannot relocate a label. */
.concepts .concept--energy     { --left: 50%; --top: 6%; }
.concepts .concept--ocean      { --left: 92%; --top: 27%; }
.concepts .concept--technology { --left: 92%; --top: 73%; }
.concepts .concept--trade      { --left: 50%; --top: 94%; }
.concepts .concept--ideas      { --left: 8%; --top: 73%; }
.concepts .concept--people     { --left: 8%; --top: 27%; }
.concept {
  pointer-events: auto;
  min-width: 44px;
  min-height: 44px;
  padding: .7rem;
  color: var(--muted);
  opacity: .48;
  font-size: clamp(.75rem, .84vw, .82rem);
  letter-spacing: .15em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color var(--fast) ease, opacity var(--fast) ease, font-weight var(--fast) ease;
}
.concept:hover, .concept:focus-visible, .concept.is-active { color: var(--navy); opacity: 1; font-weight: 600; }
.concept.is-active::after {
  content: "";
  display: block;
  width: 1.4rem;
  height: 1px;
  margin: .35rem auto 0;
  background: var(--turquoise);
}

.hero__copy {
  position: relative;
  max-width: 650px;
  padding-left: clamp(1.8rem, 4vw, 4rem);
  border-left: 1px solid var(--line);
  opacity: 1;
}
@keyframes copy-arrive {
  from { opacity: .12; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.page[data-phase="intro"] .hero__copy {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
}
.page[data-phase="engaged"] .hero__copy {
  visibility: visible;
  animation: copy-arrive .9s var(--ease) both;
}
.page[data-phase="intro"] .figure-label { opacity: 0; }
.figure-label { transition: opacity var(--medium) var(--ease); }

@media (min-width: 901px) {
  .page[data-phase="intro"] .hero__visual { transform: translateX(calc(50% + 1.5rem)); }
}

.eyebrow {
  margin-bottom: clamp(1.3rem, 3vh, 2.5rem);
  color: var(--teal-ink);
  font-size: .75rem;
  letter-spacing: .1em;
  line-height: 1.6;
  text-transform: uppercase;
}
.eyebrow span { padding-inline: .55rem; color: var(--line-strong); }

h1 {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(2.7rem, 4.55vw, 5.1rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.02em;
}
h1 span { display: block; }
.headline-line--emphasis { color: var(--teal-ink); }
.headline-line--connection { white-space: nowrap; }
.headline-line--statement { font-size: .84em; white-space: nowrap; }

.company-line {
  max-width: 51ch;
  margin-top: clamp(1.5rem, 3.6vh, 2.6rem);
  color: var(--charcoal);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  line-height: 1.65;
}

.concept-detail {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 1.2rem;
  min-height: 3rem;
  margin-top: clamp(1.4rem, 3vh, 2.2rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}
.concept-detail__index { color: var(--muted); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.concept-detail__copy {
  min-height: 2.7em;
  color: var(--navy-soft);
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1.35;
}

.invitation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: clamp(1.6rem, 4vh, 3rem);
  padding-top: 1.2rem;
  border-top: 1px solid var(--line-strong);
}
.invitation p { color: var(--navy); font-size: .875rem; font-weight: 600; letter-spacing: .01em; }
.connect {
  flex: 0 0 auto;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--turquoise);
  color: var(--navy);
  font-size: .75rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: color var(--fast) ease, border-color var(--fast) ease;
}
.connect:hover, .connect:focus-visible { color: var(--teal-ink); border-color: var(--navy); }

.contact-panel { margin-top: 1rem; padding: 1rem 1.1rem; border-left: 2px solid var(--turquoise); background: rgba(255,255,255,.64); }
.contact-panel[hidden] { display: none; }
.contact-panel > p { color: var(--muted); font-size: .8rem; }
.contact-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.2rem; margin-top: .6rem; }
.contact-panel__actions a { color: var(--navy); font-size: .9rem; text-underline-offset: .22rem; }
.contact-panel__actions button { color: var(--teal-ink); font-size: .72rem; letter-spacing: .09em; text-transform: uppercase; }

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .75rem;
}
.legal-identity,
.site-footer__meta { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.2rem; }
.site-footer a,
.site-footer button { color: var(--navy); text-decoration: none; }
.privacy-cue { display: inline-flex; align-items: center; gap: .4rem; }
.privacy-cue::before { content: ""; width: .3rem; height: .3rem; border-radius: 50%; background: var(--teal); }

@media (max-width: 1060px) {
  :root { --orbit-size: clamp(340px, 45vw, 500px); }
  .hero { grid-template-columns: minmax(400px, 1fr) minmax(350px, .88fr); gap: 3rem; }
  h1 { font-size: clamp(2.75rem, 5.4vw, 4.5rem); }
}

@media (max-width: 900px) {
  :root { --orbit-size: min(78vw, 440px); }
  body { background: radial-gradient(circle at 50% 30%, rgba(94,191,192,.12), transparent 32%), linear-gradient(168deg, var(--paper) 0 62%, var(--mist) 62% 100%); }
  .site-header { min-height: 68px; }
  .portal-utility__context { display: none; }
  .portal-utility { grid-template-columns: auto; }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding-block: 2.4rem 3.4rem;
  }
  .hero__visual { order: 1; }
  .hero__copy { order: 2; max-width: 620px; padding-left: 0; border-left: 0; }
  .figure-label { margin-bottom: .3rem; }
  h1 { font-size: clamp(3rem, 10.8vw, 4.8rem); }
  .site-footer { min-height: 96px; align-items: flex-start; flex-direction: column; justify-content: center; }
}

@media (max-width: 520px) {
  :root { --edge: 1.15rem; --orbit-size: min(76vw, 350px); }
  .site-header { gap: 1rem; }
  .brand__logo { width: 11.25rem; }   /* 180px — the solid minimum */
  .portal-link { font-size: .72rem; }
  .hero { gap: 1.9rem; padding-top: 1.6rem; }
  .figure-label { font-size: .72rem; }
  .concept { padding: .58rem .3rem; font-size: .7rem; letter-spacing: .09em; }
  .orbit__one { width: clamp(8.5rem, calc(var(--orbit-size) * .37), 13.5rem); }
  .eyebrow { margin-bottom: 1rem; font-size: .72rem; }
  h1 { font-size: clamp(2.45rem, 11.4vw, 3.8rem); line-height: 1.02; }
  .headline-line--statement { font-size: .78em; }
  .company-line { margin-top: 1.25rem; font-size: 1rem; line-height: 1.6; }
  .concept-detail { grid-template-columns: 1fr; gap: .45rem; }
  .concept-detail__copy { font-size: 1rem; }
  .invitation { align-items: flex-start; flex-direction: column; gap: .85rem; }
  .site-footer { padding-block: 1.25rem; }
  .site-footer__meta { gap: .55rem 1rem; }
}

@media (max-height: 680px) and (min-width: 901px) {
  :root { --orbit-size: min(65vh, 430px); }
  .hero { min-height: 560px; padding-block: 2.2rem; }
  h1 { font-size: clamp(2.6rem, 4.6vw, 4.1rem); }
  .company-line { margin-top: 1.3rem; }
  .concept-detail, .invitation { margin-top: 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .world-rotation { transform: none !important; }
}

@media (prefers-contrast: more) {
  :root { --muted: #40576a; --line: rgba(15, 53, 100,.3); --line-strong: rgba(15, 53, 100,.55); }
  .network__edge, .network__line, .network__meridian { opacity: .35; }
}

@media (max-width: 900px) {
  .brand__logo--gradient { display: none; }
  .brand__logo--navy { display: block; }
  .brand__logo { width: 11.25rem; }   /* 180px - the solid minimum */
}
