/* Local preview additions; original theme controls type, buttons and colours. */

.brand-story .au-entry{margin-left:24px}
.positioned-retail .section-heading,.positioned-activities .section-heading{margin-bottom:28px}
.positioned-retail-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;max-width:960px;margin:auto}
.positioned-retail-row figure,.positioned-activity-row figure,.positioned-site-grid figure{margin:0;min-width:0}
.positioned-video{display:block;position:relative;width:100%;padding:0;border:0;background:transparent;cursor:pointer;overflow:hidden}
.positioned-video>img{display:block;width:100%;height:100%;object-fit:cover}
.positioned-retail-row .positioned-video{aspect-ratio:3/4;max-height:340px}
.positioned-play.button{position:absolute;inset:auto 16px 16px auto;width:46px;height:46px;padding:12px;min-width:0;display:grid;place-items:center;border-radius:50%;pointer-events:none}
.positioned-play svg{width:20px;height:20px}
.positioned-retail-row figcaption,.positioned-activity-row figcaption,.positioned-site-grid figcaption{font-size:14px;line-height:1.6;margin-top:12px;color:#536a80}
.positioned-activities{margin:64px 0 48px;scroll-margin-top:100px}
.positioned-activity-row{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:28px;align-items:start}
.positioned-activity-row>figure>img{width:100%;aspect-ratio:4/3;object-fit:contain;display:block}
.positioned-person .positioned-video{height:360px;background:#f7f8f9}
.positioned-person .positioned-video>img{object-fit:contain}
.positioned-founder-copy{max-width:780px;line-height:1.9}
.positioned-founder-copy p{margin:0 0 20px}
.positioned-founder-copy a,.positioned-back{border-bottom:1px solid #c9d4dd;padding-bottom:4px}
.positioned-site-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;margin:28px 0 36px}
.positioned-site-grid>figure>img{width:100%;height:340px;object-fit:cover;display:block}
.positioned-site-grid .positioned-video{height:340px;background:#f7f8f9}
.positioned-labeling .positioned-video>img{object-fit:contain}
.positioned-dialog{width:min(900px,94vw);max-height:92dvh;padding:38px 16px 16px;border:0;background:white;box-sizing:border-box}
.positioned-dialog::backdrop{background:rgba(15,26,37,.72)}
.positioned-dialog video{display:block;max-width:100%;max-height:80dvh;margin:auto;background:#fff}
.positioned-close{position:absolute;right:10px;top:3px;font:28px/1 sans-serif;background:none;border:0;padding:5px 10px;cursor:pointer;color:#1d344f}
.positioned-australian-site .button{margin:16px 0}
@media(max-width:700px){
 .brand-story .au-entry{margin-left:18px}
 .positioned-retail-row{gap:14px;grid-template-columns:repeat(2,minmax(0,1fr))}
 .positioned-retail-row figure:last-child{grid-column:1/-1;width:calc(50% - 7px);margin:auto}
 .positioned-retail-row .positioned-video{aspect-ratio:3/4;max-height:260px}
 .positioned-retail-row figcaption{font-size:12px}
 .positioned-play.button{right:10px;bottom:10px;width:38px;height:38px;padding:9px}
 .positioned-activities{margin-top:40px}
 .positioned-activity-row,.positioned-site-grid{grid-template-columns:1fr;gap:28px}
 .positioned-person .positioned-video{height:340px}
 .positioned-site-grid>figure>img,.positioned-site-grid .positioned-video{height:auto;max-height:380px;object-fit:contain}
 .positioned-labeling .positioned-video{height:340px}
 .positioned-founder-copy{font-size:15px}
}
/* The warehouse figure is full-width; give its following activity block the original text inset. */
.positioned-activities{padding:48px max(24px,6vw);box-sizing:border-box;background:#fff}
@media(max-width:700px){.positioned-activities{padding:30px 24px}}
/* Factory reading order: Shenzhen first, Australian partner second, one visit enquiry. */
#shenzhen-factory,#australian-partner{scroll-margin-top:90px}
.factory-location-nav{display:flex;flex-wrap:wrap;gap:16px 32px;padding:0 max(24px,6vw) 28px;background:#fff}
.factory-location-nav a{font-size:15px;border-bottom:1px solid #c9d4dd;padding:8px 0;color:#1d344f}
.positioned-partner{background:#fff!important}
.partner-intro{max-width:900px;margin-bottom:48px}
.partner-intro h2{margin:0 0 24px}
.partner-intro p{font-size:17px;line-height:1.9;max-width:70ch}
.partner-founder{display:grid;grid-template-columns:minmax(180px,1fr) minmax(0,2fr);gap:48px;margin-bottom:56px}
.partner-founder-name h3{font-size:32px;line-height:1.25;margin:0 0 12px;font-weight:500}
.partner-founder-name p{font-size:15px;line-height:1.8;margin:0}
.partner-profile{margin:0}
.partner-profile>div{padding:20px 0;border-top:1px solid #e0e6eb}
.partner-profile dt{font-size:17px;font-weight:600;margin-bottom:10px}
.partner-profile dd{margin:0;line-height:1.9;font-size:15px;max-width:70ch}
.partner-profile a{white-space:normal;border-bottom:1px solid #c9d4dd}
.partner-operations>h3,.partner-visit h3{font-size:26px;line-height:1.4;margin:0 0 16px;font-weight:500}
.partner-operations .positioned-site-grid{margin-top:24px}
.partner-visit{border-top:1px solid #d7e0e6;padding-top:32px;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:36px;margin:44px 0 24px}
.partner-visit p{font-size:16px;line-height:1.9;max-width:70ch;margin:0}
.partner-visit>.button{white-space:nowrap}
@media(max-width:700px){
 .factory-location-nav{gap:12px 24px;padding:0 24px 24px}
 .factory-location-nav a{font-size:14px}
 .partner-intro{margin-bottom:32px}
 .partner-intro p{font-size:15px}
 .partner-founder{grid-template-columns:1fr;gap:24px;margin-bottom:36px}
 .partner-founder-name h3{font-size:28px}
 .partner-profile>div{padding:18px 0}
 .partner-visit{grid-template-columns:1fr;gap:24px;margin-top:32px}
 .partner-visit>.button{justify-self:start}
}
/* Original theme forces generic sections transparent; keep the new biography readable. */
#shenzhen-factory .section.positioned-partner{background:#fff!important}
/* Do not inherit the original site's narrow definition-list columns. */
.partner-profile>div{display:block}
.partner-profile dt,.partner-profile dd{display:block;width:auto}
/* v6: photographic partner profile, concise roles, expandable evidence. */
.profile-v6 .profile-intro{display:flex;justify-content:space-between;align-items:baseline;gap:36px;margin-bottom:40px}
.profile-v6 .profile-intro h2{margin:0;font-size:clamp(28px,3.2vw,48px)}
.profile-v6 .profile-intro p{font-size:15px;line-height:1.8;max-width:40ch;margin:0}
.profile-feature{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);gap:clamp(32px,4vw,72px);align-items:start}
.profile-feature-image{margin:0;min-width:0}
.profile-photo{appearance:none;display:block;position:relative;width:100%;padding:0;border:0;background:#f5f6f7;overflow:hidden;cursor:zoom-in;color:#1d344f}
.profile-photo img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}
.profile-feature-image .profile-photo{aspect-ratio:5/4}
.profile-feature-image figcaption{font-size:13px;line-height:1.5;margin-top:12px;color:#52697c}
.photo-expand{position:absolute;right:16px;bottom:16px;display:grid;place-items:center;width:40px;height:40px;background:#fff;border-radius:50%;box-shadow:0 2px 12px #00000018;transition:transform .25s ease}
.photo-expand svg{width:22px;height:22px}
.profile-person .profile-role{font-size:clamp(22px,2.2vw,32px);line-height:1.45;color:#1d344f;font-weight:600;margin:0 0 14px}
.profile-person h3{font-size:clamp(40px,4vw,62px);line-height:1.08;letter-spacing:-1px;margin:0 0 12px;font-weight:500}
.profile-person .profile-founder{font-size:18px;line-height:1.5;margin:0 0 24px}
.profile-person-intro{font-size:17px;line-height:1.8;max-width:40ch;margin:0 0 24px}
.profile-role-list{list-style:none;padding:0;margin:0 0 28px;display:flex;flex-wrap:wrap;gap:10px 20px}
.profile-role-list li{font-size:14px;padding-bottom:6px;border-bottom:2px solid #d7e0e6}
.profile-details{border-top:1px solid #d7e0e6;border-bottom:1px solid #d7e0e6}
.profile-details summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer;list-style:none;padding:18px 0;font-size:15px}
.profile-details summary::-webkit-details-marker{display:none}
.profile-details summary span{font-size:24px;line-height:1;transition:transform .2s ease}
.profile-details[open] summary span{transform:rotate(45deg)}
.profile-details-body{padding:0 0 16px}
.profile-details-body>div+div{margin-top:20px}
.profile-details-body h4{font-size:15px;margin:0 0 8px;font-weight:600}
.profile-details-body p{font-size:14px;line-height:1.8;margin:0}
.profile-details-body a{border-bottom:1px solid #b7c6d0}
.profile-evidence{display:flex;justify-content:space-between;align-items:center;gap:24px;border-top:1px solid #d7e0e6;border-bottom:1px solid #d7e0e6;margin:40px 0 56px;padding:24px 0}
.profile-evidence>div{display:flex;align-items:center;gap:24px}
.profile-evidence strong{font-size:22px;line-height:1.5;font-weight:500}
.profile-evidence span,.profile-evidence>a{font-size:14px;line-height:1.5}
.profile-evidence>a{border-bottom:1px solid #bccbd5;white-space:nowrap}
.profile-operations-grid{display:grid;grid-template-columns:1.25fr 1.25fr .65fr;gap:24px;margin-top:24px}
.profile-operations-grid figure{margin:0;min-width:0}
.profile-operations-grid .profile-photo,.profile-operations-grid .positioned-video{height:300px}
.profile-operations-grid .profile-labeling img{object-fit:contain;background:#f5f6f7}
.profile-operations-grid figcaption{font-size:13px;line-height:1.5;margin-top:12px;color:#52697c}
.profile-activities>h2{margin:0 0 28px}
.profile-activity-gallery{display:grid;grid-template-columns:1.8fr .8fr .8fr;gap:20px;align-items:start}
.profile-activity-gallery .profile-photo{height:340px}
.profile-activity-gallery .profile-photo:first-child img{object-fit:contain;background:white}
.profile-activity-gallery .profile-photo:not(:first-child) img{object-fit:contain}
.profile-image-dialog{max-width:94vw;max-height:94dvh;border:0;padding:36px 12px 12px;background:#fff;box-sizing:border-box}
.profile-image-dialog::backdrop{background:#172638c9}
.profile-image-dialog>img{display:block;max-width:88vw;max-height:82dvh;width:auto;height:auto;object-fit:contain}
.profile-image-close{position:absolute;right:8px;top:2px;background:transparent;border:0;font:28px/1 sans-serif;color:#1d344f;padding:3px 12px;cursor:pointer}
.profile-photo:focus-visible,.profile-details summary:focus-visible{outline:2px solid #1d344f;outline-offset:4px}
@media(hover:hover) and (prefers-reduced-motion:no-preference){.profile-photo:hover img{transform:scale(1.025)}.profile-photo:hover .photo-expand{transform:scale(1.08)}}
@media(max-width:700px){
 .profile-v6 .profile-intro{display:block;margin-bottom:28px}
 .profile-v6 .profile-intro h2{margin-bottom:14px}
 .profile-feature{grid-template-columns:1fr;gap:28px}
 .profile-person .profile-role{font-size:23px}
 .profile-person h3{font-size:44px}
 .profile-person .profile-founder{font-size:16px;margin-bottom:18px}
 .profile-person-intro{font-size:15px}
 .profile-role-list{gap:10px 14px;margin-bottom:20px}
 .profile-role-list li{font-size:12px}
 .profile-evidence{margin:28px 0 36px;padding:20px 0;gap:16px}
 .profile-evidence>div{display:block}
 .profile-evidence strong{font-size:20px;display:block;margin-bottom:5px}
 .profile-evidence span{font-size:12px}
 .profile-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
 .profile-operations-grid .profile-photo{height:190px}
 .profile-operations-grid .profile-labeling{grid-column:1/-1;max-width:220px;width:100%;justify-self:center}
 .profile-operations-grid .positioned-video{height:280px}
 .profile-activity-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 .profile-activity-gallery .profile-photo:first-child{grid-column:1/-1;height:auto;aspect-ratio:4/3}
 .profile-activity-gallery .profile-photo:not(:first-child){height:auto;aspect-ratio:9/16}
}
@media(prefers-reduced-motion:reduce){.profile-v6 *, .profile-activities *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.profile-person-intro{max-width:100%;text-wrap:pretty}
@media(max-width:700px){.profile-person{order:-1}}
/* v7: links belong to the title; no separate white strip or floating region. */
#shenzhen-factory>.factory-title{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:20px 48px;padding-top:40px;padding-bottom:24px;background:#fff!important}
#shenzhen-factory>.factory-title h1,#shenzhen-factory>.factory-title>p{margin:0}
#shenzhen-factory .factory-title>.factory-location-nav{grid-column:1/-1;position:static;display:flex;margin:0;padding:10px 0 0;gap:16px 28px;background:transparent;box-shadow:none}
#shenzhen-factory>#factory-film{padding-top:32px}
.profile-activity-gallery{display:block;max-width:860px;margin:auto}
.profile-activity-gallery .profile-photo:first-child{height:auto;aspect-ratio:4/3;width:100%}
@media(max-width:700px){
 #shenzhen-factory>.factory-title{grid-template-columns:1fr;gap:18px;padding-top:28px;padding-bottom:22px}
 #shenzhen-factory .factory-title>.factory-location-nav{gap:12px 24px;padding-top:0}
 #shenzhen-factory>#factory-film{padding-top:24px}
 .profile-activity-gallery .profile-photo:first-child{aspect-ratio:4/3;height:auto}
}
/* v8: homepage and factory use the same two coherent enquiry groups. */
main>section#inquiry.consistent-inquiry{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;gap:32px 64px;width:100%;max-width:none;min-height:0;height:auto;margin:0;padding:52px 6vw!important;background:#fff!important;border:0;border-top:1px solid #d7e0e6;border-radius:0;box-shadow:none}
main>section#inquiry.consistent-inquiry>.closing-copy,main>section#inquiry.consistent-inquiry>.closing-actions{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:16px;min-width:0;padding:0;margin:0;grid-row:auto;grid-column:auto;background:transparent}
main>section#inquiry.consistent-inquiry h2{font-size:clamp(30px,3vw,42px);font-weight:500;line-height:1.3;margin:0;letter-spacing:-.025em}
main>section#inquiry.consistent-inquiry .closing-copy p{font-size:15px;line-height:1.8;max-width:43ch;margin:0}
main>section#inquiry.consistent-inquiry .button{width:auto;min-width:230px;min-height:56px;margin:0;padding:16px 24px;font-size:15px;line-height:1.5;gap:28px;background:#1d344f;color:#fff;border-radius:2px;box-shadow:none}
main>section#inquiry.consistent-inquiry .closing-actions small,main>section#inquiry.consistent-inquiry .closing-actions p{font-size:13px;font-weight:400;line-height:1.7;color:#52697c;margin:0;max-width:38ch}
@media(max-width:700px){
 main>section#inquiry.consistent-inquiry{grid-template-columns:1fr;gap:26px;padding:34px 24px!important}
 main>section#inquiry.consistent-inquiry h2{font-size:30px}
 main>section#inquiry.consistent-inquiry .closing-copy p{font-size:14px;max-width:100%}
 main>section#inquiry.consistent-inquiry .closing-actions{gap:12px}
 main>section#inquiry.consistent-inquiry .button{width:100%;min-width:0;min-height:54px;justify-content:space-between}
 main>section#inquiry.consistent-inquiry .closing-actions small,main>section#inquiry.consistent-inquiry .closing-actions p{max-width:100%;font-size:12px}
}
#contact-preview{scroll-margin-top:140px}
/* Match the footer heading to the same responsive grid, without scattered links. */
footer.site-footer>.footer-heading{display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;gap:20px;align-items:center}
footer.site-footer>.footer-heading>p{margin:0}
@media(max-width:700px){
 footer.site-footer>.footer-heading{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
 footer.site-footer>.footer-heading>.wordmark{grid-column:1/-1;grid-row:1}
 footer.site-footer>.footer-heading>p{grid-column:1/-1;grid-row:2;font-size:13px}
 footer.site-footer>.footer-heading>.privacy-policy-link{grid-column:1;grid-row:3;justify-self:start}
 footer.site-footer>.footer-heading>#footer-privacy{grid-column:2;grid-row:3;justify-self:end;text-align:right}
 footer.site-footer>.footer-heading>.quiet-link{font-size:12px;line-height:1.6;white-space:normal;max-width:100%;margin:0}
}
