:root {
  --brand: #075b63;
  --deep: #071e21;
  --dark: #202728;
  --ink: #112325;
  --muted: #475b5d;
  --line: #cbd8d8;
  --mist: #edf3f3;
  --white: #fff;
  --light-accent: #75d9cf;
  --display: "Geist", "Helvetica Neue", Arial, sans-serif;
  --body: "Hiragino Sans", "Yu Gothic", Meiryo, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; color: var(--ink); background: var(--white); font: 15px/1.9 var(--body); }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
p + p { margin-top: 1em; }
a { color: inherit; text-underline-offset: .24em; }
img { display: block; width: 100%; object-fit: cover; }
button, input, textarea, select { font: inherit; }
:focus-visible { outline: 3px solid #36a69d; outline-offset: 5px; }
.wrap { width: min(1320px, calc(100% - clamp(36px, 10vw, 144px))); margin-inline: auto; }
.skip { position: fixed; z-index: 20; top: 8px; left: 12px; padding: 6px 14px; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: var(--deep); color: white; border-bottom: 1px solid #ffffff29; }
.header-inner, .footer-inner, .banner-inner, .site-nav, .link-row { display: flex; align-items: center; }
.header-inner { min-height: 76px; justify-content: space-between; gap: 20px; }
.brand { font: 750 clamp(22px, 2.4vw, 34px)/.95 var(--display); letter-spacing: -.07em; text-decoration: none; white-space: nowrap; }
.brand small { display: block; margin-top: 9px; font: 500 9px/1 var(--body); letter-spacing: .12em; }
.brand-dot, .dark h1 span, .dark .display span, .charcoal .display span { color: var(--light-accent); }
.site-nav, .site-footer nav { gap: clamp(14px, 2.5vw, 38px); }
.site-nav a, .site-footer nav a { font: 650 12px/1.3 var(--display); letter-spacing: .075em; text-decoration: none; }
.site-nav a:hover, .site-footer a:hover { color: var(--light-accent); }
.nav-recruit { padding: .9em 1.05em; border: 1px solid #ffffff70; }
.nav-recruit[aria-current] { background: var(--light-accent); color: var(--deep); }
.menu-toggle { display: none; }
.dark { background: var(--deep); color: white; }
.charcoal { background: var(--dark); color: white; }
.subtle { background: var(--mist); }
.hero-grid { display: grid; grid-template-columns: 1.03fr 1fr; align-items: center; min-height: clamp(520px, 72vh, 820px); gap: 1.5rem; padding-block: 42px; }
.hero-copy { position: relative; z-index: 1; }
.hero h1 { margin-block: .16em .32em; font: 780 clamp(64px, 8.25vw, 134px)/.86 var(--display); letter-spacing: -.075em; width: max-content; max-width: calc(100vw - 36px); }
.eyebrow { font-size: .76rem; font-weight: 700; letter-spacing: .12em; }
.hero .eyebrow { color: #9de6de; }
.hero-ja { font-size: clamp(15px, 1.5vw, 22px); font-weight: 650; letter-spacing: .05em; }
.hero-image { height: clamp(400px, 62vh, 710px); overflow: hidden; background: var(--brand); }
.hero-image img { height: 100%; }
.hero .button { margin-top: 27px; }
.button { display: inline-flex; align-items: center; gap: 1.35em; justify-content: space-between; min-height: 48px; padding: .62rem 1.15rem; font-weight: 680; text-decoration: none; border: 1px solid currentColor; }
.light-outline { color: white; }
.light-outline:hover { color: var(--deep); background: var(--light-accent); border-color: var(--light-accent); }
.section { padding-block: clamp(60px, 9vw, 128px); }
.section-heading { margin-bottom: clamp(24px, 4vw, 52px); }
.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(24px, 6vw, 90px); align-items: start; }
.display { font: 760 clamp(48px, 7.3vw, 108px)/.91 var(--display); letter-spacing: -.075em; overflow-wrap: anywhere; }
.display span { color: var(--brand); }
.section-ja { margin-top: .85rem; font-weight: 700; letter-spacing: .08em; }
.split header > p + p { margin-top: 1.1em; }
h3 { font-size: clamp(17px, 2vw, 25px); line-height: 1.5; }
h3 + p, h4 + p { margin-top: .55em; }
.prose h3 { font-size: clamp(24px, 3vw, 40px); }
.prose h4 { margin-top: 1.8em; }
.business-grid, .team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.business-card { overflow: hidden; background: #123538; }
.business-card > img, .graphic-panel { height: clamp(168px, 24vw, 330px); }
.graphic-panel { display: grid; overflow: hidden; position: relative; place-items: center; background: var(--brand); }
.graphic-panel span { font: 750 clamp(100px, 16vw, 240px)/1 var(--display); letter-spacing: -.095em; color: #a4e1db; }
.graphic-panel i { position: absolute; inset: 10%; border: 1px solid #a4e1db66; }
.card-copy, .team { padding: clamp(21px, 4vw, 48px); }
.card-copy .eyebrow, .team-role { color: var(--light-accent); }
.card-copy h3 { margin-top: .25em; }
.card-copy .catch { font-weight: 700; }
.card-copy p + p { margin-top: .45em; }
.text-link { display: inline-block; margin-top: .9em; font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }
.link-row { flex-wrap: wrap; gap: 10px 24px; }
.work-list a { display: flex; justify-content: space-between; align-items: center; gap: 1em; padding-block: 1.15em; text-decoration: none; border-top: 1px solid var(--line); }
.work-list a:last-child { border-bottom: 1px solid var(--line); }
.work-list a:hover h3 { text-decoration: underline; }
.work-list time { color: var(--brand); font: 700 .8rem var(--display); }
.details > div { display: grid; grid-template-columns: minmax(72px, .35fr) 1fr; gap: 12px; padding: 1em 0; border-top: 1px solid var(--line); }
.details > div:last-child { border-bottom: 1px solid var(--line); }
.details dt { font-weight: 700; }
.recruit-banner { padding-block: clamp(42px, 6vw, 76px); }
.banner-inner { justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.banner-inner p { margin-top: .65em; }
.site-footer { background: var(--deep); color: white; padding-block: 30px; }
.footer-inner { justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; flex-wrap: wrap; }
.top-contact-form { padding: clamp(16px, 3vw, 32px); background: white; position: relative; }
.top-form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.top-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.top-form-field { display: block; font-size: .87rem; font-weight: 700; margin-bottom: .9rem; }
.top-form-field em { font-size: .73rem; font-style: normal; color: var(--brand); }
.top-form-field :is(input, select, textarea) { display: block; width: 100%; min-width: 0; margin-top: 4px; border: 1px solid #849a9b; background: #f6f9f9; color: var(--ink); border-radius: 0; padding: .52rem .65rem; font-weight: 500; }
.top-form-field textarea { min-height: 115px; resize: vertical; }
.top-contact-submit { border: 0; color: white; background: var(--brand); padding: .75rem 1.15rem; cursor: pointer; font-weight: 700; }
.top-contact-submit:hover { background: var(--deep); }
.top-contact-submit:disabled { opacity: .7; cursor: wait; }
.top-contact-status:not(:empty) { margin-top: .6em; }
.top-contact-status.is-success { color: var(--brand); }
.top-contact-status.is-error { color: #9a2828; }
.recruit-nav { padding-block: 14px; background: var(--mist); font-size: .87rem; font-weight: 700; }
.team { border: 1px solid #ffffff49; }
.team-role, .section-note { font-size: .86rem; }
.section-note { margin-top: 1.2em; }
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 0; margin: 26px 0 36px; list-style: none; counter-reset: step; }
.roadmap li { background: var(--mist); padding: 22px; counter-increment: step; }
.roadmap li::before { content: "0" counter(step); display: block; margin-bottom: .5em; color: var(--brand); font: 750 1.45em var(--display); }
#apply .button { margin-top: 1.2em; }
@media (prefers-reduced-motion: no-preference) {
  .reveal.is-waiting { opacity: 0; transform: translateY(14px); }
  .reveal { transition: opacity .55s ease, transform .55s ease; }
  .reveal:focus-within { opacity: 1; transform: none; }
}
@media (max-width: 860px) {
  .header-inner { flex-wrap: wrap; padding-block: 16px; }
  .site-nav { flex-wrap: wrap; }
  .has-menu .menu-toggle { display: block; color: white; background: transparent; border: 1px solid #ffffff70; padding: .36em .75em; }
  .has-menu .site-nav { display: none; width: 100%; }
  .has-menu .site-nav.is-open { display: flex; }
  .hero-grid { min-height: auto; padding-block: 54px; }
  .hero-image { height: clamp(238px, 49vw, 405px); }
}
@media (max-width: 620px) {
  .hero-grid, .split, .business-grid, .team-grid, .roadmap { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; padding-block: 42px 22px; }
  .hero h1 { font-size: clamp(42px, 13vw, 78px); }
  .hero-image { height: clamp(190px, 64vw, 330px); }
  .business-card > img, .graphic-panel { height: clamp(175px, 55vw, 310px); }
  .top-form-grid { grid-template-columns: 1fr; gap: 0; }
}

/* Home */
:is(.home-page, .recruit-page) .site-header {
  background: #0b1426;
  color: #f6fbfb;
  border-bottom: 1px solid #ffffff20;
}
:is(.home-page, .recruit-page) .header-inner { min-height: 70px; }
:is(.home-page, .recruit-page) .site-header .brand { font-size: clamp(21px, 2vw, 29px); }
:is(.home-page, .recruit-page) .site-header .brand-dot,
:is(.home-page, .recruit-page) .site-nav a:hover { color: #83e4d4; }
:is(.home-page, .recruit-page) .site-nav a { font-weight: 600; }
:is(.home-page, .recruit-page) .nav-recruit { border-color: #ffffff60; border-radius: 999px; }
.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(122deg, #0b1426 24%, #102237 80%, #12373f);
  color: #f6fbfb;
}
.home-hero::before,
.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
}
.home-hero::before {
  width: max(52vw, 500px);
  aspect-ratio: 1.35;
  top: -58%;
  right: -13%;
  border-radius: 34% 54% 44% 61%;
  transform: rotate(-35deg);
  background: linear-gradient(138deg, #075b63 24%, #168d83 72%, #4ab7a0);
  box-shadow: 0 32px 0 16px #0c67676b, 0 72px 0 38px #0a505947;
}
.home-hero::after {
  inset: auto 0 0;
  height: clamp(38px, 6vw, 88px);
  background: linear-gradient(transparent, #fff);
}
.home-hero-inner {
  padding-block: clamp(78px, 10vw, 148px) clamp(112px, 13vw, 186px);
}
.home-hero .eyebrow { color: #91e4d5; letter-spacing: .2em; }
.home-hero h1 {
  margin-block: .24em .36em;
  font: 650 clamp(38px, 8.1vw, 126px)/.94 var(--display);
  letter-spacing: -.065em;
}
.home-hero h1 span { color: #83e4d4; }
.home-hero-lead {
  max-width: 38em;
  color: #e0ecf0;
  font-size: clamp(14px, 1.25vw, 17px);
  line-height: 1.9;
}
.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  margin-top: clamp(24px, 3vw, 42px);
}
.home-hero-actions .button { font-size: .875rem; border-radius: 999px; }
.home-primary { background: #fff; border-color: #fff; color: #0b1426; }
.home-primary:hover { background: #c7eee7; border-color: #c7eee7; }
.home-secondary { color: #fff; border-color: #ffffff80; }
.home-secondary:hover { background: #ffffff20; border-color: #fff; }
.home-page .business { background: #f5f8f8; }
.home-page .business-card {
  background: #fff;
  border: 1px solid #dbe7e5;
}
.home-page .card-copy .eyebrow,
.home-page .card-copy .text-link { color: var(--brand); }
.home-page .graphic-panel { background: #dcecea; }
.home-page .graphic-panel span { color: var(--brand); }
.home-page .graphic-panel i { border-color: #91b5b0; }
@media (max-width: 860px) {
  :is(.home-page, .recruit-page).has-menu .menu-toggle {
    color: #f6fbfb;
    border-color: #ffffff60;
  }
}
@media (max-width: 460px) {
  .home-hero-inner { padding-block: 72px 96px; }
  .home-hero::before { top: -64%; right: -73%; opacity: .8; }
  .home-hero h1 { font-size: clamp(31px, 9.1vw, 43px); }
}

/* Careers */
.recruit-hero {
  background:
    linear-gradient(90deg, #0b1426 8%, #0b1426 28%, #0b1426e8 43%, #0c4249a6 72%, #075b6373),
    url("/assets/business/bizeal-support-photo.jpg") right 46% / cover no-repeat,
    #0b1426;
}
.recruit-hero::before { opacity: .24; }
.recruit-hero::after { background: linear-gradient(transparent, var(--mist)); }
.recruit-hero .home-hero-inner { padding-block: clamp(88px, 12vw, 168px) clamp(110px, 13vw, 182px); }
@media (max-width: 620px) {
  .recruit-hero {
    background-image:
      linear-gradient(90deg, #0b1426f5 0%, #0b1426db 31%, #10333c8c),
      url("/assets/business/bizeal-support-photo.jpg");
    background-position: center, 62% center;
  }
  .recruit-hero .home-hero-inner { padding-block: 78px 112px; }
  .recruit-hero h1 { font-size: clamp(54px, 14vw, 82px); }
}

.service-summary { list-style: none; margin: 0; padding: 0; }
.service-summary li { padding-block: 1rem; border-top: 1px solid var(--line); }
.service-summary li:last-child { border-bottom: 1px solid var(--line); }
.service-summary p { margin-top: .2rem; color: var(--muted); }
