/* howtoinstallminisplit.com
   Drywall grey ground, white paper, ink lines. Manifold-gauge blue for action,
   gauge red only for warnings and marker circles, copper only for the line set. */
:root {
  --wall: #e4e6e1;
  --wall-2: #d6d9d2;
  --paper: #ffffff;
  --ink: #16202c;
  --ink-2: #4b5664;
  --rule: #c3c8bf;
  --low: #1d4ed8;      /* suction-side gauge blue */
  --low-deep: #163a9e;
  --high: #c2302a;     /* discharge-side gauge red */
  --copper: #b56a34;
  --tape: rgba(236, 226, 186, .82);

  --wide: "wdth" 125;
  --measure: 66ch;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--wall);
  color: var(--ink);
  font: 400 1.0625rem/1.62 Archivo, system-ui, sans-serif;
  font-variation-settings: "wdth" 100;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--low); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--low); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 8px; }

h1, h2, h3 { font-variation-settings: var(--wide); line-height: 1.05; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 5.4vw, 4.1rem); font-weight: 820; line-height: .98; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 760; }
h3 { font-size: 1.15rem; font-weight: 720; font-variation-settings: "wdth" 112; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 44ch; }
.small { font-size: .875rem; color: var(--ink-2); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* buttons */
.btn {
  display: inline-block; background: var(--low); color: #fff; text-decoration: none;
  font-weight: 700; font-variation-settings: "wdth" 110; padding: .8rem 1.3rem; border-radius: 3px;
  border: 2px solid var(--low); font-size: 1rem; cursor: pointer;
}
.btn:hover { background: var(--low-deep); border-color: var(--low-deep); }
.btn-quiet { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-quiet:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-light { background: #fff; color: var(--low-deep); border-color: #fff; }
.btn-light:hover { background: var(--wall); border-color: var(--wall); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* header */
.top { background: var(--wall); border-bottom: 1px solid var(--rule); }
.top-in { max-width: 1160px; margin: 0 auto; padding: 14px 24px; display: flex; align-items: center; gap: 28px; }
.mark { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-variation-settings: "wdth" 118; font-size: 1.05rem; line-height: 1; }
.mark b { font-weight: 850; }
.mark img { width: 44px; height: 44px; flex: none; }
.top nav { display: flex; gap: 22px; margin-left: auto; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 560; font-size: .98rem; padding: 4px 0; border-bottom: 2px solid transparent; }
.top nav a:hover, .top nav a[aria-current] { border-bottom-color: var(--low); }
.call svg { display: none; }
.call { font-weight: 700; font-variation-settings: "wdth" 108; color: var(--low); text-decoration: none; white-space: nowrap; font-size: .98rem; }

/* hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 4.3vw, 3.6rem); max-width: 15ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.sheet { margin: 0; }

/* the template drawing */
.tpl { width: 100%; height: auto; overflow: visible; }
.tpl .ceil { stroke: var(--ink-2); stroke-width: 1.5; }
.tpl .paper { fill: var(--paper); filter: drop-shadow(0 1px 0 var(--wall-2)) drop-shadow(0 10px 18px rgba(22,32,44,.10)); }
.tpl .tape { fill: var(--tape); }
.tpl .print { fill: none; stroke: var(--ink); stroke-width: 2; }
.tpl .print .thin { stroke-width: 1.2; }
.tpl .print .dash { stroke-dasharray: 8 6; stroke-width: 1.5; }
.tpl .print .ctr { stroke-dasharray: 22 5 3 5; stroke-width: 1; stroke: var(--ink-2); }
.tpl .print text { fill: var(--ink); stroke: none; font-family: Archivo, sans-serif; }
.tpl .p-lab { font-size: 13px; font-weight: 700; letter-spacing: .12em; font-variation-settings: "wdth" 125; }
.tpl .p-sm { font-size: 12px; font-variation-settings: "wdth" 90; fill: var(--ink-2); }
.tpl .mk { fill: none; stroke: var(--low); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.tpl .mk .red { stroke: var(--high); }
.tpl .mk .stud { stroke-width: 2.4; stroke-dasharray: 14 10; opacity: .85; }
.tpl .mk text { fill: var(--low); stroke: none; font: 700 23px Kalam, cursive; }

@media (prefers-reduced-motion: no-preference) {
  .tpl .draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); animation: ink .7s cubic-bezier(.4,.1,.3,1) forwards; }
  .tpl .mk text, .tpl .mk .stud { opacity: 0; animation: show .4s ease-out forwards; }
  .tpl .mk > :nth-child(1), .tpl .mk > :nth-child(2) { animation-delay: .5s; }
  .tpl .mk > :nth-child(3) { animation-delay: .9s; }
  .tpl .mk > :nth-child(4), .tpl .mk > :nth-child(5) { animation-delay: 1.2s; }
  .tpl .mk > :nth-child(6) { animation-delay: 1.6s; }
  .tpl .mk > :nth-child(7), .tpl .mk > :nth-child(8) { animation-delay: 2.1s; }
  .tpl .mk > :nth-child(9), .tpl .mk > :nth-child(10) { animation-delay: 2.5s; }
  .tpl .mk > :nth-child(11) { animation-delay: 2.9s; }
}
@keyframes ink { to { stroke-dashoffset: 0; } }
@keyframes show { to { opacity: 1; } }

/* section heads */
.sec-head { max-width: 40rem; margin-bottom: 36px; }
.sec-head p { color: var(--ink-2); font-size: 1.1rem; }

/* the install sequence: copper line with flare-nut nodes */
.sequence { background: var(--paper); padding: 80px 0; }
.spine { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 64px; counter-reset: s; }
.spine li { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding-bottom: 34px; }
.spine li::before { content: ""; position: absolute; left: 20px; top: 46px; bottom: 0; width: 4px; background: var(--copper); border-radius: 2px; }
.spine li:nth-child(4)::before, .spine li:nth-child(8)::before { display: none; }
.spine h3 { margin: 10px 0 .35em; }
.spine h3 a { color: var(--ink); text-decoration: none; }
.spine h3 a:hover { color: var(--low); text-decoration: underline; }
.spine p { color: var(--ink-2); max-width: 38ch; margin: 0; }
.node { position: relative; width: 44px; height: 50px; }
.node svg { width: 44px; height: 50px; fill: var(--paper); stroke: var(--ink); stroke-width: 2.4; }
.node span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-variation-settings: "wdth" 110; font-size: 1.05rem; }
.spine { grid-auto-flow: column; grid-template-rows: repeat(4, auto); }

/* guide rows */
.guides-home { padding: 80px 0; }
.rows { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.row a { display: grid; grid-template-columns: 1fr 1.25fr 12rem; gap: 8px 32px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--rule); color: var(--ink); text-decoration: none; }
.row-t { font-size: 1.35rem; font-weight: 740; font-variation-settings: "wdth" 115; line-height: 1.15; }
.row-d { color: var(--ink-2); }
.row-m { font-size: .9rem; color: var(--ink-2); }
.row-m .sep { display: block; }
.row a:hover .row-t { color: var(--low); text-decoration: underline; text-decoration-thickness: 2px; }

/* where DIY stops */
.limits { padding: 0 0 80px; }
.limits-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lim { background: var(--paper); padding: 28px 30px; border-top: 5px solid; }
.lim-ok { border-color: var(--low); }
.lim-stop { border-color: var(--high); }
.lim ul { margin: 0; padding-left: 1.1em; }
.lim li { margin-bottom: .5em; }

/* hire panel */
.hire-panel { background: var(--low); color: #fff; padding: 72px 0; }
.hire-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.hire-panel h2 { max-width: 20ch; font-size: clamp(1.75rem, 3.4vw, 2.6rem); }
.hire-panel p { max-width: 52ch; font-size: 1.12rem; opacity: .92; }
.hire-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* footer */
.foot { background: var(--ink); color: #d8dde3; padding: 56px 0 28px; font-size: .95rem; }
.foot a { color: #fff; }
.foot-in { max-width: 1160px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 2fr 1.4fr 1fr; gap: 40px; }
.foot-name { font-weight: 780; font-variation-settings: "wdth" 118; color: #fff; font-size: 1.1rem; }
.foot-h { font-weight: 700; color: #fff; margin-bottom: .6em; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: .45em; }
.foot-legal { max-width: 1160px; margin: 40px auto 0; padding: 20px 24px 0; border-top: 1px solid #334050; font-size: .84rem; color: #9aa6b3; }

/* inner page heads */
.page-head { padding: 56px 0 40px; }
.page-head h1 { max-width: 18ch; }
.rows-page { margin-bottom: 72px; }

/* guide */
.guide-head { padding-top: 40px; padding-bottom: 36px; }
.guide-head h1 { max-width: 17ch; }
.crumb { margin-bottom: 18px; font-weight: 600; }
.facts { display: flex; flex-wrap: wrap; gap: 0; margin: 28px 0 0; border-top: 2px solid var(--ink); }
.facts div { padding: 12px 28px 0 0; margin-right: 28px; }
.facts div + div { border-left: 1px solid var(--rule); padding-left: 28px; margin-right: 0; }
.facts dt { font-size: .82rem; color: var(--ink-2); }
.facts dd { margin: 2px 0 0; font-weight: 650; }

.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; padding-bottom: 72px; }
.prose { background: var(--paper); padding: 44px 52px 36px; font-size: 1.09rem; }
.prose > * { max-width: var(--measure); }
.prose h2 { font-size: 1.6rem; margin: 1.8em 0 .55em; display: flex; align-items: baseline; gap: 14px; scroll-margin-top: 20px; }
.prose h2:first-child { margin-top: 0; }
.prose h2 .n { flex: none; display: inline-grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--copper); color: var(--copper); border-radius: 50%; font-size: 1rem; font-weight: 800; transform: translateY(-3px); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.note, .stop { margin: 1.5em 0; padding: 16px 20px; border-left: 5px solid var(--low); background: #eef2fc; }
.stop { border-color: var(--high); background: #fbefee; }
.note p, .stop p { margin: 0; }

.faq { margin-top: 3em; border-top: 2px solid var(--ink); padding-top: 1.4em; }
.faq h2 { display: block; margin-top: 0; }
.faq details { border-bottom: 1px solid var(--rule); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 680; font-size: 1.1rem; }
.faq details p { margin: .7em 0 .2em; color: var(--ink-2); }

.rail { display: grid; gap: 20px; position: sticky; top: 20px; }
.rail-box { background: var(--paper); padding: 22px 24px; }
.rail-box h2 { font-size: 1.05rem; font-variation-settings: "wdth" 115; margin-bottom: .8em; }
.rail-box p { font-size: .95rem; }
.tools { list-style: none; margin: 0; padding: 0; font-size: .95rem; }
.tools li { padding: 7px 0; border-top: 1px solid var(--rule); }
.tools li:first-child { border-top: 0; padding-top: 0; }
.rail-hire { background: var(--ink); color: #fff; }
.rail-hire p { color: #cfd6de; }
.rail-hire .btn { margin-top: 4px; }
.spec { margin: 0 0 .8em; }
.spec div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid var(--rule); font-size: .93rem; }
.spec div:first-child { border-top: 0; padding-top: 0; }
.spec dt { color: var(--ink-2); }
.spec dd { margin: 0; font-weight: 650; text-align: right; }
.spec-table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-bottom: .8em; font-variant-numeric: tabular-nums; }
.spec-table th { text-align: left; font-weight: 700; border-bottom: 2px solid var(--ink); padding: 4px 0; }
.spec-table td { border-bottom: 1px solid var(--rule); padding: 7px 0; }
.spec-table td:first-child { font-weight: 650; }

/* hire page */
.hire-grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; align-items: start; padding-bottom: 80px; }
.hire-grid .prose h2 { display: block; }
.quote { background: var(--paper); padding: 30px; border-top: 5px solid var(--low); display: grid; gap: 14px; }
.quote h2 { font-size: 1.4rem; margin-bottom: 0; }
.quote label { display: grid; gap: 5px; font-weight: 600; font-size: .95rem; }
.quote input, .quote textarea { font: inherit; font-weight: 400; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: 3px; background: #fff; color: var(--ink); }
.quote input:focus, .quote textarea:focus { border-color: var(--low); outline: 2px solid var(--low); outline-offset: 0; }
.quote fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 6px; }
.quote legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.quote .opt { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.quote .opt input { accent-color: var(--low); width: 18px; height: 18px; }
.quote .hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 600; }
.form-msg.ok { color: var(--low-deep); }
.form-msg.err { color: var(--high); }

/* about */
.about-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 48px; align-items: start; padding-bottom: 80px; }
.photo-slot { aspect-ratio: 4 / 5; border: 2px dashed var(--ink-2); display: grid; place-items: center; text-align: center; padding: 24px; color: var(--ink-2); background: var(--wall-2); }
.facts-about { margin-top: 2em; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 24px; }
.facts-about div, .facts-about div + div { border-left: 0; padding: 12px 0 0; margin: 0; }
.facts-about div:last-child { grid-column: 1 / -1; }
.facts-about dd { overflow-wrap: anywhere; }
@media (max-width: 560px) { .facts-about { grid-template-columns: 1fr; } }

/* responsive */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 36px; }
  .guide-grid, .hire-grid, .about-grid { grid-template-columns: 1fr; }
  .rail { position: static; }
  .row a { grid-template-columns: 1fr; }
  .about-grid .photo-slot { max-width: 320px; }
}
@media (max-width: 760px) {
  .top-in { flex-wrap: wrap; gap: 10px 18px; padding: 12px 16px; }
  .top nav { order: 3; margin-left: 0; width: 100%; gap: 18px; }
  .call { margin-left: auto; }
  .wrap, .hero-in, .hire-in, .foot-in { padding-left: 16px; padding-right: 16px; }
  .hero { padding: 36px 0 48px; }
  .spine { grid-template-columns: 1fr; grid-auto-flow: row; grid-template-rows: none; }
  .spine li:nth-child(4)::before { display: block; }
  .limits-cols, .foot-in { grid-template-columns: 1fr; }
  .prose { padding: 28px 20px; margin: 0 -16px; }
  .facts div, .facts div + div { padding: 10px 16px 0 0; margin-right: 16px; border-left: 0; padding-left: 0; }
  .sequence, .guides-home { padding: 56px 0; }
}
@media (max-width: 440px) {
  .mark { gap: 8px; }
  .mark img { width: 34px; height: 34px; }
  .mark span { font-size: .86rem; }
  .call { width: 40px; height: 40px; border-radius: 50%; background: var(--low); display: grid; place-items: center; }
  .call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .call svg { display: block; width: 20px; height: 20px; fill: #fff; }
  .top-in { column-gap: 10px; }
}
