:root {
    --bg: #f3eadb;
    --bg-soft: #fbf6ee;
    --ink: #2d1d17;
    --ink-soft: #6d5449;
    --line: rgba(83, 43, 30, 0.12);
    --panel: rgba(255, 250, 242, 0.78);
    --accent-dark: #5f301f;
    --accent-soft: #e6c9a4;
    --shadow: 0 24px 60px rgba(65, 36, 26, 0.14);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Georgia, "Times New Roman", serif;
    background:
        radial-gradient(circle at top left, rgba(255, 244, 223, 0.95), transparent 34%),
        radial-gradient(circle at 85% 20%, rgba(205, 146, 111, 0.16), transparent 22%),
        linear-gradient(180deg, #f7efe1 0%, #efe1cb 48%, #ead8be 100%);
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

p,
li,
dd {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    line-height: 1.65;
}

.page-shell {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 24px 0 56px;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 12px 0 24px;
}

.brand {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.brand-lockup {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    max-width: min(100%, 360px);
}

.brand-logo {
    display: block;
    width: 52px;
    height: 52px;
    object-fit: contain;
    border-radius: 14px;
}

.brand-text {
    display: grid;
    gap: 4px;
}

.brand-name {
    display: block;
}

.brand-claim {
    color: var(--ink-soft);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: none;
}

.site-nav {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    color: var(--ink-soft);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

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

.hero,
.journey,
.formats,
.audience,
.next-step {
    margin-bottom: 28px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--panel);
    box-shadow: var(--shadow);
    backdrop-filter: blur(14px);
}

.hero {
    display: grid;
    grid-template-columns: 1.35fr 0.9fr;
    gap: 28px;
    padding: 42px;
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -12% auto;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 75, 50, 0.18), rgba(139, 75, 50, 0));
    pointer-events: none;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--accent-dark);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.next-step h2 {
    margin: 0;
    line-height: 1.03;
    font-size: clamp(2.5rem, 5vw, 5rem);
}

.hero-text,
.section-heading {
    max-width: 760px;
}

.hero-text {
    margin: 22px 0 0;
    font-size: 1.1rem;
    color: var(--ink-soft);
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin: 28px 0 24px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 20px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-weight: 700;
    transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover,
.button:focus-visible {
    transform: translateY(-1px);
}

.button-primary {
    background: var(--accent-dark);
    color: #fff6ec;
    box-shadow: 0 14px 30px rgba(95, 48, 31, 0.28);
}

.button-secondary {
    border-color: rgba(95, 48, 31, 0.18);
    background: rgba(255, 255, 255, 0.52);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.hero-points li {
    padding: 10px 14px;
    border: 1px solid rgba(95, 48, 31, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.55);
}

.hero-card {
    position: relative;
    padding: 28px;
    border-radius: 24px;
    color: #fff5ea;
    background: linear-gradient(180deg, rgba(96, 52, 38, 0.95) 0%, rgba(63, 33, 23, 0.95) 100%);
    overflow: hidden;
}

.hero-card-glow {
    position: absolute;
    inset: -10% auto auto 60%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 211, 150, 0.65), rgba(255, 211, 150, 0));
}

.hero-card > * {
    position: relative;
    z-index: 1;
}

.hero-card-image {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
    margin: 0 0 18px;
    border-radius: 18px;
}

.hero-card-label,
.format-tag {
    margin: 0 0 12px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent-soft);
}

.hero-card h2,
.format-card h3,
.journey-step h3,
.audience-list h3,
.next-step-panel h3 {
    margin: 0 0 12px;
    font-size: 1.7rem;
    line-height: 1.1;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 28px 0 0;
}

.hero-stats div {
    padding-top: 14px;
    border-top: 1px solid rgba(255, 234, 213, 0.18);
}

.hero-stats dt {
    margin-bottom: 8px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 0.85rem;
    color: rgba(255, 234, 213, 0.72);
}

.hero-stats dd {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.journey,
.formats,
.audience,
.next-step {
    padding: 34px;
}

.section-heading {
    margin-bottom: 24px;
}

.section-heading h2 {
    font-size: clamp(1.9rem, 3.2vw, 3.3rem);
}

.journey-grid,
.format-grid {
    display: grid;
    gap: 18px;
}

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

.journey-step,
.format-card,
.quote-card,
.next-step-panel,
.registration-card,
.registration-intro,
.submitted-card,
.auth-card {
    border-radius: 22px;
    border: 1px solid rgba(95, 48, 31, 0.1);
    background: rgba(255, 253, 249, 0.82);
    padding: 22px;
}

.journey-step span {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: rgba(139, 75, 50, 0.1);
    color: var(--accent-dark);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-weight: 700;
}

.format-grid {
    grid-template-columns: 1.2fr 1fr 1fr;
}

.format-card ul,
.next-step-panel ul {
    margin: 16px 0 0;
    padding-left: 18px;
}

.format-card-highlight {
    background: linear-gradient(180deg, rgba(255, 249, 238, 0.98) 0%, rgba(250, 235, 212, 0.95) 100%);
}

.audience-layout,
.next-step {
    display: grid;
    grid-template-columns: 1.3fr 0.85fr;
    gap: 18px;
}

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

.quote-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    background: linear-gradient(180deg, rgba(96, 52, 38, 0.92) 0%, rgba(63, 33, 23, 0.94) 100%);
    color: #fff6eb;
}

.quote-card-mark {
    margin: 0 0 8px;
    font-size: 3rem;
    line-height: 1;
    color: rgba(255, 221, 184, 0.72);
}

.quote-card-photo {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    margin: 0 0 18px;
    border: 2px solid rgba(255, 221, 184, 0.35);
}

.next-step {
    align-items: stretch;
}

.next-step-copy p:last-child {
    margin-bottom: 0;
    color: var(--ink-soft);
}

.public-identity-card {
    border-radius: 22px;
    border: 1px solid rgba(95, 48, 31, 0.1);
    background: rgba(255, 253, 249, 0.82);
    padding: 22px;
    box-shadow: var(--shadow);
}

.public-identity-card h3 {
    margin: 0 0 12px;
    font-size: 1.45rem;
}

.public-identity-line {
    margin: 0 0 18px;
    color: var(--ink-soft);
}

.public-identity-list {
    display: grid;
    gap: 14px;
    margin: 0;
}

.public-identity-list div {
    display: grid;
    gap: 4px;
}

.public-identity-list dt {
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.public-identity-list dd {
    margin: 0;
}

.tenant-media-preview {
    display: block;
    width: min(100%, 240px);
    max-height: 180px;
    object-fit: contain;
    margin-top: 12px;
    border-radius: 16px;
    border: 1px solid rgba(95, 48, 31, 0.1);
    background: rgba(255, 255, 255, 0.72);
}

.registration-page {
    display: grid;
    grid-template-columns: 0.95fr 1.2fr;
    gap: 22px;
}

.registration-intro,
.registration-card,
.submitted-card,
.auth-card {
    box-shadow: var(--shadow);
}

.registration-intro p:last-of-type,
.submitted-card p:last-of-type {
    color: var(--ink-soft);
}

.registration-checklist {
    margin: 20px 0 0;
    padding-left: 18px;
}

.registration-form {
    display: grid;
    gap: 18px;
}

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

.form-field {
    display: grid;
    gap: 8px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
    font-weight: 700;
}

.form-field span {
    font-size: 0.95rem;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    border: 1px solid rgba(95, 48, 31, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.86);
    color: var(--ink);
    font: inherit;
    font-weight: 400;
    padding: 14px 16px;
}

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

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    outline: 2px solid rgba(95, 48, 31, 0.2);
    outline-offset: 2px;
}

.form-alert {
    margin-bottom: 20px;
    border: 1px solid rgba(129, 41, 33, 0.18);
    border-radius: 18px;
    background: rgba(146, 47, 38, 0.08);
    padding: 16px 18px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.form-alert ul {
    margin: 10px 0 0;
    padding-left: 18px;
}

.form-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.submitted-page {
    display: flex;
    justify-content: center;
    padding-top: 64px;
}

.submitted-card {
    width: min(680px, 100%);
}

.booking-page {
    display: grid;
    grid-template-columns: 0.8fr 1.25fr;
    gap: 22px;
}

.booking-intro,
.booking-card,
.booking-result,
.booking-price,
.dashboard-hero,
.dashboard-panel,
.dashboard-card {
    border-radius: 22px;
    border: 1px solid rgba(95, 48, 31, 0.1);
    background: rgba(255, 253, 249, 0.82);
    box-shadow: var(--shadow);
}

.booking-intro,
.booking-card,
.dashboard-hero,
.dashboard-panel {
    padding: 22px;
}

.booking-result,
.booking-price {
    margin-bottom: 18px;
    padding: 18px 20px;
}

.booking-filter {
    margin-bottom: 22px;
}

.booking-slots,
.booking-preparation {
    margin-bottom: 22px;
}

.booking-muted {
    color: var(--ink-soft);
}

.slot-list {
    display: grid;
    gap: 12px;
}

.slot-option {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 16px;
    border: 1px solid rgba(95, 48, 31, 0.12);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.74);
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.slot-option input {
    margin-top: 4px;
}

.slot-option em {
    display: block;
    margin-top: 4px;
    font-style: normal;
    color: var(--ink-soft);
}

.dashboard-page {
    display: grid;
    gap: 22px;
}

.reservation-detail-page {
    display: grid;
    gap: 22px;
}

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

.reservation-detail-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 22px;
}

.dashboard-list {
    display: grid;
    gap: 14px;
}

.dashboard-card {
    padding: 18px 20px;
}

.dashboard-card h3 {
    margin: 0 0 10px;
    font-size: 1.2rem;
}

.dashboard-card p,
.dashboard-card ul {
    margin: 0;
}

.dashboard-subsection {
    margin-top: 20px;
}

.dashboard-subsection h3,
.dashboard-card h4 {
    margin: 0 0 10px;
}

.dashboard-card h4 {
    font-size: 1rem;
}

.dashboard-card ul {
    padding-left: 18px;
}

.payment-card {
    gap: 16px;
}

.payment-qr {
    display: block;
    padding: 18px 0px;
}

.payment-qr img {
    display: block;
    width: min(280px, 100%);
    height: auto;
}

.support-message {
    position: relative;
}

.support-message-user {
    border-color: rgba(95, 48, 31, 0.16);
}

.support-message-admin,
.support-message-helpdesk,
.support-message-lecturer {
    background: rgba(247, 239, 225, 0.94);
}

.auth-page {
    display: flex;
    justify-content: center;
    padding-top: 24px;
}

.auth-copy {
    color: var(--ink-soft);
}

.checkbox-field {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: "Trebuchet MS", "Segoe UI", sans-serif;
}

.checkbox-field input {
    width: 18px;
    height: 18px;
}

@media (max-width: 960px) {
    .hero,
    .journey-grid,
    .format-grid,
    .audience-layout,
    .next-step,
    .audience-list,
    .hero-stats,
    .registration-page,
    .booking-page,
    .dashboard-grid,
    .reservation-detail-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 28px;
    }
}

@media (max-width: 720px) {
    .page-shell {
        width: min(100% - 20px, 1180px);
        padding-top: 16px;
    }

    .site-header {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }

    .hero,
    .journey,
    .formats,
    .audience,
    .next-step {
        padding: 22px;
        border-radius: 22px;
    }

    .hero h1,
    .section-heading h2,
    .next-step h2 {
        font-size: clamp(2.1rem, 10vw, 3rem);
    }

    .hero-actions,
    .hero-points,
    .form-actions {
        flex-direction: column;
    }

    .button {
        width: 100%;
    }

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