:root {
  --gt-ground: #eeeeee;
  --gt-ink: #2d2330;
  --gt-grape: #803387;
  --gt-rose: #dfc4cd;
  --gt-white: #ffffff;
  color-scheme: light;
  font-family: "M PLUS 1", sans-serif;
  color: var(--gt-ink);
  background: var(--gt-ground);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 28px; }
body { margin: 0; font-size: 18px; line-height: 1.75; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: var(--gt-grape); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 3px solid var(--gt-grape); outline-offset: 5px; background: var(--gt-white); }
::selection { color: var(--gt-ink); background: var(--gt-rose); }
h1, h2, h3, .gt-wordmark, .gt-meaning { font-family: "Doppio One", sans-serif; font-weight: 400; }
h1, h2, h3, p, figure { margin: 0; }
p + p { margin-top: 18px; }
.gt-skip { position: absolute; left: 18px; top: -100px; z-index: 10; padding: 8px 16px; background: var(--gt-white); }
.gt-skip:focus { top: 8px; }
.gt-top { max-width: 1320px; margin: auto; padding: 17px 24px 18px; }
.gt-wordmark { display: inline-flex; gap: 15px; align-items: center; color: var(--gt-ink); text-decoration: none; font-size: 32px; line-height: 1.3; }
.gt-brand-hinge { width: 26px; height: 31px; }
.gt-paired-nav { display: grid; grid-template-columns: 1fr 1fr 1fr; column-gap: 56px; margin-top: 13px; }
.gt-paired-link { display: flex; gap: 17px; align-items: baseline; text-decoration: none; line-height: 1.4; padding: 4px 0; color: var(--gt-ink); }
.gt-topic { display: inline-flex; align-items: center; gap: 9px; color: var(--gt-grape); font-weight: 600; white-space: nowrap; }
.gt-topic svg, .gt-topic i { width: 20px; height: 20px; align-self: center; flex-shrink: 0; transition: transform 160ms ease; }
.gt-ordinary { font-size: 16px; }
.gt-paired-link:hover .gt-ordinary { text-decoration: underline; text-underline-offset: .23em; }
.gt-paired-link:hover .gt-topic svg { transform: translateX(3px); }
.gt-paired-link[aria-current="page"] .gt-topic { color: var(--gt-ink); }
.gt-opening { position: relative; isolation: isolate; background: var(--gt-ground); }
.gt-scene-ground { position: absolute; z-index: -1; left: 0; top: 0; width: 100%; height: 430px; object-fit: cover; object-position: 50% 0; }
.gt-opening-frame { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); max-width: 1320px; margin: auto; padding: 0 24px 36px; }
.gt-home-h1 { grid-column: 6 / -1; grid-row: 1; align-self: end; z-index: 2; margin: 62px min(-24px, calc((1320px - 100vw) / 2 - 24px)) 38px 0; padding: 30px 52px 38px 38px; font-size: clamp(42px, 4.25vw, 64px); line-height: 1.12; letter-spacing: -.035em; color: var(--gt-white); background: var(--gt-grape); border-left: 10px solid var(--gt-rose); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 22px 100%, 0 calc(100% - 22px)); }
.gt-home-intro { grid-column: 1 / -1; grid-row: 2; max-width: 1040px; margin-top: 32px; padding-right: 70px; font-size: 21px; line-height: 1.6; }
.gt-prescription-note { grid-column: 1 / -1; grid-row: 3; position: relative; margin: 24px 0 0 70px; min-height: 64px; background: var(--gt-ground); }
.gt-prescription-note p { font-size: 16px; line-height: 1.65; }
.gt-prescription-note strong { font-weight: 600; }
.gt-note-paper { position: absolute; left: -70px; top: 4px; width: 48px; height: 64px; object-fit: cover; }
.gt-photo-pair { grid-column: 1 / -1; grid-row: 1; position: relative; min-height: 430px; pointer-events: none; }
.gt-photo-wide, .gt-photo-narrow, .gt-fold-projection { position: absolute; background-color: var(--gt-ground); background-image: url("./shelter-scene.webp"); background-repeat: no-repeat; }
.gt-photo-wide { left: calc(50% - 50vw); top: 0; width: 100vw; height: 430px; background-size: cover; background-position: 50% 0; }
.gt-fold-projection { left: calc(50% - 190px); bottom: 30px; width: 72px; height: 90px; background-size: auto 570%; background-position: 38% 52%; box-shadow: -6px -6px 0 var(--gt-ground), 6px 6px 0 var(--gt-rose); }
.gt-photo-narrow { right: calc(58.333333% + 24px); top: 24px; bottom: auto; width: 152px; height: 132px; background-size: auto 440%; background-position: 38% 52%; border: 8px solid var(--gt-ground); box-shadow: 12px 12px 0 var(--gt-ink); z-index: 3; }
.gt-detail-hinge { position: absolute; left: -27px; bottom: -6px; width: 20px; height: 34px; border-left: 3px solid var(--gt-grape); border-bottom: 3px solid var(--gt-grape); }
.gt-detail-hinge::after { content: ""; position: absolute; right: 0; bottom: 0; height: 16px; border-right: 3px solid var(--gt-grape); }
.gt-main-translations { max-width: 1248px; margin: 12px auto 0; padding: 0 48px; }
.gt-translation { display: grid; position: relative; grid-template-columns: minmax(160px, 27%) minmax(0, 1fr); column-gap: 64px; padding: 65px 0 64px; border-top: 3px solid var(--gt-ink); }
.gt-translation + .gt-translation { margin-top: 16px; }
.gt-translation::before { content: attr(data-entry); position: absolute; left: 0; top: 105px; font-family: "Doppio One", sans-serif; font-size: 120px; line-height: 1; color: var(--gt-rose); letter-spacing: -.06em; }
.gt-term { grid-column: 1; align-self: start; position: sticky; top: 28px; padding-bottom: 30px; font-size: clamp(27px, 2.8vw, 40px); line-height: 1.2; color: var(--gt-grape); overflow-wrap: anywhere; }
.gt-term::after { content: ""; position: absolute; width: 32px; height: 42px; right: -47px; top: 0; background: url("./translation-hinge.svg") no-repeat center / contain; }
.gt-explanation { grid-column: 2; max-width: 780px; }
.gt-meaning { font-size: 32px; line-height: 1.3; margin: 0 0 24px; max-width: 760px; }
.gt-explanation p + p { margin-top: 18px; }
.gt-consequence { grid-column: 1 / -1; position: relative; margin: 34px 46px 0 -24px; padding: 25px 32px; font-size: 21px; line-height: 1.6; background: var(--gt-white); border-left: 7px solid var(--gt-grape); box-shadow: 10px 10px 0 var(--gt-rose), 12px 12px 0 var(--gt-grape); }
.gt-translation:nth-child(even) .gt-consequence { margin-left: 46px; margin-right: -24px; }
.gt-inner-main { max-width: 1248px; margin: auto; padding: 0 48px; }
.gt-breadcrumb { display: flex; gap: 12px; align-items: center; padding-top: 28px; font-size: 16px; }
.gt-breadcrumb svg, .gt-breadcrumb i { width: 18px; height: 18px; color: var(--gt-grape); }
.gt-inner-heading { position: relative; padding: 38px 0 42px 28px; margin-left: -28px; border-left: 7px solid var(--gt-grape); max-width: 1060px; }
.gt-page-h1 { font-size: clamp(36px, 4.1vw, 60px); line-height: 1.16; letter-spacing: -.03em; max-width: 1020px; }
.gt-page-intro { margin-top: 25px; max-width: 880px; font-size: 21px; line-height: 1.65; }
.gt-reading-image { position: relative; margin: 0 -48px 34px; }
.gt-reading-image::before { content: ""; position: absolute; left: 0; top: -12px; width: 27%; height: 12px; background: var(--gt-grape); }
.gt-reading-image img { width: 100%; height: 296px; object-fit: cover; background: var(--gt-ground); }
.gt-reading-image figcaption { position: relative; max-width: 760px; margin: -22px 32px 0 auto; padding: 17px 24px; font-size: 16px; line-height: 1.6; background: var(--gt-ground); border-left: 5px solid var(--gt-grape); box-shadow: 8px 8px 0 var(--gt-rose); }
.gt-continue { display: flex; gap: 14px; align-items: baseline; margin: 32px 0 48px; font-size: 18px; }
.gt-continue svg, .gt-continue i { align-self: center; flex-shrink: 0; width: 23px; height: 23px; color: var(--gt-grape); }
.gt-bottom { margin-top: 40px; padding: 45px max(32px, calc((100% - 1152px) / 2)); background: var(--gt-white); border-top: 12px solid var(--gt-grape); }
.gt-footer-links { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px 30px; font-size: 16px; line-height: 1.5; }
.gt-footer-links a { text-decoration: none; }
.gt-footer-links a:hover { text-decoration: underline; }
.gt-footer-sentence { max-width: 940px; margin-top: 35px; font-size: 16px; }
.gt-copyright { margin-top: 12px; font-size: 16px; }
.gt-missing { min-height: 42vh; }
.gt-missing p { margin-top: 24px; max-width: 700px; }
@media (min-width: 1700px) {
  .gt-home-h1 { padding-right: max(52px, calc((100vw - 1320px) / 2)); }
}
@media (max-width: 1050px) {
  .gt-paired-nav { column-gap: 24px; }
  .gt-paired-link { gap: 12px; }
  .gt-home-h1 { font-size: 48px; padding: 28px 30px 34px; }
  .gt-home-intro { padding-right: 180px; }
  .gt-translation { column-gap: 48px; }
  .gt-term::after { right: -37px; width: 26px; }
  .gt-meaning { font-size: 28px; }
}
@media (max-width: 800px) and (min-width: 681px) {
  .gt-home-h1 { grid-column: 5 / -1; font-size: 42px; }
  .gt-fold-projection { left: 24%; }
  .gt-photo-narrow { right: calc(66.666667% + 24px); }
  .gt-paired-nav { column-gap: 18px; }
  .gt-paired-link { display: block; }
  .gt-ordinary { display: block; margin-left: 29px; font-size: 14px; }
}
@media (max-width: 680px) {
  body { font-size: 17px; line-height: 1.75; }
  .gt-top { height: 86px; padding: 7px 20px 6px; }
  .gt-wordmark { font-size: 22px; gap: 9px; line-height: 1.35; }
  .gt-brand-hinge { width: 19px; height: 22px; }
  .gt-paired-nav { margin-top: 4px; gap: 12px; }
  .gt-paired-link { display: block; padding: 0; line-height: 1.25; }
  .gt-topic { font-size: 14px; font-weight: 600; gap: 4px; }
  .gt-topic svg, .gt-topic i { width: 13px; height: 13px; }
  .gt-ordinary { display: block; font-size: 12px; margin-top: 1px; line-height: 1.3; }
  .gt-scene-ground { display: none; }
  .gt-opening-frame { display: flex; flex-direction: column; padding: 0 20px 30px; }
  .gt-home-h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.025em; margin: 0 -20px; padding: 13px 20px 17px; width: calc(100% + 40px); border-left: 0; border-top: 5px solid var(--gt-rose); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
  .gt-home-intro { font-size: 16px; line-height: 1.55; margin-top: 15px; padding: 0; }
  .gt-prescription-note { margin: 17px 0 0 38px; }
  .gt-prescription-note p { font-size: 16px; line-height: 1.55; }
  .gt-note-paper { width: 28px; height: 48px; left: -38px; top: 4px; }
  .gt-photo-pair { order: 4; flex-shrink: 0; min-height: 100px; height: 100px; margin-top: 26px; }
  .gt-photo-wide { left: 0; top: 0; width: 63%; height: 82px; background-size: cover; background-position: 25% 40%; }
  .gt-photo-narrow { width: 26%; height: 67px; background-size: auto 270%; right: 5px; top: auto; bottom: 0; border: 0; box-shadow: 5px 5px 0 var(--gt-rose); }
  .gt-fold-projection { left: auto; bottom: -12px; width: 36px; height: 44px; right: -12px; box-shadow: -3px -3px 0 var(--gt-ground); }
  .gt-detail-hinge { display: none; }
  .gt-main-translations { margin-top: 4px; padding: 0 20px; }
  .gt-translation { display: block; padding: 31px 0 38px; }
  .gt-translation::before { top: 16px; left: auto; right: 0; font-size: 52px; color: var(--gt-rose); }
  .gt-term { font-size: 27px; padding: 0 54px 0 37px; position: relative; top: auto; margin-bottom: 23px; overflow-wrap: normal; }
  .gt-term::after { width: 23px; height: 29px; left: 0; right: auto; top: -1px; }
  .gt-meaning { font-size: 24px; line-height: 1.35; margin-bottom: 18px; }
  .gt-consequence, .gt-translation:nth-child(even) .gt-consequence { font-size: 18px; margin: 24px 8px 0 0; padding: 20px 18px; border-left-width: 5px; box-shadow: 7px 7px 0 var(--gt-rose), 8px 8px 0 var(--gt-grape); }
  .gt-inner-main { padding: 0 20px; }
  .gt-breadcrumb { padding-top: 19px; font-size: 16px; gap: 8px; flex-wrap: wrap; }
  .gt-inner-heading { padding: 25px 0 30px 17px; margin-left: -20px; border-left-width: 3px; }
  .gt-page-h1 { font-size: 34px; line-height: 1.2; letter-spacing: -.025em; }
  .gt-page-intro { font-size: 18px; margin-top: 20px; line-height: 1.7; }
  .gt-reading-image { margin: 0 -20px 28px; }
  .gt-reading-image img { height: 180px; }
  .gt-reading-image figcaption { margin: -15px 28px 0 35px; padding: 13px 16px; font-size: 16px; }
  .gt-continue { align-items: flex-start; margin: 25px 0 30px; font-size: 17px; }
  .gt-continue svg, .gt-continue i { margin-top: 6px; align-self: flex-start; }
  .gt-bottom { margin-top: 28px; padding: 30px 20px; border-top-width: 8px; }
  .gt-footer-links { grid-template-columns: 1fr 1fr; gap: 16px 25px; }
  .gt-footer-sentence { margin-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
