/* Instagram beside the Veneers & Co. wordmark. Sitewide, Nov 25 2026 (r2: fits 320-1920). */
.nav__brand,.gxh__brand{display:flex;align-items:center;gap:.45rem;flex:0 1 auto;min-width:0;position:relative}
.nav__brand .nav__logo{position:relative;display:block;flex:0 1 auto;min-width:0}
.gxh__brand{grid-column:2;grid-row:1;display:block;width:clamp(200px,22vw,300px);line-height:0;justify-self:center}
.gxh__brand .gxh__logo{grid-column:auto;position:relative;display:block;width:100%}

a.nav__ig.nav__ig--brand,
a.gxh__ig.gxh__ig--brand{
  display:inline-flex;align-items:center;justify-content:flex-start;
  gap:.4rem;width:auto;min-width:44px;min-height:44px;height:44px;
  padding:0 .4rem;margin:0;color:#161616;
  text-decoration:none;letter-spacing:0;text-transform:none;flex:none;
  border:0;background:transparent;box-sizing:border-box;
}
a.gxh__ig.gxh__ig--brand{
  position:absolute;left:100%;top:50%;transform:translateY(-50%);
  margin-left:.45rem;z-index:3;
}
a.nav__ig.nav__ig--brand svg,
a.gxh__ig.gxh__ig--brand svg{width:22px;height:22px;display:block;flex:none;color:#161616}
a.nav__ig.nav__ig--brand .ig-brand-lab,
a.gxh__ig.gxh__ig--brand .ig-brand-lab{
  display:inline;font:600 .7rem/1 "Jost",Arial,sans-serif;
  letter-spacing:.1em;text-transform:uppercase;color:#161616;white-space:nowrap;
}
a.nav__ig.nav__ig--brand:hover,
a.gxh__ig.gxh__ig--brand:hover,
a.nav__ig.nav__ig--brand:focus-visible,
a.gxh__ig.gxh__ig--brand:focus-visible{opacity:1;color:#000}
a.nav__ig.nav__ig--brand:hover .ig-brand-lab,
a.gxh__ig.gxh__ig--brand:hover .ig-brand-lab{text-decoration:underline;text-underline-offset:3px}

/* Inner pages: the old header Instagram icon used to sit inside .nav__r and switch on the compact gap / letter-spacing / padding
   rules (svc css, `.nav__r:has(.nav__ig)`). The icon now lives beside the wordmark, so restore the same compaction directly. */
@media (min-width:56.0625rem){
  .nav .nav__brand~.nav__r{gap:clamp(.4rem,.72vw,.85rem)}
}
@media (min-width:75rem) and (max-width:119.99rem){
  .nav .nav__brand~.nav__r a,.nav .nav__brand~.nav__r button{letter-spacing:.1em}
  .nav .nav__brand~.nav__r .nav__call,.nav .nav__brand~.nav__r .nav__sms,.nav .nav__brand~.nav__r .nav__book{padding:0 .5rem}
}
@media (min-width:100rem) and (max-width:112.49rem),(min-width:120rem){
  .nav .nav__brand~.nav__r{gap:clamp(.5rem,1.05vw,1.25rem)}
}

/* Desktop: icon + word. Tighter word size where the row is busy. */
@media (min-width:900px) and (max-width:1199px){
  a.nav__ig.nav__ig--brand .ig-brand-lab{font-size:.62rem;letter-spacing:.08em}
}
/* Phones and small tablets */
@media (max-width:899px){
  .gxh__brand{width:auto;max-width:100%;min-width:0;display:flex;align-items:center;justify-content:center;gap:.3rem}
  .gxh__brand .gxh__logo{width:min(170px,42vw,calc(100vw - 200px));flex:0 1 auto;min-width:0}
  a.gxh__ig.gxh__ig--brand{
    position:relative;left:auto;top:auto;transform:none;margin:0;
    flex-direction:column;justify-content:center;align-items:center;
    width:44px;min-width:44px;height:auto;min-height:44px;padding:0;gap:2px;
  }
  a.gxh__ig.gxh__ig--brand svg,
  a.nav__ig.nav__ig--brand svg{width:20px;height:20px}
  a.gxh__ig.gxh__ig--brand .ig-brand-lab,
  a.nav__ig.nav__ig--brand .ig-brand-lab{
    display:block;font:600 9px/1.15 "Jost",Arial,sans-serif;letter-spacing:.02em;
    max-width:none;width:max-content;position:relative;left:50%;transform:translateX(-50%);
  }
  a.nav__ig.nav__ig--brand{
    flex-direction:column;justify-content:center;align-items:center;
    width:44px;min-width:44px;height:auto;min-height:44px;padding:0;gap:2px;
  }
}
@media (min-width:600px) and (max-width:899px){
  a.gxh__ig.gxh__ig--brand,
  a.nav__ig.nav__ig--brand{
    flex-direction:row;width:auto;min-width:44px;gap:.3rem;padding:0 .15rem;
  }
  a.gxh__ig.gxh__ig--brand .ig-brand-lab,
  a.nav__ig.nav__ig--brand .ig-brand-lab{
    left:auto;transform:none;width:auto;position:static;
    font:600 .58rem/1 "Jost",Arial,sans-serif;letter-spacing:.08em;
  }
}
@media (max-width:430px){
  /* Wordmark fills the space between Call and Request (never wider than 138px), IG sits right after it. */
  .gxh__brand{width:100%}
  .gxh__brand .gxh__logo{width:138px;max-width:138px;flex:1 1 0;min-width:0}
}
@media (max-width:599px){
  /* Label stays inside the 44px target so it never touches the wordmark or Request. */
  a.gxh__ig.gxh__ig--brand .ig-brand-lab,
  a.nav__ig.nav__ig--brand .ig-brand-lab{text-transform:none;font-size:9.5px;letter-spacing:.01em}
}

/* Home header, desktop band 900-1199: the Request button (full label) starts close to the wordmark, so the IG link is
   icon-only to 999 (with a slightly tighter Request) and icon-over-word from 1000 to 1199. Inline word from 1200. */
@media (min-width:900px) and (max-width:999px){
  a.gxh__ig.gxh__ig--brand .ig-brand-lab{display:none}
  a.gxh__ig.gxh__ig--brand{padding:0 .5rem}
  .gxh .gxh__r .gxh__btn.gxh__req{padding:0 1rem;letter-spacing:.1em;margin-right:3.25rem}
}
@media (min-width:1000px) and (max-width:1199px){
  a.gxh__ig.gxh__ig--brand{flex-direction:column;justify-content:center;gap:3px;height:auto;padding:0 .3rem}
  a.gxh__ig.gxh__ig--brand .ig-brand-lab{font-size:.6rem;letter-spacing:.06em}
}

/* Inner desktop nav starts at 897px; these must come after the phone rules above (which run to 899px). */
/* 897-919px (inner pages): no room for the word at all; icon only (aria-label keeps the name). */
@media (min-width:56.0625rem) and (max-width:919.98px){
  a.nav__ig.nav__ig--brand .ig-brand-lab{display:none}
  a.nav__ig.nav__ig--brand{padding:0 .5rem}
}
/* 897-959px (inner pages): the nav row has no room for the word beside the wordmark, so the word sits under the icon. */
@media (min-width:56.0625rem) and (max-width:959.98px){
  a.nav__ig.nav__ig--brand{flex-direction:column;justify-content:center;gap:3px;height:auto;padding:0 .3rem}
  a.nav__ig.nav__ig--brand .ig-brand-lab{font-size:.58rem;letter-spacing:.06em}
}
