@font-face {
  font-family: "AvantGardeITC";
  src: url("fonts/avantgarde/AvantGardeITCbyBT-Book.woff2") format("woff2"),
       url("fonts/avantgarde/AvantGardeITCbyBT-Book.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "AvantGardeITC";
  src: url("fonts/avantgarde/AvantGardeITCbyBT-Demi.woff2") format("woff2"),
       url("fonts/avantgarde/AvantGardeITCbyBT-Demi.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Bauhaus";
  src: url("fonts/bauhaus/Bauhaus-Regular.woff2") format("woff2"),
       url("fonts/bauhaus/Bauhaus-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --athera-bg: #fff;
  --athera-fg: #111;
  --athera-muted: #666;
  --athera-hair: #e7e3dc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--athera-fg);
  background: var(--athera-bg);
  font-family: "AvantGardeITC", system-ui, sans-serif;
  line-height: 1.45;
  text-transform: lowercase;
}
body a {
  color: var(--athera-fg);
  font-size: smaller;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
}
body a:hover { text-decoration: underline; text-underline-offset: 3px; }

body > .site-header,
body > footer,
#awa-main {
  width: min(920px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}
body > .site-header {
  padding-top: 48px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid var(--athera-hair);
}
body > .site-header > .container,
body > footer > .container,
.awa-page-section__inner.container,
.awa-page-section__summary.container {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}
.site-header .header-row { align-items: center; }
.site-header .site-logo {
  display: block;
  width: 180px;
  max-width: 100%;
  height: auto;
  margin-left: 0;
}
.site-header .navbar-nav { gap: 18px; }
.site-header .nav-link {
  padding: 4px 0 !important;
  color: var(--athera-muted);
  font-size: 11px;
  letter-spacing: .08em;
}

#awa-main { padding: 4px 0 0; }
#awa-main > .awa-page-section { margin-top: 42px; }
#awa-main > .awa-page-section:first-child { margin-top: 0; }
.page-block,
.page-block .mb-4 { margin: 0 !important; }

.athera-introduction {
  padding-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--athera-hair);
}
.athera-introduction h1 {
  max-width: 27ch;
  margin: 0 0 12px;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.3px;
}
.athera-introduction p.intro {
  max-width: 60ch;
  margin: 0;
  color: var(--athera-muted);
  font-size: 14px;
}
.athera-introduction p.since {
  margin: 14px 0 0;
  color: var(--athera-muted);
  font-size: 13px;
}

.awa-page-section__title {
  margin: 0 0 12px;
  color: var(--athera-muted);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  line-height: 1.45;
  text-transform: uppercase;
}
.athera-lead .text-block { max-width: 66ch; font-size: 16px; }
.athera-lead p { margin: 0; }

.athera-services .page-block--text + .page-block--triplex,
.athera-projects .page-block--text + .page-block--triplex { margin-top: 16px !important; border-top: 1px solid var(--athera-hair); }
.triplex { border-bottom: 1px solid var(--athera-hair); }
.triplex summary {
  position: relative;
  padding: 16px 42px 16px 0;
  cursor: pointer;
  font-size: 16px;
  list-style: none;
  text-transform: uppercase;
}
.triplex summary::-webkit-details-marker { display: none; }
.triplex summary::after {
  position: absolute;
  top: 12px;
  right: 0;
  width: 28px;
  height: 28px;
  padding-bottom: .2em;
  display: grid;
  place-items: center;
  color: var(--athera-muted);
  border: 1px solid var(--athera-hair);
  border-radius: 999px;
  content: "+";
  font-size: 18px;
  line-height: 1;
}
.triplex details[open] summary::after { color: var(--athera-fg); content: "−"; }
.triplex summary:focus-visible { outline: 2px solid var(--athera-fg); outline-offset: 4px; }
.triplex-inner { max-width: 76ch; padding: 0 42px 22px 0; }
.triplex-title { margin: 0; font-size: 16px; font-weight: 600; text-transform: uppercase; }
.triplex-head p,
.triplex-content p,
.triplex-foot p { margin: 0 0 9px; font-size: 14px; text-transform: none; }
.triplex-content,
.triplex-foot { color: var(--athera-muted); }
.triplex-foot { margin-top: 12px; font-style: italic; }
.triplex--project {
  padding: 16px 0;
  display: grid;
  grid-template-columns: minmax(190px, .8fr) 1.7fr;
  gap: 24px;
}
.triplex--project .triplex-title { grid-column: 1; }
.triplex--project .triplex-inner { grid-column: 2; max-width: none; padding: 0; }

.athera-lifecycle-grid {
  margin-top: 20px !important;
  border-top: 1px solid var(--athera-hair);
  border-left: 1px solid var(--athera-hair);
}
.athera-lifecycle-grid .row { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.athera-lifecycle-grid .page-block {
  min-height: 90px;
  padding: 14px;
  border-right: 1px solid var(--athera-hair);
  border-bottom: 1px solid var(--athera-hair);
}
.athera-stage .text-block { display: flex; min-height: 60px; flex-direction: column; }
.stage-number { margin-bottom: 18px; color: var(--athera-muted); font-size: 10px; }
.stage-name { font-size: 12px; text-transform: uppercase; }

.athera-technologies { margin-top: 34px !important; }
.technology-intro { max-width: 66ch; margin: 0; color: var(--athera-muted); font-size: 14px; }
.technology-list { max-width: 72ch; margin: 10px 0 0; color: var(--athera-muted); font-size: 12px; line-height: 1.8; text-transform: none; }

.athera-contact-intro {
  margin-top: 48px !important;
  padding-top: 28px;
  border-top: 1px solid var(--athera-hair);
}
.athera-contact-form { margin-top: 16px !important; border-top: 1px solid var(--athera-hair); }
.athera-contact-form .awa-page-section__summary {
  position: relative;
  padding: 16px 42px 16px 0;
  cursor: pointer;
  color: var(--athera-fg);
  font-size: 16px;
  list-style: none;
  text-transform: uppercase;
}
.athera-contact-form .awa-page-section__summary::-webkit-details-marker { display: none; }
.athera-contact-form .awa-page-section__summary::after {
  position: absolute;
  top: 12px;
  right: 0;
  width: 28px;
  height: 28px;
  padding-bottom: .2em;
  display: grid;
  place-items: center;
  color: var(--athera-muted);
  border: 1px solid var(--athera-hair);
  border-radius: 999px;
  content: "+";
  font-size: 18px;
  line-height: 1;
}
.athera-contact-form[open] .awa-page-section__summary::after { color: var(--athera-fg); content: "−"; }
.athera-contact-form .awa-page-section__inner { padding: 0 42px 22px 0; }
.athera-contact-form form { display: grid; max-width: 560px; padding-left: 3px; gap: 10px; }
.athera-contact-form .awa-form-section,
.athera-contact-form .section-body { display: contents; }
.athera-contact-form label { display: block; margin-bottom: 4px; color: var(--athera-muted); font-size: 13px; }
.athera-contact-form input,
.athera-contact-form textarea { width: 100%; padding: 12px; color: var(--athera-fg); background: rgba(255,255,255,.7); border: 1px solid var(--athera-hair); border-radius: 12px; font: inherit; }
.athera-contact-form textarea { min-height: 120px; resize: vertical; }
.athera-contact-form .form-controls { margin-top: 6px; }
.athera-contact-form .awa-button-submit { width: fit-content; padding: 12px 14px; color: #fff; background: var(--athera-fg); border: 1px solid var(--athera-hair); border-radius: 999px; cursor: pointer; font-weight: 600; }
.athera-email-fallback { margin-top: 8px !important; }
.muted { color: var(--athera-muted); }

.athera-core-introduction { padding-top: 28px; }
.athera-core-introduction h1 {
  max-width: 30ch;
  margin: 0 0 20px;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 400;
  line-height: 1.15;
}
.athera-core-copy { max-width: 76ch; }
.athera-core-copy p { margin: 0 0 12px; }
.athera-core-group { margin-bottom: 0; }
.athera-core-group + .athera-core-detail { border-top: 1px solid var(--athera-hair); }
details.athera-core-detail { margin-top: 0 !important; border-bottom: 1px solid var(--athera-hair); }
.athera-core-detail .awa-page-section__summary {
  position: relative;
  padding: 16px 42px 16px 0;
  cursor: pointer;
  color: var(--athera-fg);
  font-size: 16px;
  list-style: none;
  text-transform: uppercase;
}
.athera-core-detail .awa-page-section__summary::-webkit-details-marker { display: none; }
.athera-core-detail .awa-page-section__summary::after {
  position: absolute;
  top: 12px;
  right: 0;
  width: 28px;
  height: 28px;
  padding-bottom: .2em;
  display: grid;
  place-items: center;
  color: var(--athera-muted);
  border: 1px solid var(--athera-hair);
  border-radius: 999px;
  content: "+";
  font-size: 18px;
  line-height: 1;
}
.athera-core-detail[open] .awa-page-section__summary::after { color: var(--athera-fg); content: "−"; }
.athera-core-detail .awa-page-section__inner { max-width: 76ch; padding: 0 42px 22px 0; }
.athera-core-detail-copy p { margin: 0 0 9px; font-size: 14px; text-transform: none; }
.athera-core-detail-copy .emphasis { margin-top: 12px; color: var(--athera-muted); font-style: italic; }

body > footer {
  margin-top: 38px;
  padding-top: 0 !important;
  padding-bottom: 42px !important;
  color: var(--athera-muted);
  font-size: 13px;
}
body > footer .footer-menu:empty,
body > footer br { display: none; }
body > footer .text-center { text-align: left !important; }
body > footer .mt-3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0 !important;
}
body > footer .logo-footer {
  width: 26px;
  height: 26px;
  object-fit: contain;
  opacity: .62;
}

@media (min-width: 720px) {
  .athera-contact-form .awa-layout-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .athera-contact-form .field-subject,
  .athera-contact-form .field-message { grid-column: 1 / -1; }
}
@media (max-width: 680px) {
  body > .site-header,
  body > footer,
  #awa-main { width: min(100% - 40px, 920px); }
  body > .site-header { padding-top: 34px !important; }
  .site-header .site-logo { width: 160px; margin-left: 0; }
  .site-header .header-navigation { display: none; }
  .triplex--project { grid-template-columns: 1fr; gap: 5px; }
  .triplex--project .triplex-title,
  .triplex--project .triplex-inner { grid-column: auto; }
  .athera-lifecycle-grid .row > [class*="col-"] { width: 50%; }
  .athera-contact-form .awa-page-section__inner { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
