:root {
  --ink: #17241f;
  --muted: #4e5b54;
  --mint: #fff;
  --foam: #f6f7f4;
  --leaf: #f5f7f0;
  --deep: #17241f;
  --line: #dce1da;
  --page-gutter: 32px;
  --content: min(1240px, calc(100% - 2 * var(--page-gutter)));
  --glass: linear-gradient(156deg, rgb(238 242 209 / 22%), rgb(77 94 64 / 7%));
  --panel-shadow: 0 2px 5px rgb(22 31 26 / 4%), 0 10px 24px -5px rgb(22 31 26 / 13%);
  --sans: "Instrument Sans", "Segoe UI", sans-serif;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --viewport-frost: clamp(30px, 5.5svh, 52px);
}
html { scroll-behavior: smooth; scroll-padding: 24px 0 var(--viewport-frost); }
body { margin: 0; color: var(--ink); background: white; font: 400 17px/1.55 var(--sans); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body::after {
    content: ""; pointer-events: none; position: fixed; z-index: 18; inset: auto 0 0;
    height: var(--viewport-frost);
    background: rgb(255 255 255 / 8%);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
    -webkit-mask-image: linear-gradient(transparent, rgb(0 0 0 / 18%) 28%, #000);
    mask-image: linear-gradient(transparent, rgb(0 0 0 / 18%) 28%, #000);
  }
  body:has(dialog[open], .select-trigger[aria-expanded="true"])::after { visibility: hidden; }
  @media (pointer: coarse) {
    body:has(:is(input, textarea):focus)::after { visibility: hidden; }
  }
}
h1, h2, h3 { font-family: var(--sans); font-weight: 500; letter-spacing: -.045em; text-wrap: balance; overflow-wrap: anywhere; }
p, .diagram-note { text-wrap: pretty; overflow-wrap: break-word; }
dd, li, .profile-context span, .select-option { text-wrap: pretty; }
img { display: block; max-width: 100%; }
a { color: inherit; }
.container, .frame { width: var(--content); margin-inline: auto; }
[hidden] { display: none !important; }
.skip { position: absolute; z-index: 40; top: 8px; left: 12px; transform: translateY(-150%); padding: 10px 16px; background: #fff; color: var(--ink); }
.skip:focus { top: 8px; transform: none; }
:where(a, button, input, select, textarea):focus-visible { outline: 2px solid #577b67; outline-offset: 4px; }
.navbar { position: relative; z-index: 20; margin: 0 auto; padding: 0; width: var(--content); }
.nav-pill { height: 83px; display: flex; gap: 28px; align-items: center; justify-content: space-between; background: white; border: 0; border-radius: 0; color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 400 33px/1 var(--sans); letter-spacing: -.03em; text-decoration: none; }
.brand img { height: 29px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 3px; padding: 5px; border-radius: 999px; background: #26372c; color: #fff; }
.site-nav a {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 40px; padding: 0 15px; border-radius: 999px;
  font-size: 15px; text-decoration: none; white-space: nowrap;
  transition: color .18s ease-out, background-color .18s ease-out;
}
.site-nav a:not(.nav-contact):hover { background: rgb(255 255 255 / 12%); }
.site-nav a:focus-visible { outline-color: #fff; outline-offset: -3px; }
.button, .menu-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 44px; height: auto; padding: 9px 18px; border: 1px solid #d5ddd4;
  border-radius: 999px; color: var(--ink); background: #fff; font: 500 14px/1.25 "Instrument Sans", sans-serif;
  text-decoration: none; text-transform: none; letter-spacing: 0; cursor: pointer;
  transition: background-color .16s ease, border-color .16s ease, scale .14s ease-out;
}
.button:hover, .menu-button:hover { background: #ebf0eb; color: var(--ink); }
.button.dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.button.dark:hover { background: #35483e; color: #fff; }
.site-nav .nav-contact { border: 0; color: #202020; background: #fff; }
.site-nav .nav-contact:hover { background: #ededed; color: #202020; }
.site-nav .nav-contact:focus-visible { outline-color: #595959; }
.button:disabled { opacity: .55; cursor: default; }
.menu-button { display: none; }
.page-back {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
  color: var(--muted); font: 500 14px/1 var(--sans); text-decoration: none;
}
.page-back:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.page-back svg { flex: none; }
.surface-panel { background: #fff; border: 0; border-radius: 17px; box-shadow: var(--panel-shadow); }
.footer {
  padding-top: clamp(24px, 4vw, 56px);
  color: var(--ink);
  background: #fafafa;
}
.footer-grid {
  --footer-actions-width: 168px;
  position: relative; box-sizing: border-box;
  width: var(--content); margin-inline: auto; padding: clamp(21px, 3.4vw, 44px);
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(var(--footer-actions-width), .63fr);
  align-items: start; gap: 22px clamp(20px, 3.2vw, 44px);
  border-radius: clamp(20px, 2.6vw, 30px); background: #fff;
  box-shadow: 0 2px 5px rgb(0 0 0 / 3%), 0 24px 46px -19px rgb(22 31 26 / 19%);
}
.footer-brand { width: auto; height: 24px; }
.footer-description {
  max-width: 25ch; margin: 14px 0 0;
  color: var(--muted); font-size: 14px; line-height: 1.5;
}
.footer-navigation {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
}
.footer-group { display: grid; align-content: start; justify-items: start; min-width: 0; }
.footer-group h2 {
  margin: 0 0 6px; color: var(--ink); font-size: 14px; font-weight: 600;
  letter-spacing: 0; text-wrap: wrap; line-height: 1.25;
}
.footer-group a, .footer-utility {
  display: inline-flex; align-items: center; min-height: 32px;
  color: var(--muted); text-decoration: none; font: 400 14px/1.3 var(--sans);
}
.footer :is(.footer-group a, .footer-utility):is(:hover, [aria-current="page"]) {
  color: var(--ink); text-decoration: underline; text-underline-offset: 5px;
}
.footer-actions { display: grid; justify-self: end; width: var(--footer-actions-width); align-items: start; gap: 16px; }
.footer-actions .button {
  min-height: 44px; padding: 9px 17px; border: 0; text-align: center; font-size: 15px;
}
.footer-actions .footer-contact { background: var(--ink); color: #fff; }
.footer-actions .footer-contact:hover { background: #35483e; }
.footer-actions .footer-manage { background: #fff; color: var(--ink); box-shadow: var(--panel-shadow); }
.footer-actions .footer-manage:hover { background: #f5f5f5; }
.footer-actions .footer-manage[aria-current="page"] {
  background: #efefef; text-decoration: underline; text-underline-offset: 4px;
}
.footer-restore { padding: 0; border: 0; background: none; cursor: pointer; }
.demo-restore-dialog {
  box-sizing: border-box; width: min(460px, calc(100% - 32px));
  padding: clamp(22px, 4vw, 34px); border: 0; color: var(--ink);
}
.demo-restore-dialog::backdrop { background: rgb(18 26 22 / 40%); }
.demo-restore-dialog h2 { margin: 0; font-size: clamp(26px, 5vw, 32px); line-height: 1.08; }
.demo-restore-dialog p { margin: 13px 0 0; color: var(--muted); font-size: 16px; }
.demo-restore-dialog .restore-error { color: #8c312d; }
.restore-actions { display: flex; flex-wrap: wrap; justify-content: end; gap: 9px; margin-top: 24px; }
.footer-meta {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px;
}
.footer-utilities { display: flex; align-items: center; gap: clamp(12px, 3vw, 30px); white-space: nowrap; }
.footer .copyright { margin: 0; color: var(--muted); font-size: 13px; }
.footer-ascii-mark {
  position: relative; overflow: hidden; pointer-events: none;
  width: var(--content); height: clamp(50px, 13vw, 168px); margin: clamp(18px, 3vw, 36px) auto 0;
  -webkit-mask-image: linear-gradient(#000 8%, transparent 97%);
  mask-image: linear-gradient(#000 8%, transparent 97%);
}
.footer-ascii-mark::before, .footer-ascii-mark::after {
  content: ""; position: absolute; inset: 0 0 auto; aspect-ratio: 1486 / 369;
  -webkit-mask: url("/frontierdesign/o/62075cb5934c7e72e953/assets/lockup.svg") top center / contain no-repeat;
  mask: url("/frontierdesign/o/62075cb5934c7e72e953/assets/lockup.svg") top center / contain no-repeat;
}
.footer-ascii-mark::before { background: #eee; }
.footer-ascii-mark::after {
  background: url("/frontierdesign/o/62075cb5934c7e72e953/assets/footer-ascii.svg?v=3") center top / clamp(72px, 9vw, 120px) auto repeat;
  opacity: .24;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .footer-description { display: none; }
  .footer-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 12px; }
  .footer-actions .button { padding-inline: 11px; }
  .footer-group a, .footer-utility { min-height: 44px; }
}
@media (max-width: 360px) {
  .footer-actions { gap: 8px; }
  .footer-actions .button { padding-inline: 7px; font-size: 14px; }
}
.glass {
  background: var(--glass), rgb(23 36 31 / 50%);
  border: 0;
  -webkit-backdrop-filter: blur(24px) saturate(113%);
  backdrop-filter: blur(24px) saturate(113%);
  color: white;
}
.frosted-surface, .mobile-menu::before {
  background: rgb(249 250 248 / 76%);
  -webkit-backdrop-filter: blur(18px) saturate(126%);
  backdrop-filter: blur(18px) saturate(126%);
}
.frosted-surface { border: 0; color: var(--ink); box-shadow: var(--panel-shadow); }
.mobile-menu {
  --menu-top: max(8px, env(safe-area-inset-top));
  position: fixed; inset: var(--menu-top) var(--page-gutter) max(8px, env(safe-area-inset-bottom));
  width: auto; height: auto;
  max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  box-sizing: border-box; overflow: hidden; border-radius: 24px;
  background: transparent; color: var(--ink);
}
.mobile-menu::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
}
.mobile-menu::backdrop { background: rgb(13 25 20 / 24%); }
html:has(.mobile-menu[open]) { overflow: hidden; }
html:has(.mobile-menu[open]) :is(.navbar .brand, .landing > .brand) { visibility: hidden; }
.mobile-menu-inner {
  box-sizing: border-box; height: 100%; display: flex; flex-direction: column; overflow: auto;
  overscroll-behavior: contain;
  padding: max(68px, calc(var(--menu-trigger-top) - var(--menu-top) + 56px)) clamp(20px, 7vw, 38px) 32px;
}
.mobile-menu .menu-button {
  position: absolute; z-index: 1; inset: calc(var(--menu-trigger-top) - var(--menu-top)) 0 auto auto;
}
.mobile-menu-links { display: flex; flex-direction: column; margin-block: auto; gap: 6px; }
.mobile-menu-links a:not(.button) {
  display: flex; align-items: center; min-height: 56px; text-decoration: none;
  font: 500 clamp(26px, 8vw, 40px)/1.15 var(--sans); letter-spacing: -.045em;
}
.mobile-menu-links a:not(.button):hover { text-decoration: underline; text-underline-offset: 5px; }
.mobile-menu-links .nav-contact {
  align-self: flex-start; margin-top: 14px; border: 0; background: var(--ink); color: #fff;
}
.mobile-menu-links .nav-contact:hover { background: #35483e; }
@media (max-width: 760px) {
  :root {
    --page-gutter: 16px;
    --panel-shadow: 0 1px 3px rgb(22 31 26 / 6%), 0 5px 10px -3px rgb(22 31 26 / 12%);
    --viewport-frost: clamp(23px, 4svh, 34px);
  }
  .footer-grid { box-shadow: var(--panel-shadow); }
  .nav-pill { height: 67px; padding: 0; }
  :is(.navbar, .mobile-menu) .menu-button {
    display: inline-flex; box-sizing: border-box; margin-left: auto; width: 76px; min-height: 44px; padding-inline: 0;
    border: 0; background: #26372c; color: white;
  }
  .mobile-menu .menu-button { background: transparent; color: var(--ink); }
  .mobile-menu .menu-button:active { background: transparent; color: var(--ink); }
  .site-nav { display: none; }
}
@media (hover: hover) and (pointer: fine) {
  .mobile-menu .menu-button:hover { color: var(--ink); background: transparent; text-decoration: underline; text-underline-offset: 4px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}

.film-photo { filter: saturate(.72) sepia(.13) contrast(1.07) brightness(.91); }
.film::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: url("/frontierdesign/o/62075cb5934c7e72e953/assets/grain.png"); opacity: .24; mix-blend-mode: soft-light;
}

.select-shell { position: relative; min-width: 0; width: 100%; }
.select-shell:has(.select-trigger[aria-expanded="true"]) { z-index: 12; }
.select-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left;
  width: 100%; min-height: 46px; padding: 10px 13px; border: 1px solid #d6d6d6;
  background: #fff; color: #202020; border-radius: 10px; cursor: pointer; font: 500 15px/1.35 var(--sans);
}
.select-trigger::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); flex: none; margin-right: 3px; }
.select-trigger[aria-expanded="true"]::after { transform: translateY(2px) rotate(225deg); }
.select-trigger:focus-visible { outline-color: #595959; }
.select-trigger[aria-invalid="true"] { border-color: #9b352d; }
.select-options {
  box-sizing: border-box; position: absolute; z-index: 10; top: calc(100% + 5px); inset-inline: 0;
  padding: 5px; max-height: 210px; overflow-y: auto; background: #fff;
  border-radius: 12px; box-shadow: 0 2px 6px rgb(0 0 0 / 8%), 0 8px 24px rgb(0 0 0 / 12%);
  color: #202020; font: 500 15px/1.35 var(--sans);
}
.select-options:popover-open { position: fixed; inset: auto; margin: 0; border: 0; }
@media (max-width: 760px) {
  .select-options { box-shadow: var(--panel-shadow); }
}
.select-shell.opens-up .select-options { top: auto; bottom: calc(100% + 5px); }
.select-option { position: relative; padding: 10px 32px 10px 11px; border-radius: 7px; cursor: pointer; }
.select-option:hover,
.select-trigger:focus-visible + .select-options .select-option[data-active] { background: #f2f2f2; }
.select-option[aria-selected="true"] { font-weight: 600; }
.select-option[aria-selected="true"]::after {
  content: ""; position: absolute; inset-inline-end: 12px; top: calc(50% - 5px);
  width: 6px; height: 10px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
.select-error { color: #8c312d; font-size: 13px; margin: 4px 0 0; }

.inquire-card :is(input, select, textarea, .select-trigger):focus {
  border-color: #737373;
}
.inquire-card :is(input, select, textarea, .select-trigger):focus-visible {
  outline: 2px solid #595959; outline-offset: -2px;
}
.inquire-card .select-trigger[aria-invalid="true"]:focus {
  border-color: #9b352d; outline-color: #9b352d;
}
.inquire-card :is(.button, .modal-close):focus-visible {
  outline-color: #595959; outline-offset: 2px;
}

