/**
 * Our Story (page 52615, .tsa-os) + About Us (page 52664, .tsa-au).
 *
 * Both pages share the teal/cream palette; markup lives in
 * templates/page-our-story.html and templates/page-about-us.html.
 * Static HTML only — no JS.
 */

.tsa-os,
.tsa-au {
    --ab-cream: #F4EFE7;
    --ab-card: #FBF8F2;
    --ab-teal: #0E4A4E;
    --ab-teal-mid: #146A6F;
    --ab-teal-deep: #12302F;
    --ab-amber: #E39A3B;
    --ab-gold: #E9B96A;
    --ab-bronze: #B0771F;
    --ab-clay: #C25B4A;
    --ab-ink: #1C2422;
    --ab-body: #243330;
    --ab-head-font: var(--tsa-font-display);
    --ab-body-font: var(--tsa-font-body);
    --ab-pad-x: clamp(20px, 4vw, 48px);
    background: var(--ab-cream);
    color: var(--ab-ink);
    font-family: var(--ab-body-font);
    overflow: hidden;
}

.tsa-os ::selection,
.tsa-au ::selection {
    background: var(--ab-teal);
    color: var(--ab-cream);
}

.tsa-os a,
.tsa-au a {
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.tsa-os h1,
.tsa-os h2,
.tsa-os h3,
.tsa-au h1,
.tsa-au h2,
.tsa-au h3 {
    font-family: var(--ab-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    padding: 0;
    margin: 0;
    color: var(--ab-teal);
}

.tsa-os img,
.tsa-au img {
    max-width: 100%;
}

.tsa-os .tsa-ab-eyebrow,
.tsa-au .tsa-ab-eyebrow {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ab-bronze);
    margin-bottom: 18px;
}

.tsa-os .tsa-ab-btn,
.tsa-au .tsa-ab-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    line-height: 1.2;
}

.tsa-os .tsa-ab-btn--amber,
.tsa-au .tsa-ab-btn--amber {
    background: var(--ab-amber);
    color: var(--ab-ink);
}

.tsa-os .tsa-ab-btn--amber:hover,
.tsa-au .tsa-ab-btn--amber:hover {
    background: var(--ab-teal);
    color: var(--ab-cream);
}

.tsa-os .tsa-ab-btn--teal,
.tsa-au .tsa-ab-btn--teal {
    background: var(--ab-teal);
    color: var(--ab-cream);
}

.tsa-os .tsa-ab-btn--teal:hover,
.tsa-au .tsa-ab-btn--teal:hover {
    background: var(--ab-amber);
    color: var(--ab-ink);
}

.tsa-os .tsa-ab-btn--outline,
.tsa-au .tsa-ab-btn--outline {
    border: 1.5px solid var(--ab-teal);
    color: var(--ab-teal);
}

.tsa-os .tsa-ab-btn--outline:hover,
.tsa-au .tsa-ab-btn--outline:hover {
    background: var(--ab-teal);
    color: var(--ab-cream);
}

/* Teal statement band (shared) */

.tsa-os .tsa-ab-band,
.tsa-au .tsa-ab-band {
    background: var(--ab-teal);
    padding: clamp(72px, 9vw, 100px) var(--ab-pad-x);
}

.tsa-os .tsa-ab-band__inner,
.tsa-au .tsa-ab-band__inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.tsa-os .tsa-ab-band .tsa-ab-eyebrow,
.tsa-au .tsa-ab-band .tsa-ab-eyebrow {
    color: var(--ab-gold);
}

.tsa-os .tsa-ab-band p,
.tsa-au .tsa-ab-band p {
    font-family: var(--ab-head-font);
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.35rem);
    line-height: 1.35;
    color: var(--ab-cream);
    margin: 0;
    text-wrap: balance;
}

/* ================================================== Our Story (.tsa-os) */

.tsa-os .tsa-os-hero {
    position: relative;
    min-height: 74vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.tsa-os .tsa-os-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 42, 41, 0.15) 30%, rgba(11, 42, 41, 0.9) 100%);
}

.tsa-os .tsa-os-hero__inner {
    position: relative;
    padding: calc(var(--wp--custom--header-height, 83px) + 40px) var(--ab-pad-x) 56px;
    max-width: 1000px;
}

.tsa-os .tsa-os-hero .tsa-ab-eyebrow {
    color: var(--ab-gold);
}

.tsa-os .tsa-os-hero h1 {
    font-size: clamp(3rem, 7vw, 6.5rem);
    line-height: 0.96;
    letter-spacing: -0.02em;
    color: var(--ab-cream);
    margin: 0 0 20px;
}

.tsa-os .tsa-os-hero p {
    font-size: 19px;
    line-height: 1.6;
    color: rgba(244, 239, 231, 0.9);
    max-width: 56ch;
    margin: 0;
    font-weight: 500;
}

.tsa-os .tsa-os-lede {
    max-width: 760px;
    margin: 0 auto;
    padding: clamp(64px, 8vw, 90px) 32px 40px;
    box-sizing: border-box;
}

.tsa-os .tsa-os-lede h2 {
    font-weight: 600;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    line-height: 1.35;
    text-wrap: balance;
}

.tsa-os .tsa-os-lede p {
    font-size: 18px;
    line-height: 1.78;
    color: var(--ab-body);
    margin: 26px 0 0;
}

.tsa-os .tsa-os-photos {
    max-width: 1120px;
    margin: 0 auto;
    padding: 40px var(--ab-pad-x);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tsa-os .tsa-os-photos img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 18px;
    display: block;
}

/* Timeline */

.tsa-os .tsa-os-timeline {
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 32px 90px;
    box-sizing: border-box;
}

.tsa-os .tsa-os-chapter {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 34px;
    padding: 34px 0;
    border-top: 1px solid rgba(14, 74, 78, 0.16);
    align-items: start;
}

.tsa-os .tsa-os-chapter__when {
    position: sticky;
    top: 110px;
}

.tsa-os .tsa-os-chapter__year {
    font-family: var(--ab-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    font-size: 34px;
    color: var(--ab-amber);
    line-height: 1;
}

.tsa-os .tsa-os-chapter__tag {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ab-teal-mid);
    margin-top: 6px;
}

.tsa-os .tsa-os-chapter h2 {
    font-weight: 700;
    font-size: 24px;
    line-height: 1.15;
    margin: 0 0 14px;
}

.tsa-os .tsa-os-chapter p {
    font-size: 17px;
    line-height: 1.78;
    color: var(--ab-body);
    margin: 0;
}

/* Closing */

.tsa-os .tsa-os-closing {
    max-width: 820px;
    margin: 0 auto;
    padding: clamp(64px, 8vw, 90px) 32px;
    box-sizing: border-box;
    text-align: center;
}

.tsa-os .tsa-os-closing > p:first-child {
    font-size: 19px;
    line-height: 1.75;
    color: var(--ab-body);
    margin: 0 0 28px;
}

.tsa-os .tsa-os-closing__signoff {
    font-family: var(--ab-head-font);
    font-weight: 700;
    font-size: 22px;
    color: var(--ab-teal);
    margin: 0 0 30px;
}

.tsa-os .tsa-os-closing__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================== About Us (.tsa-au) */

.tsa-au .tsa-au-hero {
    max-width: calc(1320px + 2 * var(--ab-pad-x));
    margin: 0 auto;
    padding: calc(var(--wp--custom--header-height, 83px) + clamp(40px, 5vw, 64px)) var(--ab-pad-x) clamp(64px, 8vw, 96px);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: clamp(36px, 5.5vw, 72px);
    align-items: center;
}

.tsa-au .tsa-au-hero h1 {
    font-size: clamp(2.75rem, 5.6vw, 5.4rem);
    line-height: 1;
    letter-spacing: -0.01em;
    margin: 0 0 26px;
    text-wrap: balance;
}

.tsa-au .tsa-au-hero__copy > p {
    font-size: 19px;
    line-height: 1.65;
    color: rgba(28, 36, 34, 0.75);
    max-width: 52ch;
    margin: 0 0 34px;
}

.tsa-au .tsa-au-hero__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.tsa-au .tsa-au-hero__media {
    position: relative;
}

.tsa-au .tsa-au-hero__media > img {
    width: 100%;
    display: block;
    border-radius: 22px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    box-shadow: 0 22px 54px rgba(14, 74, 78, 0.2);
}

.tsa-au .tsa-au-hero__badge {
    position: absolute;
    left: -22px;
    bottom: 34px;
    background: var(--ab-cream);
    border-radius: 14px;
    padding: 14px 22px;
    box-shadow: 0 14px 34px rgba(14, 74, 78, 0.22);
    font-family: var(--ab-head-font);
    font-weight: var(--tsa-font-display-weight, 800);
    color: var(--ab-teal);
    font-size: 16px;
}

/* Splits */

.tsa-au .tsa-au-split {
    max-width: calc(1320px + 2 * var(--ab-pad-x));
    margin: 0 auto;
    padding: clamp(72px, 9vw, 100px) var(--ab-pad-x);
    box-sizing: border-box;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(36px, 5.5vw, 72px);
    align-items: center;
}

.tsa-au .tsa-au-split--textfirst {
    grid-template-columns: 1.05fr 0.95fr;
}

.tsa-au .tsa-au-split > img {
    width: 100%;
    display: block;
    border-radius: 22px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.tsa-au .tsa-au-split h2 {
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    line-height: 1.08;
    margin: 0 0 22px;
}

.tsa-au .tsa-au-split p {
    font-size: 17px;
    line-height: 1.72;
    color: rgba(28, 36, 34, 0.78);
    margin: 0 0 16px;
}

.tsa-au .tsa-au-split p strong,
.tsa-au .tsa-au-split .tsa-au-strong {
    color: var(--ab-teal);
    font-weight: 600;
}

.tsa-au .tsa-au-split__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tsa-au .tsa-au-split__actions .tsa-ab-btn {
    padding: 13px 26px;
    font-size: 14.5px;
}

.tsa-au .tsa-au-photogrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 1fr;
    gap: 14px;
}

.tsa-au .tsa-au-photogrid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

/* "Not your average" cards */

.tsa-au .tsa-au-different {
    background: var(--ab-card);
    border-top: 1px solid rgba(14, 74, 78, 0.1);
    border-bottom: 1px solid rgba(14, 74, 78, 0.1);
    padding: clamp(72px, 9vw, 100px) var(--ab-pad-x);
}

.tsa-au .tsa-au-different__wrap {
    max-width: 1280px;
    margin: 0 auto;
}

.tsa-au .tsa-au-different__intro {
    text-align: center;
    max-width: 60ch;
    margin: 0 auto 52px;
}

.tsa-au .tsa-au-different__intro h2 {
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    line-height: 1.08;
    margin: 0 0 16px;
}

.tsa-au .tsa-au-different__intro p {
    font-size: 17px;
    line-height: 1.6;
    color: rgba(28, 36, 34, 0.7);
    margin: 0;
}

.tsa-au .tsa-au-cards3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.tsa-au .tsa-au-card {
    background: var(--ab-cream);
    border: 1px solid rgba(14, 74, 78, 0.12);
    border-radius: 20px;
    padding: 34px 30px;
    border-top: 4px solid var(--ab-teal);
}

.tsa-au .tsa-au-card--amber { border-top-color: var(--ab-amber); }
.tsa-au .tsa-au-card--clay { border-top-color: var(--ab-clay); }

.tsa-au .tsa-au-card h3 {
    font-weight: 700;
    font-size: 22px;
    margin: 0 0 12px;
}

.tsa-au .tsa-au-card p {
    margin: 0;
    font-size: 15.5px;
    line-height: 1.68;
    color: rgba(28, 36, 34, 0.75);
}

/* Perfect-for-you dark section */

.tsa-au .tsa-au-fit {
    background: var(--ab-teal);
    padding: clamp(72px, 9vw, 100px) var(--ab-pad-x);
}

.tsa-au .tsa-au-fit__wrap {
    max-width: 1280px;
    margin: 0 auto;
}

.tsa-au .tsa-au-fit h2 {
    font-size: clamp(1.9rem, 3.6vw, 3.1rem);
    line-height: 1.08;
    margin: 0 0 48px;
    color: var(--ab-cream);
    text-align: center;
}

.tsa-au .tsa-au-fit__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.tsa-au .tsa-au-fitcard {
    background: rgba(244, 239, 231, 0.06);
    border: 1px solid rgba(244, 239, 231, 0.14);
    border-radius: 20px;
    padding: 32px 34px;
}

.tsa-au .tsa-au-fitcard h3 {
    font-weight: 700;
    font-size: 21px;
    margin: 0 0 10px;
    color: var(--ab-gold);
}

.tsa-au .tsa-au-fitcard p {
    margin: 0;
    font-size: 16px;
    line-height: 1.68;
    color: rgba(244, 239, 231, 0.82);
}

.tsa-au .tsa-au-fitcard p + a {
    display: inline-block;
    margin-top: 16px;
    font-weight: 700;
    font-size: 14px;
    color: var(--ab-gold);
    border-bottom: 2px solid var(--ab-amber);
    padding-bottom: 3px;
}

.tsa-au .tsa-au-fitcard a:hover {
    color: var(--ab-cream);
}

/* ------------------------------------------------------------ Responsive */

@media (max-width: 1024px) {
    .tsa-au .tsa-au-cards3 {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin: 0 auto;
    }
}

@media (max-width: 900px) {
    .tsa-au .tsa-au-hero,
    .tsa-au .tsa-au-split,
    .tsa-au .tsa-au-split--textfirst,
    .tsa-au .tsa-au-fit__grid,
    .tsa-os .tsa-os-photos {
        grid-template-columns: 1fr;
    }

    .tsa-au .tsa-au-hero__badge {
        left: 14px;
    }

    .tsa-os .tsa-os-chapter {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tsa-os .tsa-os-chapter__when {
        position: static;
        display: flex;
        align-items: baseline;
        gap: 12px;
    }
}

/* ---------------------------------------------------------------------------
 * Footer recolour — amber subscribe + deep-teal links (pages 52615 + 52664)
 * ------------------------------------------------------------------------- */

body.page-id-52615 footer.wp-block-template-part .wp-block-cover.is-light .wp-block-cover__image-background,
body.page-id-52664 footer.wp-block-template-part .wp-block-cover.is-light .wp-block-cover__image-background {
    display: none !important;
}

body.page-id-52615 footer.wp-block-template-part .wp-block-cover.is-light,
body.page-id-52664 footer.wp-block-template-part .wp-block-cover.is-light {
    background: #F4EFE7;
}

body.page-id-52615 footer.wp-block-template-part .wp-block-cover.is-light .wp-block-cover__background,
body.page-id-52664 footer.wp-block-template-part .wp-block-cover.is-light .wp-block-cover__background {
    background-color: #F4EFE7 !important;
}

body.page-id-52615 footer.wp-block-template-part .has-darktext-background-color,
body.page-id-52664 footer.wp-block-template-part .has-darktext-background-color {
    background-color: #E39A3B !important;
}

body.page-id-52615 footer.wp-block-template-part .has-darktext-background-color .has-white-color,
body.page-id-52615 footer.wp-block-template-part .has-darktext-background-color h3,
body.page-id-52615 footer.wp-block-template-part .has-darktext-background-color p,
body.page-id-52615 footer.wp-block-template-part .has-darktext-background-color label,
body.page-id-52615 footer.wp-block-template-part .has-darktext-background-color .gfield_required_text,
body.page-id-52664 footer.wp-block-template-part .has-darktext-background-color .has-white-color,
body.page-id-52664 footer.wp-block-template-part .has-darktext-background-color h3,
body.page-id-52664 footer.wp-block-template-part .has-darktext-background-color p,
body.page-id-52664 footer.wp-block-template-part .has-darktext-background-color label,
body.page-id-52664 footer.wp-block-template-part .has-darktext-background-color .gfield_required_text {
    color: #0E4A4E !important;
}

body.page-id-52615 footer.wp-block-template-part .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not([type="hidden"]),
body.page-id-52615 footer.wp-block-template-part .gform_wrapper select,
body.page-id-52615 footer.wp-block-template-part .gform_wrapper textarea,
body.page-id-52664 footer.wp-block-template-part .gform_wrapper input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]):not([type="image"]):not([type="file"]):not([type="hidden"]),
body.page-id-52664 footer.wp-block-template-part .gform_wrapper select,
body.page-id-52664 footer.wp-block-template-part .gform_wrapper textarea {
    background-color: #F4EFE7 !important;
    color: #0E4A4E !important;
    border-color: rgba(14, 74, 78, 0.35) !important;
}

body.page-id-52615 footer.wp-block-template-part .gform_wrapper input::placeholder,
body.page-id-52615 footer.wp-block-template-part .gform_wrapper textarea::placeholder,
body.page-id-52664 footer.wp-block-template-part .gform_wrapper input::placeholder,
body.page-id-52664 footer.wp-block-template-part .gform_wrapper textarea::placeholder {
    color: rgba(14, 74, 78, 0.6) !important;
    opacity: 1 !important;
}

body.page-id-52615 footer.wp-block-template-part .gform_wrapper .gfield_label,
body.page-id-52615 footer.wp-block-template-part .gform_wrapper legend,
body.page-id-52615 footer.wp-block-template-part .gform_wrapper .gfield_description,
body.page-id-52664 footer.wp-block-template-part .gform_wrapper .gfield_label,
body.page-id-52664 footer.wp-block-template-part .gform_wrapper legend,
body.page-id-52664 footer.wp-block-template-part .gform_wrapper .gfield_description {
    color: #0E4A4E !important;
}

body.page-id-52615 footer.wp-block-template-part .gform_wrapper .gform_button,
body.page-id-52664 footer.wp-block-template-part .gform_wrapper .gform_button {
    background-color: #0E4A4E !important;
    color: #F4EFE7 !important;
}

body.page-id-52615 footer.wp-block-template-part .gform_wrapper .gform_button:hover,
body.page-id-52664 footer.wp-block-template-part .gform_wrapper .gform_button:hover {
    background-color: #F4EFE7 !important;
    color: #0E4A4E !important;
    opacity: 1 !important;
}

body.page-id-52615 footer.wp-block-template-part .footer-container.has-background-dark-background-color,
body.page-id-52664 footer.wp-block-template-part .footer-container.has-background-dark-background-color {
    background-color: #12302F !important;
}

body.page-id-52615 footer.wp-block-template-part .footer-container a:hover,
body.page-id-52664 footer.wp-block-template-part .footer-container a:hover {
    color: #E9B96A;
}
