.gematria-page {
    background: #ece7dc;
}

.gematria-page textarea,
.gematria-page select {
    font: inherit;
}

.gt-hero {
    position: relative;
    display: grid;
    min-height: min(88vh, 880px);
    place-items: end start;
    overflow: hidden;
    padding: calc(var(--header-height) + 90px) 0 clamp(80px, 10vw, 135px);
    background:
        radial-gradient(circle at 76% 33%, rgba(185, 138, 88, .18), transparent 0 27%, transparent 47%),
        linear-gradient(135deg, #0a0d0c, #111715 58%, #070908);
    color: var(--paper-bright);
}

.gt-hero::before {
    position: absolute;
    inset: 0;
    opacity: .17;
    background-image:
        linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
    background-size: 78px 78px;
    content: "";
    mask-image: linear-gradient(110deg, transparent 4%, #000 78%);
}

.gt-hero::after {
    position: absolute;
    right: -9vw;
    bottom: -44vw;
    width: min(73vw, 970px);
    aspect-ratio: 1;
    border: 1px solid rgba(215, 177, 126, .3);
    border-radius: 50%;
    box-shadow:
        0 0 0 8vw rgba(215, 177, 126, .025),
        0 0 0 16vw rgba(215, 177, 126, .018);
    content: "";
}

.gt-hero__geometry {
    position: absolute;
    z-index: 1;
    top: 14%;
    right: 6%;
    width: min(43vw, 590px);
    aspect-ratio: 1;
    opacity: .74;
    transform: rotate(9deg);
}

.gt-hero__geometry::before,
.gt-hero__geometry::after,
.gt-hero__geometry span {
    position: absolute;
    inset: 16%;
    border: 1px solid rgba(215, 177, 126, .36);
    content: "";
    transform: rotate(45deg);
}

.gt-hero__geometry::after {
    inset: 27%;
    border-color: rgba(248, 245, 238, .24);
}

.gt-hero__geometry span:nth-child(1) {
    inset: 3%;
    border-radius: 50%;
    transform: none;
}

.gt-hero__geometry span:nth-child(2) {
    inset: 39%;
    border: 0;
    border-radius: 50%;
    background: var(--copper-light);
    box-shadow: 0 0 45px rgba(215, 177, 126, .4);
    transform: none;
}

.gt-hero__geometry span:nth-child(3) {
    inset: 10% 49%;
    border-width: 0 1px;
    transform: none;
}

.gt-hero__heading {
    position: relative;
    z-index: 2;
}

.gt-hero h1 {
    max-width: 850px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(76px, 10.5vw, 152px);
    font-weight: 400;
    letter-spacing: -.065em;
    line-height: .75;
}

.gt-hero h1 em {
    color: var(--copper-light);
    font-weight: 400;
}

.gt-hero__heading > p:not(.eyebrow) {
    max-width: 620px;
    margin: 50px 0 30px;
    color: rgba(248, 245, 238, .71);
    font-family: var(--serif);
    font-size: clamp(18px, 2vw, 23px);
    line-height: 1.55;
}

.gt-hero__jump {
    display: inline-flex;
    gap: 28px;
    align-items: center;
    border-bottom: 1px solid rgba(248, 245, 238, .34);
    padding: 10px 0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    transition: border-color .25s ease, color .25s ease;
}

.gt-hero__jump span {
    transition: transform .25s ease;
}

.gt-hero__jump:hover {
    border-color: var(--copper-light);
    color: var(--copper-light);
}

.gt-hero__jump:hover span {
    transform: translateY(4px);
}

.gt-workspace {
    padding: clamp(80px, 10vw, 145px) 0;
    background: var(--paper-bright);
}

.gt-mode-switch {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 760px;
    margin: 0 auto clamp(75px, 8vw, 118px);
    border-bottom: 1px solid var(--line);
}

.gt-mode-switch button {
    position: relative;
    border: 0;
    padding: 22px 24px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-family: var(--serif);
    font-size: clamp(18px, 2vw, 24px);
    transition: color .25s ease, background .25s ease;
}

.gt-mode-switch button::after {
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 3px;
    background: var(--copper);
    content: "";
    transform: scaleX(0);
    transition: transform .25s ease;
}

.gt-mode-switch button span {
    margin-right: 12px;
    color: var(--copper);
    font-family: var(--sans);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
}

.gt-mode-switch button:hover,
.gt-mode-switch button.is-active {
    background: rgba(185, 138, 88, .07);
    color: var(--ink);
}

.gt-mode-switch button.is-active::after {
    transform: scaleX(1);
}

.gt-panel[hidden] {
    display: none;
}

.gt-panel__intro,
.gt-library__heading {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 70px;
    align-items: end;
    margin-bottom: 65px;
}

.gt-panel__intro h2,
.gt-library__heading h2,
.gt-method h2,
.gt-ciphers h2,
.gt-sources h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(49px, 6vw, 84px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .98;
}

.gt-panel__intro h2 em,
.gt-library__heading h2 em,
.gt-method h2 em,
.gt-ciphers h2 em {
    color: var(--copper);
    font-weight: 400;
}

.gt-panel__intro > p,
.gt-library__heading > p {
    max-width: 510px;
    margin: 0 0 5px;
    color: #57574f;
    font-family: var(--serif);
    font-size: 19px;
    line-height: 1.62;
}

.gt-translator {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, .45fr);
    border: 1px solid var(--line);
    background: #fffdf8;
    box-shadow: 0 35px 85px rgba(29, 25, 18, .09);
}

.gt-entry-card {
    padding: clamp(28px, 5vw, 66px);
}

.gt-entry-card > label,
.gt-number-search__field > label,
.gt-library-tools label > span {
    display: block;
    margin-bottom: 15px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.gt-entry-card textarea {
    display: block;
    width: 100%;
    min-height: 190px;
    resize: vertical;
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    padding: 10px 0 22px;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(37px, 5vw, 70px);
    letter-spacing: -.035em;
    line-height: 1.06;
}

.gt-entry-card textarea::placeholder {
    color: #cbc5b9;
}

.gt-entry-card textarea:focus {
    border-color: var(--copper);
    box-shadow: 0 1px 0 var(--copper);
}

.gt-entry-card__meta {
    display: flex;
    justify-content: space-between;
    padding: 13px 0 28px;
    color: var(--muted);
    font-size: 11px;
}

.gt-clear {
    border: 0;
    padding: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.gt-clear:hover {
    color: var(--red);
}

.gt-starters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gt-starters > span {
    width: 100%;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gt-starters button,
.gt-category-filters button,
.gt-number-search__cipher button {
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 8px 13px;
    background: transparent;
    color: #5f5c55;
    cursor: pointer;
    font-size: 11px;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.gt-starters button:hover,
.gt-category-filters button:hover,
.gt-number-search__cipher button:hover {
    border-color: var(--copper);
    color: var(--ink);
    transform: translateY(-2px);
}

.gt-primary-result {
    display: flex;
    flex-direction: column;
    min-height: 460px;
    padding: clamp(28px, 4vw, 48px);
    background:
        radial-gradient(circle at 100% 0, rgba(215, 177, 126, .2), transparent 45%),
        var(--ink);
    color: var(--paper-bright);
}

.gt-primary-result__top {
    display: flex;
    justify-content: space-between;
    color: rgba(248, 245, 238, .52);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
}

.gt-primary-result__top button {
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--copper-light);
    cursor: pointer;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
}

.gt-primary-result__top button:hover {
    color: #fff;
}

.gt-primary-result > strong {
    display: block;
    margin: auto 0 0;
    color: var(--copper-light);
    font-family: var(--serif);
    font-size: clamp(96px, 11vw, 170px);
    font-weight: 400;
    letter-spacing: -.07em;
    line-height: .75;
}

.gt-primary-result > p {
    margin: 32px 0 0;
    font-family: var(--serif);
    font-size: 21px;
}

.gt-primary-result__rule {
    height: 1px;
    margin: 22px 0 15px;
    background: rgba(255, 255, 255, .16);
}

.gt-primary-result > span {
    color: rgba(248, 245, 238, .47);
    font-size: 10px;
    letter-spacing: .06em;
}

.gt-cipher-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin: 22px 0 55px;
    border: 1px solid var(--line);
    background: #f3efe6;
}

.gt-cipher-selector button {
    min-width: 0;
    border: 0;
    border-right: 1px solid var(--line);
    padding: 23px 20px;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.gt-cipher-selector button:last-child {
    border-right: 0;
}

.gt-cipher-selector button:hover,
.gt-cipher-selector button.is-active {
    background: var(--copper);
}

.gt-cipher-selector button span {
    display: block;
    overflow: hidden;
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .1em;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;
}

.gt-cipher-selector button.is-active span,
.gt-cipher-selector button:hover span {
    color: rgba(11, 13, 13, .66);
}

.gt-cipher-selector button strong {
    display: block;
    overflow: hidden;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 400;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gt-cipher-selector button em {
    display: block;
    margin-top: 17px;
    color: var(--copper);
    font-family: var(--serif);
    font-size: 34px;
    font-style: normal;
    line-height: 1;
}

.gt-cipher-selector button.is-active em,
.gt-cipher-selector button:hover em {
    color: var(--ink);
}

.gt-breakdown-card {
    border: 1px solid var(--line);
    padding: clamp(25px, 5vw, 55px);
    background: #fffdf8;
}

.gt-breakdown-card__header,
.gt-results-heading {
    display: flex;
    gap: 30px;
    align-items: end;
    justify-content: space-between;
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
}

.gt-breakdown-card h3,
.gt-results-heading h3 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 400;
}

#gt-equation {
    max-width: 50%;
    margin: 0;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 14px;
    text-align: right;
}

.gt-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 30px;
}

.gt-letter {
    display: inline-grid;
    min-width: 52px;
    min-height: 64px;
    place-items: center;
    border: 1px solid var(--line);
    background: var(--paper-bright);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.gt-letter:hover {
    border-color: var(--copper);
    box-shadow: 0 8px 22px rgba(30, 25, 18, .08);
    transform: translateY(-3px);
}

.gt-letter strong {
    font-family: var(--serif);
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}

.gt-letter span {
    color: var(--copper);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

.gt-empty-message {
    margin: 24px 0 0;
    color: var(--muted);
    font-family: var(--serif);
    font-style: italic;
}

.gt-number-search {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 0;
    border: 1px solid var(--line);
    background: #fffdf8;
    box-shadow: 0 35px 85px rgba(29, 25, 18, .08);
}

.gt-number-search__field {
    display: grid;
    grid-template-columns: 1fr auto;
    padding: clamp(28px, 5vw, 60px);
}

.gt-number-search__field label {
    grid-column: 1 / -1;
}

.gt-number-search__field input {
    min-width: 0;
    border: 0;
    border-bottom: 1px solid var(--ink);
    border-radius: 0;
    padding: 0 15px 8px 0;
    outline: 0;
    background: transparent;
    font-family: var(--serif);
    font-size: clamp(64px, 8vw, 105px);
    line-height: 1;
}

.gt-number-search__field input:focus {
    border-color: var(--copper);
}

.gt-number-search__field button {
    align-self: end;
    border: 0;
    padding: 17px 21px;
    background: var(--copper);
    color: var(--ink);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.gt-number-search__field button:hover {
    background: var(--ink);
    color: #fff;
    transform: translateY(-3px);
}

.gt-number-search__cipher {
    border-left: 1px solid var(--line);
    padding: clamp(28px, 5vw, 60px);
    background: #f2ede3;
}

.gt-number-search__cipher > span {
    display: block;
    margin-bottom: 18px;
    color: var(--muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gt-number-search__cipher > div {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.gt-number-search__cipher button.is-active,
.gt-category-filters button.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: #fff;
}

.gt-match-status {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 25px;
    align-items: baseline;
    margin: 48px 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 25px;
}

.gt-match-status span {
    color: var(--copper);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.gt-match-status p {
    margin: 0;
    font-family: var(--serif);
    font-size: 20px;
}

.gt-results-section {
    margin-top: 70px;
}

.gt-results-heading > span {
    color: var(--copper);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gt-results-heading > div p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.gt-result-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    padding-top: 20px;
}

.gt-result {
    position: relative;
    min-width: 0;
    border: 1px solid var(--line);
    padding: 24px;
    overflow: hidden;
    background: #fffdf8;
    cursor: pointer;
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.gt-result::after {
    position: absolute;
    right: -22px;
    bottom: -28px;
    width: 75px;
    height: 75px;
    border: 1px solid rgba(185, 138, 88, .3);
    border-radius: 50%;
    content: "";
}

.gt-result:hover {
    border-color: var(--copper);
    box-shadow: 0 16px 35px rgba(28, 24, 18, .09);
    transform: translateY(-4px);
}

.gt-result span {
    color: var(--copper);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.gt-result strong {
    display: block;
    overflow-wrap: anywhere;
    margin: 15px 0 5px;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.15;
}

.gt-result small {
    color: var(--muted);
    font-size: 10px;
}

.gt-library {
    background: #ddd4c5;
}

.gt-library-tools {
    display: grid;
    grid-template-columns: 1fr minmax(260px, .34fr);
    gap: 18px;
    margin-bottom: 18px;
}

.gt-library-tools label {
    border: 1px solid rgba(20, 24, 23, .25);
    padding: 18px 21px;
    background: rgba(248, 245, 238, .52);
}

.gt-library-tools label > span {
    margin-bottom: 7px;
}

.gt-library-tools input,
.gt-library-tools select {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 19px;
}

.gt-category-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 38px;
}

.gt-category-filters button {
    border-color: rgba(20, 24, 23, .24);
    color: #494941;
}

.gt-library-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background: rgba(20, 24, 23, .16);
}

.gt-library-item {
    position: relative;
    min-width: 0;
    min-height: 150px;
    padding: 24px;
    overflow: hidden;
    background: #eee9df;
    cursor: pointer;
    transition: background .25s ease, color .25s ease;
}

.gt-library-item:hover {
    background: var(--ink);
    color: var(--paper-bright);
}

.gt-library-item > span {
    display: block;
    margin-bottom: 22px;
    color: var(--muted);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gt-library-item:hover > span,
.gt-library-item:hover small {
    color: rgba(248, 245, 238, .55);
}

.gt-library-item strong {
    display: block;
    padding-right: 55px;
    overflow-wrap: anywhere;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 400;
    line-height: 1.15;
}

.gt-library-item em {
    position: absolute;
    right: 18px;
    bottom: 15px;
    color: var(--copper);
    font-family: var(--serif);
    font-size: 42px;
    font-style: normal;
    line-height: 1;
}

.gt-library-item small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
}

.gt-library-footer {
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid rgba(20, 24, 23, .2);
    margin-top: 30px;
    padding-top: 22px;
}

.gt-library-footer p {
    margin: 0;
    color: #5b584f;
    font-size: 12px;
}

.gt-library-footer button {
    border: 1px solid var(--ink);
    padding: 12px 17px;
    background: transparent;
    cursor: pointer;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background .2s ease, color .2s ease;
}

.gt-library-footer button:hover {
    background: var(--ink);
    color: #fff;
}

.gt-method {
    background:
        radial-gradient(circle at 10% 100%, rgba(185, 138, 88, .16), transparent 28%),
        #0a0d0c;
    color: var(--paper-bright);
}

.gt-method__lead {
    max-width: 940px;
}

.gt-method__lead > p:last-child {
    max-width: 790px;
    margin: 36px 0 0;
    color: rgba(248, 245, 238, .66);
    font-family: var(--serif);
    font-size: 21px;
}

.gt-method__steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 75px;
    background: rgba(255, 255, 255, .16);
}

.gt-method__steps article {
    min-height: 285px;
    padding: 35px;
    background: #111513;
    transition: background .25s ease, transform .25s ease;
}

.gt-method__steps article:hover {
    background: #191f1c;
    transform: translateY(-5px);
}

.gt-method__steps span {
    color: var(--copper-light);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .12em;
}

.gt-method__steps h3 {
    margin: 52px 0 18px;
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 400;
}

.gt-method__steps p {
    margin: 0;
    color: rgba(248, 245, 238, .55);
    font-size: 13px;
}

.gt-ciphers {
    background: var(--paper-bright);
}

.gt-ciphers__heading {
    margin-bottom: 65px;
}

.gt-cipher-guide {
    border-top: 1px solid var(--line);
}

.gt-cipher-guide article {
    display: grid;
    grid-template-columns: minmax(230px, .65fr) minmax(240px, .65fr) minmax(300px, 1fr);
    gap: 45px;
    align-items: center;
    border-bottom: 1px solid var(--line);
    padding: 34px 0;
    transition: padding .25s ease, background .25s ease;
}

.gt-cipher-guide article:hover {
    padding-inline: 18px;
    background: rgba(185, 138, 88, .08);
}

.gt-cipher-guide article div span {
    display: block;
    margin-bottom: 7px;
    color: var(--copper);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gt-cipher-guide strong {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
}

.gt-cipher-guide code {
    font-size: 12px;
}

.gt-cipher-guide p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
}

.gt-sources {
    background: var(--copper);
}

.gt-sources .eyebrow {
    color: var(--ink);
}

.gt-sources__heading {
    margin-bottom: 55px;
}

.gt-source-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(11, 13, 13, .25);
}

.gt-source-grid a {
    display: flex;
    flex-direction: column;
    min-height: 330px;
    padding: 30px;
    background: var(--copper);
    transition: background .25s ease, color .25s ease, transform .25s ease;
}

.gt-source-grid a:hover {
    background: var(--ink);
    color: var(--paper-bright);
    transform: translateY(-5px);
}

.gt-source-grid a > span {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.gt-source-grid h3 {
    margin: 40px 0 16px;
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 400;
    line-height: 1.1;
}

.gt-source-grid p {
    margin: 0;
    font-size: 12px;
}

.gt-source-grid i {
    margin-top: auto;
    padding-top: 25px;
    font-size: 10px;
    font-style: normal;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

@media (max-width: 1050px) {
    .gt-cipher-selector {
        grid-template-columns: repeat(3, 1fr);
    }

    .gt-cipher-selector button:nth-child(3) {
        border-right: 0;
    }

    .gt-cipher-selector button:nth-child(-n+3) {
        border-bottom: 1px solid var(--line);
    }

    .gt-library-grid,
    .gt-source-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gt-cipher-guide article {
        grid-template-columns: minmax(200px, .6fr) minmax(210px, .6fr) 1fr;
        gap: 25px;
    }
}

@media (max-width: 820px) {
    .gt-hero {
        min-height: 760px;
    }

    .gt-hero__geometry {
        top: 20%;
        right: -20%;
        width: 85vw;
        opacity: .45;
    }

    .gt-panel__intro,
    .gt-library__heading {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gt-translator,
    .gt-number-search {
        grid-template-columns: 1fr;
    }

    .gt-primary-result {
        min-height: 350px;
    }

    .gt-number-search__cipher {
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .gt-result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gt-library-tools {
        grid-template-columns: 1fr;
    }

    .gt-method__steps {
        grid-template-columns: 1fr;
    }

    .gt-method__steps article {
        min-height: 240px;
    }

    .gt-method__steps h3 {
        margin-top: 34px;
    }

    .gt-cipher-guide article {
        grid-template-columns: 1fr 1fr;
    }

    .gt-cipher-guide article p {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    .gt-hero {
        min-height: 690px;
        padding-bottom: 75px;
    }

    .gt-hero h1 {
        font-size: clamp(58px, 19vw, 83px);
        line-height: .79;
    }

    .gt-hero__heading > p:not(.eyebrow) {
        margin-top: 38px;
        font-size: 17px;
    }

    .gt-workspace {
        padding-block: 75px;
    }

    .gt-mode-switch {
        margin-bottom: 75px;
    }

    .gt-mode-switch button {
        padding: 18px 8px;
        font-size: 16px;
    }

    .gt-mode-switch button span {
        display: none;
    }

    .gt-panel__intro h2,
    .gt-library__heading h2,
    .gt-method h2,
    .gt-ciphers h2,
    .gt-sources h2 {
        font-size: 46px;
    }

    .gt-entry-card {
        padding: 25px 20px 32px;
    }

    .gt-entry-card textarea {
        min-height: 160px;
        font-size: 39px;
    }

    .gt-primary-result {
        min-height: 310px;
        padding: 27px 22px;
    }

    .gt-primary-result > strong {
        font-size: 108px;
    }

    .gt-cipher-selector {
        grid-template-columns: 1fr 1fr;
    }

    .gt-cipher-selector button,
    .gt-cipher-selector button:nth-child(3) {
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .gt-cipher-selector button:nth-child(even),
    .gt-cipher-selector button:last-child {
        border-right: 0;
    }

    .gt-cipher-selector button:last-child {
        grid-column: 1 / -1;
        border-bottom: 0;
    }

    .gt-breakdown-card {
        padding: 25px 20px;
    }

    .gt-breakdown-card__header,
    .gt-results-heading {
        display: block;
    }

    #gt-equation {
        max-width: none;
        margin-top: 12px;
        text-align: left;
    }

    .gt-letter {
        min-width: 44px;
        min-height: 57px;
    }

    .gt-number-search__field {
        grid-template-columns: 1fr;
        padding: 27px 20px;
    }

    .gt-number-search__field input {
        margin-bottom: 18px;
        font-size: 82px;
    }

    .gt-number-search__field button {
        width: 100%;
    }

    .gt-number-search__cipher {
        padding: 27px 20px;
    }

    .gt-match-status {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .gt-result-grid,
    .gt-library-grid,
    .gt-source-grid {
        grid-template-columns: 1fr;
    }

    .gt-library-item {
        min-height: 130px;
    }

    .gt-library-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .gt-method__lead > p:last-child {
        font-size: 18px;
    }

    .gt-method__steps article {
        min-height: 220px;
        padding: 28px;
    }

    .gt-cipher-guide article {
        grid-template-columns: 1fr;
        gap: 13px;
    }

    .gt-cipher-guide article p {
        grid-column: auto;
    }

    .gt-source-grid a {
        min-height: 270px;
    }
}
