/* ============================================
   Pattern 14: Retro Magazine — THE STANDARD
   カフェ・出版 / ヴィンテージ / エディトリアル
   ============================================ */

/* ============================
   SCROLL ANIMATION SYSTEM
   ============================ */
.anim {
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim.anim-up {
    transform: translateY(50px);
}

.anim.anim-left {
    transform: translateX(-60px);
}

.anim.anim-right {
    transform: translateX(60px);
}

.anim.anim-scale {
    transform: scale(0.9);
}

.anim.is-visible {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

.anim-delay-1 {
    transition-delay: 0.2s !important;
}

.anim-delay-2 {
    transition-delay: 0.4s !important;
}

.anim-hero-text {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.anim-hero-text.is-visible {
    opacity: 1;
    transform: translateY(0);
}

:root {
    --c-cream: #FAF3E8;
    --c-brown: #3D2B1F;
    --c-red: #8B3A3A;
    --c-gold: #B8860B;
    --c-white: #fff;
    --c-muted: #8A7967;
    --f-display: "Playfair Display",
        serif;
    --f-body: "Shippori Mincho",
        serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--f-body);
    color: var(--c-brown);
    background: var(--c-cream);
    line-height: 2;
    overflow-x: hidden;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ── Header ── */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 243, 232, 0.95);
    border-bottom: 2px solid var(--c-brown);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}

.logo-the {
    font-family: var(--f-display);
    font-size: 0.65rem;
    letter-spacing: 0.5em;
}

.logo-main {
    font-family: var(--f-display);
    font-size: 1.4rem;
    font-weight: 900;
    letter-spacing: 0.15em;
}

.logo-since {
    font-size: 0.55rem;
    letter-spacing: 0.3em;
    color: var(--c-muted);
}

.nav {
    display: flex;
    gap: 25px;
}

.nav a {
    text-decoration: none;
    color: var(--c-muted);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--c-red);
}

/* ── Hero ── */
.hero {
    border-bottom: 2px solid var(--c-brown);
    padding-top: 80px;
}

.hero-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-issue {
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    color: var(--c-muted);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-family: var(--f-display);
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 25px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--c-muted);
    line-height: 2;
}

.hero-img {
    position: relative;
}

.hero-img img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border: 3px solid var(--c-brown);
    box-shadow: 12px 12px 0 var(--c-brown);
}

/* ── Divider ── */
.divider {
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid rgba(61, 43, 31, 0.15);
}

.divider span {
    font-size: 0.8rem;
    color: var(--c-gold);
    letter-spacing: 0.5em;
}

/* ── Sections ── */
.section {
    padding: 80px 0;
}

.section--cream {
    background: var(--c-white);
}

.section-title {
    font-family: var(--f-display);
    font-size: 2.2rem;
    font-weight: 900;
    text-align: center;
    margin-bottom: 45px;
    letter-spacing: 0.05em;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sub-ja {
    font-family: var(--f-body);
    font-size: 0.8rem;
    font-weight: 500;
    display: block;
    color: var(--c-muted);
    letter-spacing: 0.15em;
    margin-top: 10px;
}

.editorial-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
}

.editorial-layout .section-title {
    align-items: flex-start;
    text-align: left;
}

.editorial-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border: 3px solid var(--c-brown);
}

.drop-cap {
    font-size: 0.95rem;
    color: var(--c-muted);
}

.drop-cap::first-letter {
    font-family: var(--f-display);
    font-size: 4rem;
    font-weight: 900;
    float: left;
    line-height: 0.8;
    margin: 8px 12px 0 0;
    color: var(--c-red);
}

/* ── Photo Band ── */
.photo-band {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.band-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.band-overlay {
    position: absolute;
    inset: 0;
    background: rgba(61, 43, 31, 0.3);
}

.band-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
}

.band-quote {
    font-family: var(--f-display);
    font-size: 1.8rem;
    font-weight: 400;
    font-style: italic;
    color: var(--c-cream);
    line-height: 1.8;
}

.band-quote cite {
    display: block;
    font-size: 0.85rem;
    margin-top: 15px;
    font-style: normal;
    letter-spacing: 0.2em;
    color: var(--c-gold);
}

/* ── Service Cards with Photos ── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--c-cream);
    border: 2px solid var(--c-brown);
    overflow: hidden;
    transition: all 0.3s;
}

.service-card:hover {
    box-shadow: 8px 8px 0 var(--c-brown);
    transform: translate(-3px, -3px);
}

.service-img {
    height: 220px;
    overflow: hidden;
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.service-card:hover .service-img img {
    transform: scale(1.05);
}

.service-body {
    padding: 25px;
}

.service-num {
    font-family: var(--f-display);
    font-size: 2rem;
    font-weight: 900;
    color: var(--c-red);
    display: block;
    margin-bottom: 8px;
}

.service-body h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.service-body p {
    font-size: 0.85rem;
    color: var(--c-muted);
}

/* ── Works Grid ── */
.works-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.works-item {
    position: relative;
    overflow: hidden;
    border: 2px solid var(--c-brown);
    height: 280px;
}

.works-item--large {
    height: 380px;
}

.works-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s;
}

.works-item:hover img {
    transform: scale(1.05);
    filter: brightness(0.6);
}

.works-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(61, 43, 31, 0.8));
    opacity: 0;
    transition: opacity 0.4s;
}

.works-item:hover .works-caption {
    opacity: 1;
}

.works-caption span {
    font-family: var(--f-display);
    font-size: 1.1rem;
    color: var(--c-cream);
    letter-spacing: 0.05em;
}

/* ── Contact Button ── */
.btn-retro {
    display: inline-block;
    padding: 16px 40px;
    border: 2px solid var(--c-brown);
    color: var(--c-brown);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    transition: all 0.3s;
}

.btn-retro:hover {
    background: var(--c-brown);
    color: var(--c-cream);
}

/* ── FAQ ── */
.faq-list {
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid rgba(61, 43, 31, 0.15);
}

.faq-q {
    padding: 20px 0;
    font-family: var(--f-body);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-q:hover {
    color: var(--c-red);
}

.faq-q::-webkit-details-marker {
    display: none;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--c-brown);
    transition: transform 0.3s;
}

.faq-icon::before {
    top: 9px;
    left: 0;
    width: 20px;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 9px;
    width: 2px;
    height: 20px;
}

details[open] .faq-icon::after {
    transform: rotate(90deg) scaleY(0);
}

.faq-a {
    padding: 0 0 25px 0;
    color: var(--c-muted);
    font-size: 0.95rem;
    line-height: 2;
}

/* ── Footer ── */
.footer {
    border-top: 2px solid var(--c-brown);
    text-align: center;
    padding: 40px 20px;
}

.footer p {
    font-size: 0.7rem;
    color: var(--c-muted);
    margin-top: 15px;
    letter-spacing: 0.1em;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-img img {
        height: 300px;
    }

    .editorial-layout {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: 1fr;
    }

    .works-grid {
        grid-template-columns: 1fr;
    }

    .nav {
        display: none;
    }
}