/* RUFKO brand-led layout. Forms and internal-page foundations remain in site.css.
   Only original artwork from RUFKO_Brand_Kit_v1.1 is used. */
.container { width: min(1200px, calc(100% - 96px)); }
.header-inner { min-height: 118px; gap: 36px; }
.brand-link { padding: 16px 0; }
.brand-link img { width: 104px; height: auto; }
.primary-nav { gap: 32px; margin-left: auto; }
.header-cta { min-height: 52px; padding: 13px 22px; }
.button { font-size: 19px; border-radius: 2px; }
/* Estimate calls to action use the supplied burnt orange; quote and form controls stay unchanged. */
.button[href^="/contact/"]:not([href*="compare="]) { background: var(--rust); color: #fff; border-color: var(--rust); }
.button[href^="/contact/"]:not([href*="compare="]):hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
/* Services is one complete disclosure, not a link plus a separate arrow. */
.service-menu { position: relative; }
.service-menu > summary { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 12px 0; font-size: 14px; font-weight: 600; }
.service-menu > summary:hover { text-decoration: underline; }
.service-menu--current > summary { text-decoration: underline; text-decoration-color: var(--rust); text-decoration-thickness: 2px; }
.service-chevron { display: inline-block; font-size: 18px; line-height: 1; }
.service-menu[open] .service-chevron { transform: rotate(180deg); }
.service-dropdown { top: calc(100% + 8px); left: -20px; right: auto; width: 260px; padding: 10px; }
.service-dropdown a { min-height: 44px; padding: 11px 14px; }
.service-dropdown a:first-child { border-bottom: 1px solid var(--line); margin-bottom: 5px; }
/* The supplied logo-and-tagline SVG is the hero artwork, not a photo stand-in. */
.brand-hero { padding: 70px 0 78px; }
.brand-hero-grid { display: grid; grid-template-columns: .95fr 1.15fr; align-items: center; gap: 100px; }
.brand-hero-art { padding: 8px 18px; }
.brand-hero-art img { width: 100%; max-width: 405px; height: auto; margin-inline: auto; }
.brand-hero-copy { min-width: 0; }
.brand-hero-copy .eyebrow { margin-bottom: 19px; max-width: 550px; font-size: 14px; letter-spacing: 0; line-height: 1.6; font-weight: 400; color: var(--rust); }
.brand-hero-copy .eyebrow strong { font-weight: 700; }
.brand-hero h1 { font-size: clamp(44px, 4.6vw, 66px); line-height: 1.06; letter-spacing: -.025em; }
.brand-hero h1 span { display: block; }
.brand-hero-description { font-size: 17px; line-height: 1.85; margin: 24px 0 28px; max-width: 540px; }
.brand-hero .hero-actions { margin: 0; }
.brand-hero .button { min-height: 56px; padding-inline: 27px; }
.home-services { border-top: 1px solid var(--line); padding: 70px 0 78px; }
.home-services .section-heading { grid-template-columns: 1.6fr 1fr; gap: 50px; }
.home-services .section-heading h2 { font-size: clamp(32px, 3.4vw, 46px); }
.home-services .section-heading > p { justify-self: end; font-size: 15px; }
.service-grid--simple { gap: 0 38px; }
.service-grid--simple .service-card { padding: 25px 0 24px; border: 0; border-top: 2px solid var(--teal); border-radius: 0; min-height: 205px; margin-bottom: 14px; }
.service-grid--simple .service-card h3 { font-size: 31px; margin-bottom: 12px; }
.service-grid--simple .service-card p { font-size: 15px; line-height: 1.75; margin-bottom: 20px; }
.service-grid--simple .card-link { font-size: 13px; line-height: 1.6; }
.service-grid--simple .service-card:hover { background: transparent; border-color: var(--rust); }
.service-grid--simple .service-card:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.home-match { background: var(--teal); padding: 66px 0; }
.home-match-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.home-match h2 { font-size: clamp(42px, 4.7vw, 64px); }
.home-match .eyebrow { display: block; width: fit-content; background: transparent; padding: 0; margin: 18px 0 0; color: var(--ink); letter-spacing: .1em; font-size: 12px; }
.home-match-copy { background: var(--paper); border-left: 4px solid var(--rust); padding: 32px; }
.home-match-kicker { font-size: 19px; line-height: 1.5; margin: 0 0 7px; }
.home-match-deal { font-size: clamp(25px, 2.7vw, 34px); line-height: 1.22; margin: 0 0 27px; max-width: 450px; }
.home-match-mobile-pitch { display: none; }
.home-match-mobile-cta { display: none; }
.home-match .button { background: var(--rust); border-color: var(--rust); color: #fff; font-size: 18px; }
.home-match .button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.home-story { padding: 80px 0; }
.home-story .story-grid { gap: 100px; }
.home-story h2 { font-size: clamp(52px, 5.6vw, 76px); }
.home-story .story-copy { margin: 0; font-size: 16px; }
.home-story .story-lead { font-weight: 600; font-size: 21px; line-height: 1.6; }
.home-story .text-link { margin-top: 5px; font-size: 15px; }
/* Fewer footer destinations; all service links live under Services. */
.site-footer { padding-top: 52px; }
.footer-grid { grid-template-columns: 1.1fr .8fr 1.25fr; gap: 70px; }
.footer-brand { width: 142px; text-align: center; }
.footer-brand img { width: 142px; }
.footer-brand .tagline { width: 100%; margin: 17px 0 0; font-size: 10px; letter-spacing: .15em; text-align: center; }
.footer-grid nav a, .footer-contact a { font-size: 14px; min-height: 30px; }
.footer-contact > .text-link { display: inline-flex; font-size: 19px; margin-bottom: 24px; }
.home-story + .site-footer { border-top: 1px solid var(--line); }
.story-prose--plain { max-width: 720px; margin-top: 36px; }
.page-hero .hero-actions { gap: 25px; }
.page-hero .hero-actions .text-link { font-size: 15px; }
/* The navigation remains usable without JavaScript. */
@media (max-width: 1100px) {
  .container { width: calc(100% - 64px); }
  .header-inner { gap: 28px; }
  .primary-nav { gap: 24px; }
  .brand-hero-grid { gap: 55px; }
  .brand-hero-art { padding-inline: 0; }
  .home-match-grid, .home-story .story-grid { gap: 60px; }
  .footer-grid { gap: 40px; }
}
@media (max-width: 899px) {
  html { scroll-padding-top: 115px; }
  .container { width: calc(100% - 48px); }
  .header-inner { min-height: 96px; gap: 22px; }
  .brand-link { padding: 12px 0; }
  .brand-link img { width: 80px; }
  .header-cta { font-size: 19px; margin-left: auto; padding: 11px 17px; }
  .primary-nav { margin-left: 0; gap: 20px; align-items: flex-start; }
  .js .primary-nav > a:not(.button) { min-height: 48px; padding: 12px 0; }
  .service-menu { width: 100%; }
  .service-menu > summary { min-height: 48px; padding: 12px 0; justify-content: space-between; font-size: 15px; }
  .service-dropdown { position: static; width: 100%; box-shadow: none; border: 0; border-left: 2px solid var(--teal); padding: 0 0 0 12px; margin: 0 0 10px; }
  .service-dropdown a { font-size: 14px; }
  .brand-hero { padding: 44px 0 54px; }
  .brand-hero-grid { grid-template-columns: .85fr 1.15fr; gap: 32px; }
  .brand-hero h1 { font-size: clamp(36px, 5vw, 46px); }
  .brand-hero-copy .eyebrow { font-size: 13px; margin-bottom: 17px; }
  .brand-hero-description { font-size: 15px; line-height: 1.8; margin: 20px 0 23px; }
  .brand-hero .button { padding-inline: 20px; }
  .home-services { padding: 50px 0; }
  .home-services .section-heading { display: block; }
  .home-services .section-heading > p { margin-top: 15px; }
  .service-grid--simple { gap: 0 28px; }
  .home-match { padding: 48px 0; }
  .home-match-grid, .home-story .story-grid { gap: 35px; }
  .home-match h2 { font-size: 44px; }
  .home-match-kicker { font-size: 17px; }
  .home-story { padding: 55px 0; }
  .home-story h2 { font-size: 54px; }
  .home-story .story-copy { font-size: 15px; }
  .home-story .story-lead { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 35px; }
  .footer-contact { grid-column: 2; }
  .footer-brand { grid-row: 1 / 3; }
}
@media (max-width: 599px) {
  .container { width: calc(100% - 40px); }
  .header-inner { min-height: 88px; gap: 12px; }
  .brand-link img { width: 65px; }
  .header-cta { min-height: 44px; padding: 10px 12px; font-size: 16px; }
  .js .menu-toggle { min-height: 44px; padding: 9px 12px; font-size: 13px; }
  .brand-hero { padding: 34px 0 14px; }
  .brand-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .brand-hero-art img { width: min(68%, 245px); }
  .brand-hero-copy { text-align: center; }
  .brand-hero-copy .eyebrow { display: block; font-size: 13px; margin-bottom: 16px; max-width: 390px; margin-inline: auto; }
  .brand-hero h1 { font-size: clamp(34px, 9.1vw, 47px); line-height: 1.07; margin-bottom: 28px; }
  .brand-hero h1 span:last-child { display: none; }
  .brand-hero-description { display: none; }
  .brand-hero .hero-actions { justify-content: center; }
  .brand-hero .button { width: 100%; max-width: 390px; min-height: 52px; font-size: 19px; }
  .home-services { padding: 42px 0; }
  .home-services .section-heading { margin-bottom: 24px; }
  .home-services .section-heading h2 { font-size: 35px; }
  .home-services .section-heading > p { font-size: 14px; }
  .service-grid--simple { grid-template-columns: 1fr; gap: 0; }
  .service-grid--simple .service-card { min-height: 0; margin: 0; padding: 22px 0; border-top-width: 1px; }
  .service-grid--simple .service-card h3 { font-size: 30px; }
  .service-grid--simple .service-card p { max-width: none; font-size: 15px; margin-bottom: 15px; }
  .service-grid--simple .card-link { font-size: 13px; }
  .home-match-grid { display: block; }
  .home-match h2 { font-size: 46px; }
  .home-match-copy { margin-top: 25px; padding: 22px; }
  .home-match .button { width: 100%; font-size: 19px; }
  .home-story .story-grid { display: block; }
  .home-story h2 { font-size: 57px; }
  .home-story .home-story-second-line { font-size: clamp(35px, 12vw, 49px); white-space: nowrap; }
  .home-story .story-copy { margin-top: 27px; }
  .home-story .story-lead { display: none; }
  .footer-grid { gap: 30px; }
  .footer-brand { grid-row: auto; grid-column: 1 / -1; }
  .footer-brand { width: 132px; }
  .footer-brand img { width: 132px; }
  .footer-brand .tagline { font-size: 10px; }
  .footer-contact { grid-column: auto; }
  .footer-label { font-size: 10px; }
  .footer-grid nav a, .footer-contact a { font-size: 13px; }
  .footer-contact > .text-link { font-size: 16px; gap: 8px; }
  .story-prose--plain { margin-top: 28px; }
  .page-hero .hero-actions .text-link { margin-top: 0; min-height: 44px; }
}
@media (max-width: 359px) {
  .container { width: calc(100% - 28px); }
  .header-inner { gap: 9px; }
  .brand-link img { width: 57px; }
  .header-cta { font-size: 15px; padding-inline: 9px; }
  .js .menu-toggle { padding-inline: 9px; }
  .brand-hero-art img { width: 66%; }
  .brand-hero h1 { font-size: 34px; }
  .home-match h2 { font-size: 40px; }
  .home-story h2 { font-size: 50px; }
}

/* Three-column Apples? explanation: warm off-white background, RUFKO rust headline rules. */
.apples-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: clamp(28px, 4vw, 56px); }
.apples-column { min-width: 0; }
.apples-column h2 { margin: 0 0 25px; font-size: clamp(31px, 3.2vw, 44px); line-height: 1.1; }
.apples-column h2::after { content: ""; display: block; width: 100%; height: 4px; margin-top: 18px; background: var(--rust); }
.apples-column p { margin: 0 0 19px; font-size: 16px; line-height: 1.8; }
.apples-column p:last-child { margin-bottom: 0; }
@media (max-width: 899px) {
  .apples-columns { grid-template-columns: 1fr; row-gap: 42px; }
  .apples-column { max-width: 720px; }
  .apples-column h2 { font-size: clamp(34px, 5vw, 43px); margin-bottom: 20px; }
}
@media (max-width: 599px) {
  .apples-columns { row-gap: 38px; }
  .apples-column h2::after { width: 100%; margin-top: 14px; }
  .apples-column p { line-height: 1.75; }
}

/* Apples? opening: short invitation plus three unnumbered comparison steps. */
/* Deploy sync: retrigger Cloudflare for the already committed Apples? hero, with no visual changes. */
.apples-hero .breadcrumb { margin-bottom: 45px; }
.apples-hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(45px, 7vw, 105px); }
.apples-hero-copy { min-width: 0; }
.apples-hero-copy h1 { font-size: clamp(58px, 6.2vw, 88px); }
.apples-hero-copy h2 { font-size: clamp(30px, 3vw, 40px); margin: 9px 0 0; }
.apples-hero-copy > p { font-size: 18px; line-height: 1.8; margin: 24px 0 28px; max-width: 580px; }
.apples-hero .hero-actions { margin-top: 0; }
.apples-hero-steps { min-width: 0; padding-left: 31px; border-left: 3px solid var(--rust); }
.apples-hero-step h3 { margin: 0 0 8px; font: 700 15px/1.4 var(--body); letter-spacing: .07em; }
.apples-hero-step p { margin: 0; font-size: 16px; line-height: 1.75; }
.apples-hero-step + .apples-hero-step { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--teal); }
@media (max-width: 899px) {
  .apples-hero .breadcrumb { margin-bottom: 28px; }
  .apples-hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .apples-hero-steps { max-width: 720px; }
}
@media (max-width: 599px) {
  .apples-hero-copy h1 { font-size: clamp(52px, 13vw, 72px); }
  .apples-hero-copy h2 { font-size: 32px; }
  .apples-hero-copy > p { font-size: 16px; line-height: 1.75; margin: 19px 0 24px; }
  .apples-hero .hero-actions .button { width: 100%; }
  .apples-hero-steps { padding-left: 22px; }
  .apples-hero-step + .apples-hero-step { margin-top: 22px; padding-top: 22px; }
}
/* Device-independent CSS arrows; prevents iOS emoji rendering without external assets. */
.arrow { display:inline-block; position:relative; flex:0 0 1em; width:1em; height:1em; font-size:1.05em; line-height:1; vertical-align:-.1em; }
.arrow::before { content:""; position:absolute; top:49%; left:9%; width:90%; height:2px; background:currentColor; transform:rotate(-45deg); }
.arrow::after { content:""; position:absolute; top:10%; right:10%; width:50%; height:50%; border-top:2px solid currentColor; border-right:2px solid currentColor; }


/* Our Story: warm editorial layout, using only RUFKO brand colors. */
.story-page--founder {
  background: var(--paper);
  color: var(--ink);
  padding: 70px 0 0;
}
.story-page--founder :focus-visible { outline-color: var(--rust); }
.story-founder-intro, .story-founder-resolution { max-width: 770px; }
.story-founder-intro { padding-bottom: 76px; }
.story-founder-heading { max-width: 100%; }
.story-page--founder h1 {
  max-width: none;
  font-size: clamp(50px, 6.2vw, 76px);
  letter-spacing: -.03em;
}
.story-founder-subtitle {
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 4px solid var(--rust);
  color: var(--ink);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.55;
  font-weight: 600;
}
.story-founder-prose {
  max-width: 100%;
  margin: 40px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.9;
}
.story-founder-prose p { margin: 0 0 24px; }
.story-founder-prose p:last-child { margin-bottom: 0; }
.story-olive-interlude {
  background: var(--teal);
  color: var(--ink);
  border: 0;
  padding: 78px 0 84px;
}
.story-olive-inner { max-width: 870px; }
.story-olive-source {
  display: inline-block;
  margin: 0 0 18px;
  padding: 7px 11px;
  background: var(--rust);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  line-height: 1.65;
}
.story-olive-interlude h2 {
  margin: 0 0 30px;
  color: var(--ink);
  font-size: clamp(43px, 5.7vw, 66px);
}
.story-olive-quote {
  margin: 0;
  max-width: 100%;
  padding: 30px 36px;
  background: var(--paper);
  color: var(--ink);
  border: 0;
  border-left: 4px solid var(--rust);
  font-size: 18px;
  line-height: 1.85;
  font-style: normal;
}
.story-olive-quote p { margin: 0 0 23px; }
.story-olive-quote p:last-child { margin-bottom: 0; }
.story-founder-resolution { padding-top: 76px; padding-bottom: 91px; }
.story-founder-resolution .story-founder-prose { margin-top: 0; }
.story-founder-realization {
  font: 700 clamp(27px, 3vw, 34px)/1.3 var(--head);
  letter-spacing: -.015em;
}
.story-founder-pivot { font-weight: 700; }
.story-founder-signoff {
  border-top: 2px solid var(--teal);
  padding-top: 31px;
  max-width: 100%;
  margin: 62px 0 0;
  font-size: 19px;
  line-height: 1.6;
}
.story-founder-signoff p { margin: 0 0 16px; }
.story-founder-signoff p:last-child {
  margin-bottom: 0;
  color: var(--rust);
  font-weight: 700;
  font-size: clamp(23px, 2.5vw, 28px);
  line-height: 1.45;
}
@media (max-width: 599px) {
  .story-page--founder { padding-top: 44px; }
  .story-founder-intro { padding-bottom: 54px; }
  .story-founder-subtitle { margin-top: 17px; padding-left: 12px; font-size: 18px; }
  .story-founder-prose { margin-top: 30px; font-size: 16px; line-height: 1.8; }
  .story-founder-prose p { margin-bottom: 21px; }
  .story-olive-interlude { padding: 55px 0 60px; }
  .story-olive-source { margin-bottom: 19px; font-size: 11px; letter-spacing: .06em; }
  .story-olive-interlude h2 { margin-bottom: 22px; }
  .story-olive-quote { padding: 24px 19px; font-size: 16px; line-height: 1.8; }
  .story-founder-resolution { padding-top: 56px; padding-bottom: 67px; }
  .story-founder-signoff { margin-top: 47px; font-size: 17px; }
}


/* Apples? closing section: explain RUFKO's lean approach before the quote CTA. */
.rufko-approach { background: var(--paper); color: var(--ink); }
.rufko-approach-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: start;
  gap: clamp(40px, 7vw, 90px);
}
.rufko-approach .eyebrow { color: var(--rust); letter-spacing: .13em; margin-bottom: 16px; }
.rufko-approach-heading h2 { font-size: clamp(37px, 4.2vw, 55px); line-height: 1.1; }
.rufko-approach-heading h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  margin-top: 24px;
  background: var(--rust);
}
.rufko-approach-copy p { max-width: 560px; font-size: 16px; line-height: 1.82; margin: 0 0 22px; }
.rufko-approach-copy p:last-of-type { margin-bottom: 26px; }
.rufko-approach .button {
  margin-top: 0;
  background: var(--rust);
  color: #fff;
  border-color: var(--rust);
  font-size: 18px;
}
.rufko-approach .button:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (max-width: 899px) {
  .rufko-approach-grid { grid-template-columns: 1fr; gap: 34px; }
  .rufko-approach-heading h2 { max-width: 690px; }
  .rufko-approach-copy p { max-width: 690px; }
}
@media (max-width: 599px) {
  .rufko-approach-grid { display: block; }
  .rufko-approach-heading h2 { font-size: clamp(35px, 10vw, 44px); }
  .rufko-approach-copy { margin-top: 32px; }
  .rufko-approach-copy p { font-size: 15px; line-height: 1.8; }
  .rufko-approach .button { width: 100%; }
}

.contact-page--apples .estimate-card { border-top-color: var(--rust); }
.contact-page .form-heading h2 { font-size: clamp(30px, 3vw, 37px); }
.appointment-fields-intro { padding-top: 13px; border-top: 2px solid var(--teal); }
.contact-page--apples .appointment-fields-intro { border-top-color: var(--rust); }
.appointment-fields-intro h3 { font-size: 27px; margin: 0 0 10px; }
.appointment-fields-intro p { font-size: 14px; line-height: 1.8; margin: 0 0 8px; }
.appointment-fields-intro .field-help { font-size: 12px; margin: 8px 0 0; font-weight: 600; }
.contact-method-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-method-field legend { font-size: 12px; font-weight: 600; margin-bottom: 12px; }
.contact-method-options { display: grid; gap: 10px; }
.radio-label { display: flex; align-items: center; justify-content: flex-start; gap: 12px; width: 100%; min-width: 0; min-height: 52px; margin: 0; font-size: 14px; line-height: 1.5; font-weight: 600; cursor: pointer; border: 1px solid var(--line); padding: 12px 14px; }
.radio-label:has(input:checked) { border-color: var(--rust); background: var(--soft); }
.radio-label input[type="radio"] { appearance: auto; accent-color: var(--rust); flex: 0 0 18px; width: 18px; min-width: 18px; height: 18px; min-height: 18px; margin: 0; padding: 0; border-radius: 50%; }
.radio-label span { display: block; flex: 1 1 auto; min-width: 0; overflow-wrap: break-word; }
/* iOS Safari date/time inputs have an intrinsic width that can stretch CSS grid tracks. */
.contact-page .form-grid { min-width: 0; max-width: 100%; }
.contact-page .form-grid > .field { min-width: 0; max-width: 100%; }
.contact-page .field input[type="date"], .contact-page .field input[type="time"] { display: block; box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; min-inline-size: 0; max-inline-size: 100%; color-scheme: light; }
.contact-page .field input[type="date"]::-webkit-date-and-time-value, .contact-page .field input[type="time"]::-webkit-date-and-time-value { min-width: 0; text-align: left; }
.contact-page .button--primary { background: var(--rust); border-color: var(--rust); color: #fff; }
.contact-page .button--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.appointment-dialog { border: 1px solid var(--line); border-top: 5px solid var(--rust); border-radius: 4px; background: var(--paper); color: var(--ink); padding: 0; width: min(600px, calc(100vw - 36px)); max-height: min(90vh, 850px); overflow: auto; box-shadow: 0 20px 90px #252b2d55; }
.appointment-dialog::backdrop { background: #252b2db8; }
.appointment-dialog-inner { padding: clamp(24px, 4vw, 40px); }
.appointment-dialog .eyebrow { color: var(--rust); font-size: 11px; margin-bottom: 15px; }
.appointment-dialog h2 { font-size: clamp(32px, 5vw, 43px); line-height: 1.13; margin: 0 0 22px; }
.appointment-dialog p { font-size: 14px; line-height: 1.8; margin: 0 0 13px; }
.appointment-dialog-details { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--rust); padding: 16px 19px; margin-bottom: 20px; }
.appointment-dialog-details p { margin: 0 0 7px; }
.appointment-dialog-details p:last-child { margin: 0; }
.appointment-dialog .appointment-dialog-label { font-size: 11px; letter-spacing: .08em; font-weight: 700; margin-bottom: 9px; }
.appointment-dialog .appointment-dialog-emphasis { color: var(--rust); font-family: var(--head); font-weight: 700; font-size: 25px; line-height: 1.25; margin: 17px 0; }
.appointment-dialog .appointment-dialog-pending { padding: 12px 14px; border-left: 3px solid var(--teal); background: var(--soft); font-size: 12px; }
.appointment-dialog-actions { display: flex; gap: 12px; align-items: stretch; margin-top: 22px; }
.appointment-dialog-actions .button { flex: 1; font-size: 15px; padding: 12px; min-height: 52px; justify-content: center; }
.appointment-dialog-actions .button--primary { background: var(--rust); border-color: var(--rust); color: #fff; }
.appointment-dialog-actions .button--primary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
@media (max-width: 599px) { .appointment-dialog-actions { flex-direction: column-reverse; } .appointment-dialog-actions .button { width: 100%; } .contact-method-options { gap: 8px; } }


/* Calm three-step inquiry design. Existing RUFKO brand palette only. */
.contact-page { background: var(--paper); padding: 27px 0 65px; }
.contact-page .container.contact-layout {
  display: block; width: min(520px, calc(100% - 32px)); max-width: 520px; margin-inline: auto;
}
.contact-page .estimate-card {
  box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; margin: 0;
  background: var(--paper); border: 1px solid #DEDCD6; border-radius: 14px;
  padding: clamp(17px, 3vw, 26px); box-shadow: none;
}
.contact-page .form-heading { margin: 0 0 17px; }
.contact-page .form-heading h1 {
  color: var(--ink); font-family: var(--head); font-size: clamp(32px, 5vw, 38px);
  line-height: 1.1; letter-spacing: -.025em; margin: 0;
}
.contact-page .form-stepper { scroll-margin-top: 105px; }
.contact-page .form-stepper ol {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px;
  margin: 0 0 17px; padding: 0; list-style: none;
}
.contact-page .form-stepper li { display: block; margin: 0; padding: 0; min-width: 0; border: 0; }
.contact-page .form-stepper li button {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  width: 100%; min-height: 40px; padding: 9px 3px; margin: 0;
  border: 0; border-radius: 6px; background: #E5E3DD; color: var(--ink);
  font: 700 12px/1.35 var(--body); text-align: center; cursor: pointer;
  white-space: nowrap;
}
.contact-page .form-stepper-number { font-size: inherit; font-weight: 700; }
.contact-page .form-stepper li.is-current button { background: var(--teal); color: #FFF; }
.contact-page .form-stepper li.is-complete button { background: #DAE5E3; color: var(--ink); }
.contact-page .form-stepper li button:disabled { opacity: 1; cursor: default; }
.contact-page .form-stepper li button:focus-visible { outline: 2px solid var(--rust); outline-offset: 3px; }
.contact-page .form-step {
  min-width: 0; background: #FFF; border-top: 3px solid var(--rust);
  border-radius: 10px; padding: clamp(17px, 3vw, 23px); box-shadow: 0 2px 12px #252B2D08;
}
.contact-page .form-step-heading { margin: 0 0 19px; }
.contact-page .form-step-heading h3 {
  font-family: var(--head); font-size: clamp(24px, 4vw, 29px);
  line-height: 1.14; color: var(--ink); margin: 0;
}
.contact-page .form-step .form-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; min-width: 0; max-width: 100%;
}
.contact-page .form-step .form-grid > .field { max-width: 100%; min-width: 0; }
.contact-page .form-step .field--full { grid-column: 1 / -1; }
.contact-page .form-step .field label:not(.checkbox-label):not(.radio-label) {
  display: block; color: var(--ink); font-size: 12px; font-weight: 600;
  line-height: 1.4; margin: 0 0 6px;
}
.contact-page .required-label {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; border: 0; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.contact-page .form-step .field input:not([type="checkbox"]):not([type="radio"]),
.contact-page .form-step .field textarea {
  box-sizing: border-box; display: block; width: 100%; max-width: 100%;
  min-width: 0; min-inline-size: 0; min-height: 48px; margin: 0;
  padding: 11px 13px; border: 1px solid #D3D7D4; border-radius: 7px;
  background: #FFF; color: var(--ink); font-size: 16px; line-height: 1.5;
}
.contact-page .form-step .field textarea { min-height: 106px; resize: vertical; }
.contact-page .form-step .field input[type="date"], .contact-page .form-step .field input[type="time"] {
  display: block; width: 100%; max-width: 100%; min-width: 0; min-inline-size: 0; color-scheme: light;
}
.contact-page .form-step .field input:focus-visible,
.contact-page .form-step .field textarea:focus-visible {
  outline: 2px solid var(--teal); outline-offset: 2px; border-color: var(--teal);
}
.contact-page .form-step .field [aria-invalid="true"] { border: 2px solid var(--rust) !important; }
.contact-page .field-meta {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.contact-page .form-step .field-error { font-size: 12px; line-height: 1.55; margin-top: 6px; }
.contact-page .upload-field {
  padding: 13px; border: 1px dashed var(--teal); background: #FAFAF8; border-radius: 7px;
}
.contact-page .form-step .field.upload-field input[type="file"] {
  padding: 5px 0; margin: 0; min-height: 39px; border: 0;
  background: transparent; font-size: 12px; max-width: 100%; min-width: 0;
}
.contact-page .form-step .upload-field input[type="file"]::file-selector-button {
  padding: 7px 9px; margin-right: 8px; border: 1px solid var(--teal);
  border-radius: 5px; background: #FFF; color: var(--ink); font: 600 12px var(--body);
}
.contact-page .upload-field .field-help { font-size: 11px; margin: 4px 0 0; color: #626B69; }
.contact-page .form-visit-notice {
  font-size: 12px; color: #606967; margin: 12px 0 0; padding: 0;
  background: none; border: 0; line-height: 1.55;
}
.contact-page .contact-method-field { border: 0; padding: 0; margin: 0; min-width: 0; }
.contact-page .contact-method-field legend { margin: 0 0 8px; padding: 0; font-size: 12px; font-weight: 600; }
.contact-page .contact-method-options {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 7px;
}
.contact-page .radio-label {
  box-sizing: border-box; display: flex; align-items: center; justify-content: flex-start;
  gap: 10px; width: 100%; min-height: 42px; padding: 8px 11px; margin: 0;
  background: #FFF; border: 1px solid #D6DBD8; border-radius: 7px;
  color: var(--ink); font-size: 13px; font-weight: 600; line-height: 1.4;
}
.contact-page .radio-label:has(input:checked) { border-color: var(--rust); background: #FBF4F1; }
.contact-page .radio-label input[type="radio"] {
  appearance: auto; accent-color: var(--rust); flex: 0 0 17px; width: 17px; min-width: 17px;
  height: 17px; min-height: 17px; margin: 0; padding: 0;
}
.contact-page .radio-label span { display: block; flex: 1 1 auto; min-width: 0; overflow-wrap: normal; }
.contact-page .form-step .checkbox-label {
  display: flex; align-items: flex-start; gap: 9px; padding: 10px;
  background: #F7F7F4; border-radius: 6px; color: #3C4643;
  font-size: 12px; font-weight: 400; line-height: 1.5;
}
.contact-page .form-step .checkbox-label input {
  width: 17px; height: 17px; flex: 0 0 17px; margin: 1px 0 0; accent-color: var(--rust);
}
.contact-page .form-availability {
  background: transparent; border: 0; margin: 12px 0 0; padding: 0;
  color: #69716D; font-size: 11px; line-height: 1.5;
}
.contact-page .form-availability p:not(.availability-title) { font-size: 11px; line-height: 1.5; margin: 0; }
.contact-page .form-availability .availability-title { font-size: 10px; margin: 0 0 2px; }
.contact-page .form-availability[data-state="error"] {
  padding: 10px; border-left: 3px solid var(--rust); background: #FBF4F1;
}
.contact-page .form-privacy { font-size: 11px; color: #69716D; margin: 9px 0 0; line-height: 1.4; }
.contact-page .form-step-actions { display: flex; align-items: center; gap: 8px; margin: 17px 0 0; }
.contact-page .form-step-actions .button {
  box-sizing: border-box; min-height: 46px; margin: 0; padding: 10px 12px;
  font-size: 14px; font-weight: 700; line-height: 1.3; gap: 8px; border-radius: 7px;
}
.contact-page .form-step-actions .button--primary {
  flex: 1 1 auto; background: var(--rust); border-color: var(--rust); color: #FFF;
}
.contact-page .form-step-actions .button--primary:hover {
  background: var(--ink); border-color: var(--ink); color: var(--paper);
}
.contact-page .form-step-actions .button--outline {
  flex: 0 0 auto; border: 1px solid #D4D8D5; background: #FFF; color: var(--ink);
}
.contact-page .form-step-actions .button--outline:hover { background: #F4F4F0; color: var(--ink); }
.contact-page .form-step-actions .button:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
.contact-page .form-success { padding: 10px 0; }
.contact-page .form-success h3 { font-size: 28px; }
@media (max-width: 599px) {
  body.has-inquiry-form .header-inner { min-height: 70px; gap: 12px; }
  body.has-inquiry-form .header-cta { display: none; }
  body.has-inquiry-form .brand-link { padding: 9px 0; }
  body.has-inquiry-form .brand-link img { width: 61px; }
  body.has-inquiry-form .menu-toggle { margin-left: auto; }
  .contact-page { padding: 19px 0 49px; }
  .contact-page .container.contact-layout { width: calc(100% - 26px); max-width: 520px; }
  .contact-page .estimate-card { padding: 16px; border-radius: 12px; }
  .contact-page .form-heading { margin-bottom: 14px; }
  .contact-page .form-heading h1 { font-size: 31px; }
  .contact-page .form-stepper ol { gap: 6px; margin-bottom: 14px; }
  .contact-page .form-stepper li button { min-height: 39px; padding: 9px 3px; font-size: 12px; }
  .contact-page .form-step { padding: 17px; }
  .contact-page .form-step-heading { margin-bottom: 15px; }
  .contact-page .form-step-heading h3 { font-size: 25px; }
  .contact-page .form-step .form-grid { grid-template-columns: minmax(0, 1fr); gap: 13px; }
  .contact-page .form-stepper { scroll-margin-top: 91px; }
  .contact-page .form-step-actions .button { font-size: 14px; }
}
@media (max-width: 359px) {
  .contact-page .container.contact-layout { width: calc(100% - 20px); }
  .contact-page .estimate-card { padding: 13px; }
  .contact-page .form-step { padding: 14px; }
}


/* iPhone-safe date and time pickers: visible labels + actual native picker tap targets. */
.contact-page .form-step .appointment-picker {
  position: relative; display: flex; align-items: center; width: 100%;
  min-width: 0; max-width: 100%; min-height: 50px; box-sizing: border-box;
  padding: 12px 15px; border: 1px solid #D3D7D4; border-radius: 7px;
  background: #FFF; color: var(--ink);
}
.contact-page .appointment-picker-value {
  display: block; flex: 1 1 auto; min-width: 0; overflow: hidden;
  font: 400 16px/1.4 var(--body); color: #5C6562; white-space: nowrap;
  text-overflow: ellipsis; pointer-events: none;
}
.contact-page .appointment-picker-value.is-selected { color: var(--ink); font-weight: 600; }
.contact-page .appointment-picker-caret {
  display: block; flex: 0 0 8px; width: 8px; height: 8px;
  margin: 0 2px 4px 12px; border-bottom: 2px solid var(--rust);
  border-right: 2px solid var(--rust); transform: rotate(45deg);
  pointer-events: none;
}
.contact-page .form-step .field .appointment-picker input[type="date"],
.contact-page .form-step .field .appointment-picker input[type="time"],
.contact-page .form-step .field .appointment-picker select[data-bookings-picker] {
  position: absolute; z-index: 2; inset: 0; box-sizing: border-box;
  display: block; width: 100%; height: 100%; min-width: 0; max-width: 100%;
  min-height: 0; padding: 0; margin: 0; border: 0;
  background: transparent; appearance: auto; opacity: .01; cursor: pointer;
}
.contact-page .appointment-picker:focus-within {
  outline: 2px solid var(--teal); outline-offset: 2px;
}
.contact-page .appointment-picker:has(input[aria-invalid="true"],select[aria-invalid="true"]) {
  border: 2px solid var(--rust);
}
.contact-page .appointment-picker input::-webkit-calendar-picker-indicator {
  position: absolute; inset: 0; width: 100%; height: 100%;
  padding: 0; margin: 0; opacity: 0; cursor: pointer;
}


/* RUFKO request-received experience: approved Simo + Lerdi design. */
.contact-page .estimate-card.is-receipt {
  background: transparent; padding: 0; border: 0; box-shadow: none;
  max-width: 100%; border-radius: 0;
}
.contact-page .estimate-card.is-receipt .form-heading { display: none; }
.contact-page .estimate-card.is-receipt #estimate-form { display: none; }
.contact-page .form-success.receipt-panel,
.confirmation-preview-page .receipt-panel {
  position: relative; display: block; width: 100%; min-width: 0; max-width: 100%;
  padding: clamp(20px, 4vw, 32px); margin: 0;
  background: #FFF; color: var(--ink); border: 1px solid #DDDAD4;
  border-radius: 16px; box-shadow: 0 8px 28px #252B2D0E; overflow: hidden;
  box-sizing: border-box;
}
.receipt-panel::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--rust);
}
.receipt-panel .receipt-overline {
  margin: 3px 0 7px; color: var(--rust); font-size: 11px; line-height: 1.45;
  font-weight: 800; letter-spacing: .14em;
}
.receipt-panel .receipt-title {
  margin: 0 0 10px; font-family: var(--head); font-size: clamp(34px, 6vw, 42px);
  letter-spacing: -.022em; line-height: 1.06; font-weight: 700;
}
.receipt-panel .receipt-intro {
  margin: 0; max-width: 430px; color: #58615F; font-size: 14px; line-height: 1.62;
}
.receipt-panel .receipt-detail {
  margin-top: 20px; padding: 16px 17px 14px; border-radius: 10px;
  background: #F1F4F2; border: 1px solid #E0E9E5;
}
.receipt-panel .receipt-detail-label {
  margin: 0 0 11px; color: #657470; font-size: 10px; font-weight: 800;
  letter-spacing: .115em; line-height: 1.4;
}
.receipt-panel .receipt-when {
  display: flex; align-items: center; gap: 10px; color: var(--ink);
  font-size: clamp(16px, 3vw, 19px); font-weight: 700; line-height: 1.4;
}
.receipt-panel .receipt-when svg { color: var(--rust); width: 19px; height: 19px; flex: 0 0 19px; }
.receipt-panel .receipt-when time { min-width: 0; }
.receipt-panel .receipt-method { margin: 9px 0 0 29px; color: #59635F; font-size: 12px; line-height: 1.5; }
.receipt-panel .receipt-pending {
  display: flex; gap: 8px; align-items: center; margin: 12px 0 0;
  color: #496F73; font-size: 12px; font-weight: 700; line-height: 1.4;
}
.receipt-panel .receipt-pending::before {
  content: ""; flex: 0 0 7px; width: 7px; height: 7px;
  border-radius: 50%; background: var(--teal);
}
.receipt-panel .receipt-divider {
  height: 1px; width: 100%; margin: 22px 0 18px; background: #E2DED8;
}
.receipt-panel .receipt-cat-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.receipt-panel .receipt-cat-intro { min-width: 0; flex: 1 1 auto; }
.receipt-panel .receipt-cat-intro h3 {
  font-family: var(--head); font-size: clamp(23px, 4vw, 28px);
  line-height: 1.1; letter-spacing: -.018em; margin: 0 0 6px;
}
.receipt-panel .receipt-cat-intro p { margin: 0; color: #6B716F; font-size: 12px; line-height: 1.35; }
.receipt-panel .receipt-cat-group { display: flex; flex: 0 0 auto; align-items: flex-start; gap: 8px; }
.receipt-panel .receipt-cat-group figure {
  display: flex; flex-direction: column; align-items: center;
  justify-content: flex-start; gap: 3px; width: 70px; margin: 0;
}
.receipt-panel .receipt-cat-group img {
  display: block; width: 68px; height: 68px; max-width: 100%; object-fit: contain;
  filter: drop-shadow(0 1px 1px #252B2D1F);
}
.receipt-panel .receipt-cat-group figcaption {
  font: 700 11px/1.3 var(--body); color: var(--ink);
}
.receipt-panel .receipt-joke {
  margin: 14px 0 0; color: #424C48; font-size: 13px; line-height: 1.66;
}
.receipt-panel .receipt-joke strong { font-weight: 800; color: var(--ink); }
.receipt-panel .receipt-cats-ask {
  margin: 10px 0 0; color: #47514F; font-size: 13px; line-height: 1.55; font-weight: 600;
}
.receipt-panel .receipt-calendar-button {
  display: flex; align-items: center; justify-content: center; gap: 11px;
  width: 100%; min-height: 52px; margin: 22px 0 0; padding: 12px 18px;
  border: 0; border-radius: 8px; background: var(--rust); color: #FFF;
  font: 800 15px/1.4 var(--body); cursor: pointer; box-sizing: border-box;
}
.receipt-panel .receipt-calendar-button svg { flex: 0 0 20px; width: 20px; height: 20px; }
.receipt-panel .receipt-calendar-button:hover { background: #924C37; }
.receipt-panel .receipt-calendar-button:focus-visible {
  outline: 3px solid var(--teal); outline-offset: 3px;
}
.receipt-panel .receipt-calendar-note {
  color: #717875; text-align: center; font-size: 11px;
  line-height: 1.45; margin: 10px 0 0;
}
.receipt-panel .receipt-home-link {
  display: flex; gap: 8px; width: fit-content; align-items: center;
  margin: 18px auto 0; padding: 4px 0;
  font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px;
}
.receipt-panel .receipt-home-link .arrow { width: 11px; height: 11px; }
.receipt-panel .receipt-home-link:hover { color: var(--rust); }
.confirmation-preview-page { background: var(--paper); padding: 25px 0 65px; }
.confirmation-preview-page > .container { width: min(520px, calc(100% - 32px)); margin-inline: auto; }
.confirmation-preview-note {
  padding: 9px 13px; margin: 0 0 15px; background: #E7EEEB; color: #4F615B;
  border-radius: 8px; font-size: 12px; font-weight: 700; line-height: 1.6;
}
@media (max-width: 599px) {
  .receipt-panel .receipt-title { font-size: 36px; }
  .receipt-panel .receipt-cat-intro h3 { font-size: 23px; }
  .receipt-panel .receipt-cat-group { gap: 5px; }
  .receipt-panel .receipt-cat-group figure { width: 63px; }
  .receipt-panel .receipt-cat-group img { width: 61px; height: 61px; }
  .receipt-panel .receipt-joke, .receipt-panel .receipt-cats-ask { font-size: 12px; }
  .receipt-panel .receipt-calendar-button { min-height: 49px; font-size: 14px; }
  .confirmation-preview-page { padding: 19px 0 49px; }
}
@media (max-width: 359px) {
  .contact-page .form-success.receipt-panel,
  .confirmation-preview-page .receipt-panel { padding: 21px 17px; }
  .receipt-panel .receipt-cat-top { flex-wrap: wrap; gap: 8px; }
  .receipt-panel .receipt-cat-intro { flex-basis: 100%; }
  .receipt-panel .receipt-cat-group { margin-inline: auto; }
  .receipt-panel .receipt-when { font-size: 16px; }
}

/* Hide request-received content until the lead is truly accepted. */
.receipt-panel[hidden],
.contact-page .form-success.receipt-panel[hidden],
.confirmation-preview-page .receipt-panel[hidden] { display: none !important; }

/* Direct Request flow: keep receipt visible below the mobile navigation. */
.contact-page .receipt-panel { scroll-margin-top: 110px; }
@media (max-width: 599px) {
  .contact-page .receipt-panel { scroll-margin-top: 84px; }
}


/* Maintenance & Upgrades: one-time repairs, existing RUFKO brand palette. */
.maintenance-page { min-width: 0; }
.maintenance-hero { padding: clamp(58px,6.5vw,110px) 0 clamp(62px,7vw,110px); border-bottom: 1px solid var(--line); }
.maintenance-hero-grid { display: grid; grid-template-columns: minmax(0,1.12fr) minmax(0,.88fr); align-items: center; gap: clamp(36px,7vw,112px); }
.maintenance-hero-copy { min-width: 0; }
.maintenance-hero-copy .eyebrow { color: var(--rust); margin: 0 0 22px; }
.maintenance-hero-copy h1 { font-size: clamp(47px,5.6vw,83px); line-height: 1.045; max-width: 730px; letter-spacing: -.025em; }
.maintenance-hero-copy h1 span { display: block; color: var(--teal); }
.maintenance-hero-lead { max-width: 660px; margin: 28px 0 14px; font-size: clamp(18px,2vw,22px); font-weight: 600; line-height: 1.55; }
.maintenance-hero-support { max-width: 640px; margin: 0; color: #525B59; line-height: 1.8; font-size: 16px; }
.maintenance-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin: 30px 0 0; }
.maintenance-actions .button { min-height: 54px; padding: 13px 23px; }
.maintenance-text-link { display: inline-flex; align-items: center; gap: 10px; padding: 10px 0; font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 5px; }
.maintenance-text-link:hover { color: var(--rust); }
.maintenance-text-link:focus-visible { outline: 3px solid var(--teal); outline-offset: 4px; }
.maintenance-note { min-width: 0; color: var(--paper); background: var(--ink); border-top: 6px solid var(--rust); padding: clamp(24px,3.5vw,44px); }
.maintenance-note-top { display: flex; justify-content: space-between; gap: 16px; font-size: 10px; font-weight: 700; letter-spacing: .12em; color: #C6D1CD; }
.maintenance-note ol, .maintenance-note .maintenance-todo { list-style: none; margin: 23px 0; padding: 0; }
.maintenance-note li { display: flex; align-items: baseline; gap: 17px; border-top: 1px solid #5A6664; padding: 15px 0; font-size: clamp(16px,1.8vw,21px); line-height: 1.35; font-family: var(--head); font-weight: 700; }
.maintenance-note li span { flex: 0 0 23px; font-family: var(--body); font-size: 10px; font-weight: 700; color: #B7CBD0; }
.maintenance-note p { margin: 0; padding-top: 13px; border-top: 2px solid var(--rust); font-size: 17px; font-weight: 700; }
.maintenance-services { padding: clamp(65px,8vw,110px) 0; background: #FCFBF8; }
.maintenance-section-intro { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.65fr); gap: clamp(30px,6vw,120px); align-items: end; margin-bottom: 42px; }
.maintenance-section-intro .eyebrow { color: var(--rust); margin: 0 0 16px; }
.maintenance-section-intro h2 { font-size: clamp(37px,4.3vw,60px); max-width: 720px; }
.maintenance-section-intro > p { margin: 0; color: #525B59; font-size: 16px; line-height: 1.8; }
.maintenance-fixes-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.maintenance-fix { min-width: 0; background: var(--paper); border: 1px solid #D9D6CF; border-top: 3px solid var(--teal); padding: clamp(20px,2.6vw,31px); }
.maintenance-fix-number { display: block; margin-bottom: 34px; font-size: 12px; font-weight: 700; color: var(--rust); letter-spacing: .07em; }
.maintenance-fix h3 { margin: 0 0 14px; font-size: clamp(25px,2.8vw,33px); line-height: 1.12; }
.maintenance-fix p { margin: 0; font-size: 14px; line-height: 1.8; color: #505957; }
.maintenance-more { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 28px; padding: 25px 0 0; border-top: 1px solid var(--line); }
.maintenance-more p { margin: 0; max-width: 670px; line-height: 1.7; }
.maintenance-more .button { flex: 0 0 auto; min-height: 50px; padding: 12px 21px; font-size: 17px; }
.maintenance-upgrades { background: var(--teal); padding: clamp(70px,8vw,110px) 0; }
.maintenance-upgrades-grid { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(42px,7vw,110px); align-items: start; }
.maintenance-upgrades-heading .eyebrow { color: var(--ink); margin-bottom: 18px; }
.maintenance-upgrades-heading h2 { max-width: 500px; font-size: clamp(43px,4.8vw,67px); }
.maintenance-upgrades-heading > p:last-child { margin: 22px 0 0; max-width: 490px; font-size: 16px; line-height: 1.8; color: var(--ink); }
.maintenance-upgrades-list { background: var(--paper); border-left: 4px solid var(--rust); padding: 5px 30px; }
.maintenance-upgrade { display: flex; align-items: start; gap: 20px; padding: 22px 0; }
.maintenance-upgrade + .maintenance-upgrade { border-top: 1px solid var(--line); }
.maintenance-upgrade-number { flex: 0 0 25px; padding-top: 5px; font-size: 11px; font-weight: 700; color: var(--rust); }
.maintenance-upgrade > div { min-width: 0; }
.maintenance-upgrade h3 { font-size: clamp(25px,2.6vw,32px); margin: 0 0 9px; }
.maintenance-upgrade p { margin: 0; font-size: 14px; line-height: 1.75; color: #485452; }
.maintenance-how { background: var(--ink); color: var(--paper); padding: clamp(65px,8vw,103px) 0; }
.maintenance-how .eyebrow { margin: 0 0 15px; color: #BDD1D3; }
.maintenance-how h2 { font-size: clamp(40px,4.8vw,62px); }
.maintenance-how-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(24px,4vw,65px); list-style: none; padding: 0; margin: 38px 0 0; }
.maintenance-how-grid li { border-top: 2px solid var(--teal); padding-top: 21px; min-width: 0; }
.maintenance-how-grid li > span { display: block; color: #B4CBCD; font-size: 12px; font-weight: 700; margin-bottom: 20px; }
.maintenance-how-grid h3 { font-size: clamp(27px,2.8vw,33px); margin: 0 0 14px; }
.maintenance-how-grid p { color: #DAE0DC; font-size: 14px; line-height: 1.8; margin: 0; }
@media (max-width: 899px) {
  .maintenance-hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 34px; }
  .maintenance-hero-copy h1 { font-size: clamp(42px,5.2vw,59px); }
  .maintenance-note { padding: 22px; }
  .maintenance-section-intro { grid-template-columns: 1fr; gap: 18px; }
  .maintenance-fixes-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .maintenance-upgrades-grid { grid-template-columns: 1fr; gap: 29px; }
  .maintenance-upgrades-heading > p:last-child { margin-top: 14px; }
}
@media (max-width: 599px) {
  .maintenance-hero { padding: 37px 0 55px; }
  .maintenance-hero-grid { grid-template-columns: 1fr; gap: 35px; }
  .maintenance-hero-copy h1 { font-size: clamp(40px,10vw,54px); }
  .maintenance-hero-lead { font-size: 17px; margin-top: 22px; }
  .maintenance-hero-support { font-size: 14px; }
  .maintenance-actions { gap: 11px; margin-top: 23px; }
  .maintenance-actions .button { width: 100%; justify-content: center; min-height: 52px; }
  .maintenance-text-link { width: fit-content; min-height: 44px; }
  .maintenance-note { padding: 25px 23px; }
  .maintenance-note li { font-size: 20px; padding: 13px 0; }
  .maintenance-services { padding: 59px 0; }
  .maintenance-section-intro { margin-bottom: 26px; }
  .maintenance-section-intro h2 { font-size: 39px; }
  .maintenance-section-intro > p { font-size: 14px; }
  .maintenance-fixes-grid { grid-template-columns: 1fr; gap: 12px; }
  .maintenance-fix { padding: 22px; }
  .maintenance-fix-number { margin-bottom: 17px; }
  .maintenance-fix h3 { font-size: 29px; margin-bottom: 9px; }
  .maintenance-more { flex-direction: column; align-items: stretch; gap: 16px; }
  .maintenance-more p { font-size: 14px; }
  .maintenance-more .button { width: 100%; justify-content: center; }
  .maintenance-upgrades { padding: 61px 0; }
  .maintenance-upgrades-heading h2 { font-size: 43px; }
  .maintenance-upgrades-heading > p:last-child { font-size: 14px; }
  .maintenance-upgrades-list { padding: 5px 18px; }
  .maintenance-upgrade { gap: 13px; }
  .maintenance-upgrade h3 { font-size: 27px; }
  .maintenance-upgrade p { font-size: 13px; }
  .maintenance-how { padding: 58px 0; }
  .maintenance-how h2 { font-size: 40px; }
  .maintenance-how-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 29px; }
  .maintenance-how-grid li > span { margin-bottom: 10px; }
  .maintenance-how-grid h3 { font-size: 29px; margin-bottom: 8px; }
}


/* Upgrade page: editorial desktop layout, using original RUFKO photos and brand colors. */
.upgrade-intro { padding: clamp(48px,5.5vw,82px) 0 75px; background: var(--paper); }
.upgrade-hero-grid {
  display: grid; grid-template-columns: minmax(0,.86fr) minmax(0,1.24fr);
  align-items: center; gap: clamp(44px,5.6vw,86px);
}
.upgrade-intro-inner { min-width: 0; max-width: 520px; }
.upgrade-intro .eyebrow,.upgrade-functional-intro .eyebrow { color: var(--rust); margin-bottom: 17px; }
.upgrade-intro h1 {
  max-width: 550px; font-size: clamp(52px,5.5vw,78px);
  letter-spacing: -.035em; line-height: 1.02;
}
.upgrade-intro h1 span { display: block; color: var(--teal); }
.upgrade-intro-lead { max-width: 460px; margin: 25px 0 0; font-size: 17px; line-height: 1.75; }
.upgrade-intro-action { margin-top: 28px; }
.upgrade-intro-action .button { min-height: 55px; padding: 13px 25px; }
.upgrade-hero-highlights {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr));
  list-style: none; padding: 23px 0 0; margin: 31px 0 0;
  border-top: 1px solid var(--line);
}
.upgrade-hero-highlights li { min-width: 0; padding: 0 12px 0 0; font-size: 12px; line-height: 1.5; font-weight: 600; }
.upgrade-hero-highlights li+li { border-left: 1px solid var(--line); padding-left: 13px; }
.upgrade-compare { position: relative; width: 100%; min-width: 0; --reveal: 0%; }
.upgrade-compare-stage {
  position: relative; isolation: isolate; aspect-ratio: 3 / 2; width: 100%;
  overflow: hidden; border: 5px solid var(--paper); border-radius: 15px;
  outline: 1px solid var(--line); background: var(--ink);
  box-shadow: 0 20px 50px rgba(37,43,45,.12);
  user-select: none; -webkit-user-select: none;
}
.upgrade-compare-before,.upgrade-compare-after { display: block; width: 100%; height: 100%; object-fit: cover; }
.upgrade-compare-before { position: absolute; inset: 0; }
.upgrade-compare-reveal {
  position: absolute; inset: 0; z-index: 1;
  clip-path: inset(0 0 0 calc(100% - var(--reveal)));
  -webkit-clip-path: inset(0 0 0 calc(100% - var(--reveal)));
}
.upgrade-compare-reveal img { width: 100%; height: 100%; object-fit: cover; }
.upgrade-compare-divider {
  position: absolute; z-index: 3; top: 0; bottom: 0;
  left: clamp(0px, calc(100% - var(--reveal)), 100%); width: 2px;
  background: var(--paper); pointer-events: none;
}
.upgrade-compare-handle {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: 50%; border: 2px solid var(--paper);
  background: var(--paper); color: var(--ink); font: 700 24px/1 var(--body);
  box-shadow: 0 4px 14px rgba(37,43,45,.24);
}
.upgrade-compare-slider {
  position: absolute; z-index: 4; top: 50%; left: 0; width: 100%; height: 54px;
  transform: translateY(-50%); margin: 0; opacity: 0; cursor: ew-resize;
  direction: rtl;
}
.upgrade-compare:focus-within .upgrade-compare-handle { outline: 3px solid var(--rust); outline-offset: 3px; }
.upgrade-compare-hold { display: none; }
.upgrade-compare-help {
  pointer-events: none; color: var(--paper); text-align: center;
  font: 600 12px/1.5 var(--body); margin: 0;
}
.upgrade-compare-help--desktop {
  position: absolute; left: 50%; bottom: 20px; z-index: 5;
  transform: translateX(-50%); width: max-content; max-width: calc(100% - 36px);
  padding: 10px 16px; border-radius: 24px; background: rgba(37,43,45,.84);
}
.upgrade-compare-help--mobile { display: none; }
.upgrade-functional { border-top: 1px solid var(--line); padding: 66px 0 82px; background: var(--paper); }
.upgrade-functional-intro { margin-bottom: 29px; }
.upgrade-functional-intro h2 { font-size: clamp(36px,4.1vw,52px); }
.upgrade-benefits { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 15px; }
.upgrade-benefit {
  display: flex; flex-direction: column; min-width: 0; min-height: 278px;
  padding: 23px 21px 20px; border: 1px solid var(--line);
  border-top: 3px solid var(--teal); border-radius: 7px; background: rgba(255,255,255,.42);
}
.upgrade-benefit h3 { font-size: clamp(22px,2.25vw,30px); line-height: 1.12; margin: 0 0 14px; }
.upgrade-benefit-copy { color: var(--ink); opacity: .82; margin: 0 0 24px; font-size: 14px; line-height: 1.67; }
.upgrade-benefit-outcome {
  margin: auto 0 0; padding-top: 17px; border-top: 1px solid var(--line);
  color: var(--teal); font: 700 10px/1.5 var(--body); letter-spacing: .09em;
}
.upgrade-next {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: var(--soft); border-left: 4px solid var(--rust);
  margin-top: 28px; padding: 26px 30px;
}
.upgrade-next-copy { min-width: 0; }
.upgrade-next h2 { font-size: clamp(27px,2.7vw,36px); margin-bottom: 9px; }
.upgrade-next p { font-size: 14px; line-height: 1.65; margin: 0; }
.upgrade-next .button { min-height: 52px; flex: 0 0 auto; padding: 12px 23px; }
@media (max-width: 1080px) {
  .upgrade-hero-grid { gap: 34px; }
  .upgrade-intro h1 { font-size: clamp(47px,5.6vw,65px); }
  .upgrade-benefits { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .upgrade-benefit { min-height: 230px; }
}
@media (max-width: 899px) {
  .upgrade-intro { padding: 49px 0 55px; }
  .upgrade-hero-grid { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .upgrade-intro-inner { max-width: 690px; }
  .upgrade-intro h1 { font-size: clamp(48px,7.6vw,70px); }
  .upgrade-compare { max-width: 760px; margin-inline: auto; }
  .upgrade-functional { padding: 56px 0 66px; }
  .upgrade-next { align-items: flex-start; flex-direction: column; gap: 19px; }
}
@media (max-width: 599px) {
  .upgrade-intro { padding: 32px 0 48px; }
  .upgrade-hero-grid { gap: 28px; }
  .upgrade-intro h1 { font-size: clamp(40px,10vw,55px); }
  .upgrade-intro-lead { font-size: 16px; margin-top: 17px; }
  .upgrade-intro-action { margin-top: 21px; }
  .upgrade-intro-action .button,.upgrade-next .button { width: 100%; justify-content: center; }
  .upgrade-hero-highlights { padding-top: 16px; margin-top: 22px; }
  .upgrade-hero-highlights li { font-size: 10px; }
  .upgrade-hero-highlights li+li { padding-left: 10px; }
  /* Let both photos fill and be clipped by the rounded frame on phones. */
  .upgrade-compare-stage {
    border: 0;
    border-radius: 12px;
    overflow: hidden;
    outline: 1px solid var(--line);
    box-shadow: 0 12px 30px rgba(37,43,45,.12);
  }
  .upgrade-compare-reveal { border-radius: inherit; overflow: hidden; }
  .upgrade-compare-slider,.upgrade-compare-divider { display: none; }
  .upgrade-compare-hold {
    display: block; position: absolute; inset: 0; z-index: 4;
    width: 100%; height: 100%; padding: 0; margin: 0;
    background: transparent; border: 0; cursor: pointer;
    touch-action: pan-y; -webkit-touch-callout: none;
  }
  .upgrade-compare-help--desktop { display: none; }
  .upgrade-compare-help--mobile {
    display: block; color: var(--ink); font-size: 12px;
    margin-top: 12px; padding: 0;
  }
  .upgrade-functional { padding: 47px 0 55px; }
  /* Match the homepage Option A mobile editorial rows, without boxed cards. */
  .upgrade-functional-intro {
    margin-bottom: 0;
    padding-bottom: 18px;
    border-bottom: 3px solid var(--rust);
  }
  .upgrade-functional-intro .eyebrow { margin-bottom: 0; }
  .upgrade-functional-intro h2 { display: none; }
  .upgrade-benefits { display: block; }
  .upgrade-benefit {
    display: block;
    min-height: 0;
    padding: 24px 0 25px;
    border: 0;
    border-bottom: 1px solid #CBC8C1;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }
  .upgrade-benefit h3 {
    margin: 0 0 9px;
    font: 700 37px/1.01 var(--head);
    letter-spacing: -.025em;
  }
  .upgrade-benefit-copy {
    margin: 0;
    max-width: 100%;
    color: #586361;
    opacity: 1;
    font: 400 13px/1.55 var(--body);
  }
  .upgrade-benefit-outcome {
    margin: 14px 0 0;
    padding: 0;
    border: 0;
    color: var(--teal);
    font: 700 10px/1.5 var(--body);
    letter-spacing: .09em;
  }
  .upgrade-next { padding: 22px 19px; }
  .upgrade-next h2 { font-size: 30px; }
}
/* A broad invitation instead of a restrictive catalog of Maintenance cards. */
.maintenance-invitation {
  background: #FCFBF8;
  padding: clamp(66px, 8vw, 112px) 0;
}
.maintenance-invitation-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  align-items: start;
  gap: clamp(34px, 7vw, 115px);
}
.maintenance-invitation-heading { min-width: 0; }
.maintenance-invitation-heading .eyebrow {
  color: var(--rust);
  margin: 0 0 18px;
}
.maintenance-invitation-heading h1 {
  max-width: 650px;
  font-size: clamp(42px, 5.1vw, 70px);
  line-height: 1.08;
}
.maintenance-invitation-heading h1 span { color: var(--teal); }
.maintenance-invitation-copy { min-width: 0; padding-top: 7px; }
.maintenance-invitation-copy > p {
  font-size: 16px;
  line-height: 1.8;
  color: #505957;
  margin: 0 0 19px;
}
.maintenance-invitation-copy .maintenance-invitation-lead {
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.55;
  font-weight: 600;
  color: var(--ink);
}
.maintenance-invitation-copy .maintenance-scope {
  border-left: 3px solid var(--rust);
  padding-left: 18px;
  margin: 26px 0;
  font-size: 14px;
}
.maintenance-invitation-copy .maintenance-scope strong { color: var(--ink); }
.maintenance-invitation-copy .button {
  min-height: 52px;
  padding: 12px 23px;
  margin-top: 7px;
}
@media (max-width: 899px) {
  .maintenance-invitation-grid { grid-template-columns: 1fr; gap: 25px; }
  .maintenance-invitation-copy { padding-top: 0; }
}
@media (max-width: 599px) {
  .maintenance-invitation { padding: 58px 0; }
  .maintenance-invitation-heading h1 { font-size: clamp(40px, 9.5vw, 52px); }
  .maintenance-invitation-copy > p { font-size: 14px; }
  .maintenance-invitation-copy .maintenance-invitation-lead { display: none; }
  .maintenance-invitation-copy .maintenance-scope { font-size: 13px; padding-left: 14px; }
  .maintenance-invitation-copy .button { width: 100%; justify-content: center; }
}

/* Native mobile navigation popover. Never expand the header or shift page content. */
@media (max-width: 899px) {
  .js .primary-nav:is(:popover-open, .is-open) {
    display: flex;
    position: fixed;
    inset: calc(var(--mobile-menu-top, 96px) + 8px) 24px auto auto;
    box-sizing: border-box;
    width: min(360px, calc(100vw - 48px));
    max-width: calc(100vw - 48px);
    max-height: calc(100vh - var(--mobile-menu-top, 96px) - 24px);
    max-height: calc(100dvh - var(--mobile-menu-top, 96px) - 24px);
    margin: 0;
    padding: 10px;
    flex-flow: column nowrap;
    align-items: stretch;
    gap: 3px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--line);
    border-top: 3px solid var(--rust);
    border-radius: 0 0 8px 8px;
    background: var(--paper);
    box-shadow: 0 16px 36px rgba(37,43,45,.2);
    z-index: 60;
  }
  .js .primary-nav:is(:popover-open, .is-open) > a:not(.button) {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 11px 14px;
    font-size: 16px;
    line-height: 1.4;
    border-radius: 3px;
    text-decoration: none;
  }
  .js .primary-nav:is(:popover-open, .is-open) > a:not(.button):hover {
    background: var(--soft);
  }
  .js .primary-nav:is(:popover-open, .is-open) > a[aria-current="page"] {
    background: var(--soft);
    box-shadow: inset 3px 0 var(--rust);
    font-weight: 700;
  }
}
@media (max-width: 599px) {
  .js .primary-nav:is(:popover-open, .is-open) {
    right: 20px;
    width: calc(100vw - 40px);
    max-width: calc(100vw - 40px);
  }
}
@media (max-width: 359px) {
  .js .primary-nav:is(:popover-open, .is-open) {
    right: 14px;
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }
}

/* Approved Option A: clean editorial service links on phones; hidden on desktop. */
.home-mobile-services { display: none; }
@media (max-width: 599px) {
  /* Keep the approved 28px spacing below the homepage estimate button. */
  .home-mobile-services { display: block; background: var(--paper); padding: 14px 0 27px; }
  .home-mobile-services-title {
    margin: 0; padding-bottom: 18px; border-bottom: 3px solid var(--rust);
    color: var(--rust); text-transform: uppercase;
    font: 700 11px/1.45 var(--body); letter-spacing: .18em;
  }
  .home-mobile-services-list { display: block; }
  .home-mobile-service-link {
    display: grid; grid-template-columns: minmax(0,1fr) 32px;
    align-items: center; gap: 14px; width: 100%;
    padding: 24px 0 25px; border-bottom: 1px solid #CBC8C1;
    background: transparent; color: var(--ink);
    transition: background-color .14s;
  }
  .home-mobile-service-link:active { background: #E9EAE3; }
  .home-mobile-service-link:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }
  .home-mobile-service-copy { min-width: 0; }
  .home-mobile-service-link h3 {
    margin: 0 0 9px; font: 700 37px/1.01 var(--head); letter-spacing: -.025em;
  }
  .home-mobile-service-link p {
    margin: 0; max-width: 265px; color: #586361; font: 400 13px/1.55 var(--body);
  }
  .home-mobile-service-arrow {
    display: grid; place-items: center; justify-self: end;
    align-self: center; width: 25px; height: 25px; color: var(--teal);
  }
  .home-mobile-service-arrow svg {
    display: block; width: 25px; height: 25px;
    stroke: currentColor; stroke-width: 2.1; fill: none;
    stroke-linecap: round; stroke-linejoin: round;
  }
  /* Only the surrounding mobile Apples copy and layout are adjusted; do not change the existing CTA. */
  .home-match { padding: 36px 0 39px; }
  .home-match-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .home-match-heading { display: flex; flex-direction: column; }
  .home-match .home-match-heading .eyebrow {
    display: none;
  }
  .home-match h2 { display: none; }
  .home-match-copy { background: transparent; border: 0; margin: 0; padding: 0; }
  .home-match-copy > .button { display: none; }
  .home-match-mobile-cta { display: block; }
  .home-match-kicker { display: none; }
  .home-match-deal { display: none; }
  .home-match-mobile-pitch {
    display: block; margin: 0 0 24px; color: var(--ink);
    font: 600 18px/1.5 var(--body);
  }
}

/* Keep the Free Estimate caption centered, independently of its decorative arrow. */
.header-cta,
.brand-hero .hero-actions .button {
  position: relative;
  justify-content: center;
  text-align: center;
  gap: 0;
  padding-left: 44px;
  padding-right: 44px;
}
.header-cta > .arrow,
.brand-hero .hero-actions .button > .arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  transform: translateY(-50%);
}
@media (max-width: 599px) {
  /* The header icon is hidden on phones; preserve the compact header width. */
  .header-cta { padding-left: 12px; padding-right: 12px; }
  .brand-hero .hero-actions .button { padding-left: 44px; padding-right: 44px; }
}
/* Approved desktop homepage proposal; existing mobile styles remain unchanged. */
.home-desktop-services { display: none; }
@media (min-width: 900px) {
  .brand-hero { padding: 46px 0 65px; border-bottom: 1px solid var(--line); }
  .brand-hero-grid {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    gap: clamp(44px, 6vw, 88px); min-height: 580px; align-items: center;
  }
  .brand-hero-art {
    display: flex; align-items: center; justify-content: center;
    min-height: 455px; padding: 16px 45px 16px 0;
    border-right: 1px solid var(--line);
  }
  .brand-hero-art img { width: 100%; max-width: 405px; height: auto; }
  .brand-hero-copy .eyebrow { max-width: 540px; margin-bottom: 24px; line-height: 1.8; }
  .brand-hero h1 {
    max-width: 610px; margin-bottom: 26px;
    font-size: clamp(58px, 5.4vw, 80px); line-height: 1.035;
    letter-spacing: -.034em;
  }
  .brand-hero h1 span:last-child { color: var(--teal); }
  .brand-hero-description {
    max-width: 535px; margin: 0 0 29px;
    font-size: 17px; line-height: 1.8; color: #505958;
  }
  .brand-hero .hero-actions .button { min-width: 245px; min-height: 57px; }

  /* Unboxed, three-column editorial links. */
  .home-desktop-services { display: block; padding: 69px 0 83px; background: var(--paper); }
  .home-desktop-services-intro {
    display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .75fr);
    align-items: end; column-gap: 72px; margin-bottom: 37px;
  }
  .home-desktop-services-intro .eyebrow {
    color: var(--rust); font-size: 11px; letter-spacing: .16em; margin-bottom: 12px;
  }
  .home-desktop-services-intro h2 {
    max-width: 750px; font-size: clamp(36px, 3.55vw, 51px); line-height: 1.09;
  }
  .home-desktop-services-summary {
    max-width: 365px; justify-self: end; margin: 0 0 3px;
    color: #546160; font-size: 15px; line-height: 1.75;
  }
  .home-desktop-services-grid {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 3px solid var(--teal); border-bottom: 1px solid var(--line);
  }
  .home-desktop-service {
    min-width: 0; min-height: 257px; display: flex; flex-direction: column;
    padding: 27px 32px 25px; transition: background-color .18s;
  }
  .home-desktop-service:first-child { padding-left: 0; }
  .home-desktop-service:not(:first-child) { border-left: 1px solid var(--line); }
  .home-desktop-service:last-child { padding-right: 0; }
  .home-desktop-service h3 {
    font-size: clamp(32px, 3vw, 43px); line-height: 1.08; margin: 0 0 16px;
  }
  .home-desktop-service p {
    max-width: 325px; margin: 0 0 25px; color: #525C5A;
    font-size: 15px; line-height: 1.75;
  }
  .home-desktop-service-action {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; margin-top: auto; color: var(--ink);
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .065em;
  }
  .home-desktop-service-action .arrow { color: var(--teal); font-size: 23px; }
  .home-desktop-service:hover h3, .home-desktop-service:focus-visible h3 { color: var(--teal); }
  .home-desktop-service:hover .arrow, .home-desktop-service:focus-visible .arrow { color: var(--rust); }
  .home-desktop-service:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; }

  /* The existing desktop Apples? copy, destination, and button stay intact. */
  .home-match { padding: 84px 0; }
  .home-match h2 { font-size: clamp(64px, 5.6vw, 82px); }
  .home-match-copy { padding: 36px 38px 40px; }
  .home-match-deal { font-size: clamp(29px, 2.7vw, 37px); max-width: 475px; margin-bottom: 29px; }

  /* Approved founder story, with the teal signoff. */
  .home-story { padding: 92px 0 94px; }
  .home-story .home-story-second-line { color: var(--teal); }
}
@media (min-width: 900px) and (max-width: 1150px) {
  .brand-hero { padding: 38px 0 50px; }
  .brand-hero-grid { min-height: 520px; gap: 38px; }
  .brand-hero-art { min-height: 398px; padding-right: 32px; }
  .brand-hero h1 { font-size: clamp(47px, 5.1vw, 61px); }
  .home-desktop-services { padding: 60px 0 70px; }
  .home-desktop-services-intro { column-gap: 30px; }
  .home-desktop-services-intro h2 { font-size: clamp(34px, 3.7vw, 43px); }
  .home-desktop-service { min-height: 264px; padding-left: 20px; padding-right: 20px; }
  .home-desktop-service h3 { font-size: clamp(30px, 3vw, 38px); }
  .home-desktop-service-action { font-size: 11px; gap: 9px; }
}

