@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: "AvantGardeITC";
  src: url("fonts/avantgarde/AvantGardeITCbyBT-DemiOblique.woff2") format("woff2"),
       url("fonts/avantgarde/AvantGardeITCbyBT-DemiOblique.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  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;
}

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 > .site-header,
body > footer {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
}

body > .site-header {
  padding-top: 42px !important;
  padding-bottom: 0 !important;
}

body > .site-header > .container,
body > footer > .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;
}

body > footer {
  padding-top: 24px !important;
  padding-bottom: 42px !important;
  color: var(--athera-muted);
  border-top: 1px solid var(--athera-hair);
  font-size: 13px;
}

body > footer .footer-menu:empty,
body > footer .logo-footer,
body > footer br { display: none; }

body > footer .text-center { text-align: left !important; }
body > footer .mt-3 { margin-top: 0 !important; }

#awa-main {
  width: min(920px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0;
}

#awa-main > .awa-page-section {
  margin-top: 28px;
}

#awa-main > .awa-page-section:first-child {
  margin-top: 0;
}

.awa-page-section__inner.container,
.awa-page-section__summary.container {
  width: 100%;
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

.page-block,
.page-block .mb-4 { margin: 0 !important; }

.athera-introduction {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--athera-hair);
}

.athera-introduction .text-block p:first-child {
  margin: 0 0 10px;
  color: var(--athera-muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.athera-introduction .text-block p:nth-child(2) {
  max-width: 30ch;
  margin: 0;
  font-size: clamp(20px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -.2px;
}

.awa-page-section__title,
.athera-kicker .text-block > p:first-child {
  margin: 0 0 10px;
  color: var(--athera-muted);
  font-family: "AvantGardeITC", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.awa-page-section__title { line-height: 1.45; }
.athera-intro .text-block { max-width: 62ch; font-size: 16px; }

details.athera-work {
  margin-top: 0 !important;
  border-bottom: 1px solid var(--athera-hair);
}

.athera-work-group + .athera-work { margin-top: 0 !important; }

.athera-work-group {
  margin-bottom: 0;
}

.athera-work-group .awa-page-section__inner { padding-bottom: 0; }

.athera-work-group + details.athera-work {
  border-top: 1px solid var(--athera-hair);
}

.athera-work .awa-page-section__summary,
.athera-contact-form .awa-page-section__summary {
  position: relative;
  padding: 18px 42px 18px 0;
  cursor: pointer;
  color: var(--athera-fg);
  font-size: 16px;
  list-style: none;
  text-transform: uppercase;
}

.athera-work .awa-page-section__summary::-webkit-details-marker,
.athera-contact-form .awa-page-section__summary::-webkit-details-marker { display: none; }

.athera-work .awa-page-section__summary::after,
.athera-contact-form .awa-page-section__summary::after {
  position: absolute;
  top: 14px;
  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-work[open] .awa-page-section__summary::after,
.athera-contact-form[open] .awa-page-section__summary::after {
  color: var(--athera-fg);
  content: "−";
}

.athera-work .awa-page-section__summary:focus-visible,
.athera-contact-form .awa-page-section__summary:focus-visible {
  outline: 2px solid var(--athera-fg);
  outline-offset: 4px;
}

.athera-work .awa-page-section__inner,
.athera-contact-form .awa-page-section__inner { padding: 2px 42px 22px 0; }

.athera-work .page-block--image { margin: 12px 0 20px !important; }
.athera-work .full-bleed { width: 100%; }
.athera-work img {
  display: block;
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
}

.athera-work .text-block { max-width: 76ch; }
.athera-work .text-block p { margin: 0 0 10px; font-size: 15px; }
.athera-work .text-block p.muted { color: var(--athera-muted); }
.athera-work .text-block p.selected-work {
  margin-top: 18px;
  color: var(--athera-muted);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.athera-work .text-block ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--athera-muted);
  font-size: small;
  list-style: none;
  text-transform: initial;
}
.athera-work .text-block li { margin: 6px 0; }
.athera-work .text-block p.emphasis {
  margin-top: 12px;
  color: var(--athera-muted);
  font-size: 14px;
  font-style: italic;
}

.athera-thinking .text-block p { margin: .2em 0; font-size: 16px; }

.athera-contact-intro {
  margin-top: 36px !important;
  padding-top: 24px;
  border-top: 1px solid var(--athera-hair);
}
.athera-contact-intro .text-block { max-width: 62ch; font-size: 16px; }
.athera-contact-form { margin-top: 14px !important; }

.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;
}

@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: 719px) {
  body > .site-header,
  body > footer { width: min(100% - 40px, 920px); }
  body > .site-header { padding-top: 30px !important; }
  .site-header .site-logo { width: 155px; }
  #awa-main { width: min(100% - 40px, 920px); padding-top: 42px; }
  .athera-work .awa-page-section__inner,
  .athera-contact-form .awa-page-section__inner { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
