/* ============================================================
   ecoki.jp — Core Stylesheet
   Warm, restrained, bilingual. Paper base, terracotta, ink.
   ============================================================ */

/* ------------------------------------------------------------
   1. Design tokens
   ------------------------------------------------------------ */
:root {
    /* Palette */
    --paper:      #FAF7F2;  /* warm off-white base */
    --paper-deep: #F1ECE3;  /* slight shade for alt sections */
    --ink:        #2A2F3A;  /* primary text — deep blue-grey */
    --ink-soft:   #5A6070;  /* secondary text */
    --ink-mute:   #8B8F99;  /* tertiary / captions */
    --terracotta: #B54A3C;  /* accent — Okinawan red */
    --terracotta-deep: #8F3A2F;
    --sea:        #6B8E7F;  /* secondary accent — muted sea-green */
    --sea-deep:   #52715F;
    --line:       #E6DFD2;  /* hairline dividers */

    /* Typography */
    --font-display: 'Fraunces', Georgia, 'Yu Mincho', 'Hiragino Mincho ProN', serif;
    --font-body:    'Inter', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;
    --font-jp:      'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', sans-serif;

    /* Type scale */
    --fs-xs:  0.8125rem;   /* 13px */
    --fs-sm:  0.9375rem;   /* 15px */
    --fs-base: 1rem;       /* 16px */
    --fs-md:  1.125rem;    /* 18px */
    --fs-lg:  1.375rem;    /* 22px */
    --fs-xl:  1.75rem;     /* 28px */
    --fs-2xl: 2.25rem;     /* 36px */
    --fs-3xl: 3rem;        /* 48px */
    --fs-4xl: 4.5rem;      /* 72px */
    --fs-hero: clamp(3.5rem, 12vw, 9rem);

    /* Spacing */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-7: 3rem;
    --sp-8: 4.5rem;
    --sp-9: 6rem;
    --sp-10: 9rem;

    /* Layout */
    --content-max: 1200px;
    --content-prose: 680px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Motion */
    --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
    --dur-fast: 180ms;
    --dur-med: 320ms;
    --dur-slow: 600ms;

    /* Shadows (subtle) */
    --shadow-sm: 0 1px 2px rgba(42, 47, 58, 0.04), 0 2px 8px rgba(42, 47, 58, 0.04);
    --shadow-md: 0 2px 6px rgba(42, 47, 58, 0.06), 0 8px 24px rgba(42, 47, 58, 0.06);

    /* Header */
    --header-h: 72px;
}

/* ------------------------------------------------------------
   2. Reset + base
   ------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--fs-base);
    line-height: 1.6;
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* JP pages/elements use JP font stack */
html[lang="ja"] body,
[data-i18n-jp]:lang(ja) {
    font-family: var(--font-jp);
}

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.15;
    margin: 0 0 var(--sp-4);
    font-weight: 600;
    letter-spacing: -0.01em;
}
html[lang="ja"] h1,
html[lang="ja"] h2,
html[lang="ja"] h3 {
    font-family: var(--font-jp);
    font-weight: 700;
    letter-spacing: 0.02em;
}

p { margin: 0 0 var(--sp-4); }
a {
    color: var(--terracotta);
    text-decoration: none;
    transition: color var(--dur-fast) var(--ease);
}
a:hover { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: 3px; }

img { max-width: 100%; height: auto; display: block; }

/* No-scroll lock when modal open */
body.no-scroll { overflow: hidden; }

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: var(--sp-4);
    background: var(--ink);
    color: var(--paper);
    padding: var(--sp-2) var(--sp-4);
    border-radius: var(--radius-sm);
    z-index: 9999;
    transition: top var(--dur-fast) var(--ease);
}
.skip-link:focus { top: var(--sp-4); color: var(--paper); text-decoration: none; }

/* ------------------------------------------------------------
   3. Layout primitives
   ------------------------------------------------------------ */
.container {
    width: 100%;
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--sp-5);
}
@media (min-width: 720px) {
    .container { padding: 0 var(--sp-6); }
}

.prose { max-width: var(--content-prose); }

.section {
    padding: var(--sp-8) 0;
}
@media (min-width: 720px) {
    .section { padding: var(--sp-9) 0; }
}
.section--alt { background: var(--paper-deep); }

.eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--sea-deep);
    margin-bottom: var(--sp-3);
}

/* ------------------------------------------------------------
   4. Header / navigation
   ------------------------------------------------------------ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 247, 242, 0.86);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.site-header--scrolled {
    border-bottom-color: var(--line);
    background: rgba(250, 247, 242, 0.94);

}
.site-header__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--sp-5);
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-4);
}
@media (min-width: 720px) {
    .site-header__inner { padding: 0 var(--sp-6); }
}

.site-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    line-height: 1;
}
.site-logo:hover { color: var(--ink); text-decoration: none; }
.site-logo__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--terracotta);
    display: inline-block;
    margin-left: 2px;
    transform: translateY(-2px);
}

/* Oki Images */

/* Shisa: hidden on mobile, flanking the nav bar on desktop */
.shisaL,
.shisaR { display: none; }

@media (min-width: 900px) {
    .shisaL {
        display: block;
        width: 38px;
        height: auto;
        margin-right: -8px;
        flex-shrink: 0;
    }
    .shisaR {
        display: block;
        width: 38px;
        height: auto;
        margin-left: -8px;
        flex-shrink: 0;
    }
}

/* Shisa in the mobile modal — top corners */
.nav-modal__shisa {
    position: absolute;
    width: 56px;
    height: auto;
    pointer-events: none;
    z-index: 1;
}
.nav-modal__shisa--left  { top: var(--sp-4); left:  var(--sp-4); }
.nav-modal__shisa--right { top: var(--sp-4); right: var(--sp-4); }

/* Whaleshark: absolutely positioned in the CTA section */
#cta { position: relative; overflow: hidden; }
.whaleshark {
    position: absolute;
    bottom: 0;
    right: var(--sp-5);
    width: 130px;
    height: auto;
    opacity: 0.55;
    pointer-events: none;
    z-index: 0;
}

/* Card icon (replaces card__num with an image) */
.card__icon {
    display: block;
    width: 38px;
    height: auto;
    margin-bottom: var(--sp-3);
}

/* Fruit/veg decoration alongside bio/approach paragraphs */
.para-icon-wrap {
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
}
.para-icon-wrap .para-icon {
    flex-shrink: 0;
    width: 48px;
    height: auto;
    margin-top: 3px;
    opacity: 0.88;
}
.para-icon[src*="Shiquasa"] { width: 32px; }
.para-icon[src*="Benimo"]   { width: 54px; }

/* London photo carousel */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
}
.carousel__track {
    width: 100%;
    height: 100%;
    position: relative;
}
.carousel__slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.7s ease;
}
.carousel__slide--active { opacity: 1; }
.carousel__dots {
    position: absolute;
    bottom: var(--sp-3);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}
.carousel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.7);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.3s ease;
}
.carousel__dot--active { background: #fff; }

.site-nav { display: none; }
@media (min-width: 900px) {
    .site-nav { display: block; flex: 1; }
    .site-nav__list {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        justify-content: center;
        gap: var(--sp-6);
    }
    .site-nav__link {
        color: var(--ink);
        font-size: var(--fs-sm);
        font-weight: 500;
        text-decoration: none;
        padding: var(--sp-2) 0;
        position: relative;
        transition: color var(--dur-fast) var(--ease);
    }
    .site-nav__link::after {
        content: '';
        position: absolute;
        left: 0; right: 0; bottom: -2px;
        height: 2px;
        background: var(--terracotta);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform var(--dur-med) var(--ease);
    }
    .site-nav__link:hover {
        color: var(--ink);
        text-decoration: none;
    }
    .site-nav__link:hover::after,
    .site-nav__link--active::after {
        transform: scaleX(1);
    }
}

.site-header__actions {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

/* Language toggle */
.lang-toggle {
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 6px 12px;
    font-family: var(--font-body);
    font-size: var(--fs-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--ink-soft);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: border-color var(--dur-fast) var(--ease);
}
.lang-toggle:hover { border-color: var(--ink-mute); }
.lang-toggle__opt { transition: color var(--dur-fast) var(--ease); }
.lang-toggle__opt--active { color: var(--terracotta); }
.lang-toggle__sep { color: var(--ink-mute); }

/* Hamburger */
.nav-burger {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}
.nav-burger__line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    transition: transform var(--dur-med) var(--ease);
}


@media (min-width: 900px) {
    .nav-burger { display: none; }
}

/* ------------------------------------------------------------
   5. Mobile modal menu
   ------------------------------------------------------------ */
.nav-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: var(--paper);
    opacity: 0;
    transition: opacity var(--dur-med) var(--ease);
    overflow-y: auto;
}
.nav-modal--open { opacity: 1; }

.nav-modal__inner {
    min-height: 100%;
    padding: var(--sp-5);
    display: flex;
    flex-direction: column;
}
.nav-modal__close {
    align-self: flex-end;
    background: transparent;
    border: none;
    font-size: 2rem;
    line-height: 1;
    color: var(--ink);
    cursor: pointer;
    padding: var(--sp-2) var(--sp-3);
}
.nav-modal__nav {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-modal__list {
    list-style: none;
    margin: 0; padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}
.nav-modal__link {
    font-family: var(--font-display);
    font-size: var(--fs-2xl);
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    letter-spacing: -0.01em;
}
html[lang="ja"] .nav-modal__link { font-family: var(--font-jp); font-weight: 700; }
.nav-modal__link:hover,
.nav-modal__link--active { color: var(--terracotta); text-decoration: none; }

/* ------------------------------------------------------------
   6. Hero
   ------------------------------------------------------------ */
.hero {
    min-height: 100svh;
    min-height: 100vh;
    padding-top: calc(var(--header-h) + var(--sp-6));
    padding-bottom: var(--sp-7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    background:
        radial-gradient(ellipse 80% 60% at 80% 20%, rgba(181, 74, 60, 0.06), transparent 60%),
        radial-gradient(ellipse 70% 60% at 10% 90%, rgba(107, 142, 127, 0.07), transparent 60%),
        var(--paper);
}
.hero__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--sp-5);
    width: 100%;
}
@media (min-width: 720px) {
    .hero__inner { padding: 0 var(--sp-6); }
}

.hero__mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: var(--fs-hero);
    line-height: 0.9;
    letter-spacing: -0.04em;
    color: var(--ink);
    margin: 0;
    display: flex;
    align-items: baseline;
    gap: 0.05em;
}
.hero__mark-dot {
    display: inline-block;
    width: 0.14em;
    height: 0.14em;
    border-radius: 50%;
    background: var(--terracotta);
    transform: translateY(-0.05em);
}

.hero__subtitle {
    font-family: var(--font-display);
    font-weight: 400;
    font-style: italic;
    font-size: clamp(1.25rem, 3vw, 2rem);
    color: var(--ink-soft);
    margin: var(--sp-4) 0 0;
    letter-spacing: -0.005em;
}
html[lang="ja"] .hero__subtitle {
    font-family: var(--font-jp);
    font-style: normal;
    font-weight: 500;
}

.hero__lead {
    max-width: 560px;
    margin: var(--sp-6) 0 0;
    font-size: var(--fs-md);
    line-height: 1.7;
    color: var(--ink-soft);
}

.hero__actions {
    margin-top: var(--sp-6);
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-3);
}

.hero__scroll {
    position: absolute;
    bottom: var(--sp-6);
    left: 50%;
    transform: translateX(-50%);
    color: var(--ink-mute);
    font-size: var(--fs-xs);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-2);
    text-decoration: none;
}
.hero__scroll:hover { color: var(--ink); text-decoration: none; }
.hero__scroll svg {
    width: 20px;
    height: 20px;
    animation: bounce 2s var(--ease) infinite;
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(6px); }
}

/* ------------------------------------------------------------
   7. Buttons
   ------------------------------------------------------------ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--sp-2);
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: var(--fs-sm);
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: 999px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
    text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary {
    background: var(--terracotta);
    color: var(--paper);
}
.btn--primary:hover { background: var(--terracotta-deep); color: var(--paper); }

.btn--ghost {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

/* ------------------------------------------------------------
   8. Section headings
   ------------------------------------------------------------ */
.section__heading {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    margin-bottom: var(--sp-3);
    letter-spacing: -0.02em;
}
.section__lead {
    font-size: var(--fs-md);
    color: var(--ink-soft);
    max-width: var(--content-prose);
    margin: 0 auto var(--sp-7);
}
.section--centered .section__lead,
.section--centered .section__heading,
.section--centered .eyebrow { text-align: center; margin-left: auto; margin-right: auto; }

/* ------------------------------------------------------------
   9. Cards (class types, how-it-works steps, etc.)
   ------------------------------------------------------------ */
.card-grid {
    display: grid;
    gap: var(--sp-5);
    grid-template-columns: 1fr;
}
@media (min-width: 720px) {
    .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
    .card-grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
    .card-grid--4 { grid-template-columns: repeat(4, 1fr); }
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    padding: var(--sp-6);
    transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease);
}
.section--alt .card { background: var(--paper); }
.card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.card__num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: var(--fs-lg);
    color: var(--terracotta);
    font-weight: 600;
    margin-bottom: var(--sp-3);
}
.card__title {
    font-size: var(--fs-lg);
    margin: 0 0 var(--sp-2);
}
.card__text {
    color: var(--ink-soft);
    margin: 0;
    font-size: var(--fs-sm);
    line-height: 1.65;
}

/* ------------------------------------------------------------
   10. Two-column content
   ------------------------------------------------------------ */
.two-col {
    display: grid;
    gap: var(--sp-6);
    grid-template-columns: 1fr;
    align-items: center;
}
@media (min-width: 900px) {
    .two-col { grid-template-columns: 1fr 1fr; gap: var(--sp-8); }
}
.two-col__media {
    aspect-ratio: 4 / 5;
    background: var(--paper-deep);
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.two-col__media--placeholder::before {
    content: 'photo';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-mute);
    font-size: var(--fs-xs);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

/* ------------------------------------------------------------
   11. FAQ
   ------------------------------------------------------------ */
.faq {
    max-width: var(--content-prose);
    margin: 0 auto;
}
.faq__item {
    border-bottom: 1px solid var(--line);
    padding: var(--sp-4) 0;
}
.faq__item:first-child { border-top: 1px solid var(--line); }
.faq__q {
    font-family: var(--font-display);
    font-size: var(--fs-md);
    font-weight: 600;
    color: var(--ink);
    cursor: pointer;
    padding: var(--sp-2) 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--sp-4);
}
html[lang="ja"] .faq__q { font-family: var(--font-jp); font-weight: 700; }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
    content: '+';
    color: var(--terracotta);
    font-size: 1.5em;
    font-weight: 400;
    transition: transform var(--dur-med) var(--ease);
}
.faq__item[open] .faq__q::after { content: '−'; }
.faq__a {
    padding: var(--sp-3) 0 var(--sp-2);
    color: var(--ink-soft);
    line-height: 1.7;
}
.faq__a p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------
   12. Footer
   ------------------------------------------------------------ */
.site-footer {
    background: var(--ink);
    color: var(--paper);
    padding: var(--sp-7) 0 var(--sp-5);
    margin-top: var(--sp-8);
}
.site-footer__inner {
    max-width: var(--content-max);
    margin: 0 auto;
    padding: 0 var(--sp-5);
    display: flex;
    flex-direction: column;
    gap: var(--sp-5);
}
@media (min-width: 720px) {
    .site-footer__inner {
        padding: 0 var(--sp-6);
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
}
.site-footer__brand {
    display: flex;
    align-items: baseline;
    gap: var(--sp-3);
}
.site-footer__mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}
.site-footer__tagline {
    color: rgba(250, 247, 242, 0.6);
    font-size: var(--fs-sm);
}
.site-footer__nav {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-5);
}
.site-footer__nav a {
    color: rgba(250, 247, 242, 0.8);
    font-size: var(--fs-sm);
    text-decoration: none;
}
.site-footer__nav a:hover { color: var(--paper); text-decoration: underline; }
.site-footer__meta {
    color: rgba(250, 247, 242, 0.5);
    font-size: var(--fs-xs);
}

/* ------------------------------------------------------------
   13. Toasts (flash messages)
   ------------------------------------------------------------ */
.ec-toast-container {
    position: fixed;
    top: calc(var(--header-h) + var(--sp-4));
    right: var(--sp-4);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: var(--sp-2);
    max-width: 360px;
}
.ec-toast {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: var(--sp-3) var(--sp-4);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: var(--sp-3);
    animation: toastIn var(--dur-med) var(--ease);
}
.ec-toast--success { border-left: 3px solid var(--sea); }
.ec-toast--error   { border-left: 3px solid var(--terracotta); }
.ec-toast--out { animation: toastOut var(--dur-med) var(--ease) forwards; }
.ec-toast__icon { color: var(--sea); font-weight: 600; }
.ec-toast--error .ec-toast__icon { color: var(--terracotta); }
.ec-toast__text { flex: 1; font-size: var(--fs-sm); }
.ec-toast__close {
    background: transparent;
    border: none;
    color: var(--ink-mute);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0;
}
@keyframes toastIn  { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes toastOut { from { opacity: 1; transform: translateY(0); }    to { opacity: 0; transform: translateY(-8px); } }

/* ------------------------------------------------------------
   13b. Busy / working modal overlay
   ------------------------------------------------------------ */
.oki-busy {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(42, 47, 58, 0.45);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    opacity: 0;
    animation: busyFadeIn 180ms var(--ease) forwards;
}
.oki-busy__card {
    background: var(--paper);
    border-radius: var(--radius-lg);
    padding: var(--sp-5) var(--sp-7);
    display: flex;
    align-items: center;
    gap: var(--sp-4);
    box-shadow: 0 8px 32px rgba(42,47,58,0.18);
}
.oki-busy__dots {
    display: flex;
    gap: 6px;
    align-items: center;
}
.oki-busy__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--terracotta);
    animation: busyDot 1.2s ease-in-out infinite;
    opacity: 0.25;
}
.oki-busy__dot:nth-child(1) { animation-delay: 0s; }
.oki-busy__dot:nth-child(2) { animation-delay: 0.2s; }
.oki-busy__dot:nth-child(3) { animation-delay: 0.4s; }
.oki-busy__label {
    font-size: var(--fs-sm);
    color: var(--ink-soft);
    font-weight: 500;
}
html[lang="ja"] .oki-busy__label {
    font-family: var(--font-jp);
}
@keyframes busyFadeIn {
    to { opacity: 1; }
}
@keyframes busyDot {
    0%, 100% { opacity: 0.25; transform: translateY(0); }
    40%       { opacity: 1;    transform: translateY(-4px); }
}


[data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity var(--dur-slow) var(--ease), transform var(--dur-slow) var(--ease);
}
[data-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ------------------------------------------------------------
   15. Forms (for contact page)
   ------------------------------------------------------------ */
.form-field { margin-bottom: var(--sp-5); }
.form-label {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 500;
    color: var(--ink);
    margin-bottom: var(--sp-2);
}
.form-input,
.form-textarea {
    width: 100%;
    padding: var(--sp-3) var(--sp-4);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: var(--fs-base);
    color: var(--ink);
    transition: border-color var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--terracotta);
    box-shadow: 0 0 0 3px rgba(181, 74, 60, 0.12);
}
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

/* ------------------------------------------------------------
   16. Reduced motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    [data-reveal] { opacity: 1; transform: none; }
}
