/* Ogoru — site design. Colors are controlled by the :root variables only. */
:root {
	--og-cream: #FFF4E3;
	--og-paper: #FFFBF4;
	--og-ink: #2B1D14;
	--og-ink-soft: #6B5646;
	--og-brand: #E8742A;
	--og-brand-dark: #B94E0E;
	--og-accent: #F4B63D;
	--og-leaf: #3E8E6B;
	--og-line: #F0DFC7;
	--og-radius: 20px;
	--og-shadow: 0 10px 30px rgba(120, 60, 10, .12);
}

html { scroll-behavior: smooth; }
body { background: var(--og-paper); color: var(--og-ink); }
body.home .wp-block-post-title,
body.page .og-hide-title .wp-block-post-title { display: none; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.og-wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.og-narrow { max-width: 720px; margin: 0 auto; padding: 0 20px; }

/* ---------- header / footer ---------- */
.og-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 251, 244, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--og-line); }
.og-header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 1080px; margin: 0 auto; padding: 12px 20px; }
.og-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.35rem; letter-spacing: -.01em; color: var(--og-ink); text-decoration: none; }
.og-logo svg { width: 34px; height: 34px; }
.og-logo small { font-weight: 500; font-size: .8rem; color: var(--og-ink-soft); margin-left: 2px; }
.og-nav { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.og-nav a { color: var(--og-ink); text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.og-nav a:hover { background: var(--og-cream); }
.og-nav a.og-nav__cta { background: var(--og-brand); color: #fff; }
.og-nav a.og-nav__cta:hover { background: var(--og-brand-dark); }

.og-footer { background: var(--og-ink); color: #F5E7D3; margin-top: 80px; padding: 48px 0 28px; }
.og-footer a { color: #FFD79B; }
.og-footer__in { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.og-footer h2 { font-size: 1rem; color: #fff; margin: 0 0 10px; }
.og-footer ul { list-style: none; margin: 0; padding: 0; }
.og-footer li { margin: 6px 0; }
.og-footer p { margin: 0 0 8px; font-size: .92rem; line-height: 1.7; }
.og-footer__copy { max-width: 1080px; margin: 28px auto 0; padding: 18px 20px 0; border-top: 1px solid rgba(255,255,255,.15); font-size: .85rem; color: #D9C5AA; }

/* ---------- buttons ---------- */
.og-btn { display: inline-flex; align-items: center; gap: 8px; border: 2px solid transparent; border-radius: 999px; padding: 12px 24px; font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; font-family: inherit; }
.og-btn--primary { background: var(--og-brand); color: #fff; box-shadow: 0 6px 16px rgba(232, 116, 42, .35); }
.og-btn--primary:hover { background: var(--og-brand-dark); transform: translateY(-2px); color: #fff; }
.og-btn--ghost { background: transparent; color: var(--og-ink); border-color: var(--og-ink); }
.og-btn--ghost:hover { background: var(--og-ink); color: #fff; }
.og-btn--big { padding: 16px 34px; font-size: 1.15rem; }
.og-btn.is-soon { background: #C9B8A3; box-shadow: none; cursor: not-allowed; }
.og-btn.is-soon:hover { transform: none; background: #C9B8A3; }

/* ---------- hero ---------- */
.og-hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #FFE8C8 0%, #FFF4E3 45%, #FFD9B0 100%); padding: 72px 0 84px; }
.og-hero__in { max-width: 1080px; margin: 0 auto; padding: 0 20px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: center; }
.og-kanji { font-size: 1.1rem; font-weight: 700; color: var(--og-brand-dark); letter-spacing: .1em; margin: 0 0 8px; }
.og-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.05; margin: 0 0 8px; letter-spacing: -.03em; }
.og-hero h1 span { color: var(--og-brand); }
.og-pron { display: inline-block; font-size: 1.05rem; color: var(--og-ink-soft); background: rgba(255,255,255,.7); border-radius: 999px; padding: 4px 14px; margin: 0 0 18px; }
.og-hero p.og-lead { font-size: 1.25rem; line-height: 1.65; max-width: 34em; margin: 0 0 26px; }
.og-hero__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.og-cup { width: 100%; max-width: 340px; justify-self: center; }
.og-steam { transform-origin: center bottom; animation: og-steam 3.2s ease-in-out infinite; }
.og-steam:nth-child(2) { animation-delay: .6s; }
.og-steam:nth-child(3) { animation-delay: 1.2s; }
@keyframes og-steam { 0%,100% { opacity: .25; transform: translateY(6px) scaleY(.9); } 50% { opacity: 1; transform: translateY(-6px) scaleY(1.05); } }
.og-float { animation: og-float 5s ease-in-out infinite; }
@keyframes og-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- sections ---------- */
.og-section { padding: 64px 0 0; }
.og-section h2 { font-size: clamp(1.7rem, 4vw, 2.3rem); margin: 0 0 8px; letter-spacing: -.02em; }
.og-section .og-sub { color: var(--og-ink-soft); font-size: 1.1rem; margin: 0 0 28px; max-width: 40em; }
.og-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.og-card { background: #fff; border: 1px solid var(--og-line); border-radius: var(--og-radius); padding: 26px; box-shadow: var(--og-shadow); }
.og-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.og-card p { margin: 0; color: var(--og-ink-soft); line-height: 1.7; }
.og-card .og-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--og-accent); color: var(--og-ink); font-weight: 800; margin-bottom: 12px; }
.og-say { background: var(--og-cream); border-left: 6px solid var(--og-brand); border-radius: 0 var(--og-radius) var(--og-radius) 0; padding: 18px 22px; font-size: 1.15rem; line-height: 1.6; margin: 0 0 14px; }
.og-say b { color: var(--og-brand-dark); }
.og-say small { display: block; color: var(--og-ink-soft); font-size: .88rem; margin-top: 4px; }
.og-forms { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--og-radius); overflow: hidden; box-shadow: var(--og-shadow); }
.og-forms th, .og-forms td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--og-line); }
.og-forms th { background: var(--og-cream); font-size: .9rem; color: var(--og-ink-soft); }
.og-forms td:first-child { font-weight: 800; color: var(--og-brand-dark); }

.og-band { background: var(--og-ink); color: #fff; border-radius: 28px; padding: 44px 36px; text-align: center; margin-top: 64px; }
.og-band h2 { color: #fff; margin: 0 0 10px; }
.og-band p { color: #F0DFC7; max-width: 34em; margin: 0 auto 22px; font-size: 1.1rem; line-height: 1.65; }

.og-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: center; }
.og-stats div { background: #fff; border: 1px solid var(--og-line); border-radius: var(--og-radius); padding: 22px 12px; }
.og-stats b { display: block; font-size: 1.9rem; color: var(--og-brand); }
.og-stats span { color: var(--og-ink-soft); font-size: .92rem; }

/* ---------- inner pages ---------- */
.og-page-head { background: linear-gradient(135deg, #FFE8C8, #FFF4E3); padding: 54px 0 40px; text-align: center; }
.og-page-head h1 { font-size: clamp(2rem, 5vw, 3rem); margin: 0 0 8px; letter-spacing: -.02em; }
.og-page-head p { color: var(--og-ink-soft); font-size: 1.15rem; max-width: 36em; margin: 0 auto; padding: 0 20px; }
.og-prose { max-width: 720px; margin: 40px auto 0; padding: 0 20px; font-size: 1.08rem; line-height: 1.85; }
.og-prose h2 { margin: 2em 0 .5em; font-size: 1.5rem; }
.og-prose h3 { margin: 1.6em 0 .4em; }
.og-prose a { color: var(--og-brand-dark); }
.og-note { background: var(--og-cream); border-radius: var(--og-radius); padding: 18px 22px; font-size: .98rem; }

/* ---------- form ---------- */
.og-form label { display: block; font-weight: 700; margin-bottom: 6px; }
.og-form input[type=text], .og-form input[type=email], .og-form textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 2px solid var(--og-line); border-radius: 12px; font: inherit; background: #fff; }
.og-form input:focus, .og-form textarea:focus { outline: none; border-color: var(--og-brand); }
.og-hp { position: absolute !important; left: -9999px; height: 0; overflow: hidden; }
.og-form__status.is-ok { color: var(--og-leaf); font-weight: 700; }
.og-form__status.is-err { color: #B3261E; font-weight: 700; }

/* ---------- motion ---------- */
.og-js .og-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.og-js .og-reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.og-steam, .og-float { animation: none; }
	.og-btn, .og-reveal { transition: none; }
	html { scroll-behavior: auto; }
}

/* ---------- mobile ---------- */
@media (max-width: 800px) {
	.og-hero { padding: 44px 0 56px; }
	.og-hero__in { grid-template-columns: 1fr; text-align: center; }
	.og-hero__cta { justify-content: center; }
	.og-cup { max-width: 220px; order: -1; }
	.og-grid, .og-stats, .og-footer__in { grid-template-columns: 1fr; }
	.og-header__in { flex-direction: column; gap: 6px; padding: 10px 14px; }
	.og-nav a { padding: 6px 10px; font-size: .9rem; }
	.og-band { padding: 34px 20px; border-radius: 22px; }
	.og-forms th, .og-forms td { padding: 10px 10px; font-size: .95rem; }
}

/* ---------- theme overrides (Twenty Twenty-Five) ---------- */
body .wp-block-post-title { display: none; }
.wp-site-blocks, main.wp-block-group, .wp-block-post-content { padding-left: 0 !important; padding-right: 0 !important; padding-top: 0 !important; }
main.wp-block-group { margin-top: 0 !important; }
.wp-block-post-content > *, .wp-block-post-content.is-layout-constrained > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; }
.og-hero h1, .og-section h2, .og-card h3, .og-band h2, .og-page-head h1, .og-prose h2, .og-prose h3, .og-footer h2 { font-weight: 800; }
.og-hero__in, .og-header__in, .og-footer__in, .og-wrap { box-sizing: border-box; width: 100%; }
.og-footer a { font-size: .95rem; text-decoration: none; }
.og-footer a:hover { text-decoration: underline; }
.og-footer li { font-size: .95rem; }
.og-prose, .og-section .og-sub, .og-say, .og-card p { font-weight: 400; }
main .wp-block-group.has-global-padding { padding: 0 !important; }
.wp-block-post-content { margin-top: 0 !important; margin-block-start: 0 !important; }
.wp-block-post-content > .og-wrap { max-width: 1080px !important; margin-left: auto !important; margin-right: auto !important; padding-left: 20px; padding-right: 20px; }
.wp-block-post-content > .og-prose { max-width: 720px !important; margin-left: auto !important; margin-right: auto !important; padding-left: 20px; padding-right: 20px; box-sizing: border-box; }
main .alignfull, main .wp-block-post-content, main .wp-block-group { margin-left: 0 !important; margin-right: 0 !important; max-width: 100% !important; width: auto; }
html, body { overflow-x: hidden; }

/* ---------- hero art: treats floating around a heart ---------- */
.og-badge { animation: og-float 5s ease-in-out infinite; }
.og-heart { transform-box: fill-box; transform-origin: center; animation: og-pulse 3.2s ease-in-out infinite; }
@keyframes og-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .og-badge, .og-heart { animation: none; } }

/* ---------- story illustrations ---------- */
.og-fig { margin: 28px 0; }
.og-fig svg { display: block; width: 100%; height: auto; font-family: inherit; }
.og-fig figcaption { text-align: center; color: var(--og-ink-soft, #6B5646); font-size: .92rem; margin-top: 10px; line-height: 1.7; }

/* story illustrations on the home page */
.og-section > .og-fig { max-width: 600px; margin: 26px auto 8px; }
