.ix4-brand-site fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.ix4-brand-site legend { padding: 0; }
.ix4-brand-site input[type="radio"]:is([data-ix4-option], [data-ix4-product]) {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    opacity: 0;
    pointer-events: none;
}
.ix4-brand-site label:has(> input[type="radio"]:focus-visible) { outline: 2px solid var(--action); outline-offset: 3px; }
.ix4-screen-2 .ix4-brand-site > header { flex-shrink: 0; }
.ix4-choice legend { font-size: 12px; font-weight: 650; }
.ix4-choice-options { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ix4-choice-options > label {
    position: relative;
    display: grid;
    place-items: center;
    padding: 6px 10px;
    border: 1px solid var(--brand-line);
    font-size: 11px;
    cursor: pointer;
}
.ix4-choice-options > label:has(:checked) { color: var(--action-ink); background: var(--action); border-color: var(--action); }

/* Northline's scheduling desk */
.ix4-northline-booking {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1fr);
    gap: clamp(12px, 4cqw, 45px);
    align-items: center;
    padding: clamp(11px, 3cqw, 32px) var(--frame-space);
    background: linear-gradient(135deg, #1b1c1c, #252726);
    border-top: 3px solid var(--action);
}
.ix4-northline-scope .ix4-brand-tag { color: var(--action); }
.ix4-northline-scope h3 {
    max-width: 13ch;
    font-size: clamp(29px, 5.8cqw, 65px);
    font-weight: 700;
    letter-spacing: -.015em;
    text-transform: uppercase;
}
.ix4-northline-scope p:not(.ix4-brand-tag) { font-size: clamp(11px, 1.5cqw, 15px); line-height: 1.4; }
.ix4-service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin-block: 12px 8px; }
.ix4-service-cards figure { margin: 0; border: 1px solid var(--brand-line); background: #161818; }
.ix4-service-cards img { display: block; width: 100%; height: clamp(56px, min(13cqw, 16svh), 144px); object-fit: cover; }
.ix4-service-cards figcaption { padding: 5px 7px; color: #ededdf; font-size: 10px; font-weight: 550; }
.ix4-service-spec { color: #bcbab2; }
.ix4-service-spec span { color: var(--action); }
.ix4-schedule-card { padding: clamp(8px, 2.2cqw, 22px); border: 1px solid var(--brand-line); background: #171919; }
.ix4-calendar legend { font: 700 clamp(20px, 4cqw, 38px)/1 var(--display-face); text-transform: uppercase; }
.ix4-calendar-month { display: flex; justify-content: space-between; gap: 5px; align-items: baseline; margin-block: 7px; }
.ix4-calendar-month strong { font-size: clamp(12px, 1.8cqw, 16px); }
.ix4-calendar-month small { color: #bcbab2; font-size: 9px; }
.ix4-calendar-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.ix4-calendar-grid > * {
    display: grid;
    place-items: center;
    min-height: clamp(22px, 3.5cqw, 36px);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}
.ix4-calendar-grid .ix4-calendar-day { min-height: 16px; color: #cccac2; font-size: 9px; }
.ix4-calendar-unavailable { color: #b3b1a8; background: #222524; }
.ix4-calendar-available { position: relative; cursor: pointer; background: #402a1e; border: 1px solid var(--action); color: var(--action); }
.ix4-calendar-available:hover { background: #583724; }
.ix4-calendar-available:has(:checked) { background: var(--action); color: var(--action-ink); font-weight: 750; }
.ix4-booking-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.ix4-booking-footer > p { font-size: 11px; }

/* Alder & Ember's printed dinner menu */
.ix4-alder-menu {
    flex: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, .32fr);
    grid-template-rows: minmax(min-content, 1fr) auto;
    align-items: stretch;
    gap: 8px;
    padding: clamp(9px, 1.8cqw, 19px);
}
.ix4-menu-paper { padding: clamp(10px, 2.5cqw, 25px); color: #3a2024; background: #f6e6cc; border: 1px solid #c5a787; }
.ix4-menu-paper > header { text-align: center; padding-bottom: 8px; border-bottom: 3px double #c7aa89; }
.ix4-menu-paper > header > p:last-child { font-size: 11px; }
.ix4-menu-paper h3 { font-size: clamp(26px, 5.5cqw, 55px); margin-block: 4px; }
.ix4-menu-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(8px, 2cqw, 21px); align-items: start; margin-top: clamp(8px, 2.2cqw, 23px); }
.ix4-menu-courses h4 { margin: 0 0 8px; color: #7a432f; font: italic 400 clamp(14px, 2.6cqw, 27px)/1.05 Georgia, serif; }
.ix4-menu-dish {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 5px;
    border-bottom: 1px solid #d1b798;
    padding-block: 5px;
    line-height: 1.2;
}
.ix4-menu-dish strong { font: 600 clamp(10px, 1.6cqw, 16px)/1.15 Georgia, serif; }
.ix4-menu-dish > span { font-size: 10px; }
.ix4-menu-dish small { grid-column: 1 / -1; color: #613f3f; font-size: clamp(8px, 1.15cqw, 11px); }
.ix4-menu-photos { display: grid; grid-template-rows: minmax(0, 1.16fr) minmax(0, .84fr); gap: 6px; min-height: 0; contain: size; }
.ix4-menu-photos img { display: block; height: 100%; min-height: 0; width: 100%; object-fit: cover; }
.ix4-menu-booking {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: end;
    flex-wrap: wrap;
    gap: 6px;
    padding: 7px clamp(8px, 1.45cqw, 14px);
    border: 1px solid var(--brand-line);
}

/* Larch's visual project brief */
.ix4-larch-brief { display: grid; flex: 1; align-content: center; gap: clamp(8px, 2cqw, 18px); padding: 13px var(--frame-space); }
.ix4-brief-intro { display: flex; justify-content: space-between; gap: 12px; align-items: end; }
.ix4-brief-intro h3 { font-size: clamp(25px, 5cqw, 52px); margin: 4px 0 0; }
.ix4-brief-intro > p, .ix4-brief-footer > p { font-size: clamp(10px, 1.5cqw, 14px); max-width: 30ch; }
.ix4-scope-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.ix4-scope-grid > label {
    position: relative;
    border: 1px solid #d2c9db;
    border-radius: 12px !important;
    background: #fff;
    overflow: hidden;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.ix4-scope-grid > label:is(:hover, :has(:checked)) { border-color: var(--action); }
.ix4-scope-grid > label:has(:checked) { background: #e9e3f3; box-shadow: inset 0 0 0 1px var(--action); }
.ix4-scope-grid img { display: block; width: 100%; height: clamp(59px, min(17cqw, 22svh), 202px); object-fit: cover; }
.ix4-scope-copy { display: grid; gap: 4px; padding: clamp(5px, 1.35cqw, 13px); }
.ix4-scope-copy small { font-size: 9px; color: #574474; }
.ix4-scope-copy strong { font-size: clamp(11px, 1.85cqw, 19px); line-height: 1.15; }
.ix4-scope-copy > span { font-size: clamp(9px, 1.25cqw, 12px); line-height: 1.25; }
.ix4-brief-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px; border-top: 1px solid var(--brand-line); padding-top: 8px; }

/* Two storefronts with their own visual languages */
.ix4-shop-offer { display: flex; flex: 1; flex-direction: column; justify-content: center; gap: clamp(8px, 1.65cqw, 16px); padding: 10px var(--frame-space); }
.ix4-shop-heading h3 { font-size: clamp(24px, 5.4cqw, 57px); margin: 3px 0; }
.ix4-shop-heading > p:last-child { font-size: clamp(10px, 1.65cqw, 15px); }
.ix4-product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(5px, 1.4cqw, 13px); }
.ix4-product-card {
    display: block;
    position: relative;
    min-width: 0;
    background: var(--mist);
    border: 1px solid transparent;
    cursor: pointer;
    transition: border-color .16s, box-shadow .16s;
}
.ix4-product-card:is(:hover, :has(:checked)) { border-color: var(--action); }
.ix4-product-card:has(:checked) { box-shadow: inset 0 -2px var(--action); }
.ix4-product-card:first-child::after {
    content: "AI PICK";
    position: absolute;
    top: 5px;
    left: 5px;
    padding: 3px 5px;
    color: var(--action-ink);
    background: var(--action);
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .04em;
}
.ix4-product-card img { display: block; width: 100%; height: clamp(72px, min(20cqw, 24svh), 220px); object-fit: cover; object-position: center 48%; }
.ix4-product-copy { display: grid; gap: 2px; padding: 5px clamp(4px, 1.05cqw, 10px) 8px; }
.ix4-product-copy > strong { font-size: clamp(11px, 2cqw, 19px); line-height: 1.12; overflow-wrap: anywhere; }
.ix4-product-tag { font-size: clamp(8px, 1.29cqw, 12px); line-height: 1.2; }
.ix4-product-price { font-variant-numeric: tabular-nums; font-size: 11px; }
.ix4-shop-buy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(65px, .42fr) auto; align-items: end; gap: 8px; }
.ix4-shop-buy > div > strong { font-size: clamp(12px, 2cqw, 18px); line-height: 1.15; }
.ix4-shop-buy > div > p { font-size: clamp(9px, 1.27cqw, 13px); line-height: 1.25; }
.ix4-shop-buy .ix4-brand-button { flex-wrap: wrap; justify-content: center; gap: 4px; }
.ix4-brand-coffee .ix4-shop-heading { text-align: center; border-bottom: 3px double #a3a389; padding-bottom: 6px; }
.ix4-brand-coffee .ix4-shop-heading h3 { font-weight: 600; font-style: italic; }
.ix4-brand-coffee .ix4-product-grid { grid-template-columns: minmax(0, 1.19fr) repeat(2, minmax(0, 1fr)); }
.ix4-brand-coffee .ix4-product-card img { object-fit: contain; background: #73704e; }
.ix4-brand-coffee .ix4-product-card:nth-child(2) img { background: #b3ad8e; }
.ix4-brand-coffee .ix4-product-card:nth-child(3) img { background: #ae8877; }
.ix4-brand-coffee .ix4-product-copy > strong { font-family: var(--display-face); font-weight: 500; }
.ix4-brand-coffee .ix4-shop-buy { border-top: 1px solid var(--brand-line); padding-top: 7px; }
.ix4-brand-coffee .ix4-shop-buy .ix4-brand-button { border-radius: 24px !important; }
.ix4-brand-apparel .ix4-shop-heading { padding-bottom: 6px; border-bottom: 1px solid var(--brand-line); }
.ix4-brand-apparel .ix4-product-card img { object-fit: contain; background: #edf0f4; padding: 4px; }
.ix4-brand-apparel .ix4-product-copy { border-top: 1px solid var(--brand-line); background: #fbfaf7; }
.ix4-brand-apparel .ix4-shop-buy { padding: 8px; background: #e8edf5; }

/* Transaction layouts follow the type of action. */
.ix4-brand-electrical .ix4-order { grid-template-columns: minmax(0, 1fr) minmax(0, .62fr); }
.ix4-brand-electrical .ix4-order-fields > div { display: grid; grid-template-columns: minmax(90px, .42fr) 1fr; align-items: baseline; }
.ix4-brand-electrical .ix4-order-fields dd { margin-top: 0; }
.ix4-brand-electrical .ix4-summary-details { border-bottom: 2px solid var(--action); }
.ix4-brand-dining .ix4-order { background-color: #4b262c; }
.ix4-brand-dining .ix4-order-main {
    padding: clamp(10px, 3cqw, 29px);
    background: #f6e6cc;
    color: #3a2024;
    border: 3px double #af8968;
    text-align: center;
}
.ix4-brand-dining .ix4-order-main .ix4-brand-tag { color: #834e35; }
.ix4-brand-dining .ix4-order-fields { grid-template-columns: 1fr 1fr; border-block: 1px solid #c7aa89; }
.ix4-brand-dining .ix4-order-fields > div { border: 0; background: none; }
.ix4-brand-dining .ix4-order-fields > div + div { border-left: 1px solid #c7aa89; }
.ix4-brand-dining .ix4-order-main .ix4-brand-button { background: #4b262c; color: #fff0d9; }
.ix4-brand-dining .ix4-order-next { margin-inline: auto; }
.ix4-brand-dining .ix4-order-reference { justify-content: center; }
.ix4-brand-dining .ix4-order-progress li { border-color: #c7aa89; }
.ix4-brand-dining .ix4-order-progress li[aria-current] { border-color: #834e35; }
.ix4-brand-dining.ix4-brand-step-3 .ix4-order {
    --order-space: 12px;
    grid-template-columns: minmax(0, 570px);
    gap: 5px;
    align-content: center;
    justify-content: center;
}
.ix4-brand-dining.ix4-brand-step-3 .ix4-order-main { padding-block: 12px; }
.ix4-brand-dining.ix4-brand-step-3 .ix4-order-summary {
    display: grid;
    grid-template-columns: minmax(70px, .45fr) minmax(0, 1fr);
    align-items: stretch;
}
.ix4-brand-dining.ix4-brand-step-3 .ix4-order-summary img { height: 100%; max-height: 124px; }
.ix4-brand-dining.ix4-brand-step-3 .ix4-summary-details { padding-block: 6px; }
.ix4-brand-construction.ix4-brand-step-3 .ix4-order {
    --order-space: clamp(9px, 2cqw, 23px);
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
    align-content: center;
}
.ix4-brand-construction.ix4-brand-step-3 .ix4-order-summary {
    grid-row: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    align-items: stretch;
}
.ix4-brand-construction.ix4-brand-step-3 .ix4-order-summary img { height: clamp(90px, 14svh, 150px); }
.ix4-brand-construction .ix4-order-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ix4-brand-coffee .ix4-order { grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); }
.ix4-brand-coffee .ix4-order-summary { grid-column: 1; grid-row: 1; }
.ix4-brand-coffee .ix4-order-main { grid-column: 2; grid-row: 1; }
.ix4-brand-coffee .ix4-order-main { padding-bottom: 9px; border-bottom: 3px double var(--brand-line); }

@media (max-height: 800px) {
    .ix4-northline-booking { padding-block: 12px; }
    .ix4-larch-brief { gap: 8px; }
    .ix4-scope-grid img { height: clamp(59px, min(17cqw, 17svh), 150px); }
    .ix4-shop-offer { gap: 8px; }
    .ix4-shop-heading h3 { font-size: clamp(24px, 4.65cqw, 46px); }
    .ix4-product-card img { height: clamp(68px, min(20cqw, 19svh), 155px); }
}

@container (max-width: 530px) {
    .ix4-northline-booking { grid-template-columns: 1fr; align-content: center; gap: 6px; padding-block: 6px; }
    .ix4-northline-scope { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 2px 6px; }
    .ix4-northline-scope h3 { max-width: none; margin-block: 3px; }
    .ix4-northline-scope > div:first-child > p:last-child { display: none; }
    .ix4-service-spec { grid-column: 1 / -1; }
    .ix4-service-cards { margin-block: 4px; }
    .ix4-service-cards img { height: 30px; }
    .ix4-service-cards figcaption { padding-block: 2px; font-size: 9px; }
    .ix4-schedule-card { padding: 6px; }
    .ix4-calendar-grid { gap: 2px; }
    .ix4-calendar-grid > * { min-height: 20px; }
    .ix4-calendar-month { margin-block: 4px; }
    .ix4-booking-footer { margin-top: 6px; }
    .ix4-alder-menu { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 43px auto; gap: 5px; }
    .ix4-menu-photos { grid-template: 1fr / repeat(2, minmax(0, 1fr)); gap: 5px; }
    .ix4-menu-courses { gap: 5px; }
    .ix4-menu-courses h4 { margin-bottom: 1px; }
    .ix4-menu-paper { padding: 6px; }
    .ix4-menu-paper > header { padding-bottom: 4px; }
    .ix4-menu-dish { padding-block: 3px; }
    .ix4-menu-booking { position: sticky; z-index: 1; bottom: 0; align-items: center; background: #371a20; }
    .ix4-choice-options { gap: 4px; margin-top: 3px; }
    .ix4-choice-options > label { padding: 4px 6px; font-size: 10px; }
    .ix4-brief-intro { display: grid; gap: 4px; }
    .ix4-brief-intro h3 { margin: 0; }
    .ix4-shop-offer { gap: 5px; padding-block: 6px; }
    .ix4-shop-buy > div { grid-column: 1 / -1; }
    .ix4-shop-buy > div > p { display: none; }
    .ix4-shop-buy { grid-template-columns: minmax(70px, 1fr) auto; gap: 5px; padding: 4px 0; }
}

@container (max-width: 460px) {
    .ix4-brand-site .ix4-order { grid-template-columns: minmax(0, 1fr); }
    .ix4-brand-dining.ix4-brand-step-3 .ix4-order-summary,
    .ix4-brand-construction.ix4-brand-step-3 .ix4-order-summary { display: block; }
    .ix4-brand-dining.ix4-brand-step-3 .ix4-order-summary img,
    .ix4-brand-construction.ix4-brand-step-3 .ix4-order-summary img { height: 100%; max-height: none; }
    .ix4-brand-coffee .ix4-order-summary, .ix4-brand-coffee .ix4-order-main { grid-column: auto; grid-row: auto; }
}
