/* Website, company backdrop, and the separate team request preview. */
@font-face {font-family: InterVariable; src: url('/assets/fonts/InterVariable.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap;}
:root {
  color-scheme: light;
  --ink: #27382f;
  --muted: #68726a;
  --paper: #f5f4ed;
  --white: #fff;
  --line: #dedfd6;
  --green: #263f35;
  --lime: #e1edb7;
  --radius: 18px;
  font-family: InterVariable,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-optical-sizing: auto;
  font-synthesis: none;
  scroll-behavior: smooth;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}
input {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
textarea {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}
button:disabled {
  cursor: default;
  opacity: .4;
}
a {
  -webkit-tap-highlight-color: transparent;
  color: inherit;
  text-decoration: none;
}
button:focus-visible {
  outline: 3px solid #58a7cb;
  outline-offset: 4px;
}
a:focus-visible {
  outline: 3px solid #58a7cb;
  outline-offset: 4px;
}
input:focus-visible {
  outline: 3px solid #58a7cb;
  outline-offset: 4px;
}
textarea:focus-visible {
  outline: 3px solid #58a7cb;
  outline-offset: 4px;
}
p {
  margin: 0;
}
h1 {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.045em;
  font-size: clamp(42px,5.5vw,78px);
}
h2 {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.045em;
  font-size: clamp(30px,3.6vw,48px);
}
h3 {
  margin: 0;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -.045em;
  font-size: 23px;
}
em {
  font-family: Georgia,serif;
  font-weight: 400;
}
img {
  display: block;
  max-width: 100%;
}
.icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
[hidden] {
  display: none !important;
}
.skip-link {
  position: fixed;
  left: 16px;
  top: -100px;
  z-index: 150;
  background: var(--white);
  padding: 12px 20px;
  border-radius: 8px;
}
.skip-link:focus {
  top: 12px;
}
.text-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 4px 0;
  background: transparent;
  color: var(--company-primary,var(--green));
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
  line-height: 1.5;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  padding: 8px 13px;
  border: 1px solid var(--line);
  border-radius: 24px;
}
.pill>span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6c886d;
  flex-shrink: 0;
}
.not-found {
  padding: 90px 40px;
  max-width: 1000px;
  margin: auto;
  min-height: 60vh;
}
.no-script {
  padding: 90px 40px;
  max-width: 1000px;
  margin: auto;
  min-height: 60vh;
}
.not-found h1 {
  margin: 20px 0 36px;
}

/* Company demos share neutral surfaces; branding supplies the coloured accents. */
.company-demo { --demo-line: #dedede; --demo-muted: #666666; --demo-surface: #f6f6f6; }
.company-demo .team-preview-heading p, .company-demo .team-preview-status, .company-demo .request-card .eyebrow, .company-demo .request-facts small, .company-demo .request-lines small { color: var(--demo-muted); }
.company-demo .request-card, .company-demo .photo-image { background: var(--demo-surface); }
.company-demo .request-card,
.company-demo .request-lines,
.company-demo .request-facts,
.company-demo .team-preview,
.company-demo .team-preview-close { border-color: var(--demo-line); }
.company-demo .request-icon { color: var(--company-action); }
.company-demo .team-preview-close { color: var(--company-primary); }
.company-demo .team-preview-close:enabled:hover { background: var(--company-soft); }
.company-demo .photo-image { border-color: var(--demo-line); }
.company-demo .photo-image>button { background: color-mix(in srgb,var(--company-primary) 85%,transparent); }
.company-demo .photo-unavailable,
.company-demo .photo-tile figcaption { color: var(--demo-muted); }
.company-demo :is(button,a,input,textarea):focus-visible { outline-color: var(--company-primary); }
.field {
  display: block;
  margin: 0 0 18px;
  font-size: 13px;
}
.field>span {
  display: block;
  margin-bottom: 7px;
  font-weight: 500;
}
.field>span>small {
  font-size: 11px;
  color: #586570;
  font-weight: 400;
  margin-left: 3px;
}
.field input {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8e2e9;
  background: #fff;
  color: #233444;
  border-radius: 9px;
  font-size: 16px;
  min-width: 0;
  line-height: 1.5;
}
.field textarea {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #d8e2e9;
  background: #fff;
  color: #233444;
  border-radius: 9px;
  font-size: 16px;
  min-width: 0;
  line-height: 1.5;
  resize: vertical;
}
.field input::placeholder {
  color: #85919a;
  font-size: 13px;
}
.field textarea::placeholder {
  color: #85919a;
  font-size: 13px;
}
.field input[aria-invalid=true] {
  border-color: #b64432;
}
.field-error {
  display: block;
  color: #ad3826;
  font-size: 11px;
  margin-top: 7px;
  line-height: 1.5;
}
.estimate-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 21px;
  font-size: 14px;
}
.estimate-total strong {
  font-size: 25px;
  letter-spacing: -.05em;
  font-weight: 500;
  white-space: nowrap;
}
.request-card {
  color: #20262d;
  background: #f7f9fb;
  border: 1px solid #e0e8ed;
  border-radius: 12px;
  padding: 18px;
}
.request-card-top {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 15px;
}
.request-icon {
  background: var(--company-soft,#e5f2f8);
  border-radius: 8px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--company-accent,#0077c8);
}
.request-icon .icon {
  width: 19px;
  height: 19px;
}
.request-card .eyebrow {
  font-size: 12px;
  color: #586570;
}
.request-card h3 {
  font-size: 20px;
  margin-top: 4px;
  letter-spacing: -.02em;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 8px;
  border-radius: 5px;
  font-size: 12px;
  background: #fff5d6;
  color: #79631d;
}
.status-pill>span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #bb9a2c;
}
.request-facts {
  margin: 18px 0 0;
}
.request-facts>div {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  margin-bottom: 14px;
}
.request-facts dt {
  font-size: 13px;
  color: #586570;
}
.request-facts dd {
  margin: 0;
  font-size: 15px;
  overflow-wrap: anywhere;
  line-height: 1.5;
}
.request-facts dd small {
  display: block;
  font-size: 13px;
  color: #586570;
  margin-top: 3px;
}
.request-lines {
  padding: 8px 0;
  border-top: 1px solid #e0e8ed;
  border-bottom: 1px solid #e0e8ed;
}
.request-lines>div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  font-size: 15px;
  margin: 10px 0;
}
.request-lines strong {
  font-size: 15px;
  white-space: nowrap;
  font-weight: 500;
}
.request-lines small {
  display: block;
  color: #586570;
  font-size: 13px;
  margin-top: 3px;
}
.request-lines .keep-together {
  white-space: nowrap;
}
.request-lines strong small {
  text-align: right;
  font-weight: 400;
}
.request-service-group>div {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  font-size: 15px;
  margin: 10px 0;
}
.request-service-group>.request-add-on {
  padding-left: 14px;
  margin-top: -2px;
  font-size: 14px;
}
.request-lines>.request-fee {
  padding-left: 0;
}
.request-service-group>.request-service-context {
  display: block;
  margin: 4px 0 12px 14px;
  padding-top: 0;
  border-top: 0;
}
.request-card .estimate-total strong small {
  display: block;
  font-size: 13px;
  font-weight: 400;
  text-align: right;
  white-space: normal;
}
.request-notes {
  padding-top: 15px;
}
.request-notes p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 7px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* A wide amount moves under its label rather than breaking "Estimated total". */
.request-card .estimate-total {
  font-size: 15px;
  flex-wrap: wrap;
}
.request-card .estimate-total>span {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  white-space: nowrap;
}
.request-card .estimate-total>strong {
  margin-left: auto;
}
.request-card .keep-together {
  white-space: nowrap;
}
.request-card .request-urgent {
  color: #ad3826;
  font-weight: 600;
}
.request-card .request-ask,
.request-card .request-deadline-clash {
  color: #79631d;
}
.request-card .estimate-total>span>small {
  font-size: 12px;
  font-weight: 400;
  color: var(--demo-muted, #666666);
}
.request-card .estimate-total strong {
  font-size: 25px;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 10px;
  margin-top: 15px;
}
.photo-grid:empty {
  display: none;
}
.photo-tile {
  margin: 0;
  min-width: 0;
}
.photo-image {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid #dde6ed;
  background: #edf3f7;
  border-radius: 10px;
  overflow: hidden;
}
.photo-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-image img[hidden] {
  display: none;
}
.photo-image>button {
  position: absolute;
  right: 5px;
  top: 5px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #ffffff80;
  border-radius: 8px;
  color: #fff;
  background: #0b2545dd;
}
.photo-image>button .icon {
  width: 16px;
  height: 16px;
}
.photo-unavailable {
  display: none;
  position: absolute;
  inset: 0;
  place-content: center;
  justify-items: center;
  gap: 8px;
  padding: 12px;
  color: #617586;
  font-size: 12px;
  text-align: center;
}
.preview-unavailable .photo-unavailable {
  display: grid;
}
.photo-tile figcaption {
  font-size: 12px;
  color: #617586;
  margin-top: 6px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
button {
  font: inherit;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
  transition: background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 10px;
  border: 0;
  font-weight: 500;
  line-height: 1.4;
  font-size: 14px;
  transition: background-color .16s ease,color .16s ease,border-color .16s ease,box-shadow .16s ease,transform .16s ease;
}
.request-service-context {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e0e8ed;
}
.request-service-context h4 {
  margin: 0 0 7px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}
.request-service-context p {
  font-size: 14px;
  line-height: 1.7;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
/* The team card's quoted total, wherever the card sits. */
.quote-amount,
.request-card .estimate-total .quote-amount {
  font-size: 19px;
  line-height: 1.3;
}
.team-preview {
  position: fixed;
  top: 24px;
  right: 500px;
  width: min(430px,calc(100vw - 524px));
  max-height: calc(100dvh - 48px);
  overflow: auto;
  padding: 20px;
  border: 1px solid #dce5ec;
  border-radius: 18px;
  background: color-mix(in srgb,var(--company-soft,#edf3f7) 55%,white);
  box-shadow: 0 15px 65px #0a25382b;
  z-index: 33;
  scroll-margin-top: 24px;
}
.team-preview-heading {
  display: grid;
  grid-template-columns: minmax(0,1fr) 44px;
  align-items: start;
  gap: 12px;
}
.team-preview-heading h2 {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -.025em;
  color: #233444;
}
.team-preview-heading p {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #617586;
}
.team-preview-status {
  margin-top: 8px;
  font-size: 13px;
  line-height: 1.5;
  color: #617586;
}
.team-preview-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #dce5ec;
  border-radius: 9px;
  background: #fff;
  color: #3d5669;
}
.team-preview-close .icon {
  width: 18px;
  height: 18px;
}
.team-preview-body {
  margin-top: 18px;
}
.request-card .estimate-tax-note,
.team-preview .estimate-tax-note {
  margin-top: 8px;
  color: #666;
  font-size: 13px;
  line-height: 1.4;
}
.team-preview .request-card {
  padding: 20px;
  background: #fff;
}

@media (max-width:600px) {
  .pill {
    font-size: 10px;
    padding: 7px 11px;
  }
  .field {
    font-size: 14px;
  }
  .estimate-total {
    font-size: 16px;
  }
  .estimate-total strong {
    font-size: 28px;
  }
  .request-card {
    padding: 20px;
  }
  .request-card h3 {
    font-size: 20px;
  }
  .request-card .eyebrow {
    font-size: 12px;
  }
  .request-facts dt {
    font-size: 13px;
  }
  .request-facts dd {
    font-size: 15px;
  }
  .request-facts dd small {
    font-size: 13px;
  }
  .request-lines>div {
    font-size: 15px;
  }
  .request-lines strong {
    font-size: 15px;
  }
  .request-lines small {
    font-size: 13px;
  }
  .request-card .estimate-total {
    font-size: 15px;
  }
  .photo-image>button {
    width: 38px;
    height: 38px;
  }
}

@media (max-width:360px) {
  .request-card {
    padding: 16px;
  }
  .photo-grid {
    grid-template-columns: repeat(2,minmax(0,1fr));
  }
  .request-facts>div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
  .team-preview {
    margin: 16px;
    padding: 14px;
  }
  .team-preview .request-card {
    padding: 16px;
  }
}

@media (prefers-reduced-motion:reduce) {
  :root {
    scroll-behavior: auto;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
  *:before {
    animation: none !important;
    transition: none !important;
  }
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .button {
    transform: none !important;
  }
}

@media (hover:hover) and (pointer:fine) {
  .photo-image>button:enabled:hover {
    background: #a7352a;
    border-color: #fff;
    box-shadow: 0 2px 7px #0b254533;
  }
  .text-button:enabled:hover {
    color: var(--company-primary,#263f35);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
  }
  .team-preview-close:hover {
    background: #e9f0f4;
    color: #0b2545;
  }
}

@media (max-width:999px) {
  .team-preview {
    position: relative;
    z-index: auto;
    inset: auto;
    width: auto;
    max-height: none;
    margin: 24px;
    box-shadow: 0 8px 30px #0a253814;
  }
}

.contact-request-card .request-lines { border-bottom: 0; }
.request-card .photo-caption { display: flex; min-width: 0; }
.request-card .photo-filename { display: flex; min-width: 0; }
.request-card .photo-filename-stem { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.request-card .photo-filename-extension { flex-shrink: 0; }
