/* Explain: Styles for UI components, including header, navigation, buttons, hero, and team sections. */
/* ===== Header & Navigation ===== */
.site-header {
    background: rgba(250, 247, 240, .94);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.brand-mark { display: flex; align-items: center; gap: .65rem; }

.brand-mark-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.4rem; height: 2.4rem; border-radius: 999px;
    border: 1px solid var(--accent-color); color: var(--accent-color); font-size: .85rem;
}

.brand-mark-text {
    font-family: var(--font-heading); font-size: 1.45rem;
    letter-spacing: .02em; color: var(--text-color);
}

.nav-link {
    font-size: .8rem; letter-spacing: .1em; text-transform: uppercase;
    color: var(--text-muted); transition: color .3s ease;
}

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

.nav-toggle {
    display: inline-flex; align-items: center; justify-content: center;
    width: 2.75rem; height: 2.75rem; border: 1px solid var(--border-color);
    background: transparent; color: var(--text-color); border-radius: .35rem; cursor: pointer;
}

.mobile-menu {
    border-top: 1px solid var(--border-color);
    background: var(--background-color);
}

.mobile-link {
    display: block; padding: .9rem 0; font-size: .9rem; letter-spacing: .08em;
    text-transform: uppercase; color: var(--text-color);
    border-bottom: 1px solid var(--border-color);
}

/* ===== Buttons ===== */
.btn-couture {
    display: inline-block; background: var(--dark-color); color: #fff;
    font-size: .78rem; letter-spacing: .15em; text-transform: uppercase;
    padding: .95rem 2.2rem; transition: background .3s ease; cursor: pointer; border: none;
}

.btn-couture:hover { background: var(--accent-color); color: #fff; }

.btn-couture-outline {
    display: inline-block; border: 1px solid var(--dark-color); color: var(--dark-color);
    font-size: .72rem; letter-spacing: .14em; text-transform: uppercase;
    padding: .65rem 1.4rem; transition: all .3s ease; cursor: pointer;
}

.btn-couture-outline:hover { background: var(--dark-color); color: #fff; }

/* ===== Hero ===== */
.hero-couture {
    position: relative; min-height: 82vh;
    display: flex; align-items: center; justify-content: center; overflow: hidden;
    text-align: center;
}

.hero-slides {
    position: absolute; inset: 0;
    overflow: hidden;
    background: var(--dark-color);
}

.hero-slide {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.6s ease-in-out;
    will-change: opacity, transform;
}

.hero-slide.is-active {
    opacity: 1;
    animation: heroKenburns 7s ease-out both;
}

.hero-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,.55), rgba(10,10,10,.7));
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 9vw, 6.5rem);
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;
    color: #fff; letter-spacing: .12em;
    text-shadow: 0 6px 40px rgba(0, 0, 0, .45);
}

.hero-divider {
    display: block; width: 6.5rem; height: 1px;
    background: rgba(255,255,255,.7); margin: 1.75rem auto;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(1.15rem, 2.6vw, 1.7rem);
    letter-spacing: .22em;
    color: rgba(255,255,255,.92);
}

/* ===== Vision ===== */
.vision-media img {
    width: 100%; height: 100%; object-fit: cover;
}

.vision-frame {
    aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-color);
}

/* ===== Elegance — tiled couture grid ===== */
.elegance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
}

@media (min-width: 768px) {
    .elegance-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
    .elegance-grid { grid-template-columns: repeat(5, 1fr); }
}

.elegance-tile { position: relative; display: block; overflow: hidden; background: var(--surface-color); }

.elegance-tile img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    transition: transform .6s ease;
}

.elegance-tile:hover img { transform: scale(1.06); }

/* ===== Craftsmanship ===== */
.craft-card img {
    width: 100%; aspect-ratio: 4 / 5; object-fit: cover;
    border-radius: .75rem;
}

.craft-name {
    margin-top: .9rem; font-family: var(--font-heading);
    font-size: 1.05rem; color: #f4efe6; text-align: center;
}

.craft-media img {
    width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
    border-radius: .75rem;
}

/* ===== Gown gallery ===== */
.gown-frame { display: block; overflow: hidden; background: var(--surface-color); }

.gown-frame img {
    width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
    transition: transform .6s ease;
}

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

.gown-name {
    margin-top: .8rem; text-align: center;
    font-family: var(--font-heading); font-size: 1rem; color: var(--text-color);
}

/* ===== Gown gallery — horizontal swipe rail ===== */
.gown-scroller {
    display: flex;
    gap: 1.25rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) transparent;
}

.gown-scroller::-webkit-scrollbar { height: 6px; }
.gown-scroller::-webkit-scrollbar-track { background: transparent; }
.gown-scroller::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 999px; }

.gown-slide {
    flex: 0 0 78%;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .gown-slide { flex: 0 0 46%; }
}

@media (min-width: 1024px) {
    .gown-slide { flex: 0 0 31%; }
}

/* ===== Team ===== */
.team-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
}

@media (min-width: 640px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .team-grid { grid-template-columns: repeat(4, 1fr); }
}

.team-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.team-photo { overflow: hidden; background: var(--surface-color); }

.team-photo img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transition: transform .6s ease;
}

.team-card:hover .team-photo img { transform: scale(1.04); }

.team-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem 1.35rem 1.75rem;
    text-align: center;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
}

.team-rule {
    display: block;
    width: 3rem;
    height: 1px;
    background: #c9c4ba;
    margin: .9rem auto 1rem;
}

.team-role {
    font-size: .72rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.team-bio {
    margin-top: 1.15rem;
    font-size: .8rem;
    line-height: 1.9;
    color: var(--text-muted);
    text-align: justify;
}

/* ===== Contact ===== */
.contact-label {
    font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
    color: var(--text-muted); margin-bottom: .35rem;
}

.contact-value { font-size: 1.05rem; color: var(--text-color); margin-bottom: 1.75rem; }

.field-label {
    display: block; font-size: .72rem; letter-spacing: .14em;
    text-transform: uppercase; color: var(--text-muted); margin-bottom: .4rem;
}

.field-input {
    width: 100%; background: transparent; border: none;
    border-bottom: 1px solid var(--border-color);
    padding: .55rem 0; font-family: var(--font-body); font-size: .95rem;
    color: var(--text-color); outline: none; transition: border-color .3s ease;
}

.field-input:focus { border-color: var(--accent-color); }

.field-textarea {
    width: 100%; background: transparent; border: 1px solid var(--border-color);
    padding: .85rem; font-family: var(--font-body); font-size: .95rem;
    color: var(--text-color); outline: none; resize: vertical;
    transition: border-color .3s ease;
}

.field-textarea:focus { border-color: var(--accent-color); }

.contact-status { font-size: .9rem; color: var(--text-muted); margin-top: 1rem; }
.contact-status.is-success { color: #3f7d52; }
.contact-status.is-error { color: #b23b3b; }

/* ===== Newsletter — dark field variant ===== */
.field-input-dark {
    border-bottom: 1px solid rgba(244, 239, 230, .35);
    color: #f4efe6;
}

.field-input-dark::placeholder { color: rgba(244, 239, 230, .5); }

.field-input-dark:focus { border-color: var(--accent-color); }

.section-dark .contact-status { color: rgba(244, 239, 230, .7); }
.section-dark .contact-status.is-success { color: #9ad3a8; }
.section-dark .contact-status.is-error { color: #e79a9a; }

/* ===== Hero — editorial overlay & ambient motion ===== */
.hero-couture { min-height: 92vh; }

.hero-topbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 20;
    display: flex; align-items: flex-start; justify-content: space-between;
    padding: 0;
}

.hero-brand-card {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    background: transparent;
    color: #fff;
    padding: 1.25rem 1.5rem;
    text-shadow: none;
    transition: opacity .3s ease;
}

.hero-brand-card:hover { opacity: .85; }

.hero-brand-logo {
    display: block;
    width: 6rem;
    height: auto;
    transition: transform .3s ease;
}

.hero-brand-card:hover .hero-brand-logo {
    transform: scale(1.04);
}



.hero-actions { display: flex; align-items: center; gap: 1.15rem; padding: 1.5rem; }

.hero-action {
    color: rgba(255, 255, 255, .85); font-size: 1rem;
    transition: color .3s ease, transform .3s ease;
}

.hero-action:hover { color: #fff; transform: translateY(-2px); }

.hero-inner {
    position: relative; z-index: 10;
    width: 100%; max-width: 60rem; margin: 0 auto;
    padding: 7rem 1.5rem; text-align: center;
}

.hero-inner > * { animation: heroReveal 1.2s ease both; }
.hero-inner > .hero-title { animation-delay: .1s; }
.hero-inner > .hero-divider { animation-delay: .38s; }
.hero-inner > .hero-subtitle { animation-delay: .55s; }

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

@keyframes heroKenburns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.hero-scroll {
    position: absolute; bottom: 1.75rem; left: 50%; transform: translateX(-50%); z-index: 10;
    display: flex; flex-direction: column; align-items: center; gap: .6rem;
    color: rgba(255, 255, 255, .75);
    font-size: .62rem; letter-spacing: .3em; text-transform: uppercase;
    transition: color .3s ease;
}

.hero-scroll:hover { color: #fff; }

.hero-scroll-line {
    width: 1px; height: 3rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0));
    animation: heroScroll 2.2s ease-in-out infinite;
}

@keyframes heroScroll {
    0%, 100% { opacity: .35; transform: scaleY(.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

@media (max-width: 640px) {
    .hero-brand-card { padding: 1rem 1.25rem; }
    .hero-brand-logo { width: 4.25rem; }
    .hero-actions { gap: .9rem; padding: 1rem; }
    .hero-inner { padding: 6rem 1.25rem; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-slide { animation: none; }
    .hero-inner > * { animation: none; }
    .hero-scroll-line { animation: none; }
}

/* ===== Founder profile / resume ===== */
.resume-media { position: relative; max-width: 100%; margin: 0 auto; }

.resume-media::before {
    content: '';
    position: absolute;
    top: -1.75rem;
    left: -1.75rem;
    width: 100%;
    height: 100%;
    background: #c6c6c6;
}

.resume-photo {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.resume-title {
    font-family: var(--font-cjk);
    font-weight: 700;
    font-size: clamp(2rem, 4.5vw, 3rem);
    line-height: 1.2;
    color: var(--text-color);
}

.resume-rule {
    display: block;
    width: 4rem;
    height: 3px;
    background: #b7b7b7;
    margin: 1.5rem 0 2rem;
}

.resume-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: .55rem;
    font-family: var(--font-cjk);
    font-size: 1.05rem;
    color: var(--text-color);
}

.resume-row dt,
.resume-row dd { margin: 0; }

.resume-text {
    font-family: var(--font-cjk);
    font-size: 1.05rem;
    line-height: 2;
    color: var(--text-color);
    margin-top: 1.75rem;
}

.resume-btn {
    display: inline-block;
    margin-top: 2.25rem;
    background: #a6a6a6;
    color: #1a1a1a;
    font-family: var(--font-cjk);
    font-size: .85rem;
    letter-spacing: .1em;
    padding: .7rem 1.9rem;
    transition: background .3s ease, color .3s ease;
    cursor: pointer;
}

.resume-btn:hover { background: var(--accent-color); color: #fff; }

@media (max-width: 640px) {
    .resume-media::before { top: -1rem; left: -1rem; }
}