.film-palette {
  --card-radius: 22px;
  --field-radius: 12px;
  --line: color-mix(in srgb, var(--blue) 23%, var(--paper));
  --muted: color-mix(in srgb, var(--ink) 78%, var(--paper));
  --copper: var(--blue);
  --accent-outline: color-mix(in srgb, var(--blue) 36%, var(--paper));
  --field-outline: color-mix(in srgb, var(--blue) 69%, var(--paper));
  --card-shadow: 0 8px 24px color-mix(in srgb, var(--ink) 7%, transparent);
  --hero-wash: var(--design-paper);
}
.palette-green {
  --ink: #172f24;
  --blue: #176339;
  --blue-dark: #104a2b;
  --accent: #b5ef75;
  --accent-text: #163420;
  --paper: #f7fcf2;
  --design-paper: #fbfff5;
  --design-wash: #e0f5c8;
  --pale: #edf9e1;
}
.palette-sky {
  --ink: #102e46;
  --blue: #14628e;
  --blue-dark: #104a6b;
  --accent: #a4e2fc;
  --accent-text: #103b58;
  --paper: #f5fbff;
  --design-paper: #f9fdff;
  --design-wash: #d8f2ff;
  --pale: #e6f6ff;
}
.palette-violet {
  --ink: #2d2047;
  --blue: #6741a4;
  --blue-dark: #4e2c83;
  --accent: #d9beff;
  --accent-text: #39205e;
  --paper: #fbf7ff;
  --design-paper: #fffbff;
  --design-wash: #f0e3ff;
  --pale: #f5edff;
}
.palette-coral {
  --ink: #412a25;
  --blue: #a13f35;
  --blue-dark: #7a2c25;
  --accent: #ffae92;
  --accent-text: #4c211a;
  --paper: #fff6ef;
  --design-paper: #fffaf5;
  --design-wash: #fcded1;
  --pale: #ffede5;
}
.palette-amber {
  --ink: #392c19;
  --blue: #794707;
  --blue-dark: #603503;
  --accent: #ffce51;
  --accent-text: #3e290b;
  --paper: #fffaee;
  --design-paper: #fffdf5;
  --design-wash: #f7e5ab;
  --pale: #fff0c9;
}
.palette-teal {
  --ink: #123733;
  --blue: #006459;
  --blue-dark: #004a42;
  --accent: #67dbc5;
  --accent-text: #0a362f;
  --paper: #f1fcf8;
  --design-paper: #f6fffc;
  --design-wash: #c4efe5;
  --pale: #e0f8f1;
}
.palette-raspberry {
  --ink: #3e2032;
  --blue: #9a2960;
  --blue-dark: #732047;
  --accent: #f59bc2;
  --accent-text: #4a1832;
  --paper: #fff4f9;
  --design-paper: #fff9fc;
  --design-wash: #f8d8e8;
  --pale: #fceaf3;
}
.palette-navy {
  --ink: #15243a;
  --blue: #234571;
  --blue-dark: #182e4a;
  --accent: #294a76;
  --accent-text: #fff;
  --paper: #f3f6fa;
  --design-paper: #f9fbfe;
  --design-wash: #dbe4f0;
  --pale: #e9eff7;
  --hero-wash: #0c1a2f;
  --hero-text: #f8fbff;
  --hero-emphasis: #c0d6f4;
}

.film-palette .site-header .button,
.film-palette main .button,
.film-palette :is(.why-site-button, .menu-toggle, .add-job, .film-controls a, .animation-control) {
  border-radius: 999px;
}
.film-palette .film-copy .button {
  color: var(--accent-text);
  background: var(--accent);
  border-color: var(--accent-outline);
}
.film-palette .film-copy .button:hover { background: color-mix(in srgb, var(--accent) 78%, var(--paper)); }
.film-palette .add-job:hover { background: var(--pale); }
.film-palette .film-controls :is(a, button):hover { background: var(--pale); }
.film-palette .film-controls :focus-visible,
.film-palette .palette-switch :focus-visible { outline-color: #fff; outline-offset: 2px; box-shadow: 0 0 0 5px var(--ink); }

.palette-switch a {
  border: 1px solid transparent;
  border-radius: 999px;
  padding-inline: 11px;
}
.palette-switch a:first-of-type { border-color: #ffffff50; }
.design-film .palette-switch a[aria-current] { color: var(--accent-text); background: var(--accent); }
.palette-navy .palette-switch a[aria-current] { border-color: #ffffff70; }
.palette-switch .palette-swatch::before {
  content: "";
  display: inline-block;
  width: .64em;
  height: .64em;
  margin-inline-end: .46em;
  border-radius: 50%;
  background: var(--swatch);
}
.palette-switch .swatch-green { --swatch: #79c947; }
.palette-switch .swatch-sky { --swatch: #4abfeb; }
.palette-switch .swatch-violet { --swatch: #b385f1; }
.palette-switch .swatch-coral { --swatch: #ffae92; }
.palette-switch .swatch-amber { --swatch: #ffce51; }
.palette-switch .swatch-teal { --swatch: #67dbc5; }
.palette-switch .swatch-raspberry { --swatch: #f59bc2; }
.palette-switch .swatch-navy { --swatch: #8da9d1; }
.palette-switch a[aria-current]::before { box-shadow: inset 0 0 0 1px var(--accent-text); }

.film-palette .design-film-hero::before {
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--hero-wash) 91%, transparent) 0%,
    color-mix(in srgb, var(--hero-wash) 82%, transparent) 35%,
    color-mix(in srgb, var(--hero-wash) 72%, transparent) 44%,
    color-mix(in srgb, var(--hero-wash) 35%, transparent) 56%,
    transparent 73%);
}
.film-palette .film-copy h1 { letter-spacing: -.065em; }
.film-palette .film-copy h1 em { font-size: 1em; letter-spacing: -.055em; }
.film-palette .film-copy :is(h1, .design-location, .design-lead, .design-actions > a:not(.button)) {
  color: var(--hero-text, var(--ink));
}
.film-palette .film-copy h1 em { color: var(--hero-emphasis, var(--blue)); }
.palette-navy .film-copy .button { border-color: #aac2e4; }
.palette-navy .film-copy :focus-visible { outline-color: var(--hero-emphasis); }

.film-palette .meet-tom figure {
  background: var(--design-wash);
  padding: clamp(9px, 1.3vw, 17px);
  border: 1px solid var(--line);
  border-radius: calc(var(--card-radius) + 6px);
  box-shadow: var(--card-shadow);
}
.film-palette .meet-tom figure img { border-radius: 15px; }

.film-palette :is(.quick-form, .quote-form, .estimate-choice, .review-cards article, .work-cards article, dialog) {
  border-radius: var(--card-radius);
}
.film-palette :is(.quick-form, .quote-form, .estimate-choice, .review-cards article, dialog) {
  border-color: var(--line);
  box-shadow: var(--card-shadow);
}
.film-palette :is(.quote-form, .estimate-choice) { background: var(--design-paper); }
.film-palette .field :is(input, textarea, select) {
  border-radius: var(--field-radius);
}
.film-palette .field :is(input, textarea, select):not(:focus, [aria-invalid="true"]) {
  border-color: var(--field-outline);
}
.film-palette :is(.form-success, .estimate-attached, .estimate-result, .why-site-tooltip) { border-radius: var(--field-radius); }
.film-palette .estimate-result {
  background: var(--pale);
  border: 0;
  padding: 12px 15px;
}
.film-palette .work-pair img, .film-palette .door-crop { border-radius: var(--field-radius); }

.film-palette .services-section { padding-block: clamp(23px, 2.6vw, 34px); }
.film-palette .services-section > .container { max-width: 1100px; }
.film-palette .services-section .section-heading { margin-bottom: 17px; }
.film-palette .service-cards { gap: 16px; }
.film-palette .service-cards article {
  border-radius: var(--card-radius);
  box-shadow: var(--card-shadow);
}
.film-palette .service-drawing { background: var(--pale); }
.film-palette .service-drawing svg { height: 104px; }
.film-palette .service-card-body { padding: 13px 15px 15px; }
.film-palette .service-card-body h3 { font-size: 20px; min-height: 0; }
.film-palette .service-card-body > p { font-size: 15px; line-height: 1.4; margin-top: 8px; }
.film-palette .service-card-body .service-start { font-size: 21px; }
.film-palette .service-card-body .service-scope { margin-bottom: 8px; }
.film-palette .card-actions { gap: 0 9px; }
.film-palette .card-actions .text-link { display: flex; align-items: center; font-size: 15px; }
.film-palette .card-actions .add-job { font-size: 15px; }
.film-palette section#home-services { scroll-margin-top: 0; }

@media (min-width: 701px) {
  .film-palette .film-motion :is(video, img) { object-position: right top; }
}
@media (min-width: 1001px) {
  .film-palette .service-cards { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1001px) and (max-width: 1200px) {
  .film-palette .service-card-body h3 { min-height: 2.4em; }
}
@media (min-width: 701px) and (max-width: 1000px) {
  .film-palette .design-film-hero::before {
    background: linear-gradient(90deg,
      color-mix(in srgb, var(--hero-wash) 92%, transparent) 0%,
      color-mix(in srgb, var(--hero-wash) 83%, transparent) 43%,
      color-mix(in srgb, var(--hero-wash) 59%, transparent) 56%,
      transparent 77%);
  }
}
@media (max-width: 700px) {
  .palette-switch { gap: 1px 3px; }
  .palette-switch a { padding: 5px 7px; min-height: 29px; }
  .film-palette .design-film-hero::before {
    background: linear-gradient(180deg,
      transparent calc(var(--film-copy-offset) - 108px),
      color-mix(in srgb, var(--hero-wash) 34%, transparent) calc(var(--film-copy-offset) - 48px),
      color-mix(in srgb, var(--hero-wash) 85%, transparent) var(--film-copy-offset),
      color-mix(in srgb, var(--hero-wash) 92%, transparent) 100%);
  }
  .film-palette .film-copy h1 { font-size: clamp(40px, 12vw, 69px); }
  .film-palette .service-drawing svg { height: 74px; }
  .film-palette .card-actions { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .film-palette .mobile-quote {
    left: 10px;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    padding: 10px 17px;
    min-height: 52px;
    border-radius: 999px;
    box-shadow: var(--card-shadow);
  }
}
