/* CloudBKK UX refinement — 2026-11-06. Retains established white/orange art direction. */
:where(a,button,input,select,textarea,summary):focus-visible {
  outline: 3px solid #bd4c17;
  outline-offset: 3px;
}
.breadcrumb {color:#555851!important;}
.subhero > p, .compare-page p, .work-detail p {color:#565952;}
.form-card input,.form-card select,.form-card textarea{min-height:46px;}
.form-card textarea {min-height:128px;}
.form-card label{line-height:1.6;}
.inquiry-optional {
  margin:22px 0 18px;
  border:1px solid #ddded6;
  border-radius:16px;
  background:#fafaf7;
}
.inquiry-optional summary {
  display:flex;
  align-items:center;
  justify-content:space-between;
  cursor:pointer;
  gap:12px;
  padding:16px 18px;
  color:#2a2d28;
  font-weight:650;
  line-height:1.5;
  list-style:none;
  min-height:52px;
}
.inquiry-optional summary::-webkit-details-marker{display:none}
.inquiry-optional summary:after{content:"+";font-size:23px;line-height:1;color:#ad4717;font-weight:500}
.inquiry-optional[open] summary:after{content:"−"}
.inquiry-optional summary small{font-weight:400;color:#5f635c;font-size:12px;}
.inquiry-optional .optional-body {border-top:1px solid #e5e6df;padding:18px;}
.inquiry-optional .optional-body > label {display:block;}
.inquiry-optional .optional-body fieldset {margin:20px 0;}
.compare-mobile-controls {display:none}
.portfolio-preview {
  float:right;
  width:min(44%,470px);
  margin:0 0 24px 30px;
  border:1px solid #e0e3de;
  border-radius:16px;
  overflow:hidden;
  background:#f5f6f2;
  box-shadow:0 10px 30px rgba(26,32,27,.07);
}
.portfolio-preview a {display:block;line-height:0}
.portfolio-preview img {display:block;width:100%;height:auto;aspect-ratio:1000 / 583;object-fit:cover}
.portfolio-preview figcaption {
  font-size:12px;
  line-height:1.45;
  padding:10px 14px;
  color:#555952;
  background:#f8f9f6;
}
.work-detail:after {content:"";display:block;clear:both}
.work-detail .live-project {display:inline-flex;max-width:100%;}
.consent-banner {box-shadow:0 14px 40px rgba(0,0,0,.12)}
.consent-banner p {color:#50534d}
.consent-actions button {min-height:44px;line-height:1.35}
@media(max-width:760px) {
  .compare-page {padding-top:34px}
  .compare-page .subhero h1 {line-height:1.27}
  .compare-mobile-controls {
    position:sticky;
    top:8px;
    z-index:12;
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
    margin:18px 0 12px;
    padding:13px 14px;
    border:1px solid #e4d7cc;
    border-radius:16px;
    background:#fff9f3;
    box-shadow:0 8px 26px rgba(40,25,10,.08);
  }
  .compare-mobile-controls label {font-weight:650;font-size:14px;color:#33332f}
  .compare-mobile-controls select {
    display:block;width:100%;min-height:46px;
    padding:10px 12px;
    border:1px solid #c9cac2;
    border-radius:10px;
    background:#fff;
    color:#242622;
    font:inherit;font-size:15px;
  }
  .compare-scroll {overflow-x:visible;margin-top:12px}
  .compare-table {width:100%;min-width:0;table-layout:fixed;font-size:13px}
  .compare-table tr > :not(:first-child) {display:none}
  .compare-table[data-mobile-plan="onepage"] tr > :nth-child(2),
  .compare-table[data-mobile-plan="starter"] tr > :nth-child(3),
  .compare-table[data-mobile-plan="business"] tr > :nth-child(4),
  .compare-table[data-mobile-plan="growth"] tr > :nth-child(5) {display:table-cell}
  .compare-table th,.compare-table td{
    min-width:0!important;
    padding:12px 10px;
    overflow-wrap:anywhere;
    word-break:normal;
    vertical-align:top;
    line-height:1.55;
  }
  .compare-table tr > :first-child{width:42%!important}
  .compare-table tr > :nth-child(n+2){width:58%!important}
  .compare-table thead th{font-size:14px}
  .compare-table thead small{font-size:12px}
  .compare-table tfoot a{display:inline-block;min-height:44px;padding:9px 0}
  .compare-hint{font-size:13px;color:#535650;margin:8px 0}
  .portfolio-preview {float:none;width:100%;max-width:none;margin:16px 0 22px}
  .portfolio-preview img {height:auto}
  .work-detail {overflow:hidden}
  .inquiry-optional {margin:18px 0}
  .inquiry-optional summary {padding:14px;font-size:14px}
  .inquiry-optional .optional-body{padding:14px}
  .consent-banner {
    bottom:8px;left:8px;right:8px;
    padding:11px 12px;
    gap:9px;
    border-radius:14px;
    max-height:44vh;
    overflow-y:auto;
  }
  .consent-banner strong{font-size:13px;line-height:1.4;margin-bottom:2px}
  .consent-banner p{font-size:12px;line-height:1.45}
  .consent-actions {grid-template-columns:1fr 1fr;gap:8px}
  .consent-actions button,.consent-actions .button,.consent-secondary {
    min-height:40px;width:100%;padding:9px 7px;
    font-size:12px;white-space:normal;
    border-radius:9px;line-height:1.35
  }
}
@media(max-width:380px) {
  .compare-table th,.compare-table td{padding:10px 8px;font-size:12px}
  .consent-banner{padding:10px}
  .consent-actions button{font-size:11.5px}
}
@media(prefers-reduced-motion:reduce) {
  .inquiry-optional,.portfolio-preview,.compare-mobile-controls{scroll-behavior:auto;transition:none}
}

.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}

@media(min-width:641px){.form-card .field-grid > label:nth-child(5){grid-column:1/-1}}
@media(max-width:640px){.form-card .field-grid > label:nth-child(5){grid-column:auto}}

/* Work-page reading guide: align the final section with the site grid. */
.work-reading-guide {
  box-sizing: border-box;
  width: 100%;
  max-width: 1500px;
  margin: 28px auto 0;
  padding: 42px 5% 82px;
}
.work-reading-guide h2 {
  max-width: 1100px;
  overflow-wrap: break-word;
  text-wrap: balance;
}
.work-reading-guide p {
  max-width: 1100px;
  overflow-wrap: anywhere;
}
@media (max-width: 640px) {
  .work-reading-guide {
    margin-top: 12px;
    padding: 36px 6% 60px;
  }
  .work-reading-guide h2 {
    text-wrap: wrap;
  }
}
