/* v66 structure + type pass.
   Linked only from pages that use this markup, so no other page changes.
   Part 1 (option 1): semantic markup with the same look.
   Part 2 (option 2): body.type-v2 light type pass. */

/* ===== Part 1: breadcrumb ===== */
.page-caps .crumbs,
.page-caps .crumbs li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
}
.page-caps .crumbs li + li::before {
  content: " / ";
  white-space: pre;
}
/* The rail text stays click-through; only its links take the pointer. */
.page-caps a {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}
.page-caps a:hover,
.page-caps a:focus,
.page-caps a:active {
  color: inherit;
  text-decoration: none;
}
.page-caps a:focus {
  outline: none;
}
/* Gold needs normal blending: paint the rail white (as the logo hover
   does), drop the difference blend, and use the colors the blend already
   showed on white (#fff -> #000, #d0d0d0 -> #2f2f2f). The 0.25s fade
   runs on the way in only, so leaving never flashes a blended color. */
@media screen and (min-width: 993px) {
  @supports selector(:has(*)) {
    html:not(.using-pointer) body:has(.page-caps a:focus-visible) header.masthead {
      background-color: #fff;
    }
    html:not(.using-pointer) body .page-caps:has(a:focus-visible) {
      mix-blend-mode: normal;
      -webkit-mix-blend-mode: normal;
      text-shadow: none;
    }
    html:not(.using-pointer) body .page-caps.grey:has(a:focus-visible),
    html:not(.using-pointer) body .page-caps:has(a:focus-visible) {
      color: #2f2f2f !important;
    }
    html:not(.using-pointer) body .page-caps:has(a:focus-visible) .black,
    html:not(.using-pointer) body.page-inner .page-caps.grey:has(a:focus-visible) {
      color: #000 !important;
    }
    html:not(.using-pointer) body .page-caps:has(a:focus-visible) a:focus-visible {
      color: #C9A43B !important;
      outline: 2px solid #C9A43B;
      outline-offset: 3px;
      transition: color 0.25s ease;
    }
  }
}
@media screen and (min-width: 993px) and (hover: hover) and (pointer: fine) {
  @supports selector(:has(*)) {
    body:has(.page-caps a:hover) header.masthead {
      background-color: #fff;
    }
    body .page-caps:has(a:hover) {
      mix-blend-mode: normal;
      -webkit-mix-blend-mode: normal;
      text-shadow: none;
    }
    body .page-caps.grey:has(a:hover),
    body .page-caps:has(a:hover) {
      color: #2f2f2f !important;
    }
    body .page-caps:has(a:hover) .black,
    body.page-inner .page-caps.grey:has(a:hover) {
      color: #000 !important;
    }
    body .page-caps:has(a:hover) a:hover {
      color: #C9A43B !important;
      transition: color 0.25s ease;
    }
  }
}
html.using-pointer .page-caps a:focus,
html.using-pointer .page-caps a:focus-visible {
  outline: none;
}

/* ===== Part 1: footer outside main =====
   main carries the 100px rail padding at >992px and the footer used a
   -100px breakout to run edge to edge. Outside main it is already edge
   to edge, so cancel the breakout there. */
body.page-inner > footer.mastfoot.mastfoot--unified {
  margin-left: 0 !important;
  width: 100% !important;
  max-width: 100%;
}

/* ===== Part 1: masthead title + lead (h1 split) =====
   Before: <h1><span>Title</span> Lead text</h1>
   After:  <hgroup><h1><span>Title</span></h1><p class="mast-lead">Lead</p></hgroup>
   The hgroup takes the h1's outer margins; the h1 keeps the title span. */
.mast-head {
  margin: 10px 0;
}
.mast-head > h1 {
  margin: 0;
}
.fold-promo .mast-lead {
  font-size: 36px;
  line-height: 44px;
  word-spacing: 0.1em;
  font-weight: 200;
  margin: 0;
  clear: none;
}
.fold-promo .mast-lead > strong {
  font-size: 36px;
  font-weight: 600;
  font-style: italic;
}
/* hair stylist: the old <br> after the title left one empty line. */
.mast-lead--gap::before {
  content: "\A";
  white-space: pre;
}
/* Contact: the h1 was the absolutely centered box; the hgroup is now. */
.contact-header .mast-head {
  position: absolute;
  top: 50%;
  transform: translate(0px, -50%);
  padding-left: 15px;
  padding-right: 15px;
  width: 66.6%;
  margin: 10px 0;
}
.contact-header .mast-head > h1 {
  position: static;
  top: auto;
  transform: none;
  padding-left: 0;
  padding-right: 0;
  width: auto !important;
  left: auto;
  right: auto;
}
@media (max-width: 992px) {
  .fold-promo .mast-lead {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    padding-left: 20px;
    padding-right: 20px;
  }
  .contact-header .mast-head {
    width: auto !important;
    left: 0;
    right: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
    padding-left: 20px;
    padding-right: 20px;
  }
  .contact-header .mast-head > h1,
  .contact-header .mast-head > .mast-lead {
    padding-left: 0;
    padding-right: 0;
  }
}
@media screen and (max-width: 600px) {
  .fold-promo .mast-lead,
  .fold-promo .mast-lead > strong {
    font-size: 24px;
    line-height: 31px;
    text-align: left;
  }
}

/* ===== Part 1: kicker heading + lead paragraph (h2 split) ===== */
.promo-text .kicker-head {
  margin-bottom: 0;
}
.promo-text .kicker-lede {
  font-size: 20px;
  line-height: 27px;
  word-spacing: 0.1em;
  font-weight: 200;
  margin: 0 0 10px;
  clear: none;
}

/* ===== Part 1: testimonials and pull quote are paragraphs ===== */
.testimonial-text p.quote-text {
  font-size: 18px;
  line-height: 25px;
  font-weight: 500;
  font-style: normal;
  margin: 10px 0;
  clear: none;
}
.testimonial-text p.quote-text::before {
  content: none;
  display: none;
}
@media screen and (max-width: 600px) {
  .testimonial-text p.quote-text {
    font-size: 16px;
    line-height: 23px;
    text-align: left;
  }
}
.services-item p.pull-quote {
  font-size: 14px;
  line-height: 21px;
  font-weight: 500;
  margin: 10px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  clear: none;
}
@media (max-width: 992px) {
  .services-item p.pull-quote {
    max-width: 100%;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }
}

/* ===== Part 1: studio approach sub-sections (h2 -> h3, h3 -> h4) ===== */
.studio-approach h3.sub-head {
  font-size: 36px;
  line-height: 58px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 4px;
}
.studio-approach h4.label-head {
  font-size: 16px;
  line-height: 23px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
@media screen and (max-width: 600px) {
  .studio-approach h3.sub-head {
    font-size: 16px;
    line-height: 23px;
    text-align: left;
  }
}

/* ===== Part 1: newsroom (h3 card titles -> h2, article title -> h1) =====
   .journal-text h2 already exists in main.css (16/23 uppercase), so the
   promoted elements restate the look they had before. */
.journal-text h2.card-head {
  font-size: 24px;
  line-height: 1.1;
  letter-spacing: normal;
  text-transform: none;
}
.journal-text h1.page-title {
  font-size: 16px;
  line-height: 23px;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ===== Part 1: price lists (name / price pairs) ===== */
.price-list {
  margin: 0;
  padding: 0;
}
.price-list .price-item {
  margin: 10px 0; /* the h3's margins: they collapse through the empty box exactly as before */
  padding: 0;
}
.price-list dt.left-table,
.price-list dd.right-table {
  display: block;
  margin: 10px 0;
  font-size: 16px;
  line-height: 1.1; /* a factor, as inherited from the h3: WebKit rounds it the same way */
  font-weight: 500;
  font-family: inherit;
}
.price-list dt.left-table {
  width: 70%;
  float: left;
  text-align: left;
  clear: both;
}
.price-list dd.right-table {
  width: 30%;
  float: right;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.price-list dd.price-note {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 20px;
  clear: both;
}
/* The last item held four <br>s: four 26.4px lines (h3 24px x 1.1)
   plus the h3's 10px bottom margin. */
.price-gap--4 {
  clear: none;
  height: 105.6px;
  margin: 0 0 10px;
}

/* ===== Part 2: body.type-v2 (test pages only) =====
   1. Body copy 15/20 -> 16px / 1.6. Zero-specificity selectors so every
      styled paragraph (testimonial names, captions, map credit, leads)
      keeps its own size; only plain body copy moves.
   2. One section-heading style: Montserrat Bold 20/27, sentence case,
      the existing kicker treatment. Card titles and page titles keep
      their look. Existing rules and colors stay.
   3. Small labels are h3: 14/21, uppercase, 2px tracking.
   Display tagline (.mast-lead), eyebrow (h1 > span) and nav unchanged. */
:where(body.type-v2 main) p {
  font-size: 16px;
  line-height: 1.6;
}
body.type-v2 main .promo-text li,
body.type-v2 .price-list dd.price-note {
  font-size: 16px;
  line-height: 1.6;
}
body.type-v2 main h2:not(.card-head) {
  font-family: montserratbold, sans-serif;
  font-size: 20px !important;
  line-height: 27px !important;
  word-spacing: 0.1em;
  text-transform: none;
  letter-spacing: normal;
}
body.type-v2 main h2:not(.card-head) > span {
  font-size: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
}
body.type-v2 main .promo-text h3:not(.sub-head) {
  font-size: 14px;
  line-height: 21px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
body.type-v2 main .promo-text h3:not(.sub-head) > span.font2bold,
body.type-v2 main .promo-text h3:not(.sub-head) > strong {
  font-family: montserratbold, sans-serif;
  font-weight: normal;
}

/* ===== v67 rollout additions (no effect on v66 pages) ===== */
/* Products: the h2 was all body copy; as a lede paragraph it keeps
   the h2's top margin. */
.promo-text .kicker-lede--solo {
  margin-top: 10px;
}
/* Body: duration / price rows were <p><span.left-table> <span.right-table></p>.
   Only the name was an h3 there, so its bottom margin never reached past
   the rows: the item keeps the top margin only. */
.price-list--multi .price-item {
  margin-bottom: 0;
}
.price-list dd.price-opt {
  display: block;
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 20px;
  font-weight: 400;
  clear: both;
}
.price-list dd.price-opt .right-table {
  font-variant-numeric: tabular-nums;
}
/* Footer now sits after section.mastwrap, so on a short page (thanks) the
   section is shorter than the viewport and the 100vh photo layer, capped
   at the section, was cropped shorter than before. Section + footer is
   always taller than the viewport, so the cap can go on these pages. */
@media (max-width: 992px) {
  body.page-inner.type-v2 .slant-bg-wrap {
    max-height: none;
  }
}

/* ===== v71: rail numbering/wrap + service column gutter ===== */
/* Kill list markers in every engine and keep the rail on one nowrap line. */
.page-caps,
.page-caps .crumbs,
.page-caps .crumbs li,
.page-caps .crumbs-tag {
  white-space: nowrap;
}
.page-caps .crumbs {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
  list-style-position: outside;
}
.page-caps .crumbs li {
  display: inline;
  margin: 0;
  padding: 0;
  list-style: none;
  list-style-type: none;
}
.page-caps .crumbs li::marker,
.page-caps .crumbs::marker {
  content: none;
  display: none;
}
.page-caps .crumbs-tag {
  display: inline;
}

/* Service price-list two-column rows: double the 40px content gutter
   to 80px on desktop/tablet (col-md, 992px+). Facing padding only, so
   outer edges and stacked mobile columns stay as they are. */
@media screen and (min-width: 992px) {
  body.page-inner .row:has(> article.col-md-6 .price-list) > article.col-md-6.pad:has(+ article.col-md-6) {
    padding-right: 40px;
  }
  body.page-inner .row:has(> article.col-md-6 .price-list) > article.col-md-6.pad + article.col-md-6.pad {
    padding-left: 40px;
  }
}

/* ===== v73 (t323u): no left gutter, hamburger top right, hover-reveal rail =====
   ROLLBACK: delete this block and the v73 block at the end of js/vendor/menu.js. */
@media screen and (min-width: 993px) {
  /* Backgrounds, panels and footer run from x=0; Bootstrap containers keep copy padding. */
  body.page-inner main { padding-left: 0 !important; }
  body.page-inner .works-container,
  body.page-inner .works-masonry-container,
  body.page-inner footer.mastfoot,
  body.page-inner .credits,
  body.page-inner .project-carousel-wrap,
  body.page-inner .studio-services,
  body.page-inner .contact-header {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100%;
  }
  /* Desktop hamburger: top right, level with the logo, same difference blend. */
  div.menu-icon-trigger {
    top: -5px;
    margin-top: 0;
    left: auto;
    right: -3px;
  }
}
/* The white rail is hidden by default at every width and on touch. */
header.masthead {
  background-color: #fff !important;
  translate: -101% 0;
  pointer-events: none;
  transition: translate 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.page-caps {
  opacity: 0;
  transition: opacity 0.2s ease;
}
.page-caps a { pointer-events: none; }
/* Revealed by js/vendor/menu.js (fine pointer near the left edge, below the
   logo zone) or by keyboard focus on a breadcrumb link. Desktop only. */
@media screen and (min-width: 993px) {
  html.rail-open header.masthead { translate: 0 0; }
  html.rail-open .page-caps {
    opacity: 1;
    transition: opacity 0.25s ease 0.1s;
    mix-blend-mode: normal;
    -webkit-mix-blend-mode: normal;
    text-shadow: none;
    color: #2f2f2f !important;
  }
  html.rail-open .page-caps .black { color: #000 !important; }
  html.rail-open .page-caps a { pointer-events: auto; }
  html.rail-open .page-caps a:hover { color: #C9A43B !important; transition: color 0.25s ease; }
  body.menu-open header.masthead { translate: -101% 0; }
  body.menu-open .page-caps { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  header.masthead,
  .page-caps,
  html.rail-open .page-caps { transition: none !important; }
}
