/* ============================
   BLOOM TERRACE LP — Design System
   ============================ */

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Palette */
    --cream: #fdf8f0;
    --cream-dark: #f5eee0;
    --gold: #b8924a;
    --gold-light: #d4b06d;
    --gold-glow: rgba(184, 146, 74, .25);
    --rose: #d4859a;
    --rose-light: #f2d0da;
    --rose-pale: #fce8ef;
    --lavender: #b6a3d4;
    --lavender-light: #e3daf0;
    --sage: #88a68d;
    --text: #3a3028;
    --text-light: #6b5e52;
    --white: #ffffff;

    /* Typography */
    --font-display: 'Playfair Display', 'Georgia', serif;
    --font-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;

    /* Spacing */
    --section-pad: clamp(60px, 10vw, 120px);
    --container: min(92%, 880px);

    /* Animation */
    --ease-out: cubic-bezier(.22, 1, .36, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.9;
    color: var(--text);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ---------- Container ---------- */
.container {
    width: var(--container);
    margin-inline: auto;
}

/* ---------- Typography ---------- */
h1,
h2,
h3 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
}

/* ---------- HERO ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--cream);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(253, 248, 240, .15) 0%,
            rgba(253, 248, 240, .45) 50%,
            rgba(253, 248, 240, .92) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    text-align: center;
}

.hero-catchcopy {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.6rem);
    color: var(--gold);
    letter-spacing: .15em;
    margin-bottom: 16px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .8s var(--ease-out) .3s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 700;
    color: var(--text);
    letter-spacing: .08em;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp .8s var(--ease-out) .5s forwards;
}

.hero-subtitle {
    font-size: clamp(.95rem, 2vw, 1.15rem);
    color: var(--text-light);
    letter-spacing: .1em;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .8s var(--ease-out) .7s forwards;
}

.hero-cta {
    display: inline-block;
    padding: 16px 48px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: .12em;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 24px var(--gold-glow);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp .8s var(--ease-out) .9s forwards;
}

.hero-cta:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 32px var(--gold-glow);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: fadeUp .8s var(--ease-out) 1.2s forwards;
}

.hero-scroll span {
    font-size: .65rem;
    letter-spacing: .2em;
    color: var(--gold);
}

.scroll-line {
    width: 1px;
    height: 36px;
    background: var(--gold);
    animation: scrollPulse 1.6s ease-in-out infinite;
}

/* ---------- Petal Canvas ---------- */
#petal-canvas {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ---------- SECTIONS ---------- */
.section {
    padding: var(--section-pad) 0;
}

.section-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 500;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    border: 1px solid var(--gold-light);
    padding: 4px 16px;
    border-radius: 40px;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--text);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-lead {
    font-size: clamp(.95rem, 1.8vw, 1.05rem);
    color: var(--text-light);
    max-width: 640px;
    margin-inline: auto;
    line-height: 2;
}

/* ---------- INTRO ---------- */
.intro {
    background: var(--cream);
}

.intro-text {
    max-width: 700px;
    margin-inline: auto;
    text-align: center;
    font-size: clamp(.95rem, 1.8vw, 1.08rem);
    line-height: 2.2;
    color: var(--text);
}

.intro-text em {
    font-style: normal;
    color: var(--gold);
    font-weight: 500;
}

.intro-text .big-quote {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: var(--text);
    margin: 32px 0;
    line-height: 1.6;
}

/* ---------- Photo Strip ---------- */
.photo-strip {
    padding: 40px 0;
    overflow: hidden;
}

.photo-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 1000px;
    margin-inline: auto;
    padding: 0 16px;
}

.photo-strip-item {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 1;
    position: relative;
}

.photo-strip-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out);
}

.photo-strip-item:hover img {
    transform: scale(1.06);
}

/* ---------- Divider ---------- */
.divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 0;
}

.divider-line {
    width: 60px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-light), transparent);
}

.divider-icon {
    font-size: 1.2rem;
    color: var(--rose);
    opacity: .7;
}

/* ---------- CONCEPT ---------- */
.concept {
    background: linear-gradient(180deg, var(--cream) 0%, var(--rose-pale) 50%, var(--cream) 100%);
}

.concept-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    align-items: center;
    max-width: 900px;
    margin-inline: auto;
}

.concept-photo {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .08);
}

.concept-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 3 / 4;
    transition: transform .6s var(--ease-out);
}

.concept-photo:hover img {
    transform: scale(1.04);
}

.concept-card {
    background: rgba(255, 255, 255, .65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
}

.concept-card h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: var(--text);
    margin-bottom: 24px;
}

.concept-card p {
    font-size: clamp(.93rem, 1.6vw, 1.05rem);
    color: var(--text-light);
    line-height: 2.1;
}

.concept-card p+p {
    margin-top: 16px;
}

/* ---------- EXPERIENCE ---------- */
.experience {
    background: var(--cream);
}

.exp-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 740px;
    margin-inline: auto;
}

.exp-card {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 20px;
    overflow: hidden;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.exp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(184, 146, 74, .12);
}

.exp-card-img {
    width: 100%;
    height: 260px;
    overflow: hidden;
}

.exp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease-out);
}

.exp-card:hover .exp-card-img img {
    transform: scale(1.06);
}

.exp-card-body {
    padding: 28px 32px 36px;
    position: relative;
}

.exp-card-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 24px;
    right: 24px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--rose));
    border-radius: 3px;
}

.exp-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.exp-card h3 {
    font-size: 1.15rem;
    color: var(--text);
    margin-bottom: 10px;
}

.exp-card p {
    font-size: .93rem;
    color: var(--text-light);
    line-height: 1.9;
}

/* ---------- SERVICE DETAILS ---------- */
.service-details {
    background: linear-gradient(180deg, var(--cream) 0%, var(--cream-dark) 50%, var(--cream) 100%);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 800px;
    margin-inline: auto;
}

.detail-item {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}

.detail-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 28px rgba(184, 146, 74, .1);
}

.detail-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.detail-item h3 {
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 10px;
}

.detail-item p {
    font-size: .88rem;
    color: var(--text-light);
    line-height: 1.8;
}

.detail-item strong {
    color: var(--gold);
    font-weight: 600;
}

/* ---------- RECOMMEND ---------- */
.recommend {
    background: linear-gradient(180deg, var(--cream) 0%, var(--lavender-light) 50%, var(--cream) 100%);
}

.rec-list {
    max-width: 680px;
    margin-inline: auto;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.rec-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, .6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 16px;
    font-size: .95rem;
    line-height: 1.8;
    color: var(--text);
}

.rec-list li .check {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: .8rem;
    margin-top: 2px;
}

/* ---------- FAQ ---------- */
.faq {
    background: var(--cream);
}

.faq-list {
    max-width: 740px;
    margin-inline: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--cream-dark);
    border-radius: 16px;
    overflow: hidden;
    transition: box-shadow .3s var(--ease-out);
}

.faq-item:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
}

.faq-q {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 500;
    font-size: .95rem;
    color: var(--text);
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-body);
}

.faq-q .q-badge {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--rose), var(--lavender));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: .75rem;
    font-weight: 700;
}

.faq-q .arrow {
    margin-left: auto;
    font-size: .7rem;
    color: var(--gold);
    transition: transform .3s var(--ease-out);
}

.faq-item.open .faq-q .arrow {
    transform: rotate(180deg);
}

.faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease-out), padding .4s var(--ease-out);
}

.faq-item.open .faq-a {
    max-height: 400px;
    padding: 0 24px 24px 66px;
}

.faq-a p {
    font-size: .9rem;
    color: var(--text-light);
    line-height: 1.9;
}

/* ---------- CTA / CLOSING ---------- */
.closing {
    background: linear-gradient(135deg, var(--rose-pale) 0%, var(--lavender-light) 50%, var(--cream) 100%);
}

.closing-wrap {
    text-align: center;
    max-width: 680px;
    margin-inline: auto;
}

.closing-wrap h2 {
    font-size: clamp(1.4rem, 3.5vw, 2rem);
    color: var(--text);
    margin-bottom: 24px;
}

.closing-wrap p {
    font-size: clamp(.93rem, 1.6vw, 1.05rem);
    color: var(--text-light);
    line-height: 2.1;
    margin-bottom: 12px;
}

.closing-author {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    font-size: .95rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: .08em;
}

.author-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-light);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.closing-cta {
    display: inline-block;
    margin-top: 40px;
    padding: 18px 56px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--white);
    font-family: var(--font-body);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: .12em;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 28px var(--gold-glow);
    transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.closing-cta::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 62px;
    background: linear-gradient(135deg, var(--gold), var(--rose), var(--lavender), var(--gold));
    background-size: 300% 300%;
    z-index: -1;
    opacity: 0;
    animation: shimmer 3s ease infinite;
    transition: opacity .3s;
}

.closing-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 36px var(--gold-glow);
}

.closing-cta:hover::after {
    opacity: 1;
}

/* ---------- FOOTER ---------- */
.footer {
    padding: 40px 0;
    text-align: center;
    background: var(--cream-dark);
}

.footer-brand {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--gold);
    letter-spacing: .08em;
    margin-bottom: 8px;
}

.footer-copy {
    font-size: .75rem;
    color: var(--text-light);
    opacity: .6;
}

/* ---------- Reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Keyframes ---------- */
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {

    0%,
    100% {
        opacity: .4;
        transform: scaleY(1);
    }

    50% {
        opacity: 1;
        transform: scaleY(1.3);
        transform-origin: top;
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
    .hero-content {
        padding: 100px 16px 60px;
    }

    .photo-strip-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .concept-layout {
        grid-template-columns: 1fr;
    }

    .concept-photo {
        max-width: 280px;
        margin-inline: auto;
    }

    .concept-card {
        padding: 32px 24px;
    }

    .exp-card-body {
        padding: 24px 20px 28px;
    }

    .details-grid {
        grid-template-columns: 1fr;
    }

    .rec-list li {
        padding: 16px 16px;
    }

    .faq-q {
        padding: 16px 18px;
        font-size: .9rem;
    }

    .faq-item.open .faq-a {
        padding: 0 18px 18px 52px;
    }

    .closing-cta {
        padding: 16px 40px;
        font-size: .95rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .hero-title {
        letter-spacing: .04em;
    }

    .concept-card {
        border-radius: 16px;
        padding: 28px 20px;
    }

    .exp-card {
        border-radius: 14px;
    }
}