@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

* {
    border-color: #8B8680;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #F7F5F0;
    color: #0A0A0F;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga" 1, "calt" 1;
    font-family: 'Inter', system-ui, sans-serif;
    margin: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.03em;
    font-weight: 500;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 0.95;
    font-weight: 600;
}

h2 {
    font-size: clamp(1.75rem, 5vw, 2.75rem);
    line-height: 1.1;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 1.5rem);
    line-height: 1.2;
}

h4 {
    font-size: 1.125rem;
    line-height: 1.3;
}

p {
    font-size: 1.125rem;
    line-height: 1.75;
}

::selection {
    background-color: #B8860B;
    color: #0A0A0F;
}

.rule {
    height: 1px;
    background-color: #0A0A0F;
    width: 6rem;
}

.rule-gold {
    height: 1px;
    background-color: #B8860B;
    width: 6rem;
}

.rule-thick {
    height: 2px;
    background-color: #0A0A0F;
    width: 8rem;
}

.section-dark {
    background-color: #0A0A0F;
    color: #F7F5F0;
}

.section-light {
    background-color: #F7F5F0;
    color: #0A0A0F;
}

.container-editorial {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-editorial {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container-editorial {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1280px) {
    .container-editorial {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

.container-narrow {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container-narrow {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

.text-display {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 0.95;
}

@media (min-width: 768px) {
    .text-display { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
    .text-display { font-size: 4.5rem; }
}

@media (min-width: 1280px) {
    .text-display { font-size: 6rem; }
}

.text-editorial {
    font-size: 1.125rem;
    line-height: 1.75;
}

@media (min-width: 768px) {
    .text-editorial { font-size: 1.25rem; }
}

.text-caption {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 500;
}

.btn-primary-custom {
    background-color: #0A0A0F;
    color: #F7F5F0;
    padding: 1.125rem 2.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    background-color: #B8860B;
    color: #0A0A0F !important;
}

.btn-outline-custom {
    border: 1.5px solid #0A0A0F;
    color: #0A0A0F;
    padding: 1.125rem 2.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    background: transparent;
    cursor: pointer;
}

.btn-outline-custom:hover {
    background-color: #0A0A0F;
    color: #F7F5F0 !important;
}

.btn-gold {
    background-color: #B8860B;
    color: #0A0A0F;
    padding: 1.125rem 2.5rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
}

.btn-gold:hover {
    background-color: #9A7209;
    color: #0A0A0F !important;
}

.card-editorial {
    background-color: #FAF8F3;
    border: 1px solid rgba(139, 134, 128, 0.2);
    padding: 2rem;
}

.nav-link-custom {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 500;
    color: rgba(10, 10, 15, 0.8);
    transition: color 0.3s ease;
    text-decoration: none;
}

.nav-link-custom:hover {
    color: #0A0A0F;
}

.quote-editorial {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-style: italic;
    line-height: 1.625;
    color: rgba(10, 10, 15, 0.9);
}

@media (min-width: 768px) {
    .quote-editorial { font-size: 1.875rem; }
}

.img-editorial {
    filter: grayscale(100%);
    transition: all 0.7s ease;
}

.img-editorial:hover {
    filter: grayscale(0%);
}

.page-transition {
    animation: fadeIn 0.6s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-100%); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-slideUp {
    animation: slideUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-slideDown {
    animation: slideDown 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.vertical-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    letter-spacing: 0.3em;
}

.line-draw {
    position: relative;
    overflow: hidden;
}

.line-draw::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #B8860B;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.line-draw:hover::after {
    width: 100%;
}

.card-lift {
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(139, 134, 128, 0.2);
}

.card-lift:hover {
    transform: translateY(-8px);
    border-color: #B8860B;
}

.img-frame {
    position: relative;
    overflow: hidden;
}

.img-frame img {
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-frame:hover img {
    transform: scale(1.05);
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary::after {
    content: "An error has occurred.";
}

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