/* Reading hierarchy: fewer decorative rules, deliberate groups and clear actions. */
body[data-editorial111]{--action111:#a65531;--rule111:#c8c6d2}
html body[data-editorial111] main .actions{margin-top:40px!important;gap:16px!important;align-items:center;justify-content:center!important}
html body[data-editorial111] main :is(a.button,button[type=submit]){min-height:56px;padding:17px 30px!important;line-height:1.6!important;border-radius:2px!important;box-shadow:none!important;max-width:100%;white-space:normal}
html body[data-editorial111] main a.button{transition:background-color .2s,color .2s,transform .2s}
html body[data-editorial111] main a.button:hover{transform:translateY(-2px)}
html body[data-editorial111] :is(a,button,select,summary):focus-visible{outline:3px solid #a65531;outline-offset:5px}
html body[data-editorial111] main :is(h2,h3){text-wrap:balance}
html body[data-editorial111] main p{word-break:normal;overflow-wrap:anywhere}
.service-facts111{display:grid;grid-template-columns:repeat(3,1fr);padding-block:35px!important;background:#fff;text-align:center;gap:24px}.service-facts111>div{display:flex;flex-direction:column;gap:10px}.service-facts111 span{font-size:16px;color:#685e7a}.service-facts111 strong{font-size:24px;color:#352361;line-height:1.6}
html body.aikata[data-editorial111] .hero-facts110 span{border:0;padding:0}.hero-pair110{margin-top:24px}.hero-bottom110 p{letter-spacing:.08em}
html body.aikata[data-editorial111] .service-column106{border-top:0!important;padding-top:0}.service-column106 h3{margin-bottom:28px!important}.service-column106 li{transition:background-color .25s,padding .25s}.service-column106 li:hover,.service-column106 li:focus-within{background:#ffffff0d;padding-left:12px!important}.service-column106 li:last-child{border-bottom:0!important}
html body.aikata[data-editorial111] .story-index110 li{border-top:0}.story-index110 a{border-left:2px solid transparent;padding-left:18px}.story-index110 a[aria-current=true]{border-left-color:#493183;background:#e7e3f3}
html body.aikata[data-editorial111] .hero-form110 h3{letter-spacing:-.02em}.hero-form110 button{margin-top:24px!important}.hero-form110 .form-note110{margin-top:20px!important}
.rail-note111{display:none;font-size:14px!important;color:#665a78;margin:0 0 18px!important}
/* MIEKATA: editorial work-first hero, teal paper palette and measured typography. */
body[data-editorial111=miekata]{--ink:#173541;--blue:#22576a;--pale:#f0f5f3;--line:#bacacb;--muted:#52666e}
html body[data-editorial111=miekata] .hero{background:radial-gradient(ellipse at 90% 15%,#dcece7,transparent 55%),linear-gradient(120deg,#f9f7f1,#edf3f6)!important;padding-block:64px 32px!important;min-height:0}
html body[data-editorial111=miekata] .hero-grid{grid-template-columns:1fr 1.1fr;gap:64px;align-items:center}
html body[data-editorial111=miekata] .hero h1{font-size:clamp(36px,3.4vw,52px)!important;letter-spacing:-.035em!important;line-height:1.5!important}.hero h1 .small{font-size:16px!important;letter-spacing:.03em!important;line-height:1.8!important;margin-bottom:20px!important}
html body[data-editorial111=miekata] .hero h1 em{color:#1f655f!important;font-style:normal;position:relative;background:none!important}.hero h1 em::after{content:'';position:absolute;left:0;right:0;bottom:3px;height:7px;background:#b9d3c8;z-index:-1}
html body[data-editorial111=miekata] .hero .lead{font-size:18px;line-height:1.9;margin-top:24px}.hero-action{margin-top:30px!important}
html body[data-editorial111=miekata] .hero .button{background:#a65531!important;color:#fff!important;border-color:#a65531!important}.hero-foot{border-top:0!important;margin-top:40px!important;color:#52666e}
.work-preview111{min-width:0;position:relative;transform:none!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}.preview-eyebrow111{font-size:16px;letter-spacing:.13em;color:#40616a;font-weight:700;margin:0 0 20px!important}.preview-panel111{margin:0 0 24px}.preview-panel111 img{width:100%;aspect-ratio:16/9;object-fit:cover;max-height:500px;display:block;border:0}.preview-panel111 figcaption{margin-top:18px;display:flex;flex-direction:column;gap:6px;font-size:16px;line-height:1.7}.preview-panel111 figcaption span{color:#5d6d75}.preview-panel111 figcaption strong{font-size:20px;font-weight:700}.preview-controls111{display:none;gap:12px;align-items:center;margin:24px 0 16px}.preview-controls111 button{width:48px;height:44px;background:transparent;border:0;border-bottom:2px solid #a9b9bb;color:#526a70;font-size:16px;cursor:pointer}.preview-controls111 button[aria-pressed=true]{color:#173541;border-color:#173541;font-weight:700}.preview-controls111 button:hover{background:#e3ebe8}.preview-note111{font-size:16px!important;line-height:1.8!important;color:#52666e;margin-top:20px!important}.work-preview111.enhanced111 .preview-controls111{display:flex}.preview-panel111[hidden]{display:none!important}
html body[data-editorial111=miekata] .section-head{position:relative;margin-bottom:48px!important;text-align:left!important;max-width:none!important;padding-top:18px;border-top:0!important}.section-head[data-chapter111]::before{content:attr(data-chapter111);font:700 16px Arial,sans-serif;color:#50736e;letter-spacing:.12em;display:block;margin-bottom:16px}.section-head .eyebrow{font-size:16px!important;color:#59736f!important;letter-spacing:.12em}.section-head h2{font-size:clamp(30px,3.3vw,46px)!important;line-height:1.5!important;letter-spacing:-.02em!important}.section-head>p{max-width:760px!important;margin:20px 0 0!important;font-size:18px;line-height:1.9}
html body[data-editorial111=miekata] .intro111{display:grid;grid-template-columns:1fr 1fr;gap:40px 64px;align-items:center}.intro111>div:first-child{grid-column:1}.intro111>div:nth-child(2){grid-column:1}.intro111 .process-image108{grid-column:2;grid-row:1/3;margin:0!important;max-width:100%}.intro111 .process-image108 img{aspect-ratio:16/9;object-fit:cover;height:auto;max-height:400px}.intro111 h2{font-size:42px!important;line-height:1.5!important}.intro111 .lead{font-size:18px;line-height:1.9}
html body[data-editorial111=miekata] .rules{gap:36px}.rule{padding:26px 0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important}.rule h3{font-size:24px;margin-bottom:16px}.rule p{font-size:16px;line-height:1.9}.service-row{padding:32px 0!important;border-top:1px solid #bdccca!important;border-bottom:0!important;grid-template-columns:1fr 1.2fr!important;gap:50px!important}.service-row:last-of-type{border-bottom:1px solid #bdccca!important}.service-row h3{margin-bottom:14px;font-size:26px}.service-row a{display:inline-block;padding:8px 0;line-height:1.8;font-size:16px;color:#456e68}.service-row p{font-size:18px;line-height:1.9}
html body[data-editorial111=miekata] .page-diagram{border:1px solid #9cafac!important;border-radius:0!important;box-shadow:none!important;background:#fff}.diagram-top{background:#173f4d!important;color:#fff!important}.diagram-fv{background:#dbe9e4!important;color:#173f4d!important}.diagram-sections span{border:0!important;border-bottom:1px solid #d0dcda!important;border-radius:0!important;background:#f5f8f6!important;color:#294f50!important}.package-copy .big-number{color:#285f59}.package-copy .included{padding-top:22px;margin-top:24px!important}
html body[data-editorial111=miekata] .price-structure{gap:48px!important}.price-panel{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important}.price-panel .tag{display:block;background:none!important;padding:0!important;color:#557168;font-size:16px!important;letter-spacing:.04em;margin-bottom:20px!important}.price-panel h3{font-size:24px;line-height:1.6;margin-bottom:18px}.price-panel .value{font-size:clamp(32px,3.4vw,48px)!important;color:#1d564e;line-height:1.6;margin-bottom:22px}.price-panel .value small{font-size:16px!important}.price-panel p{font-size:16px;line-height:1.9}.price-structure+.fine{margin-top:36px!important;padding-top:24px;border-top:1px solid #c5d3cf}
html body[data-editorial111=miekata] .work{border:0!important;background:none!important;box-shadow:none!important;padding:0!important}.work img{aspect-ratio:16/9;object-fit:cover;height:auto;max-height:500px;transition:filter .3s}.work>p{font-size:16px!important;color:#5b726c;margin:18px 0 8px!important}.work h3{font-size:23px!important;line-height:1.6!important}.work>a{display:inline-block;padding:10px 0;margin-top:12px;font-size:16px}.work:hover img{filter:saturate(1.12)}
html body[data-editorial111=miekata] .page-hero{background:linear-gradient(115deg,#153845,#28606a)!important;color:#fff;padding-block:40px 64px!important;border-radius:0}.page-hero :is(h1,p,a,span){color:#fff!important}.page-hero h1{font-size:clamp(34px,4vw,58px)!important;line-height:1.5!important}.page-hero .lead{max-width:850px;font-size:18px;line-height:1.9}.page-hero .breadcrumb{font-size:16px!important;margin-bottom:32px!important}.title-context{font-size:16px!important;line-height:1.8!important;margin-bottom:16px!important}
html body[data-editorial111=miekata] .cta{background:linear-gradient(120deg,#123a47,#276164)!important;color:#fff}.cta .eyebrow{color:#e0efea!important}.cta h2{font-size:clamp(30px,3.2vw,46px)!important}.cta .button{background:#fff!important;color:#173541!important;border-color:#fff!important}
.footer-links .footer-sub111{padding-left:20px;color:#52666e}.footer-links .footer-sub111::before{content:'–';margin-right:10px;color:#708a8d}
@media(max-width:1000px){html body[data-editorial111=miekata] .hero-grid{gap:36px;grid-template-columns:1fr 1fr}.hero h1{font-size:38px!important}.preview-panel111 figcaption strong{font-size:18px}.intro111 h2{font-size:34px!important}.service-row{gap:28px!important}}
@media(max-width:767px){html body[data-editorial111] main .actions{margin-top:28px!important}html body[data-editorial111] main :is(a.button,button[type=submit]){min-height:52px;padding:15px 22px!important;font-size:16px!important}html body[data-editorial111=miekata] .hero{padding-block:40px 28px!important}html body[data-editorial111=miekata] .hero-grid{grid-template-columns:1fr;gap:38px}html body[data-editorial111=miekata] .hero h1{font-size:34px!important;line-height:1.5!important}.hero h1 .small{font-size:14px!important}.hero .lead{font-size:16px!important}.preview-panel111 img{max-height:400px}.preview-note111{font-size:14px!important}.preview-panel111 figcaption{font-size:14px}.preview-eyebrow111{font-size:14px}.hero-foot{margin-top:28px!important;gap:10px!important}.hero-foot span{font-size:14px!important}html body[data-editorial111=miekata] .intro111{grid-template-columns:1fr;gap:24px}.intro111 .process-image108{grid-column:1;grid-row:auto;max-width:100%}.intro111 h2{font-size:30px!important}.intro111 .lead{font-size:16px!important}.section-head>p{font-size:16px!important}.section-head h2{font-size:30px!important}.service-row{grid-template-columns:1fr!important;gap:16px!important}.service-row p{font-size:16px}.price-structure{gap:36px!important}.page-hero .lead{font-size:16px!important}.service-facts111{gap:16px;padding-block:24px!important;grid-template-columns:1fr;text-align:left}.service-facts111>div{flex-direction:row;justify-content:space-between;align-items:center;gap:16px}.service-facts111 span{font-size:14px}.service-facts111 strong{font-size:18px}.rail-note111{display:block}.cases110 .case-list{display:flex!important;overflow-x:auto;scroll-snap-type:x mandatory;gap:24px!important;padding-bottom:16px}.cases110 .case-item{flex:0 0 87%;scroll-snap-align:start;border-top:0!important}.cases110 .case-tags{line-height:1.9}.cases110 .case-item h3{font-size:23px!important}.hero-pair110{display:none}.hero-description110{margin:20px 0}.hero-facts110{display:none}.hero-form110{margin-top:14px;padding-block:24px}.hero-bottom110{margin-top:22px!important}}
@media(prefers-reduced-motion:reduce){html body[data-editorial111] *{scroll-behavior:auto!important}html body[data-editorial111] main a.button:hover{transform:none}}

/* Preserve portfolio image proportions against legacy fixed heights. */
body[data-editorial111="miekata"] .preview-panel111 img,body[data-editorial111="miekata"] .work img{width:100%!important;height:auto!important;aspect-ratio:16/9!important;max-height:500px!important;object-fit:cover!important}
@media(max-width:767px){body[data-editorial111="miekata"] .preview-panel111 img,body[data-editorial111="miekata"] .work img{max-height:400px!important}}
