/*! destyle.css v4.0.1 | MIT License | https://github.com/nicolas-cusan/destyle.css */

/* Reset box-model and set borders */
/* ============================================ */

*,
::before,
::after {
  box-sizing: border-box;
  border-style: solid;
  border-width: 0;
  min-width: 0;
}

/* Document */
/* ============================================ */

html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

/* Sections */
/* ============================================ */

body {
  margin: 0;
}

main {
  display: block;
}

/* Vertical rhythm */
/* ============================================ */

p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl {
  margin: 0;
}

/* Headings */
/* ============================================ */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
  margin: 0;
}

/* Lists */
/* ============================================ */

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

dt {
  font-weight: bold;
}

dd {
  margin-left: 0;
}

/* Grouping content */
/* ============================================ */

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border-top-width: 1px;
  margin: 0;
  clear: both;
  color: inherit;
}

pre {
  font-family: monospace, monospace;
  font-size: inherit;
}

address {
  font-style: inherit;
}

/* Text-level semantics */
/* ============================================ */

a {
  background-color: transparent;
  text-decoration: none;
  color: inherit;
}

abbr[title] {
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: inherit;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Replaced content */
/* ============================================ */

svg,
img,
embed,
object,
iframe {
  vertical-align: bottom;
}

/* Forms */
/* ============================================ */

button,
input,
optgroup,
select,
textarea {
  -webkit-appearance: none;
  appearance: none;
  vertical-align: middle;
  color: inherit;
  font: inherit;
  background: transparent;
  padding: 0;
  margin: 0;
  border-radius: 0;
  text-align: inherit;
  text-transform: inherit;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer;
}

button:disabled,
[type="button"]:disabled,
[type="reset"]:disabled,
[type="submit"]:disabled {
  cursor: default;
}

:-moz-focusring {
  outline: auto;
}

select:disabled {
  opacity: inherit;
}

option {
  padding: 0;
}

fieldset {
  margin: 0;
  padding: 0;
  min-width: 0;
}

legend {
  padding: 0;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

[type="number"] {
  -moz-appearance: textfield;
}

label[for] {
  cursor: pointer;
}

/* Interactive */
/* ============================================ */

details {
  display: block;
}

summary {
  display: list-item;
}

[contenteditable]:focus {
  outline: auto;
}

/* Tables */
/* ============================================ */

table {
  border-color: inherit;
  border-collapse: collapse;
}

caption {
  text-align: left;
}

td,
th {
  vertical-align: top;
  padding: 0;
}

th {
  text-align: left;
  font-weight: bold;
}

/* Theme base */
/* ============================================ */

:root {
  font-size: 62.5%;
}

html,
body {
  height: 100%;
}

/* Front-end WordPress admin bar
 * Keep the site canvas unobstructed while retaining quick desktop access.
 * WordPress dashboard screens do not load this stylesheet.
 */
html {
  margin-top: 0 !important;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1100px) {
  #wpadminbar {
    opacity: 1;
    border-bottom: 1px solid rgb(255 255 255 / 18%);
    background: rgb(24 24 27 / 94%);
    box-shadow: 0 10px 30px rgb(0 0 0 / 16%);
    backdrop-filter: blur(16px) saturate(140%);
    transform: translateY(calc(-100% + 6px));
    transition:
      transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 180ms ease;
    will-change: transform;
  }

  #wpadminbar::after {
    content: "";
    position: absolute;
    bottom: 1px;
    left: 50%;
    width: 64px;
    height: 3px;
    border-radius: 999px;
    background: rgb(255 255 255 / 72%);
    box-shadow: 0 0 12px rgb(255 255 255 / 22%);
    pointer-events: none;
    transform: translateX(-50%);
    transition: opacity 120ms ease;
  }

  #wpadminbar:hover,
  #wpadminbar:focus-within {
    box-shadow: 0 12px 34px rgb(0 0 0 / 24%);
    transform: translateY(0);
  }

  #wpadminbar:hover::after,
  #wpadminbar:focus-within::after {
    opacity: 0;
  }
}

@media (max-width: 1099px), (hover: none), (pointer: coarse) {
  #wpadminbar {
    display: none !important;
  }
}

/* Project foundations */
/* ============================================ */

@font-face {
  font-family: "Nishihara Display";
  src:
    local("Corporate Logo ver2 Bold"),
    local("Corporate-Logo-Bold-ver2"),
    local("Corporate Logo ver2");
  font-display: swap;
  font-style: normal;
  font-weight: 900;
}

:root {
  --viewport-width: 100vw;
  --front-design-width: 1440px;
  --front-outer-gutter: max(0px, calc((var(--viewport-width) - var(--front-design-width)) / 2));
  --front-wide-inset: 24px;
  --front-wide-width: 1392px;
  --front-wide-padding: 84px;
  --front-content-gutter: 108px;
  --front-content-width: 1224px;
  --front-grid-column: 80px;
  --front-grid-gap: 24px;
  --front-section-top: 122px;
  --front-card-width: 392px;
  --front-button-width: 240px;
  --front-button-wide-width: 360px;
  --front-button-height: 56px;
  --color-ink: #1c1a20;
  --color-blue: #333ede;
  --color-blue-dark: #0f2cc7;
  --color-lavender: #848beb;
  --color-pale-blue: #eff5ff;
  --color-cream: #fff7f2;
  --color-coral: #f26969;
  --color-coral-hover: #e85959;
  --color-line: #c4c8d1;
  --color-blue-hover: #242fd0;
  --motion-arrow-duration: 0.55s;
  --motion-arrow-easing: ease-in;
  --font-sans: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --font-latin: "Inter", "Segoe UI", sans-serif;
  --font-display: "Nishihara Display", "Noto Sans JP", "Yu Gothic", sans-serif;
}

html {
  scroll-behavior: smooth;
}

html.is-menu-open {
  /* Paint the reserved Windows scrollbar gutter to match both menu regions. */
  background: linear-gradient(
    to bottom,
    var(--color-blue) 0 396px,
    var(--color-cream) 396px 556px,
    var(--color-ink) 556px 100%
  );
}
html.is-entry-menu-open { background: var(--color-cream); }

@media (min-width: 1100px) {
  /* Keep the Windows scrollbar track reserved while desktop menus lock scroll. */
  html { scrollbar-gutter: stable; }
}

body {
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: 1.6rem;
  line-height: 1.7;
  overflow-x: hidden;
}

body.is-menu-open,
body.is-entry-menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

a,
button {
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #f2c832;
  outline-offset: 4px;
}

.site-main--front {
  position: relative;
  overflow: clip;
}

.site-header {
  position: absolute;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 64px;
  color: #fff;
}

.site-header__stage,
.site-footer__stage {
  position: absolute;
  top: 0;
  left: max(0px, calc((var(--viewport-width) - var(--front-design-width)) / 2));
  width: var(--front-design-width);
}

.site-header__stage {
  position: fixed;
  z-index: 2;
  height: 64px;
}

/* Keep the transparent fixed header shell from intercepting page controls.
   Only the visible header controls and open overlays receive pointer input. */
.site-header,
.site-header__stage {
  pointer-events: none;
}

.site-header__logo,
.site-header__entries a,
.site-header__menu-button,
.site-header__mobile-entry-button,
.site-header__menu-backdrop,
.site-header__menu,
.site-header__mobile-entry {
  pointer-events: auto;
}

.site-header__logo {
  position: absolute;
  top: 17px;
  left: 0;
  width: 314px;
  height: 45px;
}

.site-header__logo img,
.site-header__logo svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}

.site-header__entries {
  position: absolute;
  top: 16px;
  left: 1099px;
  display: flex;
  gap: 6px;
}

.site-header__entries a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 111px;
  height: 40px;
  gap: 4px;
  border-radius: 8px;
  background: var(--color-coral);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.site-header__entries a:nth-child(2) {
  width: 139px;
}

.site-header__entries a:focus-visible {
  background: var(--color-coral-hover);
  color: #fff;
}

.site-header__entries span {
  width: 0;
  height: 0;
  border-top: 3px solid transparent;
  border-bottom: 3px solid transparent;
  border-left: 8px solid currentColor;
}

.site-header__mobile-entry-button,
.site-header__mobile-entry {
  display: none;
}

.site-header__controls {
  position: relative;
  z-index: 3;
  display: block;
}

.site-header__menu-button {
  position: absolute;
  top: 16px;
  left: 1366px;
  z-index: 3;
  width: 50px;
  height: 40px;
  border-radius: 8px;
  background: var(--color-ink);
}

.site-header__menu-button span {
  position: absolute;
  left: 13px;
  height: 2px;
  border-radius: 1px;
  background: #fff;
  transform-origin: center;
  transition:
    top 0.32s cubic-bezier(0.22, 1, 0.36, 1),
    width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.site-header__menu-button span:first-child { top: 16px; width: 24px; }
.site-header__menu-button span:last-child { top: 24px; width: 16px; }

.site-header__menu-button:focus-visible {
  background: #413e46;
}

.site-header__menu-button[aria-expanded="true"] span:first-child {
  top: 19px;
  width: 24px;
  transform: rotate(-18.4deg);
}

.site-header__menu-button[aria-expanded="true"] span:last-child {
  top: 19px;
  width: 24px;
  transform: rotate(18.4deg);
}

@media (min-width: 1441px) {
  /* Header controls belong to the viewport edge. The navigation content in
     the opened panel remains aligned to the centred 1440px design grid. */
  .site-header__stage {
    left: 0;
    width: var(--viewport-width);
  }

  .site-header__entries {
    right: 94px;
    left: auto;
  }

  .site-header__menu-button {
    right: 24px;
    left: auto;
  }

}

.site-header__menu-backdrop {
  position: fixed;
  z-index: 1;
  inset: 0;
  background: rgb(28 26 32 / 80%);
  cursor: default;
  animation: site-menu-backdrop-open 0.3s ease-out both;
}

.site-header__menu-backdrop[hidden] {
  display: none;
}

.site-header__menu {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: var(--front-design-width);
  height: 556px;
  overflow: hidden;
  border-radius: 0 0 16px 16px;
  background: var(--color-blue);
  box-shadow: 0 16px 48px rgb(28 26 32 / 24%);
  transform-origin: top center;
  animation: site-menu-open 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@media (min-width: 1100px) {
  .site-header__menu { border-radius: 0; }
}

.site-header__menu.is-closing,
.site-header__mobile-entry.is-closing {
  pointer-events: none;
  animation: site-menu-close 0.28s cubic-bezier(0.4, 0, 1, 1) both;
}

.site-header__menu-backdrop.is-closing {
  pointer-events: none;
  animation: site-menu-backdrop-close 0.28s ease-in both;
}

.site-header__menu[hidden] {
  display: none;
}

.site-header__menu-content {
  position: relative;
  display: flow-root;
  width: 100%;
  height: 100%;
}

@keyframes site-menu-open {
  from {
    opacity: 0;
    transform: scaleY(0);
  }
  to {
    opacity: 1;
    transform: scaleY(1);
  }
}

@keyframes site-menu-close {
  from {
    opacity: 1;
    transform: scaleY(1);
  }
  to {
    opacity: 0;
    transform: scaleY(0);
  }
}

@keyframes site-menu-backdrop-open {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes site-menu-backdrop-close {
  from { opacity: 1; }
  to { opacity: 0; }
}

.site-header__menu-logo {
  position: absolute;
  top: 40px;
  left: var(--front-content-gutter);
  width: 240px;
  height: auto;
}

.site-header__menu-logo picture,
.site-header__menu-logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-header__navigation {
  position: absolute;
  top: 129px;
  left: var(--front-content-gutter);
  grid-template-columns: repeat(4, 288px);
  gap: var(--front-grid-gap);
  width: var(--front-content-width);
}

.site-header__menu-entries {
  position: absolute;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 304px 320px 320px 256px;
  align-items: center;
  width: 100%;
  height: 160px;
  gap: 8px;
  padding: 0 var(--front-content-gutter);
  background: var(--color-cream);
  color: var(--color-ink);
}

.site-header__menu-entries .c-recruit-entry-links__title {
  display: flex;
  align-items: center;
  gap: 42px;
  color: var(--color-coral);
  font-family: var(--font-latin);
  font-size: 32px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
}

.site-header__menu-entries .c-recruit-entry-links__title::after {
  width: 120px;
  height: 1px;
  background: var(--color-coral);
  content: "";
}

@media (min-width: 1100px) {
  .site-header__menu-entries .c-recruit-entry-links__title {
    position: relative;
    display: block;
    width: 272px;
    height: 39px;
    line-height: 39px;
  }

  .site-header__menu-entries .c-recruit-entry-links__title::after {
    position: absolute;
    top: 19px;
    left: 152px;
  }
}

.site-header__menu-entries a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 24px 0 40px;
  border-radius: 16px;
  background: transparent;
}

.site-header__menu-entries a::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  box-shadow: 0 0 0 0 #fff;
  content: "";
  transition: box-shadow 0.3s ease-in;
}

.site-header__menu-entries a:focus-visible::before {
  box-shadow: 0 0 0 2px #fff;
}

.site-header__menu-entries strong {
  display: flex;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
}

.site-header__menu-entries strong span {
  color: var(--color-coral);
}

.site-header__menu-entries i {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  transition: background-color 0.25s ease, transform 0.35s ease-in;
}

.site-header__menu-entries a:nth-of-type(-n + 2) i {
  background: var(--color-coral);
}

/* Compact desktop keeps the native font and control sizes while reflowing the
   1440px menu grid inside the actual viewport. Fixed 288/320px columns made
   the fourth navigation group and contact CTA clip below the design width. */
@media (min-width: 1100px) and (max-width: 1439px) {
  .site-header__menu {
    width: 100%;
    max-height: 100dvh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .site-header__menu-content {
    min-height: 556px;
  }

  .site-header__menu-logo,
  .site-header__navigation {
    left: clamp(48px, 6.5vw, 92px);
  }

  .site-header__navigation {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: calc(100% - (clamp(48px, 6.5vw, 92px) * 2));
    gap: clamp(16px, 1.6667vw, 24px);
  }

  .site-header__menu-entries {
    grid-template-columns:
      minmax(190px, 0.78fr)
      minmax(0, 0.96fr)
      minmax(0, 1.08fr)
      minmax(0, 0.96fr);
    padding-right: clamp(48px, 6.5vw, 92px);
    padding-left: clamp(48px, 6.5vw, 92px);
  }

  .site-header__menu-entries .c-recruit-entry-links__title {
    width: 100%;
    max-width: 272px;
  }

  .site-header__menu-entries .c-recruit-entry-links__title::after {
    right: 0;
    width: auto;
  }

  .site-header__menu-entries a {
    padding-right: clamp(12px, 1.4vw, 20px);
    padding-left: clamp(16px, 1.6vw, 24px);
  }

  .site-header__menu-entries strong {
    white-space: nowrap;
  }
}

@media (min-width: 1441px) {
  .site-header__menu {
    width: var(--viewport-width);
  }

  .site-header__menu-logo,
  .site-header__navigation {
    left: calc(var(--front-content-gutter) + var(--front-outer-gutter));
  }

  .site-header__menu-entries {
    padding-right: calc(var(--front-content-gutter) + var(--front-outer-gutter));
    padding-left: calc(var(--front-content-gutter) + var(--front-outer-gutter));
  }
}

/* Shared front-page components */
/* ============================================ */

.c-section-heading {
  position: relative;
  top: -5px;
  padding-bottom: 8px;
}

.front-section {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.front-stage {
  position: absolute;
  top: 0;
  left: max(0px, calc((var(--viewport-width) - var(--front-design-width)) / 2));
  width: var(--front-design-width);
}

.c-section-heading__label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-blue);
  font-family: var(--font-latin);
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.05em;
}

.c-section-heading__label span {
  color: var(--color-line);
  font-family: var(--font-latin);
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

.c-section-heading__title {
  margin-top: 17px;
  white-space: normal;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.05em;
}

.c-section-heading__title em {
  color: var(--color-blue);
  font-style: normal;
}

.c-section-heading--light {
  color: #fff;
}

.c-section-heading--light .c-section-heading__title em {
  color: inherit;
}

.c-section-heading--light .c-section-heading__label,
.c-section-heading--light .c-section-heading__label span {
  color: #fff;
}

.c-arrow-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--front-button-width);
  height: var(--front-button-height);
  padding: 0 8px 0 24px;
  border-radius: calc(var(--front-button-height) / 2);
  background: var(--color-blue);
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  box-shadow: 0 0 0 0 transparent;
  transition: color 0.25s ease, background-color 0.25s ease, box-shadow 0.3s ease-in;
}

.c-arrow-link--wide {
  width: var(--front-button-wide-width);
}

.c-arrow-link > span { white-space: nowrap; }

.c-arrow-link i,
.site-footer__entry-links i,
.front-environment-card i,
.front-recruit__item > i,
.c-join-cta__entries i {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  background: var(--color-blue);
  color: #fff;
  transition: background-color 0.25s ease, transform 0.35s ease-in;
}

.c-arrow-icon {
  display: block;
  width: 12px;
  height: 8px;
  overflow: visible;
}

.c-external-icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  overflow: visible;
  vertical-align: -1px;
}

@keyframes arrow-spin-clockwise {
  to { transform: rotate(360deg); }
}

@keyframes arrow-spin-counterclockwise {
  from { transform: rotate(180deg); }
  to { transform: rotate(-180deg); }
}

.c-arrow-link:focus-visible {
  background: var(--color-blue-hover);
  box-shadow: 0 0 0 2px var(--color-blue-hover);
}

.c-arrow-link:focus-visible i {
  transform: scale(1.05);
}

.c-arrow-link:focus-visible .c-arrow-icon {
  animation: arrow-spin-clockwise var(--motion-arrow-duration) var(--motion-arrow-easing);
}

.c-arrow-link--light {
  background: #fff;
  color: var(--color-blue);
}

.c-arrow-link--light i {
  background: var(--color-blue);
  color: #fff;
}

.c-arrow-link--light:focus-visible {
  background: #fff;
  box-shadow: 0 0 0 2px #fff;
  color: var(--color-blue);
}

.c-arrow-link--primary i {
  background: #fff;
  color: var(--color-blue);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Recruitment footer */
/* ============================================ */

.site-footer--recruit {
  position: relative;
  height: 501px;
  overflow: visible;
  clip-path: inset(-80px 0 0 0);
  background: var(--color-blue);
  color: #fff;
}

.site-footer__stage {
  height: 501px;
}

.site-footer__page-top {
  position: absolute;
  top: -72px;
  left: 680px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 95px;
  height: 96px;
  gap: 8px;
  padding-top: 28px;
  color: var(--color-blue);
  font-family: var(--font-latin);
  font-size: 12px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.05em;
}

.site-footer__page-top span {
  position: relative;
  width: 2px;
  height: 48px;
  background: #fff;
}

.site-footer__page-top span::before {
  position: absolute;
  inset: 0 0 auto;
  height: 24px;
  background: currentColor;
  content: "";
}

.site-footer__page-top:focus-visible {
  color: var(--color-coral);
}

.site-footer__logo {
  position: absolute;
  display: block;
  align-self: flex-start;
  top: 73px;
  left: var(--front-content-gutter);
  width: 214px;
  max-width: 100%;
  height: auto;
}

.site-footer__logo img {
  display: block;
  width: 100%;
  height: auto;
}

.site-footer__entry-links {
  position: absolute;
  top: 64px;
  left: 420px;
  display: grid;
  grid-template-columns: 320px 320px 256px;
  gap: 8px;
}

.site-footer__entry-links a {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  padding: 0 24px 0 40px;
  border-radius: 16px;
  background: transparent;
  color: var(--color-ink);
}

.site-footer__entry-links a::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  border-radius: inherit;
  background: #fff;
  box-shadow: 0 0 0 0 #fff;
  content: "";
  transition: box-shadow 0.3s ease-in;
}

.site-footer__entry-links strong {
  display: flex;
  gap: 4px;
  font-size: 16px;
  font-weight: 700;
}

.site-footer__entry-links strong span {
  color: var(--color-coral);
}

.site-footer__entry-links a:nth-child(-n + 2) i {
  background: var(--color-coral);
}

.site-footer__entry-links a:focus-visible::before {
  box-shadow: 0 0 0 2px #fff;
}

.site-footer__entry-links a:focus-visible i,
.site-header__menu-entries a:focus-visible i {
  transform: scale(1.1);
}

.site-footer__entry-links a:focus-visible .c-arrow-icon,
.site-header__menu-entries a:focus-visible .c-arrow-icon {
  animation: arrow-spin-clockwise var(--motion-arrow-duration) var(--motion-arrow-easing);
}

.site-footer__entry-links a:nth-child(-n + 2):focus-visible i,
.site-header__menu-entries a:nth-of-type(-n + 2):focus-visible i {
  background: var(--color-coral-hover);
}

.site-footer__entry-links a:last-child:focus-visible i,
.site-header__menu-entries a:last-child:focus-visible i {
  background: var(--color-blue-hover);
}

.site-footer__navigation {
  position: absolute;
  top: 184px;
  left: var(--front-content-gutter);
  display: grid;
  grid-template-columns: repeat(4, 288px);
  gap: var(--front-grid-gap);
}

.c-recruit-navigation {
  display: grid;
}

.c-recruit-navigation__toggle {
  display: none;
}

.c-recruit-navigation section > p:not(.c-recruit-navigation__heading) {
  margin-bottom: 6px;
  color: var(--color-lavender);
  font-family: var(--font-latin);
  font-size: 12px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
  transition: color 0.25s ease, transform 0.25s ease;
}

.c-recruit-navigation__heading {
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-lavender);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.c-recruit-navigation .c-external-icon {
  width: 15px;
  height: 15px;
}

.c-recruit-navigation a {
  display: inline-block;
}

.c-recruit-navigation a:focus-visible {
  color: var(--color-lavender);
  transform: translateX(4px);
}

.c-recruit-navigation section > p:not(.c-recruit-navigation__heading):has(+ .c-recruit-navigation__heading a:focus-visible) {
  transform: translateX(4px);
}

.c-recruit-navigation ul {
  margin-top: 22px;
  padding-left: 16px;
  font-size: 14px;
  line-height: 2;
}

.c-recruit-navigation li {
  position: relative;
}

.c-recruit-navigation li::before {
  position: absolute;
  top: 1em;
  left: -16px;
  width: 8px;
  height: 1px;
  background: currentColor;
  content: "";
}

.c-recruit-navigation__jobs {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(3, auto);
}

.c-recruit-navigation .c-recruit-navigation__sub-label {
  margin-top: 16px;
}

.site-footer__legal {
  position: absolute;
  bottom: 6px;
  left: var(--front-wide-inset);
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--front-wide-width);
  height: 52px;
  padding: 0 var(--front-wide-padding);
  border-radius: 16px 16px 0 0;
  background: #fff;
  color: var(--color-blue);
  font-size: 14px;
}

.site-footer__legal small {
  font-size: inherit;
}

.site-footer__legal a:focus-visible {
  color: var(--color-blue-dark);
}

/* Hover effects are reserved for devices whose primary input can hover.
   Keyboard focus remains available independently through the rules above. */
@media (hover: hover) and (pointer: fine) {
  .site-footer__page-top:hover { color: var(--color-coral); }

  .site-header__entries a:hover {
    background: var(--color-coral-hover);
    color: #fff;
  }

  .site-header__menu-button:hover { background: #413e46; }
  .site-header__menu-entries a:hover::before,
  .site-footer__entry-links a:hover::before { box-shadow: 0 0 0 2px #fff; }

  .c-arrow-link:hover {
    background: var(--color-blue-hover);
    box-shadow: 0 0 0 2px var(--color-blue-hover);
  }

  .c-arrow-link:hover i { transform: scale(1.05); }
  .c-arrow-link:hover .c-arrow-icon,
  .site-footer__entry-links a:hover .c-arrow-icon,
  .site-header__menu-entries a:hover .c-arrow-icon {
    animation: arrow-spin-clockwise var(--motion-arrow-duration) var(--motion-arrow-easing);
  }

  .c-arrow-link--light:hover {
    background: #fff;
    box-shadow: 0 0 0 2px #fff;
    color: var(--color-blue);
  }

  .site-footer__entry-links a:hover i,
  .site-header__menu-entries a:hover i { transform: scale(1.1); }

  .site-footer__entry-links a:nth-child(-n + 2):hover i,
  .site-header__menu-entries a:nth-of-type(-n + 2):hover i { background: var(--color-coral-hover); }

  .site-footer__entry-links a:last-child:hover i,
  .site-header__menu-entries a:last-child:hover i { background: var(--color-blue-hover); }

  .c-recruit-navigation a:hover {
    color: var(--color-lavender);
    transform: translateX(4px);
  }

  .c-recruit-navigation section > p:not(.c-recruit-navigation__heading):has(+ .c-recruit-navigation__heading a:hover) {
    transform: translateX(4px);
  }

  .site-footer__legal a:hover { color: var(--color-blue-dark); }
}

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

/* Mobile shared shell
 * The 375px top-page artboard and future lower pages share these header,
 * navigation, footer, heading and action primitives. Page-specific geometry
 * remains in the relevant page stylesheet.
 */
@media (max-width: 1099px) {
  :root {
    --front-design-width: 100vw;
    --front-outer-gutter: 0px;
    --front-wide-inset: 24px;
    --front-wide-width: calc(100vw - 48px);
    --front-wide-padding: 24px;
    --front-content-gutter: 24px;
    --front-content-width: calc(100vw - 48px);
    --front-grid-column: auto;
    --front-grid-gap: 16px;
    --front-section-top: 80px;
    --front-card-width: calc(100vw - 48px);
    --front-button-width: 240px;
    --front-button-wide-width: min(327px, calc(100vw - 48px));
  }

  body {
    min-width: 320px;
    font-size: 1.5rem;
  }

  .site-main--front { overflow: clip; }

  .site-header {
    position: absolute;
    height: 56px;
  }

  .site-header__stage {
    position: fixed;
    /* Keep the full-screen panel above its backdrop. Its controls remain at
       z-index:3 inside this stage, so the close button stays tappable. */
    z-index: 2;
    left: 0;
    width: 100%;
    height: 56px;
    transform: none;
  }

  .site-header__logo {
    top: 8px;
    left: 0;
    width: min(262px, calc(100vw - 90px));
    height: auto;
  }

  .site-header__logo img,
  .site-header__logo svg {
    width: 100%;
    height: auto;
    object-fit: contain;
  }

  .site-header__entries { display: none; }

  .site-header__controls {
    position: fixed;
    z-index: 3;
    top: 8px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .site-header__mobile-entry-button {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 40px;
    gap: 8px;
    border-radius: 8px;
    background: var(--color-coral);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    line-height: 1;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    visibility: hidden;
  }

  .site-header__mobile-entry-button i {
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 6px solid currentColor;
  }

  .site-header__mobile-entry-button.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  body:is(.is-menu-open, .is-entry-menu-open) .site-header__mobile-entry-button {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  body.is-entry-menu-open .site-header__menu-button {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .site-header__menu-button {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    width: 50px;
    height: 40px;
    border-radius: 8px;
  }

  /* Keep the approved 50x40 visual while extending the touch target to 44px. */
  .site-header__menu-button::before {
    position: absolute;
    inset: -2px 0;
    content: "";
  }

  .site-header__menu-button span { left: 13px; }
  .site-header__menu-button span:first-child { width: 24px; }
  .site-header__menu-button span:last-child { width: 16px; }

  .site-header__menu-button[aria-expanded="true"] span:first-child,
  .site-header__menu-button[aria-expanded="true"] span:last-child {
    top: 19px;
    width: 24px;
  }

  .site-header__menu-button[aria-expanded="true"] span:first-child { transform: rotate(-18.4deg); }
  .site-header__menu-button[aria-expanded="true"] span:last-child { transform: rotate(18.4deg); }

  .site-header__menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    border-radius: 0;
    background: var(--color-cream);
  }

  .site-header__menu-content {
    --header-about-extra: 0px;
    --header-jobs-extra: 0px;
    --header-navigation-extra: calc(var(--header-about-extra) + var(--header-jobs-extra));
    height: 919px;
    min-height: 919px;
    background: var(--color-blue);
    transition: height 0.3s ease-in-out, min-height 0.3s ease-in-out;
  }

  .site-header__menu-content::before {
    position: absolute;
    z-index: 0;
    top: calc(530px + var(--header-navigation-extra));
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--color-cream);
    content: "";
    transition: top 0.3s ease-in-out;
  }

  .site-header__menu-content.is-about-expanded { --header-about-extra: 144px; }
  .site-header__menu-content.is-jobs-expanded { --header-jobs-extra: 172px; }

  .site-header__menu-content:is(.is-about-expanded, .is-jobs-expanded) {
    height: calc(919px + var(--header-navigation-extra));
    min-height: calc(919px + var(--header-navigation-extra));
  }

  .site-header__menu-logo {
    z-index: 1;
    position: absolute;
    top: 16px;
    left: 24px;
    width: 214px;
    height: auto;
  }

  .site-header__navigation {
    --header-nav-column: calc((100% - 16px) / 2);
    position: absolute;
    z-index: 1;
    top: 80px;
    left: 24px;
    display: block;
    width: calc(100% - 48px);
    height: calc(426px + var(--header-navigation-extra));
    margin: 0;
    transition: height 0.3s ease-in-out;
  }

  .site-header__navigation section {
    position: absolute;
    display: block;
    width: 100%;
    height: 52px;
    padding: 0;
    border-bottom: 1px solid var(--color-lavender);
    transition: top 0.3s ease-in-out, height 0.3s ease-in-out;
  }

  .site-header__navigation section:nth-child(1) {
    top: 0;
    height: calc(52px + var(--header-about-extra));
  }
  .site-header__navigation section:nth-child(2) {
    top: calc(75px + var(--header-about-extra));
    height: calc(52px + var(--header-jobs-extra));
  }
  .site-header__navigation section:nth-child(3) {
    top: calc(150px + var(--header-navigation-extra));
    height: 127px;
    border: 0;
  }
  .site-header__navigation section:nth-child(4) {
    top: calc(225px + var(--header-navigation-extra));
    height: 202px;
    border: 0;
  }

  /* The last two groups intentionally share one visual row. Their full-width
     absolute section boxes overlap there, so let only the visible links own
     pointer input instead of allowing a transparent section to cover its
     neighbour (notably the NEWS link). */
  .site-header__navigation section:nth-child(n + 3) {
    pointer-events: none;
  }

  .site-header__navigation section:nth-child(n + 3) a {
    pointer-events: auto;
  }

  .site-header__navigation section > p,
  .site-header__navigation section > .c-recruit-navigation__heading { grid-column: 1; }

  .site-header__navigation section > ul { display: none; }

  .site-header__navigation .c-recruit-navigation__toggle {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    display: grid;
    width: 52px;
    height: 52px;
    place-items: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  /* Use the full row as the accordion target. JOBS keeps its text link above
     the toggle, so the label navigates while the surrounding gap expands. */
  .site-header__navigation section:nth-child(-n + 2) .c-recruit-navigation__toggle {
    width: 100%;
  }

  .site-header__navigation section:nth-child(-n + 2) .c-recruit-navigation__toggle::before,
  .site-header__navigation section:nth-child(-n + 2) .c-recruit-navigation__toggle::after {
    right: 14px;
  }

  .site-header__navigation section:nth-child(2) .c-recruit-navigation__heading a {
    position: relative;
    z-index: 2;
  }

  .site-header__navigation .c-recruit-navigation__toggle::before,
  .site-header__navigation .c-recruit-navigation__toggle::after {
    position: absolute;
    width: 16px;
    height: 1px;
    background: currentColor;
    content: "";
    transition: transform 0.3s ease-in-out;
  }

  .site-header__navigation .c-recruit-navigation__toggle::after {
    transform: rotate(90deg);
  }

  .site-header__navigation .c-recruit-navigation__toggle[aria-expanded="true"]::after {
    transform: rotate(0deg);
  }

  .site-header__navigation .c-recruit-navigation__toggle:focus-visible {
    outline: 2px solid var(--color-coral);
    outline-offset: -4px;
  }

  .site-header__navigation section:nth-child(-n + 2) > ul {
    position: absolute;
    top: 52px;
    left: 0;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    width: 100%;
    gap: 0;
    margin: 0;
    padding: 16px;
    font-size: 14px;
    line-height: 28px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity 0.25s ease-in-out, transform 0.3s ease-in-out, visibility 0s linear 0.3s;
  }

  .site-header__navigation section.is-expanded > ul {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition-delay: 0s;
  }

  .site-header__navigation p {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    color: var(--color-lavender);
    font-size: 11px;
    line-height: 1;
  }

  .site-header__navigation .c-recruit-navigation__sub-label { margin: 0; }

  .site-header__navigation .c-recruit-navigation__heading {
    position: absolute;
    top: 22px;
    left: 0;
    margin: 0;
    padding: 0;
    border: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
  }

  .site-header__navigation section:nth-child(3) .c-recruit-navigation__sub-label:nth-of-type(3) { top: 0; left: calc(var(--header-nav-column) + 16px); }
  .site-header__navigation section:nth-child(3) .c-recruit-navigation__heading:nth-of-type(4) { top: 22px; left: calc(var(--header-nav-column) + 16px); }
  .site-header__navigation section:nth-child(3) .c-recruit-navigation__sub-label:nth-of-type(5) { top: 75px; }
  .site-header__navigation section:nth-child(3) .c-recruit-navigation__heading:nth-of-type(6) { top: 97px; }
  .site-header__navigation section:nth-child(3)::before,
  .site-header__navigation section:nth-child(3)::after,
  .site-header__navigation section:nth-child(4)::before,
  .site-header__navigation section:nth-child(4)::after {
    position: absolute;
    height: 1px;
    background: var(--color-lavender);
    content: "";
  }
  .site-header__navigation section:nth-child(3)::before {
    top: 51px;
    left: 0;
    width: var(--header-nav-column);
    box-shadow: 0 75px 0 var(--color-lavender);
  }
  .site-header__navigation section:nth-child(3)::after { top: 51px; left: calc(var(--header-nav-column) + 16px); width: var(--header-nav-column); }
  .site-header__navigation section:nth-child(4) > p:first-child { left: calc(var(--header-nav-column) + 16px); }
  .site-header__navigation section:nth-child(4) > .c-recruit-navigation__heading:nth-of-type(2) { left: calc(var(--header-nav-column) + 16px); }
  .site-header__navigation section:nth-child(4) .c-recruit-navigation__sub-label:nth-of-type(3) { top: 75px; }
  .site-header__navigation section:nth-child(4) .c-recruit-navigation__heading:nth-of-type(4) { top: 97px; }
  .site-header__navigation section:nth-child(4) .c-recruit-navigation__sub-label:nth-of-type(5) { top: 150px; }
  .site-header__navigation section:nth-child(4) .c-recruit-navigation__heading:nth-of-type(6) { top: 172px; }
  .site-header__navigation section:nth-child(4)::before { top: 51px; left: calc(var(--header-nav-column) + 16px); width: var(--header-nav-column); }
  .site-header__navigation section:nth-child(4)::after { top: 126px; left: 0; width: 100%; box-shadow: 0 75px 0 var(--color-lavender); }

  .site-header__menu-entries {
    position: absolute;
    z-index: 1;
    top: calc(530px + var(--header-navigation-extra));
    bottom: auto;
    left: 0;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    height: auto;
    gap: 16px;
    margin: 0;
    padding: 24px 24px 64px;
    background: transparent;
    transition: top 0.3s ease-in-out;
  }

  .site-header__menu-entries .c-recruit-entry-links__title {
    gap: 16px;
    margin-bottom: 8px;
    font-size: 24px;
  }

  .site-header__menu-entries .c-recruit-entry-links__title::after { width: 120px; }

  .site-header__menu-entries a {
    height: 72px;
    padding: 0 16px 0 24px;
    border-radius: 16px;
  }

  .site-header__menu-entries i {
    width: 40px;
    height: 40px;
  }

  .site-header__mobile-entry {
    position: fixed;
    z-index: 2;
    inset: 0;
    display: block;
    width: 100vw;
    height: 100dvh;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    background: var(--color-cream);
    color: var(--color-ink);
    animation: site-menu-open 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .site-header__mobile-entry[hidden] { display: none; }

  .site-header__mobile-entry-close {
    position: fixed;
    z-index: 3;
    top: 8px;
    left: 50%;
    width: 50px;
    height: 40px;
    border-radius: 8px;
    background: var(--color-coral);
    transform: translateX(-50%);
  }

  .site-header__mobile-entry-close span {
    position: absolute;
    top: 19px;
    left: 13px;
    width: 24px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
  }

  .site-header__mobile-entry-close span:first-child { transform: rotate(18.4deg); }
  .site-header__mobile-entry-close span:last-child { transform: rotate(-18.4deg); }

  .site-header__mobile-entry-links {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 16px;
    padding: 82px 24px 64px;
  }

  .site-header__mobile-entry-links .c-recruit-entry-links__title {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 19px;
    color: var(--color-coral);
    font-family: var(--font-latin);
    font-size: 24px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
  }

  .site-header__mobile-entry-links .c-recruit-entry-links__title::after {
    width: 120px;
    height: 1px;
    background: var(--color-coral);
    content: "";
  }

  .site-header__mobile-entry-links a {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    padding: 0 16px 0 24px;
    border-radius: 16px;
    background: #fff;
  }

  .site-header__mobile-entry-links strong { display: flex; gap: 4px; font-size: 16px; font-weight: 700; }
  .site-header__mobile-entry-links strong span { color: var(--color-coral); }
  .site-header__mobile-entry-links i {
    display: grid;
    width: 40px;
    height: 40px;
    place-items: center;
    border-radius: 50%;
    background: var(--color-blue);
    color: #fff;
  }
  .site-header__mobile-entry-links a:nth-of-type(-n + 2) i { background: var(--color-coral); }

  .front-section { min-width: 0; }

  .front-stage {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    max-width: none;
    margin: 0;
    transform: none;
  }

  .c-section-heading {
    top: auto;
    padding-bottom: 0;
  }

  .c-section-heading__label {
    gap: 7px;
    font-size: 12px;
  }

  .c-section-heading__label span { font-size: 16px; }

  .c-section-heading__title {
    margin-top: 12px;
    font-size: 24px;
    line-height: 1.5;
    letter-spacing: 0.05em;
  }

  .c-arrow-link,
  .c-arrow-link--wide {
    width: var(--front-button-width);
    height: var(--front-button-height);
    padding: 0 8px 0 24px;
  }

  .c-arrow-link--wide { width: var(--front-button-wide-width); }

  .site-footer--recruit {
    height: auto;
    overflow: visible;
    clip-path: none;
  }

  .site-footer__stage {
    position: relative;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    width: 100%;
    height: auto;
    padding: 64px 24px 0;
    transform: none;
  }

  .site-footer__page-top {
    top: -72px;
    left: 50%;
    width: 95px;
    transform: translateX(-50%);
  }

  .site-footer__logo {
    position: static;
    width: 287px;
    height: auto;
    align-self: center;
    transform: none;
  }

  .site-footer__entry-links {
    position: static;
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    gap: 16px;
    margin-top: 40px;
  }

  .site-footer__entry-links a {
    height: 72px;
    padding: 0 16px 0 24px;
    border-radius: 16px;
  }

  .site-footer__entry-links i {
    width: 40px;
    height: 40px;
  }

  .site-footer__navigation {
    position: static;
    display: block;
    width: 100%;
    margin-top: 63px;
  }

  .site-footer__navigation section {
    padding: 0;
    border-bottom: 0;
  }

  .site-footer__navigation p {
    color: var(--color-lavender);
    font-size: 11px;
  }

  .site-footer__navigation .c-recruit-navigation__heading {
    margin-top: 2px;
    font-size: 15px;
  }

  .site-footer__navigation ul {
    margin-top: 14px;
    padding-left: 16px;
    font-size: 14px;
    line-height: 2.45;
  }

  .site-footer__navigation .c-recruit-navigation__jobs { line-height: 37px; }

  .site-footer__navigation section:nth-child(1) {
    height: auto;
    margin-bottom: 32px;
  }

  .site-footer__navigation section:nth-child(1) ul {
    margin-top: 7px;
    line-height: 37px;
  }

  .site-footer__navigation section:nth-child(2) {
    height: auto;
    margin-bottom: 32px;
  }

  .site-footer__navigation section:nth-child(2) ul {
    margin-top: 7px;
  }

  .site-footer__navigation .c-recruit-navigation__sub-label {
    margin-top: 19px;
  }

  .site-footer__navigation section:nth-child(3) { height: auto; margin-bottom: 24px; padding-bottom: 0; }
  .site-footer__navigation section:nth-child(3) .c-recruit-navigation__sub-label { margin-top: 23px; }
  .site-footer__navigation section:nth-child(4) { padding-bottom: 0; }
  .site-footer__navigation section:nth-child(4) .c-recruit-navigation__sub-label { margin-top: 23px; }

  .site-footer__navigation li {
    display: grid;
    grid-template-columns: 8px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
  }

  .site-footer__navigation li::before {
    position: static;
    top: auto;
    left: auto;
    align-self: center;
  }

  .site-footer__legal {
    position: static;
    display: flex;
    flex-direction: column-reverse;
    justify-content: center;
    width: 100%;
    min-height: 80px;
    height: auto;
    gap: 6px;
    margin-top: 61px;
    padding: 12px;
    border-radius: 16px 16px 0 0;
    font-size: 14px;
    text-align: center;
  }
}

@media (max-width: 767px) {
  /* SP artboard: allow the full company name and rights line their own rows. */
  .site-footer__legal {
    min-height: 101px;
    gap: 4px;
    padding: 12px 23px 15px;
  }

  .site-footer__legal small {
    width: 100%;
    max-width: 100%;
    line-height: 21px;
    text-align: left;
  }

  .site-footer__legal small span { display: block; }
  .site-footer__legal > a { line-height: 28px; }

  .site-header__logo,
  .site-header__logo img,
  .site-header__logo svg {
    transition: width 0.25s ease;
  }

  /* Keep the complete sticky header readable after ENTRY joins the controls. */
  .site-header.has-mobile-entry-visible .site-header__logo,
  .site-header.has-mobile-entry-visible .site-header__logo img,
  .site-header.has-mobile-entry-visible .site-header__logo svg {
    width: 200px;
    height: auto;
  }
}

@media (max-width: 390px) {
  .site-header__controls {
    right: 8px;
    gap: 6px;
  }

  .site-header__mobile-entry-button {
    width: 74px;
    gap: 6px;
    font-size: 13px;
  }

  .site-header.has-mobile-entry-visible .site-header__logo,
  .site-header.has-mobile-entry-visible .site-header__logo img,
  .site-header.has-mobile-entry-visible .site-header__logo svg {
    width: min(184px, calc(100vw - 175px));
    height: auto;
  }
}

@media (min-width: 768px) and (max-width: 1099px) {
  :root {
    --front-wide-inset: 40px;
    --front-wide-width: calc(100vw - 80px);
    --front-wide-padding: 40px;
    --front-content-gutter: 40px;
    --front-content-width: calc(100vw - 80px);
    --front-card-width: calc((100vw - 112px) / 3);
    --front-grid-gap: 16px;
  }

  .site-header__logo,
  .site-header__logo img {
    width: 314px;
    height: 45px;
  }

  .site-header__controls { right: 24px; }

  /* The complete header shell follows the viewport on tablet, including the
     logo. Previously only the controls were fixed, leaving an incomplete
     header after the first screen. */
  .site-header__stage {
    position: fixed;
    /* Keep the panel above its dimming backdrop. The controls remain in the
       same stacking context, so the close button stays visible and tappable. */
    z-index: 2;
  }

  .site-header__menu {
    height: auto;
    max-height: calc(100dvh - 24px);
    min-height: 0;
    border-radius: 0 0 16px 16px;
    background: var(--color-blue);
  }

  .site-header__menu-content {
    height: auto;
    min-height: 0;
    padding-bottom: 0;
    background: transparent;
  }

  .site-header__menu-content::before { content: none; }

  .site-header__menu-logo { left: 40px; }

  .site-header__navigation {
    position: relative;
    top: auto;
    left: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: auto;
    height: auto;
    gap: 0 32px;
    margin: 80px 40px 0;
  }

  .site-header__navigation section,
  .site-header__navigation section:nth-child(n) {
    position: relative;
    top: auto;
    width: auto;
    height: auto;
    padding: 14px 0;
    border-bottom: 0;
  }

  .site-header__navigation section > p,
  .site-header__navigation section > .c-recruit-navigation__heading,
  .site-header__navigation section:nth-child(n) > p,
  .site-header__navigation section:nth-child(n) > .c-recruit-navigation__heading {
    position: static;
    margin-top: 2px;
  }

  .site-header__navigation section > p { margin-bottom: 6px; }
  /* Keep the stacked tablet link groups on the same 75px rhythm as the
     desktop navigation. The generic 2px reset made each following label sit
     directly against the preceding divider. */
  .site-header__navigation section:nth-child(n) > .c-recruit-navigation__sub-label { margin-top: 22px; }
  .site-header__navigation section > .c-recruit-navigation__heading {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-lavender);
    line-height: 1.5;
  }

  .site-header__navigation section > ul { display: block; }

  /* Mobile accordions are always expanded in the tablet two-column menu.
     Reset every mobile-only hiding property, not only display. */
  .site-header__navigation section:nth-child(-n + 2) > ul {
    position: static;
    width: 100%;
    margin-top: 14px;
    padding: 0 0 0 16px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
    visibility: visible;
  }
  .site-header__navigation .c-recruit-navigation__toggle { display: none; }
  .site-header__navigation section::before,
  .site-header__navigation section::after { content: none !important; }

  .site-header__menu-entries {
    position: relative;
    top: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 24px;
    height: auto;
    gap: 16px 8px;
    padding-top: 32px;
    padding-bottom: 32px;
    padding-right: 40px;
    padding-left: 40px;
    background: var(--color-cream);
  }

  .site-header__menu-entries .c-recruit-entry-links__title { grid-column: 1 / -1; }

  .site-header__menu-entries strong {
    font-size: clamp(13px, 1.5vw, 14px);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .site-header__menu-entries a,
  .site-footer__entry-links a {
    height: 72px;
    padding: 0 12px 0 16px;
  }

  .site-header__menu-entries i,
  .site-footer__entry-links i {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
  }

  .site-header__mobile-entry-links {
    width: min(720px, calc(100% - 80px));
    margin: 0 auto;
    padding-right: 0;
    padding-left: 0;
  }

  .site-footer--recruit { height: auto; }

  .site-footer__stage {
    position: relative;
    top: auto;
    left: auto;
    display: flex;
    width: 100%;
    height: auto;
    flex-direction: column;
    gap: 0;
    padding: 72px 40px 0;
    transform: none;
  }

  .site-footer__logo {
    position: static;
    width: 214px;
    transform: none;
  }

  .site-footer__entry-links {
    position: static;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    gap: 16px 8px;
    margin-top: 48px;
  }

  .site-footer__entry-links a {
    width: 100%;
  }

  .site-footer__entry-links strong {
    font-size: clamp(13px, 1.5vw, 14px);
    letter-spacing: 0;
    white-space: nowrap;
  }

  .site-footer__navigation {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
    gap: 0 32px;
    margin-top: 64px;
  }

  .site-footer__navigation section {
    border-bottom: 0;
  }

  .site-footer__legal {
    position: static;
    width: 100%;
    margin-top: 64px;
  }
}
