/* =========================================================
   PAWS & PLAY — inner public pages
   ========================================================= */

/* ---------- About ---------- */
.about-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
.about-portrait { position: relative; justify-self: center; width: min(100%, 440px); }
.about-portrait .arch { aspect-ratio: 3/4; border-radius: 999px 999px 32px 32px; border: 3px solid var(--ink); overflow: hidden; box-shadow: var(--sh-lg); background: var(--sun); }
.about-portrait .arch video, .about-portrait .arch img { width: 100%; height: 100%; object-fit: cover; }
.about-portrait .sticker { position: absolute; }
.about-portrait .s1 { left: -24px; top: 18%; transform: rotate(-8deg); }
.about-portrait .s2 { right: -16px; bottom: 14%; transform: rotate(6deg); }
.about-portrait .ph { position: absolute; left: 50%; bottom: -16px; transform: translateX(-50%); white-space: nowrap; background: var(--paper); }
@media (max-width: 900px) { .about-hero { grid-template-columns: 1fr; } .about-portrait { width: min(80%, 360px); } }
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.value { padding: 28px; border: 3px solid var(--ink); border-radius: var(--r-xl); box-shadow: var(--sh); }
.value .vi { width: 64px; height: 64px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; background: var(--paper); margin-bottom: 18px; }
.value .vi svg { width: 28px; height: 28px; }
.value h3 { font-size: var(--fs-2xl); }
.value:nth-child(1) { background: var(--sun); transform: rotate(-1.5deg); }
.value:nth-child(2) { background: var(--sky); transform: translateY(20px); }
.value:nth-child(3) { background: var(--blush); transform: rotate(1.5deg); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } .value:nth-child(n) { transform: none; } }
.steps-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: st; }
.steps-row li { list-style: none; position: relative; padding: 24px 20px; background: var(--paper); border: var(--border); border-radius: var(--r-lg); box-shadow: var(--sh-sm); }
.steps-row li::before { counter-increment: st; content: counter(st); display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: var(--border); background: var(--tomato); font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin-bottom: 14px; }
.steps-row h3 { font-size: var(--fs-xl); }
.steps-row p { margin: 0; color: var(--ink-soft); font-size: var(--fs-sm); }
@media (max-width: 900px) { .steps-row { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps-row { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Academy ---------- */
.acad-tools { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.acad-tools .input-icon { width: min(100%, 340px); }
.acad-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 1000px) { .acad-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .acad-grid { grid-template-columns: 1fr; } }
.gcard.is-hl { animation: hlPulse 1.6s 2; }
@keyframes hlPulse { 50% { box-shadow: 0 0 0 8px var(--sun), 10px 10px 0 var(--ink); } }
.feature-guide { display: grid; grid-template-columns: 1.1fr .9fr; gap: 0; border: 3px solid var(--ink); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); background: var(--sun); margin-bottom: clamp(48px, 7vw, 90px); text-decoration: none; }
.feature-guide .fg-media { position: relative; min-height: 380px; border-right: 3px solid var(--ink); background: var(--ink); }
.feature-guide .fg-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-guide .fg-body { padding: clamp(24px, 4vw, 56px); display: grid; gap: 14px; align-content: center; }
.feature-guide h2 { font-size: var(--fs-4xl); margin: 0; }
.feature-guide .sticker { position: absolute; left: 20px; top: 20px; transform: rotate(-6deg); }
@media (max-width: 860px) { .feature-guide { grid-template-columns: 1fr; } .feature-guide .fg-media { min-height: 240px; border-right: 0; border-bottom: 3px solid var(--ink); } }
.tech-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.tech { display: flex; gap: 14px; align-items: flex-start; padding: 18px; border: var(--border); border-radius: var(--r-md); background: var(--paper); box-shadow: var(--sh-xs); text-align: left; transition: transform .3s var(--ease-spring), box-shadow .2s; }
.tech:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: var(--sh-sm); }
.tech .ti { flex: none; width: 46px; height: 46px; border-radius: 14px; border: var(--border); display: grid; place-items: center; background: var(--c); }
.tech .ti svg { width: 22px; height: 22px; }
.tech strong { display: block; font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -.015em; }
.tech span { font-size: var(--fs-sm); color: var(--ink-soft); }
@media (max-width: 1000px) { .tech-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .tech-strip { grid-template-columns: 1fr; } }

/* ---------- Guide detail ---------- */
.guide-hero { padding: calc(130px + var(--safe-t)) 0 40px; }
.guide-hero h1 { font-size: clamp(3.4rem, 2rem + 8vw, 9rem); line-height: .85; letter-spacing: -.06em; margin: 18px 0 14px; }
.guide-hero .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.guide-video { position: relative; margin-top: 36px; border: 3px solid var(--ink); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 21 / 9; background: var(--ink); }
.guide-video video { width: 100%; height: 100%; object-fit: cover; }
.guide-video .sticker { position: absolute; right: 18px; top: 18px; transform: rotate(4deg); }
@media (max-width: 700px) { .guide-video { aspect-ratio: 4/3; } }
.guide-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; padding-block: 40px 20px; }
.toc { position: sticky; top: 110px; padding: 20px; border: var(--border); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--sh-sm); }
.toc h2 { font-family: var(--font-ui); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px; }
.toc ol { list-style: none; display: grid; gap: 2px; }
.toc a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: var(--fs-sm); transition: background-color .2s; }
.toc a .n { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 2px solid var(--ink); display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--cream); transition: background-color .2s; }
.toc a:hover { background: var(--cream); }
.toc a.is-on { background: var(--sun-tint); }
.toc a.is-on .n { background: var(--tomato); }
.toc .progress { margin-top: 16px; }
@media (max-width: 960px) { .guide-layout { grid-template-columns: 1fr; } .toc { position: static; } .toc ol { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .toc ol { grid-template-columns: 1fr; } }
.gsec { padding-bottom: 46px; scroll-margin-top: 110px; }
.gsec h2 { font-size: var(--fs-3xl); display: flex; align-items: center; gap: 14px; }
.gsec h2 .gn { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--ink); display: grid; place-items: center; font-size: 1.3rem; background: var(--sun); box-shadow: var(--sh-xs); }
.gsec p { font-size: var(--fs-lg); line-height: 1.7; color: var(--ink-2); max-width: 64ch; }
.gsteps { list-style: none; display: grid; gap: 14px; counter-reset: gs; }
.gsteps li { counter-increment: gs; display: grid; grid-template-columns: 56px 1fr; gap: 16px; align-items: center; padding: 16px 18px; background: var(--paper); border: var(--border); border-radius: var(--r-md); box-shadow: var(--sh-xs); font-size: var(--fs-lg); font-weight: 600; }
.gsteps li::before { content: counter(gs); width: 56px; height: 56px; border-radius: 18px; border: var(--border); display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; background: var(--sky); transform: rotate(-6deg); }
.gsteps li:nth-child(2n)::before { background: var(--sun); transform: rotate(5deg); }
.gsteps li:nth-child(3n)::before { background: var(--blush); }
.mistakes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; }
.mistakes li { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border: var(--border); border-radius: var(--r-md); background: var(--blush); font-weight: 600; }
.mistakes li .x { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--tomato); border: var(--border); display: grid; place-items: center; }
.mistakes li .x svg { width: 16px; height: 16px; stroke-width: 3; }
@media (max-width: 640px) { .mistakes { grid-template-columns: 1fr; } }
.examples { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.example { border: var(--border); border-radius: var(--r-lg); overflow: hidden; background: var(--paper); box-shadow: var(--sh-sm); }
.example .vframe { border: 0; border-bottom: var(--border); border-radius: 0; aspect-ratio: 16/9; }
.example .eb { padding: 14px 16px; display: grid; gap: 6px; }
.example .eb b { font-family: var(--font-display); font-size: 1.1rem; }
@media (max-width: 640px) { .examples { grid-template-columns: 1fr; } }
.homework-card { padding: clamp(22px, 3vw, 36px); background: var(--grass); color: #fff; border: 3px solid var(--ink); border-radius: var(--r-xl); box-shadow: var(--sh-lg); }
.homework-card h2 { color: #fff; }
.homework-card .hw-top { display: flex; align-items: center; gap: 18px; justify-content: space-between; flex-wrap: wrap; margin-bottom: 18px; }
.homework-card .hw-list { background: var(--cream); color: var(--ink); border: var(--border); border-radius: var(--r-md); padding: 8px 18px; }
.homework-card .check { border-bottom: 1.5px dashed rgba(27,27,27,.2); padding: 14px 0; font-weight: 600; font-size: var(--fs-lg); }
.homework-card .check:last-child { border-bottom: 0; }
.ring { --v: 0; width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; position: relative; background: conic-gradient(var(--sun) calc(var(--v) * 1%), rgba(255,255,255,.25) 0); border: 3px solid var(--ink); transition: --v .6s; }
.ring::before { content: ""; position: absolute; inset: 9px; border-radius: 50%; background: var(--grass); border: 3px solid var(--ink); }
.ring b { position: relative; font-family: var(--font-display); font-size: 1.3rem; }
.hw-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.reading-bar { position: fixed; left: 0; top: 0; height: 6px; background: var(--tomato); z-index: 850; width: 0; border-bottom: 2px solid var(--ink); }

/* ---------- Blog ---------- */
.post-feature { display: grid; grid-template-columns: 1.2fr .8fr; border: 3px solid var(--ink); border-radius: var(--r-xl); overflow: hidden; background: var(--paper); box-shadow: var(--sh-lg); text-decoration: none; margin-bottom: 48px; transition: transform .4s var(--ease-out), box-shadow .3s; }
.post-feature:hover { transform: translate(-3px, -3px) rotate(-.3deg); box-shadow: 13px 13px 0 var(--ink); }
.post-feature .pf-img { position: relative; min-height: 360px; border-right: 3px solid var(--ink); overflow: hidden; }
.post-feature .pf-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-feature:hover .pf-img img { transform: scale(1.04); }
.post-feature .pf-body { padding: clamp(24px, 4vw, 52px); display: grid; gap: 14px; align-content: center; background: var(--sun); }
.post-feature h2 { font-size: var(--fs-3xl); margin: 0; }
@media (max-width: 860px) { .post-feature { grid-template-columns: 1fr; } .post-feature .pf-img { min-height: 240px; border-right: 0; border-bottom: 3px solid var(--ink); } }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
@media (max-width: 960px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: var(--fs-sm); font-weight: 700; }

/* Article */
.article-hero { padding: calc(130px + var(--safe-t)) 0 32px; }
.article-hero h1 { font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5.6rem); max-width: 18ch; margin: 18px 0; }
.article-cover { border: 3px solid var(--ink); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 21/9; margin: 20px 0 50px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) { .article-cover { aspect-ratio: 4/3; } }
.byline { display: flex; align-items: center; gap: 12px; }
.dladder { display: grid; gap: 10px; margin: 30px 0; padding: 22px; border: 3px solid var(--ink); border-radius: var(--r-lg); background: var(--paper); box-shadow: var(--sh); }
.dladder .rung { display: grid; grid-template-columns: 54px 1fr auto; gap: 14px; align-items: center; padding: 10px 14px; border: var(--border); border-radius: 14px; font-size: var(--fs-md); font-weight: 700; color: var(--ink); }
.dladder .rung .lv { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; }
.dladder .rung .bar { width: clamp(60px, 18vw, 160px); height: 12px; border: 2px solid var(--ink); border-radius: 8px; background: var(--paper); overflow: hidden; }
.dladder .rung .bar i { display: block; height: 100%; background: var(--tomato); }
.dladder figcaption { font-size: var(--fs-sm); color: var(--ink-soft); }
.share-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 20px 0; border-top: 2px dashed rgba(27,27,27,.25); margin-top: 30px; }

/* ---------- FAQ ---------- */
.faq-layout { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.faq-side { position: sticky; top: 110px; display: grid; gap: 16px; }
.faq-side .card { background: var(--sun); }
.faq-cat { margin-bottom: 40px; }
.faq-cat h2 { font-size: var(--fs-2xl); display: flex; gap: 12px; align-items: center; }
.faq-cat h2 .ci { width: 46px; height: 46px; border-radius: 14px; border: var(--border); display: grid; place-items: center; background: var(--sky); }
.faq-cat h2 .ci svg { width: 22px; height: 22px; }
mark { background: var(--sun); padding: 0 2px; border-radius: 4px; }
@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } .faq-side { position: static; } }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(24px, 4vw, 56px); align-items: start; }
.contact-form { padding: clamp(22px, 4vw, 44px); }
.contact-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .row2 .field + .field { margin-top: 0; }
.contact-form .field { margin-top: 18px; }
.contact-side { display: grid; gap: 18px; }
.contact-side .card { display: grid; gap: 10px; }
.contact-side .ci-row { display: flex; gap: 12px; align-items: center; font-weight: 700; text-decoration: none; min-height: 44px; }
.contact-side .ci-row .ico { width: 44px; height: 44px; flex: none; border-radius: 14px; border: var(--border); display: grid; place-items: center; background: var(--sun); }
.contact-side .ci-row .ico svg { width: 20px; height: 20px; }
.success { text-align: center; padding: clamp(30px, 5vw, 60px) 20px; }
.success .big-paw { width: 120px; height: 120px; margin: 0 auto 20px; border-radius: 50%; background: var(--grass); border: 3px solid var(--ink); display: grid; place-items: center; box-shadow: var(--sh); color: var(--sun); }
.success .big-paw svg { width: 64px; height: 64px; }
.success h2 { font-size: var(--fs-3xl); }
@media (max-width: 900px) { .contact-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .contact-form .row2 { grid-template-columns: 1fr; } .contact-form .row2 .field + .field { margin-top: 18px; } }

/* ---------- Login ---------- */
body.login-page { min-height: 100svh; }
.login-wrap { min-height: 100svh; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.login-art { position: relative; background: var(--sun); border-right: 3px solid var(--ink); overflow: hidden; display: grid; place-items: center; padding: 120px 40px 60px; }
.login-art .arch { width: min(70%, 380px); aspect-ratio: 3/4; border-radius: 999px 999px 32px 32px; border: 3px solid var(--ink); overflow: hidden; box-shadow: var(--sh-lg); background: var(--ink); }
.login-art .arch video { width: 100%; height: 100%; object-fit: cover; }
.login-art .sticker { position: absolute; }
.login-art .la-1 { left: 10%; top: 26%; transform: rotate(-8deg); }
.login-art .la-2 { right: 10%; bottom: 20%; transform: rotate(7deg); }
.login-art .la-quote { position: absolute; left: 40px; bottom: 32px; right: 40px; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-2xl); letter-spacing: -.03em; line-height: 1; }
.login-main { display: grid; place-items: center; padding: 120px var(--gutter) 60px; }
.login-card { width: min(100%, 480px); padding: clamp(24px, 4vw, 40px); }
.login-card h1 { font-size: var(--fs-3xl); margin: 14px 0 8px; }
.login-card .seg { width: 100%; margin: 18px 0 6px; }
.login-card .seg button { flex: 1; justify-content: center; }
.login-step { display: none; }
.login-step.is-on { display: block; }
.envelope { width: 120px; height: 120px; margin: 6px auto 16px; border-radius: 50%; background: var(--sky); border: 3px solid var(--ink); display: grid; place-items: center; box-shadow: var(--sh); }
.envelope svg { width: 56px; height: 56px; }
.inbox-preview { margin: 18px 0; padding: 14px; border: 2px dashed var(--ink); border-radius: var(--r-md); background: var(--paper); font-size: var(--fs-sm); display: grid; gap: 4px; }
.inbox-preview .from { display: flex; gap: 10px; align-items: center; font-weight: 700; }
.inbox-preview .from .avatar { --sz: 32px; }
@media (max-width: 900px) { .login-wrap { grid-template-columns: 1fr; } .login-art { display: none; } .login-main { padding-top: 110px; } }
