/* Shared footer for the Growth Office and its capability studios. */
.ef-footer {
  --ef-ink: #161719;
  --ef-paper: #fbf7ef;
  --ef-line: #38393e;
  background: var(--ef-ink);
  color: var(--ef-paper);
  font-family: Geist, Arial, sans-serif;
}
.ef-wrap {
  width: min(calc(100% - clamp(36px, 10vw, 164px)), 1480px);
  margin-inline: auto;
}
.ef-invitation {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #202022;
  border-top: 1px solid #3d3638;
}
.ef-photo {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at 12% 120%, #b52b832b, transparent 60%),
    radial-gradient(ellipse at 91% 16%, #a7196b2b, transparent 47%),
    linear-gradient(90deg, #21191f 0%, #211920f5 33%, #211920c7 65%, #21192061 100%),
    linear-gradient(0deg, #18181b4d, #1c18195c),
    url(office.webp) right center / cover no-repeat;
}
.ef-invite-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 7%;
  padding-block: clamp(40px, 6vw, 90px);
}
.ef-kicker,
.ef-group h3 {
  margin: 0;
  letter-spacing: 0.1em;
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}
.ef-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ede2d5;
}
.ef-kicker i {
  display: block;
  width: 24px;
  height: 23px;
  background: url(../assets/brandwell.webp) left center / auto 100% no-repeat;
}
.ef-invitation h2 {
  font:
    500 clamp(2.9rem, 5.7vw, 6.8rem) / 0.95 Geist,
    Arial,
    sans-serif;
  letter-spacing: -0.073em;
  color: white;
  margin: 17px 0 0;
}
.ef-invitation h2 span {
  color: #f379ad;
}
.ef-invitation .starter {
  width: auto;
  max-width: 470px;
  min-width: 0;
}
.ef-invitation .starter fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border: 0;
  padding: 0;
  margin: 0;
}
.ef-invitation .starter legend {
  margin: 0 0 10px;
  font:
    500 0.89rem/1.5 Geist,
    Arial,
    sans-serif;
  color: #fff;
}
.ef-invitation .starter label span {
  border-color: #d2c7c36b;
  color: #fff9f0;
  background: #181819a8;
  border-radius: 20px;
  line-height: 1.2;
  font-size: 0.83rem;
  padding: 8px 13px;
  white-space: nowrap;
}
.ef-invitation .starter input:checked + span {
  color: #281e10;
  background: #ffd55c;
  border-color: #ffd55c;
}
.ef-invitation .starter-detail {
  min-height: 2.8em;
  margin: 12px 0;
  color: #eee9e1;
  font:
    400 0.94rem/1.45 Geist,
    Arial,
    sans-serif;
}
.ef-invitation .button.primary {
  background: #7226e2;
  color: #fff;
  box-shadow: 0 8px 25px #21122d59;
  min-height: 45px;
  border: 1px solid #bc8ef16b;
}
.ef-invitation .button.primary:is(:hover, :focus-visible) {
  background: #651dcf;
  box-shadow: 0 4px 22px #bc37773b;
}
.ef-invitation .button.primary::after {
  content: '→';
  margin-left: 9px;
}
.ef-invitation .starter small {
  color: #d4ccc4;
  font-size: 0.73rem;
  margin-top: 8px;
}
.ef-directory {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 2.65fr;
  gap: 6%;
  padding: clamp(42px, 5.4vw, 82px) 0 36px;
}
.ef-brand {
  display: inline-flex;
}
.ef-brand img {
  display: block;
  width: clamp(148px, 15vw, 245px);
  height: auto;
}
.ef-identity p {
  max-width: 34ch;
  margin: 14px 0 16px;
  color: #bfbec4;
  font-size: 0.97rem;
  line-height: 1.5;
  letter-spacing: -0.015em;
}
.ef-studio-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #fff9e8;
}
.ef-studio-link span {
  color: #ffc84b;
}
.ef-social {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ef-social a {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid #4b4c51;
  border-radius: 9px;
  color: #f2eee8;
  background: #202124;
}
.ef-social a:hover,
.ef-social a:focus-visible {
  border-color: #ffd55c;
  background: #2c2923;
}
.ef-social svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.ef-other {
  border-top: 1px solid var(--ef-line);
  padding-top: 16px;
  margin-top: 21px;
  max-width: 32ch;
}
.ef-other h3 {
  margin: 0 0 12px;
  color: #d8d3c9;
  font:
    500 0.82rem/1.4 Geist,
    Arial,
    sans-serif;
}
.ef-other a {
  display: block;
  width: fit-content;
  margin-top: 10px;
}
.ef-other strong,
.ef-other small {
  display: block;
}
.ef-other strong {
  font-size: 0.92rem;
  font-weight: 550;
}
.ef-other strong span {
  font-weight: 400;
  margin-left: 4px;
  color: #c4bbaa;
}
.ef-other small {
  font-size: 0.8rem;
  color: #c8c6cc;
  line-height: 1.5;
  margin-top: 2px;
}
.ef-directories {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px 25px;
}
.ef-group h3 {
  color: #c8c2b4;
  font-size: 0.68rem;
  letter-spacing: 0.13em;
  line-height: 1.4;
  margin: 0 0 10px;
}
.ef-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ef-group li {
  margin: 0;
}
.ef-group a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f7f3ef;
  line-height: 1.25;
  font-size: clamp(0.84rem, 0.94vw, 0.98rem);
  font-weight: 400;
  padding: 5px 0;
}
.ef-icon {
  width: 15px;
  height: 15px;
  flex: none;
  stroke: currentColor;
  stroke-width: 1.7;
  fill: none;
  color: #c3b9ce;
}
.ef-footer a:hover,
.ef-footer a:focus-visible {
  color: #ffd55c;
}
.ef-footer a:focus-visible,
.ef-footer button:focus-visible,
.ef-invitation .starter input:focus-visible + span {
  outline: 2px solid #ffd55c;
  outline-offset: 4px;
  border-radius: 3px;
}
.ef-access,
.ef-legal {
  border-top: 1px solid var(--ef-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ef-access {
  padding: 21px 0;
  font-size: 0.85rem;
}
.ef-access nav,
.ef-legal nav {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 30px);
  flex-wrap: wrap;
}
.ef-legal {
  color: #bcbac1;
}
.ef-access b,
.ef-legal b {
  font-weight: 400;
  color: #dfcdb1;
}
.ef-legal {
  padding: 19px 0 24px;
  font-size: 0.76rem;
  line-height: 1.45;
}
.ef-footer .bw-word {
  font-family: 'BrandWell Wordmark', Geist, sans-serif;
  font-variant-ligatures: common-ligatures;
}
@media (max-width: 850px) {
  .ef-directory {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .ef-identity {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(190px, 1fr);
    column-gap: 10%;
    align-items: start;
  }
  .ef-brand,
  .ef-identity p,
  .ef-social {
    grid-column: 1;
  }
  .ef-other {
    grid-column: 2;
    grid-row: 1/4;
  }
  .ef-invite-content {
    gap: 5%;
  }
}
@media (max-width: 610px) {
  .ef-wrap {
    width: calc(100% - 36px);
  }
  .ef-invite-content {
    grid-template-columns: 1fr;
    padding-block: 36px;
    gap: 24px;
  }
  .ef-invitation h2 {
    font-size: clamp(2.65rem, 10vw, 3.7rem);
  }
  .ef-invitation h2 br {
    display: none;
  }
  .ef-invitation h2 br::after {
    content: ' ';
  }
  .ef-invitation .starter-detail {
    min-height: 0;
  }
  .ef-directories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .ef-directory {
    padding-bottom: 26px;
  }
  .ef-group a {
    min-height: 34px;
  }
  .ef-access,
  .ef-legal {
    align-items: start;
    flex-wrap: wrap;
    gap: 10px;
  }
  .ef-access,
  .ef-legal nav {
    line-height: 1.7;
  }
  .ef-legal nav {
    order: 3;
    width: 100%;
  }
  .ef-identity {
    display: block;
  }
  .ef-photo {
    background-position: 65% center;
  }
  .ef-legal > a {
    margin-left: auto;
  }
}

@media (max-width: 355px) {
  .nav .nav-build {
    white-space: nowrap;
    font-size: 0.66rem;
    padding-inline: 10px;
  }
  .nav .wordmark {
    width: 92px;
  }
}

/* The capability directory shares the finish of the office and its studios. */
.nav .cap-panel {
  --menu-ink: #212024;
  --menu-muted: #54545d;
  --menu-rule: #dfdde0;
  --menu-purple: #6223c5;
  color: var(--menu-ink);
  font-family: Geist, Arial, sans-serif;
  background: #fdfdfc;
  border: 1px solid #d6d3d8;
  border-radius: 16px;
  box-shadow: 0 24px 68px #16131f45, 0 3px 12px #24202a26;
  overscroll-behavior: contain;
}
.nav .cap-groups {
  column-gap: clamp(12px, 1.3vw, 25px);
  padding: clamp(18px, 1.8vw, 32px);
}
.nav .cap-group h3 {
  margin: 0 0 7px;
  padding: 0 5px 10px;
  border-bottom: 1px solid var(--menu-rule);
  color: #49464e;
  font: 600 clamp(.84rem, .96vw, .95rem)/1.3 Geist, Arial, sans-serif;
  letter-spacing: -.018em;
}
.nav #mobile-nav .cap-link {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  min-height: 48px;
  padding: 9px 5px;
  color: var(--menu-ink);
  border-radius: 8px;
  text-shadow: none;
}
.nav .cap-link > span:last-child { min-width: 0; }
.nav .cap-link strong {
  color: inherit;
  font: 600 clamp(.9rem, 1.04vw, 1.02rem)/1.3 Geist, Arial, sans-serif;
  letter-spacing: -.025em;
}
.nav .cap-link small {
  margin-top: 2px;
  color: var(--menu-muted);
  font: 400 clamp(.8rem, .88vw, .88rem)/1.4 Geist, Arial, sans-serif;
}
.nav .cap-link .product-icon {
  margin-top: 1px;
  width: 31px;
  height: 31px;
  border-radius: 9px;
}
.nav #mobile-nav .cap-link:is(:hover, :focus-visible) {
  color: var(--menu-purple);
  background: #f2edf9;
}
.nav #mobile-nav .cap-film {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto auto;
  align-content: end;
  align-items: center;
  gap: 6px;
  padding: clamp(16px, 1.5vw, 28px);
  border-radius: 0;
  color: #fff;
  text-shadow: none;
  background:
    linear-gradient(180deg, #25222a90 0%, #28242baf 48%, #201d24f7 88%),
    url(office.webp) center / cover no-repeat;
}
.nav .cap-film img {
  grid-area: 1 / 1;
  margin: 0;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  border: 2px solid #211f25;
  border-radius: 5px;
  box-shadow: 0 4px 0 #111014, 0 14px 28px #09080b4d;
}
.nav .cap-film::after {
  content: '';
  grid-area: 1 / 1;
  place-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%236223c5' d='M8 5.8a.8.8 0 0 1 1.2-.7l10.1 6.2a.8.8 0 0 1 0 1.4L9.2 18.9a.8.8 0 0 1-1.2-.7z'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 3px 12px #241e2f4d;
  pointer-events: none;
}
.nav .cap-film:is(:hover, :focus-visible)::after { background-color: #ffdb74; }
.nav .cap-film strong {
  font: 600 clamp(1.15rem, 1.55vw, 1.7rem)/1.1 Geist, Arial, sans-serif;
  letter-spacing: -.045em;
}
.nav .cap-film span {
  color: #f5e6ed;
  font: 400 .83rem/1.35 Geist, Arial, sans-serif;
}
.nav .cap-foot {
  gap: 5px 14px;
  flex-wrap: wrap;
  padding: 3px clamp(14px, 1.8vw, 32px);
  border-color: var(--menu-rule);
  background: #f6f5f3;
}
.nav #mobile-nav .cap-foot a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 3px 5px;
  border-radius: 4px;
  color: #3c3741;
  font: 500 .84rem/1.3 Geist, Arial, sans-serif;
}
.nav #mobile-nav .cap-foot a:is(:hover, :focus-visible) {
  color: var(--menu-purple);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.nav .cap-menu summary:focus-visible { outline: 2px solid #ffdb74; outline-offset: 3px; }
.nav #mobile-nav .cap-panel a:focus-visible { outline: 2px solid var(--menu-purple); outline-offset: -2px; }
.nav #mobile-nav .cap-film:focus-visible { outline: 3px solid #ffdb74; outline-offset: -4px; }
@media (min-width: 1151px) {
  .nav .cap-film { grid-row: 1 / 3; grid-column: 2; }
  .nav .cap-foot { grid-column: 1; }
}
@media (max-width: 1150px) {
  .nav #mobile-nav .cap-film {
    display: grid !important;
    grid-template: auto auto / 96px 1fr;
    column-gap: 15px;
    row-gap: 2px;
    padding: 11px 18px;
    background-position: center 52%;
  }
  .nav .cap-film img, .nav .cap-film::after { grid-area: 1 / 1 / 3 / 2; }
  .nav .cap-film::after { width: 30px; height: 30px; background-size: 14px; }
  .nav .cap-film strong { grid-area: 1 / 2; align-self: end; font-size: 1rem; }
  .nav .cap-film span { grid-area: 2 / 2; align-self: start; }
}
@media (max-width: 900px) {
  .nav .cap-panel { margin-block: 5px; border-radius: 11px; }
  .nav .cap-groups { padding: 15px; gap: 18px 16px; }
  .nav .cap-group h3 { margin: 0 0 4px; padding-bottom: 6px; }
  .nav #mobile-nav .cap-link { min-height: 48px; }
  .nav .cap-foot { gap: 0 10px; }
}
@media (max-width: 520px) {
  .nav .cap-groups { grid-template-columns: 1fr; padding-inline: 11px; gap: 14px; }
  .nav .cap-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 6px;
    align-content: start;
  }
  .nav .cap-group h3 { grid-column: 1 / -1; }
  .nav #mobile-nav .cap-link { padding: 7px 3px; gap: 6px; }
  .nav .cap-link strong { font-size: .87rem; }
  .nav .cap-link .product-icon { width: 24px; height: 24px; border-radius: 6px; }
  .nav .cap-link .product-icon svg { width: 15px; height: 15px; }
  .nav .cap-foot { padding: 4px 8px; column-gap: 8px; }
}

@media (min-width:901px) {
  .nav .nav-inner {
    display:grid;
    grid-template-columns:minmax(0,1fr) max-content minmax(0,1fr);
    column-gap:clamp(12px,2vw,32px);
  }
  .nav .nav-inner > a:first-child {justify-self:start}
  .nav .site-links {justify-self:center;margin:0}
  .nav .nav-actions {justify-self:end;margin-left:0}
}
.ef-preview-film {padding:0;border:1px solid #565158;border-radius:16px;width:min(860px,92vw);background:#201e23;color:white;overflow:hidden}
.ef-preview-film::backdrop {background:#121017cc}
.ef-preview-film form {display:flex;align-items:center;justify-content:space-between;padding:12px 18px;font-family:Geist,sans-serif}
.ef-preview-film button {background:#38343a;color:white;border:1px solid #5f5662;border-radius:6px;padding:5px 12px;cursor:pointer}
.ef-preview-film iframe {width:100%;aspect-ratio:16/9;display:block;border:0}

@media (min-width:901px) and (max-width:1120px) {
  .nav .nav-inner {width:calc(100% - 40px);column-gap:12px}
  .nav .nav-actions {gap:12px}
  .nav .nav-build.button {font-size:.88rem;padding-inline:14px}
  .nav #mobile-nav.site-links {gap:16px}
}
