/* C&W Seals: contact page. The quote form, the cutting-table drop zone, contact details, checklist and FAQs. */

/* ---------------- hero ---------------- */
.cfacts { display: flex; flex-wrap: wrap; gap: 8px 28px; margin: 6px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid rgba(169, 195, 197, .25); font-weight: 500; color: rgba(255, 255, 255, .92); }
.cfacts li { display: inline-flex; align-items: center; gap: 10px; }
.cfacts li::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--mint); clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 100%); }

/* ---------------- quote section ---------------- */
.quote { padding-block: clamp(24px, 2.4vw, 34px) clamp(32px, 3vw, 44px); }
.pg-contact .frame__cap { font-size: .9rem; }
/* section titles sit full width above their two columns */
.sec-h { margin-bottom: clamp(24px, 2.6vw, 40px); }
.quote__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .82fr); gap: clamp(20px, 2.2vw, 36px); align-items: start; }
#form { scroll-margin-top: calc(var(--header-h) + 8px); }

/* the shadow sits on the outer box because the chamfer clip on the inner box would cut it off */
.qcard { position: relative; filter: drop-shadow(0 26px 34px rgba(6, 35, 41, .16)) drop-shadow(0 0 1px rgba(8, 99, 118, .35)); }
.qcard__in { position: relative; background: var(--paper); padding: clamp(18px, 1.9vw, 28px); border-top: 3px solid var(--petrol);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }

.qf__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 6px 24px; }
.qf__head .h2 { font-size: clamp(1.8rem, 2.3vw, 2.3rem); color: var(--ink); }
.qf__sub { margin: 0; font-size: .92rem; color: var(--steel); }
.qf__req { color: var(--petrol); font-weight: 700; }
.qf__alert { margin: 16px 0 0; padding: 12px 16px; background: #fcebe8; border-left: 3px solid #b3261e; color: #6d1510; font-weight: 500; }

.qf__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 20px; margin-top: 14px; }
.qf .field { gap: 6px; align-content: start; }
.qf .field__label { font-size: .94rem; line-height: 1.35; }
.field__opt { font-weight: 400; color: var(--steel); font-size: .9rem; }
.qf .input, .qf .select { min-height: 48px; padding-block: 11px; }
.qf .field__hint { margin: 0; font-size: .9rem; line-height: 1.45; }
.qf .field__err { margin: 0; line-height: 1.45; }
.field--msg { display: flex; flex-direction: column; }
.field--msg .textarea { flex: 1 1 auto; min-height: 150px; }
.qf__trap { position: absolute; left: -9999px; }

.qf__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.qf__legal { flex: 1 1 260px; margin: 0; font-size: .92rem; color: var(--steel); }

/* ---------------- the cutting table: the drawing drop zone ---------------- */
.ctable { position: relative; color: #fff; background-color: var(--ink);
  background-image:
    linear-gradient(rgba(29, 211, 176, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 211, 176, .09) 1px, transparent 1px),
    linear-gradient(rgba(169, 195, 197, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(169, 195, 197, .045) 1px, transparent 1px);
  background-size: 60px 60px, 60px 60px, 12px 12px, 12px 12px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: background-color .35s var(--ease-out); }
.ctable::after { content: ""; position: absolute; inset: 0; z-index: 3; border: 2px solid transparent; pointer-events: none; transition: border-color .3s var(--ease-out); }
.ctable:focus-within::after { border-color: var(--mint); }
.ctable.is-over { background-color: #0b3a43; }
.ctable.is-over::after { border-color: var(--mint); border-style: dashed; }
.has-error .ctable::after { border-color: #e0685c; }

.ctable__bed { position: relative; aspect-ratio: 480 / 152; overflow: clip; }
.ctable__svg { width: 100%; height: 100%; overflow: visible; }
.ctable__sheet { fill: rgba(8, 99, 118, .5); stroke: rgba(169, 195, 197, .28); stroke-width: 1; }
.ctable__ghost { fill: none; stroke: rgba(169, 195, 197, .6); stroke-width: 1.2; stroke-dasharray: 4 4; transition: opacity .4s var(--ease-out); }
.ctable__cut { fill: none; stroke: var(--laser); stroke-width: 1.8; stroke-linejoin: round; opacity: 0; filter: drop-shadow(0 0 3px rgba(255, 74, 50, .7)); }
.ctable__fill { fill: var(--mint); opacity: 0; transition: opacity .6s var(--ease-out); }
.ctable__part { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .7s var(--ease-out); }
.ctable__part.is-cut .ctable__cut { opacity: 1; }
.ctable__part.is-cut .ctable__ghost { opacity: 0; }
.ctable__part.is-done .ctable__fill { opacity: .26; }
.ctable__part.is-done { transform: translate(-2px, -3px); }

.ctable__xh { position: absolute; left: 52%; top: 46%; z-index: 2; width: 34px; height: 34px; margin: -17px 0 0 -17px; color: var(--laser); pointer-events: none;
  filter: drop-shadow(0 0 5px rgba(255, 74, 50, .75)); }
.ctable__xh svg { width: 100%; height: 100%; transition: transform .35s var(--ease-out); }
.ctable.is-live .ctable__xh { left: 0; top: 0; will-change: transform; }
.ctable.is-cutting .ctable__xh svg { transform: scale(.78); }
.ctable.is-cutting .ctable__xh { filter: drop-shadow(0 0 4px rgba(255, 74, 50, .95)) drop-shadow(0 0 14px rgba(255, 74, 50, .6)); }

.ctable__bar { position: relative; display: flex; align-items: center; gap: 10px 16px; padding: 11px 14px 12px; border-top: 1px solid var(--line-dark); background: rgba(6, 35, 41, .82); font-size: .95rem; line-height: 1.35; }
.ctable__txt { flex: 1 1 auto; min-width: 0; }
.ctable__txt strong { color: var(--mint); font-weight: 600; }
.ctable__txt u { text-underline-offset: 3px; }
.ctable__read { position: absolute; right: 8px; top: 8px; z-index: 1; padding: 1px 6px; background: rgba(6, 35, 41, .72); font-size: .9rem; line-height: 1.4; color: var(--fog); white-space: nowrap; pointer-events: none; }
.ctable__input { position: absolute; inset: 0; z-index: 4; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 200px; }
.ctable__input::-webkit-file-upload-button { cursor: pointer; }
/* without JavaScript the real file input shows under the table, so the chosen names are visible */
.no-js .ctable__input { position: relative; inset: auto; height: auto; opacity: 1; font-size: .95rem; padding: 10px 14px; color: #fff; background: rgba(6, 35, 41, .9); }
.no-js .ctable__txt { display: none; }

.chips { display: grid; gap: 8px; margin: 2px 0 0; padding: 0; list-style: none; }
.chips:empty { display: none; }
.chip { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 10px; padding: 2px 2px 2px 8px; background: #fff; box-shadow: 0 0 0 1px var(--line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%); }
.chip__ext { padding: 3px 7px; background: var(--petrol); color: #fff; font-size: .9rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; line-height: 1.3; }
.chip__name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .94rem; line-height: 1.5; padding-bottom: 1px; }
.chip__size { font-family: var(--f-mono); font-size: .9rem; color: var(--steel); white-space: nowrap; }
.chip__x { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; background: none; border: 0; cursor: pointer; color: var(--steel); transition: background-color .25s, color .25s; }
.chip__x:hover, .chip__x:focus-visible { background: var(--film); color: var(--ink); }
.chip__x svg { width: 14px; height: 14px; }

/* ---------------- sent: the part cut out of the sheet ---------------- */
.qdone { display: grid; grid-template-columns: minmax(150px, 230px) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); align-items: center; min-height: 380px; outline: none; }
.qdone__art { position: relative; aspect-ratio: 1; background-color: var(--ink);
  background-image: linear-gradient(rgba(29, 211, 176, .09) 1px, transparent 1px), linear-gradient(90deg, rgba(29, 211, 176, .09) 1px, transparent 1px);
  background-size: 20px 20px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%); }
.qdone__svg { width: 100%; height: 100%; }
.qdone__sheet { fill: rgba(8, 99, 118, .5); }
.qdone__fill { fill: var(--mint); fill-rule: evenodd; opacity: .9; }
.qdone__cut { fill: none; stroke: var(--laser); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 0; }
.qdone__xh { position: absolute; left: 0; top: 0; width: 28px; height: 28px; margin: -14px 0 0 -14px; color: var(--laser); opacity: 0; pointer-events: none; filter: drop-shadow(0 0 5px rgba(255, 74, 50, .8)); }
.qdone__copy { display: grid; gap: 14px; }
.qdone__copy .h2 { font-size: clamp(2rem, 3vw, 3rem); }
.qdone__copy p { margin: 0; }
.qdone__copy a:not(.btn) { color: var(--petrol); font-weight: 600; }
.qdone .btns { margin-top: 8px; }

/* ---------------- contact details ---------------- */
.cinfo { position: relative; display: grid; gap: 22px; padding: clamp(18px, 1.8vw, 26px); color: #fff; background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%); }
.cinfo__media .frame__img { aspect-ratio: 16 / 10; max-height: calc(var(--media-cap) * .5); }
.cinfo__body { display: grid; gap: 14px; }
.cinfo__body .h3 { color: #fff; }
.cinfo__row { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 12px; padding-top: 10px; border-top: 1px solid var(--line-dark); align-items: baseline; }
.cinfo__k { color: var(--mint); font-weight: 600; font-size: .9rem; }
.cinfo__phone { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--f-display); font-weight: 680; font-variation-settings: "wdth" 97; font-size: clamp(1.25rem, 1.6vw, 1.55rem); line-height: 1.15; text-decoration: none; transition: color .25s; }
.cinfo__phone:hover { color: var(--mint); }
.cinfo__mail { display: inline-flex; align-items: center; min-height: 44px; color: #fff; overflow-wrap: anywhere; text-decoration: underline 1.5px; text-decoration-color: rgba(29, 211, 176, 0); text-underline-offset: 5px; transition: text-decoration-color .35s var(--ease-out), color .25s; }
.cinfo__mail:hover, .cinfo__mail:focus-visible { text-decoration-color: var(--mint); }
.cinfo__addr { font-style: normal; color: var(--fog); line-height: 1.55; font-size: .98rem; }
.cinfo__hours { margin: 0; display: grid; gap: 4px; font-size: .96rem; }
.cinfo__hours div { display: flex; flex-wrap: wrap; gap: 0 10px; }
.cinfo__hours dt { color: #fff; }
.cinfo__hours dd { margin: 0; color: var(--fog); }

/* ---------------- what to send: a job sheet that ticks itself off as you scroll ---------------- */
.chk, .cfaq { padding-block: clamp(56px, 6vw, 88px); }
.chk { color: #fff; background-size: 120px 120px, 120px 120px, 24px 24px, 24px 24px; }
.chk__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5.5vw, 104px); align-items: center; }
.chk__intro { display: grid; gap: 22px; }
.chk__intro .lede { color: rgba(255, 255, 255, .88); }
.chk__media { margin: 8px 0 0; }
.chk__media .frame__img { aspect-ratio: 16 / 9; max-height: calc(var(--media-cap) * .62); }
.chk__wrap { position: relative; }
.chk__list { list-style: none; margin: 0; padding: 0; }
.chk__item { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-top: 1px solid var(--line-dark); transition: opacity .5s var(--ease-out); }
.chk__item:last-child { border-bottom: 1px solid var(--line-dark); }
.chk__box { display: grid; place-items: center; width: 36px; height: 36px; margin-top: 1px; border: 1.5px solid var(--mint); background: rgba(29, 211, 176, .1); transition: border-color .4s, background-color .4s; }
.chk__box svg { width: 22px; height: 22px; }
.chk__box path { fill: none; stroke: var(--mint); stroke-width: 2.6; stroke-linecap: square; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset .6s var(--ease-out); }
.chk__h { font-size: clamp(1.15rem, 1.35vw, 1.35rem); font-weight: 660; --w: 99; line-height: 1.2; margin-bottom: 6px; }
.chk__txt p { margin: 0; color: var(--fog); font-size: 1rem; line-height: 1.6; }
.chk__laser { position: absolute; left: -38px; top: 0; width: 22px; height: 22px; color: var(--laser); opacity: 0; pointer-events: none; filter: drop-shadow(0 0 5px rgba(255, 74, 50, .8)); }
.chk__laser svg { width: 100%; height: 100%; }
.chk__wrap.is-live .chk__laser { opacity: 1; transition: opacity .4s; }
.chk__wrap.is-live .chk__item:not(.is-on) { opacity: .42; }
.chk__wrap.is-live .chk__item:not(.is-on) .chk__box { border-color: rgba(169, 195, 197, .45); background: transparent; }
.chk__wrap.is-live .chk__item:not(.is-on) .chk__box path { stroke-dashoffset: 1; }

/* ---------------- FAQs ---------------- */
.cfaq__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.cfaq__intro { display: grid; gap: 20px; }
.cfaq__intro .lede a { color: var(--petrol); font-weight: 600; white-space: nowrap; }
.cfaq__media { margin: 8px 0 0; }
.cfaq__media .frame__img { aspect-ratio: 16 / 9; max-height: calc(var(--media-cap) * .5); }
.cfaq__intro > p:last-child { margin: 0; }

.acc { display: grid; gap: 10px; }
.acc__item { background: var(--paper); box-shadow: 0 0 0 1px var(--line); border-radius: 2px; transition: box-shadow .35s var(--ease-out); }
.acc__item[open] { box-shadow: 0 0 0 1px rgba(8, 99, 118, .45), inset 3px 0 0 var(--mint), 0 22px 40px -30px rgba(6, 35, 41, .45); }
.acc__q { display: flex; align-items: flex-start; gap: 18px; padding: 16px 20px; cursor: pointer; list-style: none;
  font-family: var(--f-display); font-weight: 660; font-variation-settings: "wdth" 100; font-size: clamp(1.06rem, 1.25vw, 1.22rem); line-height: 1.25; color: var(--ink); }
.acc__q > span:first-child { flex: 1 1 auto; min-width: 0; }
.acc__q::-webkit-details-marker { display: none; }
.acc__q::marker { content: ""; }
.acc__q:hover { color: var(--petrol); }
.acc__q:focus-visible { outline: 2px solid var(--petrol); outline-offset: -2px; }
.acc__q { position: relative; padding-right: 58px; }
.acc__icon { position: absolute; right: 20px; top: 50%; margin-top: -11px; width: 22px; height: 22px; }
.acc__icon::before, .acc__icon::after { content: ""; position: absolute; left: 3px; right: 3px; top: 10px; height: 2px; background: var(--petrol); transition: transform .45s var(--ease-out); }
.acc__icon::after { transform: rotate(90deg); }
.acc__item[open] .acc__icon::after { transform: rotate(0deg); }
.acc__a { overflow: hidden; }
.acc__in { padding: 0 20px 18px; color: #26434a; }
.acc__in p { margin: 0 0 .7em; }
.acc__in p:last-child { margin-bottom: 0; }

/* ---------------- responsive ---------------- */
@media (max-width: 1100px) {
  .quote__grid { grid-template-columns: 1fr; }
  .cinfo { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
}
@media (max-width: 1000px) {
  .chk__grid, .cfaq__grid { grid-template-columns: 1fr; }
  .chk__laser { display: none; }
}
@media (max-width: 760px) {
  .qf__grid { grid-template-columns: 1fr; }
  .cinfo { grid-template-columns: 1fr; }
  .qdone { grid-template-columns: 1fr; min-height: 0; }
  .qdone__art { max-width: 200px; }
}
@media (max-width: 440px) {
  .ctable__read { display: none; }
  .qcard__in { padding: 18px 16px 24px; }
  .cinfo__row { grid-template-columns: 1fr; gap: 4px; }
  .acc__q { padding: 15px 16px; }
  .acc__in { padding: 0 16px 16px; }
  .cfacts { gap: 6px 20px; }
}
