/*
Theme Name:  BrewCraft
Description: coffee
Version:     2.4.0
Author:      Fixit E.E.
Author URI:  https://www.fixit.gr
Text Domain: brew-craft
*/

body {
    --brewc-espresso: #3a2418;
    --brewc-deep: #1c110a;
    --brewc-copper: #c47b3e;
    --brewc-copper-dark: #96591f;
    --brewc-crema: #e8c89a;
    --brewc-paper: #f7f1e8;
    --brewc-paper-2: #fffdfa;
    --brewc-ink: #241510;
    --brewc-muted: #6e5a4c;
    --brewc-muted-dark: #b9a08c;
    --brewc-line: rgba(58, 36, 24, .17);
    --brewc-line-soft: rgba(58, 36, 24, .09);
    --brewc-line-dark: rgba(232, 200, 154, .22);

    --brewc-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --brewc-font-display: "Fraunces", "Iowan Old Style", Georgia, serif;

    --brewc-max: 1220px;
    --brewc-max-wide: 1400px;
    --brewc-gutter: clamp(20px, 4vw, 56px);
    --brewc-band: clamp(56px, 7vw, 104px);

    --color-content-primary: #3a2418;
    --color-content-secondary: #c47b3e;
    --color-content-accent: #96591f;
    --color-content-bg: #f7f1e8;
    --color-content-bg-alt: #fffdfa;
    --color-content-heading: #241510;
    --color-content-text: #241510;
    --color-content-faded: #6e5a4c;
    --color-content-link: #96591f;
    --color-content-border: rgba(58, 36, 24, .17);
    --color-content-btn-bg: #3a2418;
    --color-content-btn-text: #ffffff;
    --fx-radius: 0px;
    --fx-radius-sm: 0px;
    --fx-radius-lg: 0px;
    --fx-btn-radius: 0px;
    --fx-input-radius: 0px;
    --fx-shadow: none;
}

html body {
    background-color: var(--brewc-paper);
    color: var(--brewc-ink);
    font-family: var(--brewc-font);
    font-size: 17px;
    line-height: 1.62;
    -webkit-font-smoothing: antialiased;
}

body.fx-skin-glass {
    background-color: var(--brewc-paper);
    background-image: none;
}

body h1,
body h2,
body h3,
body h4,
body h5,
body .t-section-title,
body .t-card-title,
body .t-hero-title {
    font-family: var(--brewc-font-display);
    color: var(--brewc-ink);
    font-weight: 600;
    letter-spacing: -.012em;
    line-height: 1.12;
}

body p {
    margin: 0 0 1.05em;
}

body a {
    color: var(--brewc-copper-dark);
    text-decoration: none;
}

body * {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* ============ layout skeleton ============ */

body .t-container,
body .fx-header-inner,
body .t-rich-footer > .t-container {
    max-width: var(--brewc-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--brewc-gutter);
    padding-right: var(--brewc-gutter);
    box-sizing: border-box;
}

body .fx-header-inner {
    max-width: var(--brewc-max-wide);
}

body .t-section {
    padding-top: var(--brewc-band);
    padding-bottom: var(--brewc-band);
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    background-color: var(--brewc-paper);
    position: relative;
}

body.fx-skin-glass .t-section {
    background-color: var(--brewc-paper);
    border-radius: 0;
    margin: 0;
    box-shadow: none;
}

body.fx-skin-glass section.t-section--soft,
body section.t-section--soft {
    background-color: var(--brewc-paper);
}

body.fx-skin-glass section.t-section--soft:nth-of-type(even),
body section.t-section--soft:nth-of-type(even) {
    background-color: var(--brewc-paper-2);
}

body.fx-skin-glass section.t-section--navy,
body section.t-section--navy {
    background-color: var(--brewc-deep);
    color: var(--brewc-crema);
    border-radius: 0;
    margin: 0;
}

body section.t-section--navy h1,
body section.t-section--navy h2,
body section.t-section--navy h3,
body section.t-section--navy h4,
body section.t-section--navy .t-section-title,
body section.t-section--navy .t-card-title {
    color: var(--brewc-paper-2);
}

body section.t-section--navy p,
body section.t-section--navy li,
body section.t-section--navy .t-section-subtitle,
body section.t-section--navy .t-lead {
    color: var(--brewc-muted-dark);
}

body .t-section > .t-container {
    text-align: left;
}

/* ============ type scale ============ */

body h1.t-section-title,
body .t-hero-title {
    font-size: clamp(2.35rem, 4.6vw, 3.9rem);
    text-align: left;
    margin: 0 0 .32em;
    letter-spacing: -.02em;
}

body h2.t-section-title {
    font-size: clamp(1.72rem, 2.7vw, 2.5rem);
    text-align: left;
    margin: 0 0 .5em;
    max-width: 22ch;
}

body h3,
body .t-card-title {
    font-size: 1.24rem;
    margin: 0 0 .42em;
}

body .t-section-subtitle,
body .t-lead {
    font-family: var(--brewc-font);
    font-size: 1.06rem;
    color: var(--brewc-muted);
    max-width: 62ch;
    margin: 0 0 1.6em;
    text-align: left;
}

body .t-label,
body .brewc-eyebrow {
    font-family: var(--brewc-font);
    font-size: .715rem;
    font-weight: 600;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--brewc-copper-dark);
    display: block;
    margin: 0 0 1.05em;
}

body section.t-section--navy .t-label,
body section.t-section--navy .brewc-eyebrow {
    color: var(--brewc-crema);
}

/* ============ buttons ============ */

body.fx-skin-glass .t-btn-primary,
body.fx-skin-glass .t-btn-ghost,
body.fx-skin-glass .t-btn-outline,
body.fx-skin-glass .t-hero-full .t-btn-primary,
body.fx-skin-glass .t-hero-full .t-btn-ghost,
body.fx-skin-glass .t-section--navy .t-btn-ghost,
body .t-btn-primary,
body .t-btn-ghost,
body .t-btn-outline,
body .wp-block-button .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--brewc-font);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .085em;
    text-transform: uppercase;
    padding: 15px 30px;
    border-radius: 0;
    border: 1px solid transparent;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}

body.fx-skin-glass .t-btn-primary,
body .t-btn-primary,
body .wp-block-button .wp-block-button__link {
    background-image: none;
    background-color: var(--brewc-espresso);
    color: #fff;
    border-color: var(--brewc-espresso);
    box-shadow: none;
}

body.fx-skin-glass .t-btn-primary:hover,
body .t-btn-primary:hover,
body .wp-block-button .wp-block-button__link:hover {
    background-image: none;
    background-color: var(--brewc-copper-dark);
    border-color: var(--brewc-copper-dark);
    color: #fff;
}

body.fx-skin-glass .t-btn-ghost,
body.fx-skin-glass .t-hero-full .t-btn-ghost,
body.fx-skin-glass .t-section--navy .t-btn-ghost,
body .t-btn-ghost,
body .t-btn-outline {
    background-image: none;
    background-color: transparent;
    color: var(--brewc-espresso);
    border-color: var(--brewc-espresso);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
}

body.fx-skin-glass .t-btn-ghost:hover,
body.fx-skin-glass .t-hero-full .t-btn-ghost:hover,
body .t-btn-ghost:hover,
body .t-btn-outline:hover {
    background-color: var(--brewc-espresso);
    color: #fff;
    border-color: var(--brewc-espresso);
}

body section.t-section--navy .t-btn-ghost,
body.fx-skin-glass section.t-section--navy .t-btn-ghost,
body .t-hero-full .t-btn-ghost,
body.fx-skin-glass .t-hero-full .t-btn-ghost {
    color: var(--brewc-crema);
    border-color: var(--brewc-crema);
}

body section.t-section--navy .t-btn-ghost:hover,
body.fx-skin-glass section.t-section--navy .t-btn-ghost:hover,
body .t-hero-full .t-btn-ghost:hover,
body.fx-skin-glass .t-hero-full .t-btn-ghost:hover {
    background-color: var(--brewc-crema);
    color: var(--brewc-deep);
    border-color: var(--brewc-crema);
}

body .t-btn-link {
    --t-accent: var(--brewc-copper-dark);
    font-family: var(--brewc-font);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body .t-btn-link:hover {
    --t-accent: var(--brewc-espresso);
}

body .t-hero-btns,
body .brewc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

/* ============ cards ============ */

body .t-card,
body.fx-skin-glass .t-card {
    background-color: transparent;
    background-image: none;
    border: 0;
    border-top: 1px solid var(--brewc-line);
    border-radius: 0;
    box-shadow: none;
    padding: 22px 0 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    display: flex;
    flex-direction: column;
    transition: border-color .25s ease;
}

body .t-card:hover,
body.fx-skin-glass .t-card:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--brewc-copper);
}

body section.t-section--navy .t-card,
body.fx-skin-glass section.t-section--navy .t-card {
    border-top-color: var(--brewc-line-dark);
    background-color: transparent;
}

body .t-card-img,
body.fx-skin-glass .t-card-img {
    height: auto;
    margin: 0 0 18px;
    border-radius: 0;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: none;
    order: -1;
}

body .t-card-img img,
body .t-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
    transition: transform .5s ease;
}

body .t-card:hover .t-card-img img {
    transform: scale(1.035);
}

body .t-card-body {
    font-size: .97rem;
    color: var(--brewc-muted);
    margin: 0;
}

body section.t-section--navy .t-card-body {
    color: var(--brewc-muted-dark);
}

body .t-card:not(:has(> .t-card-title)):not(:has(> .t-card-body)) {
    padding: 26px 0 0;
}

body .t-card > .t-card-title:only-child {
    padding: 0 0 20px;
}

body .t-card--link {
    position: relative;
    padding-bottom: 20px;
}

body .t-card--link .t-card-title::after {
    content: "\00a0→";
    color: var(--brewc-copper-dark);
    white-space: nowrap;
}

body .t-card-title + div:not(.t-card-body) {
    font-family: var(--brewc-font);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--brewc-copper-dark);
    margin: -2px 0 12px;
}

body section.t-section--navy .t-card-title + div:not(.t-card-body) {
    color: var(--brewc-crema);
}

body .t-card blockquote.t-card-body {
    flex: 1 1 auto;
}

/* ============ grids ============ */

body .t-grid {
    display: grid;
    gap: 40px 38px;
    align-items: start;
}

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

body .t-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body .t-grid--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

body .t-grid--5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 34px 26px;
}

body .t-grid--2:has(.wpcf7) {
    align-items: start;
}

body .t-grid--3:has(> .t-card:nth-child(4):last-child) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body .t-grid--3:has(> .t-card:only-child) {
    grid-template-columns: 1fr;
}

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

body .t-hero-full {
    position: relative;
    min-height: clamp(560px, 76vh, 800px);
    display: flex;
    align-items: center;
    border-radius: 0;
    overflow: hidden;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body .t-hero-full::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(97deg, rgba(20, 11, 5, .88) 0%, rgba(20, 11, 5, .74) 38%, rgba(20, 11, 5, .28) 74%, rgba(20, 11, 5, .12) 100%);
    z-index: 0;
}

body .t-hero-full > .t-container {
    position: relative;
    z-index: 1;
    text-align: left;
}

body .t-hero-full .t-hero-title,
body .t-hero-full h1 {
    color: #fff;
    max-width: 16ch;
    text-shadow: none;
}

body .t-hero-full p,
body .t-hero-full .t-lead,
body .t-hero-full .t-section-subtitle {
    color: rgba(255, 251, 245, .84);
    max-width: 48ch;
    font-size: 1.08rem;
}

body .t-hero-full .t-label,
body .t-hero-full .brewc-eyebrow {
    color: var(--brewc-crema);
}

body .t-hero-tag {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    background-color: rgba(232, 200, 154, .16);
    border: 1px solid var(--brewc-line-dark);
    color: var(--brewc-crema);
    font-family: var(--brewc-font);
    font-size: .72rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    padding: 7px 14px;
}

/* ============ header ============ */

body .fx-header {
    background-color: var(--brewc-paper-2);
    border-bottom: 1px solid var(--brewc-line);
    box-shadow: none;
}

body .fx-header-inner {
    display: flex;
    align-items: stretch;
    gap: 26px;
    min-height: 76px;
}

body .fx-header--logo-center .fx-header-inner,
body .fx-header-inner {
    justify-content: flex-start;
    position: static;
}

body .fx-logo,
body .fx-header--logo-center .fx-logo {
    position: static;
    left: auto;
    transform: none;
    flex-basis: auto;
    display: flex;
    align-items: center;
    text-align: left;
}

body .fx-logo-wordmark {
    font-family: var(--brewc-font-display);
    font-size: 1.42rem;
    font-weight: 600;
    letter-spacing: .005em;
    color: var(--brewc-espresso);
}

body .fx-logo-dot {
    color: var(--brewc-copper);
}

body .fx-nav {
    margin-left: auto;
    align-self: stretch;
    display: flex;
}

body .fx-nav-list {
    display: flex;
    align-items: stretch;
    gap: 4px;
    margin: 0;
    padding: 0;
    list-style: none;
    height: 100%;
}

body .fx-nav-list > li {
    position: relative;
    display: flex;
    align-items: stretch;
    list-style: none;
}

body .fx-nav-list > li > .fx-nav-link,
body .fx-nav-list > li > a {
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 14px;
    font-family: var(--brewc-font);
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .085em;
    text-transform: uppercase;
    color: var(--brewc-espresso);
    background: transparent;
    position: relative;
}

body .fx-nav-list > li > .fx-nav-link::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 22px;
    height: 1px;
    background-color: var(--brewc-copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;
}

body .fx-nav-list > li > .fx-nav-link:hover,
body .fx-nav-list > li.current-menu-item > .fx-nav-link,
body .fx-nav-list > li.current-menu-parent > .fx-nav-link,
body .fx-nav-list > li.current-menu-ancestor > .fx-nav-link {
    color: var(--brewc-copper-dark);
    background: transparent;
}

body .fx-nav-list > li > .fx-nav-link:hover::after,
body .fx-nav-list > li.current-menu-item > .fx-nav-link::after,
body .fx-nav-list > li.current-menu-ancestor > .fx-nav-link::after {
    transform: scaleX(1);
}

body .fx-nav-list > li.menu-item-has-children > .fx-nav-link {
    padding-right: 24px;
}

body .fx-nav-list > li.menu-item-has-children > .fx-nav-link::before {
    content: "";
    position: absolute;
    right: 11px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    opacity: .55;
}

/* The live nav ships its own chevron SVG; do not draw a second one. */
body .fx-nav-list > li.menu-item-has-children > .fx-nav-link:has(.fx-nav-chevron)::before {
    content: none;
}

body .fx-nav-list > li.menu-item-has-children > .fx-nav-link:has(.fx-nav-chevron) {
    padding-right: 14px;
    gap: 6px;
}

body .fx-nav-chevron {
    width: 10px;
    height: 10px;
    opacity: .55;
    transition: transform .22s ease;
}

body .fx-nav-list > li:hover > .fx-nav-link .fx-nav-chevron {
    transform: rotate(180deg);
}

/* ---- mega menu: the live nav type, absent from a clean ddev install ---- */

body .fx-mega-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 2px;
    min-width: 254px;
    padding: 10px 0;
    background-color: var(--brewc-paper-2);
    border: 1px solid var(--brewc-line);
    border-top: 2px solid var(--brewc-copper);
    border-radius: 0;
    box-shadow: 0 26px 44px -26px rgba(28, 17, 10, .42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: none;
    z-index: 40;
}

body .fx-nav-list > li:nth-last-child(-n+3) .fx-mega-menu {
    left: auto;
    right: 2px;
}

body .fx-nav-list > li:hover > .fx-mega-menu,
body .fx-nav-list > li:focus-within > .fx-mega-menu,
body .fx-mega-menu.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity .18s ease, transform .18s ease;
}

body .fx-mega-inner {
    display: block;
    padding: 0;
    gap: 0;
}

body .fx-mega-list {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

body .fx-mega-list li {
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
}

body .fx-mega-list li::marker {
    content: "";
}

body .fx-mega-list li + li {
    border-top: 1px solid var(--brewc-line-soft);
}

body .fx-mega-list a,
body .fx-mega-menu .fx-nav-link {
    display: block;
    position: relative;
    padding: 12px 40px 12px 22px;
    font-family: var(--brewc-font);
    font-size: .94rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    color: var(--brewc-espresso);
    transition: background-color .2s ease, color .2s ease;
}

body .fx-mega-list a::after {
    content: "→";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(-6px, -50%);
    color: var(--brewc-copper-dark);
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

body .fx-mega-list a:hover {
    background-color: var(--brewc-paper);
    color: var(--brewc-copper-dark);
}

body .fx-mega-list a:hover::after {
    opacity: 1;
    transform: translate(0, -50%);
}

body .fx-mega-menu .fx-mega-heading,
body .fx-mega-menu h4 {
    font-family: var(--brewc-font);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brewc-muted);
    margin: 0;
    padding: 12px 22px 6px;
}

/* ---- dropdown: markup emits .sub-menu, parent styles .fx-sub-menu ---- */

body .fx-nav-list > li.menu-item-has-children::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
    opacity: 0;
    pointer-events: none;
}

body .fx-nav-list > li.menu-item-has-children:hover::before {
    opacity: 1;
    pointer-events: auto;
}

body .fx-nav-list .sub-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 2px;
    right: auto;
    display: block;
    min-width: 254px;
    margin: 0;
    padding: 10px 0;
    list-style: none;
    background-color: var(--brewc-paper-2);
    border: 1px solid var(--brewc-line);
    border-top: 2px solid var(--brewc-copper);
    box-shadow: 0 26px 44px -26px rgba(28, 17, 10, .42);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: none;
    z-index: 40;
}

body .fx-nav-list > li:nth-last-child(-n+3) .sub-menu {
    left: auto;
    right: 2px;
}

body .fx-nav-list > li:hover > .sub-menu,
body .fx-nav-list > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: opacity .18s ease, transform .18s ease;
}

body .fx-nav-list .sub-menu li {
    list-style: none;
    margin: 0;
    display: block;
}

body .fx-nav-list .sub-menu li::marker {
    content: "";
}

body .fx-nav-list .sub-menu li + li {
    border-top: 1px solid var(--brewc-line-soft);
}

body .fx-nav-list .sub-menu a {
    display: block;
    position: relative;
    padding: 12px 40px 12px 22px;
    font-family: var(--brewc-font);
    font-size: .94rem;
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    color: var(--brewc-espresso);
    transition: background-color .2s ease, color .2s ease;
}

body .fx-nav-list .sub-menu a::after {
    content: "→";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translate(-6px, -50%);
    color: var(--brewc-copper-dark);
    opacity: 0;
    transition: opacity .2s ease, transform .2s ease;
}

body .fx-nav-list .sub-menu a:hover {
    background-color: var(--brewc-paper);
    color: var(--brewc-copper-dark);
}

body .fx-nav-list .sub-menu a:hover::after {
    opacity: 1;
    transform: translate(0, -50%);
}

body .fx-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 8px;
}

body .fx-header-actions .fx-nav-search-toggle {
    color: var(--brewc-espresso);
}

body .fx-nav-cta.t-btn-primary {
    --fx-fs-nav-btn: .74rem;
    --color-content-primary: var(--brewc-copper-dark);
    -webkit-text-fill-color: #fff;
    border-radius: 0;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

body .fx-nav-cta.t-btn-primary:hover {
    --color-content-primary: var(--brewc-espresso);
}

/* ---- search panel: panel is inline-positioned, style the inner form only ---- */

body .fx-nav-search-form {
    z-index: 45;
    --color-bg: var(--brewc-paper-2);
    --fx-radius: 0px;
    border-bottom: 1px solid var(--brewc-line);
}

body .fx-nav-search-form form {
    align-items: center;
}

body .fx-nav-search-form input[type="search"] {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
}

body .fx-nav-search-form .t-btn-primary,
body .fx-nav-search-form button,
body .fx-nav-search-form input[type="submit"] {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    padding: 14px 22px;
}

body .fx-nav-search-form input[type="search"] {
    --fx-input-bg: transparent;
    --fx-input-border: transparent;
    --fx-input-focus: transparent;
    --color-content-border: transparent;
    --fx-radius: 0px;
    font-family: var(--brewc-font-display);
    font-size: 1.22rem;
    color: var(--brewc-ink);
    box-shadow: inset 0 -1px 0 var(--brewc-line);
    padding: 12px 2px;
}

body .fx-nav-search-form input[type="search"]::placeholder {
    color: var(--brewc-muted);
    opacity: 1;
}

body .fx-nav-search-form input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background-color: var(--brewc-muted);
    mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18 6 6 18M6 6l12 12' stroke='black' stroke-width='2.4' fill='none' stroke-linecap='round'/></svg>") center / contain no-repeat;
    cursor: pointer;
}

body .amazingsearch-popup,
body {
    --amazingsearch-popup-border: var(--brewc-line);
    --amazingsearch-popup-hover-bg: var(--brewc-paper);
    --amazingsearch-popup-highlight: var(--brewc-copper-dark);
    --amazingsearch-popup-price: var(--brewc-espresso);
}

/* ============ mobile nav ============ */

body .fx-nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    padding: 8px;
    cursor: pointer;
    color: var(--brewc-espresso);
}

body .fx-nav-mobile {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--brewc-paper-2);
    border-top: 0 solid var(--brewc-line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .38s ease;
    z-index: 44;
}

body .fx-nav-mobile[aria-hidden="false"],
body .fx-nav-mobile.is-open,
body .fx-nav-mobile.fx-open {
    max-height: calc(100vh - 76px);
    border-top-width: 1px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

body .fx-nav-mobile-list,
body .fx-nav-mobile ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body .fx-nav-mobile-list li,
body .fx-nav-mobile li {
    list-style: none;
    margin: 0;
}

body .fx-nav-mobile-list li::marker,
body .fx-nav-mobile li::marker {
    content: "";
}

body .fx-nav-mobile-list > li > a,
body .fx-nav-mobile > ul > li > a {
    display: block;
    position: relative;
    padding: 16px var(--brewc-gutter);
    font-family: var(--brewc-font);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--brewc-espresso);
    border-bottom: 1px solid var(--brewc-line-soft);
}

body .fx-nav-mobile-list > li.menu-item-has-children > a::after,
body .fx-nav-mobile > ul > li.menu-item-has-children > a::after {
    content: "";
    position: absolute;
    right: var(--brewc-gutter);
    top: 21px;
    width: 7px;
    height: 7px;
    border-right: 1.6px solid var(--brewc-copper);
    border-bottom: 1.6px solid var(--brewc-copper);
    transform: rotate(45deg);
    transition: transform .28s ease;
}

body .fx-nav-mobile-list > li.is-open > a::after,
body .fx-nav-mobile > ul > li.is-open > a::after {
    transform: rotate(-135deg);
}

body .fx-nav-mobile .sub-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    margin: 0;
    border: 0;
    box-shadow: none;
    background-color: var(--brewc-paper);
    transition: max-height .34s ease;
}

body .fx-nav-mobile li.is-open > .sub-menu {
    max-height: 900px;
}

body .fx-nav-mobile .sub-menu a {
    display: block;
    padding: 13px var(--brewc-gutter) 13px calc(var(--brewc-gutter) + 16px);
    font-family: var(--brewc-font);
    font-size: .95rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brewc-muted);
    border-bottom: 1px solid var(--brewc-line-soft);
}

body .fx-nav-mobile .brewc-mobile-cta {
    display: block;
    margin: 18px var(--brewc-gutter) 26px;
    text-align: center;
    width: auto;
}

/* ============ inputs & forms ============ */

body input[type="text"],
body input[type="email"],
body input[type="tel"],
body input[type="search"],
body input[type="url"],
body input[type="number"],
body input[type="password"],
body input[type="date"],
body textarea,
body select,
body .wpcf7-form input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="file"]),
body .wpcf7-form textarea,
body .wpcf7-form select {
    --fx-input-bg: var(--brewc-paper-2);
    --fx-input-border: var(--brewc-line);
    --fx-input-focus: var(--brewc-copper);
    --fx-radius: 0px;
    font-family: var(--brewc-font);
    font-size: 1rem;
    color: var(--brewc-ink);
    background-color: var(--brewc-paper-2);
    border: 1px solid var(--brewc-line);
    border-radius: 0;
    padding: 13px 15px;
    box-sizing: border-box;
    width: 100%;
}

body textarea,
body .wpcf7-form textarea {
    min-height: 168px;
    resize: vertical;
}

body input::placeholder,
body textarea::placeholder {
    color: var(--brewc-muted);
    opacity: 1;
}

body input:focus,
body textarea:focus,
body select:focus {
    border-color: var(--brewc-copper);
    outline: none;
    box-shadow: none;
}

body .wpcf7-form {
    --fx-radius: 0px;
}

body .wpcf7-form p {
    margin: 0 0 16px;
}

body .wpcf7-form label {
    display: block;
    font-family: var(--brewc-font);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brewc-muted);
    margin-bottom: 7px;
}

body .wpcf7-form label:has(.wpcf7-acceptance),
body .wpcf7-form .wpcf7-list-item label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .93rem;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
    color: var(--brewc-muted);
    line-height: 1.5;
    margin: 0;
    cursor: pointer;
}

body .wpcf7-form .wpcf7-acceptance,
body .wpcf7-form .wpcf7-list-item {
    display: block;
    margin: 0;
}

body .wpcf7-form input[type="checkbox"],
body .wpcf7-form input[type="radio"],
body input[type="checkbox"],
body input[type="radio"] {
    width: 18px;
    height: 18px;
    min-width: 18px;
    flex: 0 0 18px;
    margin: 2px 0 0;
    padding: 0;
    border: 1px solid var(--brewc-line);
    border-radius: 0;
    accent-color: var(--brewc-espresso);
    cursor: pointer;
}

body .wpcf7-form input[type="radio"],
body input[type="radio"] {
    border-radius: 50%;
}

body .wpcf7-form .wpcf7-list-item-label {
    display: block;
}

body .wpcf7-form label:has(.wpcf7-acceptance) {
    margin: 6px 0 22px;
}

body .wpcf7-form input[type="submit"] {
    width: auto;
    background-color: var(--brewc-espresso);
    color: #fff;
    border: 1px solid var(--brewc-espresso);
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: .085em;
    text-transform: uppercase;
    padding: 15px 32px;
    cursor: pointer;
    transition: background-color .25s ease, border-color .25s ease;
}

body .wpcf7-form input[type="submit"]:hover {
    background-color: var(--brewc-copper-dark);
    border-color: var(--brewc-copper-dark);
}

/* ============ newsletter (left aligned, never centred) ============ */

body .fx-newsletter,
body .brewc-newsletter {
    margin: 0;
    max-width: none;
    text-align: left;
}

body .fx-newsletter > div {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-start;
    max-width: 520px;
    margin: 0;
}

body .fx-newsletter input[type="email"] {
    min-width: 240px;
    background-color: rgba(255, 253, 250, .07);
    border-color: var(--brewc-line-dark);
    color: var(--brewc-paper-2);
}

body .fx-newsletter input[type="email"]::placeholder {
    color: var(--brewc-muted-dark);
    opacity: 1;
}

body .fx-newsletter .t-btn-primary {
    width: auto;
    min-width: 150px;
}

/* ============ footer ============ */

body .t-rich-footer,
body .fx-footer,
body footer.t-footer {
    margin-top: 0;
    background-color: var(--brewc-deep);
    color: var(--brewc-muted-dark);
    border-radius: 0;
}

body.fx-arch-showcase .t-rich-footer {
    padding-top: clamp(56px, 6vw, 84px);
    margin-top: 0;
}

body .t-section--navy + .t-rich-footer,
body .t-section--navy + .t-footer,
body .t-section--navy + footer {
    margin-top: 0;
    border-top: 1px solid var(--brewc-line-dark);
}

body .t-rich-footer-grid,
body.fx-arch-showcase .t-rich-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px 38px;
    text-align: left;
    padding-bottom: clamp(40px, 5vw, 64px);
}

body .t-rich-footer-col h3,
body .t-rich-footer-col h4,
body.fx-arch-showcase .t-rich-footer-col h4 {
    font-family: var(--brewc-font);
    font-size: .715rem;
    font-weight: 600;
    letter-spacing: .19em;
    text-transform: uppercase;
    color: var(--brewc-crema);
    margin: 0 0 18px;
}

body .t-footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

body .t-footer-menu li {
    list-style: none;
    margin: 0 0 10px;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--brewc-muted-dark);
}

body .t-footer-menu li::marker {
    content: "";
}

body .t-footer-menu a {
    color: var(--brewc-muted-dark);
    border-bottom: 1px solid transparent;
    transition: color .22s ease, border-color .22s ease;
}

body .t-footer-menu a:hover {
    color: var(--brewc-crema);
    border-bottom-color: var(--brewc-copper);
}

body .t-rich-footer-social,
body .fx-footer-social {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    padding: 26px 0 0;
    border-top: 1px solid var(--brewc-line-dark);
}

body .t-rich-footer-social a,
body .fx-social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--brewc-line-dark);
    color: var(--brewc-crema);
    border-radius: 0;
    transition: background-color .22s ease, color .22s ease;
}

body .t-rich-footer-social a:hover,
body .fx-social-icon:hover {
    background-color: var(--brewc-crema);
    color: var(--brewc-deep);
}

body .t-rich-footer-social svg,
body .fx-social-icon svg {
    fill: currentColor;
}

body .t-rich-footer-social svg[fill="none"],
body .fx-social-icon svg[fill="none"] {
    fill: none;
}

body .t-rich-footer a,
body .fx-footer a,
body footer.t-footer a,
body section.t-section--navy a:not(.t-btn-primary):not(.t-btn-ghost) {
    color: var(--brewc-crema);
}

body .t-rich-footer a:hover,
body section.t-section--navy a:not(.t-btn-primary):not(.t-btn-ghost):hover {
    color: #fff;
}

body .t-rich-footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 26px;
    padding: 24px 0 0;
    margin-top: 26px;
    border-top: 1px solid var(--brewc-line-dark);
    font-family: var(--brewc-font);
    font-size: .82rem;
}

body .t-rich-footer-legal a {
    color: var(--brewc-muted-dark);
    border-bottom: 1px solid transparent;
}

body .t-rich-footer-legal a:hover {
    color: var(--brewc-crema);
    border-bottom-color: var(--brewc-copper);
}

body .brewc-form-fallback .brewc-actions {
    margin-top: 18px;
}

body .t-rich-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 28px;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 24px 0 30px;
    border-top: 1px solid var(--brewc-line-dark);
    margin-top: 26px;
    font-size: .85rem;
    color: var(--brewc-muted-dark);
}

body .fx-footer-newsletter {
    --color-content-primary: var(--brewc-copper);
    gap: 10px;
}

body .fx-footer-newsletter input[type="email"] {
    --fx-radius: 0px;
    background-color: rgba(255, 253, 250, .07);
    border: 1px solid var(--brewc-line-dark);
    color: var(--brewc-paper-2);
    border-radius: 0;
}

body .fx-footer-newsletter button {
    -webkit-text-fill-color: var(--brewc-deep);
    border-radius: 0;
    font-family: var(--brewc-font);
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
}

/* ============ floating buttons ============ */

body .fx-fab-stack a,
body .fx-fab-stack button,
body .fx-back-to-top {
    border-radius: 0;
    background-color: var(--brewc-espresso);
    color: var(--brewc-crema);
    box-shadow: none;
}

/* ============ WooCommerce ============ */

body ul.products,
body.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

body ul.products::before,
body ul.products::after,
body.woocommerce ul.products::before,
body.woocommerce ul.products::after {
    content: none;
    display: none;
}

body ul.products li.product.type-product,
body.woocommerce ul.products li.product.type-product {
    width: auto;
    float: none;
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--brewc-line);
    padding-top: 20px;
}

body ul.products li.product.type-product img,
body.woocommerce ul.products li.product.type-product img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 0;
    margin: 0 0 16px;
}

body ul.products li.product.type-product .woocommerce-loop-product__title,
body.woocommerce ul.products li.product.type-product h2 {
    font-family: var(--brewc-font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--brewc-ink);
    padding: 0;
    margin: 0 0 8px;
}

body ul.products li.product.type-product .price,
body.woocommerce ul.products li.product.type-product .price {
    font-family: var(--brewc-font);
    font-size: .98rem;
    font-weight: 600;
    color: var(--brewc-espresso);
    font-variant-numeric: tabular-nums;
}

body.woocommerce ul.products li.product.type-product a.button,
body ul.products li.product.type-product a.button {
    display: inline-block;
    margin-top: 12px;
    background-color: transparent;
    color: var(--brewc-espresso);
    border: 1px solid var(--brewc-espresso);
    border-radius: 0;
    font-family: var(--brewc-font);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 11px 20px;
}

body.woocommerce ul.products li.product.type-product a.button:hover,
body ul.products li.product.type-product a.button:hover {
    background-color: var(--brewc-espresso);
    color: #fff;
}

body.woocommerce div.product p.price,
body.woocommerce div.product span.price {
    color: var(--brewc-espresso);
    font-family: var(--brewc-font);
    font-weight: 600;
    font-size: 1.5rem;
}

body .single_add_to_cart_button.button.alt,
body.woocommerce .single_add_to_cart_button.button.alt {
    background-color: var(--brewc-espresso);
    color: #fff;
    border-radius: 0;
    font-family: var(--brewc-font);
    font-weight: 600;
    letter-spacing: .09em;
    text-transform: uppercase;
    padding: 15px 32px;
}

body .single_add_to_cart_button.button.alt:hover,
body.woocommerce .single_add_to_cart_button.button.alt:hover {
    background-color: var(--brewc-copper-dark);
}

body div.quantity input.qty.text,
body.woocommerce div.quantity input.qty.text {
    border-radius: 0;
    border: 1px solid var(--brewc-line);
    padding: 13px 10px;
    width: 80px;
}

body.woocommerce div.product .woocommerce-tabs ul.tabs {
    padding: 0;
    margin: 0 0 26px;
    border-bottom: 1px solid var(--brewc-line);
}

body.woocommerce div.product .woocommerce-tabs ul.tabs li,
body.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    margin: 0 26px 0 0;
    padding: 0;
}

body.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
body.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
    content: none;
    display: none;
}

body.woocommerce div.product .woocommerce-tabs ul.tabs li a {
    font-family: var(--brewc-font);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brewc-muted);
    padding: 0 0 14px;
    display: block;
}

body.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
    color: var(--brewc-espresso);
    box-shadow: inset 0 -2px 0 var(--brewc-copper);
}

body.woocommerce div.product .woocommerce-Tabs-panel > h2 {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

body nav.woocommerce-pagination ul {
    border: 0;
    display: flex;
    gap: 8px;
}

body nav.woocommerce-pagination ul li {
    border: 0;
}

body nav.woocommerce-pagination ul li a,
body nav.woocommerce-pagination ul li span.current {
    background-color: transparent;
    color: var(--brewc-espresso);
    border: 1px solid var(--brewc-line);
    border-radius: 0;
    padding: 9px 15px;
}

body nav.woocommerce-pagination ul li span.current {
    background-color: var(--brewc-espresso);
    color: #fff;
    border-color: var(--brewc-espresso);
}

body .woocommerce-ordering select,
body .woocommerce-ordering {
    --fx-radius: 0px;
}

body .wp-block-woocommerce-cart,
body .wp-block-woocommerce-checkout {
    max-width: var(--brewc-max);
    margin: 0 auto;
    padding: clamp(40px, 5vw, 72px) var(--brewc-gutter);
    box-sizing: border-box;
}

body.woocommerce .woocommerce-breadcrumb,
body .woocommerce-breadcrumb {
    font-family: var(--brewc-font);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--brewc-muted);
    margin: 0 0 18px;
}

body.woocommerce .woocommerce-breadcrumb a,
body .woocommerce-breadcrumb a {
    color: var(--brewc-muted);
}

body.woocommerce .woocommerce-breadcrumb a:hover,
body .woocommerce-breadcrumb a:hover {
    color: var(--brewc-espresso);
}

body.woocommerce h1.page-title,
body .woocommerce-products-header__title {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin: 0 0 28px;
}

body.woocommerce p.woocommerce-result-count,
body .woocommerce-result-count {
    font-family: var(--brewc-font);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brewc-muted);
    margin: 0;
    padding: 18px 0;
    border-top: 1px solid var(--brewc-line);
    float: none;
}

body.woocommerce form.woocommerce-ordering,
body form.woocommerce-ordering {
    float: none;
    margin: 0;
    padding: 12px 0;
}

body.woocommerce form.woocommerce-ordering select,
body form.woocommerce-ordering select {
    width: auto;
    min-width: 210px;
    font-family: var(--brewc-font);
    font-size: .82rem;
    padding: 11px 14px;
}

body.woocommerce .woocommerce-notices-wrapper .woocommerce-info,
body .woocommerce-info,
body .woocommerce-message {
    background-color: var(--brewc-paper-2);
    border-top: 2px solid var(--brewc-copper);
    border-radius: 0;
    color: var(--brewc-ink);
    font-family: var(--brewc-font);
    font-size: .95rem;
}

body .woocommerce-info::before,
body .woocommerce-message::before {
    color: var(--brewc-copper-dark);
}

body.woocommerce div.product .woocommerce-product-gallery img {
    border-radius: 0;
}

body.woocommerce div.product .product_title {
    font-size: clamp(1.9rem, 3.2vw, 2.7rem);
    margin: 0 0 .3em;
}

body.woocommerce div.product .woocommerce-product-details__short-description {
    color: var(--brewc-muted);
    max-width: 54ch;
}

body.woocommerce #reviews h2,
body.woocommerce div.product .related > h2,
body.woocommerce div.product .upsells > h2 {
    font-size: 1.5rem;
    margin: 0 0 26px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--brewc-line);
}

body .wc-block-grid__products,
body .wp-block-woocommerce-product-new .wc-block-grid__products {
    gap: 36px 30px;
}

body .wc-block-grid__product,
body .wc-block-product-template .wc-block-product {
    text-align: left;
    border-top: 1px solid var(--brewc-line);
    padding-top: 20px;
    margin: 0;
}

body .wc-block-grid__product-image img,
body .wc-block-product-template img {
    border-radius: 0;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin: 0 0 16px;
}

body .wc-block-grid__product-title,
body .wc-block-components-product-name {
    font-family: var(--brewc-font-display);
    font-size: 1.06rem;
    font-weight: 600;
    color: var(--brewc-ink);
    text-align: left;
}

body .wc-block-grid__product-price,
body .wc-block-components-product-price {
    font-family: var(--brewc-font);
    font-size: .96rem;
    font-weight: 600;
    color: var(--brewc-espresso);
    font-variant-numeric: tabular-nums;
    text-align: left;
    display: block;
}

body .wc-block-grid__product-add-to-cart .wp-block-button__link,
body .wc-block-components-button:not(.is-link) {
    background-color: var(--brewc-espresso);
    color: #fff;
    border-radius: 0;
    font-family: var(--brewc-font);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 13px 24px;
}

body .wc-block-components-button:not(.is-link):hover {
    background-color: var(--brewc-copper-dark);
}

body .wp-block-woocommerce-empty-cart-block,
body .wc-block-cart__empty-cart__title {
    text-align: left;
}

body .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    border-radius: 0;
}

body .wc-block-components-panel,
body .wc-block-cart-items,
body .wc-block-components-totals-item {
    border-radius: 0;
}

body table.wc-block-cart-items th,
body .wc-block-cart-items__header {
    font-family: var(--brewc-font);
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brewc-muted);
}

/* ============ tables ============ */

body .brewc-table-wrap {
    overflow-x: auto;
}

body .brewc-table {
    width: 100%;
    border-collapse: collapse;
    font-family: var(--brewc-font);
    font-size: .95rem;
    font-variant-numeric: tabular-nums;
}

body .brewc-table th {
    text-align: left;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--brewc-muted);
    padding: 0 18px 12px 0;
    border-bottom: 1px solid var(--brewc-line);
}

body .brewc-table td {
    padding: 15px 18px 15px 0;
    border-bottom: 1px solid var(--brewc-line-soft);
    color: var(--brewc-ink);
    vertical-align: top;
}

body section.t-section--navy .brewc-table th {
    color: var(--brewc-crema);
    border-bottom-color: var(--brewc-line-dark);
}

body section.t-section--navy .brewc-table td {
    color: var(--brewc-muted-dark);
    border-bottom-color: var(--brewc-line-dark);
}

/* ============ brewc components ============ */

body .brewc-split {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: clamp(34px, 5vw, 76px);
    align-items: center;
}

body .brewc-split--reverse > *:first-child {
    order: 2;
}

body .brewc-split:has(.wpcf7) {
    align-items: start;
}

body .brewc-split:has(.wpcf7) .brewc-figure {
    position: sticky;
    top: 108px;
    aspect-ratio: 4 / 5;
}

body .brewc-split figure,
body .brewc-figure {
    margin: 0;
    overflow: hidden;
}

body .brewc-split img,
body .brewc-figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

body .brewc-figure {
    aspect-ratio: 4 / 3;
}

body .brewc-figure--tall {
    aspect-ratio: 3 / 4;
}

body .brewc-caption {
    font-family: var(--brewc-font);
    font-size: .78rem;
    letter-spacing: .05em;
    color: var(--brewc-muted);
    margin-top: 12px;
}

body .brewc-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
    gap: 26px 48px;
    align-items: end;
    margin-bottom: clamp(30px, 3.4vw, 52px);
    padding-bottom: 22px;
    border-bottom: 1px solid var(--brewc-line);
}

body section.t-section--navy .brewc-head {
    border-bottom-color: var(--brewc-line-dark);
}

body .brewc-head h2 {
    margin: 0;
}

body .brewc-head p {
    margin: 0;
    color: var(--brewc-muted);
    font-size: .99rem;
}

body section.t-section--navy .brewc-head p {
    color: var(--brewc-muted-dark);
}

body .brewc-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1px;
    background-color: var(--brewc-line);
}

body .brewc-stat {
    background-color: var(--brewc-paper);
    padding: 30px 26px 30px 0;
}

body section.t-section--navy .brewc-stats {
    background-color: var(--brewc-line-dark);
}

body section.t-section--navy .brewc-stat {
    background-color: var(--brewc-deep);
}

body .brewc-stat-num {
    font-family: var(--brewc-font-display);
    font-size: clamp(2rem, 3.2vw, 2.9rem);
    font-weight: 600;
    color: var(--brewc-espresso);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    margin-bottom: 10px;
}

body section.t-section--navy .brewc-stat-num {
    color: var(--brewc-crema);
}

body .brewc-stat-label {
    font-family: var(--brewc-font);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--brewc-muted);
}

body section.t-section--navy .brewc-stat-label {
    color: var(--brewc-muted-dark);
}

body .brewc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

body .brewc-list li {
    list-style: none;
    padding: 17px 0;
    border-bottom: 1px solid var(--brewc-line-soft);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px 24px;
    align-items: baseline;
}

body .brewc-list li::marker {
    content: "";
}

body .brewc-list-name {
    font-family: var(--brewc-font-display);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--brewc-ink);
}

body .brewc-list-note {
    grid-column: 1 / -1;
    font-size: .93rem;
    color: var(--brewc-muted);
    margin: 0;
}

body .brewc-list-price {
    font-family: var(--brewc-font);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: var(--brewc-copper-dark);
    white-space: nowrap;
}

body section.t-section--navy .brewc-list li {
    border-bottom-color: var(--brewc-line-dark);
}

body section.t-section--navy .brewc-list-name {
    color: var(--brewc-paper-2);
}

body section.t-section--navy .brewc-list-note {
    color: var(--brewc-muted-dark);
}

body .brewc-steps {
    counter-reset: brewc-step;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 34px 32px;
}

body .brewc-step {
    counter-increment: brewc-step;
    border-top: 1px solid var(--brewc-line);
    padding-top: 20px;
}

body .brewc-step::before {
    content: counter(brewc-step, decimal-leading-zero);
    display: block;
    font-family: var(--brewc-font);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .16em;
    color: var(--brewc-copper-dark);
    margin-bottom: 14px;
}

body section.t-section--navy .brewc-step {
    border-top-color: var(--brewc-line-dark);
}

body .brewc-step h3 {
    font-size: 1.1rem;
    margin-bottom: .4em;
}

body .brewc-step p {
    font-size: .95rem;
    color: var(--brewc-muted);
    margin: 0;
}

body section.t-section--navy .brewc-step p {
    color: var(--brewc-muted-dark);
}

body .brewc-quote {
    font-family: var(--brewc-font-display);
    font-size: clamp(1.35rem, 2.3vw, 1.95rem);
    line-height: 1.42;
    color: var(--brewc-ink);
    margin: 0 0 22px;
    max-width: 26ch;
}

body section.t-section--navy .brewc-quote {
    color: var(--brewc-paper-2);
}

body .brewc-attrib {
    font-family: var(--brewc-font);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--brewc-muted);
}

body section.t-section--navy .brewc-attrib {
    color: var(--brewc-crema);
}

body .brewc-rule {
    border: 0;
    border-top: 1px solid var(--brewc-line);
    margin: 0;
}

body .brewc-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 26px;
    font-family: var(--brewc-font);
    font-size: .76rem;
    font-weight: 600;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--brewc-muted);
    margin: 0 0 18px;
}

body .brewc-prose {
    max-width: 68ch;
}

body .brewc-prose h3 {
    margin-top: 1.8em;
}

body .brewc-prose ul,
body .brewc-prose ol {
    margin: 0 0 1.2em;
    padding-left: 1.2em;
}

body .brewc-prose li {
    margin-bottom: .5em;
    color: var(--brewc-muted);
}

body .brewc-tag {
    display: inline-block;
    font-family: var(--brewc-font);
    font-size: .68rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brewc-copper-dark);
    border: 1px solid var(--brewc-line);
    padding: 5px 11px;
    margin: 0 6px 6px 0;
}

body .brewc-masthead {
    padding-top: clamp(48px, 5.5vw, 84px);
    padding-bottom: clamp(30px, 3.6vw, 52px);
    background-color: var(--brewc-paper-2);
    border-bottom: 1px solid var(--brewc-line);
}

body .brewc-masthead > .t-container:not([style*="padding"]) {
    padding-top: 0;
}

body .brewc-masthead .brewc-lede {
    font-size: 1.14rem;
    color: var(--brewc-muted);
    max-width: 58ch;
    margin: 0;
}

body .brewc-cols-2 {
    columns: 2;
    column-gap: 52px;
}

body .brewc-cols-2 p:first-child {
    margin-top: 0;
}

/* ============ archive / search / journal ============ */

body .brewc-archive {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 46px 38px;
}

body .brewc-post {
    border-top: 1px solid var(--brewc-line);
    padding-top: 20px;
}

body .brewc-post h2 {
    font-size: 1.24rem;
    margin: 0 0 .45em;
    max-width: none;
}

body .brewc-post h2 a {
    color: var(--brewc-ink);
}

body .brewc-post h2 a:hover {
    color: var(--brewc-copper-dark);
}

body .brewc-post-meta {
    font-family: var(--brewc-font);
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brewc-muted);
    margin: 0 0 12px;
}

body .brewc-post p {
    color: var(--brewc-muted);
    font-size: .96rem;
    margin: 0;
}

body .brewc-post-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 32px;
    justify-content: space-between;
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid var(--brewc-line);
    font-family: var(--brewc-font);
    font-size: .88rem;
}

body .brewc-pagination {
    display: flex;
    gap: 8px;
    margin-top: 52px;
}

body .brewc-pagination .page-numbers {
    border: 1px solid var(--brewc-line);
    padding: 9px 15px;
    color: var(--brewc-espresso);
    font-size: .9rem;
}

body .brewc-pagination .page-numbers.current {
    background-color: var(--brewc-espresso);
    color: #fff;
    border-color: var(--brewc-espresso);
}

/* ============ reveal ============ */

body [data-brewc-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

body [data-brewc-reveal].is-in {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    body [data-brewc-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============ breakpoints ============ */

@media (max-width: 1180px) {
    body .brewc-archive,
    body .t-grid--4,
    body .t-grid--5,
    body .brewc-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body .brewc-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1180px) {
    body .fx-nav {
        display: none;
    }

    body .fx-nav-toggle {
        display: inline-flex;
        align-items: center;
        margin-left: auto;
    }

    body .fx-header--logo-center .fx-header-actions,
    body .fx-header-actions {
        margin-left: auto;
        gap: 4px;
    }

    body .fx-header--logo-center .fx-header-inner,
    body .fx-header-inner {
        gap: 12px;
        min-height: 66px;
        padding-left: var(--brewc-gutter);
        padding-right: var(--brewc-gutter);
    }

    body .t-grid--3,
    body .t-grid--4,
    body .t-grid--5,
    body .brewc-archive,
    body .brewc-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .t-grid--3:has(> .t-card:nth-child(4):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body ul.products,
    body.woocommerce ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body .brewc-split {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body .brewc-split--reverse > *:first-child {
        order: 0;
    }

    body .brewc-split:has(.wpcf7) .brewc-figure {
        position: static;
        aspect-ratio: 4 / 3;
    }

    body .brewc-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    body .t-rich-footer-grid,
    body.fx-arch-showcase .t-rich-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .brewc-cols-2 {
        columns: 1;
    }
}

@media (max-width: 700px) {
    html body {
        font-size: 16px;
    }

    body .t-grid,
    body .t-grid--2,
    body .t-grid--3,
    body .t-grid--4,
    body .t-grid--5,
    body .brewc-archive,
    body .brewc-steps {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    body .t-grid--3:has(> .t-card:nth-child(4):last-child),
    body .t-grid--3:has(> .t-card:only-child) {
        grid-template-columns: 1fr;
    }

    body ul.products,
    body.woocommerce ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px 20px;
    }

    body .brewc-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    body .brewc-stat {
        padding: 22px 16px 22px 0;
    }

    body .t-hero-full {
        min-height: clamp(480px, 78vh, 620px);
    }

    body .t-hero-full .t-hero-title,
    body .t-hero-full h1 {
        max-width: none;
    }

    body .fx-newsletter > div {
        max-width: none;
    }

    body .fx-newsletter input[type="email"] {
        min-width: 200px;
        flex: 1 1 200px;
    }

    body .fx-newsletter .t-btn-primary,
    body .brewc-actions .t-btn-primary,
    body .t-hero-btns .t-btn-primary {
        width: auto;
        min-width: 0;
    }

    body .t-rich-footer-grid,
    body.fx-arch-showcase .t-rich-footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    body .t-rich-footer-bottom {
        justify-content: flex-start;
    }

    body .brewc-list li {
        grid-template-columns: 1fr;
    }

    body .brewc-list-price {
        color: var(--brewc-copper-dark);
    }
}

@media (max-width: 780px) {
    body .fx-header-actions .fx-nav-cta.t-btn-primary {
        display: none;
    }
}

@media (max-width: 520px) {
    body .fx-logo-wordmark {
        font-size: 1.18rem;
    }

    body .fx-header--logo-center .fx-header-inner,
    body .fx-header-inner {
        gap: 6px;
        padding-left: 16px;
        padding-right: 16px;
    }

    body .brewc-stats {
        grid-template-columns: 1fr;
    }
}
