/* Studio 1.51 — client work grouped by type; every image/caption is a native widget. */
body.oa-site .oa-studio-services { --oa-section-gap:clamp(16px,1.35vw,26px);padding:clamp(64px,7vw,110px) 0 0; }
body.oa-site .oa-studio-services .oa-studio-container { width:100%;max-width:none;margin:0;gap:0; }
body.oa-site .oa-studio-services .oa-head,
body.oa-site .oa-studio-services .oa-studio-jump { width:calc(100% - 2*var(--oa-pad));max-width:1240px;margin:0 auto; }
body.oa-site .oa-studio-services .oa-head { grid-template-columns:220px minmax(0,1fr);gap:40px;margin-bottom:26px; }
body.oa-site.lang-en .oa-studio-services :is(.oa-h2,.oa-studio-title) { font-family:'Soligant',sans-serif;font-weight:400;font-synthesis:none; }
body.oa-site .oa-studio-services .oa-h2 { font-size:clamp(32px,3.2vw,46px);line-height:1.17; }
body.oa-site .oa-studio-services .oa-studio-jump { margin-bottom:38px; }
body.oa-site .oa-studio-jump nav { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0 24px; }
body.oa-site .oa-studio-jump a { color:var(--oa-text);font-size:14px;line-height:1.5;min-height:44px;display:inline-flex;align-items:center;text-decoration:none;border-bottom:1px solid rgba(40,60,77,.22); }
body.oa-site .oa-studio-stories { display:flex;flex-direction:column;gap:var(--oa-section-gap);background:#fffbef; }
body.oa-site .oa-studio-spread { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:0;align-items:stretch;background:#283c4d;width:100%;max-width:none;margin:0; }
body.oa-site .oa-studio-spread--reverse { grid-template-columns:minmax(0,2fr) minmax(0,1fr); }
body.oa-site .oa-studio-spread--reverse .oa-studio-info { grid-column:2;grid-row:1; }
body.oa-site .oa-studio-spread--reverse .oa-studio-art { grid-column:1;grid-row:1; }
body.oa-site .oa-studio-services .oa-studio-info { display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:26px;padding:clamp(28px,3.5vw,64px);min-width:0;color:#fffbef; }
body.oa-site .oa-studio-services .oa-studio-kicker { font-size:13px;font-weight:600;letter-spacing:.08em;line-height:1.6;text-transform:uppercase;color:#d2c19e;margin:0; }
body.oa-site .oa-studio-services .oa-studio-words { display:flex;flex-direction:column;gap:16px;max-width:500px; }
body.oa-site .oa-studio-services .oa-studio-title { color:#d2bc90;font-size:clamp(36px,3.2vw,56px);line-height:1.12;letter-spacing:-.018em;font-weight:400;text-wrap:balance;margin:0; }
body.oa-site .oa-studio-services :is(.oa-studio-title) .elementor-heading-title { font-size:inherit;line-height:inherit;letter-spacing:inherit;font-weight:inherit; }
body.oa-site .oa-studio-services .oa-studio-description { font-size:clamp(16px,1.15vw,18px);line-height:1.65;margin:0;color:inherit; }
body.oa-site .oa-studio-services :is(.oa-studio-description,.oa-studio-kicker,.oa-studio-link,.oa-studio-caption,.oa-studio-photo-label) p { margin:0; }
body.oa-site .oa-studio-services .oa-studio-link { width:100%;max-width:500px;margin:0; }
body.oa-site .oa-studio-services .oa-studio-link a { display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:48px;padding:10px 0;border-bottom:1px solid rgba(210,193,158,.5);color:inherit;text-decoration:none;font-size:14px;font-weight:600;line-height:1.5; }
body.oa-site .oa-studio-services .oa-studio-link a::after { content:'↗';font:24px/1 Arial;flex:0 0 auto;color:#d2bc90;transition:transform .22s ease; }
body.oa-site .oa-studio-services a:focus-visible { outline:2px solid #b79c6e;outline-offset:5px; }
body.oa-site .oa-studio-services [id],body.oa-site .oa-design-directory [id] { scroll-margin-top:116px; }
body.oa-site .oa-studio-art { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:0;aspect-ratio:1;min-width:0;background:#fff;align-self:center;width:100%; }
body.oa-site .oa-studio-work { position:relative;overflow:hidden;min-width:0;min-height:0;background:#fff; }
body.oa-site .oa-studio-picture,
body.oa-site .oa-studio-picture>.elementor-widget-container { position:absolute;inset:0;width:100%;height:100%;margin:0; }
body.oa-site .oa-studio-picture img { display:block;width:100%;height:100%;max-width:none;object-fit:cover;object-position:center; }
body.oa-site .oa-studio-caption { position:absolute;bottom:0;right:0;z-index:1;width:auto;max-width:92%;padding:9px 13px;background:#b79c6e;color:#283c4d;font-size:12px;line-height:1.45; }
body.oa-site .oa-studio-work--product img { object-fit:cover; }
/* Source portfolio sheet headers/footers remain in the original media; CSS frames the work. */
body.oa-site .oa-studio-work--square-sheet img { width:122%;height:auto;position:absolute;left:-11%;top:-12.6%;object-fit:initial; }
body.oa-site .oa-studio-work--social-sheet img { width:120%;height:auto;position:absolute;left:-10%;top:-14%;object-fit:initial; }
body.oa-site .oa-studio-work--flyer-sheet img,
body.oa-site .oa-studio-work--brochure-sheet img { width:100%;height:auto;position:absolute;left:0;top:-20%;object-fit:initial; }
body.oa-site .oa-studio-work--brochure-one img { width:100%;height:auto;position:absolute;left:0;top:-18.5%;object-fit:initial; }
body.oa-site .oa-studio-art--outdoor { aspect-ratio:4/3; }
body.oa-site .oa-studio-work--outdoor-bottom img { width:100%;height:auto;position:absolute;bottom:0;left:0;object-fit:initial; }
body.oa-site .oa-studio-work--outdoor-side img { width:100%;height:100%;position:absolute;left:0;top:0;transform:none;clip-path:none;object-fit:cover;object-position:left center; }
body.oa-site .oa-studio-photography { display:flex;flex-direction:column;gap:0;background:#283c4d;width:100%;max-width:none;margin:0; }
body.oa-site .oa-studio-photo-top { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr);gap:0;align-items:stretch; }
body.oa-site .oa-studio-photo-feature { width:100%;margin:0;min-width:0;aspect-ratio:16/10; }
body.oa-site .oa-studio-photo-feature>.elementor-widget-container { width:100%;height:100%; }
body.oa-site .oa-studio-photo-feature img { display:block;width:100%;height:100%;object-fit:cover; }
body.oa-site .oa-studio-photo-strip { display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;padding:2px 0 0; }
body.oa-site .oa-studio-photo-category { display:flex;flex-direction:column;gap:0;min-width:0; }
body.oa-site .oa-studio-photo-thumb { margin:0;aspect-ratio:4/3;width:100%;position:relative;overflow:hidden;min-height:0; }
body.oa-site .oa-studio-photo-thumb>.elementor-widget-container { position:absolute;inset:0;height:100%;width:100%; }
body.oa-site .oa-studio-photo-thumb img { width:100%;height:100%;display:block;object-fit:cover; }
body.oa-site .oa-studio-photo-category:nth-child(4) img { object-position:center 10%; }
body.oa-site .oa-studio-photo-label { color:#fffbef;text-align:center;padding:10px 8px 14px;font-size:12px;line-height:1.4; }
/* Six categories retain their stable group anchor without a redundant overview. */
body.oa-site .oa-studio-design-group { display:flex;flex-direction:column;gap:var(--oa-section-gap);width:100%; }
body.oa-site .oa-studio-services .oa-studio-art--menus { aspect-ratio:4/3; }
body.oa-site .oa-studio-services .oa-studio-art--business-cards { aspect-ratio:5/4; }
body.oa-site .oa-studio-art--business-cards img { object-position:center 55%; }
/* Existing detailed services retain all content; packaging and labels form one group. */
body.oa-site .oa-design-directory .oa-design-packaging-group { grid-column:span 2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px;padding:24px;border:1px solid rgba(40,60,77,.2);background:#f2eee3; }
body.oa-site .oa-design-directory .oa-design-packaging-group>.oa-card { min-width:0; }
@media (hover:hover) and (pointer:fine) {
 body.oa-site .oa-studio-services .oa-studio-link a:hover::after { transform:translate(3px,-3px); }
 body.oa-site .oa-studio-jump a:hover { border-color:#826741;color:#826741; }
}
@media (min-width:768px) and (max-width:1050px) {
 body.oa-site .oa-studio-services .oa-head { grid-template-columns:minmax(0,1fr);gap:12px; }
 body.oa-site .oa-studio-services .oa-studio-info { padding:24px;gap:18px; }
 body.oa-site .oa-studio-services .oa-studio-title { font-size:32px; }
 body.oa-site .oa-studio-services .oa-studio-description { font-size:15px;line-height:1.65; }
 body.oa-site .oa-studio-services .oa-studio-words { gap:14px; }
 body.oa-site .oa-studio-caption { font-size:11px;padding:7px 9px; }
 body.oa-site .oa-studio-work--outdoor-bottom img { width:auto;height:200%;left:50%;transform:translateX(-50%); }
}
@media (max-width:767px) {
 body.oa-site .oa-studio-services { --oa-section-gap:16px;padding-top:60px; }
 body.oa-site .oa-studio-services .oa-head { grid-template-columns:minmax(0,1fr);gap:12px;margin-bottom:22px; }
 body.oa-site .oa-studio-services .oa-h2 { font-size:32px;line-height:1.2; }
 body.oa-site .oa-studio-jump nav { grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 18px; }
 body.oa-site .oa-studio-jump a { font-size:13px; }
 body.oa-site .oa-studio-services .oa-studio-jump { margin-bottom:30px; }
 body.oa-site .oa-studio-stories { background:#fffbef; }
 body.oa-site .oa-studio-spread,body.oa-site .oa-studio-spread--reverse,body.oa-site .oa-studio-photo-top { display:flex;flex-direction:column; }
 body.oa-site .oa-studio-services .oa-studio-info { padding:30px 26px;gap:18px; }
 body.oa-site .oa-studio-services .oa-studio-words { gap:12px; }
 body.oa-site .oa-studio-services .oa-studio-title { font-size:30px;text-wrap:pretty; }
 body.oa-site .oa-studio-services .oa-studio-description { font-size:15px;line-height:1.65; }
 body.oa-site .oa-studio-art { width:100%;max-width:none;margin:0;aspect-ratio:1; }
 body.oa-site .oa-studio-art--outdoor { aspect-ratio:4/3; }
 body.oa-site .oa-studio-caption { font-size:11px;padding:6px 8px; }
 body.oa-site .oa-studio-photography { margin-top:0; }
 body.oa-site .oa-studio-photo-feature { aspect-ratio:16/10; }
 body.oa-site .oa-studio-photo-strip { grid-template-columns:repeat(3,minmax(0,1fr)); }
 body.oa-site .oa-studio-photo-category:last-child { grid-column:auto; }
 body.oa-site .oa-studio-photo-category:last-child .oa-studio-photo-thumb { aspect-ratio:4/3; }
 body.oa-site .oa-studio-photo-label { padding:8px 5px 10px;font-size:11px; }
 body.oa-site .oa-design-directory .oa-design-packaging-group { grid-column:1/-1;grid-template-columns:minmax(0,1fr);gap:30px;padding:20px; }
 body.oa-site.lang-zh .oa-studio-services .oa-studio-title { font-size:29px;line-height:1.25; }
}
@media (prefers-reduced-motion:reduce) { body.oa-site .oa-studio-services .oa-studio-link a::after { transition:none; } }

/* Taller brochure cells retain the complete printed pieces while the original image covers every edge. */
body.oa-site .oa-studio-art--brochures { aspect-ratio:9/10; }


/* Full-width portfolio plates. Four works remain visible; copy takes only one third. */
@media (min-width:768px) {
 body.oa-site .oa-studio-services { --oa-panel-height:clamp(580px,calc(100svh - 120px),920px); }
 body.oa-site .oa-studio-services .oa-studio-art { height:var(--oa-panel-height);aspect-ratio:auto;align-self:stretch; }
 body.oa-site .oa-studio-services .oa-studio-info { min-height:var(--oa-panel-height); }
 /* Frame the original work, not its source-sheet heading/footer. No image stretching. */
 body.oa-site .oa-studio-work--flyer-sheet { background:#f2f2f2; }
 body.oa-site .oa-studio-work--flyer-sheet img,
 body.oa-site .oa-studio-work--brochure-sheet img,
 body.oa-site .oa-studio-work--brochure-one img { width:100%;max-width:calc(var(--oa-panel-height)*.60);height:auto;left:50%;top:50%;transform:translate(-50%,-52%); }
 body.oa-site .oa-studio-work--flyer-sheet img { transform:translate(-50%,-50%); }
 body.oa-site .oa-studio-work--brochure-one img { max-width:calc(var(--oa-panel-height)*.45);transform:translate(-50%,-51.5%); }
 body.oa-site .oa-studio-work--square-sheet img { width:115%;max-width:calc(var(--oa-panel-height)*.62);height:auto;left:50%;top:50%;transform:translate(-50%,-51%); }
 body.oa-site .oa-studio-work--social-sheet img { width:120%;max-width:calc(var(--oa-panel-height)*.65);height:auto;left:50%;top:50%;transform:translate(-50%,-50%); }
 body.oa-site .oa-studio-art--business-cards .oa-studio-work:nth-child(-n+2) img { width:112%;max-width:calc(var(--oa-panel-height)*.58);height:auto;position:absolute;left:50%;top:50%;transform:translate(-50%,-51%);clip-path:inset(13% 0 5%); }
 body.oa-site .oa-studio-art--business-cards .oa-studio-work:nth-child(n+3) img { object-fit:cover; }
 body.oa-site .oa-studio-photo-top .oa-studio-info { min-height:calc(var(--oa-panel-height)*.76); }
 body.oa-site .oa-studio-photo-feature { height:calc(var(--oa-panel-height)*.76);aspect-ratio:auto; }
 body.oa-site .oa-studio-photo-strip { padding-top:0;gap:0; }
 body.oa-site .oa-studio-photo-thumb { height:calc(var(--oa-panel-height)*.24 - 42px);aspect-ratio:auto; }
 body.oa-site .oa-studio-photo-label { height:42px;padding:10px 8px; }
}
@media (min-width:768px) and (max-width:1050px) {
 body.oa-site .oa-studio-services { --oa-panel-height:64vw; }
 body.oa-site .oa-studio-spread--brochures { --oa-panel-height:71.11vw; }
 body.oa-site .oa-studio-spread--menus,body.oa-site .oa-studio-spread--outdoor { --oa-panel-height:48vw; }
 body.oa-site .oa-studio-spread--business-cards { --oa-panel-height:51.2vw; }
 body.oa-site .oa-studio-spread { grid-template-columns:minmax(0,36fr) minmax(0,64fr); }
 body.oa-site .oa-studio-spread--reverse { grid-template-columns:minmax(0,64fr) minmax(0,36fr); }
 body.oa-site .oa-studio-services .oa-studio-title { font-size:32px; }
 body.oa-site .oa-studio-photo-top { grid-template-columns:minmax(0,36fr) minmax(0,64fr); }
 body.oa-site .oa-studio-photo-top .oa-studio-info { min-height:400px; }
 body.oa-site .oa-studio-photo-feature { height:400px; }
}

@media (min-width:1051px) {
 body.oa-site .oa-studio-work--product { background:linear-gradient(26.565deg,#d0d0d0 calc(50% - var(--oa-panel-height)*.34),#fff calc(50% + var(--oa-panel-height)*.185)); }
 body.oa-site .oa-studio-work--product img { position:absolute;width:auto;height:100%;max-width:none;left:50%;top:0;transform:translateX(-50%);object-fit:contain;mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent); }
}
/* At tablet proportions the original near-square framing fits the work best. */
@media (min-width:768px) and (max-width:1050px) {
 body.oa-site .oa-studio-work--square-sheet img { width:122%;max-width:none;left:-11%;top:-12.6%;transform:none; }
 body.oa-site .oa-studio-work--social-sheet img { width:120%;max-width:none;left:-10%;top:-14%;transform:none; }
 body.oa-site .oa-studio-work--flyer-sheet img,
 body.oa-site .oa-studio-work--brochure-sheet img { width:100%;max-width:none;left:0;top:-20%;transform:none; }
 body.oa-site .oa-studio-work--brochure-one img { width:100%;max-width:none;left:0;top:-18.5%;transform:none; }
 body.oa-site .oa-studio-art--business-cards .oa-studio-work:nth-child(-n+2) img { width:100%;max-width:none;height:100%;left:0;top:0;transform:none;clip-path:none;object-fit:cover;object-position:center 55%; }
}

/* The original square sheets use a white/grey 45-degree backdrop. Extend it to
   the tile edges when the complete work is narrower than the landscape cell.
   This preserves real artwork and avoids side bars without cropping the product. */
@media (min-width:1051px) {
 body.oa-site .oa-studio-work--square-sheet { --oa-sheet-seam:calc(var(--oa-panel-height)*.004384);background:linear-gradient(135deg,#fff calc(50% - var(--oa-sheet-seam)),#f3f3f5 calc(50% - var(--oa-sheet-seam))); }
 body.oa-site .oa-studio-work--social-sheet { background:linear-gradient(135deg,#fff 50%,#f3f3f5 50%); }
 body.oa-site .oa-studio-art--business-cards .oa-studio-work:nth-child(-n+2) { --oa-sheet-seam:calc(var(--oa-panel-height)*.004101);background:linear-gradient(135deg,#fff calc(50% - var(--oa-sheet-seam)),#f3f3f5 calc(50% - var(--oa-sheet-seam))); }
}

body.oa-site .oa-studio-container > :is(.oa-studio-spread,.oa-studio-photography) { margin-top:var(--oa-section-gap); }
