.app-shell {
  --app-ink: #282330;
  --app-muted: #5f5b66;
  --app-rule: #dddbe2;
  --app-accent: #5840ad;
  color: var(--app-ink);
  padding-block: 24px clamp(52px, 7vw, 100px);
}
.app-shell *, .app-shell *::before, .app-shell *::after { box-sizing: border-box; }
.app-shell [hidden] { display: none !important; }
.app-crumb, .app-crumb a { color: var(--app-muted); }
.app-crumb { display: flex; flex-wrap: wrap; gap: 10px; align-items: baseline; font-size: .8rem; }
.app-crumb a, .app-back { text-decoration: none; }
.app-crumb a:hover, .app-back:hover { text-decoration: underline; text-underline-offset: .2em; }
.app-crumb [aria-current] { color: var(--app-ink); }
.app-shell h1, .app-shell h2, .app-shell h3, .app-shell p, .app-shell figure { margin: 0; }
.app-shell h1 { font-size: clamp(3rem, 6.2vw, 5.65rem); letter-spacing: -.059em; line-height: .99; font-weight: 600; }
.app-shell h2 { color: var(--app-ink); font-size: clamp(1.55rem, 2.7vw, 2.3rem); letter-spacing: -.043em; line-height: 1.12; font-weight: 600; }
.app-heading { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); align-items: end; gap: clamp(20px, 5vw, 75px); padding: clamp(40px, 6vw, 76px) 0; }
.app-heading p, .app-lead { font-size: clamp(1.05rem, 1.45vw, 1.27rem); line-height: 1.58; color: var(--app-muted); max-width: 50ch; }
.app-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.1vw, 34px); }
.app-story { display: flex; flex-direction: column; color: inherit; text-decoration: none; border-top: 1px solid var(--app-rule); }
.app-story img, .app-detail-top img { width: 100%; height: auto; display: block; object-fit: cover; }
.app-story img { aspect-ratio: 1.49; background: #eeedf0; }
.app-story-copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(20px, 2vw, 32px) 0 16px; }
.app-story h2 { font-size: clamp(1.45rem, 2.1vw, 2.1rem); }
.app-story p { color: var(--app-muted); line-height: 1.55; margin: 11px 0 23px; max-width: 42ch; }
.app-card-link, .app-text-link, .app-back { font-weight: 600; font-size: .93rem; }
.app-card-link { display: inline-flex; gap: .65em; margin-top: auto; align-items: center; color: var(--app-accent); }
.app-story:hover h2, .app-story:focus-visible h2, .app-model:hover strong { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .16em; }
.app-detail-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 84px); align-items: center; padding: clamp(32px, 4.8vw, 68px) 0; border-bottom: 1px solid var(--app-rule); }
.app-shell .kicker { margin-bottom: 18px; }
.app-detail-top .app-lead, .app-contact-intro .app-lead { margin: 22px 0 28px; }
.app-detail-top figure { overflow: hidden; background: #ecebef; }
.app-detail-top img { aspect-ratio: 1.35; }
.app-detail-top figcaption { padding: 8px 0 0; color: var(--app-muted); background: white; font-size: .75rem; line-height: 1.45; }
.app-guide-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(260px,.62fr); align-items: start; gap: clamp(30px, 8vw, 138px); padding: clamp(34px, 5vw, 74px) 0; }
.app-reading p, .app-candidates p, .app-checks dd { font-size: 1rem; color: var(--app-muted); line-height: 1.67; }
.app-reading section + section { margin-top: clamp(31px, 4vw, 58px); }
.app-reading h2 { max-width: 24ch; margin-bottom: 17px; }
.app-checks { margin: 0; }
.app-checks div { padding: 16px 0 14px; border-bottom: 1px solid var(--app-rule); }
.app-checks div:first-child { padding-top: 3px; }
.app-checks dt { font-weight: 650; font-size: 1.05rem; margin-bottom: 5px; }
.app-checks dd { margin: 0; }
.app-candidates { border-top: 3px solid var(--app-accent); background: #f3f1f6; padding: clamp(21px, 2.5vw, 36px); }
.app-candidates h2, .app-composer h2 { font-size: clamp(1.6rem, 2.55vw, 2.16rem); }
.app-candidates p, .app-composer > p { margin: 11px 0 20px; }
.app-model { display: grid; grid-template-columns: 1fr auto; gap: 3px 8px; align-items: baseline; color: inherit; text-decoration: none; border-top: 1px solid #d6d1df; padding: 12px 0; }
.app-model strong { grid-column: 1; }
.app-model span:first-of-type { grid-column: 1; color: var(--app-muted); font-size: .87rem; line-height: 1.5; }
.app-model span:last-child { color: var(--app-accent); grid-area: 1 / 2 / 3 / 3; align-self: center; }
.app-families { border-top: 1px solid #d6d1df; padding-top: 14px; display: grid; gap: 9px; }
.app-text-link, .app-back { width: fit-content; color: var(--app-accent); }
.app-text-link { text-decoration: underline; text-underline-offset: .24em; }
.app-back { display: inline-block; }
.app-enquiry-layout { display: grid; grid-template-columns: minmax(0,.87fr) minmax(0,1.03fr); gap: clamp(30px, 7vw, 110px); align-items: start; padding-top: clamp(38px, 5vw, 76px); }
.app-contact-intro h1 { max-width: 12ch; }
.app-contact-address { border-top: 1px solid var(--app-rule); margin-top: clamp(30px, 4vw, 60px); padding-top: 22px; max-width: 410px; }
.app-contact-address h2 { font-size: 1.05rem; letter-spacing: -.015em; margin-bottom: 10px; }
.app-contact-address a, #draft-recipient a { color: var(--app-accent); text-underline-offset: .2em; overflow-wrap: anywhere; }
.app-contact-address p { margin-top: 11px; color: var(--app-muted); line-height: 1.52; font-size: .93rem; }
.app-composer { background: #f5f3f7; border: 1px solid var(--app-rule); padding: clamp(21px, 3.5vw, 52px); min-width: 0; }
.app-composer > p, .app-composer noscript p { font-size: .98rem; line-height: 1.55; color: var(--app-muted); }
#enquiry-form { display: grid; gap: 19px; }
.app-field-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.app-composer label { min-width: 0; display: block; font-weight: 600; font-size: .94rem; }
.app-composer small { font-size: .76rem; font-weight: 400; color: var(--app-muted); }
.app-composer input, .app-composer select, .app-composer textarea { width: 100%; max-width: 100%; border: 1px solid #bebac6; background: #fff; border-radius: 3px; color: var(--app-ink); margin-top: 7px; padding: 10px 12px; font: inherit; font-size: 1rem; font-weight: 400; line-height: 1.43; }
.app-composer textarea { display: block; resize: vertical; min-height: 110px; }
.app-composer input::placeholder, .app-composer textarea::placeholder { color: #736d79; opacity: 1; }
.app-composer .button { width: fit-content; cursor: pointer; }
.app-shell a:focus-visible, .app-shell button:focus-visible, .app-composer :is(input, select, textarea):focus-visible { outline: 3px solid #6547bb; outline-offset: 3px; }
#draft-result { margin-top: 31px; border-top: 1px solid #c9c3d3; padding-top: 24px; }
#draft-result h3 { font-size: 1.4rem; letter-spacing: -.03em; }
#draft-result h3:focus { outline: none; }
#draft-recipient { font-size: .9rem; margin: 8px 0 4px; }
#draft-subject { font-size: .9rem; margin: 0 0 15px; overflow-wrap: anywhere; }
.app-draft-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-top: 16px; }
.app-copy-button { font: inherit; font-weight: 600; color: var(--app-accent); background: #fff; border: 1px solid #c6bfd3; border-radius: 3px; padding: .7rem 1rem; cursor: pointer; }
.app-composer .app-status { margin-top: 10px; font-size: .9rem; color: var(--app-muted); line-height: 1.45; }
@media(max-width: 800px) {
  .app-enquiry-layout, .app-heading { grid-template-columns: 1fr; }
  .app-detail-top { gap: 25px; }
  .app-stories { gap: 16px; }
  .app-guide-layout { grid-template-columns: minmax(0,1fr) minmax(225px,.64fr); gap: 26px; }
  .app-contact-intro h1 { max-width: none; }
  .app-enquiry-layout { gap: 28px; }
  .app-contact-address { margin-top: 20px; }
}
@media(max-width: 630px) {
  .app-shell { padding-top: 17px; }
  .app-heading { padding: 32px 0; gap: 18px; }
  .app-stories, .app-detail-top, .app-guide-layout { grid-template-columns: 1fr; }
  .app-stories { gap: 18px; }
  .app-story img, .app-detail-top img { aspect-ratio: 1.68; }
  .app-detail-top { gap: 23px; }
  .app-guide-layout { gap: 27px; }
  .app-field-pair { grid-template-columns: 1fr; gap: 19px; }
}
