@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&family=Noto+Sans+JP:wght@400;500;600;700&display=swap');

:root {
  --navy: #071b33;
  --navy-2: #0b2d50;
  --blue: #2e78b9;
  --cyan: #7ed7e5;
  --ice: #edf6fa;
  --ink: #0c1f32;
  --muted: #617084;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Noto Sans JP", sans-serif; }
a { color: inherit; text-decoration: none; }

.site-header { height: 88px; padding: 0 4vw; display: flex; align-items: center; gap: 36px; position: absolute; inset: 0 0 auto; z-index: 10; color: white; }
.brand img { width: 158px; display: block; filter: brightness(0) invert(1); }
.desktop-nav { display: flex; gap: 30px; margin-left: auto; font-size: 14px; font-weight: 600; letter-spacing: .08em; }
.desktop-nav a { position: relative; padding: 10px 0; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 0; height: 1px; background: var(--cyan); transition: width .25s; }
.desktop-nav a:hover::after { width: 100%; }
.header-cta { border: 1px solid rgba(255,255,255,.55); border-radius: 999px; padding: 13px 22px; font-size: 13px; font-weight: 600; }

.hero { min-height: 760px; height: 100vh; position: relative; overflow: hidden; display: grid; align-items: center; padding: 110px 8vw 70px; color: white; background: radial-gradient(circle at 72% 35%, #174b78 0, #0b2d50 22%, #071b33 58%, #041426 100%); }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .14; background-image: linear-gradient(rgba(255,255,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.22) 1px, transparent 1px); background-size: 70px 70px; mask-image: linear-gradient(to right, transparent 5%, black 90%); }
.hero-content { position: relative; z-index: 2; max-width: 800px; }
.eyebrow, .section-kicker { font-family: Manrope, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .22em; color: var(--blue); }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { font-size: clamp(48px, 6.6vw, 94px); line-height: 1.25; letter-spacing: -.04em; margin: 24px 0 28px; font-weight: 600; }
.hero h1 span { color: #a8e7ef; }
.hero-copy { color: rgba(255,255,255,.8); font-size: clamp(15px, 1.35vw, 18px); line-height: 2; }
.hero-actions { display: flex; gap: 14px; margin-top: 42px; }
.button { min-width: 180px; padding: 16px 24px; border-radius: 999px; text-align: center; font-size: 14px; font-weight: 600; transition: .25s ease; }
.button-primary { background: white; color: var(--navy); }
.button-primary:hover { transform: translateY(-2px); background: var(--cyan); }
.button-outline { border: 1px solid rgba(255,255,255,.45); }
.button-outline:hover { border-color: white; transform: translateY(-2px); }
.hero-mark { position: absolute; right: 4vw; top: 50%; transform: translateY(-42%); width: min(46vw, 680px); pointer-events: none; }
.hero-mark img { width: 100%; display: block; filter: brightness(0) invert(1); opacity: .16; }
.hero-orbit { position: absolute; border: 1px solid rgba(126,215,229,.15); border-radius: 50%; }
.orbit-one { width: 72vw; height: 72vw; right: -35vw; top: -20vw; }
.orbit-two { width: 50vw; height: 50vw; right: -18vw; bottom: -30vw; }
.scroll-label { position: absolute; right: 3vw; bottom: 48px; font-family: Manrope, sans-serif; font-size: 10px; letter-spacing: .25em; writing-mode: vertical-rl; color: rgba(255,255,255,.6); }

.section-shell { max-width: 1180px; margin: 0 auto; padding: 120px 32px; }
.intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.intro h2, .strengths h2 { margin: 18px 0 0; font-size: clamp(34px, 4vw, 58px); line-height: 1.45; letter-spacing: -.03em; }
.intro-copy { padding-top: 42px; color: var(--muted); font-size: 16px; line-height: 2.15; }
.intro-copy p { margin: 0 0 24px; }

.strengths { background: var(--navy); color: white; position: relative; overflow: hidden; }
.strengths::after { content: ""; position: absolute; right: -6vw; bottom: 5vw; width: min(56vw, 820px); aspect-ratio: 5 / 1; background: url('/xenora-wordmark.png') center / contain no-repeat; filter: brightness(0) invert(1); opacity: .035; }
.light { color: white; }
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 60px; position: relative; z-index: 1; }
.strength-grid article { min-height: 290px; padding: 34px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.045); }
.strength-grid span { color: var(--cyan); font: 600 12px Manrope, sans-serif; letter-spacing: .15em; }
.strength-grid h3 { font-size: 24px; margin: 54px 0 18px; }
.strength-grid p { color: rgba(255,255,255,.68); line-height: 1.9; font-size: 14px; }

.site-footer { min-height: 160px; padding: 40px 4vw; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #dbe5eb; }
.site-footer img { width: 150px; }
.site-footer p { color: #8793a0; font: 11px Manrope, sans-serif; letter-spacing: .1em; }

@media (max-width: 860px) {
  .site-header { height: 72px; }
  .brand img { width: 128px; }
  .desktop-nav { display: none; }
  .header-cta { margin-left: auto; padding: 10px 16px; }
  .hero { min-height: 700px; padding: 100px 24px 60px; }
  .hero-mark { width: 94vw; right: -42vw; top: 48%; }
  .hero-mark img { opacity: .13; }
  .hero-actions { flex-direction: column; max-width: 250px; }
  .intro { grid-template-columns: 1fr; gap: 16px; }
  .intro-copy { padding-top: 0; }
  .section-shell { padding: 84px 24px; }
  .strength-grid { grid-template-columns: 1fr; }
  .strength-grid article { min-height: 230px; }
  .strength-grid h3 { margin-top: 34px; }
  .site-footer { gap: 24px; align-items: flex-start; flex-direction: column; }
}

/* Shared components and secondary pages */
body { overflow-x: hidden; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s ease; }
.reveal.visible { opacity: 1; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 28px; margin-top: 16px; color: var(--navy); font-weight: 600; }
.text-link span { color: var(--blue); transition: transform .25s; }
.text-link:hover span { transform: translateX(6px); }
.section-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
.section-heading h2, .service-lead h2, .message-section h2, .company-profile h2, .work-intro h2, .contact-side h2 { font-size: clamp(34px, 4vw, 58px); line-height: 1.45; letter-spacing: -.035em; margin: 18px 0 0; }
.circle-link { width: 112px; aspect-ratio: 1; flex: 0 0 auto; border: 1px solid #b8c7d2; border-radius: 50%; display: grid; place-items: center; text-align: center; font: 600 11px/1.55 Manrope, sans-serif; letter-spacing: .12em; transition: .25s; }
.circle-link:hover { color: white; background: var(--navy); border-color: var(--navy); transform: rotate(-8deg); }

.service-feature { margin-top: 80px; padding: 58px; display: grid; grid-template-columns: 170px 1fr; gap: 60px; background: var(--ice); }
.service-number { font: 500 86px/1 Manrope, sans-serif; color: #c6d9e5; }
.mini-label { font: 700 11px Manrope, sans-serif; letter-spacing: .18em; color: var(--blue); }
.service-feature h3 { margin: 18px 0; font-size: 28px; }
.service-feature p:last-child { max-width: 710px; color: var(--muted); line-height: 2; }
.work-band { min-height: 520px; padding: 100px max(8vw, 32px); display: grid; align-items: center; color: white; background: linear-gradient(130deg, #0c365d, #071b33 68%); }
.work-band > div:first-child { max-width: 720px; }
.work-band h2, .contact-cta h2 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1.45; margin: 18px 0 24px; }
.work-band p:not(.section-kicker) { color: rgba(255,255,255,.72); line-height: 2; margin-bottom: 34px; }
.contact-cta { min-height: 400px; padding: 80px max(8vw, 32px); display: flex; justify-content: space-between; align-items: center; gap: 50px; color: white; background: var(--blue); }

.site-footer { min-height: 260px; align-items: flex-end; background: white; }
.footer-brand img { width: 165px; }
.footer-brand p { color: var(--muted); margin: 14px 0 0; font-size: 12px; }
.footer-links { max-width: 410px; display: grid; grid-template-columns: repeat(3, auto); gap: 14px 28px; font-size: 12px; }
.footer-links a:hover { color: var(--blue); }
.copyright { align-self: flex-end; }

[data-route="inner"] .site-header { position: relative; background: var(--navy); }
.desktop-nav a[aria-current="page"]::after { width: 100%; }
.page-hero { height: 480px; padding: 0 max(8vw, 32px); display: flex; align-items: center; position: relative; overflow: hidden; color: white; background: linear-gradient(120deg, #071b33, #0c365d); }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px); background-size: 70px 70px; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-inner > p { font: 700 12px Manrope, sans-serif; color: var(--cyan); letter-spacing: .22em; }
.page-hero h1 { margin: 18px 0 24px; font-size: clamp(48px, 6vw, 78px); letter-spacing: -.04em; }
.page-hero-inner > span { color: rgba(255,255,255,.65); }
.page-hero-x { position: absolute; right: -2vw; bottom: -11vw; color: rgba(255,255,255,.035); font: 500 34vw/1 Manrope, sans-serif; }
.message-section, .work-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; }
.prose { color: var(--muted); line-height: 2.15; padding-top: 40px; }
.prose p { margin: 0 0 24px; }
.signature { color: var(--ink); font-weight: 600; text-align: right; margin-top: 46px !important; }
.values-section, .process, .case-section { background: var(--navy); color: white; }
.values-section h2, .process h2, .case-section h2 { margin: 18px 0 60px; font-size: clamp(34px, 4vw, 58px); }
.value-list article { min-height: 145px; display: grid; grid-template-columns: 100px 1fr; align-items: center; border-top: 1px solid rgba(255,255,255,.18); }
.value-list article:last-child { border-bottom: 1px solid rgba(255,255,255,.18); }
.value-list span { color: var(--cyan); font: 600 12px Manrope, sans-serif; }
.value-list h3 { margin: 0 0 10px; font-size: 25px; }.value-list p { margin: 0; color: rgba(255,255,255,.62); }
.company-profile { display: grid; grid-template-columns: .8fr 1.4fr; gap: 80px; }
.company-profile dl, .jobs-section dl { margin: 0; border-top: 1px solid #cad7df; }
.company-profile dl div, .jobs-section dl div { display: grid; grid-template-columns: 150px 1fr; padding: 24px 0; border-bottom: 1px solid #d7e1e7; }
.company-profile dt, .jobs-section dt { color: var(--muted); font-size: 13px; }.company-profile dd, .jobs-section dd { margin: 0; line-height: 1.8; }

.service-lead { text-align: center; max-width: 900px; }
.service-lead > p:last-child { max-width: 740px; margin: 28px auto 0; color: var(--muted); line-height: 2; }
.service-detail { max-width: 1040px; display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; border-top: 1px solid #d7e1e7; }
.service-detail.reverse { direction: rtl; }.service-detail.reverse > * { direction: ltr; }
.detail-index { color: #d4e1e8; font: 500 clamp(100px, 13vw, 170px)/.8 Manrope, sans-serif; }
.service-detail h2 { font-size: 40px; margin: 16px 0 24px; }.service-detail > div:last-child > p:not(.mini-label) { color: var(--muted); line-height: 2; }
.check-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check-list li { padding: 16px 16px 16px 44px; position: relative; background: var(--ice); font-size: 13px; }
.check-list li::before { content: ""; position: absolute; left: 18px; top: 20px; width: 10px; height: 5px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.process ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.16); }
.process li { padding: 30px; background: var(--navy); min-height: 230px; }.process li span { color: var(--cyan); font: 600 11px Manrope, sans-serif; }.process li h3 { margin-top: 48px; }.process li p { color: rgba(255,255,255,.62); font-size: 13px; line-height: 1.8; }

.work-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-top: 20px; }
.work-cards article { min-height: 270px; padding: 30px; background: var(--ice); }.work-cards span { color: var(--blue); font: 600 12px Manrope, sans-serif; }.work-cards h3 { margin: 60px 0 16px; font-size: 22px; }.work-cards p { color: var(--muted); font-size: 13px; line-height: 1.8; }
.case-card { padding: 48px; display: grid; grid-template-columns: 1fr 1.4fr; gap: 70px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }
.case-label { color: var(--cyan); font-size: 12px; }.case-card h3 { font-size: 28px; line-height: 1.6; }.case-card dl { margin: 0; }.case-card dl div { padding: 17px 0; display: grid; grid-template-columns: 90px 1fr; border-bottom: 1px solid rgba(255,255,255,.15); }.case-card dt { color: rgba(255,255,255,.5); font-size: 12px; }.case-card dd { margin: 0; line-height: 1.8; }

.button-dark { color: white; background: var(--navy); display: inline-block; }

.contact-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }.contact-side > p:not(.section-kicker) { color: var(--muted); line-height: 2; }.phone-card { margin-top: 38px; padding: 28px; background: var(--navy); color: white; }.phone-card span, .phone-card small { display: block; color: rgba(255,255,255,.58); font-size: 11px; }.phone-card a { display: block; margin: 12px 0; font: 500 clamp(26px, 3vw, 38px) Manrope, sans-serif; }.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 18px; }.contact-form label { display: grid; gap: 9px; font-size: 12px; font-weight: 600; }.contact-form label:nth-child(6), .privacy-check, .contact-form button, .form-note, .form-status { grid-column: 1 / -1; }.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid #bdccd6; border-radius: 0; padding: 14px; background: white; color: var(--ink); font: inherit; }.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid rgba(46,120,185,.25); border-color: var(--blue); }.privacy-check { display: flex !important; grid-template-columns: auto 1fr !important; align-items: center; font-weight: 400 !important; }.privacy-check input { width: auto; }.privacy-check a { text-decoration: underline; }.contact-form button { border: 0; cursor: pointer; justify-self: start; }.form-note { color: #8a651d; font-size: 11px; }.form-status { color: var(--blue); font-weight: 600; }
.email-card { margin-top: 12px; padding: 24px 28px; background: var(--ice); border: 1px solid #d7e4ea; }.email-card span { display: block; color: var(--muted); font-size: 11px; }.email-card a { display: inline-block; margin-top: 10px; color: var(--blue); font: 600 clamp(18px, 2vw, 25px) Manrope, sans-serif; }
.policy { max-width: 900px; color: var(--muted); line-height: 2; }.policy > p:first-child { font-size: 16px; color: var(--ink); }.policy section { padding: 34px 0; border-bottom: 1px solid #d6e1e7; }.policy h2 { color: var(--ink); font-size: 20px; }.policy a { color: var(--blue); }.policy-date { text-align: right; margin-top: 40px; }

.menu-button, .mobile-menu { display: none; }
@media (max-width: 860px) {
  .site-header { padding: 0 20px; }
  .header-cta { display: none; }
  .menu-button { margin-left: auto; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: transparent; display: grid; align-content: center; gap: 6px; }
  .menu-button span { width: 18px; height: 1px; margin: auto; background: white; transition: .25s; }
  .menu-open .menu-button span:first-child { transform: translateY(3.5px) rotate(45deg); }.menu-open .menu-button span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .mobile-menu { position: fixed; inset: 72px 0 0; z-index: 9; padding: 45px 26px; color: white; background: rgba(7,27,51,.985); }
  .mobile-menu[aria-hidden="false"] { display: block; }.mobile-menu nav { display: grid; }.mobile-menu a { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px; }
  .menu-open { overflow: hidden; }
  .service-feature, .work-band, .message-section, .work-intro, .company-profile, .service-detail, .service-detail.reverse, .case-card, .contact-section { grid-template-columns: 1fr; gap: 38px; direction: ltr; }
  .service-feature { padding: 32px 24px; }.service-number { font-size: 56px; }.circle-link { width: 90px; }
  .work-band { min-height: 460px; padding: 80px 24px; }
  .contact-cta { padding: 70px 24px; flex-direction: column; align-items: flex-start; }
  .site-footer { padding: 48px 24px; }.footer-links { grid-template-columns: 1fr 1fr; }.copyright { align-self: flex-start; }
  .page-hero { height: 370px; padding: 0 24px; }.page-hero-inner > span { display: block; max-width: 290px; line-height: 1.8; }
  .prose { padding-top: 0; }.value-list article { grid-template-columns: 55px 1fr; padding: 25px 0; }.company-profile dl div { grid-template-columns: 1fr; gap: 8px; }
  .check-list { grid-template-columns: 1fr; }.process ol, .work-cards { grid-template-columns: 1fr; }.process li { min-height: 190px; }.case-card { padding: 28px 22px; }.case-card dl div { grid-template-columns: 70px 1fr; }
  .contact-form { grid-template-columns: 1fr; }.contact-form label { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
