/* ─── RESET & ROOT ─── */

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

html {
    scroll-behavior: smooth;
}

:root {
    --cream: #f5f0e8;
    --warm-white: #faf8f4;
    --sand: #e8dfd0;
    --clay: #c4a882;
    --bark: #8b6e52;
    --charcoal: #2a2723;
    --mid: #6b6459;
    --accent: #b5825a;
}

body {
    font-family: 'Jost', sans-serif;
    background: var(--warm-white);
    color: var(--charcoal);
    overflow-x: hidden;
}

img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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


/* ─── SCROLL REVEAL ─── */

.reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.9s cubic-bezier(.25, .46, .45, .94), transform 0.9s cubic-bezier(.25, .46, .45, .94);
}

.reveal.d1 {
    transition-delay: 0.15s;
}

.reveal.d2 {
    transition-delay: 0.30s;
}

.reveal.d3 {
    transition-delay: 0.45s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}


/* ─── NAV ─── */

#nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 60px;
    transition: background .4s, padding .4s, border-color .4s;
}

#nav.scrolled {
    background: rgba(250, 248, 244, .96);
    backdrop-filter: blur(14px);
    padding: 16px 60px;
    border-bottom: 1px solid var(--sand);
}

.nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px;
    font-weight: 500;
    letter-spacing: .18em;
    color: #fff;
    transition: color .4s;
}

#nav.scrolled .nav-logo {
    color: var(--charcoal);
}

.nav-links {
    display: flex;
    gap: 38px;
    list-style: none;
}

.nav-links a {
    letter-spacing: .24em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, .8);
    transition: color .3s;
}

#nav.scrolled .nav-links a {
    color: var(--mid);
}

.nav-links a:hover {
    color: var(--accent) !important;
}


/* ハンバーガーボタン（デスクトップ非表示） */

.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 210;
}

.nav-hamburger span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: #fff;
    transition: background .4s, transform .3s, opacity .3s;
}

#nav.scrolled .nav-hamburger span {
    background: var(--charcoal);
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}


/* ドロワー */

.nav-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background: var(--charcoal);
    z-index: 205;
    transform: translateX(100%);
    transition: transform .4s cubic-bezier(.25, .46, .45, .94);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-drawer.open {
    transform: translateX(0);
}

.drawer-links {
    list-style: none;
    text-align: center;
}

.drawer-links li {
    margin-bottom: 32px;
}

.drawer-link {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-weight: 400;
    letter-spacing: .08em;
    color: var(--cream);
    transition: color .3s;
}

.drawer-link:hover {
    color: var(--clay);
}

.nav-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 204;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}

.nav-drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}


/* ─── HERO ─── */

.hero {
    position: relative;
    height: 100vh;
    min-height: 640px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-color: var(--charcoal);
    background-image: url('https://images.unsplash.com/photo-1586023492125-27b2c045efd7?w=1600&q=80&fit=crop');
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(42, 39, 35, .42) 0%, rgba(42, 39, 35, .12) 55%, rgba(42, 39, 35, .52) 100%);
}

.hero-content {
    position: relative;
    text-align: center;
    padding: 0 20px;
}

.hero-eyebrow {
    font-size: 10px;
    letter-spacing: .42em;
    text-transform: uppercase;
    font-weight: 300;
    color: rgba(255, 255, 255, .68);
    margin-bottom: 22px;
    opacity: 0;
    animation: fadeUp 1s .3s forwards;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(64px, 10vw, 128px);
    font-weight: 300;
    line-height: .9;
    color: #fff;
    opacity: 0;
    animation: fadeUp 1s .55s forwards;
}

.hero-title span {
    color: var(--charcoal);
}

.hero-scroll {
    position: absolute;
    bottom: 34px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, .45);
    letter-spacing: .3em;
    text-transform: uppercase;
    opacity: 0;
    animation: fadeUp 1s 1.3s forwards;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, .5));
    animation: scrollPulse 2s 1.5s infinite;
}


/* ─── MARQUEE ─── */

.marquee-strip {
    background: var(--charcoal);
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-inner {
    display: inline-flex;
    animation: marquee 22s linear infinite;
}

.marquee-item {
    font-size: 10px;
    letter-spacing: .36em;
    text-transform: uppercase;
    font-weight: 300;
    color: rgba(255, 255, 255, .38);
    padding: 0 44px;
}

.marquee-dot {
    font-size: 14px;
    color: var(--clay);
}


/* ─── ABOUT ─── */

.about-section {
    padding: 116px 60px;
    background: var(--warm-white);
}

.about-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-img-wrap {
    position: relative;
}

.about-img-wrap .corner-accent {
    position: absolute;
    top: -18px;
    left: -18px;
    width: 110px;
    height: 110px;
    border: 1px solid var(--clay);
    z-index: 0;
}

.about-img-wrap .img-box {
    position: relative;
    height: 520px;
    z-index: 1;
    background-color: var(--sand);
    background-image: url('https://images.unsplash.com/photo-1555041469-a586c61ea9bc?w=900&q=80&fit=crop');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.about-badge {
    position: absolute;
    bottom: 26px;
    right: -28px;
    width: 100px;
    height: 100px;
    background: var(--charcoal);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.about-badge .num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 34px;
    color: var(--clay);
    line-height: 1;
    font-weight: 300;
}

.about-badge .lbl {
    font-size: 8px;
    letter-spacing: .2em;
    color: rgba(255, 255, 255, .45);
    text-transform: uppercase;
    margin-top: 4px;
}

.about-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(34px, 3.5vw, 52px);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 26px;
}

.about-text p {
    font-size: 14px;
    line-height: 1.9;
    color: var(--mid);
    font-weight: 300;
    margin-bottom: 16px;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 500;
    color: var(--charcoal);
    border-bottom: 1px solid var(--charcoal);
    padding-bottom: 4px;
    transition: color .3s, border-color .3s;
}

.text-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}


/* ─── FEATURE BAND ─── */

.feature-band {
    position: relative;
    height: 500px;
    overflow: hidden;
    background-color: var(--charcoal);
    background-image: url('https://images.unsplash.com/photo-1567016432779-094069958ea5?w=1600&q=80&fit=crop');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.feature-band-overlay {
    position: absolute;
    inset: 0;
    background: rgba(28, 24, 20, .56);
}

.feature-band-text {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.feature-band-text h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(40px, 6vw, 76px);
    font-weight: 300;
    line-height: 1;
    margin-bottom: 18px;
    letter-spacing: .04em;
}

.feature-band-text p {
    font-size: 11px;
    letter-spacing: .26em;
    color: rgba(255, 255, 255, .58);
    font-weight: 200;
    text-transform: uppercase;
}


/* ─── PRODUCTS ─── */

.products-section {
    padding: 116px 60px;
    background: var(--warm-white);
}

.products-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.products-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
}

.products-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 400;
    line-height: 1.05;
}

h2 span {
    color: var(--bark);
}

.see-all {
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--mid);
    border-bottom: 1px solid var(--sand);
    padding-bottom: 3px;
    margin-bottom: 6px;
    white-space: nowrap;
    transition: color .3s, border-color .3s;
}

.column-header .see-all {
    color: var(--cream);
}

.see-all:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}

.p-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--sand);
}

.p-card:nth-child(1) {
    grid-column: span 2;
}

.p-card:nth-child(4) {
    grid-column: span 2;
}

.p-card .p-img {
    height: 400px;
    background-size: cover;
    background-position: center;
    transition: transform .7s cubic-bezier(.25, .46, .45, .94);
}

.p-card:hover .p-img {
    transform: scale(1.06);
}

.p-card .p-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(18, 15, 12, .72), transparent);
    opacity: 0;
    transition: opacity .4s;
}

.p-card:hover .p-overlay {
    opacity: 1;
}

.p-card .p-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 22px 26px;
    color: #fff;
    transform: translateY(8px);
    opacity: 0;
    transition: opacity .4s, transform .4s;
}

.p-card:hover .p-info {
    opacity: 1;
    transform: translateY(0);
}

.p-info .p-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 4px;
}

.p-info .p-cat {
    font-size: 9px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .62);
    font-weight: 300;
}


/* ─── COLUMN ─── */

.column-section {
    padding: 116px 60px;
    background: var(--charcoal);
}

.column-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.column-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 56px;
}

.column-header h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 400;
    color: var(--cream);
    line-height: 1.05;
}


/* Grid: featured card takes left 2/3, two cards stack on right */

.column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 4px;
}

.col-card--featured {
    grid-row: span 2;
}


/* Card base */

.col-card {
    background: var(--warm-white);
    overflow: hidden;
}

.col-card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    color: inherit;
    transition: opacity .3s;
}

.col-card-link:hover {
    opacity: .88;
}

.col-card-link:hover .col-more {
    color: var(--accent);
}


/* Thumbnail */

.col-thumb {
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform .7s cubic-bezier(.25, .46, .45, .94);
    flex-shrink: 0;
}

.col-card:not(.col-card--featured) .col-thumb {
    height: 220px;
}

.col-card-link:hover .col-thumb {
    transform: scale(1.04);
}


/* Body */

.col-body {
    padding: 28px 30px 32px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.col-card--featured .col-body {
    padding: 32px 36px 38px;
}

.col-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.col-tag {
    font-size: 9px;
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--warm-white);
    background: var(--bark);
    padding: 4px 10px;
}

.col-date {
    font-size: 11px;
    color: var(--light-mid);
    font-weight: 300;
    letter-spacing: .08em;
}

.col-title {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 400;
    line-height: 1.3;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.col-card--featured .col-title {
    font-size: clamp(22px, 2.2vw, 30px);
}

.col-card:not(.col-card--featured) .col-title {
    font-size: 18px;
}

.col-excerpt {
    line-height: 1.85;
    color: var(--mid);
    font-weight: 300;
    flex: 1;
}

.col-card:not(.col-card--featured) .col-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.col-more {
    font-size: 10px;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-weight: 400;
    color: var(--charcoal);
    transition: color .3s;
    margin-top: auto;
}


/* ─── CTA ─── */


/* ─── showroom- ─── */

.showroom-section {
    padding: 116px 60px;
    background: var(--cream);
}

.showroom-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.showroom-text h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(30px, 3vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 24px;
}

.showroom-section p {
    color: var(--mid);
    font-weight: 300;
    margin: 0 auto 46px;
    line-height: 1.8;
    position: relative;
}

.showroom--text p {
    font-size: 1.2rem;
    line-height: 1.9;
    color: var(--mid);
    font-weight: 300;
    margin-bottom: 14px;
}

.showroom-images {
    position: relative;
    height: 460px;
}

.showroom-img-main {
    position: absolute;
    top: 0;
    right: 0;
    width: 78%;
    height: 84%;
    background-color: var(--sand);
    background-image: url('https://images.unsplash.com/photo-1556228453-efd6c1ff04f6?w=800&q=80&fit=crop');
    background-size: cover;
    background-position: center;
}

.showroom-img-sub {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 46%;
    height: 50%;
    background-color: var(--clay);
    background-image: url('https://images.unsplash.com/photo-1631679706909-1844bbd07221?w=600&q=80&fit=crop');
    background-size: cover;
    background-position: center;
    outline: 6px solid var(--cream);
}

.cta-btn {
    position: relative;
    display: inline-block;
    padding: 15px 54px;
    background: var(--charcoal);
    color: var(--cream);
    letter-spacing: .3em;
    text-transform: uppercase;
    font-weight: 400;
    transition: background .3s;
}

.cta-btn:hover {
    background: var(--accent);
}


/* ─── FOOTER ─── */

footer {
    background: var(--charcoal);
    padding: 68px 60px 36px;
}

.footer-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 56px;
    padding-bottom: 56px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px;
    font-weight: 500;
    color: var(--cream);
    letter-spacing: .18em;
    margin-bottom: 18px;
    display: block;
}

.footer-brand p {
    font-size: 12px;
    color: rgba(245, 240, 232, .32);
    line-height: 1.8;
    font-weight: 200;
    max-width: 220px;
}

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

.footer-col h4 {
    font-weight: 400;
    color: var(--cream);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: .36em;
}

.footer-col .sub-nav a {
    transition: color .3s;
    display: block;
    color: var(--cream);
    margin: 10px;
}

.footer-col ul {
    color: var(--cream);
    list-style: none;
}

.footer-col li {
    margin-bottom: 9px;
}

.footer-col li a {
    color: var(--cream);
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: .36em;
    transition: color .3s;
}

.footer-col a:hover {
    color: var(--clay);
}

.footer-bottom {
    max-width: 1240px;
    margin: 26px auto 0;
    display: flex;
    justify-content: space-between;
}

.footer-bottom p {
    color: var(--cream);
    font-weight: 200;
    letter-spacing: .1em;
}


/* ─── ANIMATIONS ─── */

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

@keyframes marquee {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

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


/* ═══════════════════════════════════════
   RESPONSIVE
   ─ tablet : 〜1024px
   ─ mobile : 〜768px
   ─ small  : 〜480px
═══════════════════════════════════════ */


/* ── Tablet (〜1024px) ── */

@media (max-width: 1024px) {
    #nav {
        padding: 22px 40px;
    }
    #nav.scrolled {
        padding: 14px 40px;
    }
    .about-section,
    .products-section,
    .column-section,
    .showroom-section {
        padding: 80px 40px;
    }
    .feature-band {
        background-attachment: scroll;
    }
    footer {
        padding: 56px 40px 28px;
    }
}


/* ── Mobile (〜768px) ── */

@media (max-width: 768px) {
    /* NAV */
    #nav {
        padding: 20px 24px;
    }
    #nav.scrolled {
        padding: 14px 24px;
    }
    .nav-links {
        display: none;
    }
    .nav-hamburger {
        display: flex;
    }
    /* ABOUT */
    .about-section {
        padding: 72px 24px;
    }
    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-img-wrap .corner-accent {
        display: none;
    }
    .about-img-wrap .img-box {
        height: 300px;
    }
    /* FEATURE BAND */
    .feature-band {
        height: 280px;
        background-attachment: scroll;
    }
    /* PRODUCTS */
    .products-section {
        padding: 72px 24px;
    }
    .products-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .p-card:nth-child(1),
    .p-card:nth-child(4) {
        grid-column: span 1;
    }
    .p-card .p-img {
        height: 240px;
    }
    /* タッチ端末でも情報を常時表示 */
    .p-card .p-overlay {
        opacity: 1;
    }
    .p-card .p-info {
        opacity: 1;
        transform: translateY(0);
    }
    /* COLUMN */
    .column-section {
        padding: 72px 24px;
    }
    .column-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    .column-grid {
        grid-template-columns: 1fr;
    }
    .col-card:not(.col-card--featured) .col-thumb {
        height: 200px;
    }
    /* SHOWROOM */
    .showroom-section {
        padding: 72px 24px;
    }
    .showroom-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .showroom-img-sub {
        display: none;
    }
    .showroom-images {
        height: 280px;
    }
    .showroom-img-main {
        width: 100%;
        height: 100%;
    }
    .cta-btn {
        display: flex;
        justify-content: center;
}
    /* FOOTER */
    footer {
        padding: 56px 24px 24px;
    }
    .footer-inner {
        flex-direction: column;
        gap: 40px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 8px;
    }
}


/* ── Small (〜480px) ── */

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    .p-card .p-img {
        height: 260px;
    }
    .footer-nav {
        grid-template-columns: 1fr;
    }
}
