@font-face {
  font-family: 'Inter Préparation';
  src: url('/approved-deas/assets/inter-latin.woff2') format('woff2');
  font-weight: 300 800;
  font-display: swap;
}

.edition-masthead,
.hero-edition,
.edition-services {
  --ink: #1b2856;
  --accent: #16196b;
  --terracotta: #ac243e;
  --heading-font: 'Inter Préparation', Inter, 'Source Sans 3', sans-serif;
  font-family: 'Source Sans 3', system-ui, sans-serif;
}

:is(.edition-masthead, .hero-edition, .edition-services) .wrap {
  width: min(1160px, calc(100% - 86px));
}
.edition-masthead {
  border-top: 4px solid var(--accent);
}
.edition-masthead .masthead-inner {
  min-height: 78px;
}
.edition-masthead .brand {
  --logo-width: 178px;
}
.edition-masthead .brand-description {
  max-width: 22rem;
  font-weight: 560;
}
.edition-masthead .brand-description span {
  display: block;
}
.edition-masthead .header-action {
  min-width: 203px;
  min-height: 46px;
  font-size: 1rem;
}
.edition-masthead .navigation-inner {
  min-height: 56px;
  gap: 17px;
  position: relative;
}
.edition-masthead .top-nav {
  gap: 23px;
}
.edition-masthead .top-nav a {
  min-height: 55px;
}
.edition-masthead .top-nav a[aria-current]::after {
  height: 3px;
}
.edition-masthead [data-preparation-text-size][aria-pressed='true'] {
  background: var(--accent);
  color: white;
}

.hero-edition {
  background: #f3f5fb;
}
.hero-edition .hero-grid {
  column-gap: clamp(24px, 5vw, 70px);
  row-gap: 24px;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  padding-block: 47px 62px;
}
.hero-edition .hero-eyebrow,
.hero-edition .orient-timing {
  font-size: 0.77rem;
  line-height: 1.25;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  font-weight: 750;
}
.hero-edition .hero-eyebrow {
  margin: 0 0 15px;
}
.hero-edition h1 {
  font-size: clamp(2.8rem, 4.65vw, 4.2rem);
  line-height: 1.13;
  font-weight: 735;
  letter-spacing: -0.038em;
  max-width: 14ch;
  margin-bottom: 19px;
  text-wrap: balance;
}
.hero-edition .hero-lead {
  font-size: 1.115rem;
  line-height: 1.56;
  max-width: 48ch;
}
.hero-edition .hero-actions {
  gap: 12px 16px;
  margin-top: 27px;
}
.hero-edition .button {
  min-height: 46px;
  padding: 10px 17px;
  font-size: 1rem;
}
.hero-edition .hero-photo {
  border-radius: 10px;
}
.hero-edition .hero-photo img {
  aspect-ratio: 1.85;
  object-position: center 47%;
}
.hero-edition .orientation-card {
  border: 1px solid #dbe0eb;
  border-top: 5px solid var(--accent);
  border-radius: 11px;
  padding: 24px 27px;
  box-shadow: 0 9px 30px #16244f12;
}
.hero-edition .orient-heading {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}
.hero-edition .orient-form {
  gap: 13px;
}
.hero-edition .orient-field > :is(label, legend) {
  font-size: 0.96rem;
}
.hero-edition .orient-field select {
  min-height: 44px;
  margin-top: 5px;
}
.hero-edition .orient-hint {
  font-size: 0.85rem;
}
.hero-edition .orient-activities {
  grid-template-columns: 1fr;
  gap: 1px;
}
.hero-edition .orient-activity {
  align-items: center;
  min-height: 29px;
  padding: 3px 4px;
  background: transparent;
  border: 0;
  font-size: 0.95rem;
}
.hero-edition .orient-activity:hover,
.hero-edition .orient-activity:has(input:checked) {
  background: #f3f5fb;
}
.hero-edition .orient-activity input {
  width: 17px;
  height: 17px;
  flex-basis: 17px;
  margin: 0;
}
.hero-edition .orient-actions {
  border: none;
  padding-top: 3px;
}
.hero-edition .orient-preview {
  margin-block-end: 1rem;
}
.edition-services {
  padding-block: clamp(38px, 5vw, 68px);
}
.edition-services .intent-grid > a {
  min-height: 75px;
  align-content: start;
}
.edition-services .intent-grid strong {
  grid-column: 1;
}
.edition-services .intent-arrow {
  grid-column: 2;
  grid-row: 1;
}

@media (max-width: 970px) {
  :is(.edition-masthead, .hero-edition, .edition-services) .wrap {
    width: calc(100% - 56px);
  }
  .edition-masthead .top-nav {
    gap: 15px;
  }
}
@media (max-width: 840px) {
  .edition-masthead .navigation-inner {
    gap: 7px;
  }
  .edition-masthead .menu-toggle:not([hidden]) + .top-nav {
    position: absolute;
    inset: calc(100% + 1px) -4px auto;
    z-index: 10;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 6px 13px;
    background: white;
    border: 1px solid var(--line);
    border-radius: 0 0 9px 9px;
    box-shadow: 0 12px 25px #16224b2c;
  }
  .edition-masthead .top-nav a {
    min-height: 47px;
    padding: 9px 11px;
    border-bottom: 1px solid var(--line);
  }
  .edition-masthead .top-nav a:last-child {
    border-bottom: none;
  }
  .edition-masthead .top-nav a[aria-current] {
    background: #eef0fa;
    border-left: 3px solid var(--terracotta);
  }
  .edition-masthead .top-nav a[aria-current]::after {
    display: none;
  }
}
@media (max-width: 740px) {
  :is(.edition-masthead, .hero-edition, .edition-services) .wrap {
    width: calc(100% - 34px);
  }
  .edition-masthead .masthead-inner {
    min-height: 68px;
  }
  .edition-masthead .brand {
    --logo-width: clamp(112px, 31vw, 156px);
  }
  .edition-masthead .brand-description {
    display: none;
  }
  .edition-masthead .header-action {
    min-width: 0;
    max-width: 51%;
    min-height: 43px;
    font-size: 0.855rem;
    padding: 8px 10px;
  }
  .edition-masthead .navigation-inner {
    min-height: 53px;
  }
  .hero-edition .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 25px;
    padding-block: 32px 39px;
  }
  .hero-edition h1 {
    font-size: clamp(2.18rem, 8.2vw, 3.3rem);
    margin-bottom: 12px;
  }
  .hero-edition .hero-lead {
    font-size: 1rem;
  }
  .hero-edition .hero-actions {
    margin-top: 19px;
    gap: 9px;
  }
  .hero-edition .hero-actions .button {
    width: auto;
  }
  .hero-edition .orientation-card {
    padding: 17px;
  }
  .hero-edition .orient-activity {
    min-height: 34px;
  }
  .edition-services .intent-grid {
    grid-template-columns: 1fr;
  }
}
