/*
Theme Name: Tsuchida Editorial
Theme URI: https://tsuchida-yasuhiro.jp/
Author: Tsuchida Yasuhiro
Description: Editorial Japanese personal business theme with conversational landing page.
Version: 1.4.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: tsuchida-editorial
*/
:root{--ink:#151515;--muted:#646464;--line:#d9d9d9;--red:#ec4938;--paper:#fff;--soft:#f0f0f0;--max:1220px}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px}body{margin:0;color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,'Hiragino Kaku Gothic ProN','Yu Gothic',Meiryo,sans-serif;line-height:1.95;background:#e9e9e9}a{color:inherit;text-decoration:none}a:hover{opacity:.75}button,input,textarea{font:inherit}img{max-width:100%;height:auto}.site-shell{max-width:1320px;margin:22px auto;background:var(--paper);border:1px solid #dedede;border-radius:25px 25px 0 0;overflow:hidden;min-height:100vh}.site-header{height:80px;display:flex;align-items:center;justify-content:space-between;padding:0 42px;background:#fff;border-bottom:1px solid #eee;position:sticky;top:0;z-index:20}.brand{font-size:20px;font-weight:900;letter-spacing:-.05em;line-height:1.15}.brand small{display:block;font-size:9px;letter-spacing:.16em;font-weight:700;margin-top:5px}.main-nav{display:flex;align-items:center;gap:30px;font-size:11px;font-weight:800;letter-spacing:.03em}.nav-toggle{display:none;border:0;background:none;font-size:27px;cursor:pointer}.hero{min-height:610px;background:#efefef;position:relative;display:grid;grid-template-columns:1.18fr .82fr;align-items:center;overflow:hidden;padding:65px 6%}.hero-copy{position:relative;z-index:2}.eyebrow{display:inline-block;background:var(--red);color:#141414;font-size:13px;font-weight:900;line-height:1;padding:10px 12px;letter-spacing:.03em}.hero h1{font-size:clamp(38px,5vw,72px);line-height:1.43;letter-spacing:-.055em;margin:25px 0;font-weight:900}.hero h1 span{background:white;box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:0 7px}.hero p{font-size:15px;font-weight:600;max-width:580px;line-height:2}.hero-meta{font-size:12px;letter-spacing:.06em;margin-top:25px}.sculpture{height:390px;position:relative;transform:rotate(-10deg)}.sculpture div{position:absolute;border-radius:6px;box-shadow:24px 28px 0 rgba(0,0,0,.1)}.sculpture .s1{width:65%;height:105px;background:#72d6ce;top:70px;left:5%;transform:skewY(-27deg)}.sculpture .s2{width:58%;height:170px;background:#ff936d;top:180px;left:24%;transform:skewY(25deg)}.sculpture .s3{width:45%;height:105px;background:#d3c39e;top:20px;left:52%;transform:skewY(26deg)}.section-layout{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:70px;padding:95px 6%}.reading{min-width:0}.side-toc{align-self:start;position:sticky;top:110px;font-size:12px;font-weight:700}.side-toc strong{display:block;border-bottom:1px solid var(--line);padding-bottom:12px;margin-bottom:15px}.side-toc a{display:block;padding:8px 0;border-left:3px solid transparent;padding-left:12px}.side-toc a:hover,.side-toc a:focus{border-left-color:var(--red)}.content-section{padding:15px 0 100px;scroll-margin-top:110px}.section-kicker{font-size:24px;font-weight:900;letter-spacing:-.04em;border-bottom:1px solid #bdbdbd;padding-bottom:10px;margin:0 0 28px;line-height:1.4}.section-heading{font-size:clamp(27px,3.2vw,43px);line-height:1.55;letter-spacing:-.05em;margin:0 0 30px;font-weight:900}.prose{font-size:15px;line-height:2.4;max-width:770px}.prose p{margin:0 0 1.65em}.prose strong{font-weight:800}.statement{font-size:clamp(20px,2.4vw,30px);font-weight:900;line-height:1.7;border-left:7px solid var(--red);padding:12px 0 12px 24px;margin:45px 0;background:#f8f8f8}.service-row{display:grid;grid-template-columns:55px 1fr 35px;gap:18px;align-items:start;border-top:1px solid var(--line);padding:30px 0}.service-row:last-child{border-bottom:1px solid var(--line)}.service-no{font-size:12px;font-weight:800;color:var(--red)}.service-row h3{font-size:23px;margin:0 0 8px;line-height:1.5}.service-row p{font-size:14px;line-height:2;margin:0;color:#4b4b4b}.service-arrow{font-size:27px}.case-feature{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:center;margin:36px 0}.case-visual{background:#e5e8e8;min-height:260px;padding:24px;display:flex;align-items:center;justify-content:center;overflow:hidden}.case-visual .screen{background:white;width:95%;height:190px;border:9px solid #232323;border-bottom-width:18px;border-radius:9px;box-shadow:15px 15px 0 #b9c6c8;padding:15px}.screen strong{font-size:29px;letter-spacing:-.06em}.screen .bars{display:flex;gap:8px;margin-top:25px}.screen .bars i{height:45px;background:#ed6c50;flex:1}.screen .bars i:nth-child(2){background:#75cfc4}.screen .bars i:nth-child(3){background:#d2c49e}.case-text h3{font-size:23px;margin:0 0 12px}.case-text p{font-size:14px;line-height:2.1}.text-link{font-size:13px;font-weight:800;border-bottom:2px solid var(--red);display:inline-block;padding-bottom:3px}.proof-list{display:grid;grid-template-columns:repeat(2,1fr);gap:14px;margin:30px 0}.proof{padding:25px;background:#f1f1f1}.proof b{display:block;font-size:21px}.proof small{font-size:12px;color:#555}.portrait-placeholder{height:260px;background:linear-gradient(135deg,#e9e9e9,#d3d3d3);display:flex;align-items:center;justify-content:center;flex-direction:column;color:#555;text-align:center;padding:20px}.portrait-placeholder svg{width:60px;opacity:.6}.cta{background:#191919;color:white;padding:52px;margin-top:25px}.cta .eyebrow{color:#111}.cta h2{font-size:clamp(25px,3vw,38px);line-height:1.55}.cta p{font-size:14px;line-height:2.1}.cta-link{display:inline-flex;align-items:center;gap:45px;background:var(--red);color:#111;font-weight:900;padding:14px 22px;margin-top:15px}.site-footer{background:#f0f0f0;padding:45px 6%;font-size:12px;display:flex;justify-content:space-between;gap:15px}.inner-page{padding:90px 8%;min-height:65vh}.inner-page h1{font-size:clamp(32px,4vw,60px);line-height:1.4}.inner-page .entry-content{max-width:820px}.entry-content{line-height:2.1}.entry-content p{margin-bottom:1.5em}.wp-block-image img{height:auto}.edit-hint{font-size:12px;color:#666;border-left:3px solid var(--red);padding-left:12px}.skip-link{position:absolute;top:-100px;left:10px;background:white;padding:10px;z-index:50}.skip-link:focus{top:10px}@media(max-width:900px){.site-shell{margin:0;border:0;border-radius:0}.site-header{padding:0 22px;height:70px}.main-nav{display:none;position:absolute;left:0;right:0;top:70px;background:#fff;flex-direction:column;align-items:stretch;gap:0;padding:15px 24px 25px;border-bottom:1px solid #ddd}.main-nav.open{display:flex}.main-nav a{padding:10px 0}.nav-toggle{display:block}.hero{min-height:600px;grid-template-columns:1fr;padding:65px 6% 35px}.hero h1{font-size:clamp(34px,7vw,55px)}.sculpture{height:170px;opacity:.8;max-width:330px;justify-self:end;width:100%;margin-top:-15px}.sculpture .s1{height:70px;top:20px}.sculpture .s2{height:80px;top:85px}.sculpture .s3{height:65px;top:0}.section-layout{grid-template-columns:1fr;padding:60px 6%}.side-toc{display:none}.content-section{padding-bottom:65px}.case-feature{grid-template-columns:1fr}.site-footer{flex-direction:column}}@media(max-width:550px){.hero{min-height:570px}.hero h1{font-size:35px}.hero p{font-size:13px}.section-kicker{font-size:21px}.section-heading{font-size:27px}.prose{font-size:14px}.service-row{grid-template-columns:32px 1fr 20px;gap:10px}.service-row h3{font-size:20px}.proof-list{grid-template-columns:1fr}.cta{padding:30px 24px}.inner-page{padding:55px 6%}}

/* v1.1: profile, services, and native contact form */
.hero-portrait{position:relative;align-self:stretch;min-height:410px;display:flex;align-items:flex-end;justify-content:center}.hero-portrait-image{position:relative;z-index:2;width:min(100%,390px);height:420px;object-fit:cover;object-position:center 30%;border-radius:4px 4px 0 0;box-shadow:0 16px 40px #00000014}.hero-portrait .sculpture{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-10deg);opacity:.9}.home-about-photo{max-width:350px;margin:32px 0}.home-about-photo img{width:100%;max-height:420px;object-fit:cover}.editorial-page{max-width:1160px;margin:auto}.page-label{display:inline-block;background:var(--red);color:#111;font-size:13px;font-weight:900;padding:7px 12px;margin-bottom:20px}.editorial-page h1{font-size:clamp(34px,4vw,58px);line-height:1.4;letter-spacing:-.045em;margin:10px 0 26px}.editorial-page .lead{font-size:17px;line-height:2.1;max-width:710px}.profile-head{display:grid;grid-template-columns:1.25fr .75fr;gap:45px;align-items:center;background:#f2f2f2;padding:36px;margin-bottom:55px}.profile-hero-photo img{width:100%;max-height:390px;object-fit:cover;object-position:center 22%}.editorial-section{padding:40px 0 60px;border-top:1px solid #c8c8c8;max-width:1000px}.editorial-section h2,.contact-layout h2{font-size:clamp(25px,2.8vw,37px);line-height:1.5;letter-spacing:-.04em}.editorial-note{font-size:12px;color:#666}.personal-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:38px;align-items:start}.personal-grid img{width:100%;height:auto;object-fit:cover}.contact-head{background:#f2f2f2;padding:35px 45px;display:grid;grid-template-columns:1.5fr .5fr;align-items:center;min-height:285px;overflow:hidden}.contact-sculpture{position:relative;height:200px}.contact-sculpture i{position:absolute;display:block;width:120px;height:75px;transform:skewY(-22deg);background:#6ed6ce;top:20px;left:25px;box-shadow:18px 20px #00000013}.contact-sculpture i:nth-child(2){background:#ff8d6e;top:95px;left:70px}.contact-sculpture i:nth-child(3){background:#d3c29c;top:-5px;left:140px}.contact-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(230px,.7fr);gap:55px;margin-top:65px}.contact-form{display:grid;gap:20px}.contact-form>label{font-size:13px;font-weight:800;display:grid;gap:8px}.contact-form em{font-style:normal;color:#e84b3a;font-size:11px}.contact-form label>span{font-weight:400;color:#666}.contact-form input:not([type=checkbox]),.contact-form select,.contact-form textarea{width:100%;padding:12px 14px;border:1px solid #c9c9c9;border-radius:3px;background:#fff;font-size:15px;line-height:1.6;color:#111}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{outline:2px solid #ee4938;outline-offset:1px}.contact-form .consent{display:flex;align-items:start;gap:12px;font-weight:400;line-height:1.8}.consent input{margin-top:7px}.contact-submit{border:0;background:var(--red);color:#111;font-weight:900;padding:15px 22px;display:flex;justify-content:space-between;cursor:pointer}.contact-submit:hover{filter:brightness(.95)}.form-footnote{font-size:12px;color:#777}.form-status{background:#f0f8f0;border-left:4px solid #438a55;padding:13px}.form-status.error{background:#fff0ed;border-left-color:#d33}.honeypot{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}.contact-aside{border-top:1px solid #ccc;padding-top:20px}.contact-aside h3{font-size:20px}.contact-aside>p{border-bottom:1px solid #e1e1e1;padding:13px 0;font-size:14px}.contact-aside>p:before{content:'■';color:var(--red);font-size:10px;margin-right:10px}.aside-note{background:#f1f1f1;padding:20px;font-size:14px;line-height:2}.service-lead{font-size:clamp(24px,3vw,37px);margin:45px 0}.service-prose{max-width:800px}.services-index{margin:45px 0}@media(max-width:900px){.hero-portrait{min-height:260px;max-height:350px}.hero-portrait-image{height:310px;width:300px}.hero-portrait .sculpture{height:300px}.profile-head,.personal-grid,.contact-layout{grid-template-columns:1fr}.contact-head{grid-template-columns:1fr}.contact-sculpture{display:none}}@media(max-width:550px){.profile-head{padding:20px}.editorial-page h1{font-size:32px}.contact-head{padding:20px}.contact-layout{gap:25px}.hero-portrait-image{height:275px;width:250px}.hero-portrait{min-height:265px}}

/* 1.2: reference hero, Japanese navigation, truly sticky contents */
.site-shell{overflow:clip}
.hero{grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);min-height:540px;padding:54px 5.5% 0;background:linear-gradient(130deg,#f8f8f8,#efefef)}
.hero h1{font-size:clamp(35px,4.3vw,64px);line-height:1.45;max-width:690px}
.hero h1 span{background:transparent;padding:0}
.hero-portrait{min-height:480px;max-height:none;align-self:end;isolation:isolate}
.hero-portrait-image{width:min(100%,520px);height:auto;max-height:470px;object-fit:contain;object-position:bottom center;border-radius:0;box-shadow:none;mix-blend-mode:multiply;z-index:3}
.hero-portrait .sculpture{z-index:1;opacity:.85;transform:rotate(-8deg)}
.hero-portrait .sculpture .s1{left:15%;top:55%;width:58%}
.hero-portrait .sculpture .s2{left:47%;top:38%;width:48%}
.hero-portrait .sculpture .s3{left:45%;top:5%;width:38%}
.hero-meta{font-size:11px;color:#666;letter-spacing:0}
.section-layout{align-items:start}
.side-toc{position:sticky;top:100px;align-self:start;max-height:calc(100vh - 120px);overflow-y:auto;z-index:5}
.side-toc a{transition:border-color .2s,background-color .2s}
.side-toc a.is-active{border-left-color:var(--red);background:#f7f7f7}
.main-nav{font-size:12px;letter-spacing:0}
.brand{font-size:19px;letter-spacing:0}
.brand small{letter-spacing:0;font-weight:500}
.section-kicker{font-size:20px;letter-spacing:0}
@media(max-width:900px){.hero{grid-template-columns:1fr;padding:52px 6% 0;min-height:0}.hero-portrait{min-height:260px;max-height:370px}.hero-portrait-image{max-height:340px;width:auto}.hero-portrait .sculpture{height:300px}.side-toc{display:none}}
@media(max-width:550px){.hero{padding-top:38px}.hero h1{font-size:clamp(30px,8.4vw,40px)}.hero-portrait{min-height:235px}.hero-portrait-image{max-height:280px}.hero-meta{font-size:10px}}

/* 1.3: transparent portrait above decorative shapes; device frames */
.hero-portrait-image{mix-blend-mode:normal;z-index:3;position:relative}
.hero-portrait .sculpture{z-index:0;pointer-events:none}
.device-showcase{position:relative;min-height:300px;padding:32px 38px 50px 20px;background:#f1f2f3;display:block}
.desktop-device{position:relative;width:92%;margin:10px 0 0}
.device-display{border:8px solid #26282b;border-bottom-width:15px;border-radius:9px;background:#fff;overflow:hidden;box-shadow:0 12px 28px #0002}
.device-display img{display:block;width:100%;height:auto}
.desktop-stand{width:34%;height:28px;margin:auto;background:linear-gradient(90deg,#bbb,#e5e5e5,#aaa);position:relative}
.desktop-stand:after{content:'';position:absolute;bottom:-5px;left:-30%;width:160%;height:6px;background:#bfc1c3;border-radius:3px}
.phone-device{position:absolute;right:12px;bottom:24px;width:29%;padding:14px 4px 17px;background:#24262a;border:2px solid #666;border-radius:16px;box-shadow:0 8px 20px #0003;overflow:hidden}
.phone-device img{display:block;width:100%;height:auto;background:#fff}
.phone-speaker{position:absolute;width:32%;height:3px;background:#777;top:6px;left:34%;border-radius:3px}
@media(max-width:550px){.device-showcase{min-height:0;padding-bottom:55px}.phone-device{right:14px;bottom:22px}}

/* 1.4: geometric hero and inline form badges */
.hero-portrait { min-height: 390px; align-self: stretch; }
.hero { padding-bottom: 48px; }
.contact-form .field-heading { display:flex; align-items:center; gap:8px; font-weight:800; color:var(--ink); }
.contact-form .required-badge { display:inline-block; background:#ffe9e5; color:#9b2216; padding:1px 7px; border-radius:3px; }
.device-display { border:6px solid #252528; border-radius:10px 10px 3px 3px; position:relative; }
.device-display::before { content:''; position:absolute; top:0; left:44%; width:12%; height:5px; border-radius:0 0 4px 4px; background:#252528; }
.desktop-stand { width:110%; height:10px; margin-left:-5%; background:linear-gradient(#dce0e5,#9da4ae); border-radius:2px 2px 45% 45%; }
.desktop-stand::after { width:22%; height:3px; left:39%; top:0; background:#838b97; }
.phone-device { aspect-ratio: 9 / 19; border-radius:18px; padding:4px; background:#111; border:2px solid #85878c; }
.phone-device img { width:100%; height:100%; object-fit:cover; object-position:top center; border-radius:13px; }
.phone-speaker { width:36%; height:6px; top:7px; left:32%; z-index:1; border-radius:8px; background:#111; }
@media(max-width:900px) { .hero { padding-bottom:0; } .hero-portrait { min-height:220px; } }
