/* Sceáwian identity update; loaded after the active theme stylesheet. */
.site-header .brand-mark,
.site-footer .brand-mark {
  display: block;
  width: 192px;
  height: 58px;
  overflow: hidden;
  background: url('wordmark.svg') left center / contain no-repeat;
  color: transparent;
  font-size: 0;
  line-height: 0;
}

.site-header .brand,
.site-footer .brand { gap: 0; }

.site-header .brand-pronunciation,
.site-footer .brand-pronunciation {
  margin-left: 15px;
  margin-top: -2px;
}

.sce-practice-choice[hidden] { display: none !important; }
.sce-practice-choice {
  position: fixed;
  z-index: 1200;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  width: min(390px, calc(100vw - 36px));
  padding: 22px;
  border: 1px solid rgba(198,167,107,.58);
  border-radius: 8px;
  background: rgba(8,18,32,.97);
  box-shadow: 0 20px 50px rgba(0,0,0,.36);
  color: #fff;
  font-family: var(--font-body, Arial, sans-serif);
}
.sce-practice-choice__eyebrow {
  display: block;
  color: #C6A76B;
  font-size: .68rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.sce-practice-choice h2 {
  margin: 7px 22px 5px 0;
  color: #fff;
  font-family: var(--font-heading, Georgia, serif);
  font-size: 2rem;
  font-weight: 500;
  line-height: 1;
}
.sce-practice-choice p {
  margin: 0 0 17px;
  color: rgba(255,255,255,.77);
  font-size: .84rem;
  line-height: 1.45;
}
.sce-practice-choice__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sce-practice-choice__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 0 11px;
  border: 1px solid rgba(198,167,107,.56);
  border-radius: 3px;
  color: #fff;
  font-size: .8rem;
  text-decoration: none;
}
.sce-practice-choice__links a:hover,
.sce-practice-choice__links a:focus-visible {
  background: #C6A76B;
  color: #0B1F33;
}
.sce-practice-choice__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}
.sce-practice-choice__close:focus-visible { outline: 2px solid #C6A76B; outline-offset: 1px; }

.sce-about-intro__grid,
.sce-about-name__grid {
  display: grid;
  grid-template-columns: minmax(220px,.8fr) minmax(0,1.2fr);
  gap: clamp(28px,6vw,100px);
}
.sce-about-intro h2,
.sce-about-name h2,
.sce-about-contact h2 {
  margin: 12px 0 0;
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(2.8rem,5vw,4.7rem);
  font-weight: 500;
  line-height: 1;
}
.sce-about-prose p { margin: 0 0 1.15rem; max-width: 72ch; line-height: 1.7; }
.sce-about-practices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.sce-about-practice {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(25px,3vw,42px);
  border: 1px solid rgba(198,167,107,.34);
  background: rgba(7,17,31,.72);
}
.sce-about-practice h3 {
  margin: 12px 0 14px;
  font-family: var(--font-heading, Georgia, serif);
  font-size: clamp(2.15rem,3vw,3.15rem);
  font-weight: 500;
  line-height: 1.05;
}
.sce-about-practice p { max-width: 62ch; line-height: 1.65; }
.sce-about-practice .btn { margin-top: auto; }
.sce-about-steps { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
.sce-about-steps article { padding: 22px 0 0; border-top: 1px solid rgba(198,167,107,.48); }
.sce-about-steps article > span { color: #C6A76B; font-size: .7rem; letter-spacing: .15em; }
.sce-about-steps h3 { margin: 15px 0 9px; font-family: var(--font-heading, Georgia, serif); font-size: 2rem; font-weight: 500; line-height: 1.1; }
.sce-about-steps p { margin: 0; line-height: 1.6; }
.sce-about-name .sce-about-source { margin-top: 1.5rem; font-size: .82rem; opacity: .75; }
.sce-about-name a { color: #E2C995; }
.sce-about-contact p { max-width: 65ch; margin-top: 1rem; line-height: 1.6; }

@media (max-width: 1120px) {
  .site-header .brand-mark { width: 150px; height: 48px; }
  .site-header .brand-pronunciation { margin-left: 11px; }
  .sce-about-steps { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 780px) {
  .site-header .brand-mark { width: 145px; height: 44px; }
  .sce-about-intro__grid,
  .sce-about-name__grid,
  .sce-about-practices { grid-template-columns: 1fr; }
  .sce-about-practice { min-height: 0; }
  .sce-practice-choice { right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); width: calc(100vw - 20px); padding: 14px; }
  .sce-practice-choice h2 { margin-top: 3px; font-size: 1.5rem; }
  .sce-practice-choice p { margin-bottom: 9px; font-size: .76rem; }
  .sce-practice-choice__links a { font-size: .76rem; }
}
@media (max-width: 520px) {
  .sce-about-steps { grid-template-columns: 1fr; }
}
