:root {
    color-scheme: light;
    --ink: #262525;
    --ink-soft: #555353;
    --teal: #01becb;
    --teal-deep: #018d8d;
    --paper: #faf9f6;
    --paper-deep: #f0eee8;
    --white: #fff;
    --line: rgba(38, 37, 37, .14);
    --forest: #153d35;
    --heading: "Google Sans", "Bricolage Grotesque", "Inter", "Segoe UI", sans-serif;
    --body: "Google Sans", "Inter", "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 96px;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

body:has(.modal[open]) {
    overflow: hidden;
}

button,
input,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--teal-deep);
    outline-offset: 4px;
}

::selection {
    background: var(--teal);
    color: var(--ink);
}

.skip-link,
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    clip-path: inset(50%);
}

.skip-link:focus {
    z-index: 100;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    padding: 10px 16px;
    clip: auto;
    clip-path: none;
    background: var(--white);
}

.site-header {
    position: sticky;
    z-index: 20;
    top: 0;
    background: rgba(250, 249, 246, .92);
    border-bottom: 1px solid rgba(38, 37, 37, .08);
    backdrop-filter: blur(16px);
}

.header-inner {
    width: min(100% - 96px, 1320px);
    min-height: 88px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
}

.brand {
    display: inline-flex;
    width: 204px;
    align-items: center;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
}

.site-navigation {
    display: flex;
    align-items: center;
    gap: clamp(24px, 3.6vw, 54px);
}

.site-navigation a {
    color: var(--ink-soft);
    font-size: 15px;
    font-weight: 1000;
    text-decoration: none;
    transition: color .2s ease;
}

.site-navigation a:hover {
    color: var(--teal-deep);
}

.site-navigation .nav-contact {
    padding: 11px 18px;
    border: 1px solid var(--line);
    border-radius: 2px;
    color: var(--ink);
}

.nav-contact span {
    margin-right: 10px;
    color: var(--teal);
}

.menu-toggle {
    display: none;
}

.hero-section {
    position: relative;
    min-height: min(740px, calc(100vh - 88px));
    padding: 0px max(48px, calc((100% - 1320px) / 2)) 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 83% 49%, rgba(1, 190, 203, .08), transparent 38%),
        var(--paper);
}

.hero-grid {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr .86fr;
    align-items: center;
    gap: 7%;
}

.hero-copy {
    position: relative;
    z-index: 1;
    padding-bottom: 18px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--teal-deep);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.5;
}

.eyebrow-dot {
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--teal);
    box-shadow: 0 0 0 4px rgba(1, 190, 203, .13);
}

.hero-copy h1,
.section-heading h2,
.contact-copy h2,
.page-hero h1,
.legal-page h1 {
    margin: 22px 0 0;
    font-family: var(--heading);
    font-size: clamp(58px, 7.35vw, 100px);
    font-weight: 700;
    letter-spacing: -.075em;
    line-height: .98;
}

.heading-accent {
    color: var(--teal-deep);
}

.hero-intro {
    max-width: 440px;
    margin: 28px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.9;
}

.hero-actions {
    margin-top: 32px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.button {
    min-height: 51px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 2px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-dark {
    background: var(--ink);
    color: var(--white);
}

.button-dark:hover {
    background: var(--teal);
    color: var(--ink);
}

.button-primary {
    background: var(--teal-deep);
    color: var(--white);
}

.button-quiet {
    border-color: var(--line);
    background: rgba(255, 255, 255, .65);
    color: var(--ink);
}

.button-quiet:hover {
    border-color: var(--teal-deep);
    background: rgba(1, 190, 203, .1);
}

.button-primary:hover {
    background: #007777;
}

.button-light {
    background: var(--paper);
    color: var(--ink);
}

.button-light:hover {
    background: var(--teal);
}

.button-full {
    width: 100%;
}

.button span {
    color: var(--teal);
    font-size: 16px;
}

.button-light span,
.button-primary span {
    color: inherit;
}

.free-badge {
    padding: 4px 7px;
    background: rgba(1, 190, 203, .13);
    color: var(--teal-deep);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .1em;
}

.hero-signature {
    margin-top: 60px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: #74716e;
    font-size: 10px;
    letter-spacing: .035em;
}

.hero-signature span:not(.signature-line) {
    color: var(--teal-deep);
}

.signature-line {
    width: 34px;
    height: 1px;
    margin-right: 6px;
    background: var(--teal);
}

.hero-art {
    position: relative;
    min-height: 490px;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-art::before,
.hero-art::after {
    position: absolute;
    z-index: -1;
    border: 1px solid rgba(1, 141, 141, .16);
    border-radius: 50%;
    content: "";
}

.hero-art::before {
    width: min(34vw, 430px);
    aspect-ratio: 1;
}

.hero-art::after {
    width: min(28vw, 355px);
    aspect-ratio: 1;
}

.book-scene {
    position: relative;
    transform: rotate(4deg);
    perspective: 1100px;
    filter: drop-shadow(0 24px 24px rgba(38, 37, 37, .2));
}

.book-cover {
    position: relative;
    display: block;
    overflow: hidden;
    isolation: isolate;
    aspect-ratio: .68;
    background: #1c4a3b;
    color: white;
}

.book-cover-featured {
    width: clamp(235px, 24vw, 310px);
    transform: rotateY(-9deg);
    box-shadow: inset -10px 0 rgba(0, 0, 0, .2), inset 2px 0 rgba(255, 255, 255, .21);
}

.cover-photo,
.card-cover-photo,
.free-guide-photo {
    position: absolute;
    inset: 0;
    background: url("../images/books/cover_10commonproblemsinagarwoodproduction.jpg") center 44% / cover;
}

/*
.cover-photo {
    opacity: .67;
}
*/

.cover-overlay {
    position: absolute;
    z-index: -0;
    inset: 0;
    background: linear-gradient(180deg, rgba(14, 48, 39, .61), rgba(9, 39, 31, .44) 33%, rgba(5, 23, 18, .91));
}

.cover-content {
    position: absolute;
    inset: 0;
    padding: 22px 21px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #fff;
}

.cover-kicker {
    font-size: 7px;
    font-weight: 600;
    letter-spacing: .16em;
}

.cover-mark {
    width: 31px;
    height: 31px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, .7);
    display: grid;
    place-content: center;
    font-family: var(--heading);
    font-size: 14px;
    font-weight: 700;
}

.cover-mark span {
    color: var(--teal);
    margin-left: -4px;
}

.cover-title {
    margin-top: auto;
    font-family: var(--heading);
    font-size: clamp(24px, 2.7vw, 36px);
    font-weight: 500;
    letter-spacing: -.065em;
    line-height: 1.01;
}

.cover-title strong {
    color: #9ce8d2;
    font-weight: 700;
}

.cover-rule {
    width: 31px;
    height: 2px;
    margin-top: 15px;
    background: var(--teal);
}

.cover-subtitle {
    margin-top: 10px;
    font-size: 6px;
    letter-spacing: .1em;
    line-height: 1.6;
}

.cover-author {
    margin-top: 19px;
    font-size: 6px;
    font-weight: 500;
    letter-spacing: .12em;
}

.book-shadow {
    position: absolute;
    z-index: -1;
    right: -18px;
    bottom: -7px;
    width: 100%;
    height: 7px;
    transform: skewY(4deg);
    background: #c8c6bc;
}

.art-sparkle {
    position: absolute;
    color: var(--teal-deep);
}

.sparkle-one {
    top: 62px;
    right: 22%;
    font-size: 22px;
}

.sparkle-two {
    bottom: 61px;
    left: 15%;
    font-size: 15px;
}

.art-note {
    position: absolute;
    right: -1%;
    bottom: 64px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid rgba(38, 37, 37, .08);
    background: var(--paper);
    box-shadow: 0 10px 30px rgba(38, 37, 37, .07);
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.6;
}

.art-note strong {
    color: var(--ink);
    font-weight: 600;
}

.art-note-icon {
    color: var(--teal-deep);
    font-size: 20px;;
}

.hero-footnote {
    position: absolute;
    right: max(48px, calc((100% - 1320px) / 2));
    bottom: 31px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #817e79;
    font-size: 8px;
    letter-spacing: .1em;
}

.footnote-line {
    width: 35px;
    height: 1px;
    background: var(--teal);
}

.intro-strip {
    padding: 36px 48px;
    background: var(--paper-deep);
}

.intro-strip-inner {
    max-width: 990px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: .7fr 1fr;
    align-items: center;
    gap: 55px;
}

.intro-strip p:first-child {
    margin: 0;
    font-family: var(--heading);
    font-size: 20px;;
    font-weight: 600;
    letter-spacing: -.04em;
}

.intro-strip p:last-child {
    margin: 0;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.9;
}

.section {
    padding: 114px max(48px, calc((100% - 1200px) / 2));
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.eyebrow-number {
    margin-left: 7px;
    color: #aaa69f;
}

.section-heading h2,
.contact-copy h2 {
    margin-top: 18px;
    font-size: clamp(46px, 5.3vw, 70px);
    line-height: 1.02;
}

.section-aside {
    max-width: 330px;
    padding-bottom: 5px;
}

.section-aside p {
    margin: 0 0 15px;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.9;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--teal-deep);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.text-link:hover {
    color: var(--ink);
}

.library-track {
    position: relative;
    margin-top: 55px;
    padding: 12px 2px 15px;
    display: flex;
    align-items: center;
    gap: clamp(22px, 5vw, 66px);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--teal) transparent;
}

.ebook-card {
    width: clamp(200px, 22vw, 250px);
    flex: 0 0 auto;
    scroll-snap-align: center;
}

.library-track-single {
    justify-content: center;
}

.ebook-cover-button {
    width: 100%;
    padding: 0;
    border: 0;
    display: block;
    background: none;
    text-align: left;
    cursor: pointer;
}

.card-book-cover {
    width: 100%;
    box-shadow: 7px 7px 0 #e6e3da, 8px 8px 0 #d3d0c7;
    transition: transform .25s ease, box-shadow .25s ease;
}

.ebook-cover-button:hover .card-book-cover,
.ebook-cover-button:focus-visible .card-book-cover {
    transform: translateY(-5px) rotate(-1deg);
    box-shadow: 10px 12px 0 #e6e3da, 11px 13px 0 #d3d0c7;
}

/*
.card-cover-photo {
    opacity: .66;
}
*/

.card-cover-overlay {
    position: absolute;
    z-index: 0;
    inset: 0;
    background: linear-gradient(180deg, rgba(9, 39, 31, .61), rgba(5, 23, 18, .86));
}

.card-cover-content {
    position: absolute;
    z-index: 1;
    inset: 0;
    padding: 13px 13px 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: var(--white);
}

.card-cover-content .cover-kicker {
    font-size: 5px;
}

.card-cover-content .cover-mark {
    width: 22px;
    height: 22px;
    margin-top: 10px;
    font-size: 10px;
}

.card-cover-title {
    margin-top: auto;
    font-family: var(--heading);
    font-size: clamp(21px, 2.5vw, 29px);
    letter-spacing: -.055em;
    line-height: 1.04;
}

.card-cover-title strong {
    color: #9ce8d2;
}

.card-cover-content .cover-rule {
    width: 23px;
    height: 1px;
    margin-top: 10px;
}

.card-cover-subtitle {
    max-width: 150px;
    margin-top: 8px;
    font-size: 5px;
    letter-spacing: .08em;
    line-height: 1.5;
}

.cover-open-hint {
    position: absolute;
    z-index: 2;
    right: 0;
    bottom: 0;
    left: 0;
    padding: 9px 12px;
    transform: translateY(100%);
    background: rgba(1, 141, 141, .96);
    color: var(--white);
    font-size: 9px;
    transition: transform .25s ease;
}

.ebook-cover-button:hover .cover-open-hint,
.ebook-cover-button:focus-visible .cover-open-hint {
    transform: translateY(0);
}

.ebook-card-details {
    padding-top: 21px;
}

.ebook-card-details > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.book-category,
.book-release {
    color: var(--teal-deep);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.book-release {
    color: #77736d;
    font-size: 8px;
    font-weight: 500;
}

.ebook-card-details h3 {
    min-height: 45px;
    margin: 8px 0 0;
    font-family: var(--heading);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.35;
}

.book-card-bottom {
    margin-top: 12px;
    padding-top: 11px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
}

.icon-button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--teal-deep);
    cursor: pointer;
    transition: background .2s ease, color .2s ease;
}

.icon-button:hover {
    background: var(--teal-deep);
    color: var(--white);
}

.library-note {
    min-width: 195px;
    min-height: 245px;
    padding: 25px;
    border: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    scroll-snap-align: center;
}

.library-note-star {
    margin-bottom: auto;
    color: var(--teal-deep);
    font-size: 26px;
}

.library-note p {
    margin: 0 0 15px;
    font-family: var(--heading);
    font-size: 20px;;
    font-weight: 600;
    letter-spacing: -.04em;
    line-height: 1.2;
}

.library-bottom {
    margin-top: 21px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #837f78;
    font-size: 8px;
    letter-spacing: .09em;
}

.library-bottom .text-link {
    font-size: 10px;
    letter-spacing: 0;
}

.free-guide-section {
    padding: 0 max(48px, calc((100% - 1200px) / 2));
    background: var(--forest);
    color: var(--white);
}

.free-guide-inner {
    position: relative;
    min-height: 440px;
    display: grid;
    grid-template-columns: .84fr 1.16fr;
    align-items: stretch;
    overflow: hidden;
}

.free-guide-photo {
    position: relative;
    inset: auto;
    min-height: 440px;
    background-position: 48% center;
}

.free-guide-photo::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 60%, var(--forest));
    content: "";
}

.free-guide-copy {
    position: relative;
    z-index: 1;
    align-self: center;
    padding: 65px 40px 65px 50px;
}

.eyebrow-light {
    color: #75dfd1;
}

.free-guide-copy h2 {
    margin: 19px 0 0;
    font-family: var(--heading);
    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 600;
    letter-spacing: -.06em;
    line-height: 1.04;
}

.free-guide-copy h2 span {
    color: #83ded2;
}

.free-guide-copy > p {
    max-width: 465px;
    margin: 19px 0 0;
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
    line-height: 1.9;
}

.guide-details {
    margin: 21px 0 23px;
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    color: #b5e4da;
    font-size: 9px;
}

.guide-index {
    position: absolute;
    right: -5px;
    bottom: -20px;
    color: rgba(255, 255, 255, .07);
    font-family: var(--heading);
    font-size: 98px;
    font-weight: 800;
    letter-spacing: -.1em;
    line-height: .76;
    text-align: right;
}

.faq-section {
    background: rgba(1, 190, 203, .09);
    display: grid;
    grid-template-columns: .78fr 1.22fr;
    align-items: start;
    gap: 10%;
}

.faq-heading {
    display: block;
}

.faq-heading h2 {
    font-size: clamp(41px, 4.7vw, 59px);
}

.faq-intro {
    margin: 24px 0 0;
    color: var(--ink-soft);
    font-size: 11px;
}

.faq-intro .text-link {
    margin-top: 7px;
}

.faq-list {
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item summary {
    min-height: 65px;
    display: grid;
    grid-template-columns: 31px 1fr 25px;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    list-style: none;
    font-size: 12px;
    font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-number {
    color: var(--teal-deep);
    font-size: 9px;
    letter-spacing: .05em;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--teal-deep);
    font-size: 16px;
    font-weight: 400;
    transition: transform .2s ease, background .2s ease;
}

.faq-item[open] .faq-toggle {
    transform: rotate(45deg);
    background: rgba(1, 190, 203, .12);
}

.faq-item > p {
    max-width: 520px;
    margin: -1px 36px 20px 41px;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.85;
}

.contact-section {
    padding: 95px max(48px, calc((100% - 1200px) / 2));
    background: #f0eee8;
}

.contact-inner {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    gap: 12%;
}

.contact-copy h2 {
    margin-top: 18px;
    font-size: clamp(47px, 5.3vw, 68px);
}

.contact-copy > p {
    max-width: 380px;
    margin: 21px 0 0;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.9;
}

.social-area {
    margin-top: 45px;
}

.social-label {
    color: #77736d;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: .13em;
}

.social-links {
    margin-top: 13px;
    display: flex;
    gap: 9px;
}

.social-links a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(38, 37, 37, .19);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--ink);
    transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.social-links a:hover {
    border-color: var(--teal-deep);
    background: var(--teal-deep);
    color: var(--white);
}

.social-links svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.contact-form-wrap {
    padding-top: 8px;
}

.contact-form-head {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(38, 37, 37, .2);
    display: flex;
    justify-content: space-between;
    color: #77736d;
    font-size: 8px;
    letter-spacing: .13em;
}

.contact-form {
    padding-top: 19px;
    display: grid;
    gap: 17px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.contact-form label,
.stacked-form label {
    display: grid;
    gap: 7px;
    color: var(--ink-soft);
    font-size: 10px;
    font-weight: 500;
}

.contact-form input,
.contact-form textarea,
.stacked-form input {
    width: 100%;
    min-height: 42px;
    padding: 9px 0;
    border: 0;
    border-bottom: 1px solid rgba(38, 37, 37, .22);
    border-radius: 0;
    background: transparent;
    color: var(--ink);
    font-size: 12px;
}

.contact-form textarea {
    min-height: 88px;
    resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.stacked-form input::placeholder {
    color: #aaa69f;
}

.contact-form .button {
    justify-self: start;
    margin-top: 7px;
}

.form-success,
.form-alert {
    padding: 10px 12px;
    background: rgba(1, 141, 141, .1);
    color: #006d6b;
    font-size: 11px;
}

.form-alert {
    background: rgba(160, 40, 40, .09);
    color: #8d2626;
}

.stacked-form[hidden],
.download-confirmation[hidden] {
    display: none;
}

.download-confirmation h2 {
    margin-top: 0;
}

.download-confirmation p {
    margin: 10px 0 0;
    line-height: 1.7;
}

.site-footer {
    padding: 39px 48px 31px;
    background: var(--ink);
    color: rgba(255, 255, 255, .67);
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    row-gap: 19px;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
    font-family: var(--heading);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.025em;
    text-decoration: none;
}

.footer-brand img {
    height: 75px;
    object-fit: contain;
    border-radius: 2px;
}

.footer-brand > span > span,
.footer-tagline > span {
    color: var(--teal);
}

.footer-tagline {
    justify-self: end;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    font-size: 12px;
    text-decoration: none;
}

.footer-links a:hover {
    color: var(--teal);
}

.footer-copyright {
    justify-self: end;
    margin: 0;
    color: rgba(255, 255, 255, .47);
    font-size: 12px;
}

.modal {
    width: min(100% - 32px, 500px);
    max-height: min(90vh, 760px);
    padding: 0;
    border: 1px solid rgba(38, 37, 37, .1);
    background: var(--paper);
    color: var(--ink);
    overflow: auto;
}

.modal::backdrop {
    background: rgba(20, 27, 25, .64);
    backdrop-filter: blur(5px);
}

.modal-panel {
    position: relative;
    padding: 44px;
}

.modal-close {
    position: absolute;
    top: 13px;
    right: 13px;
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: transparent;
    color: var(--ink);
    font-size: 23px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}

.modal-panel h2 {
    max-width: 390px;
    margin: 13px 0 0;
    font-family: var(--heading);
    font-size: clamp(30px, 6vw, 42px);
    font-weight: 600;
    letter-spacing: -.055em;
    line-height: 1.08;
}

.book-modal-meta {
    margin-top: 17px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.book-modal-meta span {
    padding: 5px 9px;
    background: rgba(1, 190, 203, .12);
    color: var(--teal-deep);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.book-modal-panel > p {
    margin: 20px 0;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.85;
}

.store-note {
    margin: 18px 0 21px;
    padding: 15px;
    border-left: 2px solid var(--teal);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--paper-deep);
}

.store-note-icon {
    color: var(--teal-deep);
}

.store-note p {
    margin: 0;
    color: var(--ink-soft);
    font-size: 10px;
    line-height: 1.8;
}

.store-note strong {
    color: var(--ink);
}

.modal-icon {
    width: 38px;
    height: 38px;
    margin-bottom: 17px;
    border: 1px solid rgba(1, 141, 141, .3);
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--teal-deep);
    font-size: 18px;
}

.modal-intro {
    margin: 14px 0 20px;
    color: var(--ink-soft);
    font-size: 11px;
    line-height: 1.8;
}

.stacked-form {
    display: grid;
    gap: 16px;
}

.form-trap {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
}

.privacy-note {
    margin: 0;
    color: #77736d;
    font-size: 9px;
    line-height: 1.8;
}

.privacy-note a {
    color: var(--teal-deep);
    font-weight: 600;
}

.page-hero {
    position: relative;
    padding: 88px max(48px, calc((100% - 1200px) / 2)) 76px;
    overflow: hidden;
    background: var(--paper-deep);
}

.back-link {
    display: block;
    width: fit-content;
    margin-bottom: 55px;
    color: var(--ink-soft);
    font-size: 10px;
    text-decoration: none;
}

.back-link:hover {
    color: var(--teal-deep);
}

.page-hero h1,
.legal-page h1 {
    margin-top: 17px;
    font-size: clamp(58px, 8vw, 96px);
}

.page-hero > p {
    max-width: 430px;
    margin: 21px 0 0;
    color: var(--ink-soft);
    font-size: 15px;
    line-height: 1.9;
}

.page-count {
    position: absolute;
    right: max(48px, calc((100% - 1200px) / 2));
    bottom: 34px;
    color: #77736d;
    font-size: 9px;
    letter-spacing: .13em;
}

.all-books-section {
    padding-top: 72px;
    padding-bottom: 86px;
}

.all-books-heading {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
}

.all-books-heading h2 {
    margin: 0;
    font-family: var(--heading);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -.04em;
}

.all-books-heading > span {
    color: #77736d;
    font-size: 8px;
    letter-spacing: .1em;
}

.all-books-grid {
    padding-top: 31px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 240px));
    align-items: start;
    gap: 34px;
}

.all-book-card .ebook-card-details {
    padding-top: 19px;
}

.all-book-description {
    margin: 7px 0 0;
    color: var(--ink-soft);
    font-size: 10px;
    line-height: 1.75;
}

.all-book-card .book-card-bottom {
    margin-top: 15px;
}

.library-cta {
    padding: 61px 24px;
    background: rgba(1, 190, 203, .09);
    text-align: center;
}

.library-cta h2 {
    margin: 12px 0 0;
    font-family: var(--heading);
    font-size: 34px;
    letter-spacing: -.05em;
}

.library-cta > p {
    margin: 9px 0 20px;
    color: var(--ink-soft);
    font-size: 11px;
}

.legal-page {
    max-width: 810px;
    margin: 0 auto;
    padding: 60px 32px 108px;
}

.legal-page .back-link {
    margin-bottom: 49px;
}

.legal-page h1 {
    margin-bottom: 0;
}

.legal-updated {
    margin: 18px 0 38px !important;
    color: #77736d !important;
    font-size: 10px !important;
}

.legal-page > p,
.legal-page > h2 {
    max-width: 700px;
}

.legal-page > p {
    margin: 14px 0;
    color: var(--ink-soft);
    font-size: 12px;
    line-height: 1.95;
}

.legal-page > h2 {
    margin: 33px 0 8px;
    font-family: var(--heading);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -.035em;
}

.legal-page > p a {
    color: var(--teal-deep);
    font-weight: 600;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

@media (min-width: 1500px) {
    .hero-section {
        min-height: 740px;
    }
}

@media (max-width: 900px) {
    .header-inner {
        width: calc(100% - 64px);
    }

    .hero-section {
        min-height: unset;
        padding: 73px 40px 68px;
    }

    .hero-grid {
        grid-template-columns: 1fr .82fr;
        gap: 2%;
    }

    .hero-copy h1 {
        font-size: clamp(54px, 8vw, 74px);
    }

    .hero-art {
        min-height: 420px;
    }

    .book-cover-featured {
        width: clamp(200px, 27vw, 260px);
    }

    .art-note {
        right: -7%;
        bottom: 48px;
    }

    .hero-footnote {
        right: 40px;
    }

    .section,
    .free-guide-section {
        padding-right: 40px;
        padding-left: 40px;
    }

    .faq-section {
        grid-template-columns: .68fr 1.32fr;
        gap: 6%;
    }

    .contact-section {
        padding-right: 40px;
        padding-left: 40px;
    }

    .contact-inner {
        gap: 7%;
    }

    .free-guide-copy {
        padding-left: 20px;
    }
}

@media (max-width: 680px) {
    html {
        scroll-padding-top: 76px;
    }

    .header-inner {
        width: calc(100% - 40px);
        min-height: 72px;
    }

    .brand {
        width: 168px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
        padding: 12px 9px;
        border: 1px solid var(--line);
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        background: transparent;
    }

    .menu-toggle > span:not(.visually-hidden) {
        width: 100%;
        height: 1px;
        background: var(--ink);
    }

    .site-navigation {
        position: absolute;
        top: 71px;
        right: 0;
        left: 0;
        padding: 17px 24px 21px;
        border-bottom: 1px solid var(--line);
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--paper);
    }

    .site-navigation.is-open {
        display: flex;
    }

    .site-navigation a {
        padding: 12px 0;
    }

    .site-navigation .nav-contact {
        margin-top: 6px;
        padding: 11px 13px;
        text-align: center;
    }

    .hero-section {
        padding: 35px 23px 50px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-copy h1 {
        margin-top: 18px;
        font-size: clamp(56px, 14vw, 82px);
    }

    .hero-intro {
        max-width: 405px;
        margin-top: 20px;
        font-size: 15px;
    }

    .hero-actions {
        margin-top: 25px;
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
    }

    .hero-signature {
        margin-top: 28px;
    }

    .hero-art {
        min-height: 350px;
        margin-top: 0;
    }

    .hero-art::before {
        width: 300px;
    }

    .hero-art::after {
        width: 248px;
    }

    .book-cover-featured {
        width: 204px;
    }

    .cover-content {
        padding: 18px;
    }

    .cover-title {
        font-size: 26px;
    }

    .art-note {
        right: 2%;
        bottom: 26px;
    }

    .sparkle-one {
        top: 24px;
        right: 12%;
    }

    .sparkle-two {
        bottom: 28px;
        left: 14%;
    }

    .hero-footnote {
        right: 23px;
        bottom: 21px;
    }

    .intro-strip {
        padding: 27px 24px;
    }

    .intro-strip-inner {
        grid-template-columns: 1fr;
        gap: 9px;
    }

    .intro-strip p:first-child {
        font-size: 18px;
    }

    .section {
        padding: 77px 23px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
    }

    .section-heading h2 {
        font-size: clamp(45px, 12vw, 63px);
    }

    .section-aside {
        max-width: 400px;
    }

    .library-track {
        margin-top: 27px;
        margin-right: -23px;
        padding-right: 23px;
        gap: 23px;
    }

    .library-track-single {
        justify-content: flex-start;
    }

    .ebook-card {
        width: min(69vw, 240px);
    }

    .card-cover-title {
        font-size: 27px;
    }

    .library-note {
        min-width: 175px;
        min-height: 205px;
        padding: 18px;
    }

    .library-bottom {
        flex-wrap: wrap;
        gap: 11px;
    }

    .library-bottom > span:nth-child(2) {
        display: none;
    }

    .free-guide-section {
        padding: 0 23px;
    }

    .free-guide-inner {
        grid-template-columns: 1fr;
    }

    .free-guide-photo {
        min-height: 230px;
        background-position: center 38%;
    }

    .free-guide-photo::after {
        background: linear-gradient(180deg, transparent, var(--forest));
    }

    .free-guide-copy {
        padding: 0 2px 52px;
        margin-top: -8px;
    }

    .free-guide-copy h2 {
        font-size: clamp(39px, 10vw, 52px);
    }

    .guide-index {
        right: -2px;
        bottom: -12px;
        font-size: 77px;
    }

    .faq-section {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .faq-heading h2 {
        font-size: clamp(43px, 11vw, 56px);
    }

    .faq-item summary {
        min-height: 60px;
        grid-template-columns: 25px 1fr 24px;
        gap: 8px;
        font-size: 11px;
    }

    .faq-item > p {
        margin-left: 33px;
    }

    .contact-section {
        padding: 72px 23px;
    }

    .contact-inner {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-copy h2 {
        font-size: clamp(49px, 12vw, 63px);
    }

    .social-area {
        margin-top: 26px;
    }

    .contact-form-wrap {
        padding-top: 0;
    }

    .site-footer {
        padding: 30px 23px 25px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .footer-tagline,
    .footer-copyright {
        justify-self: start;
    }

    .footer-tagline {
        margin: 0;
    }

    .footer-links {
        margin-top: 5px;
    }

    .footer-copyright {
        margin-top: 4px;
    }

    .modal-panel {
        padding: 37px 23px 25px;
    }

    .modal-close {
        top: 9px;
        right: 9px;
    }

    .page-hero {
        padding: 47px 23px 62px;
    }

    .page-hero .back-link {
        margin-bottom: 39px;
    }

    .page-hero h1 {
        font-size: clamp(60px, 14vw, 81px);
    }

    .page-hero > p {
        max-width: 350px;
        font-size: 12px;
    }

    .page-count {
        right: 23px;
        bottom: 20px;
        font-size: 7px;
    }

    .all-books-section {
        padding-top: 53px;
        padding-bottom: 66px;
    }

    .all-books-heading h2 {
        font-size: 18px;
    }

    .all-books-heading > span {
        font-size: 7px;
        text-align: right;
    }

    .all-books-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 27px 17px;
    }

    .all-book-card .book-category {
        font-size: 8px;
    }

    .all-book-card .book-release {
        display: none;
    }

    .all-book-card .ebook-card-details h3 {
        min-height: 62px;
        font-size: 14px;
    }

    .legal-page {
        padding: 40px 23px 78px;
    }

    .legal-page .back-link {
        margin-bottom: 40px;
    }

    .legal-page h1 {
        font-size: clamp(59px, 15vw, 79px);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
