/* ================================================================
   FormosaTea.eu — visual redesign v1

   Brand palette:
   dark green  #2b4223
   light green #508241
   orange      #e1ac69
   yellow      #e6c88c
   cream       #f6f3e7
   ================================================================ */

:root {
    --green-950: #1b2b17;
    --green-900: #2b4223;
    --green-800: #36552d;
    --green-600: #508241;
    --green-100: #dfe7d9;

    --orange: #e1ac69;
    --yellow: #e6c88c;
    --cream: #f6f3e7;
    --cream-2: #eee9dc;
    --paper: #fffdf7;

    --ink: #1f281c;
    --muted: #66705f;

    --line: rgba(43, 66, 35, 0.18);
    --line-strong: rgba(43, 66, 35, 0.32);

    --shadow-sm: 0 10px 30px rgba(27, 43, 23, 0.08);
    --shadow-lg: 0 30px 90px rgba(20, 34, 17, 0.22);

    --radius-sm: 10px;
    --radius-md: 18px;
    --radius-lg: 30px;

    --container: 1180px;
    --nav-height: 76px;

    --font-display:
        Georgia,
        "Times New Roman",
        Times,
        serif;

    --font-body:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--nav-height) + 24px);
    background: var(--green-950);
}

body {
    margin: 0;
    min-width: 320px;

    color: var(--ink);
    background: var(--cream);

    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body::selection {
    color: var(--green-950);
    background: var(--orange);
}

img,
svg {
    max-width: 100%;
}

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 {
    outline: 3px solid rgba(225, 172, 105, 0.7);
    outline-offset: 4px;
}

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-inline: auto;
}


/* ================================================================
   Navigation
   ================================================================ */

.subNav {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;

    height: var(--nav-height);

    color: var(--cream);
    background: rgba(27, 43, 23, 0.82);
    border-bottom: 1px solid rgba(246, 243, 231, 0.12);

    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);

    transition:
        background 180ms ease,
        box-shadow 180ms ease,
        transform 180ms ease;
}

.homeScrollNav.scrolled,
.homeScrollNav.is-scrolled {
    background: rgba(27, 43, 23, 0.96);
    box-shadow: 0 14px 40px rgba(15, 26, 13, 0.2);
}

.subNavInner {
    height: 100%;

    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: clamp(1rem, 3vw, 3rem);
}

.subNavBrand {
    min-width: 0;
    height: 100%;

    display: flex;
    align-items: center;

    text-decoration: none;
}

.subNavLogo {
    display: block;

    width: auto;
    height: 48px;
    max-width: min(260px, 42vw);
    max-height: none;

    object-fit: contain;
}

.subNavLinks {
    justify-self: center;

    display: flex;
    align-items: center;
    gap: clamp(1.2rem, 2.4vw, 2.4rem);
}

.subNavLinks a {
    position: relative;

    color: rgba(246, 243, 231, 0.82);

    font-size: 0.78rem;
    font-weight: 750;
    letter-spacing: 0.1em;
    text-decoration: none;
    text-transform: uppercase;

    transition: color 160ms ease;
}

.subNavLinks a::after {
    content: "";

    position: absolute;
    left: 0;
    right: 100%;
    bottom: -9px;

    height: 2px;

    background: var(--orange);

    transition: right 180ms ease;
}

.subNavLinks a:hover {
    color: var(--cream);
}

.subNavLinks a:hover::after {
    right: 0;
}

.languageSwitcher {
    position: relative;
    justify-self: end;
}

.languageButton {
    min-width: 72px;
    height: 42px;
    padding: 0 14px;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    color: var(--cream);
    background: rgba(246, 243, 231, 0.08);
    border: 1px solid rgba(246, 243, 231, 0.2);
    border-radius: 999px;

    cursor: pointer;

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;

    transition:
        background 160ms ease,
        border-color 160ms ease;
}

.languageButton:hover,
.languageButton[aria-expanded="true"] {
    background: rgba(225, 172, 105, 0.16);
    border-color: rgba(225, 172, 105, 0.75);
}

.languageButton span {
    color: var(--orange);

    transform-origin: center;

    transition: transform 160ms ease;
}

.languageButton[aria-expanded="true"] span {
    transform: rotate(180deg);
}

.languageMenu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;

    width: 170px;
    padding: 8px;

    display: grid;
    gap: 3px;

    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;

    transition:
        opacity 150ms ease,
        transform 150ms ease,
        visibility 150ms ease;
}

.languageMenu.open,
.languageMenu.active,
.languageMenu.is-open,
.languageButton[aria-expanded="true"]+.languageMenu {
    opacity: 1;
    visibility: visible;

    transform: translateY(0) scale(1);
}

.languageMenu a {
    padding: 10px 12px;

    color: var(--ink);
    border-radius: 9px;

    font-size: 0.9rem;
    font-weight: 650;
    text-decoration: none;
}

.languageMenu a:hover,
.languageMenu a.active {
    color: var(--green-900);
    background: var(--cream-2);
}


/* ================================================================
   Hero
   ================================================================ */

.hero,
.brandHero {
    position: relative;

    min-height: 100svh;

    display: flex;
    align-items: center;

    overflow: hidden;

    color: var(--cream);

    background:
        linear-gradient(90deg,
            rgba(27, 43, 23, 0.98) 0%,
            rgba(43, 66, 35, 0.94) 50%,
            rgba(43, 66, 35, 0.78) 100%),
        var(--green-900);

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.brandHero::before {
    content: none;
}

.brandHero::after {
    content: none;
}

.brandHeroInner {
    min-height: 100svh;

    padding-top:
        calc(var(--nav-height) + clamp(2rem, 5vh, 4rem));

    padding-bottom: clamp(2.5rem, 6vh, 5rem);

    display: grid;
    grid-template-columns:
        minmax(260px, 0.8fr) minmax(380px, 1.2fr);

    align-items: center;
    gap: clamp(2rem, 5vw, 5rem);
}

.brandHeroLogoWrap {
    position: relative;

    display: grid;
    place-items: center;
}

.brandHeroLogoWrap::before {
    content: "";

    position: absolute;
    inset: 13% 7%;

    background: rgba(225, 172, 105, 0.08);
    border-radius: 50%;

    filter: blur(55px);
}

.brandHeroLogo {
    width: min(100%, 400px);
    max-height: 52vh;
}

.brandHeroContent {
    max-width: 700px;
}

.brandHeroEyebrow,
.eyebrow {
    margin: 0 0 1.15rem;

    color: var(--orange);

    font-size: 0.76rem;
    font-weight: 850;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.brandHero h1 {
    margin: 0;

    color: var(--cream);

    font-family: var(--font-display);
    font-size: clamp(3rem, 4.7vw, 5.3rem);
    font-weight: 400;
    line-height: 0.96;
    letter-spacing: -0.055em;

    text-wrap: balance;
}

.brandHero h1::after {
    content: "";

    width: 94px;
    height: 4px;
    margin-top: 1.7rem;

    display: block;

    background: var(--orange);
    border-radius: 999px;
}

.brandHeroLead {
    max-width: 610px;
    margin-top: 1.35rem;

    font-size: clamp(1rem, 1.2vw, 1.16rem);
    line-height: 1.65;
}

.brandHeroActions {
    margin-top: clamp(1.7rem, 4vw, 2.6rem);

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.pillBtn,
.btn {
    min-height: 52px;
    padding: 0 1.6rem;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    border: 1px solid transparent;
    border-radius: 999px;

    cursor: pointer;

    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;

    transition:
        transform 150ms ease,
        box-shadow 150ms ease,
        background 150ms ease,
        color 150ms ease,
        border-color 150ms ease;
}

.pillBtn:hover,
.btn:hover {
    transform: translateY(-2px);
}

.pillBtn:active,
.btn:active {
    transform: translateY(0);
}

.pillBtnAccent,
.btn.primary {
    color: var(--green-950);
    background: var(--orange);

    box-shadow:
        0 15px 35px rgba(225, 172, 105, 0.17);
}

.pillBtnAccent:hover,
.btn.primary:hover {
    background: var(--yellow);

    box-shadow:
        0 18px 42px rgba(225, 172, 105, 0.25);
}

.pillBtnLight {
    color: var(--cream);
    background: transparent;
    border-color: rgba(246, 243, 231, 0.34);
}

.pillBtnLight:hover {
    color: var(--green-950);
    background: var(--cream);
    border-color: var(--cream);
}


/* ================================================================
   General sections
   ================================================================ */

.section {
    position: relative;
    padding: clamp(4rem, 7vw, 6.5rem) 0;
}

.sectionHeader {
    max-width: 920px;
    margin-bottom: clamp(2.3rem, 4vw, 3.8rem);
}

.sectionHeader h2,
.wholesaleIntro h2 {
    max-width: 860px;
    margin: 0;

    color: var(--green-900);

    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4.9rem);
    font-weight: 400;
    line-height: 1.03;
    letter-spacing: -0.045em;

    text-wrap: balance;
}

.sectionHeader p,
.wholesaleIntro p {
    max-width: 760px;
    margin: 1.55rem 0 0;

    color: var(--muted);

    font-size: clamp(1rem, 1.3vw, 1.15rem);
    line-height: 1.82;
}

#aboutUs {
    background: var(--cream);
}

.grid3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.card {
    position: relative;

    min-height: 270px;
    padding: clamp(1.7rem, 3.2vw, 2.5rem);

    overflow: hidden;

    background: rgba(255, 253, 247, 0.72);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);

    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        border-color 180ms ease;
}

.card::before {
    content: "";

    position: absolute;
    inset: 0 auto 0 0;

    width: 4px;

    background: var(--orange);

    transform: scaleY(0.25);
    transform-origin: bottom;

    transition: transform 220ms ease;
}

.card:hover {
    border-color: var(--line-strong);

    transform: translateY(-6px);

    box-shadow:
        0 22px 50px rgba(27, 43, 23, 0.12);
}

.card:hover::before {
    transform: scaleY(1);
}

.card h3 {
    margin: 0 0 1rem;

    color: var(--green-900);

    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.4vw, 2.15rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.card p {
    margin: 0;

    color: var(--muted);

    line-height: 1.78;
}

/* ================================================================
   Tea selection
   ================================================================ */

#teaInfo {
    background: var(--paper);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.teaPreviewCard {
    min-height: 330px;

    display: flex;
    flex-direction: column;

    background:
        linear-gradient(180deg,
            rgba(246, 243, 231, 0.16),
            rgba(246, 243, 231, 0.86)),
        var(--paper);
}

.teaPreviewCard h3 {
    max-width: 100%;
    margin-top: 0;
}

.teaPreviewCard p {
    margin-bottom: 2rem;
}

.teaTextLink {
    width: fit-content;
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: var(--green-900);

    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;
}

.teaTextLink span {
    color: var(--orange);

    font-size: 1.2rem;

    transition: transform 160ms ease;
}

.teaTextLink:hover span {
    transform: translateX(6px);
}

.wideTeaCta {
    min-height: 88px;
    margin-top: 20px;
    padding: 1rem clamp(1.5rem, 4vw, 3rem);

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    color: var(--cream);
    background: var(--green-900);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);

    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.4vw, 2rem);
    text-decoration: none;

    transition:
        background 180ms ease,
        transform 180ms ease;
}

.wideTeaCta span:last-child {
    color: var(--orange);

    font-family: var(--font-body);
    font-size: 2rem;

    transition: transform 180ms ease;
}

.wideTeaCta:hover {
    background: var(--green-800);

    transform: translateY(-3px);
}

.wideTeaCta:hover span:last-child {
    transform: translateX(8px);
}


/* ================================================================
   Wholesale
   ================================================================ */

#wholesaleInfo {
    color: var(--cream);
    background: var(--green-900);
}

.wholesaleSplit {
    position: relative;

    display: grid;
    grid-template-columns:
        minmax(0, 0.9fr) minmax(420px, 1.1fr);

    align-items: start;
    gap: clamp(3rem, 8vw, 8rem);
}

.wholesaleIntro {
    position: sticky;
    top: calc(var(--nav-height) + 40px);
}

.wholesaleIntro h2 {
    color: var(--cream);
}

.wholesaleIntro p {
    color: rgba(246, 243, 231, 0.72);
}

.wholesaleDetails {
    border-top: 1px solid rgba(246, 243, 231, 0.22);
}

.wholesaleRow {
    padding: 2rem 0;

    display: grid;
    grid-template-columns:
        minmax(150px, 0.7fr) minmax(0, 1.3fr);

    gap: 2rem;

    border-bottom: 1px solid rgba(246, 243, 231, 0.18);
}

.wholesaleRow strong {
    color: var(--orange);

    font-family: var(--font-display);
    font-size: clamp(1.35rem, 2vw, 1.8rem);
    font-weight: 400;
    line-height: 1.2;
}

.wholesaleRow span {
    color: rgba(246, 243, 231, 0.76);

    line-height: 1.75;
}


/* ================================================================
   Inquiry
   ================================================================ */

#inquiry {
    overflow: hidden;

    background: var(--yellow);
}

#inquiry .sectionHeader::before {
    color: var(--green-900);
}

#inquiry .sectionHeader p {
    color: rgba(31, 40, 28, 0.72);
}

.formCard {
    position: relative;
    z-index: 1;

    max-width: 930px;
    padding: clamp(1.5rem, 4vw, 3.4rem);

    color: var(--cream);
    background: var(--green-900);

    border: 1px solid rgba(43, 66, 35, 0.35);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-lg);
}

.formGrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.formRow {
    margin-top: 18px;
}

.formGrid>div,
.formRow>div {
    display: grid;
    gap: 9px;
}

label {
    color: rgba(246, 243, 231, 0.76);

    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

input,
textarea {
    width: 100%;

    color: var(--cream);
    background: rgba(246, 243, 231, 0.07);

    border: 1px solid rgba(246, 243, 231, 0.19);
    border-radius: 12px;

    transition:
        background 160ms ease,
        border-color 160ms ease,
        box-shadow 160ms ease;
}

input {
    min-height: 56px;
    padding: 0 16px;
}

textarea {
    min-height: 170px;
    padding: 16px;

    resize: vertical;
}

input::placeholder,
textarea::placeholder {
    color: rgba(246, 243, 231, 0.36);
}

input:hover,
textarea:hover {
    border-color: rgba(246, 243, 231, 0.34);
}

input:focus,
textarea:focus {
    outline: none;

    background: rgba(246, 243, 231, 0.1);
    border-color: var(--orange);

    box-shadow:
        0 0 0 4px rgba(225, 172, 105, 0.13);
}

.formActions {
    margin-top: 22px;

    display: flex;
    justify-content: flex-end;
}

.formActions .btn {
    min-height: 56px;
}


/* ================================================================
   Popup, toast and footer
   ================================================================ */

.popup,
.toast {
    position: fixed;
    z-index: 1200;
    left: 50%;
    bottom: 24px;

    max-width: min(520px, calc(100% - 32px));
    padding: 14px 18px;

    color: var(--cream);
    background: var(--green-950);

    border: 1px solid rgba(246, 243, 231, 0.16);
    border-radius: 12px;

    box-shadow: var(--shadow-lg);

    opacity: 0;
    visibility: hidden;

    transform: translate(-50%, 14px);

    transition:
        opacity 180ms ease,
        transform 180ms ease,
        visibility 180ms ease;
}

.popup.show,
.popup.visible,
.toast.show,
.toast.visible {
    opacity: 1;
    visibility: visible;

    transform: translate(-50%, 0);
}

footer {
    min-height: 110px;

    padding:
        2rem max(24px,
            calc((100% - var(--container)) / 2));

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;

    color: rgba(246, 243, 231, 0.66);
    background: var(--green-950);

    border-top: 1px solid rgba(246, 243, 231, 0.08);

    font-size: 0.85rem;
}

.mono {
    font-family:
        ui-monospace,
        SFMono-Regular,
        Menlo,
        Monaco,
        Consolas,
        monospace;

    font-size: 0.78rem;
}

#emailFooter {
    color: var(--orange);
}


/* ================================================================
   Responsive
   ================================================================ */

@media (max-width: 980px) {
    :root {
        --nav-height: 70px;
    }

    .brandHeroInner {
        grid-template-columns:
            minmax(230px, 0.72fr) minmax(0, 1.28fr);

        gap: 2.8rem;
    }

    .brandHeroLogo {
        width: min(100%, 360px);
    }

    .grid3 {
        grid-template-columns: 1fr;
    }

    .card,
    .teaPreviewCard {
        min-height: 0;
    }

    .wholesaleSplit {
        grid-template-columns: 1fr;
    }

    .wholesaleIntro {
        position: static;
    }
}

@media (max-width: 760px) {
    .container {
        width: min(calc(100% - 32px), var(--container));
    }

    .subNavInner {
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .subNavLinks {
        display: none;
    }

    .brandHeroInner {
        min-height: auto;

        padding-top:
            calc(var(--nav-height) + 3.5rem);

        padding-bottom: 5.5rem;

        grid-template-columns: 1fr;
        gap: 2.3rem;
    }

    .brandHeroLogoWrap {
        width: 100%;
        place-items: center;
        justify-content: center;
    }

    .brandHeroLogo {
        width: min(72vw, 310px);
        max-height: 34vh;
    }

    .brandHero h1 {
        font-size: clamp(3rem, 13vw, 4.5rem);
    }

    .brandHero::before {
        top: 25%;
        left: -48vw;

        width: 95vw;
    }

    .brandHero::after {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }

    .sectionHeader h2,
    .wholesaleIntro h2 {
        font-size: clamp(2.55rem, 11vw, 4rem);
    }

    .formGrid {
        grid-template-columns: 1fr;
    }

    .wholesaleRow {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    footer {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .subNavLogo {
        width: auto;
        height: 38px;
        max-width: 170px;
    }

    .languageButton {
        min-width: 64px;
        padding-inline: 12px;
    }

    .brandHeroActions {
        align-items: stretch;
        flex-direction: column;
    }

    .pillBtn,
    .brandHeroActions .pillBtn {
        width: 100%;
    }

    .formCard {
        border-radius: 20px;
    }

    .formActions .btn {
        width: 100%;
    }

    .wideTeaCta {
        min-height: 76px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ================================================================
   FormosaTea.eu — tea detail page extension

   Shared styles are inherited from index.css.
   ================================================================ */


/* ================================================================
   Page and navigation layout
   ================================================================ */

.teaDetailPage {
    background: var(--paper);
}

.teaDetailNavInner {
    grid-template-columns: auto auto;
    justify-content: space-between;
}


/* ================================================================
   Tea hero
   ================================================================ */

.teaPageHero {
    min-height: min(100svh, 820px);
    padding: calc(var(--nav-height) + clamp(2.5rem, 5vw, 4.5rem)) 0 clamp(3.5rem, 6vw, 5.5rem);

    display: flex;
    align-items: center;

    color: var(--cream);

    background:
        linear-gradient(135deg,
            var(--green-950),
            var(--green-900) 68%,
            var(--green-800));

    border-bottom: 1px solid rgba(246, 243, 231, 0.1);
}

.detailBreadcrumbs {
    margin-bottom: clamp(2.5rem, 5vw, 4.5rem);

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;

    color: rgba(246, 243, 231, 0.48);

    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.detailBreadcrumbs a {
    color: rgba(246, 243, 231, 0.7);

    text-decoration: none;

    transition: color 150ms ease;
}

.detailBreadcrumbs a:hover {
    color: var(--orange);
}

.detailBreadcrumbs span[aria-current="page"] {
    color: var(--orange);
}

.teaHeroLayout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr) minmax(330px, 0.75fr);

    align-items: center;
    gap: clamp(2.5rem, 6vw, 6rem);
}

.teaDetailHeroContent {
    max-width: 760px;
}

.teaType {
    margin-bottom: 1.25rem;
    display: block;
}

.teaDetailHeroContent h1 {
    margin: 0;

    color: var(--cream);

    font-family: var(--font-display);
    font-size: clamp(3.2rem, 6vw, 6.2rem);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: -0.06em;

    text-wrap: balance;
}

.teaDetailHeroContent h1::after {
    content: "";

    width: 88px;
    height: 4px;
    margin-top: 1.7rem;

    display: block;

    background: var(--orange);
    border-radius: 999px;
}

.teaLead {
    max-width: 670px;
    margin: 1.7rem 0 0;

    color: rgba(246, 243, 231, 0.76);

    font-size: clamp(1.05rem, 1.5vw, 1.27rem);
    line-height: 1.78;
}

.heroActions {
    margin-top: clamp(2.2rem, 5vw, 3.5rem);

    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.teaSecondaryButton {
    color: var(--cream);
    background: transparent;
    border-color: rgba(246, 243, 231, 0.3);
}

.teaSecondaryButton:hover {
    color: var(--green-950);
    background: var(--cream);
    border-color: var(--cream);
}


/* ================================================================
   Basic information panel
   ================================================================ */

.teaHeroSummary {
    padding: clamp(1.8rem, 4vw, 3rem);

    background: rgba(246, 243, 231, 0.07);
    border: 1px solid rgba(246, 243, 231, 0.17);
    border-radius: var(--radius-md);

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.teaHeroSummary h2 {
    margin: 0 0 1.8rem;

    color: var(--cream);

    font-family: var(--font-display);
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.teaMetaList {
    margin: 0;
}

.teaMetaList>div {
    padding: 1rem 0;

    display: grid;
    grid-template-columns:
        minmax(110px, 0.7fr) minmax(0, 1.3fr);

    gap: 1rem;

    border-top: 1px solid rgba(246, 243, 231, 0.15);
}

.teaMetaList>div:last-child {
    padding-bottom: 0;
}

.teaMetaList dt {
    color: rgba(246, 243, 231, 0.48);

    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 1.5;
    text-transform: uppercase;
}

.teaMetaList dd {
    margin: 0;

    color: var(--cream);

    font-size: 0.95rem;
    font-weight: 650;
    line-height: 1.55;
}


/* ================================================================
   Character and taste section
   ================================================================ */

.teaDetailSection {
    background: var(--paper);
}

.teaEditorialGrid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.22fr) minmax(310px, 0.78fr);

    align-items: start;
    gap: 20px;
}

.detailCard {
    padding: clamp(2rem, 5vw, 4rem);

    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.detailCard h2 {
    margin: 0 0 clamp(1.7rem, 4vw, 2.7rem);

    color: var(--green-900);

    font-family: var(--font-display);
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.04em;

    text-wrap: balance;
}

.teaCharacterCard {
    min-height: 100%;
}

.teaCharacterText {
    max-width: 740px;
}

.teaCharacterText p {
    margin: 0;

    color: var(--muted);

    font-size: clamp(1rem, 1.2vw, 1.1rem);
    line-height: 1.88;
}

.teaCharacterText p+p {
    margin-top: 1.35rem;
}

.teaTasteCard {
    position: sticky;
    top: calc(var(--nav-height) + 28px);

    color: var(--cream);
    background: var(--green-900);

    border-color: var(--green-900);
    box-shadow: var(--shadow-lg);
}

.teaTasteCard h2 {
    color: var(--cream);
}


/* ================================================================
   Tea detail lists
   ================================================================ */

.detailList {
    margin: 0;
    padding: 0;

    display: grid;

    list-style: none;
}

.detailList li {
    position: relative;

    padding: 1.1rem 0 1.1rem 1.7rem;

    color: var(--muted);

    border-top: 1px solid var(--line);

    line-height: 1.65;
}

.detailList li:first-child {
    border-top: 0;
}

.detailList li::before {
    content: "";

    position: absolute;
    top: 1.75rem;
    left: 0;

    width: 9px;
    height: 2px;

    background: var(--orange);
}

.teaTasteCard .detailList li {
    color: rgba(246, 243, 231, 0.78);
    border-color: rgba(246, 243, 231, 0.16);
}


/* ================================================================
   Best suited for section
   ================================================================ */

.teaBestSection {
    color: var(--ink);
    background: var(--yellow);
}

.teaBestLayout {
    display: grid;
    grid-template-columns:
        minmax(280px, 0.8fr) minmax(0, 1.2fr);

    align-items: start;
    gap: clamp(3rem, 8vw, 8rem);
}

.teaBestHeading {
    position: sticky;
    top: calc(var(--nav-height) + 40px);
}

.teaBestHeading .eyebrow {
    color: var(--green-900);
}

.teaBestHeading h2 {
    max-width: 520px;
    margin: 0;

    color: var(--green-900);

    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5.5vw, 5.2rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.05em;

    text-wrap: balance;
}

.teaBestContent {
    padding: clamp(2rem, 5vw, 4rem);

    color: var(--cream);
    background: var(--green-900);

    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.teaBestList li {
    color: rgba(246, 243, 231, 0.8);
    border-color: rgba(246, 243, 231, 0.17);
}

.teaBestActions {
    margin-top: 2rem;
    padding-top: 2rem;

    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.4rem;

    border-top: 1px solid rgba(246, 243, 231, 0.17);
}

.teaBackLink {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    color: rgba(246, 243, 231, 0.68);

    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-decoration: none;
    text-transform: uppercase;

    transition: color 150ms ease;
}

.teaBackLink span {
    color: var(--orange);

    transition: transform 150ms ease;
}

.teaBackLink:hover {
    color: var(--cream);
}

.teaBackLink:hover span {
    transform: translateX(-5px);
}


/* ================================================================
   Responsive
   ================================================================ */

@media (max-width: 980px) {
    .teaPageHero {
        min-height: auto;
    }

    .teaHeroLayout,
    .teaEditorialGrid,
    .teaBestLayout {
        grid-template-columns: 1fr;
    }

    .teaHeroSummary {
        max-width: 680px;
    }

    .teaTasteCard,
    .teaBestHeading {
        position: static;
    }
}

@media (max-width: 680px) {
    .teaPageHero {
        padding-top:
            calc(var(--nav-height) + 3.5rem);

        padding-bottom: 4.5rem;
    }

    .detailBreadcrumbs {
        margin-bottom: 2.5rem;

        gap: 0.45rem;

        font-size: 0.68rem;
    }

    .teaDetailHeroContent h1 {
        font-size: clamp(3.2rem, 15vw, 5rem);
    }

    .heroActions {
        align-items: stretch;
        flex-direction: column;
    }

    .heroActions .btn {
        width: 100%;
    }

    .teaMetaList>div {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .detailCard,
    .teaBestContent,
    .teaHeroSummary {
        padding: 1.6rem;
    }

    .detailCard h2 {
        font-size: clamp(2.2rem, 11vw, 3.3rem);
    }

    .teaBestHeading h2 {
        font-size: clamp(2.8rem, 13vw, 4.2rem);
    }

    .teaBestActions {
        align-items: stretch;
        flex-direction: column;
    }

    .teaBestActions .btn {
        width: 100%;
    }

    .teaBackLink {
        justify-content: center;
    }
}

/* ================================================================
   Tea catalogue page
   ================================================================ */

.teasListingPage {
    background: var(--paper);
}


/* ================================================================
   Catalogue hero
   ================================================================ */

.teasPageHero {
    min-height: min(78svh, 680px);
}

.teasHeroContent {
    max-width: 920px;
}

.teasHeroContent .eyebrow {
    margin-bottom: 1.25rem;
}

.teasHeroContent .teaLead {
    max-width: 760px;
}


/* ================================================================
   Tea catalogue
   ================================================================ */

.teasSection {
    background: var(--paper);
}

.teaCards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.teaCard {
    min-height: 430px;
    padding: clamp(1.8rem, 3.5vw, 2.7rem);

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2.5rem;

    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);

    transition:
        transform 180ms ease,
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.teaCard:hover {
    border-color: var(--line-strong);

    transform: translateY(-6px);

    box-shadow:
        0 24px 55px rgba(27, 43, 23, 0.13);
}

.teaCardContent {
    display: flex;
    flex-direction: column;
}

.teaCard .teaType {
    margin-bottom: 1.25rem;
}

.teaCard h2 {
    margin: 0;

    color: var(--green-900);

    font-family: var(--font-display);
    font-size: clamp(2rem, 3.3vw, 3.15rem);
    font-weight: 400;
    line-height: 1.04;
    letter-spacing: -0.045em;

    text-wrap: balance;
}

.teaCard h2::after {
    content: "";

    width: 48px;
    height: 3px;
    margin-top: 1.2rem;

    display: block;

    background: var(--orange);
    border-radius: 999px;
}

.teaCard p {
    margin: 1.5rem 0 0;

    color: var(--muted);

    line-height: 1.8;
}

.teaCardButton {
    width: fit-content;
}

.teaCardButton span {
    font-size: 1.1rem;

    transition: transform 150ms ease;
}

.teaCardButton:hover span {
    transform: translateX(5px);
}


/* ================================================================
   Catalogue CTA
   ================================================================ */

.teasCtaSection {
    background: var(--yellow);
}

.teasCta {
    padding: clamp(2.2rem, 5vw, 4.5rem);

    display: grid;
    grid-template-columns:
        minmax(0, 1.3fr) minmax(190px, 0.7fr);

    align-items: center;
    gap: clamp(2rem, 6vw, 6rem);

    color: var(--cream);
    background: var(--green-900);

    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.teasCtaContent {
    max-width: 720px;
}

.teasCta h2 {
    margin: 0;

    color: var(--cream);

    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5vw, 4.8rem);
    font-weight: 400;
    line-height: 1.02;
    letter-spacing: -0.05em;

    text-wrap: balance;
}

.teasCta p {
    max-width: 670px;
    margin: 1.4rem 0 0;

    color: rgba(246, 243, 231, 0.72);

    font-size: clamp(1rem, 1.3vw, 1.12rem);
    line-height: 1.8;
}

.teasCtaActions {
    display: flex;
    justify-content: flex-end;
}

.teasCtaActions .btn {
    min-width: 190px;
}


/* ================================================================
   Catalogue responsive
   ================================================================ */

@media (max-width: 980px) {
    .teaCards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .teasCta {
        grid-template-columns: 1fr;
    }

    .teasCtaActions {
        justify-content: flex-start;
    }
}

@media (max-width: 680px) {
    .teasPageHero {
        min-height: auto;
    }

    .teaCards {
        grid-template-columns: 1fr;
    }

    .teaCard {
        min-height: 0;
        padding: 1.7rem;
    }

    .teaCard h2 {
        font-size: clamp(2.3rem, 12vw, 3.4rem);
    }

    .teaCardButton {
        width: 100%;
    }

    .teasCta {
        padding: 1.7rem;

        border-radius: var(--radius-md);
    }

    .teasCta h2 {
        font-size: clamp(2.5rem, 13vw, 4rem);
    }

    .teasCtaActions,
    .teasCtaActions .btn {
        width: 100%;
    }
}

@media (max-height: 820px) and (min-width: 761px) {
    .brandHeroInner {
        padding-top: calc(var(--nav-height) + 2rem);
        padding-bottom: 2rem;
        gap: 3rem;
    }

    .brandHeroLogo {
        width: min(100%, 340px);
        max-height: 46vh;
    }

    .brandHero h1 {
        font-size: clamp(2.9rem, 4.5vw, 4.7rem);
    }

    .brandHeroLead {
        margin-top: 1.1rem;

        font-size: 1rem;
        line-height: 1.55;
    }

    .brandHeroActions {
        margin-top: 1.7rem;
    }

    .section {
        padding: 4.5rem 0;
    }
}

@media (max-height: 820px) and (min-width: 761px) {
    .teaPageHero {
        min-height: 100svh;

        padding-top: calc(var(--nav-height) + 2.5rem);
        padding-bottom: 3rem;
    }

    .detailBreadcrumbs {
        margin-bottom: 2rem;
    }

    .teaDetailHeroContent h1 {
        font-size: clamp(3.2rem, 5.5vw, 5.4rem);
    }

    .teaLead {
        margin-top: 1.25rem;
        line-height: 1.6;
    }

    .heroActions {
        margin-top: 2rem;
    }

    .teaHeroSummary {
        padding: 2rem;
    }
}