:root{--white:#FFFFFF;--off:#F6FAFB;--navy:#063F52;--blue:#5F7480;--line:#D8E7EB;--gold:#008FA3;--text:#123746;--sub:#5F7480;--main-teal:#006F86;--teal:#008FA3;--light-teal:#3BAFC1;--pale-blue-gray:#EEF5F7;--danger:#B42318;--container:1120px;--radius:18px;--radius-sm:10px;--shadow:0 18px 50px rgba(6,63,82,.10);--space:clamp(64px,8vw,112px);--header:76px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--text);font-family:"Inter","Noto Sans JP",sans-serif;font-size:16px;line-height:1.85;background:var(--white)}
a{color:inherit;text-decoration:none}
img{max-width:100%;width:100%;height:100%;object-fit:cover;display:block}
button,input,textarea,select{font:inherit}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid rgba(0,143,163,.4);outline-offset:3px}
.skip-link{position:absolute;left:16px;top:-60px;z-index:100;padding:10px 16px;background:var(--navy);color:#fff;border-radius:999px}
.skip-link:focus{top:16px}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.container{width:min(calc(100% - 40px),var(--container));margin-inline:auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:blur(14px);border-bottom:1px solid rgba(216,231,235,.85);transition:box-shadow .2s}
.site-header.is-scrolled{box-shadow:0 10px 28px rgba(6,63,82,.08)}
.header-inner{height:var(--header);display:flex;align-items:center;justify-content:space-between;gap:24px}
.logo{display:inline-flex;width:clamp(112px,10vw,138px);max-width:32vw;height:36px;align-items:center;color:var(--navy)}
.logo img{width:100%;height:100%;object-fit:contain;object-position:left center}
.nav-list{display:flex;align-items:center;gap:6px;margin:0;padding:0;list-style:none}
.nav-link{display:inline-flex;min-height:44px;align-items:center;padding:8px 13px;border-radius:999px;color:var(--blue);font-weight:700;font-size:.92rem}
.nav-link:hover,.nav-link[aria-current=page]{color:var(--navy);background:var(--off)}
.nav-link.contact-link{background:var(--navy);color:#fff;padding-inline:18px}
.menu-button{display:none;min-width:44px;min-height:44px;border:1px solid var(--line);background:#fff;border-radius:999px;color:var(--navy)}
.hero,.page-hero{padding:clamp(54px,8vw,104px) 0;background:linear-gradient(135deg,#FFFFFF 0%,#F6FAFB 56%,#EEF5F7 100%);overflow:hidden}
.hero-grid,.split-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(34px,5vw,72px);align-items:center}
.eyebrow{font-size:.78rem;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--blue);margin:0 0 10px}
.hero h1,.page-hero h1{font-size:clamp(2.1rem,5vw,4.7rem);line-height:1.16;letter-spacing:-.05em;margin:0;color:var(--navy)}
h1,h2,h3{text-wrap:balance;word-break:auto-phrase;overflow-wrap:normal;line-break:strict}
.lead,.cta p{text-wrap:balance;overflow-wrap:anywhere}
.lead{font-size:clamp(1.02rem,1.4vw,1.16rem);color:var(--blue);margin:24px 0 0}
.button-row{display:flex;gap:14px;flex-wrap:wrap;margin-top:34px}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:12px 22px;border-radius:999px;border:1px solid var(--navy);background:var(--navy);color:#fff;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.button.secondary{background:#fff;color:var(--navy);border-color:var(--line)}
.button:hover{transform:translateY(-1px);box-shadow:0 12px 26px rgba(6,63,82,.14)}
.image-frame{position:relative;overflow:hidden;border-radius:var(--radius);min-height:280px;background:linear-gradient(135deg,#EEF5F7 0%,#D8E7EB 48%,#E7F5F6 100%);box-shadow:var(--shadow)}
.hero .image-frame{min-height:520px}
.section{padding:var(--space) 0}
.section.alt{background:var(--off)}
.section-head{max-width:900px;margin-bottom:42px}
.section h2{font-size:clamp(1.8rem,3vw,3rem);line-height:1.25;letter-spacing:-.04em;color:var(--navy);margin:0 0 14px}
.section h3{line-height:1.45;color:var(--navy);margin:0 0 12px}
.card h3{word-break:auto-phrase;overflow-wrap:normal}
.grid{display:grid;gap:22px}
.grid.two{grid-template-columns:repeat(2,1fr)}
.grid.three{grid-template-columns:repeat(3,1fr)}
.grid.four{grid-template-columns:repeat(4,1fr)}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:28px;box-shadow:0 8px 30px rgba(6,63,82,.05)}
.card .image-frame{min-height:190px;margin:-28px -28px 24px;border-radius:var(--radius) var(--radius) 0 0;box-shadow:none}
.tag{display:inline-flex;margin-bottom:12px;padding:4px 10px;border:1px solid rgba(0,143,163,.35);border-radius:999px;color:var(--navy);font-size:.82rem;font-weight:800}
.check-list,.plain-list{padding-left:1.2em;margin:0}
.check-list li,.plain-list li{margin:.5em 0}
.check-list li::marker{color:var(--gold)}
.service-block,.case-card{border-top:1px solid var(--line);padding:42px 0}
.service-block{display:grid;grid-template-columns:.9fr 1.1fr;gap:44px}
.service-block .image-frame{min-height:240px;max-height:320px}
.meta-table{width:100%;border-collapse:collapse;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;display:block}
.meta-table tr{display:grid;grid-template-columns:180px 1fr;border-bottom:1px solid var(--line)}
.meta-table tr:last-child{border-bottom:0}
.meta-table th,.meta-table td{text-align:left;padding:18px 22px}
.meta-table th{background:var(--off);color:var(--navy)}
.message-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:54px;align-items:start}
.prose p{margin:0 0 1.2em}
.portrait-card{position:static}
.portrait-card .image-frame{min-height:0;aspect-ratio:4/5;max-height:520px}
.portrait-card img{object-position:center top}
.caption{margin-top:14px;color:var(--navy);font-weight:700;line-height:1.7}
.cta{background:var(--navy);color:#fff;border-radius:28px;padding:clamp(34px,5vw,62px);display:flex;justify-content:space-between;gap:24px;align-items:center}
.cta h2{color:#fff;max-width:18em}
.cta p{color:rgba(255,255,255,.82)}
.cta .button{background:#fff;color:var(--navy);border-color:#fff}
.site-footer{background:#063442;color:#fff;padding:54px 0 28px}
.footer-logo{width:138px;max-width:100%;height:50px;margin-bottom:14px}
.footer-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:28px}
.footer-links{display:flex;flex-wrap:wrap;gap:12px 20px}
.footer-links a,.site-footer p{color:rgba(255,255,255,.75)}
.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:34px;padding-top:22px;color:rgba(255,255,255,.62)}
.form{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:clamp(24px,4vw,42px);box-shadow:var(--shadow)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.form-field.full{grid-column:1/-1}
.form label{font-weight:800;color:var(--navy);display:block;margin-bottom:8px}
.required{font-size:.82rem;margin-left:8px}
.form input,.form textarea,.form select{width:100%;border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fff}
.form textarea{min-height:180px;resize:vertical}
.form [aria-invalid=true]{border-color:var(--danger);box-shadow:0 0 0 3px rgba(180,35,24,.12)}
.form-errors{margin:0 0 20px;color:var(--danger);font-weight:700}
.checkbox-label{display:flex!important;gap:10px;align-items:flex-start}
.checkbox-label input{width:auto;margin-top:8px}
.text-link{text-decoration:underline;text-underline-offset:3px}
.thanks-panel{text-align:center;max-width:760px;margin:auto}
.stats-note{color:var(--sub);font-size:.9rem}
img.is-error{display:none}
@media(max-width:768px){:root{--header:68px}
.container{width:min(calc(100% - 28px),var(--container))}
.hero h1,.page-hero h1{font-size:clamp(1.85rem,8.5vw,2.5rem);line-height:1.28;max-width:100%}
.section h2{font-size:clamp(1.5rem,6.4vw,2rem);line-height:1.38;max-width:100%}
.section h3{font-size:clamp(1.08rem,4.8vw,1.25rem);line-height:1.55;max-width:100%}
.lead{font-size:1rem;line-height:1.8;max-width:100%}
.menu-button{display:inline-flex;align-items:center;justify-content:center}
.logo{width:106px;max-width:40vw;height:31px}
.site-nav{position:absolute;left:14px;right:14px;top:calc(var(--header) + 8px);background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px;box-shadow:var(--shadow);display:none}
.site-nav.is-open{display:block}
.nav-list{display:grid;gap:4px}
.nav-link{width:100%;justify-content:flex-start}
.hero-grid,.split-grid,.service-block,.message-layout,.footer-grid{grid-template-columns:1fr}
.hero .image-frame{min-height:320px}
.service-block .image-frame{width:100%;min-height:0;max-height:none;aspect-ratio:3/2}
.portrait-card{max-width:360px;width:100%;margin-inline:auto}
.portrait-card .image-frame{max-height:440px}
.grid.two,.grid.three,.grid.four,.form-grid{grid-template-columns:1fr}
.cta{display:block;padding-inline:clamp(22px,7vw,34px)}
.cta h2{max-width:100%}
.cta .button,.button-row .button{width:100%}
.meta-table tr{grid-template-columns:1fr}
.meta-table th{padding-bottom:8px}
.meta-table td{padding-top:8px}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

.button-row.center{justify-content:center}


/* FlowKa visual language: crisp BtoB surfaces with restrained teal geometry. */
.hero,
.page-hero {
  position: relative;
  isolation: isolate;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -32%;
  right: -10%;
  width: min(48vw, 680px);
  aspect-ratio: 1.35;
  background: linear-gradient(135deg, rgba(59, 175, 193, .14), rgba(0, 143, 163, .03));
  clip-path: polygon(34% 0, 100% 0, 72% 100%, 0 100%);
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 9%;
  bottom: -74px;
  width: 220px;
  height: 150px;
  background: rgba(0, 111, 134, .06);
  clip-path: polygon(42% 0, 100% 0, 58% 100%, 0 100%);
}

.eyebrow {
  color: #008FA3;
}

.logo,
.nav-link:hover,
.nav-link[aria-current=page] {
  color: #063F52;
}

.nav-link[aria-current=page] {
  background: #EEF5F7;
}

.nav-link.contact-link,
.button {
  background: #006F86;
  border-color: #006F86;
}

.nav-link.contact-link:hover,
.button:hover {
  background: #063F52;
  border-color: #063F52;
}

.button.secondary {
  color: #006F86;
  border-color: #D8E7EB;
}

.section.alt {
  background: linear-gradient(135deg, #F6FAFB 0%, #EEF5F7 100%);
}

.card,
.form,
.meta-table {
  border-color: #D8E7EB;
}

.card {
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 143, 163, .35);
  box-shadow: 0 16px 40px rgba(6, 63, 82, .08);
}

.tag {
  color: #006F86;
  background: rgba(59, 175, 193, .08);
}

.cta {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #063F52 0%, #006F86 100%);
}

.cta::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -95px;
  width: 270px;
  height: 220px;
  border: 34px solid rgba(255, 255, 255, .07);
  transform: rotate(-18deg);
  pointer-events: none;
}

.cta > * {
  position: relative;
  z-index: 1;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  outline: none;
  border-color: #008FA3;
  box-shadow: 0 0 0 3px rgba(59, 175, 193, .16);
}

.site-footer {
  background: #063442;
}

@media (max-width: 768px) {
  .hero::before,
  .page-hero::before {
    right: -35%;
    width: 90vw;
    opacity: .7;
  }

  .hero::after,
  .page-hero::after {
    display: none;
  }
}

/* Projects page */
.projects-page .page-hero .container {
  max-width: 980px;
  margin-left: max(20px, calc((100% - var(--container)) / 2));
}

.projects-page .page-hero .lead {
  max-width: 860px;
}

.projects-listing {
  background: var(--pale-blue-gray);
}

.projects-listing > .container {
  display: grid;
  gap: clamp(76px, 8vw, 112px);
}

.project-area.case-card {
  padding: 0;
  border-top: 0;
}

.project-area-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.project-area-number {
  display: grid;
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(0, 143, 163, .3);
  border-radius: 50%;
  background: rgba(255, 255, 255, .7);
  color: var(--main-teal);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.project-area-kicker {
  margin: 0 0 2px;
  color: var(--teal);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.projects-listing .project-area-heading h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.6vw, 2.5rem);
}

.project-area .grid {
  align-items: stretch;
  gap: clamp(22px, 2.5vw, 30px);
}

.project-card.card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(26px, 3vw, 38px);
  border-color: rgba(216, 231, 235, .95);
  border-radius: 20px;
  box-shadow: 0 16px 44px rgba(6, 63, 82, .07);
}

.project-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 22px;
}

.project-icon-wrap {
  display: grid;
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid rgba(0, 143, 163, .18);
  border-radius: 14px;
  background: linear-gradient(145deg, #f5fbfc, #e7f3f5);
  color: var(--main-teal);
}

.project-icon {
  width: 30px;
  height: 30px;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-card .tag {
  margin: 0;
  padding: 5px 12px;
  text-align: center;
  line-height: 1.5;
}

.project-card h3 {
  margin-bottom: 16px;
  font-size: clamp(1.22rem, 1.7vw, 1.48rem);
  line-height: 1.6;
  letter-spacing: -.02em;
}

.project-summary {
  margin: 0 0 10px;
  color: var(--sub);
  font-size: .95rem;
  line-height: 1.9;
}

.project-card h4 {
  position: relative;
  margin: 22px 0 8px;
  padding: 19px 0 0 18px;
  border-top: 1px solid var(--line);
  color: var(--navy);
  font-size: .9rem;
  letter-spacing: .04em;
}

.project-card h4::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: .52em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--teal);
}

.project-card .plain-list {
  padding-left: 0;
  color: var(--text);
  font-size: .91rem;
  line-height: 1.72;
  list-style: none;
}

.project-card .plain-list li {
  position: relative;
  margin: .38em 0;
  padding-left: 17px;
}

.project-card .plain-list li::before {
  content: "";
  position: absolute;
  top: .78em;
  left: 1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--light-teal);
}

@media (max-width: 768px) {
  .projects-page .page-hero .container {
    max-width: none;
    margin-inline: auto;
  }

  .projects-listing > .container {
    gap: 68px;
  }

  .project-area-heading {
    gap: 13px;
    margin-bottom: 22px;
  }

  .project-area-number {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    font-size: .7rem;
  }

  .projects-listing .project-area-heading h2 {
    font-size: clamp(1.35rem, 6vw, 1.75rem);
    line-height: 1.4;
  }

  .project-card.card {
    padding: 24px 20px 26px;
  }

  .project-card-head {
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .project-icon-wrap {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .project-icon {
    width: 25px;
    height: 25px;
  }

  .project-card .tag {
    max-width: calc(100% - 58px);
    font-size: .75rem;
  }

  .project-card h3 {
    font-size: 1.13rem;
    line-height: 1.65;
  }

  .project-summary {
    font-size: .92rem;
  }

  .project-card h4 {
    margin-top: 19px;
  }
}

/* Recruit page */
.recruit-hero {
  padding-block: clamp(64px, 9vw, 116px);
}

.recruit-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  max-width: var(--container);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

.recruit-hero-inner .image-frame {
  min-height: 0;
  aspect-ratio: 16 / 10;
}

.recruit-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
}

.recruit-lead-heading {
  max-width: 19em;
  margin: 30px 0 0;
  color: var(--navy);
  font-size: clamp(1.55rem, 3vw, 2.55rem);
  line-height: 1.5;
  letter-spacing: -.035em;
}

.recruit-intro {
  max-width: 800px;
  margin-top: 24px;
  color: var(--blue);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.recruit-intro p {
  margin: 0 0 .55em;
}

.recruit-positions {
  background: var(--white);
}

.position-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.position-card {
  min-width: 0;
  padding: clamp(24px, 2.2vw, 32px);
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(6, 63, 82, .06);
}

.position-card h3 {
  margin: 2px 0 22px;
  color: var(--navy);
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  line-height: 1.45;
  letter-spacing: -.025em;
  white-space: nowrap;
}

.position-card-section {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.position-card-section + .position-card-section {
  margin-top: 22px;
}

.position-card-section h4 {
  display: inline-flex;
  margin: 0 0 12px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--pale-blue-gray);
  color: var(--main-teal);
  font-size: .86rem;
  line-height: 1.5;
  white-space: nowrap;
}

.position-card-section p {
  margin: 0 0 .8em;
}

.position-card-section p:last-child {
  margin-bottom: 0;
}

.position-card-section ul {
  margin: 0;
  padding-left: 1.25em;
}

.position-card-section li {
  margin-top: .65em;
}

.position-card-section li:first-child {
  margin-top: 0;
}

.position-card-section li::marker {
  color: var(--teal);
}

.employment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin-bottom: 22px;
}

.employment-card {
  min-width: 0;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 36px rgba(6, 63, 82, .06);
}

.employment-card h3 {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  line-height: 1.45;
}

.employment-card p {
  margin: 0 0 .8em;
}

.employment-card p:last-child {
  margin-bottom: 0;
}

.recruit-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.recruit-feature-grid li {
  position: relative;
  min-width: 0;
  padding: 22px 22px 22px 52px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .86);
  color: var(--navy);
  font-weight: 700;
}

.recruit-feature-grid li::before {
  content: "";
  position: absolute;
  top: 29px;
  left: 23px;
  width: 12px;
  height: 7px;
  border-bottom: 2px solid var(--teal);
  border-left: 2px solid var(--teal);
  transform: rotate(-45deg);
}

.recruit-profile-layout {
  display: grid;
  grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr);
  gap: clamp(34px, 7vw, 96px);
  align-items: start;
}

.recruit-profile-layout .section-head {
  margin-bottom: 0;
}

.recruit-profile-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.recruit-profile-list li {
  position: relative;
  padding: 17px 12px 17px 38px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 700;
}

.recruit-profile-list li::before {
  content: "";
  position: absolute;
  top: 26px;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 5px rgba(59, 175, 193, .12);
}

.recruit-cta-section {
  padding-top: 0;
}

.recruit-cta-section .cta > div {
  max-width: 740px;
}

.recruit-cta-section .cta p {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .position-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }

  .recruit-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .recruit-hero {
    padding-block: 56px 64px;
  }

  .recruit-hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .recruit-hero h1 {
    font-size: clamp(2.25rem, 12vw, 3rem);
  }

  .recruit-lead-heading {
    margin-top: 22px;
    font-size: clamp(1.35rem, 6.2vw, 1.7rem);
    line-height: 1.55;
  }

  .recruit-intro {
    margin-top: 18px;
  }

  .position-card {
    padding: 24px 20px;
  }

  .employment-grid,
  .recruit-feature-grid,
  .recruit-profile-layout {
    grid-template-columns: 1fr;
  }

  .employment-grid {
    gap: 16px;
    margin-bottom: 16px;
  }

  .recruit-feature-grid {
    gap: 12px;
  }

  .recruit-feature-grid li {
    padding-block: 17px;
  }

  .recruit-feature-grid li::before {
    top: 24px;
  }

  .recruit-profile-layout {
    gap: 24px;
  }
}

@media (max-width: 380px) {
  .position-card h3 {
    font-size: 1.25rem;
  }

  .position-card-section {
    overflow-wrap: anywhere;
  }
}

/* Home hero: full-bleed photography with a restrained, readable content panel. */
.hero {
  min-height: clamp(560px, 68vw, 720px);
  padding: clamp(64px, 8vw, 96px) 0;
  display: flex;
  align-items: center;
  background-color: var(--pale-blue-gray);
  background-image: url("../images/hero.png");
  background-repeat: no-repeat;
  background-position: center 43%;
  background-size: cover;
}

.hero::before {
  inset: 0;
  z-index: -1;
  width: auto;
  aspect-ratio: auto;
  background: linear-gradient(90deg, rgba(246, 250, 251, .9) 0%, rgba(246, 250, 251, .7) 45%, rgba(246, 250, 251, .08) 76%);
  clip-path: none;
}

.hero::after {
  display: none;
}

.hero .hero-grid {
  display: block;
}

.hero-content {
  width: min(680px, 64%);
  padding: clamp(30px, 4vw, 52px);
  border: 1px solid rgba(216, 231, 235, .78);
  border-radius: var(--radius);
  background: linear-gradient(120deg, rgba(255, 255, 255, .94), rgba(238, 245, 247, .86));
  box-shadow: 0 20px 56px rgba(6, 63, 82, .14);
  backdrop-filter: blur(5px);
}

.hero h1 {
  max-width: 11em;
  font-size: clamp(2.35rem, 4.5vw, 4.15rem);
}

.hero-lead {
  margin: 24px 0 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 1.45vw, 1.2rem);
  font-weight: 700;
  line-height: 1.9;
}

.hero-description {
  margin: 18px 0 0;
  color: var(--blue);
  line-height: 1.9;
}

@media (max-width: 768px) {
  .hero {
    min-height: 640px;
    padding: clamp(48px, 11vw, 60px) 0 clamp(42px, 10vw, 54px);
    align-items: flex-end;
    background-position: 64% center;
    background-size: cover;
  }

  .hero::before {
    display: block;
    opacity: 1;
    background:
      linear-gradient(180deg, rgba(3, 48, 62, .5) 0%, rgba(3, 48, 62, .3) 24%, rgba(3, 45, 59, .74) 66%, rgba(2, 35, 47, .94) 100%),
      linear-gradient(105deg, rgba(0, 111, 134, .38) 0%, rgba(6, 63, 82, .12) 72%);
  }

  .hero-content {
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    color: #fff;
    text-shadow: 0 1px 14px rgba(2, 35, 47, .28);
  }

  .hero h1 {
    max-width: none;
    color: #fff;
    font-size: clamp(1.9rem, 8vw, 2.2rem);
    line-height: 1.26;
    letter-spacing: -.04em;
    text-shadow: 0 2px 18px rgba(2, 35, 47, .42);
  }

  .hero h1 span {
    display: block;
  }

  .hero-lead {
    margin-top: 18px;
    color: rgba(247, 252, 253, .96);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1.7;
  }

  .hero-description {
    margin-top: 12px;
    color: rgba(239, 247, 249, .9);
    font-size: .875rem;
    line-height: 1.68;
  }

  .hero-lead,
  .hero-description {
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-lead br,
  .hero-description br {
    display: none;
  }

  .hero .button-row {
    flex-direction: column;
    gap: 10px;
    margin-top: 24px;
  }

  .hero .button-row .button {
    width: 100%;
    min-height: 46px;
    padding: 10px 18px;
    border-color: #fff;
    background: #fff;
    color: var(--navy);
    font-size: .9rem;
    max-width: 100%;
    text-shadow: none;
  }

  .hero .button-row .button.secondary {
    border-color: rgba(255, 255, 255, .58);
    background: rgba(3, 48, 62, .32);
    color: #fff;
    font-weight: 700;
  }
}
