:root {
    --cream: #fbfaf7;
    --paper: #f7f2ec;
    --chalk: #fffdf9;
    --linen: #eee6da;
    --sand: #d7c4ad;
    --taupe: #a89179;
    --brown: #776655;
    --ink: #3e352d;
    --muted: #75695d;
    --line: rgba(126, 105, 84, 0.22);
    --shadow: 0 24px 70px rgba(89, 70, 50, 0.13);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Montserrat", Arial, sans-serif;
    --script: "Allura", cursive;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--cream);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

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

a {
    color: inherit;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 30px;
    min-height: 82px;
    padding: 16px clamp(22px, 5vw, 70px);
    border-bottom: 1px solid var(--line);
    background: rgba(251, 250, 247, 0.9);
    backdrop-filter: blur(16px);
}

.brand-mark,
.admin-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--brown);
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.brand-symbol {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border: 1px solid var(--sand);
    border-radius: 50%;
    color: var(--taupe);
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0;
}

.site-nav {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 34px);
    color: var(--brown);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-nav a,
.text-link {
    text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible {
    color: var(--ink);
}

.hero {
    display: grid;
    grid-template-columns: minmax(360px, 0.83fr) minmax(480px, 1.17fr);
    min-height: calc(100vh - 82px);
    border-bottom: 1px solid var(--line);
}

.hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(50px, 7vw, 110px) clamp(28px, 6vw, 92px);
    background:
        linear-gradient(120deg, rgba(255, 255, 255, 0.74), rgba(247, 242, 236, 0.9)),
        url("/assets/soft-texture.webp") center / cover;
}

.eyebrow {
    margin: 0 0 18px;
    color: var(--brown);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero h1,
.portal-page h1,
.login-wrap h1 {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--brown);
    font-family: var(--serif);
    font-size: clamp(62px, 10vw, 148px);
    font-weight: 400;
    line-height: 0.88;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h1 .name-word {
    display: inline;
    color: var(--brown);
    font-family: var(--serif);
    font-size: inherit;
    letter-spacing: inherit;
    text-transform: uppercase;
}

.hero h1 .script-word {
    display: block;
    color: var(--taupe);
    font-family: var(--script);
    font-size: clamp(48px, 7vw, 105px);
    letter-spacing: 0;
    text-transform: none;
    transform: translateY(-0.03em);
}

h2 {
    color: var(--ink);
    font-family: var(--serif);
    font-size: clamp(38px, 5vw, 72px);
    font-weight: 400;
    line-height: 1.02;
}

h3 {
    margin-bottom: 10px;
    color: var(--ink);
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.1;
}

.script-line {
    margin: 26px 0 22px;
    color: var(--taupe);
    font-family: var(--script);
    font-size: clamp(38px, 4vw, 62px);
    line-height: 0.95;
}

.intro,
.section-intro p,
.text-panel p,
.portal-section p,
.cake-section p,
.enquiry-copy p {
    color: var(--muted);
    font-size: 18px;
}

.intro {
    max-width: 560px;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    max-width: 100%;
}

.button,
.admin-action,
.admin-logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 1px solid var(--taupe);
    border-radius: 0;
    background: transparent;
    color: var(--brown);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.button.primary,
.admin-action {
    background: var(--brown);
    color: var(--chalk);
}

.button.primary:hover,
.button.primary:focus-visible,
.admin-action:hover,
.admin-action:focus-visible {
    background: var(--ink);
    border-color: var(--ink);
}

.button.quiet {
    background: rgba(255, 255, 255, 0.38);
    color: var(--brown);
}

.hero-image {
    min-height: 620px;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mood-section,
.split-section,
.package-section,
.portal-section,
.cake-section,
.enquiry-section,
.portal-page,
.login-wrap {
    padding: clamp(70px, 8vw, 130px) clamp(22px, 5vw, 70px);
}

.section-intro {
    display: grid;
    grid-template-columns: minmax(280px, 0.75fr) minmax(280px, 0.5fr);
    gap: clamp(24px, 5vw, 80px);
    align-items: end;
    margin-bottom: clamp(34px, 5vw, 70px);
}

.mood-section {
    position: relative;
    padding-top: clamp(56px, 7vw, 96px);
    background:
        linear-gradient(180deg, rgba(238, 230, 218, 0.46), rgba(251, 250, 247, 0) 220px),
        var(--cream);
}

.photography-intro {
    align-items: center;
    margin-bottom: clamp(30px, 5vw, 58px);
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.76);
    box-shadow: 0 18px 58px rgba(89, 70, 50, 0.08);
}

.photography-intro-copy {
    min-width: 0;
}

.photography-intro-copy h2 {
    max-width: 680px;
    margin: 0;
}

.photography-intro-note {
    min-width: 0;
    padding-left: clamp(20px, 4vw, 46px);
    border-left: 1px solid var(--line);
}

.photography-intro-note p {
    max-width: 520px;
    margin: 0;
}

.section-intro > *,
.split-section > *,
.portal-section > *,
.cake-section > *,
.enquiry-section > *,
.portal-heading,
.unlock-card,
.enquiry-form {
    min-width: 0;
}

.section-intro.narrow {
    display: block;
    max-width: 760px;
}

.mood-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    grid-auto-rows: 240px;
    gap: 18px;
}

.tile {
    overflow: hidden;
    margin: 0;
    background: var(--linen);
}

.tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tile-large {
    grid-row: span 2;
}

.tile-tall {
    grid-row: span 2;
}

.split-section {
    display: grid;
    grid-template-columns: minmax(320px, 0.8fr) minmax(360px, 1fr);
    gap: clamp(30px, 6vw, 90px);
    background: var(--paper);
}

.text-panel {
    align-self: center;
}

.service-list {
    display: grid;
    gap: 16px;
}

.service-list article,
.package-card,
.portal-card,
.unlock-card,
.admin-card {
    border: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.78);
    box-shadow: var(--shadow);
}

.service-list article {
    padding: clamp(24px, 4vw, 42px);
}

.service-list span,
.package-kicker {
    color: var(--taupe);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

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

.package-card {
    padding: 30px;
}

.package-card.featured {
    background: var(--ink);
    color: var(--chalk);
}

.package-card.featured h3,
.package-card.featured p,
.package-card.featured strong,
.package-card.featured li {
    color: var(--chalk);
}

.package-card strong {
    display: block;
    margin: 18px 0;
    color: var(--brown);
    font-family: var(--serif);
    font-size: 34px;
    font-weight: 500;
}

.package-card ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
}

.portal-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.8fr) minmax(280px, 0.5fr);
    gap: clamp(28px, 6vw, 90px);
    align-items: center;
    background:
        linear-gradient(120deg, rgba(62, 53, 45, 0.88), rgba(119, 102, 85, 0.78)),
        url("/assets/linen-2.jpg") center / cover;
    color: var(--chalk);
}

.portal-section h2,
.portal-section p,
.portal-section .eyebrow,
.portal-section .text-link,
.portal-card h3 {
    color: var(--chalk);
}

.portal-card {
    padding: 42px;
    text-align: center;
    background: rgba(255, 253, 249, 0.16);
    backdrop-filter: blur(12px);
}

.portal-card .brand-symbol {
    margin: 0 auto 22px;
    color: var(--chalk);
    border-color: rgba(255, 255, 255, 0.5);
}

.portal-card strong {
    display: inline-flex;
    padding: 12px 18px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    letter-spacing: 0.24em;
}

.cake-section {
    display: grid;
    grid-template-columns: minmax(300px, 0.8fr) minmax(300px, 0.7fr);
    gap: clamp(30px, 6vw, 90px);
    align-items: center;
}

.cake-section img {
    width: 100%;
    aspect-ratio: 1 / 0.85;
    object-fit: cover;
    box-shadow: var(--shadow);
}

.enquiry-section {
    display: grid;
    grid-template-columns: minmax(320px, 0.7fr) minmax(360px, 0.85fr);
    gap: clamp(30px, 6vw, 90px);
    background: var(--paper);
}

.enquiry-form,
.unlock-card,
.favourite-note,
.form-grid {
    display: grid;
    gap: 18px;
}

.enquiry-form,
.unlock-card {
    padding: clamp(26px, 5vw, 48px);
    background: var(--chalk);
    box-shadow: var(--shadow);
}

label {
    display: grid;
    gap: 8px;
    color: var(--brown);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    padding: 14px 16px;
}

textarea {
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
    outline: 2px solid var(--taupe);
    outline-offset: 3px;
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.field-error {
    color: #a94442;
    font-size: 12px;
    letter-spacing: 0;
    text-transform: none;
}

.notice {
    margin: 18px clamp(22px, 5vw, 70px);
    padding: 14px 18px;
    border: 1px solid rgba(89, 122, 86, 0.28);
    background: #f3f7ef;
    color: #4c6546;
}

.site-editor-open {
    padding: 9px 12px;
    border: 1px solid var(--taupe);
    background: var(--brown);
    color: var(--chalk);
}

.site-editor-active {
    padding-bottom: 118px;
}

.site-editor-toolbar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(920px, calc(100vw - 28px));
    padding: 14px;
    border: 1px solid rgba(255, 253, 249, 0.35);
    background: rgba(62, 53, 45, 0.94);
    color: var(--chalk);
    box-shadow: 0 22px 70px rgba(62, 53, 45, 0.32);
    transform: translateX(-50%);
}

.site-editor-toolbar strong,
.site-editor-toolbar span {
    display: block;
}

.site-editor-toolbar span {
    color: rgba(255, 253, 249, 0.72);
    font-size: 13px;
}

.site-editor-toolbar-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.site-editor-toolbar-actions form {
    margin: 0;
}

.site-editor-toolbar button,
.site-editor-image-tools button {
    border: 1px solid rgba(255, 253, 249, 0.28);
    background: var(--chalk);
    color: var(--brown);
    font-family: var(--sans);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    padding: 11px 13px;
    text-transform: uppercase;
    cursor: pointer;
}

.site-editor-toolbar [data-editor-done] {
    background: #f0d6b8;
    color: var(--ink);
}

.editable-image-frame {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
}

.hero-image .editable-image-frame,
.tile .editable-image-frame {
    height: 100%;
}

.editable-image-frame > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform-origin: center;
}

.site-editor-active [data-site-editable] {
    position: relative;
}

.site-editor-active [data-site-editable="text"],
.site-editor-active [data-site-editable="package-text"] {
    display: inline-block;
    min-width: 1.5em;
    padding: 0.04em 0.1em;
    border-radius: 0.16em;
    background: rgba(240, 214, 184, 0.2);
    box-shadow:
        0 0 0 1px rgba(119, 102, 85, 0.16),
        0 0 0 5px rgba(255, 253, 249, 0.18);
    cursor: text;
    transition: background 160ms ease, box-shadow 160ms ease;
}

.site-editor-active p[data-site-editable],
.site-editor-active h2[data-site-editable],
.site-editor-active h3[data-site-editable],
.site-editor-active strong[data-site-editable] {
    display: block;
}

.site-editor-active [data-site-editable="text"]:hover,
.site-editor-active [data-site-editable="package-text"]:hover {
    background: rgba(240, 214, 184, 0.34);
    box-shadow:
        0 0 0 1px rgba(119, 102, 85, 0.32),
        0 0 0 7px rgba(255, 253, 249, 0.32);
}

.site-editor-active [contenteditable="true"]:focus {
    outline: 2px solid rgba(119, 102, 85, 0.72);
    outline-offset: 6px;
    background-color: rgba(255, 253, 249, 0.72);
    box-shadow:
        0 0 0 1px rgba(119, 102, 85, 0.18),
        0 0 0 9px rgba(240, 214, 184, 0.22);
}

.site-editor-active .editable-image-frame {
    outline: 1px solid rgba(119, 102, 85, 0.24);
    outline-offset: -1px;
    cursor: grab;
    transition: box-shadow 160ms ease, outline-color 160ms ease;
}

.site-editor-active .editable-image-frame.is-dragging {
    cursor: grabbing;
}

.site-editor-active .editable-image-frame:hover {
    outline-color: rgba(119, 102, 85, 0.48);
    box-shadow: 0 0 0 4px rgba(240, 214, 184, 0.22);
}

.site-editor-active .editable-image-frame.is-selected {
    outline-color: rgba(119, 102, 85, 0.62);
    box-shadow: 0 0 0 5px rgba(240, 214, 184, 0.32), var(--shadow);
}

.site-editor-image-tools {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 6;
    display: none;
    grid-template-columns: minmax(180px, 1fr) minmax(220px, 1.1fr);
    gap: 12px;
    align-items: stretch;
    padding: 14px;
    border: 1px solid rgba(255, 253, 249, 0.3);
    background: rgba(62, 53, 45, 0.92);
    color: var(--chalk);
    box-shadow: 0 18px 46px rgba(39, 32, 27, 0.28);
    backdrop-filter: blur(14px);
}

.site-editor-active .editable-image-frame:hover .site-editor-image-tools,
.site-editor-active .editable-image-frame.is-selected .site-editor-image-tools,
.site-editor-active .editable-image-frame:focus-within .site-editor-image-tools {
    display: grid;
}

.site-editor-image-tools label {
    color: var(--chalk);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-editor-zoom-control,
.site-editor-alt-control {
    display: grid;
    gap: 9px;
    min-width: 0;
}

.site-editor-tool-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    color: var(--chalk);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.site-editor-tool-heading output {
    min-width: 46px;
    padding: 3px 7px;
    border: 1px solid rgba(255, 253, 249, 0.18);
    background: rgba(255, 253, 249, 0.12);
    color: #f0d6b8;
    font-size: 11px;
    text-align: center;
}

.site-editor-range-row {
    display: grid;
    grid-template-columns: 38px minmax(120px, 1fr) 38px;
    gap: 8px;
    align-items: center;
}

.site-editor-image-tools .site-editor-range-row button {
    min-height: 38px;
    padding: 0;
    border-color: rgba(255, 253, 249, 0.22);
    background: rgba(255, 253, 249, 0.12);
    color: var(--chalk);
    font-size: 19px;
    line-height: 1;
}

.site-editor-image-tools .site-editor-range-row button:hover,
.site-editor-image-tools .site-editor-range-row button:focus-visible {
    background: #f0d6b8;
    color: var(--ink);
}

.site-editor-image-tools input[type="range"] {
    width: 100%;
    min-height: 38px;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
    accent-color: #f0d6b8;
    background: transparent;
    cursor: pointer;
    touch-action: pan-y;
}

.site-editor-image-tools input[type="range"]::-webkit-slider-runnable-track {
    height: 6px;
    border-radius: 999px;
    background:
        linear-gradient(90deg, #f0d6b8 var(--editor-range-progress, 0%), rgba(255, 253, 249, 0.22) var(--editor-range-progress, 0%));
}

.site-editor-image-tools input[type="range"]::-webkit-slider-thumb {
    width: 22px;
    height: 22px;
    margin-top: -8px;
    border: 2px solid var(--chalk);
    border-radius: 50%;
    appearance: none;
    background: #f0d6b8;
    box-shadow: 0 4px 16px rgba(39, 32, 27, 0.34);
}

.site-editor-image-tools input[type="range"]::-moz-range-track {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 253, 249, 0.22);
}

.site-editor-image-tools input[type="range"]::-moz-range-progress {
    height: 6px;
    border-radius: 999px;
    background: #f0d6b8;
}

.site-editor-image-tools input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid var(--chalk);
    border-radius: 50%;
    background: #f0d6b8;
    box-shadow: 0 4px 16px rgba(39, 32, 27, 0.34);
}

.site-editor-image-tools input[type="range"]:focus-visible {
    outline: 2px solid rgba(240, 214, 184, 0.72);
    outline-offset: 4px;
}

.site-editor-image-tools input[type="text"] {
    min-height: 38px;
    padding: 8px;
    border: 1px solid rgba(255, 253, 249, 0.24);
    background: rgba(255, 253, 249, 0.12);
    color: var(--chalk);
}

.site-editor-image-tools small {
    grid-column: 1 / -1;
    color: rgba(255, 253, 249, 0.72);
}

.site-editor-file-input {
    display: none;
}

.site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 40px clamp(22px, 5vw, 70px);
    border-top: 1px solid var(--line);
    color: var(--brown);
}

.site-footer div {
    display: flex;
    align-items: center;
    gap: 14px;
}

.testimonial-section {
    padding: clamp(70px, 8vw, 120px) clamp(22px, 5vw, 70px);
    background:
        linear-gradient(180deg, rgba(251, 250, 247, 0.8), rgba(238, 230, 218, 0.52)),
        url("/assets/linen-texture.webp") center / cover;
}

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

.testimonial-card {
    padding: clamp(24px, 4vw, 38px);
    border: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.84);
    box-shadow: var(--shadow);
}

.testimonial-card span {
    display: block;
    margin-bottom: 18px;
    color: var(--taupe);
    letter-spacing: 0.2em;
}

.testimonial-card p {
    color: var(--muted);
}

.testimonial-card strong,
.testimonial-card small {
    display: block;
}

.admin-sidebar {
    overflow-y: auto;
}

.admin-sidebar nav {
    padding-bottom: 12px;
}

.bulk-toolbar,
.mini-form {
    display: grid;
    gap: 12px;
    align-items: end;
    margin: 0 0 20px;
}

.bulk-toolbar {
    grid-template-columns: minmax(180px, 260px) minmax(180px, 1fr) auto;
    padding: 16px;
    border: 1px solid var(--line);
    background: rgba(247, 242, 236, 0.72);
}

.mini-form {
    grid-template-columns: repeat(4, minmax(0, 1fr)) auto;
    margin-top: 14px;
}

.mini-form textarea {
    min-height: 62px;
}

.bulk-check {
    position: absolute;
    z-index: 2;
    margin: 10px;
    display: inline-flex;
    width: auto;
    grid-auto-flow: column;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 253, 249, 0.7);
    background: rgba(62, 53, 45, 0.7);
    color: var(--chalk);
    font-size: 10px;
    letter-spacing: 0.12em;
}

.bulk-check input {
    width: auto;
}

.order-panel {
    border: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.7);
}

.order-items {
    display: grid;
    gap: 4px;
    margin-top: 10px;
}

.invoice-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
    gap: 28px;
    padding: clamp(32px, 6vw, 70px);
    border: 1px solid var(--line);
    background: var(--chalk);
    box-shadow: var(--shadow);
}

.invoice-shell .full {
    grid-column: 1 / -1;
}

.invoice-totals {
    display: grid;
    gap: 10px;
    margin: 0;
}

.invoice-totals div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

.invoice-totals dt {
    color: var(--brown);
    font-weight: 700;
}

.invoice-totals dd {
    margin: 0;
}

.public-form-page {
    display: grid;
    grid-template-columns: minmax(280px, 0.7fr) minmax(340px, 0.9fr);
    gap: clamp(28px, 7vw, 96px);
    min-height: calc(100vh - 82px);
    padding: clamp(58px, 8vw, 120px) clamp(22px, 5vw, 70px);
    background:
        linear-gradient(120deg, rgba(251, 250, 247, 0.94), rgba(238, 230, 218, 0.72)),
        url("/assets/soft-texture.webp") center / cover;
}

.public-form-intro {
    align-self: start;
    position: sticky;
    top: 112px;
}

.public-form-intro h1 {
    margin: 0 0 24px;
    color: var(--brown);
    font-family: var(--serif);
    font-size: clamp(52px, 7vw, 104px);
    font-weight: 400;
    line-height: 0.92;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

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

.public-form-page .full {
    grid-column: 1 / -1;
}

.contract-terms {
    max-height: 380px;
    overflow: auto;
    padding: 22px;
    border: 1px solid var(--line);
    background: rgba(247, 242, 236, 0.72);
    color: var(--muted);
}

.signature-pad {
    width: 100%;
    height: 190px;
    border: 1px solid var(--line);
    background: #fff;
    cursor: crosshair;
}

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

.compare-panel {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: grid;
    place-items: center;
    padding: 22px;
    background: rgba(62, 53, 45, 0.72);
}

.compare-panel[hidden] {
    display: none;
}

.compare-panel-inner {
    position: relative;
    width: min(1080px, 100%);
    max-height: min(860px, calc(100vh - 44px));
    overflow: auto;
    padding: clamp(26px, 4vw, 44px);
    background: var(--chalk);
    box-shadow: 0 30px 90px rgba(39, 32, 27, 0.32);
}

.compare-panel-inner h2 {
    margin-bottom: 14px;
}

.compare-close {
    position: absolute;
    top: 16px;
    right: 16px;
    border: 1px solid var(--line);
    background: var(--paper);
    color: var(--brown);
    padding: 10px 12px;
    cursor: pointer;
}

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

.compare-grid figure {
    margin: 0;
    background: var(--paper);
}

.compare-grid img {
    width: 100%;
    max-height: 72vh;
    object-fit: contain;
    background: var(--linen);
}

.compare-grid figcaption {
    padding: 12px 14px;
    color: var(--brown);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.portal-page {
    background: var(--paper);
    min-height: calc(100vh - 82px);
}

.portal-heading {
    max-width: 860px;
    margin-bottom: 38px;
}

.portal-page h1,
.login-wrap h1 {
    font-size: clamp(42px, 7vw, 92px);
}

.unlock-card {
    max-width: 560px;
    width: 100%;
}

.gallery-tools {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.proof-protection-note {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 24px;
    padding: 16px 18px;
    border: 1px solid rgba(103, 84, 67, 0.28);
    background: rgba(255, 253, 249, 0.82);
    color: var(--brown);
    box-shadow: var(--shadow);
}

.proof-protection-note strong {
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
}

.proof-protection-note span {
    color: var(--muted);
    font-size: 14px;
}

.gallery-grid {
    column-count: 3;
    column-gap: 18px;
}

.proof-card {
    break-inside: avoid;
    display: block;
    margin-bottom: 18px;
    background: var(--chalk);
    box-shadow: var(--shadow);
    cursor: pointer;
}

.proof-card,
.proof-image-shell,
.proof-image-shell img {
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    user-select: none;
}

.proof-image-shell {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 0;
    background: var(--linen);
}

.proof-image-shell::before,
.proof-image-shell::after {
    pointer-events: none;
    position: absolute;
    z-index: 2;
}

.proof-image-shell::before {
    content: "";
    inset: -30%;
    background:
        repeating-linear-gradient(
            -28deg,
            rgba(255, 255, 255, 0) 0,
            rgba(255, 255, 255, 0) 82px,
            rgba(255, 255, 255, 0.22) 84px,
            rgba(255, 255, 255, 0) 90px
        );
}

.proof-image-shell::after {
    content: attr(data-watermark);
    left: 50%;
    top: 50%;
    width: max-content;
    max-width: 82%;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.42);
    background: rgba(62, 53, 45, 0.38);
    color: rgba(255, 255, 255, 0.76);
    font-size: clamp(13px, 2.2vw, 20px);
    font-weight: 700;
    letter-spacing: 0.18em;
    text-align: center;
    text-transform: uppercase;
    transform: translate(-50%, -50%) rotate(-18deg);
}

.proof-card img {
    width: 100%;
    pointer-events: none;
}

.proof-image-pending {
    display: grid;
    min-height: 240px;
    place-items: center;
    padding: 24px;
    color: var(--brown);
    font-family: var(--serif);
    font-size: 24px;
    text-align: center;
}

.proof-card > span:not(.proof-image-shell) {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
}

.proof-card input {
    width: auto;
}

.proof-warning-toast {
    position: fixed;
    right: clamp(16px, 4vw, 42px);
    bottom: clamp(16px, 4vw, 42px);
    z-index: 80;
    max-width: min(520px, calc(100vw - 32px));
    padding: 18px 20px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(39, 32, 27, 0.96);
    color: var(--chalk);
    box-shadow: 0 22px 60px rgba(39, 32, 27, 0.32);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 180ms ease, transform 180ms ease;
}

.proof-warning-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media print {
    .protected-gallery-content,
    .proof-protection-note,
    .proof-warning-toast {
        display: none !important;
    }

    body.proof-print-block::before {
        content: "Protected proof gallery. Printing and copying are not permitted.";
        display: grid;
        place-items: center;
        min-height: 100vh;
        background: #000;
        color: #fff;
        font: 700 22px/1.4 sans-serif;
        text-align: center;
    }
}

.favourite-note {
    max-width: 760px;
    margin-top: 32px;
    padding: 26px;
    background: var(--chalk);
    box-shadow: var(--shadow);
}

.login-wrap {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 82px);
}

.admin-body {
    display: grid;
    grid-template-columns: 290px 1fr;
    min-height: 100vh;
    background: #f5f0e9;
}

.admin-sidebar {
    position: sticky;
    top: 0;
    display: flex;
    flex-direction: column;
    gap: 28px;
    height: 100vh;
    padding: 28px;
    border-right: 1px solid var(--line);
    background: #fffaf4;
}

.admin-brand {
    font-size: 18px;
    letter-spacing: 0.08em;
}

.admin-sidebar nav {
    display: grid;
    gap: 8px;
}

.admin-sidebar nav a,
.row-link {
    display: block;
    padding: 12px 14px;
    border: 1px solid transparent;
    color: var(--brown);
    text-decoration: none;
}

.admin-sidebar nav a:hover,
.admin-sidebar nav a:focus-visible,
.row-link:hover,
.row-link:focus-visible {
    border-color: var(--line);
    background: var(--paper);
}

.admin-logout {
    width: 100%;
    margin-top: auto;
}

.admin-main {
    padding: clamp(24px, 4vw, 56px);
}

.admin-page-title {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: end;
    margin-bottom: 28px;
}

.admin-page-title h1 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(42px, 5vw, 72px);
    font-weight: 500;
}

.admin-page-title .admin-action + .admin-action {
    margin-left: 10px;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

.stat-grid article {
    padding: 24px;
    border: 1px solid var(--line);
    background: var(--chalk);
}

.stat-grid strong {
    display: block;
    font-family: var(--serif);
    font-size: 44px;
    line-height: 1;
}

.stat-grid span,
small {
    color: var(--muted);
}

.attention-card {
    margin-bottom: 24px;
    background:
        linear-gradient(135deg, rgba(62, 53, 45, 0.94), rgba(119, 102, 85, 0.88)),
        url("/assets/soft-texture.webp") center / cover;
    color: var(--chalk);
}

.attention-card h2 {
    color: var(--chalk);
}

.attention-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.attention-grid a {
    min-height: 128px;
    padding: 18px;
    border: 1px solid rgba(255, 253, 249, 0.22);
    color: var(--chalk);
    text-decoration: none;
    background: rgba(255, 253, 249, 0.08);
}

.attention-grid strong {
    display: block;
    font-family: var(--serif);
    font-size: 46px;
    line-height: 1;
}

.attention-grid span {
    display: block;
    margin-top: 10px;
    color: rgba(255, 253, 249, 0.78);
}

.admin-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.admin-card {
    padding: 24px;
    background: rgba(255, 253, 249, 0.9);
}

.admin-card h2 {
    margin-bottom: 18px;
    font-size: 34px;
}

.row-link + .row-link {
    border-top: 1px solid var(--line);
}

.row-link strong,
.row-link span,
.row-link small {
    display: block;
}

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

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

th {
    color: var(--brown);
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.status-pill {
    display: inline-flex;
    padding: 4px 10px;
    border: 1px solid var(--line);
    color: var(--brown);
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.detail-card dl {
    display: grid;
    gap: 16px;
    margin: 0;
}

.detail-card dt {
    color: var(--brown);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.detail-card dd {
    margin: 4px 0 0;
}

.inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: end;
    margin-top: 24px;
}

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

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

.check-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-row input {
    width: auto;
}

.checklist-panel {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 18px;
    border: 1px solid var(--line);
}

.checklist-panel legend {
    padding: 0 8px;
    color: var(--brown);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.upload-dropzone {
    display: grid;
    gap: 16px;
    padding: 22px;
    border: 1px dashed rgba(119, 102, 85, 0.45);
    background: rgba(247, 242, 236, 0.72);
}

.price-note {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--line);
}

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

.admin-proof-grid article {
    border: 1px solid var(--line);
    background: var(--paper);
}

.admin-proof-grid img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.admin-proof-missing {
    display: grid;
    min-height: 180px;
    place-items: center;
    padding: 20px;
    background: var(--linen);
    color: var(--muted);
    text-align: center;
}

.admin-proof-grid p,
.admin-proof-grid form {
    margin: 0;
    padding: 12px;
}

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

.detailed-proof-grid article {
    display: grid;
    align-content: start;
}

.image-admin-form {
    display: grid;
    gap: 12px;
}

.image-admin-form label {
    font-size: 10px;
    letter-spacing: 0.1em;
}

.image-admin-form input,
.image-admin-form select {
    min-height: 42px;
    padding: 10px;
    font-size: 13px;
}

.compact-action {
    min-height: 42px;
    padding: 0 14px;
    font-size: 10px;
}

.danger-form button,
.admin-proof-grid .danger-form button {
    border: 0;
    background: none;
    color: #9d3f35;
    cursor: pointer;
}

.proof-selection-complete,
.proof-price-list {
    margin: 0 0 24px;
    padding: 24px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 249, 0.84);
    box-shadow: var(--shadow);
}

.proof-selection-complete h2 {
    margin-bottom: 12px;
    font-size: clamp(34px, 4vw, 54px);
}

.proof-price-list strong,
.selection-counter {
    display: inline-flex;
    margin-top: 10px;
    color: var(--brown);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.protected-gallery-content.is-over-selection-limit .selection-counter {
    color: #9d3f35;
}

.proof-card-controls {
    display: grid;
    gap: 14px;
    padding: 16px;
}

.proof-card-controls textarea {
    min-height: 92px;
}

.proof-favourite-check {
    display: flex;
    align-items: center;
    gap: 10px;
}

.construction-body {
    min-height: 100vh;
    background:
        linear-gradient(135deg, rgba(251, 250, 247, 0.92), rgba(238, 230, 218, 0.82)),
        url("/assets/soft-texture.webp") center / cover;
    overflow-x: hidden;
}

.construction-shell {
    display: grid;
    min-height: 100vh;
    padding: clamp(18px, 4vw, 54px);
    place-items: center;
}

.construction-card {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(330px, 0.75fr);
    width: min(1180px, 100%);
    min-width: 0;
    overflow: hidden;
    border: 1px solid rgba(126, 105, 84, 0.28);
    background: rgba(255, 253, 249, 0.88);
    box-shadow: 0 30px 90px rgba(89, 70, 50, 0.16);
}

.construction-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: min(720px, calc(100vh - 108px));
    min-width: 0;
    padding: clamp(30px, 5vw, 66px);
}

.construction-brand {
    align-self: flex-start;
    margin-bottom: clamp(30px, 5vw, 58px);
}

.construction-copy h1 {
    max-width: 760px;
    margin: 0 0 24px;
    color: var(--brown);
    font-family: var(--serif);
    font-size: clamp(44px, 6vw, 86px);
    font-weight: 400;
    line-height: 0.94;
    letter-spacing: 0.055em;
    text-transform: uppercase;
}

.construction-intro {
    max-width: 650px;
    margin-bottom: 34px;
    color: var(--muted);
    font-size: clamp(17px, 2vw, 21px);
}

.construction-form {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 12px;
    width: min(650px, 100%);
    align-items: end;
    margin-bottom: 18px;
}

.construction-form label {
    display: grid;
    gap: 8px;
    color: var(--brown);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.construction-form input {
    width: 100%;
    min-height: 54px;
    border: 1px solid var(--line);
    background: #fffdf9;
    color: var(--ink);
    padding: 0 18px;
    font-size: 16px;
    letter-spacing: 0.02em;
}

.construction-form input:focus-visible {
    outline: 2px solid rgba(168, 145, 121, 0.45);
    outline-offset: 2px;
}

.construction-form .field-error {
    grid-column: 1 / -1;
}

.construction-note,
.construction-admin-link {
    color: var(--muted);
    font-size: 13px;
}

.construction-admin-link {
    align-self: flex-start;
    margin-top: 4px;
    color: var(--brown);
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.construction-image {
    position: relative;
    min-height: 100%;
    background: var(--linen);
}

.construction-image::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(180deg, rgba(62, 53, 45, 0.05), rgba(62, 53, 45, 0.28));
}

.construction-image img {
    width: 100%;
    height: 100%;
    min-height: min(720px, calc(100vh - 108px));
    object-fit: cover;
}

.construction-image-caption {
    position: absolute;
    right: 28px;
    bottom: 28px;
    z-index: 2;
    max-width: 280px;
    padding: 16px 18px;
    border: 1px solid rgba(255, 253, 249, 0.55);
    background: rgba(62, 53, 45, 0.32);
    color: #fffdf9;
    font-family: var(--serif);
    font-size: 24px;
    line-height: 1.05;
}

@media (max-width: 1100px) {
    .package-grid,
    .stat-grid,
    .attention-grid,
    .admin-proof-grid,
    .testimonial-grid,
    .mini-slot-grid,
    .compare-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .admin-body {
        grid-template-columns: 230px 1fr;
    }
}

@media (max-width: 820px) {
    .site-header,
    .hero,
    .section-intro,
    .split-section,
    .portal-section,
    .cake-section,
    .enquiry-section,
    .admin-columns,
    .form-grid,
    .bulk-toolbar,
    .mini-form,
    .invoice-shell,
    .public-form-page,
    .public-form-page .enquiry-form,
    .admin-page-title {
        grid-template-columns: 1fr;
    }

    .public-form-intro {
        position: static;
    }

    .admin-page-title .admin-action + .admin-action {
        margin-left: 0;
    }

    .site-header {
        position: static;
        gap: 18px;
    }

    .site-nav {
        justify-self: start;
        flex-wrap: wrap;
        gap: 12px 18px;
    }

    .construction-card {
        grid-template-columns: 1fr;
        width: min(100%, calc(100vw - 28px));
    }

    .construction-copy {
        min-height: auto;
    }

    .construction-image img {
        min-height: 360px;
    }

    .photography-intro {
        gap: 22px;
        padding: 28px;
    }

    .photography-intro-note {
        padding-left: 0;
        border-left: 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-image {
        min-height: 420px;
    }

    .mood-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 190px;
    }

    .gallery-grid {
        column-count: 2;
    }

    .admin-body {
        display: block;
    }

    .admin-sidebar {
        position: static;
        height: auto;
    }
}

@media (max-width: 560px) {
    body {
        font-size: 15px;
    }

    .brand-mark {
        font-size: 18px;
        letter-spacing: 0.1em;
    }

    .brand-symbol {
        width: 46px;
        height: 46px;
        font-size: 23px;
    }

    .site-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
        font-size: 11px;
        letter-spacing: 0.1em;
    }

    .site-editor-active {
        padding-bottom: 170px;
    }

    .site-editor-toolbar {
        display: grid;
        gap: 12px;
        bottom: 10px;
        width: calc(100vw - 20px);
    }

    .site-editor-toolbar-actions,
    .site-editor-toolbar button {
        width: 100%;
    }

    .site-editor-image-tools {
        grid-template-columns: 1fr;
        max-height: 70%;
        overflow: auto;
    }

    .hero h1,
    .portal-page h1,
    .login-wrap h1 {
        max-width: 100%;
        font-size: clamp(42px, 17vw, 62px);
        letter-spacing: 0.04em;
        overflow-wrap: normal;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 0.18em;
        line-height: 1.55;
    }

    .script-line {
        font-size: clamp(34px, 11vw, 44px);
        line-height: 1.05;
    }

    .script-line span {
        display: block;
    }

    .intro,
    .section-intro p,
    .text-panel p,
    .portal-section p,
    .cake-section p,
    .enquiry-copy p {
        font-size: 16px;
    }

    .intro {
        max-width: 31ch;
    }

    .hero h1 .name-word {
        display: block;
    }

    .hero h1 .script-word {
        font-size: clamp(42px, 16vw, 60px);
    }

    h2,
    .admin-card h2 {
        font-size: 34px;
    }

    .portal-page h1 {
        max-width: 8.8ch;
        font-size: 46px;
        letter-spacing: 0.02em;
        line-height: 0.98;
    }

    .unlock-card {
        max-width: calc(100vw - 36px);
        width: min(310px, calc(100vw - 54px));
        padding: 26px;
    }

    .construction-shell {
        display: block;
        width: 100%;
        max-width: 390px;
        margin: 0;
        padding: 14px;
    }

    .construction-copy {
        padding: 26px;
        max-width: 100%;
        overflow: hidden;
    }

    .construction-brand {
        align-items: center;
        width: 100%;
        margin-bottom: 34px;
        gap: 11px;
    }

    .construction-copy h1 {
        max-width: 300px;
        font-size: clamp(33px, 9vw, 40px);
        line-height: 1.04;
        letter-spacing: 0.02em;
        overflow-wrap: break-word;
    }

    .construction-brand span:last-child {
        flex: 1;
        min-width: 0;
        font-size: 13px;
        letter-spacing: 0.08em;
        line-height: 1.35;
    }

    .construction-intro {
        max-width: 300px;
        font-size: 15px;
        overflow-wrap: break-word;
    }

    .construction-form {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 300px;
    }

    .construction-form .button {
        width: 100%;
    }

    .construction-image {
        display: none;
    }

    .construction-note {
        max-width: 300px;
    }

    .construction-image-caption {
        right: 18px;
        bottom: 18px;
        font-size: 20px;
    }

    .unlock-card h2 {
        max-width: 11ch;
        font-size: 30px;
        line-height: 1.12;
    }

    .portal-heading p,
    .unlock-card p {
        max-width: 31ch;
        font-size: 15px;
    }

    .hero-copy,
    .mood-section,
    .split-section,
    .package-section,
    .portal-section,
    .cake-section,
    .enquiry-section,
    .portal-page,
    .login-wrap {
        padding: 48px 18px;
    }

    .package-grid,
    .stat-grid,
    .attention-grid,
    .admin-proof-grid,
    .detailed-proof-grid,
    .testimonial-grid,
    .mini-slot-grid,
    .compare-grid,
    .mood-grid {
        grid-template-columns: 1fr;
    }

    .checklist-panel {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        column-count: 1;
    }
}
