/* Route layouts and the public Product Craft FluidTabs adaptation. */
html,body{max-width:100%}main{overflow-x:clip}button,input,textarea{font:inherit}button,a,input{touch-action:manipulation}[hidden]{display:none!important}a,button{min-height:44px}a{overflow-wrap:anywhere}button{color:inherit}.page-heading{padding-top:150px;padding-bottom:35px}.page-heading h1,.detail-copy h1,.project-detail h1{font-size:clamp(42px,5vw,76px);overflow-wrap:anywhere}.page-heading p{margin-top:24px}.section-intro:empty{display:none}.filter-row{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;align-items:center}.tabs{display:flex;position:relative;gap:4px;padding:4px;max-width:100%;overflow-x:auto;background:#211b17;border-radius:2px;isolation:isolate}.tabs button{position:relative;z-index:1;border:0;background:transparent;color:#bfb3a0;padding:10px 24px;min-height:48px;white-space:nowrap}.tabs button[aria-selected=true]{color:#0e0c0b;background:#f2e8d5}.capsule{position:absolute;left:0;top:4px;bottom:4px;background:#f2e8d5;transition:transform .25s,width .25s;z-index:0;pointer-events:none}.c2 .tabs{background:#efe8dd;border-radius:3px}.c2 .tabs button{color:#3a3f44;border-radius:2px}.c2 .tabs button[aria-selected=true],.c2 .capsule{background:#1e5f8f;color:#fff}.c2 .capsule{border-radius:2px}.count{font-size:13px;margin:20px 0}.sold-toggle{display:flex;align-items:center;gap:10px;min-height:44px;font-size:13px}.sold-toggle input{width:24px;height:24px;accent-color:#2f6b3a}.media-empty{display:grid;place-items:center;min-height:250px;height:100%;padding:25px;background:repeating-linear-gradient(45deg,#92837218 0 2px,transparent 2px 6px);color:inherit;text-align:center}.card-media video.is-playing{opacity:1}.c1:not(.is-home) .site-header{position:relative;background:#17120f}.c1:not(.is-home) .page-heading{padding-top:65px}.c2 .page-heading{padding-top:60px}.piece-detail{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:7%;align-items:start}.detail-section{padding-top:50px}.breadcrumbs{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:35px;font-size:13px}.breadcrumbs a{display:inline-flex;align-items:center}.detail-copy .price{font-size:22px}.detail-copy>p,.detail-copy>div{margin-top:24px}.detail-copy .actions{margin:28px 0}.detail-copy h2{font-size:36px;margin:24px 0 15px}.detail-media .card-media{aspect-ratio:4/5}.gallery-photo{width:100%;aspect-ratio:4/5;object-fit:cover}.gallery-thumbs{display:flex;gap:12px;overflow-x:auto;padding:14px 4px}.gallery-thumbs button{border:2px solid transparent;background:none;padding:0;flex:0 0 75px}.gallery-thumbs button[aria-pressed=true]{border-color:currentColor}.gallery-thumbs img{width:75px;height:85px;object-fit:cover}dl{margin:25px 0}dl>div{display:grid;grid-template-columns:130px minmax(0,1fr);padding:15px 0;border-bottom:1px solid #92837255;gap:20px}dt{font-weight:600}dd{margin:0;white-space:pre-line}.care-link{display:inline-flex;align-items:center;text-decoration:underline}.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:40px}.project-grid h2{font-size:36px;margin:24px 0}.project-grid p{white-space:pre-line;margin:20px 0}.project-grid img{width:100%;height:350px;object-fit:cover}.project-detail{max-width:1100px;margin:auto}.project-detail>img{margin:30px 0;max-height:800px}.project-detail>p{white-space:pre-line;margin:25px 0}.about-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:8%}.portrait{width:100%;max-height:700px;object-fit:cover}.about-layout h2{font-size:40px;margin:28px 0}.about-layout p{margin:20px 0;white-space:pre-line}.about-process{display:flex;gap:15px;margin-top:35px}.about-process img{max-width:45%;object-fit:cover}.help-tabs{display:flex;gap:25px;flex-wrap:wrap;margin-bottom:40px}.help-tabs a{display:flex;align-items:center;border-bottom:2px solid transparent}.help-tabs [aria-current=page]{border-color:currentColor}.help-content article{max-width:850px;margin-bottom:35px}.help-content article>p{margin:25px 0;white-space:pre-line}.help-content h2{font-size:42px}.brief-wrap{padding:20px 6% 80px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:8%}.brief fieldset{border:0;padding:0;margin:0 0 30px}.brief legend,.brief label{font-weight:600}.brief input:not([type=radio]),.brief textarea{display:block;width:100%;padding:14px;margin-top:10px;background:transparent;color:inherit;border:1px solid #928372;border-radius:8px;min-height:48px}.chips{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.chips label{display:flex;align-items:center;gap:8px;min-height:44px;border:1px solid #928372;padding:8px 12px;border-radius:24px;font-size:13px}.field{margin:24px 0}.pair{display:grid;grid-template-columns:1fr 1fr;gap:20px}.hint,.opt,.note{font-size:13px}.hint{margin-top:8px}.brief .btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:14px 25px;min-height:52px;background:#f2e8d5;color:#0e0c0b;border:0;border-radius:2px;font-weight:600}.c2 .brief .btn{background:#1e5f8f;color:#fff;border:1px solid #1e5f8f;border-radius:3px}.icon{width:24px;height:24px;fill:currentColor}.msg-preview{padding:30px;background:#211b17}.c2 .msg-preview{background:#efe8dd;border-radius:3px}.msg-preview h2{font-size:34px;margin-bottom:25px}.phone .bubble{white-space:pre-wrap;max-width:100%;margin-bottom:25px}.next{padding-left:20px;font-size:13px}.next li{margin:15px 0}.err{color:#ffbaa6;font-size:13px}.c2 .err{color:#33383d}.err-summary{padding:20px;border:2px solid currentColor}.err-summary h2{font-size:26px}.toast{opacity:0;pointer-events:none}.toast.is-on{opacity:1}.toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#f2e8d5;color:#0e0c0b;padding:14px 24px;z-index:20}.story-indicator{height:2px;flex:1;background:#f2e8d54d}.story-indicator.active{background:#e1c5ac}.story-bars{padding:22px 0}.hero-film{transition:opacity .4s ease}.c1 .hero-film:not(.is-current),.c1 .hero-film:not(.is-playing){opacity:0}.c1 .hero-film.is-current.is-playing{opacity:1}.c2 .footer-logo{filter:none}.process-tiles figure>img{width:100%;height:430px;object-fit:cover}.c1 .process-feature video{position:relative}.c1 .story-caption .mode{display:inline;font-size:11px}.c1 .story-caption>span:last-child{font-size:11px}.c1 .story-caption .mode{color:#bfb3a0}.price{white-space:normal}.c2 .card-copy .mode{font-size:11px;color:#3a3f44}.c1 .card-copy .mode{font-size:10px;color:#bfb3a0}.c1 .catalogue .piece-grid{display:grid}.c1 .catalogue .piece-card{min-width:0}.c1 .catalogue .card-media{aspect-ratio:3/4.6}@keyframes film-reveal{from{opacity:0}to{opacity:1}}
@media(max-width:900px){.piece-detail{gap:5%}.brief-wrap{gap:5%}.pair{grid-template-columns:1fr}.c1 .hero h1{font-size:clamp(42px,7vw,75px)}}
@media(max-width:650px){.page-heading{padding-top:45px;padding-bottom:20px}.piece-detail,.about-layout,.brief-wrap{grid-template-columns:1fr}.detail-copy{margin-top:25px}.detail-section{padding-top:30px}.detail-copy h1{font-size:42px}.detail-copy h2{font-size:32px}.gallery-thumbs{max-width:100%}.brief-wrap{padding-top:10px;gap:35px}.msg-preview{padding:24px}.project-grid{grid-template-columns:1fr}.help-tabs{gap:14px;font-size:13px}.c1 .catalogue .piece-grid{grid-template-columns:1fr 1fr;gap:12px;padding:0}.c1 .catalogue .card-copy{position:relative;padding:16px 12px;background:#211b17}.c1 .catalogue .card-copy h3{font-size:24px}.c1 .catalogue .card-media{aspect-ratio:4/5}.c1 .hero h1{font-size:clamp(40px,11vw,56px)}.c1 .hero-copy{bottom:25%}.c1 .hero{min-height:820px}.c2 .hero h1{font-size:clamp(36px,9vw,48px)}.c2 .process-tiles figure>img{height:420px}dl>div{grid-template-columns:110px minmax(0,1fr);gap:12px}.filter-row{gap:12px}.tabs button{padding-inline:18px}.about-layout{gap:25px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.hero-poster{visibility:visible}}
.detail-copy a:not(.button),.about-layout a,.project-detail>a{display:inline-flex;align-items:center;min-height:44px}.detail-copy dd a{display:inline-flex}.c1 .hero-films{background:#211b17}
.page-heading+.catalogue{padding-top:0}

/* Shared project media keeps its poster until motion is playing in view. */
.project-media{position:relative;aspect-ratio:3/4;overflow:hidden;width:100%;background:#292925}
.project-media img,.project-media video{display:block;width:100%;height:100%;object-fit:cover}
.project-media video{position:absolute;inset:0;opacity:0}
.project-media video.is-playing{opacity:1}
.project-photo{display:block;position:relative;text-decoration:none}
.project-piece,.all-projects{display:inline-flex;align-items:center;min-height:44px;text-underline-offset:6px}
.all-projects{margin-top:32px}
.project-caption p{max-width:42ch;line-height:1.65}
.project-gallery{display:flex;flex-wrap:wrap;gap:24px;margin:40px 0}
.project-gallery img{width:min(100%,400px);height:auto;object-fit:cover}
.project-detail>.project-media{max-width:620px;margin:32px auto}
.project-detail>p{max-width:55ch;line-height:1.7}
.project-strip:focus-visible{outline:2px solid currentColor;outline-offset:8px}
@media(prefers-reduced-motion:reduce){.project-media video{display:none}}
.customer-honey{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%);white-space:nowrap}
.customer-photos{min-width:0}.customer-photos input[type=file]{max-width:100%;font-size:14px}.customer-photo-strip{display:flex;flex-wrap:wrap;gap:16px;list-style:none;padding:0;margin:20px 0}.customer-photo-strip li{flex:0 1 130px;min-width:0}.customer-photo-strip img{width:130px;height:130px;object-fit:cover;border-radius:8px}.customer-photo-strip button{min-height:44px;max-width:100%;padding:10px;border:1px solid currentColor;background:transparent;color:inherit;font:inherit;cursor:pointer}.customer-photos [role=alert]{overflow-wrap:anywhere}.brief .btn:disabled{opacity:.65;cursor:wait}.brief a:focus-visible,.customer-photos :focus-visible{outline:3px solid currentColor;outline-offset:4px}

.brief .brief-fields{border:0;padding:0;margin:0;min-width:0;width:100%}.brief .brief-fields>legend{padding:0}
.customer-photos{position:relative}.customer-photos .customer-file{position:absolute!important;left:0;top:0;width:1px!important;height:1px!important;padding:0!important;margin:0!important;border:0!important;opacity:0;overflow:hidden;clip-path:inset(50%)}
.customer-add{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:0 22px;border:2px dashed currentColor;border-radius:999px;font-weight:700;cursor:pointer;margin-top:4px}
.customer-file:focus-visible+.customer-add{outline:3px solid currentColor;outline-offset:3px}
.customer-file:disabled+.customer-add{opacity:.55;cursor:default}
.customer-photo-strip button{min-height:44px;background:none;border:0;padding:6px 0;color:inherit;text-decoration:underline;text-underline-offset:4px;cursor:pointer}

/* Market adapts inherited controls without changing Story's shared defaults. */
.c2 .sold-toggle input,.c2 .chips input{accent-color:#1e5f8f}
.c2 .media-empty{background:#efe8dd}
.c2 dl>div{border-color:#ddd3c4}
.c2 .brief input:not([type=radio]),.c2 .brief textarea{border-color:#ddd3c4;border-radius:3px;background:#f7f4ef}
.c2 .chips label{border-color:#ddd3c4;border-radius:3px}
.c2 .chips label:has(input:checked){background:#8ccaf0;border-color:#1e5f8f}
.c2 .customer-add{border-color:#1e5f8f;border-radius:3px;color:#1e5f8f}
.c2 .customer-photo-strip img{border-radius:3px}
.c2 .brief .btn:hover{background:#1e5f8f;color:#fff;text-decoration:underline;text-underline-offset:4px}
.c2 .toast{background:#1e5f8f;color:#fff}
.c2 .project-media{background:#efe8dd}

/* Charcoal changes only Market controls; the shared A/Story defaults stay intact. */
[data-palette=charcoal] .c2 .tabs{background:var(--market-surface);border:1px solid var(--market-line)}
[data-palette=charcoal] .c2 .tabs button{color:var(--market-text)}
[data-palette=charcoal] .c2 .tabs button[aria-selected=true],[data-palette=charcoal] .c2 .capsule{background:var(--btn-bg);color:var(--btn-fg)}
[data-palette=charcoal] .c2 .sold-toggle input,[data-palette=charcoal] .c2 .chips input{accent-color:var(--market-sky)}
[data-palette=charcoal] .c2 .media-empty,[data-palette=charcoal] .c2 .project-media,[data-palette=charcoal] .c2 .msg-preview{background:var(--market-surface)}
[data-palette=charcoal] .c2 dl>div{border-color:var(--market-line)}
[data-palette=charcoal] .c2 .brief input:not([type=radio]),[data-palette=charcoal] .c2 .brief textarea{background:var(--market-surface);border-color:var(--market-line);color:var(--market-text)}
[data-palette=charcoal] .c2 .brief input::placeholder,[data-palette=charcoal] .c2 .brief textarea::placeholder{color:var(--market-secondary);opacity:1}
[data-palette=charcoal] .c2 .brief :is(input,textarea):focus-visible,[data-palette=charcoal] .c2 .brief a:focus-visible,[data-palette=charcoal] .c2 .customer-photos :focus-visible,[data-palette=charcoal] .c2 .customer-file:focus-visible+.customer-add{outline:3px solid var(--market-sky);outline-offset:3px}
[data-palette=charcoal] .c2 .brief .btn,[data-palette=charcoal] .c2 .brief .btn:hover{background:var(--btn-bg);color:var(--btn-fg);border-color:var(--btn-border)}
[data-palette=charcoal] .c2 .chips label{background:transparent;border-color:var(--market-line);color:var(--market-text)}
[data-palette=charcoal] .c2 .chips label:has(input:checked){background:var(--market-surface);border-color:var(--market-sky)}
[data-palette=charcoal] .c2 .customer-add{border-color:var(--market-sky);color:var(--market-sky)}
[data-palette=charcoal] .c2 .err{color:var(--market-text)}
[data-palette=charcoal] .c2 .hint,[data-palette=charcoal] .c2 .opt,[data-palette=charcoal] .c2 .note,[data-palette=charcoal] .c2 .card-copy .mode{color:var(--market-secondary)}
[data-palette=charcoal] .c2 .toast{background:var(--market-surface);border:1px solid var(--market-line);color:var(--market-text)}
