/* prototype.bar - Minimalist Editorial Bar */,
/* Colors: #d4870a (amber), #0a7a8a (teal), #c47a8a (dusty rose), #f5ede0 (cream), #faf7f0 (off-white), #2d2820 (charcoal), #8a7a6a (warm gray), #f5d87a (pale gold) */
/* Font: EB Garamond */

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

html {
    scroll-behavior: smooth;
    font-size: 18px;
}

body {
    font-family: "EB Garamond", Georgia, serif;
    background-color: #2d2820;
    color: #f5ede0;
    line-height: 1.8;
    overflow-x: hidden;
}

/* ===== HERO SECTION ===== */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #2d2820;
}

.hero-bokeh-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 300px 300px at 20% 30%, rgba(212,135,10,0.15), transparent),
        radial-gradient(ellipse 200px 200px at 70% 60%, rgba(10,122,138,0.1), transparent),
        radial-gradient(ellipse 250px 250px at 50% 80%, rgba(196,122,138,0.08), transparent),
        radial-gradient(ellipse 150px 150px at 80% 20%, rgba(245,216,122,0.12), transparent),
        radial-gradient(ellipse 180px 180px at 30% 70%, rgba(212,135,10,0.1), transparent);
    filter: blur(40px);
    z-index: 1;
}

.hero-candle-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(212,135,10,0.2), transparent);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 2rem;
}

#hero-svg-path {
    width: 300px;
    height: 100px;
    margin-bottom: 2rem;
    opacity: 0.6;
}

#hero-svg-path path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: heroPathDraw 3s ease-out forwards;
}

@keyframes heroPathDraw {
    to { stroke-dashoffset: 0; }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    color: #faf7f0;
    margin-bottom: 0.5rem;
}

.hero-dot {
    color: #d4870a;
}

.hero-subtitle {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    font-style: italic;
    color: #8a7a6a;
    letter-spacing: 0.15em;
    text-transform: lowercase;
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, #d4870a);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* ===== EDITORIAL SECTION ===== */
#editorial {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.magazine-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    grid-template-areas:
        "headline headline headline"
        "body-left pullquote image"
        "body-right pullquote image";
    gap: 3rem;
    align-items: start;
}

.grid-headline {
    grid-area: headline;
    border-bottom: 1px solid #8a7a6a;
    padding-bottom: 2rem;
    margin-bottom: 1rem;
}

.grid-headline h2 {
    font-size: 3rem;
    font-weight: 500;
    color: #faf7f0;
    letter-spacing: 0.04em;
}

.grid-body-left {
    grid-area: body-left;
}

.grid-body-left p,
.grid-body-right p {
    font-size: 1rem;
    color: #f5ede0;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.grid-body-right {
    grid-area: body-right;
}

.grid-pullquote {
    grid-area: pullquote;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

.grid-pullquote blockquote {
    text-align: center;
    position: relative;
}

.pullquote-svg {
    width: 200px;
    height: 30px;
    display: block;
    margin: 0 auto 1.5rem;
    opacity: 0;
}

.pullquote-svg.animated {
    opacity: 0.5;
}

.pullquote-svg path {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
}

.pullquote-svg.animated path {
    animation: svgDraw 2s ease-out forwards;
}

.grid-pullquote blockquote p {
    font-size: 1.5rem;
    font-style: italic;
    color: #d4870a;
    line-height: 1.6;
}

.grid-image {
    grid-area: image;
}

.editorial-image {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 2px;
    overflow: hidden;
}

.image-bokeh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle 80px at 30% 40%, rgba(212,135,10,0.3), transparent),
        radial-gradient(circle 60px at 60% 30%, rgba(245,216,122,0.25), transparent),
        radial-gradient(circle 90px at 70% 70%, rgba(212,135,10,0.2), transparent),
        radial-gradient(circle 50px at 40% 80%, rgba(196,122,138,0.2), transparent),
        radial-gradient(circle 70px at 80% 50%, rgba(10,122,138,0.15), transparent);
    filter: blur(20px);
    background-color: #2d2820;
}

.image-svg-decoration {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    height: 250px;
    opacity: 0;
}

.image-svg-decoration.animated {
    opacity: 0.6;
}

.image-svg-decoration circle {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
}

.image-svg-decoration.animated circle {
    animation: svgDraw 2.5s ease-out forwards;
}

.image-svg-decoration.animated circle:nth-child(2) {
    animation-delay: 0.3s;
}

.image-svg-decoration.animated circle:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes svgDraw {
    to { stroke-dashoffset: 0; }
}

/* ===== MENU SECTION ===== */
#menu {
    position: relative;
    padding: 6rem 2rem;
    background-color: #faf7f0;
    color: #2d2820;
}

.candle-atmosphere {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 800px 500px at 50% 30%, rgba(212,135,10,0.08), transparent);
    pointer-events: none;
}

.menu-content {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    z-index: 1;
}

.menu-header {
    text-align: center;
    margin-bottom: 4rem;
}

.menu-header h2 {
    font-size: 2.8rem;
    font-weight: 500;
    color: #2d2820;
    letter-spacing: 0.06em;
    margin: 1rem 0;
}

.menu-svg-line {
    width: 100%;
    max-width: 500px;
    height: 30px;
    display: block;
    margin: 0 auto;
    opacity: 0;
}

.menu-svg-line.animated {
    opacity: 0.7;
}

.menu-svg-line path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
}

.menu-svg-line.animated path {
    animation: svgDraw 2s ease-out forwards;
}

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.menu-item {
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(138,122,106,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.menu-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.menu-item h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2d2820;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.menu-description {
    font-size: 0.95rem;
    color: #8a7a6a;
    line-height: 1.6;
    margin-bottom: 0.8rem;
}

.menu-tag {
    font-family: "Inter", sans-serif;
    display: inline-block;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4870a;
    border: 1px solid #d4870a;
    padding: 0.2rem 0.6rem;
    border-radius: 1px;
}

/* ===== PHILOSOPHY SECTION ===== */
#philosophy {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.philosophy-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.philosophy-text h2 {
    font-size: 2.5rem;
    font-weight: 500;
    color: #faf7f0;
    margin-bottom: 2rem;
    letter-spacing: 0.04em;
}

.philosophy-text p {
    font-size: 1rem;
    color: #f5ede0;
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.philosophy-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
}

.philosophy-svg {
    width: 300px;
    height: 300px;
    opacity: 0;
}

.philosophy-svg.animated {
    opacity: 0.7;
}

.philosophy-svg path {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
}

.philosophy-svg.animated path {
    animation: svgDraw 3s ease-out forwards;
}

.philosophy-svg.animated path:nth-child(2) {
    animation-delay: 0.4s;
}

.philosophy-svg.animated path:nth-child(3) {
    animation-delay: 0.8s;
}

.philosophy-svg.animated path:nth-child(4) {
    animation-delay: 1.2s;
}

/* ===== VISIT SECTION ===== */
#visit {
    position: relative;
    padding: 6rem 2rem;
    background-color: #f5ede0;
    color: #2d2820;
    text-align: center;
}

.visit-candle-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 600px 400px at 50% 50%, rgba(212,135,10,0.06), transparent);
    pointer-events: none;
}

.visit-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.visit-svg-path,
.visit-svg-path-bottom {
    width: 100%;
    max-width: 400px;
    height: 50px;
    display: block;
    margin: 0 auto 2rem;
    opacity: 0;
}

.visit-svg-path.animated,
.visit-svg-path-bottom.animated {
    opacity: 0.5;
}

.visit-svg-path path,
.visit-svg-path-bottom path {
    stroke-dasharray: 800;
    stroke-dashoffset: 800;
}

.visit-svg-path.animated path,
.visit-svg-path-bottom.animated path {
    animation: svgDraw 2s ease-out forwards;
}

.visit-svg-path-bottom {
    margin: 2rem auto 0;
}

#visit h2 {
    font-size: 2.8rem;
    font-weight: 500;
    color: #2d2820;
    letter-spacing: 0.06em;
    margin-bottom: 3rem;
}

.visit-details {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
}

.visit-info h3 {
    font-family: "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #d4870a;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.visit-info p {
    font-size: 1rem;
    color: #2d2820;
    line-height: 1.6;
}

/* ===== FOOTER ===== */
#footer {
    padding: 3rem 2rem;
    background-color: #2d2820;
    text-align: center;
    border-top: 1px solid rgba(138,122,106,0.3);
}

.footer-brand {
    font-size: 1.6rem;
    font-weight: 400;
    color: #faf7f0;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.footer-dot {
    color: #d4870a;
}

.footer-tagline {
    font-family: "Inter", sans-serif;
    font-size: 0.85rem;
    color: #8a7a6a;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    html { font-size: 16px; }

    .hero-title { font-size: 3rem; }

    .magazine-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "headline"
            "body-left"
            "pullquote"
            "image"
            "body-right";
    }

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

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

    .visit-details { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 600px) {
    .hero-title { font-size: 2.2rem; }
    .grid-headline h2 { font-size: 2rem; }
    .menu-header h2 { font-size: 2rem; }
    #visit h2 { font-size: 2rem; }
    .philosophy-text h2 { font-size: 1.8rem; }
}