/*
 * Design system: Executive Editorial.
 * Ink navy, warm white, and restrained brass create a quiet, precise atmosphere
 * that signals high-trust management consulting rather than generic AI services.
 */

:root {
  --ink: #0a182e;
  --ink-deep: #06111f;
  --ink-quiet: #132a4a;
  --paper: #f6f3ec;
  --paper-soft: rgba(246, 243, 236, 0.72);
  --paper-faint: rgba(246, 243, 236, 0.16);
  --brass: #c18a56;
  --brass-light: #dfb780;
  --brass-dark: #a76e3d;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --page-gutter: 19px;
  --jp-sans: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", Meiryo, sans-serif;
  --latin-sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--ink-deep); scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  background: var(--ink-deep);
  color: var(--paper);
  font-family: var(--jp-sans);
  font-feature-settings: "palt" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  background: var(--ink);
}

.hero::before {
  position: absolute;
  z-index: -4;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 94% 7%, rgba(193, 138, 86, 0.11), transparent 30%),
    radial-gradient(circle at 34% 100%, rgba(61, 103, 145, 0.14), transparent 42%),
    linear-gradient(124deg, var(--ink-deep), var(--ink) 62%, #102b4d);
}

.hero__texture {
  position: absolute;
  z-index: -3;
  inset: 0;
  opacity: 0.32;
  background-image: radial-gradient(rgba(246, 243, 236, 0.32) 0.5px, transparent 0.5px);
  background-size: 5px 5px;
  mask-image: linear-gradient(118deg, rgba(0, 0, 0, 0.8), transparent 68%);
}

.hero__frame {
  position: absolute;
  z-index: -1;
  top: 18px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  border: 1px solid var(--paper-faint);
  pointer-events: none;
}

.hero__eyebrow-line {
  position: absolute;
  z-index: 1;
  top: 90px;
  right: 0;
  width: 41vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass));
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  padding: 24px var(--page-gutter) 0;
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.93;
}
.brand__label {
  color: var(--paper);
  font-family: var(--latin-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.115em;
  white-space: nowrap;
}
.brand__node { width: 6px; height: 6px; margin-left: 1px; border-radius: 50%; background: var(--brass-light); box-shadow: 0 0 0 3px rgba(223, 183, 128, 0.12); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  border-bottom: 1px solid var(--brass);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: border-color 160ms var(--ease-out), color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.header-cta__arrow { color: var(--brass-light); font-family: var(--latin-sans); font-size: 17px; line-height: 1; }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: 100%;
  max-width: 1480px;
  min-height: 748px;
  margin: 0 auto;
  padding: 66px var(--page-gutter) 100px;
}
.hero__content { position: relative; z-index: 2; max-width: 730px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--brass-light);
  font-family: var(--latin-sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
}
.eyebrow::before { width: 17px; height: 1px; content: ""; background: currentColor; }

.hero__title {
  margin: 0;
  font-family: var(--jp-sans);
  font-size: clamp(24px, 6.55vw, 57px);
  font-weight: 900;
  letter-spacing: -0.098em;
  line-height: 1.3;
}
.hero__title-line { display: block; white-space: nowrap; }
.hero__title-line--accent { color: var(--brass-light); }

.hero__lead {
  max-width: 540px;
  margin: 23px 0 0;
  color: var(--paper-soft);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.95;
}

.hero__mobile-visual {
  position: relative;
  display: block;
  height: 137px;
  margin: 27px 0 0;
  overflow: hidden;
  border: 1px solid rgba(246, 243, 236, 0.26);
  background: #162b3d;
}
.hero__mobile-visual::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(6, 17, 31, 0.43), rgba(6, 17, 31, 0.02));
}
.hero__mobile-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 65% center;
  filter: saturate(0.76) contrast(1.02);
}
.hero__mobile-visual figcaption {
  position: absolute;
  z-index: 1;
  bottom: 11px;
  left: 13px;
  margin: 0;
  padding-left: 9px;
  border-left: 1px solid var(--brass-light);
  color: var(--paper);
  font-family: var(--latin-sans);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.hero__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; margin-top: 29px; }
.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 61px;
  padding: 13px 17px 13px 20px;
  background: var(--brass);
  color: #17120e;
  box-shadow: 0 12px 23px rgba(0, 0, 0, 0.2);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  transition: background 160ms var(--ease-out), box-shadow 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.primary-cta__arrow, .sticky-cta__arrow {
  display: grid;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(23, 18, 14, 0.45);
  border-radius: 50%;
  font-family: var(--latin-sans);
  font-size: 18px;
}
.secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(246, 243, 236, 0.34);
  padding-bottom: 6px;
  color: var(--paper);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero__cta-note { margin: 14px 0 0; color: rgba(246, 243, 236, 0.55); font-size: 10px; line-height: 1.7; }

.proof-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 43px 0 0;
}
.proof-points__item { min-width: 0; border-top: 1px solid rgba(246, 243, 236, 0.38); padding-top: 11px; }
.proof-points dt { color: var(--brass-light); font-family: var(--latin-sans); font-size: 10px; font-weight: 700; letter-spacing: 0.11em; }
.proof-points dd { margin: 7px 0 0; color: rgba(246, 243, 236, 0.87); font-size: 9px; font-weight: 600; line-height: 1.63; }

.hero__visual {
  position: relative;
  display: none;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(246, 243, 236, 0.2);
  background: #162b3d;
}
.hero__visual::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(10, 24, 46, 0.67), rgba(10, 24, 46, 0.08) 52%, rgba(10, 24, 46, 0.15));
  pointer-events: none;
}
.hero__visual::after {
  position: absolute;
  z-index: 2;
  top: 10%;
  right: 11%;
  width: 1px;
  height: 54%;
  content: "";
  background: linear-gradient(var(--brass-light), transparent);
  opacity: 0.7;
}
.hero__visual-image { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 66% center; filter: saturate(0.73) contrast(1.02); }
.hero-path { position: absolute; z-index: 3; inset: 0; pointer-events: none; }
.hero-path__line { position: absolute; height: 1px; transform-origin: left center; background: rgba(246, 243, 236, 0.6); }
.hero-path__line--one { top: 28%; right: 14%; width: 31%; transform: rotate(58deg); }
.hero-path__line--two { top: 58%; right: 14%; width: 20%; transform: rotate(-49deg); }
.hero-path__node { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--paper); }
.hero-path__node--one { top: 27%; right: 42%; }
.hero-path__node--two { top: 58%; right: 14%; }
.hero-path__node--decision { top: 43%; right: 25%; width: 9px; height: 9px; background: var(--brass-light); box-shadow: 0 0 0 7px rgba(223, 183, 128, 0.12); }
.place-note {
  position: absolute;
  z-index: 3;
  right: 10%;
  bottom: 10%;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  color: var(--paper);
}
.place-note__line { width: 30px; height: 1px; margin-top: 11px; background: var(--brass-light); }
.place-note p { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: -0.055em; line-height: 1.42; }

.hero__footer {
  position: absolute;
  right: var(--page-gutter);
  bottom: 22px;
  left: var(--page-gutter);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--paper-faint);
  padding-top: 12px;
}
.hero__footer p { max-width: 570px; margin: 0; color: rgba(246, 243, 236, 0.54); font-size: 10px; line-height: 1.7; }
.hero__footer a { display: inline-flex; gap: 6px; color: var(--brass-light); font-family: var(--latin-sans); font-size: 8px; font-weight: 700; letter-spacing: 0.11em; white-space: nowrap; }

.sticky-cta {
  position: fixed;
  z-index: 20;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom));
  left: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 59px;
  padding: 9px 13px 9px 16px;
  transform: translateY(calc(100% + 30px));
  background: var(--brass);
  color: #17120e;
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: transform 240ms var(--ease-out), opacity 180ms var(--ease-out);
}
.sticky-cta.is-visible { transform: translateY(0); opacity: 1; pointer-events: auto; }
.sticky-cta__eyebrow { display: none; font-family: var(--latin-sans); font-size: 8px; font-weight: 700; letter-spacing: 0.1em; }
.sticky-cta__label { flex: 1; font-size: 13px; font-weight: 900; }

.hero__reveal { opacity: 0; transform: translateY(12px); animation: hero-reveal 570ms var(--ease-out) forwards; }
.hero__reveal--1 { animation-delay: 70ms; }
.hero__reveal--2 { animation-delay: 120ms; }
.hero__reveal--3 { animation-delay: 175ms; }
.hero__reveal--4 { animation-delay: 230ms; }
.hero__reveal--5 { animation-delay: 285ms; }
.hero__reveal--6 { animation-delay: 340ms; }
.hero__reveal--7 { animation-delay: 400ms; }
.hero__reveal--8 { animation-delay: 465ms; }
@keyframes hero-reveal { to { opacity: 1; transform: translateY(0); } }

@media (min-width: 640px) {
  :root { --page-gutter: 40px; }
  .site-header { padding-top: 30px; }
  .brand__mark { width: 41px; height: 41px; }
  .brand__label { font-size: 10px; }
  .header-cta { font-size: 12px; }
  .hero__grid { min-height: 790px; padding-top: 83px; }
  .hero__title { font-size: 41px; }
  .hero__lead { font-size: 16px; }
  .hero__mobile-visual { height: 180px; }
  .primary-cta { width: auto; min-width: 365px; }
  .proof-points { max-width: 540px; gap: 20px; }
  .proof-points dd { font-size: 11px; }
  .sticky-cta { right: 24px; left: auto; width: 360px; }
  .sticky-cta__eyebrow { display: block; }
  .sticky-cta__label { font-size: 12px; }
}

@media (min-width: 1024px) {
  :root { --page-gutter: 56px; }
  .hero { min-height: 810px; }
  .hero__frame { top: 28px; right: 28px; bottom: 28px; left: 28px; }
  .hero__eyebrow-line { top: 108px; }
  .site-header { padding-top: 39px; }
  .hero__grid {
    grid-template-columns: minmax(590px, 1.12fr) minmax(430px, 0.88fr);
    align-items: center;
    gap: 5.7vw;
    min-height: 700px;
    padding-top: 56px;
    padding-bottom: 62px;
  }
  .hero__content { padding: 42px 0 10px; }
  .eyebrow { margin-bottom: 25px; }
  .hero__title { font-size: clamp(45px, 3.7vw, 57px); line-height: 1.27; }
  .hero__lead { margin-top: 28px; }
  .hero__mobile-visual { display: none; }
  .hero__actions { margin-top: 34px; }
  .proof-points { margin-top: 58px; }
  .hero__visual { display: block; }
  .hero__footer { right: 56px; bottom: 41px; left: 56px; padding-top: 16px; }
  .hero__footer p { font-size: 11px; }
  .hero__footer a { font-size: 9px; }
}

@media (min-width: 1280px) {
  .hero__grid { gap: 7vw; }
  .hero__title { font-size: clamp(50px, 4vw, 60px); }
}

@media (hover: hover) {
  .header-cta:hover { border-color: var(--brass-light); color: var(--brass-light); }
  .primary-cta:hover { background: var(--brass-light); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25); transform: translateY(-2px); }
  .secondary-link:hover { border-color: var(--brass-light); color: var(--brass-light); }
  .sticky-cta:hover { background: var(--brass-light); }
}
.header-cta:active, .primary-cta:active, .sticky-cta:active { transform: scale(0.97); }
.header-cta:focus-visible, .primary-cta:focus-visible, .secondary-link:focus-visible, .sticky-cta:focus-visible, .brand:focus-visible { outline: 2px solid var(--brass-light); outline-offset: 4px; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__reveal { transform: none; animation: none; opacity: 1; }
  .sticky-cta, .primary-cta, .header-cta, .secondary-link { transition: none; }
}
@media (max-width: 389px) {
  :root { --page-gutter: 16px; }
  .hero__title { font-size: 23px; }
  .hero__lead { font-size: 12px; }
  .primary-cta { font-size: 12px; }
  .proof-points dd { font-size: 8px; }
}
