:root {
    --ink: #2d1912;
    --soft: #665147;
    --cream: #f5efde;
    --paper: #fffdf7;
    --butter: #f2b544;
    --yellow: #ffd979;
    --red: #dc513b;
    --sage: #a9bc91;
    --pink: #e79bc3;
    --blue: #214be8;
    --line: rgba(45, 25, 18, .22);
    --shadow: 7px 8px 0 var(--ink);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: Arial, Helvetica, sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

body:has(dialog[open]) {
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    z-index: 1000;
    top: 8px;
    left: 8px;
    padding: 12px 16px;
    color: white;
    background: var(--blue);
    transform: translateY(-150%);
}

.skip-link:focus {
    transform: none;
}

.shell,
.shell-wide {
    width: min(1180px, calc(100% - 48px));
    margin-inline: auto;
}

.shell-wide {
    width: min(1320px, calc(100% - 48px));
}

.shell.narrow {
    width: min(760px, calc(100% - 48px));
}

.section-space {
    padding: 104px 0;
}

.eyebrow,
.estimate-badge,
.delivery-tag {
    display: inline-block;
    font: 700 .68rem/1.3 "Courier New", monospace;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.section-title {
    max-width: 850px;
    margin: 14px 0 22px;
    font: 900 clamp(2.35rem, 5.4vw, 5.25rem)/.94 Georgia, serif;
    letter-spacing: -.05em;
}

.section-intro {
    max-width: 720px;
    color: var(--soft);
    font-size: 1.02rem;
    line-height: 1.68;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.button {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    color: var(--ink);
    background: var(--paper);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .025em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform .16s ease, box-shadow .16s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: var(--butter);
    box-shadow: 4px 5px 0 var(--ink);
}

.button-dark {
    color: var(--paper);
    background: var(--ink);
}

.button-light {
    color: var(--ink);
    background: rgba(255, 253, 247, .92);
}

.button-full {
    width: 100%;
}

.top-note {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    color: var(--cream);
    background: var(--ink);
    font: 700 .68rem/1.3 "Courier New", monospace;
    letter-spacing: .07em;
    text-align: center;
    text-transform: uppercase;
}

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    border-bottom: 1px solid var(--line);
    background: rgba(255, 253, 247, .96);
    backdrop-filter: blur(14px);
}

.header-main {
    min-height: 82px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 32px;
    align-items: center;
    min-width: 0;
}

.brand {
    width: max-content;
    display: inline-flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    min-width: 0;
}

.brand-mark {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 7px;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--cream);
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy strong {
    display: block;
    font: 900 1.2rem/1 Georgia, serif;
    letter-spacing: -.02em;
}

.brand-copy small {
    display: block;
    margin-top: 4px;
    font: 700 .6rem/1.2 "Courier New", monospace;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    justify-content: center;
    gap: clamp(16px, 2.5vw, 34px);
}

.main-nav a,
.header-link {
    border: 0;
    color: var(--ink);
    background: transparent;
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .035em;
    text-decoration: none;
    text-transform: uppercase;
}

.main-nav a:hover,
.header-link:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.header-actions {
    display: flex;
    gap: 13px;
    align-items: center;
}

.language-switch {
    display: flex;
    gap: 5px;
    align-items: center;
    font: 700 .66rem/1 "Courier New", monospace;
}

.language-switch a {
    padding: 7px 4px;
    text-decoration: none;
}

.language-switch a[aria-current="true"] {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.account-link {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--butter);
    font-size: .7rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.mobile-menu {
    width: 44px;
    height: 44px;
    display: none;
    place-items: center;
    padding: 10px;
    border: 1px solid var(--ink);
    border-radius: 50%;
    color: var(--ink);
    background: var(--paper);
    cursor: pointer;
}

.mobile-menu span {
    width: 19px;
    height: 2px;
    display: block;
    margin: 2px 0;
    background: currentColor;
}

.flash-stack {
    position: relative;
    z-index: 20;
    margin-top: 18px;
}

.flash {
    padding: 14px 18px;
    border: 1px solid var(--ink);
    border-radius: 13px;
    background: var(--cream);
    font-weight: 800;
}

.flash-success {
    background: #dce8d0;
}

.hero {
    min-height: min(760px, calc(100vh - 116px));
    position: relative;
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: white;
    background-color: #9d8b75;
    background-image: url("../images/hero-1600.webp");
    background-position: center 54%;
    background-size: cover;
    grid-template-columns: minmax(0, 1fr);
}

.hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: linear-gradient(90deg, rgba(28, 13, 8, .88), rgba(28, 13, 8, .52) 50%, rgba(28, 13, 8, .1) 82%);
}

.hero-people {
    position: absolute;
    z-index: 0;
    right: clamp(-70px, -2vw, -18px);
    bottom: 0;
    width: min(40vw, 560px);
    max-width: none;
    height: auto;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-block: 100px;
    min-width: 0;
}

.hero-content > * {
    max-width: 690px;
}

.delivery-tag {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .75);
    border-radius: 999px;
    color: white;
    background: rgba(45, 25, 18, .28);
}

.hero .delivery-tag {
    margin-bottom: 12px;
    padding: 9px 13px;
    font-size: clamp(.78rem, 1.15vw, .94rem);
}

.hero-label {
    width: max-content;
    max-width: 100%;
    display: block;
    margin: 0;
    padding: 11px 22px 15px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 7px 8px 0 var(--butter);
    font: 900 clamp(2.5rem, 7.3vw, 7.2rem)/.86 Georgia, serif;
    letter-spacing: -.065em;
    transform: rotate(-1deg);
    text-transform: uppercase;
}

.hero p {
    max-width: 610px;
    margin: 35px 0 28px;
    font: 700 clamp(.95rem, 1.5vw, 1.14rem)/1.6 "Courier New", monospace;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

.leadtime-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.leadtime-strip span {
    padding: 8px 11px;
    border: 1px solid white;
    border-radius: 999px;
    background: rgba(45, 25, 18, .45);
    font: 800 .72rem/1 "Courier New", monospace;
    text-transform: uppercase;
}

.prelaunch-section {
    position: relative;
    z-index: 5;
    padding: 0 0 70px;
    background: var(--cream);
}

.prelaunch-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 25px;
    align-items: center;
    padding: 28px 32px;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
    transform: translateY(-28px);
}

.status-dot {
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--yellow);
    box-shadow: 3px 3px 0 var(--ink);
}

.prelaunch-card h2 {
    margin: 7px 0 5px;
    font: 900 clamp(1.55rem, 3vw, 2.45rem)/1 Georgia, serif;
}

.prelaunch-card p {
    max-width: 800px;
    margin: 0;
    color: var(--soft);
    line-height: 1.58;
}

.deadline-section {
    padding: 0 24px 104px;
    background: var(--cream);
}

.deadline-card {
    padding: clamp(28px, 5vw, 56px);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--butter);
    box-shadow: var(--shadow);
}

.deadline-heading {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 50px;
    align-items: end;
}

.deadline-heading h2 {
    margin: 10px 0 0;
    font: 900 clamp(2rem, 4.5vw, 4.4rem)/.95 Georgia, serif;
    letter-spacing: -.045em;
}

.deadline-heading p {
    margin: 0;
    font-size: .96rem;
    line-height: 1.65;
}

.countdown {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-top: 34px;
}

.countdown > div {
    min-height: 130px;
    display: grid;
    place-items: center;
    align-content: center;
    border: 1px solid var(--ink);
    border-radius: 18px;
    background: rgba(255, 253, 247, .45);
}

.countdown strong {
    font: 900 clamp(2.3rem, 6vw, 5.2rem)/.9 Georgia, serif;
}

.countdown span {
    margin-top: 8px;
    font: 700 .66rem/1 "Courier New", monospace;
    text-transform: uppercase;
}

.deadline-date {
    margin: 18px 0 0;
    font: 700 .68rem/1.5 "Courier New", monospace;
    text-align: center;
    text-transform: uppercase;
}

.how-section {
    background: var(--paper);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 42px;
}

.step-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px;
    border: 1px solid var(--ink);
    border-radius: 20px;
}

.step-card:nth-child(1) {
    background: var(--yellow);
}

.step-card:nth-child(2) {
    background: var(--sage);
}

.step-card:nth-child(3) {
    background: var(--pink);
}

.step-number {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
    font: 900 1.2rem/1 Georgia, serif;
}

.step-card h3 {
    margin: 0 0 10px;
    font: 900 1.65rem/1 Georgia, serif;
}

.step-card p {
    margin: 0;
    line-height: 1.58;
}

.catalog-section {
    border-block: 1px solid var(--ink);
    background: var(--cream);
}

.section-heading {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
}

.catalog-toggle {
    min-width: 240px;
    display: flex;
    padding: 4px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--paper);
}

.catalog-toggle button {
    min-height: 43px;
    flex: 1;
    padding: 8px 13px;
    border: 0;
    border-radius: 999px;
    color: var(--ink);
    background: transparent;
    font-size: .72rem;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.catalog-toggle button.active {
    color: var(--paper);
    background: var(--ink);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 44px;
}

.product-card {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    padding: 22px;
    border: 1px solid var(--ink);
    border-radius: 20px;
    background: var(--paper);
    transition: transform .16s ease, box-shadow .16s ease;
}

.product-card:hover {
    box-shadow: 5px 6px 0 var(--ink);
    transform: translateY(-3px);
}

.product-top {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: start;
}

.estimate-badge {
    padding: 6px 8px;
    border-radius: 999px;
    background: var(--yellow);
    font-size: .58rem;
}

.product-price {
    font: 900 1rem/1 Georgia, serif;
    white-space: nowrap;
}

.product-card h3 {
    margin: 26px 0 10px;
    font: 900 1.55rem/1 Georgia, serif;
}

.product-card p {
    flex: 1;
    margin: 0 0 24px;
    color: var(--soft);
    line-height: 1.55;
}

.product-lock {
    padding-top: 14px;
    border-top: 1px solid var(--line);
    color: var(--soft);
    font: 700 .62rem/1.45 "Courier New", monospace;
    text-transform: uppercase;
}

.company-section {
    min-height: 560px;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    background: var(--sage);
}

.company-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(55px, 8vw, 120px);
}

.company-copy h2 {
    max-width: 620px;
    margin: 15px 0 20px;
    font: 900 clamp(2.5rem, 6vw, 5.6rem)/.92 Georgia, serif;
    letter-spacing: -.05em;
}

.company-copy p {
    max-width: 610px;
    margin: 0 0 28px;
    line-height: 1.68;
}

.company-pattern {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    border-left: 1px solid var(--ink);
    background: repeating-linear-gradient(-38deg, transparent 0 52px, rgba(45, 25, 18, .12) 53px 55px), var(--yellow);
}

.company-pattern span {
    position: absolute;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--paper);
    font: 900 clamp(1rem, 2vw, 1.7rem)/1 "Courier New", monospace;
    box-shadow: var(--shadow);
}

.company-pattern span:nth-child(1) {
    width: 160px;
    height: 160px;
    top: 12%;
    left: 12%;
    transform: rotate(-8deg);
}

.company-pattern span:nth-child(2) {
    width: 210px;
    height: 210px;
    right: 8%;
    bottom: 10%;
    background: var(--pink);
    transform: rotate(7deg);
}

.company-pattern span:nth-child(3) {
    width: 120px;
    height: 120px;
    right: 14%;
    top: 9%;
    background: var(--butter);
    transform: rotate(12deg);
}

.area-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 60px;
    align-items: center;
}

.area-list {
    display: grid;
    gap: 8px;
    margin: 28px 0;
}

.area-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-weight: 900;
}

.area-row span:last-child {
    color: var(--soft);
    font: 700 .64rem/1.3 "Courier New", monospace;
    text-align: right;
    text-transform: uppercase;
}

.postcode-check {
    margin-top: 30px;
}

.postcode-check > label {
    display: block;
    margin-bottom: 8px;
    font: 700 .68rem/1 "Courier New", monospace;
    text-transform: uppercase;
}

.postcode-check > div {
    display: flex;
    gap: 10px;
}

.postcode-check input {
    min-width: 0;
    flex: 1;
    padding: 12px 14px;
    border: 1px solid var(--ink);
    border-radius: 12px;
    color: var(--ink);
    background: white;
}

.area-result {
    min-height: 24px;
    margin: 11px 0 0;
    font-weight: 800;
}

.area-map {
    min-height: 480px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: radial-gradient(circle at 22% 25%, rgba(220, 81, 59, .32) 0 5%, transparent 5.5%), radial-gradient(circle at 66% 42%, rgba(33, 75, 232, .25) 0 6%, transparent 6.5%), radial-gradient(circle at 44% 73%, rgba(242, 181, 68, .8) 0 7%, transparent 7.5%), repeating-linear-gradient(28deg, transparent 0 34px, rgba(45, 25, 18, .13) 35px 36px), var(--cream);
}

.area-map span {
    padding: 11px 17px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: var(--butter);
    font: 900 .72rem/1 "Courier New", monospace;
    text-transform: uppercase;
    box-shadow: 4px 5px 0 var(--ink);
    transform: rotate(-4deg);
}

.story-section {
    background: var(--yellow);
}

.story-card {
    display: grid;
    grid-template-columns: .75fr 1.25fr;
    gap: 56px;
    align-items: center;
    padding: clamp(34px, 6vw, 74px);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: 9px 10px 0 var(--ink);
}

.story-visual {
    display: grid;
    gap: 16px;
    align-content: start;
}

.story-badge-heading {
    margin: 0;
    color: var(--ink);
    font: 900 clamp(1.45rem, 2.8vw, 2.35rem)/1 Georgia, serif;
    text-align: left;
}

.story-badge {
    position: relative;
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    border: 2px solid var(--ink);
    border-radius: 50%;
    background: var(--pink);
    text-align: center;
    transform: rotate(-4deg);
}

.story-badge img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 42%;
}

.story-card h2,
.account-cta-card h2 {
    margin: 13px 0 18px;
    font: 900 clamp(2.1rem, 4.7vw, 4.6rem)/.96 Georgia, serif;
    letter-spacing: -.045em;
}

.story-card p,
.account-cta-card p {
    margin: 0;
    color: var(--soft);
    font-size: 1.02rem;
    line-height: 1.68;
}

.account-cta {
    background: var(--red);
}

.account-cta-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    padding: clamp(32px, 5vw, 58px);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.site-footer {
    color: var(--cream);
    background: var(--ink);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 48px;
    padding-block: 78px 54px;
}

.brand-footer .brand-mark {
    border-color: var(--cream);
    background: var(--butter);
}

.brand-footer .brand-copy {
    color: var(--cream);
}

.footer-brand {
    max-width: 330px;
}

.footer-brand p {
    color: #d3c8b5;
    line-height: 1.65;
}

.footer-brand .footer-owner {
    color: #d3c8b5;
    font-size: .75rem;
    font-weight: 400;
}

.footer-column h2 {
    margin: 0 0 20px;
    color: var(--butter);
    font: 900 .74rem/1 "Courier New", monospace;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.footer-column a,
.footer-column span,
.footer-logout button {
    display: block;
    margin: 11px 0;
    border: 0;
    padding: 0;
    color: var(--cream);
    background: transparent;
    font-size: .84rem;
    line-height: 1.35;
    text-decoration: none;
}

.footer-column a:hover,
.footer-logout button:hover {
    text-decoration: underline;
    cursor: pointer;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 18px clamp(24px, 4vw, 60px);
    border-top: 1px solid rgba(245, 239, 222, .2);
    color: #c9bcaa;
    font: 700 .62rem/1.4 "Courier New", monospace;
    text-transform: uppercase;
}

.flyer-tab {
    position: fixed;
    z-index: 90;
    right: 0;
    top: 52%;
    min-height: 156px;
    padding: 14px 9px;
    border: 2px solid var(--ink);
    border-right: 0;
    border-radius: 15px 0 0 15px;
    color: var(--ink);
    background: var(--yellow);
    box-shadow: -4px 5px 0 var(--ink);
    cursor: pointer;
    transform: translateY(-50%);
}

.flyer-tab span {
    writing-mode: vertical-rl;
    font: 900 .68rem/1 "Courier New", monospace;
    letter-spacing: .05em;
    text-transform: uppercase;
    transform: rotate(180deg);
}

dialog {
    width: min(610px, calc(100% - 28px));
    max-height: calc(100vh - 30px);
    padding: 0;
    overflow: auto;
    border: 2px solid var(--ink);
    border-radius: 22px;
    color: var(--ink);
    background: var(--paper);
    box-shadow: 9px 10px 0 var(--ink);
}

dialog::backdrop {
    background: rgba(26, 13, 8, .72);
    backdrop-filter: blur(5px);
}

.modal-head {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
    padding: 20px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
}

.modal-head h2 {
    margin: 6px 0 0;
    font: 900 1.55rem/1 Georgia, serif;
}

.modal-close {
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 1px solid var(--ink);
    border-radius: 50%;
    color: var(--ink);
    background: white;
    font-size: 1.45rem;
    cursor: pointer;
}

.flyer-dialog-body {
    padding: 22px;
}

.flyer-dialog-body p {
    max-width: 500px;
    margin: 0 auto 18px;
    color: var(--soft);
    line-height: 1.55;
}

.flyer-dialog-body img {
    width: min(420px, 100%);
    height: auto;
    margin: auto;
    border: 1px solid var(--ink);
    background: white;
}

.page-hero {
    padding: 90px 0 70px;
    border-bottom: 1px solid var(--ink);
    background: var(--cream);
}

.page-hero h1,
.admin-section h1 {
    margin: 12px 0 16px;
    font: 900 clamp(2.8rem, 7vw, 6.4rem)/.9 Georgia, serif;
    letter-spacing: -.055em;
}

.page-hero p {
    max-width: 720px;
    color: var(--soft);
    font-size: 1.05rem;
    line-height: 1.7;
}

.compact-hero {
    min-height: 55vh;
    display: grid;
    align-items: center;
}

.auth-section {
    min-height: calc(100vh - 116px);
    display: grid;
    place-items: center;
    padding: 72px 20px;
    background: linear-gradient(145deg, var(--cream), var(--yellow));
}

.auth-card {
    width: min(520px, 100%);
    padding: clamp(25px, 5vw, 46px);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: var(--paper);
    box-shadow: var(--shadow);
}

.auth-card-wide {
    width: min(760px, 100%);
}

.auth-intro h1 {
    margin: 12px 0 13px;
    font: 900 clamp(2.5rem, 7vw, 4.6rem)/.92 Georgia, serif;
    letter-spacing: -.05em;
}

.auth-intro p,
.auth-switch {
    color: var(--soft);
    line-height: 1.6;
}

.auth-switch {
    margin: 22px 0 0;
    text-align: center;
}

.auth-switch a {
    color: var(--ink);
    font-weight: 900;
}

.form-stack,
.form-grid {
    display: grid;
    gap: 15px;
    margin-top: 26px;
}

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

.full-field {
    grid-column: 1 / -1;
}

.field label,
.account-type-fieldset legend {
    display: block;
    margin-bottom: 7px;
    font: 700 .68rem/1.2 "Courier New", monospace;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 12px;
    border: 1px solid var(--ink);
    border-radius: 10px;
    color: var(--ink);
    background: white;
}

.field textarea {
    min-height: 82px;
    resize: vertical;
}

.field small {
    display: block;
    margin-top: 6px;
    color: var(--soft);
    font-size: .72rem;
    line-height: 1.35;
}

.form-errors {
    margin: 20px 0;
    padding: 13px 15px;
    border: 1px solid #922a1d;
    border-radius: 12px;
    color: #6b1d14;
    background: #fbd9d4;
}

.form-errors p {
    margin: 4px 0;
}

.account-type-fieldset {
    display: flex;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
}

.account-type-fieldset legend {
    width: 100%;
}

.account-type-fieldset label {
    flex: 1;
    cursor: pointer;
}

.account-type-fieldset input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-type-fieldset span {
    min-height: 48px;
    display: grid;
    place-items: center;
    padding: 10px 14px;
    border: 1px solid var(--ink);
    border-radius: 999px;
    background: white;
    font-size: .76rem;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
}

.account-type-fieldset input:checked + span {
    background: var(--butter);
    box-shadow: 3px 4px 0 var(--ink);
}

.account-type-fieldset input:focus-visible + span {
    outline: 3px solid var(--blue);
    outline-offset: 3px;
}

.account-hero {
    background: var(--yellow);
}

.account-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 24px;
    align-items: start;
}

.profile-panel,
.orders-panel {
    padding: clamp(23px, 4vw, 38px);
    border: 1px solid var(--ink);
    border-radius: var(--radius);
    background: var(--paper);
}

.profile-panel h2,
.orders-panel h2,
.company-fields h3,
.form-divider h3 {
    margin: 0 0 18px;
    font: 900 1.7rem/1 Georgia, serif;
}

.orders-panel {
    position: sticky;
    top: 110px;
    border-width: 2px;
    background: var(--sage);
    box-shadow: var(--shadow);
}

.orders-panel h2 {
    margin-top: 18px;
}

.orders-panel p {
    line-height: 1.62;
}

.company-fields {
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--cream);
}

.company-fields[hidden] {
    display: none;
}

.form-divider {
    margin-top: 14px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
}

.admin-section {
    min-height: 70vh;
    background: var(--cream);
}

.shell-admin {
    width: min(1380px, calc(100% - 48px));
}

.admin-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 45px;
    padding: 6px;
    border: 1px solid var(--ink);
    border-radius: 16px;
    background: var(--paper);
}

.admin-nav a {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: .72rem;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.admin-nav a:hover {
    background: var(--yellow);
}

.estimate-notice {
    margin: 24px 0;
    padding: 14px 17px;
    border: 1px solid var(--ink);
    border-radius: 12px;
    background: var(--yellow);
    font-weight: 800;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 34px;
}

.admin-stats a {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 22px;
    border: 1px solid var(--ink);
    border-radius: 18px;
    background: var(--paper);
    text-decoration: none;
}

.admin-stats a:hover {
    box-shadow: 4px 5px 0 var(--ink);
}

.admin-stats strong {
    font: 900 3.2rem/1 Georgia, serif;
}

.admin-stats span {
    font: 700 .7rem/1.3 "Courier New", monospace;
    text-transform: uppercase;
}

.admin-list {
    display: grid;
    gap: 11px;
}

.admin-row {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) 190px auto auto;
    gap: 15px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--ink);
    border-radius: 14px;
    background: var(--paper);
}

.admin-row-copy strong,
.admin-row-copy small {
    display: block;
}

.admin-row-copy small {
    margin-top: 5px;
    color: var(--soft);
    line-height: 1.4;
}

.compact-field label {
    margin-bottom: 4px;
}

.compact-field input,
.compact-field select {
    min-height: 42px;
}

.check-field {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    font-size: .75rem;
    font-weight: 900;
    cursor: pointer;
}

.check-field input {
    width: 20px;
    height: 20px;
    accent-color: var(--ink);
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #922a1d;
    font-size: .75rem;
    font-weight: 800;
}

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

.admin-edit-card {
    padding: 21px;
    border: 1px solid var(--ink);
    border-radius: 18px;
    background: var(--paper);
}

.add-card {
    background: #fff7ce;
}

.edit-card-head {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: start;
}

.edit-card-head h2 {
    margin: 0;
    font: 900 1.5rem/1 Georgia, serif;
}

.dense-grid {
    gap: 11px;
    margin-block: 19px;
}

.check-group {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

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

.table-scroll {
    overflow-x: auto;
    border: 1px solid var(--ink);
    border-radius: 16px;
    background: var(--paper);
}

.audit-table {
    width: 100%;
    border-collapse: collapse;
    font-size: .82rem;
}

.audit-table th,
.audit-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    white-space: nowrap;
}

.audit-table th {
    background: var(--yellow);
    font: 700 .65rem/1 "Courier New", monospace;
    text-transform: uppercase;
}

@media (max-width: 1080px) {
    .header-main {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .main-nav {
        position: absolute;
        top: 100%;
        right: 20px;
        width: min(330px, calc(100% - 40px));
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 12px;
        border: 1px solid var(--ink);
        border-radius: 14px;
        background: var(--paper);
        box-shadow: 5px 6px 0 var(--ink);
    }

    .main-nav.open {
        display: flex;
    }

    .main-nav a {
        padding: 13px;
    }

    .header-actions {
        justify-self: end;
    }

    .mobile-menu {
        display: block;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-top {
        grid-template-columns: 1.5fr repeat(2, 1fr);
    }

    .footer-column:last-child {
        grid-column: 2 / -1;
    }

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

@media (max-width: 820px) {
    .hero-people {
        display: none;
    }

    .section-space {
        padding: 78px 0;
    }

    .header-link,
    .account-link {
        display: none;
    }

    .deadline-heading,
    .company-section,
    .area-grid,
    .story-card,
    .account-cta-card,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .deadline-heading {
        gap: 18px;
    }

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

    .step-card {
        min-height: 230px;
    }

    .section-heading {
        display: block;
    }

    .catalog-toggle {
        width: 100%;
        margin-top: 26px;
    }

    .company-pattern {
        min-height: 390px;
        border-top: 1px solid var(--ink);
        border-left: 0;
    }

    .area-map {
        min-height: 350px;
    }

    .story-badge {
        width: min(240px, 75%);
        justify-self: center;
    }

    .orders-panel {
        position: static;
    }

    .admin-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-row {
        grid-template-columns: 1fr 1fr;
    }

    .admin-row-copy {
        grid-column: 1 / -1;
    }

    .admin-edit-grid,
    .zones-edit-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 580px) {
    .shell,
    .shell-wide,
    .shell.narrow,
    .shell-admin {
        width: min(calc(100% - 30px), 1180px);
    }

    .top-note {
        font-size: .58rem;
    }

    .header-main {
        min-height: 70px;
        gap: 10px;
    }

    .brand-mark {
        width: 45px;
        height: 45px;
        padding: 6px;
    }

    .brand-copy strong {
        font-size: 1rem;
    }

    .brand-copy small {
        display: none;
    }

    .header-actions {
        gap: 8px;
    }

    .language-switch {
        font-size: .62rem;
    }

    .hero {
        min-height: 690px;
        background-image: url("../images/hero-960.webp");
        background-position: 62% center;
    }

    .hero-overlay {
        background: linear-gradient(90deg, rgba(28, 13, 8, .86), rgba(28, 13, 8, .46) 78%, rgba(28, 13, 8, .2));
    }

    .hero-people {
        display: none;
    }

    .hero-content {
        width: calc(100% - 30px);
        max-width: calc(100% - 30px);
        padding-block: 86px;
        overflow: hidden;
    }

    .hero-label {
        width: 100%;
        max-width: none;
        padding: 10px 10px 13px;
        font-size: clamp(1.7rem, 10vw, 3.4rem);
        letter-spacing: -.075em;
        text-align: center;
        white-space: nowrap;
    }

    .hero .delivery-tag {
        margin-bottom: 9px;
        font-size: .78rem;
    }

    .hero p {
        width: 100%;
        max-width: 94%;
        font-size: .9rem;
        overflow-wrap: break-word;
    }

    .button-row .button {
        width: 100%;
    }

    .prelaunch-section {
        padding-bottom: 54px;
    }

    .prelaunch-card {
        grid-template-columns: auto 1fr;
        gap: 17px;
        padding: 22px 19px;
        transform: translateY(-20px);
    }

    .prelaunch-card .button {
        grid-column: 1 / -1;
    }

    .deadline-section {
        padding: 0 8px 78px;
    }

    .deadline-card {
        padding: 25px 17px;
        box-shadow: 5px 6px 0 var(--ink);
    }

    .countdown {
        grid-template-columns: repeat(2, 1fr);
    }

    .countdown > div {
        min-height: 105px;
    }

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

    .company-copy {
        padding: 70px 20px;
    }

    .area-row {
        display: block;
    }

    .area-row span {
        display: block;
    }

    .area-row span:last-child {
        margin-top: 6px;
        text-align: left;
    }

    .postcode-check > div {
        display: grid;
    }

    .story-card {
        gap: 34px;
        padding: 27px 21px;
        box-shadow: 6px 7px 0 var(--ink);
    }

    .account-cta-card {
        gap: 26px;
        padding: 26px 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .footer-column:last-child {
        grid-column: auto;
    }

    .footer-bottom {
        display: block;
    }

    .footer-bottom span {
        display: block;
        margin: 7px 0;
    }

    .flyer-tab {
        right: 12px;
        top: auto;
        bottom: 12px;
        min-height: 44px;
        padding: 10px 14px;
        border-right: 2px solid var(--ink);
        border-radius: 999px;
        box-shadow: 4px 5px 0 var(--ink);
        transform: none;
    }

    .flyer-tab span {
        writing-mode: initial;
        transform: none;
    }

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

    .full-field {
        grid-column: auto;
    }

    .account-type-fieldset {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .account-type-fieldset legend {
        grid-column: 1 / -1;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

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

    .admin-stats a {
        min-height: 140px;
    }

    .admin-row {
        grid-template-columns: 1fr;
    }

    .admin-row-copy {
        grid-column: auto;
    }
}

@media (max-width: 410px) {
    .brand-copy strong {
        font-size: .9rem;
    }

    .brand {
        gap: 8px;
    }

    .header-actions {
        gap: 5px;
    }

    .language-switch {
        gap: 2px;
    }
}

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

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