/* Triple Twist booking portal - visual style mirrors www.tripletwist.com */

html { color: #222; font-size: 1em; background: #fff; }
body { margin: 0; padding: 0; }

/* Typography baseline (mirrors marketing site) */
h1, h2, p, ul, li {
    line-height: 165%;
    color: #56483f;
}
h1 {
    font-family: "origins", 'Times New Roman', serif;
    width: 100%;
    font-weight: 700;
    padding: 0 0 .25em;
    margin: 0;
    line-height: 100%;
    font-size: 3.4em;
    text-align: center;
}
h2 {
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: .5em;
    font-size: 1.2em;
    color: #423730;
}
p, figcaption, ul, li {
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 400;
    padding-top: 0;
    margin-top: 0;
    font-size: 1em;
}
a {
    color: #8c1614;
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Page container - matches narrow centered marketing layout */
section {
    margin: 0 auto;
    width: 90%;
    text-align: left;
    max-width: 475px;
    display: block;
    padding: 0;
    clear: both;
}
footer section {
    max-width: 600px;
}

/* Inline typography spacing inside sections (mirrors marketing styles.min.css) */
section h1 { margin: .5em 0 .2em; }
section h2 { margin: 0; padding: 0; }
section p  { margin: .1em 0 1.2em; }

.page {
    padding-top: 80px;
}
@media (max-width: 650px) {
    .page { padding-top: 76px; }
    section h1 { font-size: 2.4em; line-height: 1.05; }
}

/* ── Site nav v2 (lifted from marketing) ────────────────── */

.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 9999;
    height: 72px;
    background: #f2e7d6;
    border-bottom: 1px solid #ddd4c4;
    box-sizing: border-box;
}
.site-header .site-nav {
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 924px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}
.site-header .site-nav__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-right: auto;
    text-decoration: none;
    gap: 10px;
}
.site-header .site-nav__logo img {
    display: block;
    height: 32px;
    width: auto;
    max-width: none;
    flex-shrink: 0;
}
.site-header .site-nav__brand {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1;
}
.site-header .site-nav__brand-name {
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 17px;
    font-weight: 500;
    color: #3c2415;
    letter-spacing: 0.01em;
    line-height: 1.15;
    white-space: nowrap;
}
.site-header .site-nav__brand-sub {
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    color: #7a614f;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    white-space: nowrap;
    margin-top: 4px;
    line-height: 1;
}
.site-header .site-nav__list {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    line-height: 1;
}
.site-header .site-nav__list li { display: block; margin: 0; padding: 0; }
.site-header .site-nav__list a {
    display: block;
    padding: 0 clamp(5px, calc(5.5vw - 27px), 22px);
    height: 72px;
    line-height: 72px;
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: 0.01em;
    color: #3c2415;
    text-decoration: none;
    white-space: nowrap;
    transition: opacity 0.07s;
}
.site-header .site-nav__list a:visited { color: #3c2415; }
.site-header .site-nav__list a:hover { color: #3c2415; opacity: 0.38; }

.site-header .site-nav__toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px; height: 44px;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}
.site-header .site-nav__toggle span {
    display: block;
    width: 20px; height: 1.5px;
    background: #3c2415;
    border-radius: 1px;
    transition: transform 0.22s ease, opacity 0.15s ease;
}
.site-header .site-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.site-header .site-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.site-header .site-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (min-width: 651px) and (max-width: 792px) {
    .site-header .site-nav__brand-design { display: none; }
    .site-header .site-nav__list a { font-size: 15px; }
}
@media (max-width: 650px) {
    .site-header { height: 60px; }
    .page { padding-top: 64px; }
    .site-header .site-nav { position: relative; padding: 0; max-width: none; }
    .site-header .site-nav__logo {
        position: absolute;
        left: 8px; right: 48px;
        justify-content: center;
        margin-right: 0;
        gap: 7px;
    }
    .site-header .site-nav__logo img { height: 23px; }
    .site-header .site-nav__brand { flex-direction: row; align-items: center; margin-left: 5px; }
    .site-header .site-nav__brand-name { font-size: 17px; font-weight: 400; letter-spacing: 0; line-height: 1; }
    .site-header .site-nav__brand-sub {
        font-size: 17px; font-weight: 400; color: #3c2415;
        letter-spacing: 0; text-transform: none; margin-top: 0;
    }
    .site-header .site-nav__brand-sub::before { content: "\00a0"; }
    .site-header .site-nav__toggle {
        display: flex;
        position: absolute;
        right: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
    .site-header .site-nav__list {
        display: none;
        position: fixed;
        top: 60px; left: 0; right: 0; bottom: 0;
        flex-direction: column;
        align-items: stretch;
        background: #f2e7d6;
        padding: 0; margin: 0;
        overflow-y: auto;
        z-index: 9998;
    }
    .site-header .site-nav__list.is-open { display: flex; animation: siteNavOpen 0.28s ease both; }
    .site-header .site-nav__list.is-closing { display: flex; animation: siteNavClose 0.28s ease both; pointer-events: none; }
    @keyframes siteNavOpen { from { opacity: 0; } to { opacity: 1; } }
    @keyframes siteNavClose { from { opacity: 1; } to { opacity: 0; } }
    .site-header .site-nav__list li { border-bottom: 1px solid #ddd4c4; }
    .site-header .site-nav__list li:last-child { border-bottom: none; }
    .site-header .site-nav__list a {
        height: 52px; line-height: 52px;
        font-size: 16px; padding: 0 24px;
        width: 100%; box-sizing: border-box;
        opacity: 1; white-space: normal;
        transition: none;
    }
    .site-header .site-nav__list a:hover { opacity: 1; background: rgba(0,0,0,0.04); }
}

/* ── Footer ─────────────────────────────────────────────── */

footer {
    background: #f2e7d6;
    border-top: 1px solid #ddd4c4;
    margin-top: 3em;
    padding: 2.5em 0 2em;
}
footer ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5em;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em 1.25em;
    justify-content: center;
}
footer ul li { display: inline; }
footer ul img { height: 22px; vertical-align: middle; }
footer ul a {
    color: #3c2415;
    text-decoration: none;
    font-size: 0.95em;
}
footer ul a:hover { opacity: 0.6; }
footer ul.address {
    flex-direction: column;
    align-items: center;
    gap: 0.15em;
    margin-top: 1.5em;
    color: #7a614f;
    font-size: 0.9em;
}
footer ul.address .name { font-weight: 600; color: #3c2415; }
footer ul.address .copy { color: #aaa; font-size: 0.85em; margin-top: 0.5em; }

/* ── Product detail / pricing card (mirrors makeup-lessons page) ── */

.tt-lesson-card-wrap {
    width: 90%;
    max-width: 475px;
    margin: 0 auto;
    padding-bottom: 2.5em;
}
.tt-pricing-card {
    border: 1.5px solid #ddd;
    border-radius: 8px;
    padding: 1.75em 1.65em 1.55em;
    background: #fff;
    transition: border-color 0.12s, background 0.12s;
}
.tt-card-label {
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.74em;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #73482e;
    margin: 0 0 1.05em;
    line-height: 1.4;
}
.tt-card-price {
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 1.5em;
    font-weight: 300;
    color: #423730;
    margin: 0 0 0.35em;
    line-height: 1.1;
}
.tt-card-duration {
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.85em;
    color: #999;
    margin: 0 0 1.2em;
    line-height: 1.4;
}
.tt-card-details {
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.88em;
    color: #56483f;
    line-height: 1.72;
    margin: 0; padding: 0;
    list-style: none;
    border-top: 1px solid #ece8e3;
    padding-top: 1.1em;
}
.tt-card-details li { padding-left: 1.1em; position: relative; }
.tt-card-details li::before { content: "\2013"; position: absolute; left: 0; color: #bbb; }

.tt-card-btn-wrap { text-align: center; margin: 1.5em 0 0; padding: 0; }

/* Small caption beneath the disabled CTA, while online checkout is not yet live */
.tt-card-note {
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.82em;
    color: #999;
    text-align: center;
    line-height: 1.55;
    margin: 0.85em auto 0;
    max-width: 38ch;
}
.tt-card-note a { color: #8c1614; }

.tt-cta-btn {
    display: inline-block;
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.88em;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: #73482e;
    border: 1.5px solid #73482e;
    padding: 0.8em 2.25em;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    background: none;
    cursor: pointer;
}
.tt-cta-btn:hover { background: #73482e; color: #f2e7d6; text-decoration: none; }
.tt-cta-btn[disabled],
.tt-cta-btn.is-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.tt-cta-btn[disabled]:hover,
.tt-cta-btn.is-disabled:hover { background: none; color: #73482e; }

.tt-pricing-cta {
    width: 90%;
    max-width: 475px;
    margin: 0.25em auto 0;
    padding-bottom: 2.75em;
    text-align: center;
}
.tt-pricing-cta p.tt-cta-secondary {
    font-family: 'Avenir Next', 'HelveticaNeue-Light', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 0.86em;
    color: #999;
    margin: 1.25em 0 0;
    line-height: 1.55;
}
.tt-pricing-cta p.tt-cta-secondary a { color: #8c1614; }

.tt-lower {
    border-top: 1px solid #ece8e3;
    padding-top: 2em;
    margin-top: 0;
}
.tt-lower + .tt-lower { margin-top: 1.75em; }
.tt-lower ul { padding-left: 1.25em; margin: 0.5em 0 0; }
.tt-lower ul li {
    line-height: 1.72;
    color: #56483f;
    font-size: 0.95em;
}

.tt-trust-line {
    font-size: 0.88em;
    color: #aaa;
    font-style: italic;
    margin-top: 1em;
    line-height: 1.55;
}

