/* sx.v1.css: the first Invisalign wave on the home page (2026-12-04, Dr. Kunik's direction; _build/requests/2026-12-04-invisalign-first/RECORD.md):
   the seal on the first screen and the band between Meet Dr. Kunik and the gallery. A new file with a version in its name, as the gallery's
   gx.v1.css is: the site's styles are cached for an hour with no version in the address, so these rules arrive with the first page that names
   them and base.css does not move. Every color is a token of base.css; every pair of words and ground is measured by this wave's contrast
   check (_build/qa/2026-12-04/invisalign-first/), never written here from memory. No motion of its own: the finished frame is the only frame. */

/* ---------- the seal: Align's badge file unaltered at 48 px (the header's logo is 120 px wide), F30's line, its read clause beneath, linked to
   the Invisalign page's block on what the designation measures. Between Austin's Orthodontist with its gold stroke and the plates ---------- */
.hero .seal{display:flex;align-items:center;gap:14px;width:fit-content;max-width:440px;margin:22px auto 0;padding:2px 6px;border-radius:6px;
  text-align:left;color:var(--kd-char);text-decoration:none;font:400 14px/1.35 var(--body)}
.hero .seal .badge{flex:none;width:48px;height:48px}
.hero .seal-t{text-wrap:pretty}
.hero .seal small{display:block;margin-top:2px;font-size:12px;line-height:1.35;color:var(--kd-gold-ink)}
.hero .seal:hover .seal-t{text-decoration:underline;text-decoration-color:var(--kd-gold);text-decoration-thickness:1px;text-underline-offset:3px}
.hero .seal:focus-visible{outline:2px solid var(--kd-olive);outline-offset:3px}
.hero .words .acts{margin-top:24px}
/* the words stay centered on the arch as one unit, lifted by what the seal adds (22 + 60 + 24 - 52 = 54 px), so the first plate keeps its
   place and the unit sits a little above the arch's middle, where a block of words reads as centered */
@media (min-width:1080px){.hero .words{margin-top:-54px}}

/* ---------- the band: one block, words and the aligner's arch, on the page's paper between the wall of Meet Dr. Kunik and the gallery ---------- */
.band.aligners{position:relative;background:var(--paper);color:var(--kd-char);padding:clamp(56px, 3vw + 40px, 96px) 0}
.aligners .wrap{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,360px);column-gap:clamp(40px, 6vw, 96px);align-items:center}
.aligners .cap.label-sec{justify-content:flex-start;gap:18px;margin:0 0 18px;font:500 13px/1 var(--caps);letter-spacing:.32em;color:var(--kd-char)}
.aligners .label-sec::after{flex:0 1 76px;height:1px;background:var(--kd-gold);opacity:1}
.aligners .label-sec .reg{letter-spacing:0;margin-right:.32em}
.aligners h2{margin:0;color:var(--kd-char)}
.aligners h2::after{content:"";display:block;width:56px;height:1.5px;margin-top:22px;background:var(--kd-gold)}
.al-sub{margin:22px 0 0;max-width:46ch;font:400 clamp(1.1rem, 1rem + .35vw, 1.3rem)/1.55 var(--body);color:var(--kd-char);text-wrap:pretty}
.al-routes{margin:30px 0 0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:32px;max-width:680px}
.al-routes li{border-top:1px solid var(--kd-gold)}
.al-routes li:nth-last-child(-n+2){border-bottom:1px solid var(--kd-gold)}
.al-routes a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:10px 2px;font:500 17px/1.35 var(--body);color:var(--kd-char);text-decoration:none}
.al-routes a::after{content:"\2192";content:"\2192" / "";flex:none;font:400 18px/1 var(--body);color:var(--kd-gold-ink)}
.al-routes a:hover{color:var(--kd-gold-ink)}
.al-acts{display:flex;flex-wrap:wrap;align-items:center;gap:14px 28px;margin-top:32px}
.aligners .plate{border-radius:999px;background:var(--kd-olive);border-color:var(--kd-olive);color:var(--paper);--rip:var(--paper)}
.al-more{display:inline-flex;align-items:center;min-height:44px;font:600 14px/1.2 var(--caps);letter-spacing:.03em;color:var(--kd-char);
  text-decoration:underline;text-decoration-color:var(--kd-gold);text-decoration-thickness:1px;text-underline-offset:6px}
.al-more .reg{margin-right:.04em}
.aligners a:focus-visible{outline:2px solid var(--kd-olive);outline-offset:3px}
.al-pic{position:relative;margin:9px;aspect-ratio:4 / 5;border-radius:999px 999px 10px 10px}
.al-pic::after{content:"";position:absolute;inset:-9px;border:1.5px solid var(--kd-gold);border-radius:999px 999px 15px 15px;pointer-events:none}
.al-pic img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit;box-shadow:0 34px 60px -38px rgba(41,39,41,.6)}

@media (max-width:1079px){
  /* the arch photograph is shorter on a phone (8 by 5 for 5 by 4), so the seal joins the first screen and the first plate sits no lower */
  .hero .team{aspect-ratio:8 / 5}
  .hero .team img{object-position:50% 22%}
  .hero .words{padding-top:26px}
  .hero .seal{margin-top:18px;gap:12px;padding:2px 4px}
  .hero .seal .badge{width:40px;height:40px} /* the phone header's logo is 86 by 40 px, so the badge stays under it */
  .hero .words .acts{margin-top:20px}
  .aligners .wrap{grid-template-columns:minmax(0,1fr);row-gap:36px}
  .al-pic{order:-1;justify-self:center;width:min(62%, 240px)}
  .al-routes{grid-template-columns:minmax(0,1fr);max-width:none}
  .al-routes li:nth-last-child(2){border-bottom:0}
  .al-routes a{font-size:17px}
  .al-acts{flex-direction:column;align-items:stretch;gap:10px}
  .aligners .plate{width:100%;height:auto;min-height:54px;padding:12px 18px;white-space:normal;text-align:center;line-height:1.3}
  .al-more{justify-content:center}
}
/* under 375 px (the 360 px Galaxy phones and the 320 px ones): beside a 40 px badge the read clause would wrap to a second line and push the
   first plate below the live site's (18 px at 360 by 640, 21 at 344, 25 at 320, measured from 320 to 412 wide in both engines on
   2026-12-04). So the badge sits at the top of F30's line and the read clause runs under it on one line (-52 px: the badge's 40 and the
   gap's 12), and the seal and the plates draw 6 and 4 px closer; from 375 px up nothing here applies */
@media (max-width:374px){.hero .seal{align-items:flex-start;margin-top:12px}.hero .seal small{margin-left:-52px}.hero .words .acts{margin-top:16px}}
