/*
Theme Name: Dannai B2B
Theme URI: https://dannaiknitting.com
Author: Dannai Knitting
Description: Fast, minimal B2B manufacturer theme for Dannai Knitting.
Version: 0.4.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: dannai-b2b
*/
:root{--ink:#161616;--muted:#746d65;--line:#e7e2da;--paper:#fff;--warm:#f5f2ed;--accent:#8d2735;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:16px;line-height:1.65}img{max-width:100%;height:auto}a{color:inherit}.site-shell{width:min(calc(100% - 40px),var(--max));margin-inline:auto}.site-topbar{background:#111;color:#fff;font-size:12px;letter-spacing:.08em;text-transform:uppercase}.site-topbar .site-shell{display:flex;justify-content:space-between;gap:20px;padding:8px 0}.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(12px);border-bottom:1px solid rgba(0,0,0,.07)}.header-inner{height:76px;display:flex;align-items:center;gap:34px}.site-brand{display:flex;align-items:center;text-decoration:none;min-width:max-content}.site-brand .custom-logo{max-height:42px;width:auto}.site-brand-text{font-family:Georgia,"Times New Roman",serif;font-size:27px;letter-spacing:.02em}.site-nav{margin-left:auto}.site-nav ul{display:flex;gap:26px;align-items:center;list-style:none;margin:0;padding:0}.site-nav a{text-decoration:none;font-size:14px}.site-nav a:hover{color:var(--accent)}.header-inquiry{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--ink);padding:10px 14px;text-decoration:none;font-size:13px;white-space:nowrap}.header-inquiry b{display:inline-grid;place-items:center;min-width:20px;height:20px;border-radius:50%;background:var(--ink);color:#fff;font-size:11px}.menu-toggle{display:none;margin-left:auto;border:0;background:none;font-size:26px}.hero{background:var(--warm);min-height:650px;display:grid;align-items:center;overflow:hidden}.hero-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:60px;align-items:center;padding:72px 0}.eyebrow{font-size:12px;letter-spacing:.16em;text-transform:uppercase;color:var(--accent);font-weight:700}.hero h1,.section-heading h2,.page-title,.product-title{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.03;letter-spacing:-.035em}.hero h1{font-size:clamp(48px,6vw,84px);margin:16px 0 22px;max-width:850px}.hero-copy{font-size:18px;color:#514c47;max-width:700px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;align-items:center;justify-content:center;padding:13px 19px;text-decoration:none;border:1px solid var(--ink);font-size:14px}.btn-dark{background:var(--ink);color:#fff}.btn-light{background:transparent}.hero-visual{position:relative;min-height:500px;background:#1d1b1a;display:flex;align-items:flex-end;padding:36px;isolation:isolate}.hero-visual:before,.hero-visual:after{content:"";position:absolute;border-radius:50%;filter:blur(0);z-index:-1}.hero-visual:before{width:340px;height:340px;background:linear-gradient(135deg,#a79a8e,#4b4440);right:-70px;top:-50px;opacity:.55}.hero-visual:after{width:220px;height:220px;background:#7d2431;left:-60px;bottom:-70px;opacity:.6}.hero-visual strong{color:#fff;font-family:Georgia,"Times New Roman",serif;font-size:46px;font-weight:400;line-height:1.05}.hero-visual span{display:block;color:#d8d0c8;font-size:13px;letter-spacing:.12em;text-transform:uppercase;margin-top:10px}.section{padding:92px 0}.section-warm{background:var(--warm)}.section-dark{background:#171717;color:#fff}.section-heading{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:38px}.section-heading h2{font-size:clamp(38px,4vw,58px);margin:0}.section-heading p{max-width:560px;color:var(--muted);margin:0}.section-dark .section-heading p{color:#bbb}.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.category-card{min-height:240px;border:1px solid var(--line);padding:28px;display:flex;flex-direction:column;justify-content:flex-end;text-decoration:none;background:#fff;position:relative;overflow:hidden}.category-card:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 80% 20%,rgba(141,39,53,.12),transparent 38%);transition:transform .35s}.category-card:hover:before{transform:scale(1.1)}.category-card small{color:var(--accent);text-transform:uppercase;letter-spacing:.1em}.category-card h3{font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:400;margin:8px 0 0}.feature-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}.feature{border-top:1px solid #5a5753;padding-top:20px}.feature b{display:block;font-family:Georgia,"Times New Roman",serif;font-size:25px;font-weight:400;margin-bottom:8px}.feature p{color:#bdb8b2;font-size:14px;margin:0}.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.editorial-card{background:#f5f2ed;padding:50px;min-height:420px;display:flex;flex-direction:column;justify-content:flex-end}.editorial-card h3{font-family:Georgia,"Times New Roman",serif;font-size:42px;font-weight:400;line-height:1.1;margin:0 0 14px}.bullet-list{display:grid;gap:12px;margin:25px 0 0;padding:0;list-style:none}.bullet-list li{padding-left:24px;position:relative}.bullet-list li:before{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:var(--accent);left:0;top:.7em}.cta-band{background:var(--accent);color:#fff;padding:56px 0}.cta-band .site-shell{display:flex;justify-content:space-between;gap:30px;align-items:center}.cta-band h2{font-family:Georgia,"Times New Roman",serif;font-size:40px;font-weight:400;margin:0}.page-hero{background:var(--warm);padding:78px 0 58px}.page-title{font-size:clamp(46px,6vw,72px);margin:0}.page-subtitle{color:var(--muted);max-width:700px;margin-top:14px}.content-wrap{width:min(calc(100% - 40px),980px);margin-inline:auto;padding:70px 0}.content-wrap h2,.content-wrap h3{font-family:Georgia,"Times New Roman",serif;font-weight:400}.content-wrap h2{font-size:38px}.content-wrap h3{font-size:28px}.content-wrap p{color:#48433f}.product-single{padding:60px 0 90px}.product-layout{display:grid;grid-template-columns:1.1fr .9fr;gap:60px}.product-main-image{background:#f2f0ec;aspect-ratio:4/5;display:flex;align-items:center;justify-content:center;overflow:hidden}.product-main-image img{width:100%;height:100%;object-fit:cover}.product-gallery{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}.product-gallery img{aspect-ratio:1/1;object-fit:cover;background:#f2f0ec}.product-title{font-size:clamp(42px,5vw,64px);margin:8px 0}.spec-table{width:100%;border-collapse:collapse;margin:28px 0}.spec-table th,.spec-table td{text-align:left;padding:12px 0;border-bottom:1px solid var(--line);vertical-align:top}.spec-table th{width:38%;font-weight:500;color:var(--muted)}.product-description{margin-top:28px}.product-actions{display:flex;gap:12px;flex-wrap:wrap}.site-footer{background:#111;color:#fff;padding:60px 0 24px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:50px}.footer-brand{font-family:Georgia,"Times New Roman",serif;font-size:30px}.footer-muted{color:#aaa;font-size:14px}.footer-links{list-style:none;margin:0;padding:0;display:grid;gap:8px}.footer-links a{text-decoration:none;color:#ddd}.footer-bottom{border-top:1px solid #333;margin-top:50px;padding-top:20px;color:#888;font-size:12px;display:flex;justify-content:space-between;gap:20px}.not-found{padding:120px 0;text-align:center}@media(max-width:960px){.header-inner{height:68px}.site-nav{display:none;position:absolute;left:0;right:0;top:100%;background:#fff;border-bottom:1px solid var(--line);padding:20px}.site-nav.is-open{display:block}.site-nav ul{display:grid;gap:14px}.menu-toggle{display:block}.header-inquiry{display:none}.hero-grid,.split,.product-layout{grid-template-columns:1fr}.hero{min-height:auto}.hero-visual{min-height:360px}.category-grid{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:repeat(2,1fr);gap:30px}.footer-grid{grid-template-columns:1fr 1fr}.cta-band .site-shell{align-items:flex-start;flex-direction:column}}@media(max-width:600px){.site-shell{width:min(calc(100% - 24px),var(--max))}.site-topbar .site-shell{justify-content:center}.site-topbar span:last-child{display:none}.hero-grid{padding:48px 0}.hero h1{font-size:47px}.hero-visual{min-height:300px;padding:24px}.hero-visual strong{font-size:35px}.section{padding:64px 0}.section-heading{align-items:flex-start;flex-direction:column}.category-grid{grid-template-columns:1fr}.category-card{min-height:190px}.feature-grid{grid-template-columns:1fr}.editorial-card{padding:30px;min-height:330px}.cta-band h2{font-size:34px}.footer-grid{grid-template-columns:1fr}.footer-bottom{flex-direction:column}.product-single{padding-top:35px}.product-gallery{grid-template-columns:repeat(3,1fr)}}
.site-brand .custom-logo-link{display:flex;align-items:center;text-decoration:none}


/* ===== Dannai B2B V2 ===== */
.site-topbar a{text-decoration:none}.site-brand-lockup{flex-direction:column;align-items:flex-start;line-height:1.05}.site-brand-lockup small,.brand-subline{display:block;margin-top:5px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:9px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted)}.site-brand .brand-subline{margin-left:12px}.hero-v2{min-height:0}.hero-grid-v2{grid-template-columns:.92fr 1.08fr;gap:72px;padding:64px 0 74px}.hero-v2 h1{font-size:clamp(54px,5.4vw,78px);max-width:680px;line-height:.98}.brand-pair{display:flex;align-items:center;gap:9px;margin-bottom:28px;font-size:11px;letter-spacing:.13em;font-weight:700}.brand-pair i{font-family:Georgia,serif;font-size:16px;color:var(--accent);font-weight:400}.hero-copy{max-width:650px}.hero-proof{display:flex;gap:22px;flex-wrap:wrap;margin-top:34px;padding-top:22px;border-top:1px solid #d8d2ca;font-size:12px;color:var(--muted)}.hero-proof b{color:var(--ink);font-size:16px;margin-right:4px}.hero-collage{display:grid;grid-template-columns:1.35fr .75fr;grid-template-rows:1fr 1fr;gap:12px;height:570px}.hero-shot{position:relative;margin:0;overflow:hidden;background:#211f1d}.hero-shot-main{grid-row:1/3}.hero-shot img{width:100%;height:100%;object-fit:cover}.hero-shot figcaption{position:absolute;left:16px;bottom:14px;background:rgba(17,17,17,.82);color:#fff;padding:7px 10px;font-size:11px;letter-spacing:.08em;text-transform:uppercase}.hero-placeholder{display:flex;flex-direction:column;justify-content:flex-end;padding:28px;color:#fff}.hero-placeholder:before{content:"";position:absolute;inset:0;background:linear-gradient(145deg,rgba(141,39,53,.62),transparent 58%)}.hero-placeholder:nth-child(2):before{background:linear-gradient(145deg,#9b9188,#2a2725)}.hero-placeholder:nth-child(3):before{background:linear-gradient(145deg,#6c6260,#171717)}.hero-placeholder strong,.hero-placeholder span{position:relative}.hero-placeholder strong{font-family:Georgia,serif;font-size:32px;line-height:1.05;font-weight:400}.hero-shot-main.hero-placeholder strong{font-size:46px}.hero-placeholder span{font-size:11px;letter-spacing:.12em;text-transform:uppercase;margin-top:8px;color:#eee}.brand-bridge{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:42px 0;background:#fff}.brand-bridge-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.brand-bridge h2{font-family:Georgia,serif;font-size:38px;line-height:1.05;font-weight:400;margin:9px 0 0}.brand-bridge p{margin:0;color:#4e4843}.text-arrow{display:inline-block;margin-top:12px;color:var(--accent);font-weight:700;text-decoration:none}.core-category-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.core-category-card{border:1px solid var(--line);padding:30px;background:#fff;min-height:410px;display:flex;flex-direction:column}.core-cat-index{color:var(--accent);font-size:12px;font-weight:700;letter-spacing:.14em}.core-category-card h3{font-family:Georgia,serif;font-size:34px;line-height:1.08;font-weight:400;margin:18px 0 20px}.core-category-card ul{list-style:none;margin:0;padding:0;display:grid;gap:9px;color:#5b554f;font-size:14px}.core-category-card a{margin-top:auto;padding-top:24px;font-weight:700;text-decoration:none;border-top:1px solid var(--line)}.accessory-line{margin-top:16px;padding:18px 22px;background:var(--warm);font-size:14px}.production-section{background:#111}.production-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.production-card{min-height:350px;padding:34px;display:grid;grid-template-columns:110px 1fr;gap:28px;align-items:start;border:1px solid #45413e}.production-card-dark{background:#292624;color:#fff}.production-card-light{background:#f5f2ed;color:#171717}.machine-num{font-family:Georgia,serif;font-size:78px;line-height:.85;color:#b98188}.production-card h3{font-family:Georgia,serif;font-size:38px;line-height:1.05;font-weight:400;margin:12px 0 16px}.production-card p{margin:0}.production-card-dark p{color:#c8c1ba}.production-card-light p{color:#57514b}.mesh-focus{padding:72px 0}.mesh-focus-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.mesh-focus h2{font-family:Georgia,serif;font-size:50px;line-height:1.05;font-weight:400;margin:12px 0}.mesh-focus p{font-size:17px;color:#4e4843}.editorial-heading{font-family:Georgia,serif;font-size:52px;font-weight:400;line-height:1.08;margin:14px 0}.cta-kicker{font-size:12px;letter-spacing:.14em;text-transform:uppercase;opacity:.8}.cta-btn{border-color:#fff;color:#fff}.page-hero-brand{background:linear-gradient(90deg,#f5f2ed 0 70%,#ece6df 70%)}.about-content{max-width:980px}.brand-two-col{display:grid;grid-template-columns:1fr 1fr;gap:16px}.brand-two-col>div{border:1px solid var(--line);padding:34px;background:#fff}.brand-two-col h2{font-family:Georgia,serif;font-size:38px;font-weight:400;margin:10px 0}.brand-map{display:grid;grid-template-columns:1fr auto 1fr auto 1fr;gap:18px;align-items:center}.brand-map>div:not(.brand-map-arrow){background:#fff;border:1px solid var(--line);padding:28px;min-height:210px}.brand-map strong{display:block;font-family:Georgia,serif;font-size:27px;line-height:1.1;margin:10px 0}.brand-map-label{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--accent);font-weight:700}.brand-map-arrow{font-family:Georgia,serif;font-size:38px;color:var(--accent)}.footer-brand-pair{margin-top:4px;color:#d9b8bd;font-size:11px;letter-spacing:.11em;text-transform:uppercase}.footer-relation{max-width:360px}.footer-grid-v2{grid-template-columns:1.2fr .7fr 1.1fr}
@media(max-width:960px){.hero-grid-v2,.brand-bridge-grid,.mesh-focus-grid,.brand-two-col{grid-template-columns:1fr}.hero-collage{height:520px}.core-category-grid{grid-template-columns:1fr}.core-category-card{min-height:0}.production-grid{grid-template-columns:1fr}.brand-map{grid-template-columns:1fr}.brand-map-arrow{transform:rotate(90deg);text-align:center}.footer-grid-v2{grid-template-columns:1fr 1fr}.brand-subline{display:none!important}}
@media(max-width:600px){.hero-grid-v2{gap:35px;padding:42px 0}.hero-v2 h1{font-size:48px}.hero-collage{height:390px;grid-template-columns:1.2fr .8fr}.hero-shot-main.hero-placeholder strong{font-size:34px}.hero-placeholder strong{font-size:22px}.hero-proof{gap:12px}.brand-bridge-grid{gap:24px}.brand-bridge h2{font-size:31px}.production-card{grid-template-columns:72px 1fr;padding:24px;gap:18px}.machine-num{font-size:58px}.production-card h3{font-size:30px}.mesh-focus h2{font-size:39px}.footer-grid-v2{grid-template-columns:1fr}}


/* ===== Dannai B2B V3: tighter hero + cleaner brand hierarchy ===== */
.hero-grid-v2{grid-template-columns:.88fr 1.12fr;gap:64px;padding:54px 0 62px}
.hero-v2 h1{font-size:clamp(44px,4.25vw,62px);max-width:610px;line-height:1.02;letter-spacing:-.032em;margin:14px 0 20px}
.hero-v2 .hero-copy{font-size:16.5px;line-height:1.7;max-width:610px}
.hero-v2 .brand-pair{margin-bottom:20px}
.hero-v2 .hero-actions{margin-top:24px}
.hero-v2 .hero-proof{margin-top:26px;padding-top:18px}
.hero-collage{height:520px}
.brand-bridge-grid.has-brand-logo{grid-template-columns:.82fr 1.18fr;gap:64px}
.brand-bridge-logo{display:flex;align-items:center;gap:24px;margin-top:14px}
.brand-bridge-logo img{display:block;max-width:235px;max-height:88px;width:auto;height:auto;object-fit:contain}
.brand-bridge-logo .brand-logo-caption{font-size:12px;color:var(--muted);max-width:220px}
.site-brand-lockup small,.brand-subline{letter-spacing:.1em}
@media(max-width:1100px){.hero-v2 h1{font-size:clamp(43px,5vw,58px)}.hero-grid-v2{gap:48px}.hero-collage{height:480px}}
@media(max-width:960px){.hero-grid-v2{grid-template-columns:1fr;padding:48px 0 56px}.hero-v2 h1{max-width:760px}.hero-collage{height:500px}.brand-bridge-grid.has-brand-logo{grid-template-columns:1fr}.brand-bridge-logo{margin-bottom:8px}}
@media(max-width:600px){.hero-v2 h1{font-size:42px;line-height:1.02}.hero-v2 .hero-copy{font-size:15.5px}.hero-collage{height:370px}.brand-bridge-logo{align-items:flex-start;flex-direction:column;gap:12px}.brand-bridge-logo img{max-width:200px;max-height:76px}}

/* V4 editable homepage modules */
.hero-proof-item{display:inline-flex;align-items:baseline;gap:3px;color:var(--muted);text-decoration:none;transition:color .2s ease}
.hero-proof-item:hover{color:var(--accent)}
.hero-proof-item b{color:var(--ink)}
.brand-relation-copy{font-size:15px;line-height:1.75}
.brand-role-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0 18px}
.brand-role-card{border:1px solid var(--line);padding:20px 22px;background:#faf8f4;min-height:145px}
.brand-role-name{display:block;font-size:10px;letter-spacing:.13em;text-transform:uppercase;color:var(--accent);font-weight:700;margin-bottom:9px}
.brand-role-card strong{display:block;font-family:Georgia,serif;font-size:24px;line-height:1.1;font-weight:400;margin-bottom:10px;color:var(--ink)}
.brand-role-card p{margin:0!important;font-size:13px;line-height:1.55;color:var(--muted)!important}
.brand-note{font-size:13px!important;line-height:1.65!important;color:var(--muted)!important;border-left:2px solid var(--accent);padding-left:14px;margin:18px 0 0!important}
.brand-bridge-logo{margin-top:18px}
.brand-bridge-logo img{max-width:300px;max-height:115px}
@media(max-width:700px){.brand-role-grid{grid-template-columns:1fr}.brand-role-card{min-height:0}}
