body {
  background: #faf6ec;
  color: #303b30;
}
.acacia {
  --paper: #faf6ec;
  --ink: #303b30;
  --accent: #526146;
  font-family: "DM Sans", sans-serif;
}
.practice-mast {
  padding: 18px 5%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid #bdc0ad;
}
.practice-mast > span,
.practice-mast > a:last-child {
  font-size: 13px;
}
.practice-mast > a:nth-child(2) {
  font:
    400 clamp(28px, 3.5vw, 50px) / 1 "Instrument Serif",
    Georgia,
    serif;
  letter-spacing: -0.05em;
}
.practice-mast > a:last-child {
  justify-self: end;
  border-bottom: 1px solid #596249;
}
.acacia h2,
.appointment-index summary {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
}
.appointment-index a,
.desk-note summary {
  display: inline-block;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.appointment-index {
  padding: 5% 8%;
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 6%;
}
.acacia h2 {
  font-size: clamp(40px, 5vw, 78px);
  letter-spacing: -0.05em;
  margin: 0;
  line-height: 0.96;
}
.appointment-index ol {
  counter-reset: entry;
  margin: 0;
  padding: 0;
  list-style: none;
}
.appointment-index li {
  counter-increment: entry;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 12px;
  border-top: 1px solid #a4ad9a;
  padding: 13px 0;
}
.appointment-index li:before {
  content: counter(entry, lower-roman) ".";
  color: #5a6951;
  font:
    italic 22px "Instrument Serif",
    serif;
}
.appointment-index summary {
  font-size: clamp(25px, 2.8vw, 42px);
  cursor: pointer;
  line-height: 1.1;
}
.appointment-index p {
  margin: 12px 0;
}
.desk-note {
  display: grid;
  grid-template-columns: 0.75fr 1.2fr auto;
  gap: 25px;
  background: #42503e;
  color: #fff7df;
  padding: 4% 8%;
}
.desk-note address {
  font-style: normal;
  font-size: 14px;
}
.desk-note p {
  margin-top: 0;
}
@media (max-width: 680px) {
  .practice-mast {
    grid-template-columns: 1fr auto;
    padding: 14px 5%;
  }
  .practice-mast > span {
    display: none;
  }
  .practice-mast > a:nth-child(2) {
    font-size: 28px;
  }
  .appointment-index,
  .desk-note {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 6%;
  }
}

.acacia {
  --inquiry-bg: #f1efdf;
  --inquiry-ink: #324132;
  --inquiry-button: #415842;
  --inquiry-button-text: #fff;
}
.acacia > header a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  text-decoration: none;
}
.acacia > header a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.welcome-post,
.desk-portrait {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(25px, 8vw, 120px);
  padding: 8% 10%;
}
.welcome-post {
  background: #edf0df;
}
.acacia
  :is(.welcome-post, .household-ledger, .desk-portrait, .correspondence)
  h2 {
  font-size: clamp(44px, 6vw, 92px);
  line-height: 0.94;
  letter-spacing: -0.045em;
  margin: 0 0 0.35em;
}
.welcome-post p,
.desk-portrait p,
.correspondence p {
  max-width: 45ch;
}
.welcome-post p + p,
.desk-portrait a {
  margin-top: 1em;
}
.letter-sign {
  font:
    italic 24px "Instrument Serif",
    serif;
  color: #4f6346;
}
.dispatch-envelope {
  width: min(100%, 370px);
  aspect-ratio: 1.25;
  position: relative;
  isolation: isolate;
  margin: 9% auto 0;
  background: #c4b993;
  border: 1px solid #b3a882;
  transform: rotate(-5deg);
}
.dispatch-envelope:after {
  content: "";
  position: absolute;
  inset: 0;
  background: #d9cfaf;
  clip-path: polygon(0 0, 50% 53%, 100% 0, 100% 100%, 0 100%);
}
.paper-fold {
  position: absolute;
  inset: 0;
  background: #ccc39e;
  clip-path: polygon(0 0, 100% 0, 50% 52%);
  transform-origin: top center;
}
.stationery {
  background: #fff9e9;
  position: absolute;
  inset: 0 7% 10%;
  padding: 8%;
  transform: translateY(-22%);
  border: 1px solid #ccc9aa;
  box-shadow: 0 4px 10px #55452b1a;
}
.stationery span {
  font:
    26px/0.9 "Instrument Serif",
    serif;
}
.stationery i {
  float: right;
  border: 1px dashed #758562;
  padding: 0.25em;
  color: #64724c;
  font:
    italic 26px "Instrument Serif",
    serif;
}
.in-view .stationery {
  animation: pull-letter 900ms cubic-bezier(0.2, 0.8, 0.3, 1) both;
}
.in-view .paper-fold {
  animation: open-flap 600ms ease-out both;
}
@keyframes pull-letter {
  from {
    transform: translateY(4%);
  }
  to {
    transform: translateY(-22%);
  }
}
@keyframes open-flap {
  from {
    transform: scaleY(1);
  }
  to {
    transform: scaleY(-0.75);
  }
}
.household-ledger {
  padding: 7% 10%;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8%;
  border-block: 1px solid #a8ad95;
}
.household-ledger header p {
  max-width: 33ch;
}
.household-ledger dl {
  margin: 0;
}
.household-ledger dl > div {
  display: grid;
  grid-template-columns: minmax(100px, 0.7fr) 1.3fr;
  gap: 18px;
  padding: 1.1em 0;
  border-bottom: 1px solid #c3c4b2;
}
.household-ledger dt {
  font:
    26px/1.05 "Instrument Serif",
    serif;
}
.desk-portrait figure {
  margin: 0;
}
.desk-portrait img {
  width: 100%;
  aspect-ratio: 1.3;
  object-fit: cover;
}
.desk-portrait figcaption {
  font-size: 12px;
  border-top: 1px solid currentColor;
  padding-top: 5px;
  margin-top: 6px;
}
.desk-portrait a {
  display: inline-block;
  text-decoration: underline;
}
.correspondence {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 6vw;
  padding: 7% 10%;
  background: #e6e0cd;
  border-block: 2px solid #899075;
}
.correspondence > div > p:first-child {
  font-size: 13px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 2em;
}
.correspondence form {
  display: grid;
  gap: 1em;
}
.correspondence button {
  background: #3c513d;
  border: none;
  color: white;
  padding: 0.75em 1.1em;
  justify-self: start;
}
.practice-signature {
  padding: 28px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.practice-signature b {
  font:
    38px "Instrument Serif",
    serif;
}
.practice-signature address,
.practice-signature nav {
  font-size: 13px;
}
.practice-signature nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  text-decoration: underline;
}
@media (max-width: 680px) {
  .welcome-post,
  .desk-portrait,
  .household-ledger,
  .correspondence {
    grid-template-columns: 1fr;
    padding: 50px 6%;
    gap: 24px;
  }
  .dispatch-envelope {
    width: 65%;
    margin: 16% auto 2%;
  }
  .household-ledger dl > div {
    grid-template-columns: 0.7fr 1.3fr;
  }
  .practice-signature {
    display: grid;
  }
}

#inquiry form label {
  display: grid;
  gap: 0.4em;
  align-content: start;
  min-width: 0;
}
#inquiry form :is(select, input, textarea) {
  min-width: 0;
  max-width: 100%;
  width: 100%;
  padding: 0.7em;
  color: inherit;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 0;
  font: inherit;
}
#inquiry form option {
  color: #202520;
  background: white;
}
#inquiry form output {
  display: block;
  white-space: pre-line;
  overflow-wrap: anywhere;
}
#inquiry form output:empty {
  display: none;
}
#inquiry button {
  cursor: pointer;
  min-height: 44px;
}
#inquiry a {
  color: inherit;
}

.correspondence {
  display: block;
  width: min(860px, 92%);
  margin: 5% auto;
  padding: clamp(25px, 5vw, 78px);
  border-inline: 1px solid #c0bca6;
  box-shadow: 4px 5px 0 #ddd7c3;
  background-color: #efe9d6;
}
.correspondence > div > p:first-child {
  margin-bottom: 1em;
}
.correspondence form {
  margin-top: 18px;
}
.correspondence#inquiry form label {
  display: grid;
  grid-template-columns: max(125px, 30%) 1fr;
  gap: 20px;
  align-items: baseline;
  border-bottom: 1px dotted #9b9d86;
  padding: 3px 0;
}
.correspondence#inquiry form :is(input, select) {
  border: 0;
  border-bottom: 1px solid #b7b69d;
  background: #faf5e6;
}
.correspondence button {
  margin-top: 8px;
}
.desk-portrait img {
  height: auto;
}
@media (max-width: 580px) {
  .correspondence#inquiry form label {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .correspondence {
    margin: 26px auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.acacia {
  background: #e9e2cf;
  color: #2f3b32;
}
.practice-mast {
  background: #344a3c;
  color: #fff9e9;
  padding: 14px 5%;
}
.practice-mast > a:first-of-type {
  font-family: "Young Serif", Georgia, serif;
  letter-spacing: -0.06em;
}
.cork-board {
  padding: 4% 6% 6%;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  gap: 30px;
  background-color: #c3aa84;
  background-image:
    radial-gradient(#886f5238 0.9px, transparent 1.3px),
    radial-gradient(#f2e1bf5c 1px, transparent 1.4px);
  background-size:
    7px 9px,
    11px 13px;
}
.cork-board > section {
  position: relative;
  min-width: 0;
  box-shadow: 2px 5px 9px #5543313d;
  border: 1px solid #a28e72;
}
.cork-board > section:before {
  content: "";
  position: absolute;
  height: 13px;
  width: 13px;
  background: #832e2f;
  border-radius: 50%;
  left: 50%;
  top: 7px;
  box-shadow: 1px 2px 2px #2a221d66;
  z-index: 2;
}
.notice-heading {
  padding: 34px 6% 20px;
  background: #fff5de;
  transform: rotate(-0.7deg);
}
.notice-heading h1 {
  font:
    400 clamp(54px, 6.8vw, 115px) / 0.9 "Young Serif",
    Georgia,
    serif;
  letter-spacing: -0.07em;
  margin: 16px 0;
}
.notice-heading p:first-child {
  font:
    600 12px/1.4 "Space Mono",
    monospace;
  color: #526345;
}
.notice-heading p:last-child {
  max-width: 42ch;
}
.notice-heading figure {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: end;
  margin-top: 18px;
}
.notice-heading img {
  width: 100%;
  height: clamp(95px, 11vw, 170px);
  object-fit: cover;
  object-position: 50% 58%;
}
.notice-heading figcaption {
  writing-mode: vertical-rl;
  font:
    11px/1.2 "Space Mono",
    monospace;
}
.cork-board .appointment-index {
  background: #dce9bb;
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 12px;
  padding: 34px 8px 18px;
  transform: rotate(1deg);
  margin-top: 26px;
}
.cork-board .appointment-index > :is(h2, p, ol) {
  margin-inline: 6%;
}
.cork-board .appointment-index h2,
.acacia .cork-board .household-ledger h2,
.acacia .cork-board .desk-portrait h2 {
  font:
    400 clamp(31px, 3.5vw, 54px) / 1 "Young Serif",
    Georgia,
    serif;
  letter-spacing: -0.05em;
}
.cork-board .appointment-index summary {
  font:
    700 clamp(18px, 2vw, 28px) / 1.2 "Atkinson Hyperlegible Next",
    Arial,
    sans-serif;
}
.cork-board .household-ledger,
.cork-board .desk-portrait {
  background: #f7edc7;
  padding: 30px 6% 24px;
  display: block;
}
.cork-board .household-ledger dl {
  margin-top: 22px;
}
.cork-board .desk-portrait {
  background: #f8f5e8;
  align-self: start;
  transform: rotate(-1deg);
}
.cork-board .desk-portrait figure {
  max-width: none;
  margin: 0 0 12px;
}
.cork-board .desk-portrait img {
  width: 100%;
  height: 165px;
  object-fit: cover;
}
.cork-board .desk-portrait h2 br {
  display: none;
}
.acacia .welcome-post {
  padding-block: 4%;
  background: #dbe4d4;
}
.acacia .correspondence {
  background: #f5f1dc;
}
@media (max-width: 690px) {
  .cork-board {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 5% 26px;
  }
  .cork-board .appointment-index {
    margin: 0;
  }
  .notice-heading h1 {
    font-size: clamp(45px, 12vw, 76px);
  }
  .notice-heading figure {
    margin-top: 9px;
  }
  .notice-heading img {
    height: 105px;
  }
  .cork-board .desk-portrait figure {
    max-width: none;
  }
}

.ac-hmo {
  margin-top: 18px;
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid #b8cbb2;
  display: grid;
  gap: 10px;
}
.ac-hmo-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #214034;
}
.ac-hmo-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.ac-hmo-pills button {
  padding: 6px 11px;
  border-radius: 999px;
  border: 1px solid #96b094;
  background: #fff;
  color: #1f3c33;
  font-size: 12.5px;
  font-weight: 600;
}
.ac-hmo-pills button.is-active {
  background: #23413b;
  color: #fff;
  border-color: #23413b;
}
.ac-hmo-msg {
  font-size: 13.5px;
  line-height: 1.5;
  color: #23413b;
}
.ac-hmo a {
  font-size: 13px;
  font-weight: 700;
  color: #1f4f3f;
}
