:root {
    --primary-color: #060606;
    --secondary-color: #E3DBCC;
    --secondary-color-bg: #202020;
    --accent-color: #F2133C;
    --text-color: #E3DBCC;
    --bg-color: #060606;
    /* Chrome / Edge: native controls (checkbox accent, etc.) */
    accent-color: var(--accent-color);
    color-scheme: dark;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    overflow: hidden;
}

body {
    font-family: clother, sans-serif;
    font-weight: 300;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    -webkit-tap-highlight-color: rgba(242, 19, 60, 0.12);
}

/* Replace Chrome’s default blue focus ring on buttons / links */
button:focus,
.btn-inquire:focus,
.footer-link-btn:focus,
.contact-back:focus,
.contact-send:focus,
.cookie-btn:focus {
    outline: none;
}

button:focus-visible,
.btn-inquire:focus-visible,
.footer-link-btn:focus-visible,
.cookie-btn:focus-visible {
    outline: 2px solid rgba(242, 19, 60, 0.45);
    outline-offset: 2px;
}

.logo-link:focus {
    outline: none;
}

.logo-link:focus-visible {
    outline: 2px solid rgba(242, 19, 60, 0.45);
    outline-offset: 4px;
    border-radius: 2px;
}

/* Unicorn Studio Background */
.unicorn-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

.unicorn-background--off {
    display: none !important;
}

/* Hero Section */
.hero {
    height: 100vh;
    max-height: 100vh;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex-direction: column;
    padding: 4rem 110px 0 110px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-content {
    max-width: 1440px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.logo-container {
    margin-bottom: 1rem;
}

.logo-link {
    display: inline-block;
    line-height: 0;
}

.logo-img {
    display: block;
    height: auto;
    max-height: 28px;
    width: auto;
}

.hero-description {
    font-size: 1.5rem;
    line-height: 1.5;
    color: var(--text-color);
    font-weight: 300;
    max-width: 600px;
}

.btn-inquire {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    background: none;
    font-size: 1rem;
    font-weight: 400;
    transition: all 0.3s ease;
    width: fit-content;
}

.btn-inquire--as-button {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

.btn-inquire .arrow-icon {
    color: var(--accent-color);
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.btn-inquire span {
    color: var(--secondary-color);
}

.btn-inquire:hover .arrow-icon {
    transform: translateX(4px);
}

/* Footer */
footer {
    background: transparent;
    color: var(--text-color);
    padding: 0;
    position: relative;
    z-index: 1;
    width: 100%;
    flex-shrink: 0;
    align-self: stretch;
}

.footer-content {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1.5rem;
    padding-bottom: 32px;
}

.footer-left {
    flex: 0 0 auto;
    text-align: left;
}

.footer-right {
    flex: 0 0 auto;
    margin-left: auto;
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    justify-content: flex-end;
}

.footer-left p {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
}

.footer-right a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-right a:hover {
    opacity: 1;
}

.footer-link-btn {
    background: none;
    border: none;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.8;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-link-btn:hover {
    opacity: 1;
}

/* Privacy slide-out */
.privacy-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

/* Contact slide-out (reuses privacy sizing/behavior) */
.contact-overlay {
    position: fixed;
    inset: 0;
    z-index: 210;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.contact-overlay.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.contact-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 6, 0.10);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.contact-panel {
    position: absolute;
    top: 16px;
    right: 16px;
    bottom: 16px;
    width: min(560px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    background-color: var(--secondary-color-bg);
    border-radius: 12px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-overlay.is-open .contact-panel {
    transform: translateX(0);
}

.contact-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: var(--secondary-color);
}

.contact-back__icon {
    width: 14px;
    height: 14px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.contact-panel__main {
    --contact-back-align: calc(14px + 6px);
    padding-left: var(--contact-back-align);
    padding-right: var(--contact-back-align);
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.contact-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin: 0;
}

.contact-form {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
}

.hf {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.contact-card {
    height: 100%;
    border: 1px solid rgba(227, 219, 204, 0.35);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.contact-field {
    display: block;
    position: relative;
}

.contact-field + .contact-field {
    border-top: none;
}

.contact-field + .contact-field::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: rgba(227, 219, 204, 0.35);
}

.contact-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: var(--secondary-color);
    caret-color: var(--secondary-color);
}

.contact-input:focus {
    outline: none;
    box-shadow: none;
}

.contact-input:focus-visible {
    outline: 1px solid rgba(227, 219, 204, 0.4);
    outline-offset: 2px;
}

.contact-input:invalid,
.contact-input:user-invalid {
    border: none;
    outline: none;
    box-shadow: none;
}

.contact-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.contact-textarea {
    resize: none;
    min-height: 100%;
    height: 100%;
    flex: 1 1 auto;
    line-height: 1.45;
}

.contact-field--message {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.contact-actions {
    margin-top: auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px 12px;
    padding: 12px 16px;
    position: relative;
}

.contact-actions::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: rgba(227, 219, 204, 0.35);
}

.contact-consent {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1 1 auto;
    min-width: 0;
    max-width: min(100%, 70%);
    margin: 0 auto 0 0;
}

.contact-consent__checkbox {
    margin-top: 3px;
    width: 14px;
    height: 14px;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid rgba(227, 219, 204, 0.85);
    border-radius: 2px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    accent-color: var(--accent-color);
}

.contact-consent__checkbox:focus {
    outline: none;
}

.contact-consent__checkbox:checked {
    background: transparent;
    border-color: rgba(227, 219, 204, 0.95);
}

.contact-consent__checkbox:checked::after {
    content: '';
    width: 8px;
    height: 8px;
    clip-path: polygon(14% 54%, 0 68%, 36% 100%, 100% 22%, 86% 8%, 36% 72%);
    background: var(--accent-color);
}

.contact-consent__checkbox:focus-visible {
    outline: 1px solid rgba(227, 219, 204, 0.45);
    outline-offset: 2px;
}

.contact-overlay .contact-back:focus,
.contact-overlay .contact-send:focus {
    outline: none;
}

.contact-overlay .contact-back:focus-visible,
.contact-overlay .contact-send:focus-visible {
    outline: 1px solid rgba(227, 219, 204, 0.45);
    outline-offset: 2px;
}

.contact-consent__text {
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    color: rgba(255, 255, 255, 0.7);
}

.contact-send[disabled] {
    opacity: 0.45;
    cursor: not-allowed;
}

.contact-send[disabled] .contact-send__icon {
    transform: none !important;
}

.contact-feedback {
    margin: 0;
    padding: 0 2px 4px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
    flex-shrink: 0;
}

.contact-feedback:empty {
    display: none;
}

.contact-feedback--error {
    color: var(--accent-color);
    opacity: 0.95;
}

.contact-feedback--success {
    color: #5EBF76;
}

.contact-send {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    color: var(--secondary-color);
}

.contact-send__icon {
    width: 14px;
    height: 14px;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.contact-send:hover .contact-send__icon {
    transform: translateX(4px);
}

/* Prevent Chrome autofill yellow/blue fill */
.contact-input:-webkit-autofill,
.contact-input:-webkit-autofill:hover,
.contact-input:-webkit-autofill:focus,
.contact-input:-webkit-autofill:active {
    -webkit-text-fill-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 1000px var(--secondary-color-bg) inset !important;
    transition: background-color 9999s ease-in-out 0s !important;
    caret-color: var(--secondary-color) !important;
    border: none !important;
    outline: none !important;
}

.privacy-overlay.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.privacy-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 6, 0.10);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
}

.privacy-panel {
    position: absolute;
    top: 16px;
    right: 16px;
    bottom: 16px;
    width: min(560px, calc(100vw - 32px));
    max-width: calc(100vw - 32px);
    background-color: var(--secondary-color-bg);
    border-radius: 12px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
    box-sizing: border-box;
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.privacy-overlay.is-open .privacy-panel {
    transform: translateX(0);
}

.privacy-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    color: var(--secondary-color);
}

.privacy-back__icon {
    width: 14px;
    height: 14px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.privacy-panel__main {
    --privacy-back-align: calc(14px + 6px);
    padding-left: var(--privacy-back-align);
    padding-right: var(--privacy-back-align);
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.privacy-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--secondary-color);
    margin: 0;
}

.privacy-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.privacy-body p {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--secondary-color);
    text-align: justify;
    margin: 0;
}

.privacy-cta-label {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--secondary-color);
    margin: 0;
    flex-shrink: 0;
}

.btn-inquire--panel {
    font-size: 14px;
    font-weight: 400;
    flex-shrink: 0;
    margin-top: auto;
    margin-bottom: 8px;
}

.btn-inquire--panel .arrow-icon {
    width: 14px;
    height: 14px;
}

/* 404 page (dedicated layout; overrides global overflow) */
html.page-404-html,
html.page-404-html body.page-404-body {
    height: auto;
    min-height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body.page-404-body {
    background: #000000;
    color: #ffffff;
}

.page-404 {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #000000;
    padding: clamp(24px, 5vw, 48px) clamp(20px, 4vw, 48px) 28px;
    box-sizing: border-box;
}

.page-404__main {
    flex: 1 1 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 6vw, 80px);
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.page-404__content {
    flex: 0 1 420px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    text-align: left;
}

.page-404__code {
    font-family: clother, sans-serif;
    font-size: clamp(4.5rem, 14vw, 8.5rem);
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin: 0;
}

.page-404__message {
    font-family: clother, sans-serif;
    font-size: clamp(1rem, 2.2vw, 1.35rem);
    font-weight: 300;
    line-height: 1.45;
    color: #ffffff;
    margin: 0;
    max-width: 22em;
}

.page-404__home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 0.25rem;
    font-family: clother, sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.page-404__home:hover {
    opacity: 0.85;
}

.page-404__chev {
    display: inline-flex;
    line-height: 1;
}

.page-404__chev-inner {
    color: #ff4a2e;
    font-weight: 600;
    letter-spacing: -0.06em;
}

.page-404__art {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
}

.page-404__canvas {
    display: block;
    max-width: min(100%, 420px);
    height: auto;
}

.page-404__footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    max-width: 1200px;
    width: 100%;
    margin: clamp(40px, 8vh, 72px) auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.page-404__copyright {
    font-family: clother, sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.page-404__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
}

.page-404__nav a {
    font-family: clother, sans-serif;
    font-size: 12px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-404__nav a:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        padding: 4rem 2rem 0 2rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 1.5rem 0 1.5rem;
    }

    .logo-img {
        max-height: 40px;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .footer-content {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .footer-right {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 1rem 1.5rem;
    }

    .page-404__main {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }

    .page-404__content {
        align-items: center;
        text-align: center;
        flex: 0 1 auto;
        order: 2;
    }

    .page-404__art {
        order: 1;
        margin-bottom: 8px;
    }

    .page-404__footer {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Cookie settings modal */
.cookie-overlay {
    position: fixed;
    inset: 0;
    z-index: 220;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.cookie-overlay.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.cookie-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(6, 6, 6, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.cookie-dialog {
    position: relative;
    z-index: 1;
    width: min(400px, 100%);
    background-color: var(--secondary-color-bg);
    border-radius: 12px;
    padding: 20px 20px 18px;
    box-sizing: border-box;
}

.cookie-dialog__header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.cookie-dialog__icon {
    flex-shrink: 0;
    display: block;
}

.cookie-dialog__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
    line-height: 1.2;
}

.cookie-dialog__intro {
    font-size: 13px;
    font-weight: 400;
    line-height: 18px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 16px;
}

.cookie-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid rgba(227, 219, 204, 0.15);
}

.cookie-row--locked {
    border-top: none;
    padding-top: 0;
}

.cookie-row__lock {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
    flex-shrink: 0;
}

.cookie-row__label {
    font-size: 13px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.55);
}

.cookie-row--toggle {
    cursor: pointer;
    margin: 0;
}

.cookie-check {
    width: 14px;
    height: 14px;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid rgba(227, 219, 204, 0.85);
    border-radius: 2px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    cursor: pointer;
    accent-color: var(--accent-color);
}

.cookie-check:focus {
    outline: none;
}

.cookie-check:checked {
    border-color: rgba(227, 219, 204, 0.95);
}

.cookie-check:checked::after {
    content: '';
    width: 8px;
    height: 8px;
    clip-path: polygon(14% 54%, 0 68%, 36% 100%, 100% 22%, 86% 8%, 36% 72%);
    background: var(--accent-color);
}

.cookie-check:focus-visible {
    outline: 2px solid rgba(242, 19, 60, 0.5);
    outline-offset: 2px;
}

.cookie-dialog__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(227, 219, 204, 0.15);
}

.cookie-btn {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-size: 14px;
    font-weight: 400;
}

.cookie-btn--text {
    color: var(--secondary-color);
}

.cookie-btn--cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-color);
}

.cookie-btn__chev {
    width: 16px;
    height: 16px;
    color: var(--accent-color);
}
