:root {
  --yellow: #f7bd00;
  --yellow-dark: #d99b00;
  --charcoal: #20272c;
  --ink: #202428;
  --muted: #5c6267;
  --line: #dfe2e4;
  --paper: #fff;
  --surface: #f4f5f5;
  --shadow: 0 8px 24px rgba(23, 30, 34, 0.1);
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: #edf0f1;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #0b65a5; outline-offset: 3px; }
[hidden] { display: none !important; }

.page-shell {
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 3px 18px rgba(25, 31, 35, 0.18);
}
.section-pad { margin-inline: 28px; }

.notice-bar {
  position: relative;
  z-index: 10;
  color: #171b1e;
  background: linear-gradient(90deg, #ffc712, #ffb900);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.notice-bar__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  width: min(1120px, calc(100% - 30px));
  min-height: 46px;
  margin: 0 auto;
  font-size: 0.88rem;
}
.notice-bar__inner p { margin: 0; }
.notice-bar__symbol { font-size: 0.55rem; }
.notice-bar__close {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: inherit;
  background: transparent;
  font: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}
.notice-bar__close:hover { background: rgba(255, 255, 255, 0.35); }

.vacation-tab {
  position: fixed;
  z-index: 20;
  top: 50%;
  left: 0;
  display: flex;
  width: 58px;
  min-height: 250px;
  padding: 15px 9px 13px;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #b98800;
  border-left: 0;
  border-radius: 0 22px 22px 0;
  color: #06264a;
  background: linear-gradient(100deg, #ffc900, var(--yellow));
  box-shadow: 3px 5px 14px rgba(23, 30, 34, 0.25);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background-color 160ms ease, box-shadow 160ms ease;
}
.vacation-tab:hover {
  background: #ffd13e;
  box-shadow: 4px 7px 18px rgba(23, 30, 34, 0.3);
}
.vacation-tab:focus-visible {
  outline-color: #06264a;
  outline-offset: -5px;
}
.vacation-tab__sun {
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
}
.vacation-tab__label {
  letter-spacing: 0.05em;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}
.vacation-tab__arrow {
  font-size: 1.65rem;
  line-height: 1;
}

.site-header { padding: 20px 28px 36px; text-align: center; }
.brand { display: inline-block; width: min(100%, 760px); }
.brand img { width: 100%; height: auto; }
.brand--wordmark {
  display: inline-flex;
  width: min(100%, 740px);
  min-height: 220px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
}
.brand--wordmark .brand__crest {
  width: auto;
  max-width: 110px;
  max-height: 135px;
  object-fit: contain;
}
.brand--wordmark .brand__wordmark {
  width: min(100%, 460px);
  height: auto;
  max-width: 100%;
  object-fit: contain;
}
.intro { padding: 0 20px 26px; text-align: center; }
.intro h1 { margin: 0; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; }

.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.service-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f7f7f7);
  box-shadow: var(--shadow);
}
.service-card__link {
  display: flex;
  min-height: 390px;
  padding: 25px 22px 24px;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  border-radius: inherit;
}
.service-card__link:hover { border-color: var(--yellow); box-shadow: inset 0 0 0 2px var(--yellow); }
.service-card__logo {
  display: grid;
  width: 100%;
  min-height: 125px;
  margin-bottom: 16px;
  place-items: center;
}
.service-card__logo img {
  width: auto;
  height: auto;
  max-width: 180px;
  max-height: 125px;
  object-fit: contain;
}
.service-card__content { display: flex; flex: 1; flex-direction: column; align-items: center; }
.service-card h2 { margin: 0; font-size: 1.16rem; line-height: 1.25; }
.service-card p { max-width: 260px; margin: 16px auto 22px; color: var(--muted); font-size: 0.95rem; }

.button {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 10px 17px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 0;
  border-radius: 5px;
  color: #111;
  background: linear-gradient(#ffcb22, var(--yellow));
  box-shadow: 0 2px 5px rgba(87, 62, 0, 0.15);
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}
.button:hover { background: #ffd13e; transform: translateY(-1px); }

.large-notice { margin-top: 32px; scroll-margin-top: 24px; }
.large-notice__frame {
  overflow: hidden;
  border: 2px solid var(--yellow);
  border-radius: var(--radius);
  background: #f8f8f8;
  box-shadow: var(--shadow);
}
.large-notice__frame a { display: block; }
.large-notice img { width: 100%; height: auto; object-fit: contain; }

.home-main { position: relative; }
.career { margin-top: 32px; }
.eyebrow {
  margin: 0 0 5px;
  color: var(--yellow-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.career-card h2 { margin: 0; font-size: clamp(1.45rem, 2.5vw, 2rem); }
.configurator-launcher {
  position: relative;
  z-index: 7;
  width: 240px;
  margin: 24px 28px 28px;
}
.configurator-launcher__tab {
  display: grid;
  width: 240px;
  min-height: 48px;
  padding: 7px 12px 7px 9px;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  gap: 9px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0 10px 10px 0;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 5px 16px rgba(23, 30, 34, 0.14);
  font: inherit;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}
.configurator-launcher__mark {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  color: #1f2529;
  background: var(--yellow);
  font-size: 1rem;
  line-height: 1;
}
.configurator-launcher__chevron {
  color: #8a6500;
  font-size: 1.45rem;
  line-height: 1;
  transition: transform 180ms ease;
}
.configurator-launcher__panel {
  position: absolute;
  top: 0;
  left: calc(100% + 10px);
  width: min(560px, calc(100vw - 340px));
  min-width: 420px;
  padding: 22px;
  visibility: hidden;
  border: 1px solid var(--line);
  border-top: 4px solid var(--yellow);
  border-radius: var(--radius);
  opacity: 0;
  background: #fff;
  box-shadow: 0 14px 34px rgba(23, 30, 34, 0.2);
  pointer-events: none;
  transform: translateX(-10px);
  transition: opacity 180ms ease, transform 180ms ease;
}
.configurator-launcher__panel::before {
  position: absolute;
  top: 15px;
  left: -10px;
  width: 18px;
  height: 18px;
  border-bottom: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
  content: "";
  transform: rotate(45deg);
}
.configurator-launcher__panel::after {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -14px;
  width: 14px;
  content: "";
}
.configurator-launcher.is-open .configurator-launcher__panel,
.configurator-launcher:focus-within .configurator-launcher__panel {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}
.configurator-launcher.is-open .configurator-launcher__chevron,
.configurator-launcher:focus-within .configurator-launcher__chevron {
  transform: rotate(90deg);
}
@media (hover: hover) and (pointer: fine) {
  .configurator-launcher:hover .configurator-launcher__panel {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
  }
  .configurator-launcher:hover .configurator-launcher__chevron {
    transform: rotate(90deg);
  }
}
.configurator-launcher.is-suppressed .configurator-launcher__panel {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-10px);
}
.configurator-launcher.is-suppressed .configurator-launcher__chevron {
  transform: none;
}
.configurator-launcher__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 20px;
  align-items: center;
}
.configurator-launcher__content {
  min-width: 0;
}
.configurator-launcher h2 {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.25;
}
.configurator-launcher__content > p:not(.eyebrow) {
  margin: 9px 0 14px;
  color: var(--muted);
  font-size: 0.92rem;
}
.configurator-launcher__link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  color: #755500;
  font-weight: 700;
  text-decoration: none;
}
.configurator-launcher__link:hover {
  color: #513a00;
  text-decoration: underline;
}
.configurator-launcher__preview {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #161a1d;
}
.configurator-launcher__preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 1893 / 1047;
  object-fit: contain;
}
.configurator-launcher__close {
  position: absolute;
  z-index: 2;
  top: 7px;
  right: 7px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}
.configurator-launcher__close:hover {
  color: var(--ink);
  background: #f2f3f3;
}

.career { margin-bottom: 32px; }
.career-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  min-height: 245px;
  padding: 38px 42px;
  align-items: center;
  color: #fff;
  border-radius: var(--radius);
  background: radial-gradient(circle at 10% 20%, rgba(247, 189, 0, 0.17), transparent 28%), linear-gradient(120deg, #192126, #3a4145);
  box-shadow: var(--shadow);
}
.career-card__mark {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  border-radius: 50%;
  color: var(--charcoal);
  background: var(--yellow);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}
.career-card p:not(.eyebrow) { max-width: 650px; margin: 10px 0 22px; color: #e3e6e7; }

.site-footer { padding: 34px 34px 22px; color: #eef0f1; background: linear-gradient(130deg, #182126, #273036); }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.2fr 0.85fr 0.75fr; gap: 32px; }
.footer-grid--home { grid-template-columns: 1.3fr 1fr 0.8fr; }
.footer-grid--legal { grid-template-columns: 1.15fr 1fr 0.85fr; }
.footer-grid > * + * { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, 0.18); }
.footer-brand img { width: 220px; height: auto; border-radius: 3px; }
.site-footer h2 { margin: 0 0 10px; font-size: 0.95rem; }
.site-footer p, .site-footer address, .site-footer nav { margin: 0; color: #d7dbdd; font-size: 0.88rem; font-style: normal; }
.site-footer a { display: block; width: fit-content; margin-bottom: 6px; color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--yellow); text-decoration: underline; }
.footer-meta { margin-top: 26px !important; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.18); }

.subpage-main { padding: 10px 28px 46px; }
.subpage-header { max-width: 760px; margin: 0 auto 28px; text-align: center; }
.subpage-header h1 { margin-bottom: 8px; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.back-link { display: inline-block; margin-bottom: 12px; color: #755500; font-weight: 700; }
.career-page {
  width: min(100%, 1040px);
  margin-inline: auto;
}
.career-info {
  overflow: hidden;
  border: 1px solid #edc54a;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #fff9e6, #fff 72%);
  box-shadow: var(--shadow);
}
.career-info__application {
  display: flex;
  gap: 28px;
  padding: 30px 32px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eadcae;
}
.career-info__application > div {
  min-width: 0;
}
.career-info__application h2 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.2;
}
.career-info__application p:not(.eyebrow) {
  max-width: 720px;
  margin: 10px 0 0;
}
.career-info__application a:not(.button),
.job-card a {
  color: #735400;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.career-info__application .button {
  flex: 0 0 auto;
  margin-top: 0;
}
.career-benefits {
  padding: 26px 32px 30px;
}
.career-benefits h3 {
  margin: 0 0 18px;
  font-size: 1.15rem;
}
.career-benefits__list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 34px;
  list-style: none;
}
.career-benefits__list li {
  position: relative;
  min-width: 0;
  padding-left: 24px;
}
.career-benefits__list li::before {
  position: absolute;
  top: 0.08em;
  left: 0;
  color: var(--yellow-dark);
  content: "✓";
  font-weight: 700;
}
.career-openings {
  margin-top: 46px;
}
.career-openings__header {
  margin-bottom: 22px;
  text-align: center;
}
.career-openings__header h2 {
  margin: 0;
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
}
.career-openings__list {
  display: grid;
  gap: 24px;
}
.job-card {
  min-width: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #fff, #f8f8f8);
  box-shadow: var(--shadow);
}
.job-card--training {
  border-color: #edc54a;
  background: linear-gradient(145deg, #fffdf4, #fff);
}
.job-badge {
  display: inline-flex;
  max-width: 100%;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #171b1e;
  background: var(--yellow);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
  overflow-wrap: anywhere;
}
.job-badge--position {
  color: #fff;
  background: var(--charcoal);
}
.job-card > h3 {
  margin: 0;
  font-size: clamp(1.3rem, 3vw, 1.75rem);
  line-height: 1.3;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.job-card > h3 + p {
  margin: 12px 0 0;
  color: var(--muted);
}
.job-card__section {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.job-card__section h4 {
  margin: 0 0 14px;
  font-size: 1.08rem;
}
.job-card__section ul {
  margin: 0;
  padding-left: 1.3rem;
}
.job-card__section li + li {
  margin-top: 9px;
}
.job-card__note {
  margin: 18px 0 0;
  padding: 14px 16px;
  border-left: 4px solid var(--yellow);
  color: var(--muted);
  background: #f3f4f4;
  font-size: 0.9rem;
}

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 34px; align-items: start; }
.legal-nav { position: sticky; top: 18px; padding: 20px; border-radius: var(--radius); background: var(--surface); }
.legal-nav a { display: block; padding: 7px 0; color: var(--ink); font-weight: 700; }
.legal-content { min-width: 0; }
.legal-section { scroll-margin-top: 20px; }
.legal-section + .legal-section { margin-top: 44px; padding-top: 34px; border-top: 1px solid var(--line); }
.legal-content h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.legal-content h2 { margin-top: 30px; font-size: 1.25rem; }
.legal-content h3 { margin-top: 24px; font-size: 1.05rem; }
.legal-content a { overflow-wrap: anywhere; color: #755500; }

@media (max-width: 850px) {
  .services { gap: 14px; }
  .service-card__link { padding-inline: 14px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid--home { grid-template-columns: repeat(2, 1fr); }
  .footer-grid > * + * { padding-left: 0; border-left: 0; }
}

@media (max-width: 760px) {
  .configurator-launcher {
    margin: 20px 28px 24px;
  }
  .configurator-launcher__panel {
    top: 58px;
    left: 0;
    width: min(560px, calc(100vw - 84px));
    min-width: 0;
    padding: 20px;
    transform: translateY(-8px);
  }
  .configurator-launcher__panel::before {
    top: -9px;
    left: 22px;
    border: 1px solid var(--line);
    border-right: 0;
    border-bottom: 0;
  }
  .configurator-launcher__panel::after {
    top: -12px;
    right: 0;
    bottom: auto;
    left: 0;
    width: 100%;
    height: 12px;
  }
  .configurator-launcher.is-open .configurator-launcher__panel,
  .configurator-launcher:focus-within .configurator-launcher__panel {
    transform: translateY(0);
  }
  .configurator-launcher.is-suppressed .configurator-launcher__panel {
    transform: translateY(-8px);
  }
  .configurator-launcher__layout { grid-template-columns: 1fr; }
  .configurator-launcher__preview { order: 2; }
}

@media (max-width: 680px) {
  .page-shell { width: min(100%, 520px); margin: 0 auto; border-radius: 0; }
  .section-pad { margin-inline: 14px; }
  .vacation-tab {
    top: auto;
    bottom: 14px;
    left: 10px;
    width: auto;
    min-height: 0;
    padding: 10px 13px;
    flex-direction: row;
    gap: 8px;
    border-left: 1px solid #b98800;
    border-radius: 12px;
    font-size: 0.78rem;
    transform: none;
  }
  .vacation-tab__sun,
  .vacation-tab__arrow { font-size: 1.15rem; }
  .vacation-tab__label {
    letter-spacing: 0.035em;
    writing-mode: horizontal-tb;
    transform: none;
  }
  .configurator-launcher { margin: 16px 14px 20px; }
  .configurator-launcher__panel { width: calc(100vw - 28px); }
  .notice-bar__inner { width: calc(100% - 20px); padding-block: 7px; font-size: 0.76rem; line-height: 1.35; }
  .site-header { padding: 16px 14px 24px; }
  .brand--wordmark {
    min-height: 132px;
    gap: 6px;
  }
  .brand--wordmark .brand__crest {
    max-width: 58px;
    max-height: 72px;
  }
  .brand--wordmark .brand__wordmark {
    width: min(100%, 300px);
    max-width: 100%;
    flex: 0 1 auto;
  }
  .intro { padding: 0 10px 22px; }
  .intro h1 br { display: none; }
  .services { grid-template-columns: 1fr; }
  .service-card__link {
    display: grid;
    grid-template-columns: minmax(100px, 32vw) minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    padding: 18px;
    align-items: start;
    text-align: left;
  }
  .service-card__logo {
    width: 100%;
    min-height: 0;
    margin: 0;
  }
  .service-card__logo img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 105px;
    object-fit: contain;
  }
  .service-card__content { align-items: flex-start; }
  .service-card h2 { font-size: 1rem; }
  .service-card p { margin: 8px 0 14px; font-size: 0.86rem; }
  .button { font-size: 0.82rem; }
  .large-notice, .career { margin-top: 18px; }
  .career { margin-bottom: 18px; }
  .career-card { grid-template-columns: 1fr; gap: 16px; min-height: 0; padding: 26px 22px; }
  .career-card__mark { width: 58px; height: 58px; font-size: 2.2rem; }
  .site-footer { padding: 28px 22px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-grid--home { grid-template-columns: 1fr; }
  .subpage-main { padding: 5px 14px 36px; }
  .career-info__application {
    padding: 24px 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .career-info__application .button { width: 100%; }
  .career-benefits { padding: 22px 20px 24px; }
  .career-benefits__list { grid-template-columns: 1fr; gap: 10px; }
  .career-openings { margin-top: 34px; }
  .job-card { padding: 24px 20px; }
  .job-badge { border-radius: 8px; }
  .legal-layout { grid-template-columns: 1fr; }
  .legal-nav { position: static; }
}

@media (max-width: 350px) {
  .brand--wordmark {
    min-height: 128px;
    gap: 6px;
  }
  .brand--wordmark .brand__crest {
    max-width: 68px;
    max-height: 84px;
  }
  .brand--wordmark .brand__wordmark {
    width: min(100%, 240px);
    max-width: 100%;
    flex: 0 1 auto;
  }
  .service-card__link {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .service-card__logo img {
    max-width: 150px;
    max-height: 105px;
  }
  .service-card__content { align-items: center; }
  .service-card p { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .vacation-tab,
  .configurator-launcher__panel,
  .configurator-launcher__chevron { transition: none; }
}
