/* House of Pillars front page, isolated from course administration. */
.hp-front {
  --hp-paper: #f8f5ee; --hp-ink: #24241f; --hp-gold: #e4c68a;
  --hp-line: #d6cdbd; --hp-serif: Georgia, 'Times New Roman', serif;
  color: var(--hp-ink); background: var(--hp-paper); font-family: var(--font, Arial, sans-serif);
}
.hp-front *, .hp-front *::before, .hp-front *::after { box-sizing: border-box; }
.hp-front :where(p,h1,h2,h3,ol) { margin: 0; }
.hp-front a { text-decoration: none; }
.hp-front :is(a,summary):focus-visible { outline: 3px solid #b98327; outline-offset: 5px; }
.hp-wrap { width: min(100%, 1610px); margin-inline: auto; padding-inline: clamp(24px, 5.7vw, 96px); }
.hp-opening {
  position: relative; isolation: isolate; color: #f7f2e6;
  background:#171813;
  overflow: hidden;
}
.hp-front .hp-kicker,.hp-front .hp-overline {
  font-family: inherit; font-size: 10px; letter-spacing: .18em; font-weight: 700; text-transform: uppercase; line-height: 1.5;
}
.hp-kicker { display:flex; gap:12px; align-items:center; color:var(--hp-gold); }
.hp-kicker i { width:31px; height:1px; background:currentColor; display:inline-block; }
.hp-front .hp-hero h1,.hp-front .hp-section-head h2,.hp-front .hp-start h2,.hp-front .hp-card-copy h3 {
  font-family:var(--hp-serif); font-weight:400; color:inherit; text-wrap:balance; letter-spacing:-.058em; line-height:1.03;
}
.hp-front .hp-hero h1 { font-size:clamp(55px,6.8vw,115px); margin:clamp(20px,2.3vw,39px) 0 23px; }
.hp-hero h1 em,.hp-start h2 em { display:block; }
.hp-front em { font-family:var(--hp-serif); font-style:italic; font-weight:400; }
.hp-hero h1 em { color:var(--hp-gold); }
.hp-front .hp-intro { max-width: 44ch; color:#d1cfc1; font:400 clamp(16px,1.22vw,19px)/1.6 var(--font,Arial,sans-serif); }
.hp-actions { display:flex;align-items:center; gap:18px 26px;flex-wrap:wrap;margin-top:30px; }
.hp-front .hp-button,.hp-front .hp-textlink { display:inline-flex; align-items:center; justify-content:center; gap:14px; font:650 14px/1.3 var(--font,Arial,sans-serif); }
.hp-button { padding:16px 22px; border:1px solid transparent; border-radius:3px; min-height:48px; }
.hp-primary { background:#e5ca93; color:#201b12; }
.hp-primary:hover { background:#f3dbab; }
.hp-textlink { padding:9px 0; min-height:44px; color:inherit; }
.hp-textlink:hover { text-decoration:underline; text-underline-offset:5px; }
.hp-button span,.hp-textlink span { font:500 19px/1 Arial,sans-serif; }
.hp-pillar-desk { padding: 13px 0 clamp(25px,2.8vw,46px); }
.hp-front .hp-overline { color:#cbbc98; margin:0 0 14px; letter-spacing:.16em; }
.hp-pillars { display:grid;grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(12px,2.5vw,40px); min-height:124px; }
.hp-pillar { border-top:1px solid #666657; }
.hp-pillar[open] { border-color:#e2c48a; }
.hp-pillar summary { cursor:pointer; display:flex;align-items:center;gap:12px; min-height:52px; list-style:none; color:#eae4d4; font:400 clamp(20px,1.9vw,30px)/1.14 var(--hp-serif); }
.hp-pillar summary::-webkit-details-marker { display:none; }
.hp-roman { font:normal 12px/1 var(--hp-serif); color:#c4ac7e; }
.hp-plus { position:relative;width:13px;height:13px;display:inline-block;margin-left:auto; color:#c3bda8; }
.hp-plus::before,.hp-plus::after { content:'';position:absolute;background:currentColor; }
.hp-plus::before { width:11px;height:1px;left:1px;top:6px; }.hp-plus::after { width:1px;height:11px;left:6px;top:1px; }
.hp-pillar[open] .hp-plus::after { display:none; }
.hp-pillar[open] summary,.hp-pillar summary:hover { color:#f5dba7; }
.hp-front .hp-pillar p { font:400 14px/1.5 var(--font,Arial,sans-serif); color:#cfcdc0; max-width:40ch; padding:0 3px 8px 0; }
.hp-journeys,.hp-start { scroll-margin-top:90px; }
.hp-journeys { padding:clamp(56px,6.8vw,112px) 0; }
.hp-section-head { display:flex;align-items:flex-end;justify-content:space-between;gap:38px; margin-bottom:34px; }
.hp-front .hp-section-head h2,.hp-front .hp-start h2 { font-size:clamp(41px,4.8vw,78px); margin:16px 0 0; }
.hp-section-head em,.hp-start em { color:#776040; }
.hp-front .hp-dark-kicker { color:#715636; }
.hp-front .hp-section-head > p { max-width:39ch;color:#595951;font:400 16px/1.6 var(--font,Arial,sans-serif); }
.hp-cards { display:grid;grid-template-columns:1fr 1fr;gap:clamp(20px,3vw,46px); }
.hp-front .hp-journey-card { display:block;color:inherit; }
.hp-photo { position:relative;overflow:hidden;border-radius:3px;aspect-ratio:1.94;background:#d9d1c2; }
.hp-photo img { width:100%;height:100%;object-fit:cover;display:block; }
.hp-card-copy { display:flex;align-items:flex-start;gap:22px;justify-content:space-between;padding:23px 0; border-bottom:1px solid var(--hp-line); }
.hp-front .hp-card-copy h3 { font-size:clamp(30px,3.1vw,50px); margin:0 0 10px; }
.hp-front .hp-card-copy p,.hp-front .hp-steps p { color:#595951; font:400 15px/1.55 var(--font,Arial,sans-serif); max-width:52ch; }
.hp-card-arrow { display:grid;place-items:center;border:1px solid #b3a48b;border-radius:50%;width:40px;height:40px;flex:none;font-size:22px; }
.hp-journey-card:hover .hp-card-arrow { color:#fff;background:#34342a;border-color:#34342a; }
.hp-start { background:#eae4d7;padding:clamp(52px,6.5vw,100px) 0; }
.hp-start-grid { display:grid;grid-template-columns:1fr 1fr;gap:clamp(40px,6vw,100px); }
.hp-ink { background:#292a23;color:#fff9eb; }.hp-ink:hover { background:#444637; }
.hp-steps { list-style:none;padding:0; }
.hp-steps li { border-top:1px solid #c6baa5; display:grid; grid-template-columns:30px 1fr; gap:14px; padding:18px 0; }
.hp-steps li:last-child { padding-bottom:0; }
.hp-steps li>span { color:#776040; font-size:12px; font-weight:600; padding-top:4px; }
.hp-front .hp-steps h3 { font:600 19px/1.4 var(--font,Arial,sans-serif); margin:0 0 4px; }
@media (prefers-reduced-motion: no-preference) {
  .hp-photo img { transition: transform .6s ease; }.hp-journey-card:hover .hp-photo img { transform:scale(1.035); }
}
@media(max-width:850px) {
 .hp-front .hp-hero h1 { font-size:clamp(46px,7vw,68px); }
  .hp-pillars { gap:17px;min-height:140px; }.hp-section-head { align-items:flex-start;flex-direction:column;gap:14px; }.hp-front .hp-section-head>p { max-width:55ch; }
  .hp-hero .hp-actions { gap:4px 16px; }.hp-hero .hp-button { padding:14px 15px; }
}
@media(max-width:640px) {
  .hp-front .hp-hero h1 { font-size:clamp(47px,11.7vw,70px); margin:15px 0 14px; }
  .hp-front .hp-intro { font-size:15px;max-width:47ch; }.hp-hero .hp-actions { margin-top:17px; }
  .hp-pillars { grid-template-columns:1fr 1fr; gap:8px 18px;min-height:0; }
  .hp-pillar summary { min-height:48px;gap:9px; }
  .hp-front .hp-pillar p { font-size:13px; }.hp-pillar-desk { padding:8px 0 26px; }.hp-front .hp-overline { margin-bottom:11px; }
  .hp-cards,.hp-start-grid { grid-template-columns:1fr;gap:29px; }.hp-section-head { margin-bottom:25px; }
  .hp-card-copy { padding:17px 0; }.hp-front .hp-card-copy h3 { font-size:34px; }
}
@media(max-width:360px) { .hp-wrap { padding-inline:18px; }.hp-front .hp-hero h1 { font-size:44px; } }
.hp-arrow { display:inline-flex; align-items:center; }
.hp-arrow svg,.hp-card-arrow svg { width:18px;height:18px; }
.hp-arrow-up svg { transform:rotate(-40deg); }.hp-arrow-down svg { transform:rotate(90deg); }
@media(max-width:760px) {
  .hop-header { gap:8px; padding-inline:14px; }
  .hop-header .hop-header-end { gap:9px; }
  .hop-header .hop-header-end > .hop-language { display:flex; gap:3px; }
  .hop-header .hop-language a { display:inline-flex; align-items:center; min-height:42px; }
}
@media(max-width:395px) {
  .hop-header .hop-logo > span { font-size:13px; }.hop-header .hop-login-link svg { display:none; }
}
.hp-front .hp-hero h1.hp-source-title { font-size:clamp(40px,4.5vw,76px); max-width:17ch; color:#f3dfb4; hyphens:auto; overflow-wrap:anywhere; }
.hp-front .hp-intro-second { margin-top:12px; }
.hp-resources h2,.hp-editorial h2 { font:400 clamp(28px,3.2vw,45px)/1.13 var(--hp-serif); letter-spacing:-.04em; }
.hp-resources p,.hp-editorial p { max-width:67ch; margin:13px 0; line-height:1.65; }
.hp-editorial { padding:clamp(44px,6vw,90px) 0; }
.hp-editorial h1 { max-width:21ch;font:400 clamp(42px,5.3vw,78px)/1.08 var(--hp-serif);letter-spacing:-.05em; color:inherit; margin:12px 0 20px; }
.hp-editorial .hp-section-head { align-items:start; }
.hp-copy-section { margin-top:clamp(32px,4vw,62px); max-width:78ch; }
.hp-copy-section dl { margin:20px 0 0; }
.hp-copy-section dt { padding:15px 0 3px;border-top:1px solid var(--hp-line);font-weight:650; }
.hp-copy-section dd { margin:0 0 15px;line-height:1.55; }
.hp-public-photos { margin:0; }
@media(max-width:660px){ .hp-front .hp-hero h1.hp-source-title { font-size:clamp(36px,8.6vw,47px); } }
.hp-story-copy p { margin:0 0 14px; max-width:62ch; color:#45463e; line-height:1.65; }
.hp-story-copy p:first-child { color:#272920; font-size:clamp(18px,1.6vw,24px); line-height:1.48; }
.hp-front .hp-site-link { display:inline-block; margin-top:14px; color:#624b2f; font-weight:650; font-size:14px; }
.hp-journey-card:hover .hp-site-link { text-decoration:underline; text-underline-offset:3px; }
.hp-access { border-top:1px solid var(--hp-line); }
.hp-access .hp-actions { margin-top:20px; }
.hp-member-entry #loginform { max-width:420px; margin:26px 0 8px; }
.hp-member-entry #loginform label { display:block; margin-bottom:5px; }
.hp-member-entry #loginform :is(input[type=text],input[type=password]) { box-sizing:border-box; width:100%; min-height:44px; padding:8px 12px; background:white; color:#292a23; border:1px solid #999080; border-radius:3px; }
.hp-member-entry #loginform input[type=submit] { cursor:pointer; padding:11px 22px; background:#292a23; color:#fff9eb; border:0; border-radius:3px; }

.hp-pricing {background:#f7f3eb;color:#28251e;padding-block:clamp(52px,7vw,100px);border-top:1px solid #d6cdbd}
.hp-front .hp-pricing :is(h1,h2) {font:400 clamp(42px,5.1vw,80px)/1.04 var(--hp-serif);letter-spacing:-.055em;margin:.25em 0}
.hp-pricing .hp-lic-intro {font:400 17px/1.6 var(--font,Arial,sans-serif);max-width:69ch}
.hp-pricing .hp-lic-rhythm {font:400 clamp(21px,2vw,28px)/1.35 var(--hp-serif);margin:24px 0 6px}
.hp-price-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #c8bda9}
.hp-price-card {display:flex;flex-direction:column;padding:clamp(20px,2.2vw,36px);background:#fffdf8;min-width:0}
.hp-price-card + .hp-price-card {border-left:1px solid #c8bda9}
.hp-price-card:has(.hp-period input:checked) {background:#f1eadd}
.hp-front .hp-price-card h3 {color:inherit;min-height:2.5em;margin:0 0 20px;font:400 clamp(22px,2vw,34px)/1.15 var(--hp-serif);letter-spacing:-.035em}
.hp-price-number,.hp-custom-number {color:#795629;font:400 clamp(28px,2.6vw,42px)/1.15 var(--hp-serif);margin:0}
.hp-price-number span {font:500 13px/1.4 var(--font,Arial,sans-serif);white-space:nowrap}
.hp-price-rate {font:400 14px/1.5 var(--font,Arial,sans-serif);color:#504a3d;margin:7px 0 25px}
.hp-billing {margin:auto 0 0}
.hp-billing fieldset {min-width:0;padding:0;margin:0 0 12px;border:0}
.hp-billing legend {position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip-path:inset(50%)}
.hp-period {display:flex;align-items:center;gap:12px;min-height:54px;margin:0 0 6px;padding:10px 12px;border:1px solid #c8bda9;border-radius:3px;cursor:pointer;background:#fffdf8;text-align:left}
.hp-period input {margin:0;accent-color:#76562c;width:17px;height:17px;flex:none}
.hp-period strong,.hp-period small {display:block;font:600 14px/1.35 var(--font,Arial,sans-serif)}
.hp-period small {font-weight:400;font-size:13px}
.hp-period:has(input:checked) {border-color:#805f31;box-shadow:inset 0 0 0 1px #805f31;background:#f5efdf}
.hp-period:has(input:focus-visible) {outline:2px solid #805719;outline-offset:2px}
.hp-period:has(input:disabled) {cursor:default;color:#686458;background:#f5f2ea}
.hp-lic-contact,.hp-pay {display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;min-height:46px;padding:10px 14px;border:1px solid #bba47d;border-radius:3px;cursor:pointer;color:#28251e;background:#f2e8d4;text-decoration:none;text-align:left;font:600 14px/1.3 var(--font,Arial,sans-serif)}
.hp-pay {color:#fffdf8;background:#292922;border-color:#292922}
.hp-pay:disabled {cursor:default;color:#5a574f;background:#ded9ce;border-color:#c8bda9}
.hp-billing .hp-billing-note {font:400 13px/1.45 var(--font,Arial,sans-serif);margin:8px 0 0}
.hp-front .hp-lic-login {display:inline-block;color:#332e24;font:600 14px/1.5 var(--font,Arial,sans-serif);text-decoration:underline;text-underline-offset:4px;margin-top:22px}
.hp-lic-resources {padding-block:48px}
.hp-front .hp-lic-resources h2 {font:400 clamp(30px,3vw,48px)/1.2 var(--hp-serif);margin:0 0 25px}
.hp-price-card :is(a,button,summary):focus-visible {outline:3px solid #805719;outline-offset:3px}
.hp-pricing .hp-lic-terms {font:400 16px/1.55 var(--font,Arial,sans-serif);max-width:75ch;margin:0 0 24px}
.hp-lic-networks {display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:24px;padding-block:14px;border-bottom:1px solid #c8bda9}
.hp-lic-networks p {font:400 15px/1.55 var(--font,Arial,sans-serif)}
.hp-lic-networks .hp-lic-contact {width:auto;flex-shrink:0;margin:0}
@media(max-width:760px){.hp-price-grid{grid-template-columns:1fr}.hp-price-card + .hp-price-card{border-left:0;border-top:1px solid #c8bda9}.hp-front .hp-price-card h3{min-height:0;margin-bottom:14px}.hp-pricing .hp-lic-intro{font-size:16px}.hp-lic-networks{align-items:flex-start;flex-direction:column}}
.hp-price-choice .screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}

.hp-hero { position:relative; isolation:isolate; display:grid; align-items:center; min-height:clamp(522px,46vw,950px); }
.hp-hero-inner { position:relative; z-index:1; pointer-events:none; }
.hp-hero-copy { width:46%; max-width:670px; padding-block:clamp(45px,5vw,90px); pointer-events:auto; }
.hp-scene { position:absolute; z-index:-1; inset:0; overflow:hidden; background:#171813; }
.hp-camera,.hp-landscape,.hp-masonry { position:absolute; inset:0; display:block; width:100%; height:100%; }
.hp-landscape { object-fit:cover; object-position:right center; }
.hp-masonry { pointer-events:none; }
.hp-scene::after { content:''; position:absolute; inset:0; pointer-events:none;
  background:linear-gradient(90deg,rgba(12,14,10,.66) 0%,rgba(12,14,10,.52) 35%,rgba(12,14,10,.26) 46%,transparent 62%),linear-gradient(0deg,#171813 0%,rgba(23,24,19,.03) 10%,transparent 22%); }
.hp-front .hp-hero .hp-intro { color:#ebe8dc; max-width:42ch; }
.hp-front .hp-hero h1.hp-source-title { max-width:16.5ch; }
.hp-stone-hit { fill:transparent; pointer-events:all; cursor:pointer; }
.hp-fit-stone { display:none; }
.hp-glow { opacity:0; }
.hp-opening[data-selected="1"] .hp-glow-1,.hp-opening[data-selected="2"] .hp-glow-2,
.hp-opening[data-selected="3"] .hp-glow-3,.hp-opening[data-selected="4"] .hp-glow-4 { opacity:1; }
.hp-replay { position:absolute; z-index:2; right:clamp(18px,3.5vw,74px); bottom:clamp(20px,2.9vw,56px); display:grid; place-items:center; width:44px; height:44px; border:1px solid #efdbb978; border-radius:50%; background:#29251cbd; color:#ffedca; cursor:pointer; }
.hp-replay[hidden] { display:none; }
.hp-replay:hover,.hp-replay:focus-visible { background:#29251c; border-color:#f5d8a6; }
.hp-replay:focus-visible { outline:2px solid #f5d8a6; outline-offset:3px; }
@media (prefers-reduced-motion:no-preference) {
  .hp-playing .hp-camera { transform-origin:72% 61%; animation:hp-arrive 4700ms cubic-bezier(.18,.57,.36,1) both; }
  .hp-playing .hp-fit-stone { display:block; animation:hp-show-joint 4700ms step-end both; }
  .hp-playing .hp-capstone { animation:hp-lower 2780ms both; }
  .hp-playing .hp-dust { transform-box:fill-box; transform-origin:center; opacity:0; }
  .hp-playing .hp-dust-left { animation:hp-chalk-left 1140ms ease-out 2630ms both; }
  .hp-playing .hp-dust-right { animation:hp-chalk-right 1070ms ease-out 2660ms both; }
  @keyframes hp-arrive { from {transform:scale(1.034) translateY(.42%);} to {transform:none;} }
  @keyframes hp-show-joint { 0% {opacity:1;} 85%,100% {opacity:0;} }
  @keyframes hp-lower {
    0% { transform:translate(1.5px,-95px); animation-timing-function:cubic-bezier(.37,0,.56,.48); }
    72% { transform:translate(.2px,-13px); animation-timing-function:cubic-bezier(.28,.42,.45,1); }
    100% { transform:translate(0,0); }
  }
  @keyframes hp-chalk-left {
    0% {opacity:0;transform:scale(.6);}
    17% {opacity:.72;}
    100% {opacity:0;transform:translate(-22px,4px) scale(1.9,2.2);}
  }
  @keyframes hp-chalk-right {
    0% {opacity:0;transform:scale(.6);}
    18% {opacity:.8;}
    100% {opacity:0;transform:translate(21px,-3px) scale(2,2);}
  }
}
@media (min-width:901px) and (max-width:980px) {
  .hp-hero {min-height:465px;}
  .hp-hero-copy {width:46%;padding-block:36px;}
  .hp-scene::after {background:linear-gradient(90deg,#10120feb 0%,#10120fc9 36%,transparent 61%),linear-gradient(0deg,#171813 0%,transparent 11%);}
}
@media (max-width:900px) {
  .hp-hero {display:flex;flex-direction:column;align-items:stretch;min-height:0;padding:0;}
  .hp-scene {position:relative;z-index:0;inset:auto;order:-1;height:clamp(196px,59vw,345px);}
  .hp-scene::after {background:linear-gradient(0deg,#171813 0%,rgba(23,24,19,.33) 7%,transparent 20%);}
  .hp-hero-copy {width:100%;max-width:530px;padding:10px 0 24px;}
  .hp-front .hp-hero h1.hp-source-title {font-size:clamp(37px,7.8vw,53px);margin:13px 0 15px;}
  .hp-hero .hp-actions {margin-top:19px;}
  .hp-replay {top:calc(clamp(196px,59vw,345px) - 60px);bottom:auto;right:18px;}
}
.hp-team-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(20px,3vw,48px); }
.hp-person { border-top:1px solid #bdb19b; padding-top:20px; }
.hp-person img { width:100%; height:auto; aspect-ratio:1.35; object-fit:cover; object-position:50% 24%; display:block; border-radius:3px; }
.hp-front .hp-person h3 { margin:17px 0 8px; font:400 clamp(30px,3vw,46px)/1.05 var(--hp-serif); letter-spacing:-.045em; }
.hp-front .hp-person p { margin:0; color:#48463e; max-width:42ch; font:400 15px/1.55 var(--font,Arial,sans-serif); }
.hp-editorial .hp-team { max-width:none; }
.hp-editorial .hp-team-grid { margin-top:25px; }
#church-licence { scroll-margin-top:84px; }
@media (max-width:640px) {
  .hp-team-grid { grid-template-columns:1fr; }
  .hp-person { display:grid; grid-template-columns:95px 1fr; gap:4px 17px; align-items:start; }
  .hp-person img { grid-row:1 / 3; aspect-ratio:480/520; }
  .hp-front .hp-person h3 { margin:0; font-size:31px; }
  .hp-front .hp-person p { font-size:14px; }
}
