/* Community, developer projects and the screen worktable. */
.ec-page,.bs-studio {
  --ec-paper: #f6f5ef;
  --ec-ink: #191b21;
  --ec-navy: #27263d;
  --ec-line: #c6c7c1;
  --ec-pad: clamp(22px, 5.5vw, 92px);
  color: var(--ec-ink);
  background: var(--ec-paper);
}
.ec-page *, .bs-studio * {box-sizing:border-box}
.ec-page figure,.ec-page blockquote,.ec-page h1,.ec-page h2,.ec-page h3,.ec-page p,.ec-page dl,.ec-page dd {margin:0}
.ec-page a,.bs-studio a {color:inherit}
.ec-page img {display:block;max-width:100%}
.ec-page [hidden] {display:none!important}
.ec-page h1,.ec-page h2,.ec-page h3,.bs-studio .bs-intro h1,.bs-studio .bs-next h2 {
  font-family:var(--sa-sans);
  font-style:normal;
  font-weight:400;
  text-transform:none;
}
.ec-page h1,.bs-studio .bs-intro h1 {font-size:clamp(56px, 7.4vw, 126px);line-height:.94;letter-spacing:-.072em}
.ec-page h1 em {font:italic 1.025em/.94 var(--sa-serif);letter-spacing:-.085em}
.ec-page h2,.bs-studio .bs-next h2 {font-size:clamp(35px,4.15vw,73px);line-height:.99;letter-spacing:-.062em}
.ec-page h3 {font-size:clamp(23px,2.4vw,38px);line-height:1.05;letter-spacing:-.043em}
.ec-label,.ec-nav,.ec-fine,.ec-layer small,.ec-partner-hero figcaption,.bs-preview-top,.bs-preview-bottom span,.bs-preview-note {
  font:400 11px/1.5 var(--sa-mono);
}
.ec-label {text-transform:uppercase;letter-spacing:.085em}
.ec-nav {display:flex;align-items:center;gap:clamp(18px,3.2vw,57px);padding:12px var(--ec-pad);background:var(--ec-paper);color:var(--ec-ink);border-bottom:1px solid var(--ec-line);overflow:auto;white-space:nowrap;scrollbar-width:thin}
.ec-nav a {text-decoration:none;position:relative;font-size:11px;line-height:1.8}
.ec-nav a[aria-current="page"] {box-shadow:inset 0 -1px currentColor}
.ec-nav a:hover,.ec-lastlinks a:hover {text-decoration:underline;text-underline-offset:4px}
.ec-lead {display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:clamp(54px,7vw,120px) var(--ec-pad)}
.ec-lead h1 {margin:clamp(30px,4.4vw,70px) 0 clamp(22px,2.6vw,41px)}
.ec-lead>p:not(.ec-label),.ec-feature-copy>p:not(.ec-label):not(.ec-fine),.ec-project>div:last-child p,.ec-related>div>p:not(.ec-label) {max-width:40ch;font-size:clamp(16px,1.38vw,23px);line-height:1.48;letter-spacing:-.023em;text-wrap:pretty}
.ec-actions {display:flex;align-items:center;flex-wrap:wrap;gap:16px 27px;margin-top:30px}
.ec-button,.ec-link {display:inline-flex;align-items:center;justify-content:space-between;gap:16px;line-height:1.3;font-size:13px;text-decoration:none;letter-spacing:.005em;width:fit-content}
.ec-button {padding:13px 18px;background:var(--ec-ink);color:var(--ec-paper)!important;border:1px solid var(--ec-ink)}
.ec-button:hover {background:#3e4147}
.ec-link {padding:5px 0 4px;border-bottom:1px solid currentColor}
.ec-link:hover {opacity:.72}
.ec-community-hero {display:grid;grid-template-columns:1fr .94fr;background:var(--ec-navy);color:#f3efdf}
.ec-community-hero .ec-lead {padding-right:3vw}
.ec-community-hero .ec-button {background:#f3efdf;color:#252638!important;border-color:#f3efdf}
.ec-community-hero .ec-button:hover {background:#fff}
.ec-poster {min-width:0;align-self:stretch;display:flex;align-items:center;justify-content:center;background:#27263d}
.ec-poster img {width:100%;height:auto;max-height:min(82vh,740px);object-fit:contain}
.ec-places,.ec-lab,.ec-project,.ec-related {padding:clamp(58px,7vw,114px) var(--ec-pad)}
.ec-section-heading {display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:clamp(24px,3vw,48px)}
.ec-section-heading>p {max-width:36ch;font-size:15px;line-height:1.5}
.ec-directory {display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--ec-ink)}
.ec-directory-item {display:grid;grid-template: auto auto / minmax(95px,23%) minmax(0,1fr);gap:7px 14px;align-content:start;padding:26px 22px 27px 0;border-bottom:1px solid var(--ec-line);text-decoration:none;position:relative}
.ec-directory-item:nth-child(even) {padding-left:30px;border-left:1px solid var(--ec-line)}
.ec-directory-item>.ec-label {grid-row:1/3;padding-top:4px}
.ec-directory-item h3 {grid-column:2;font-size:clamp(22px,2vw,34px)}
.ec-directory-item p {grid-column:2;grid-row:2;font-size:14px;line-height:1.48;color:#53545a;max-width:38ch}
.ec-directory-item:hover h3,.ec-sample-grid article h3 a:hover {text-decoration:underline;text-underline-offset:4px}
.ec-starter,.ec-agent-hero,.ec-partner-hero {display:grid;grid-template-columns:1fr 1fr}
.ec-starter {background:#e9e6e0}
.ec-feature-copy {padding:clamp(35px,6vw,100px) var(--ec-pad);align-self:center}
.ec-feature-copy h2,.ec-related h2,.ec-project h2 {margin:20px 0}
.ec-feature-copy .ec-fine {max-width:46ch;margin-top:24px;color:#56575b}
.ec-iframe-wrap {display:grid;align-items:stretch;min-height:clamp(330px,39vw,650px);background:#dfddda}
.ec-iframe-wrap iframe {height:100%;width:100%;border:0;display:block}
.ec-filters {display:flex;gap:8px;flex-wrap:wrap}
.ec-filters button {font:inherit;font-size:12px;background:transparent;border:1px solid var(--ec-line);padding:7px 13px;color:var(--ec-ink)}
.ec-filters button[aria-pressed="true"] {color:var(--ec-paper);background:var(--ec-ink);border-color:var(--ec-ink)}
.ec-sample-grid {display:grid;gap:clamp(12px,2.5vw,40px);grid-template-columns:repeat(3,minmax(0,1fr))}
.ec-sample-image {width:100%;aspect-ratio:1.1;display:block;background:#e9e6e2;overflow:hidden}
.ec-sample-image img {width:100%;height:100%;object-fit:contain}
.ec-sample-grid article:nth-child(n+2) .ec-sample-image img {object-fit:cover}
.ec-sample-grid article>.ec-label {margin:18px 0 7px}
.ec-sample-grid article h3 a {text-decoration:none}
.ec-sample-grid article>p:last-child {max-width:39ch;font-size:14px;line-height:1.55;color:#4d4c51;margin-top:11px}
.ec-related {display:flex;justify-content:space-between;align-items:end;gap:24px;background:#e1e4e5}
.ec-related p:not(.ec-label) {max-width:50ch!important}
.ec-related>.ec-button {flex:none}
.ec-related .ec-actions {align-items:flex-start}
.ec-agent-hero {background:#e1e5e9}
.ec-agent-hero figure {min-width:0;height:100%;min-height:370px;background:#4b596f;overflow:hidden}
.ec-agent-hero figure img {width:100%;height:100%;object-fit:cover;object-position:53% center}
.ec-lab-wrap {display:grid;grid-template-columns:1fr 1.35fr;gap:clamp(32px,6vw,100px);border-top:1px solid var(--ec-ink)}
.ec-layer-controls {display:grid;align-content:start}
.ec-layer-controls button {display:flex;justify-content:space-between;align-items:center;color:#575c62;text-align:left;padding:18px 3px 18px 0;border:0;border-bottom:1px solid var(--ec-line);background:transparent;font-size:clamp(22px,3vw,50px);line-height:1.15;letter-spacing:-.05em}
.ec-layer-controls button[aria-pressed="true"] {color:var(--ec-ink)}
.ec-layer {padding-top:25px;min-height:280px}
.ec-layer h3 {margin:20px 0 12px}
.ec-layer>p:not(.ec-label),.ec-specs dd,.ec-partner-faq details p {font-size:16px;line-height:1.5;max-width:53ch}
.ec-layer blockquote {font:italic clamp(24px,2.3vw,37px)/1.14 var(--sa-serif);letter-spacing:-.025em;margin:21px 0}
.ec-layer small {display:block;color:#55575c}
.ec-agent .ec-places {background:#e9e9e3}
.ec-specs>div {display:grid;grid-template-columns:.7fr 1.5fr .7fr;align-items:start;gap:20px;border-top:1px solid var(--ec-line);padding:20px 0}
.ec-specs>div:last-child {border-bottom:1px solid var(--ec-line)}
.ec-specs dt {font-size:18px;letter-spacing:-.02em}
.ec-specs dd:last-child {justify-self:end}
.ec-lastlinks {display:flex;gap:28px;justify-content:center;flex-wrap:wrap;padding:34px var(--ec-pad)}
.ec-partner-hero {background:#eae7df}
.ec-partner-hero figure {min-width:0;position:relative;background:#d9d4cd;display:grid;justify-items:center;align-content:center;padding:clamp(23px,3.2vw,55px)}
.ec-partner-hero figure img {width:min(100%,580px);height:auto;aspect-ratio:1.2;object-fit:cover;object-position:50% 46%}
.ec-partner-hero figcaption {margin-top:12px;width:min(100%,580px)}
.ec-project {display:grid;grid-template-columns:1fr 1fr;gap:36px}
.ec-tidb-logo {width:108px;margin-top:24px}
.ec-project>div:last-child p+p {margin-top:18px}
.ec-project>div:last-child>a {margin-top:18px}
.ec-partner-faq {background:#e5e6e1}
.ec-partner-faq details {border-top:1px solid var(--ec-line);padding:17px 0}
.ec-partner-faq details:last-child {border-bottom:1px solid var(--ec-line)}
.ec-partner-faq summary {display:list-item;cursor:pointer;font-size:clamp(18px,1.6vw,26px);letter-spacing:-.024em}
.ec-partner-faq details p {margin:13px 0}
.ec-sr {position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden}
.ec-page :is(a,button,summary):focus-visible,.bs-studio :is(a,button,input):focus-visible {outline:2px solid #567cba;outline-offset:4px}

.bs-studio .bs-intro,.bs-studio .bs-controls {background:var(--ec-paper);color:var(--ec-ink)}
.bs-studio .bs-intro {padding:clamp(44px,5vw,83px) var(--ec-pad);border-color:var(--ec-line)}
.bs-studio .bs-intro h1 {line-height:.96;margin:0;font-size:clamp(52px,6.8vw,100px)}
.bs-studio .bs-intro>div:last-child p {font-size:clamp(16px,1.35vw,21px);max-width:40ch}
.bs-studio .bs-intro>div:last-child a {font-size:13px;font-weight:400}
.bs-studio .bs-preview-area {background:#dadcda;border-color:var(--ec-line);min-height:630px;top:65px}
.bs-studio .bs-object {min-height:450px}
.bs-studio .bs-hardware {padding:7px;background:linear-gradient(150deg,#666d76 0%,#e4e6e9 13%,#b1b6bf 35%,#4a5059 60%,#b6bbc0 85%,#e4e5e5 100%);box-shadow:3px 5px 1px #313337,13px 20px 25px #27293638}
.bs-studio :is(.bs-small,.bs-file-info small,.bs-preview-note) {color:#505359;opacity:1}
.bs-studio .bs-controls {padding:32px clamp(22px,4vw,70px)}
.bs-studio .bs-templates button {border-radius:0;border-color:var(--ec-line);font-size:13px}
.bs-studio .bs-templates button[aria-pressed="true"],.bs-studio .bs-primary,.bs-studio .bs-device-options button[aria-pressed="true"] {background:var(--ec-ink);color:var(--ec-paper);border-color:var(--ec-ink)}
.bs-studio .bs-field input,.bs-studio .bs-actions button,.bs-studio .bs-upload {border-color:#9da09d}
.bs-studio .bs-color-row button[aria-pressed="true"] {outline-color:var(--ec-ink)}
.bs-studio .bs-secondary {color:var(--ec-ink);background:transparent}
.bs-studio .bs-secondary:hover {background:#e5e4df}
.bs-studio .bs-next {background:#e2e3dd;border-color:var(--ec-line);padding:clamp(45px,5.5vw,90px) var(--ec-pad)}
.bs-studio .bs-next .eyebrow {font:400 11px/1.4 var(--sa-mono);letter-spacing:.08em;text-transform:uppercase}
.bs-studio .bs-next h2 {margin-top:15px}
.bs-studio .bs-preview-top,.bs-studio .bs-preview-bottom span,.bs-studio .bs-preview-note {letter-spacing:0}
.bs-studio .bs-device-options {display:block}
.bs-studio .bs-device-options button {cursor:default;background:transparent!important;color:var(--ec-ink)!important;border:0;padding:0}
.bs-studio .bs-device-options b {font-size:18px;font-weight:500}
.bs-studio .bs-device-options span {color:#50545a}
@media(max-width:800px){
  .ec-directory-item {grid-template-columns:1fr;gap:8px}
  .ec-directory-item>.ec-label {grid-row:1;grid-column:1}
  .ec-directory-item h3 {grid-row:2;grid-column:1}
  .ec-directory-item p {grid-row:3;grid-column:1}
  .ec-community-hero {grid-template-columns:1.05fr 1fr}
  .ec-related {align-items:start;flex-direction:column}
  .ec-related .ec-actions {margin-top:5px}
  .ec-lead .ec-actions {gap:12px 20px}
}
@media(max-width:650px){
  .ec-community-hero,.ec-agent-hero,.ec-partner-hero,.ec-starter,.ec-project {grid-template-columns:1fr}
  .ec-nav {padding:9px 22px}
  .ec-lead,.ec-community-hero .ec-lead {padding:42px 22px 38px}
  .ec-lead h1 {margin:24px 0 20px}
  .ec-community-hero .ec-lead>p:not(.ec-label) {max-width:36ch}
  .ec-community-hero .ec-poster img {height:min(106vw,480px);width:100%;padding:10px 0 17px}
  .ec-section-heading {align-items:start;flex-direction:column;gap:15px}
  .ec-directory {grid-template-columns:1fr}
  .ec-directory-item,.ec-directory-item:nth-child(even) {padding:18px 0;border-left:0;grid-template-columns:70px minmax(0,1fr)}
  .ec-directory-item>.ec-label {grid-row:1/3;grid-column:1}
  .ec-directory-item h3 {grid-row:1;grid-column:2}
  .ec-directory-item p {grid-row:2;grid-column:2}
  .ec-feature-copy {padding:37px 22px 46px}
  .ec-iframe-wrap {min-height:326px;order:2}
  .ec-starter .ec-feature-copy {order:1}
  .ec-sample-grid {grid-template-columns:1fr;gap:28px}
  .ec-sample-grid article {display:grid;grid-template-columns:100px 1fr;gap:5px 15px;align-items:start}
  .ec-sample-image {height:120px;aspect-ratio:auto;grid-row:1/4}
  .ec-sample-grid article>.ec-label,.ec-sample-grid article>p:last-child {margin:0}
  .ec-sample-grid article h3 {font-size:22px}
  .ec-sample-grid article>p:last-child {font-size:13px}
  .ec-agent-hero figure {min-height:220px;height:58vw;max-height:350px}
  .ec-partner-hero figure {padding:19px 22px 22px}
  .ec-lab-wrap {grid-template-columns:1fr;gap:4px}
  .ec-layer-controls {display:flex;border-bottom:1px solid var(--ec-line)}
  .ec-layer-controls button {flex:1;display:block;text-align:center;border:0;padding:12px 6px;font-size:18px}
  .ec-layer-controls button[aria-pressed="true"] {box-shadow:inset 0 -2px var(--ec-ink)}
  .ec-layer {min-height:240px}
  .ec-specs>div {grid-template-columns:1fr;gap:8px}
  .ec-specs dd:last-child {justify-self:start}
  .ec-project {gap:18px}
  .bs-studio .bs-preview-area {min-height:380px}
  .bs-studio .bs-object {min-height:285px}
}

/* The indigo wing is from the printed Touch & Play campaign. */
.ec-community {--ec-navy:#11174c; --ec-paper:#f7f6f2; --ec-ink:#161728; --ec-pad:clamp(24px,5vw,88px)}
.ec-community .ec-nav {font-size:13px; background:#f7f6f2}
.ec-community .ec-nav a {font-size:12px}
.ec-community .ec-community-hero {grid-template-columns:.98fr 1.02fr; background:#08284c; color:#f7f5e9}
.ec-community .ec-community-hero .ec-lead {padding:clamp(42px,5vw,90px) var(--ec-pad); min-height:clamp(420px,42vw,720px)}
.ec-community .ec-lead h1 {margin:clamp(32px,4vw,66px) 0 24px; font-size:clamp(68px,8.2vw,142px); line-height:.93; color:inherit}
.ec-community .ec-lead h1 em {color:#d9e5ff}
.ec-community .ec-label {font-size:12px; letter-spacing:.09em}
.ec-community .ec-lead > p:not(.ec-label) {max-width:34ch}
.ec-community .ec-actions {gap:14px 23px}
.ec-community .ec-button, .ec-community .ec-link {font-size:14px}
.ec-community .ec-button {min-height:42px; padding:10px 18px}
.ec-community .ec-poster {position:relative; display:block; overflow:hidden; background:#193581}
.ec-community .ec-poster img {position:absolute; inset:0; width:100%; height:100%; max-height:none; object-fit:cover; object-position:50% 43%; padding:0}
.ec-community .ec-worktable,.ec-community .ec-samples,.ec-community .ec-releases {padding-block:clamp(48px,6vw,98px)}
.ec-community .ec-starter {background:#dfe6ff}
.ec-community .ec-feature-copy h2, .ec-community .ec-section-heading h2, .ec-community .ec-developer h2 {line-height:1.04}
.ec-community .ec-directory {border-top:1px solid #202033}
.ec-community .ec-directory-item {border-bottom-color:#bdbeca}
.ec-community .ec-directory-item p, .ec-community .ec-section-heading > p {font-size:16px}
.ec-community .ec-sample-grid article > p:last-child {font-size:16px; color:#464451}
.ec-community .ec-developer {
  display:grid; grid-template-columns:.8fr 1.2fr; align-items:center; gap:clamp(26px,5vw,90px);
  background:#20223c; color:#faf8ec; padding:clamp(50px,6vw,98px) var(--ec-pad);
}
.ec-community .ec-developer h2 {margin:18px 0 22px}
.ec-community .ec-developer-copy > p:not(.ec-label) {font-size:clamp(16px,1.25vw,22px); line-height:1.47; max-width:34ch; text-wrap:pretty}
.ec-community .ec-developer .ec-button {background:#dbe4ff; border-color:#dbe4ff; color:#14183f!important}
.ec-community .ec-developer figure {min-width:0}
.ec-community .ec-developer figure img {width:100%; height:auto}
.ec-community .ec-developer figcaption {margin-top:10px; font:13px/1.4 var(--sa-mono); color:#e3e3ef}
@media (max-width:800px) {
  .ec-community .ec-directory-item p {font-size:15px}
  .ec-community .ec-developer {grid-template-columns:1fr 1fr}
}
@media (max-width:650px) {
  .ec-community .ec-community-hero {grid-template-columns:1fr}
  .ec-community .ec-community-hero .ec-lead {min-height:0; padding:31px var(--ec-pad) 30px}
  .ec-community .ec-lead h1 {margin:22px 0 13px; font-size:clamp(43px,10.4vw,66px)}
  .ec-community .ec-lead h1 br {display:none}
  .ec-community .ec-lead .ec-actions {margin-top:17px}
  .ec-community .ec-poster {height:clamp(210px,60vw,318px)}
  .ec-community .ec-community-hero .ec-poster img {position:absolute; height:100%; padding:0; object-position:50% 41%}
  .ec-community .ec-directory-item, .ec-community .ec-directory-item:nth-child(even) {grid-template-columns:53px minmax(0,1fr); column-gap:9px}
  .ec-community .ec-directory-item .ec-label {font-size:11px; letter-spacing:.04em}
  .ec-community .ec-developer {grid-template-columns:1fr}
  .ec-community .ec-developer .ec-actions {margin-top:22px}
  .ec-community .ec-developer h2 {margin:12px 0 14px}
}
.ec-community {background:#f6f5ef}
.ec-community .hp-subnav {--hp-gutter:var(--ec-pad);--hp-blue:#213e79;--hp-line:#c8c7bf}
.ec-source-mast {display:flex;align-items:end;justify-content:space-between;gap:28px;padding:clamp(35px,5vw,90px) var(--ec-pad) clamp(26px,3.7vw,66px)}
.ec-source-mast h1 {font-size:clamp(58px,8vw,142px);letter-spacing:-.074em;line-height:.95}
.ec-source-mast h1 em,.ec-source-study h2 em {font-family:var(--sa-serif);font-weight:400;color:#264e73}
.ec-source-mast>p {max-width:36ch;font-size:clamp(16px,1.4vw,23px)}
.ec-source-study {display:grid;grid-template-columns:1fr .9fr;gap:clamp(28px,7vw,125px);align-items:center;padding:0 var(--ec-pad) clamp(28px,4vw,74px)}
.ec-source-study figure {min-width:0}
.ec-source-study iframe {display:block;width:100%;aspect-ratio:1.4;border:0;background:#e7e4da}
.ec-source-study figcaption {font:.79rem/1.3 var(--sa-mono);margin-top:7px}
.ec-source-study h2 {font-size:clamp(44px,5.6vw,100px);letter-spacing:-.065em;margin:12px 0}
.ec-source-study>div>p:not(.ec-label) {max-width:39ch;font-size:clamp(16px,1.25vw,21px)}
.ec-source-links {display:flex;align-items:center;flex-wrap:wrap;gap:12px 29px;padding:15px var(--ec-pad);border-block:1px solid #b8b9b3}
.ec-source-links a {text-decoration:underline;text-underline-offset:.25em}
.ec-community .ec-developer {background:#f6f5ef}
.ec-community .ec-releases {background:#e9e8e2}
.ec-community .ec-releases .ec-directory-item {grid-template-columns:minmax(55px,20%) minmax(0,1fr)}
@media(max-width:720px){
 .ec-source-mast {display:block;padding:28px 20px 20px}.ec-source-mast h1{font-size:clamp(50px,12vw,75px)}.ec-source-mast>p{margin-top:12px}
 .ec-source-study {grid-template-columns:1fr;padding:0 20px 25px;gap:18px}.ec-source-study h2{margin:7px 0 10px}.ec-source-study iframe{aspect-ratio:1.55}
 .ec-source-links {padding:15px 20px;gap:10px 17px}
}

/* The community begins with a wearable, its maker and the screen it can hold. */
.cw-page {
  --cw-paper: var(--sa-paper, #f6f4ee);
  --cw-ink: var(--sa-ink, #211d21);
  --cw-berry: var(--sa-accent, #683347);
  --cw-rule: var(--sa-rule, #d7d2cc);
  --cw-gutter: clamp(22px,5.2vw,90px);
  --cw-room: clamp(34px,5.5vw,96px);
  background: var(--cw-paper);
  color: var(--cw-ink);
  font-family: var(--sa-sans);
}
.cw-page h1,.cw-page h2 {font-weight:400;letter-spacing:-.062em;line-height:1.02}
.cw-page h1 {font-size:clamp(3.25rem,6.5vw,7.6rem)}
.cw-page h2 {font-size:clamp(2.25rem,4.25vw,5.1rem)}
.cw-page h1 em,.cw-page h2 em {
  font:italic 1.025em/1 var(--sa-serif);letter-spacing:-.07em;color:var(--cw-berry);
}
.cw-page p:not(.cw-label) {font-size:clamp(1rem,1.25vw,1.25rem);line-height:1.52;text-wrap:pretty}
.cw-label {font:500 .78rem/1.5 var(--sa-mono);letter-spacing:.07em;text-transform:uppercase}
.cw-actions {display:flex;align-items:center;flex-wrap:wrap;gap:.75rem 1.55rem}
.cw-page :is(.cw-link,.cw-primary,.cw-crumb a) {
  display:inline-flex;align-items:center;min-height:44px;font-size:1rem;
  line-height:1.35;letter-spacing:0;text-decoration:none;
}
.cw-page .cw-link,.cw-page .cw-crumb a {text-decoration:underline;text-underline-offset:.26em;text-decoration-thickness:1px}
.cw-page .cw-primary {background:var(--cw-ink);color:var(--cw-paper);padding:.75rem 1.18rem;width:fit-content}
.cw-page .cw-primary:hover {background:var(--cw-berry)}
.cw-page .cw-link:hover,.cw-crumb a:hover {color:var(--cw-berry)}
.cw-page :is(a,iframe):focus-visible {outline:3px solid #295d85;outline-offset:4px}
.cw-mast,.cw-feature,.cw-shelf,.cw-invitations,.cw-detail-hero,.cw-screen,.cw-remix {
  padding-inline:var(--cw-gutter);
}
.cw-mast {
  display:grid;grid-template-columns:minmax(0,1fr) clamp(270px,min(42vw,58svh),500px);
  align-items:center;gap:clamp(27px,5.5vw,100px);max-width:1460px;margin-inline:auto;
  padding-block:clamp(18px,2.3vw,40px) clamp(24px,3.1vw,54px);
}
.cw-mast-copy {min-width:0}
.cw-mast-copy h1 {font-size:clamp(3.7rem,7.2vw,8rem);line-height:.95}
.cw-mast-copy h1 em {display:block}
.cw-mast-copy p {max-width:37ch;margin:clamp(1.1rem,2.1vw,2.15rem) 0}
.cw-mast-portrait {
  width:100%;height:auto;aspect-ratio:.78;object-fit:cover;object-position:50% 5%;
  background:#c5c3bf;
}
.cw-feature {
  display:grid;grid-template-columns:minmax(0,1.06fr) minmax(0,1fr);align-items:center;
  gap:clamp(20px,5vw,85px);padding-block:clamp(26px,3.25vw,52px);border-top:1px solid var(--cw-rule);
}
.cw-feature h2 {margin-top:.35rem}
.cw-feature-copy {max-width:44ch}
.cw-feature-copy .cw-link {margin-top:.35rem}
.cw-project-study img {display:block;width:100%;height:auto}
.cw-shelf {border-block:1px solid var(--cw-rule);padding-block:clamp(27px,4vw,64px)}
.cw-section-head,.cw-remix {display:flex;justify-content:space-between;gap:1.5rem 3rem;align-items:center}
.cw-section-head h2,.cw-invitations h2,.cw-remix h2 {font-size:clamp(2.2rem,3.45vw,4.25rem)}
.cw-shelf .cw-list-note {color:#574e52;font-size:1rem;margin-top:1.15rem;max-width:66ch}
.cw-latest {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem;margin-top:1.6rem}
.cw-latest-work {
  display:flex;align-items:center;gap:clamp(.8rem,1.4vw,1.4rem);min-width:0;
  padding-block:1.1rem;border-block-start:1px solid var(--cw-rule);text-decoration:none;
}
.cw-latest-work>span {display:grid;gap:.35rem;overflow-wrap:anywhere;min-width:0}
.cw-latest-work strong {font-size:clamp(1.25rem,1.85vw,2rem);line-height:1.1;font-weight:500;letter-spacing:-.034em}
.cw-latest-work>span>span {font-size:.93rem;line-height:1.35}
.cw-latest-work img {width:clamp(65px,6vw,104px);height:auto;aspect-ratio:1;object-fit:cover}
.cw-latest-work:hover strong {text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.15em}
.cw-invitations {display:grid;grid-template-columns:1fr 1fr;padding-block:var(--cw-room);gap:var(--cw-room)}
.cw-invitations>div+div {border-left:1px solid var(--cw-rule);padding-left:var(--cw-room)}
.cw-invitations p {max-width:38ch;margin:.9rem 0 .35rem}
.cw-crumb {display:flex;align-items:center;gap:.7rem;padding:1rem var(--cw-gutter) 0;font-size:.92rem}
.cw-detail-hero {
  display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1fr);align-items:center;
  gap:clamp(28px,6vw,105px);padding-top:1rem;padding-bottom:var(--cw-room);
}
.cw-detail-copy {max-width:47ch}
.cw-detail-copy h1 {margin:.9rem 0 1.25rem}
.cw-detail-copy .cw-actions {margin-top:1.6rem}
.cw-credits {display:grid;margin-top:1.55rem!important;max-width:42rem;border-bottom:1px solid var(--cw-rule)}
.cw-credits>div {display:grid;grid-template-columns:minmax(80px,.8fr) 2fr;gap:1rem;padding:.7rem 0;border-top:1px solid var(--cw-rule)}
.cw-credits dt {font-size:.88rem}
.cw-credits dd {font-size:.94rem;font-weight:550}
.cw-project-study {min-width:0}
.cw-screen {
  display:grid;grid-template-columns:minmax(0,.87fr) minmax(0,1fr);gap:clamp(32px,6vw,105px);
  align-items:center;background:#202b37;color:#f5f0e6;padding-block:var(--cw-room);
}
.cw-screen>div:last-child {max-width:40ch}
.cw-screen h2 {margin:.55rem 0 1.25rem}
.cw-screen h2 em {color:#e3bfc9}
.cw-screen .cw-link {margin-top:1rem}
.cw-screen .cw-link:hover {color:#f2cbd5}
.cw-stitch-demo {width:min(100%,360px);justify-self:center;text-align:center}
.cw-playface {
  position:relative;isolation:isolate;width:100%;aspect-ratio:1;border-radius:50%;
  border:clamp(3px,.36vw,6px) solid #b7bab9;background:#1b2638;box-shadow:0 0 0 1px #0e1725;
}
.cw-playface:focus-within {outline:3px solid #fff;outline-offset:5px}
.cw-playface iframe,.cw-stitch-start,.cw-stitch-start img {
  position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:50%;
}
.cw-playface iframe {background:#17202c}
.cw-stitch-start {
  display:grid;place-items:end center;overflow:hidden;padding:0 0 16%;
  color:#231c20;background:#1b2638;cursor:pointer;touch-action:manipulation;
}
.cw-stitch-start img {object-fit:cover}
.cw-stitch-start span {
  position:relative;display:inline-flex;align-items:center;gap:.55em;padding:.6em .95em;
  font:600 clamp(.94rem,1.2vw,1.08rem)/1.12 var(--sa-sans);border-radius:2em;background:#fbf3e6;
}
.cw-stitch-start span::before {
  content:"";width:0;height:0;border-block:.32em solid transparent;border-left:.52em solid currentColor;
}
.cw-stitch-start:hover span {background:#fff}
.cw-stitch-close {
  margin-top:.45rem;padding:.45rem .8rem;min-height:44px;
  background:none;color:inherit;border:0;text-decoration:underline;text-underline-offset:.28em;
  font:inherit;cursor:pointer;
}
.cw-stitch-close:focus-visible {outline:2px solid currentColor}
.cw-screen p.cw-stitch-status {font-size:.93rem;margin:.7em auto 0;max-width:33ch}
.cw-screen .cw-stitch-status:empty {display:none}
.cw-screen p.cw-stitch-keys {font-size:.94rem;color:#d6dce1;margin-top:1em}
.cw-remix {padding-block:var(--cw-room)}
.cw-remix p {max-width:43ch;margin-top:.8rem}
.cw-remix-links {min-width:0;max-width:100%}
.cw-page .cw-copy-link {display:inline-flex;padding:0;border:0;background:transparent;color:inherit;font-family:inherit;cursor:pointer}
.cw-remix .cw-copy-status {margin:.2rem 0;font-size:.92rem}
.cw-copy-fallback label {display:grid;gap:.4rem;font-size:.9rem}
.cw-copy-fallback input {width:100%;max-width:36rem;min-width:0;border:1px solid var(--cw-rule);padding:.6rem;background:white;color:var(--cw-ink);font:inherit}
.cw-remix .cw-copy-status:empty {margin:0}
@media(max-width:760px) {
  .cw-detail-hero {grid-template-columns:1fr;gap:1.35rem}
  .cw-section-head,.cw-remix {align-items:flex-start;flex-direction:column;gap:.8rem}
  .cw-latest {grid-template-columns:1fr;gap:0}
  .cw-invitations {grid-template-columns:1fr;gap:1.65rem}
  .cw-invitations>div+div {border:0;border-top:1px solid var(--cw-rule);padding:1.65rem 0 0}
  .cw-detail-hero {padding-top:.85rem}
  .cw-detail-copy h1 {margin:.52rem 0 .8rem}
  .cw-detail-copy {max-width:54ch}
  .cw-credits {margin-top:1rem!important}
  .cw-detail-copy .cw-actions {margin-top:1rem}
  .cw-screen {display:flex;flex-direction:column-reverse;align-items:start;gap:1.7rem}
  .cw-stitch-demo {align-self:center;width:min(95%,332px)}
  .cw-screen h2 {margin:.45rem 0 .7rem}
  .cw-screen .cw-link {margin-top:.4rem}
}
@media(max-width:640px) {
  .cw-mast {grid-template-columns:minmax(0,1fr);gap:1rem;padding-block:1.3rem 1.25rem}
  .cw-mast-copy h1 {font-size:clamp(2.65rem,9.2vw,3.65rem);line-height:1}
  .cw-mast-copy h1 em {display:inline}
  .cw-mast-copy p {margin:.65rem 0 .75rem;max-width:46ch}
  .cw-mast-copy .cw-actions {gap:.3rem 1rem}
  .cw-mast-portrait {width:min(100%,440px);aspect-ratio:.79;justify-self:center}
  .cw-feature {grid-template-columns:minmax(0,1fr);gap:.65rem}
}
