/* Scoped to the new standalone service page; existing catalog styles are untouched. */
.custom-project{--request-accent:#ffbd54}
.custom-project .request-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:44px;align-items:center;padding:40px 0 64px}
.custom-project h1{font-size:clamp(2.5rem,5.4vw,4.5rem);line-height:1.06;letter-spacing:-.045em;margin:18px 0 24px}
.custom-project .request-lead{font-size:1.13rem;color:#c1cfde;max-width:560px}
.custom-project .request-note{font-size:.85rem;color:#a7b9ce;line-height:1.6}
.custom-project .request-visual{padding:26px;border-radius:24px;border:1px solid #30485e;background:radial-gradient(ellipse at 30% 0,#284c64,#102033 75%);min-width:0}
.custom-project .format-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:28px}
.custom-project .format-chips span{font-size:.8rem;padding:6px 9px;background:#263e50;border:1px solid #40586c;border-radius:6px}
.custom-project .request-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.custom-project .request-number{display:block;color:#ffbd54;font:14px monospace;margin-bottom:16px}
.custom-project .request-process{border-block:1px solid #293c50;margin:28px 0}
.custom-project .request-process ol{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;padding-left:22px;margin:0}
.custom-project .request-process li{padding-left:4px}.custom-project .request-process p{color:#acbed1;margin-bottom:6px}
.custom-project .request-brief{display:grid;grid-template-columns:.7fr 1.3fr;gap:42px;align-items:start;scroll-margin-top:24px}
.custom-project .request-intro p{color:#b9c8d9}.custom-project .request-tip{border-left:2px solid #ffbd54;padding:6px 0 6px 18px;margin:26px 0}
.custom-project .brief-form{padding:28px;background:#142130;border:1px solid #344b62;border-radius:18px;min-width:0}
.custom-project .brief-field{display:flex;flex-direction:column;gap:7px;margin-bottom:18px;min-width:0}
.custom-project .brief-field label,.custom-project legend{font-weight:650;font-size:.9rem}
.custom-project .brief-field input,.custom-project .brief-field textarea,.custom-project .brief-field select{box-sizing:border-box;width:100%;min-width:0;min-height:46px;padding:11px 12px;border:1px solid #526b84;border-radius:8px;background:#0c1928;color:#f3f6fb;font:inherit}
.custom-project input::placeholder,.custom-project textarea::placeholder{color:#94a7bd;opacity:1}
.custom-project textarea{resize:vertical}.custom-project .brief-field small{color:#a4b7cb}
.custom-project .brief-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.custom-project .brief-formats{display:flex;flex-wrap:wrap;gap:12px;border:0;padding:0;margin:0 0 20px;min-width:0}
.custom-project .brief-formats legend{margin-bottom:10px}.custom-project .brief-formats label{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid #415970;border-radius:8px;font-size:.85rem;min-height:40px}
.custom-project .brief-formats input{accent-color:#ffbd54;width:18px;height:18px}
.custom-project .brief-status{color:#ffcf85;white-space:pre-line;margin:10px 0}.custom-project .brief-status:empty{display:none}
.custom-project .brief-form .buy{width:100%;border:0;cursor:pointer;font:inherit;font-weight:750;margin:0}
.custom-project :is(input,textarea,select,button,a):focus-visible{outline:3px solid #ffcf85;outline-offset:3px}
.custom-project .request-faq{max-width:800px;margin:22px 0 48px}
@media(max-width:800px){.custom-project .request-hero{grid-template-columns:1fr;gap:30px;padding:22px 0 36px}.custom-project .request-visual{max-width:540px}.custom-project .request-brief{grid-template-columns:1fr;gap:20px}.custom-project .request-cards,.custom-project .request-process ol{grid-template-columns:1fr}.custom-project .brief-form{padding:20px}.custom-project .request-process ol{gap:12px}}
@media(max-width:450px){.custom-project .brief-row{grid-template-columns:1fr;gap:0}.custom-project .request-visual{padding:18px}.custom-project .drawing-caption{font-size:8px}.custom-project .brief-form{padding:17px}.custom-project .nav-actions{gap:14px}}
.custom-project .brief-form button:disabled{opacity:.55;cursor:wait}

/* Actual PDF sheets; fan stays inside its own responsive preview area. */
.custom-project .request-drawing-preview{padding:18px 18px 22px;overflow:hidden}
.custom-project .drawing-fan{position:relative;width:100%;aspect-ratio:1.12/1;isolation:isolate}
.custom-project .drawing-fan-sheet{
  display:block;position:absolute;width:74%;height:auto;left:13%;top:24%;
  background:#fff;border:1px solid #c6cdd4;border-radius:3px;
  box-shadow:0 12px 25px #0006;transform-origin:50% 85%;
}
.custom-project .drawing-fan-back{z-index:1;transform:translate(-7%,-14%) rotate(-17deg)}
.custom-project .drawing-fan-middle{z-index:2;transform:translate(8%,-10%) rotate(13deg)}
.custom-project .drawing-fan-front{z-index:3;transform:translateY(12%) rotate(-2deg)}
.custom-project .drawing-fan-caption{font-size:.84rem;color:#c1d1df;margin:0 0 10px;text-align:center}
.custom-project .request-drawing-preview .format-chips{margin-top:14px;justify-content:center}
@media(max-width:450px){.custom-project .request-drawing-preview{padding:12px 12px 18px}.custom-project .drawing-fan{aspect-ratio:1.05/1}}

.custom-project .brief-consent{display:flex;align-items:flex-start;gap:10px;font-size:.86rem;margin:8px 0 18px;line-height:1.6}
.custom-project .brief-consent input{flex:0 0 auto;width:20px;height:20px;margin-top:3px;accent-color:#ffbd54}
.custom-project .brief-success{padding:28px;border:1px solid #466c59;background:#132b25;border-radius:18px}
.custom-project .brief-success h3{font-size:1.7rem;margin:12px 0}
.custom-project .brief-honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
.custom-project [hidden]{display:none!important}

.custom-project .brief-files-list{list-style:none;padding:0;margin:0}
.custom-project .brief-files-list li{display:flex;align-items:center;gap:10px;justify-content:space-between;border-bottom:1px solid #344b62;padding:9px 0;min-width:0}
.custom-project .brief-files-list span{min-width:0;overflow-wrap:anywhere;font-size:.85rem}
.custom-project .brief-files-list button{flex:0 0 auto;border:1px solid #526b84;border-radius:6px;background:#203347;color:#fff;padding:7px 10px;min-height:36px;cursor:pointer}
.custom-project input[type=file]{font-size:.85rem;overflow:hidden}
.custom-project input[type=file]::file-selector-button{border:0;border-radius:5px;padding:8px 10px;margin-right:8px;background:#ffbd54;color:#142130;font-weight:700;cursor:pointer}
