/* FAQ topic-first layout. */
.faq-buyer-page {
  --faq-ink: #102d48;
  --faq-body: #38516a;
  --faq-link: #12537c;
  --faq-line: #d4e2ec;
  --faq-tint: #edf5fa;
  color: var(--faq-body);
}

.faq-buyer-page :is(#inquiry, #order, .faq-topic) {
  scroll-margin-top: var(--faq-anchor-offset, 126px);
}

.faq-intro {
  position: relative;
  display: grid;
  align-items: center;
  min-height: clamp(300px, 18.23vw, 350px);
  padding-block: clamp(24px, 3.2vw, 42px);
  background: #d6d4d4;
  border-bottom: 1px solid var(--faq-line);
}

.faq-intro-inner {
  position: relative;
}

.faq-intro-copy {
  max-width: min(540px, 54%);
}

.faq-buyer-page .faq-breadcrumb {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 14px;
  color: var(--faq-body);
  font-size: .875rem;
}

.faq-breadcrumb a {
  color: var(--faq-link);
}

.faq-buyer-page .faq-intro h1 {
  margin: 0 0 14px;
  max-width: 16ch;
  color: var(--faq-ink);
  font-size: clamp(2rem, 3.8vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.faq-buyer-page .faq-intro p {
  max-width: 46ch;
  margin: 0;
  color: var(--faq-body);
  font-size: clamp(1rem, 1.2vw, 1.125rem);
  line-height: 1.58;
}

.faq-intro-photo {
  position: absolute;
  inset: 0;
  margin: 0;
  overflow: hidden;
  border-radius: 0;
}

.faq-intro .faq-intro-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 66% 50%;
  border-radius: 0 !important;
}

.faq-topics-nav {
  position: sticky;
  top: var(--faq-header-height, 73px);
  z-index: 25;
  border-bottom: 1px solid var(--faq-line);
  background: #fff;
}

.faq-topics-nav > .wrap {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: clamp(24px, 3vw, 44px);
}

.faq-topics-nav a {
  position: relative;
  display: flex;
  min-height: 54px;
  align-items: center;
  padding-block: 8px;
  color: var(--faq-body);
  font-size: .9375rem;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
  transition: color 150ms ease;
}

.faq-topics-nav a::after {
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: #85b3d3;
  content: "";
  opacity: 0;
  transition: opacity 150ms ease;
}

.faq-topics-nav a[aria-current] {
  color: var(--faq-ink);
}

.faq-topics-nav a[aria-current]::after {
  background: #0864b1;
  opacity: 1;
}

@media (hover: hover) {
  .faq-topics-nav a:hover {
    color: var(--faq-ink);
  }

  .faq-topics-nav a:hover::after {
    opacity: 1;
  }
}

.faq-topics-indicator {
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  display: none;
  width: var(--faq-indicator-width, 0);
  height: 2px;
  transform: translateX(var(--faq-indicator-x, 0));
  background: #0864b1;
  pointer-events: none;
  transition: transform 220ms cubic-bezier(.2,.7,.3,1), width 220ms cubic-bezier(.2,.7,.3,1);
}

@media (min-width: 761px) {
  .faq-topics-nav.has-faq-indicator .faq-topics-indicator {
    display: block;
  }

  .faq-topics-nav.has-faq-indicator a[aria-current]::after {
    opacity: 0;
  }
}

.faq-buyer-page :is(a, summary, button, input):focus-visible {
  outline: 2px solid #2477b0;
  outline-offset: 3px;
}

.faq-topics {
  padding-block: clamp(28px, 4.5vw, 62px);
}

.faq-topic + .faq-topic {
  margin-top: clamp(28px, 5vw, 64px);
  padding-top: clamp(26px, 4vw, 52px);
  border-top: 1px solid var(--faq-line);
}

.faq-buyer-page :is(.faq-topic, .faq-process, .faq-cta-band) h2 {
  margin: 0;
  color: var(--faq-ink);
  font-size: clamp(1.375rem, 2.25vw, 2rem);
  line-height: 1.2;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.guide-checklist {
  min-width: 0;
  margin: 24px 0 0;
  padding: 10px 18px 16px;
  border: 1px solid var(--faq-line);
  border-radius: 12px;
  background: #fff;
}

.guide-checklist legend {
  padding-inline: 6px;
  color: var(--faq-ink);
  font-weight: 700;
}

.faq-checklist-items {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 18px;
}

.faq-checklist-items label {
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  color: var(--faq-body);
}

.faq-checklist-items input {
  accent-color: var(--faq-link);
}

.faq-copy {
  min-height: 40px;
  margin-top: 8px;
  padding: 6px 13px;
  border: 1px solid #7199b4;
  border-radius: 6px;
  background: #fff;
  color: var(--faq-link);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}

.faq-copy:hover {
  background: var(--faq-tint);
}

.guide-checklist [hidden] {
  display: none;
}

.guide-checklist p {
  margin: 0;
}

.guide-checklist p:not(:empty) {
  margin-top: 8px;
}

.guide-checklist textarea {
  width: 100%;
  min-height: 7rem;
  margin-top: 8px;
}

.faq-process {
  padding-block: clamp(32px, 5vw, 64px);
  border-top: 1px solid var(--faq-line);
  background:
    linear-gradient(rgba(241, 248, 252, .38), rgba(241, 248, 252, .38)),
    var(--faq-tint) url("faq-ordering-flow-1920x450.webp") center / cover no-repeat;
}

.faq-process ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 36px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.faq-process li {
  position: relative;
  min-width: 0;
  padding: 14px 0 6px;
  border-top: 1px solid #aec7d8;
}

.faq-process-label {
  display: inline-block;
  margin-top: 8px;
  color: #74531f;
  font-size: .8125rem;
  font-weight: 650;
}

.faq-process li::after {
  content: "";
  position: absolute;
  inset: -1px 0 auto;
  height: 2px;
  background: #ac8035;
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

@media (hover: hover) and (pointer: fine) {
  .faq-process li:hover::after {
    transform: scaleX(1);
  }

  .faq-process li:hover h3 {
    color: #74531f;
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .faq-process li::after {
    transition: transform 240ms ease-out;
  }

  .faq-process li > * {
    transition: transform 200ms ease-out;
  }

  .faq-process li:hover > * {
    transform: translateY(-2px);
  }
}

.faq-process h3 {
  margin: 0 0 5px;
  color: var(--faq-ink);
  font-size: 1rem;
  line-height: 1.4;
}

.faq-process li p {
  max-width: 46ch;
  margin: 0;
  color: var(--faq-body);
  line-height: 1.56;
}

.faq-cta-band {
  padding-block: clamp(26px, 4vw, 48px);
  background: #102d48;
}

.faq-cta-band .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px 32px;
}

.faq-buyer-page .faq-cta-band h2 {
  color: #fff;
}

.faq-cta-band p {
  margin: 8px 0 0;
  color: #dceefa;
}

.faq-cta-band a {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  padding: 9px 20px;
  border-radius: 7px;
  background: #f4f9fd;
  color: var(--faq-ink);
  font-weight: 700;
  text-decoration: none;
}

.faq-cta-band a:hover {
  background: #dceefa;
}

@media (max-width: 760px) {
.faq-topics-nav {
    position: static;
  }

  .faq-topics-nav > .wrap {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    padding-block: 4px;
  }

  .faq-topics-nav a {
    min-height: 44px;
  }

  .faq-topics-nav a::after {
    inset-inline-end: auto;
    width: 28px;
  }

  .faq-process ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 20px;
  }
}

@media (max-width: 760px) {
  .faq-intro {
    min-height: 0;
  }

  .faq-intro-copy {
    max-width: none;
  }

  .faq-intro-photo {
    display: none;
  }

.faq-process ol {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .faq-topics-nav a,
  .faq-topics-nav a::after,
  .faq-topics-indicator {
    transition: none;
  }
}

.faq-sample-timing {
  margin-top: 20px;
  padding: clamp(18px, 3vw, 32px);
  border: 1px solid var(--faq-line);
  border-radius: 12px;
  background: transparent;
}

.faq-sampling h3 {
  margin: 0 0 10px;
  color: var(--faq-ink);
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.4;
}

.faq-sample-paths,
.faq-sample-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3.5vw, 44px);
}

.faq-sample-paths {
  margin: 20px 0;
}

.faq-sample-paths > div + div {
  padding-inline-start: clamp(18px, 3.5vw, 44px);
  border-inline-start: 1px solid var(--faq-line);
}

.faq-sample-paths dt {
  color: var(--faq-body);
  font-weight: 650;
}

.faq-sample-paths dd {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 18px;
  margin: 6px 0 0;
  color: var(--faq-ink);
}

.faq-sample-paths strong {
  --faq-sample-gold: #8b641f;
  display: inline-block;
  color: var(--faq-sample-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.35rem, 4.65vw, 4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.025em;
  font-variant-numeric: lining-nums tabular-nums;
  transform-origin: left bottom;
  transition: transform 200ms cubic-bezier(.2,.7,.3,1);
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .faq-sample-paths strong:hover {
    transform: scale(1.06);
  }

  @supports (background-clip: text) {
    .faq-sample-paths strong:hover {
      background-image: linear-gradient(112deg, var(--faq-sample-gold) 41%, #fffdf3 50%, var(--faq-sample-gold) 59%);
      background-size: 235% 100%;
      background-repeat: no-repeat;
      background-clip: text;
      color: transparent;
      animation: faq-sample-number-shine 680ms ease-out both;
    }
  }
}

@keyframes faq-sample-number-shine {
  from { background-position: 100% 50%; }
  to { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .faq-sample-paths strong {
    transition: none;
  }
}

.faq-sample-paths span {
  font-weight: 650;
}

.faq-sampling p {
  max-width: 70ch;
  margin: 0;
  color: var(--faq-body);
  line-height: 1.65;
}

.faq-sample-timing > p {
  max-width: none;
  padding-top: 14px;
  border-top: 1px solid var(--faq-line);
}

.faq-sample-notes {
  margin-top: 24px;
}

.faq-sample-notes > div {
  padding-top: 14px;
  border-top: 1px solid var(--faq-line);
}

.faq-sample-notes a {
  display: inline-block;
  margin-top: 10px;
  color: var(--faq-link);
  text-decoration: underline;
  text-underline-offset: .18em;
}

@media (max-width: 600px) {
  .faq-sample-paths,
  .faq-sample-notes {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-sample-paths > div + div {
    padding: 15px 0 0;
    border-inline-start: 0;
    border-top: 1px solid var(--faq-line);
  }
}

.faq-quote-layout h3,
.faq-production-checkpoints h3,
.faq-freight-terms dt {
  color: var(--faq-ink);
}

.faq-topic :is(.faq-quote-layout, .faq-production-checkpoints, .faq-freight-terms) {
  margin-top: 22px;
}

.faq-quote-layout {
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
  align-items: start;
  gap: clamp(24px, 5vw, 64px);
}

.faq-topic :is(.faq-quote-layout, .faq-production-checkpoints) h3,
.faq-freight-terms dt {
  margin: 0 0 7px;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
  line-height: 1.42;
}

.faq-quote-layout p,
.faq-production-checkpoints p,
.faq-freight-terms dd {
  max-width: 70ch;
  margin: 0;
  color: var(--faq-body);
  line-height: 1.65;
}

.faq-quote-brief {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(18px, 2.7vw, 30px);
  border: 1px solid var(--faq-line);
  border-radius: 12px;
  background: #f2f7fb;
}

.faq-quote-brief::before {
  position: absolute;
  z-index: -1;
  inset: -6% -7% -20%;
  background:
    linear-gradient(135deg, rgba(251, 254, 255, .45), rgba(236, 247, 255, .64)),
    url("faq-inquiry-blue-stripes.webp") center top / cover no-repeat;
  content: "";
  pointer-events: none;
}

.faq-quote-brief .guide-checklist {
  margin-top: 19px;
  padding: 8px 0 0;
  border: 0;
  border-top: 1px solid var(--faq-line);
  border-radius: 0;
  background: transparent;
}

.faq-quote-brief .guide-checklist legend {
  padding-inline: 0 8px;
}

.faq-quote-brief .faq-checklist-items {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
}

.faq-quote-brief .faq-checklist-items label {
  min-height: 36px;
  gap: 10px;
  padding: 4px 8px;
  border-radius: 6px;
  transition: background-color 150ms ease, color 150ms ease;
}

@media (hover: hover) {
  .faq-quote-brief .faq-checklist-items label:hover {
    background: rgba(255, 255, 255, .62);
    color: var(--faq-ink);
  }
}

.faq-quote-brief .faq-checklist-items label:has(input:checked) {
  background: #d7eafa;
  color: var(--faq-ink);
}

.faq-quote-brief .faq-checklist-items input {
  display: grid;
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  place-content: center;
  box-sizing: border-box;
  margin: 0;
  border: 1px solid #527d9b;
  border-radius: 4px;
  appearance: none;
  background: #fff;
  color: #fff;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, transform 150ms ease;
}

.faq-quote-brief .faq-checklist-items input::before {
  width: 8px;
  height: 4px;
  margin-top: -2px;
  border-bottom: 2px solid currentColor;
  border-left: 2px solid currentColor;
  content: "";
  transform: rotate(-45deg) scale(0);
  transition: transform 150ms ease;
}

.faq-quote-brief .faq-checklist-items input:checked {
  border-color: #125c92;
  background: #125c92;
}

.faq-quote-brief .faq-checklist-items input:checked::before {
  transform: rotate(-45deg) scale(1);
}

.faq-quote-brief .faq-checklist-items label:active input {
  transform: scale(.9);
}

@media (prefers-reduced-motion: reduce) {
  .faq-quote-brief .faq-checklist-items :is(label, input),
  .faq-quote-brief .faq-checklist-items input::before {
    transition: none;
  }

  .faq-quote-brief .faq-checklist-items label:active input {
    transform: none;
  }
}

@media (forced-colors: active) {
  .faq-quote-brief .faq-checklist-items input {
    appearance: auto;
  }

  .faq-quote-brief .faq-checklist-items input::before {
    display: none;
  }
}

.faq-quote-notes > div {
  padding: 13px 0;
  border-top: 1px solid var(--faq-line);
}

.faq-quote-notes > div:last-child {
  padding-bottom: 0;
}

.faq-topic :is(.faq-quote-notes, .faq-production-checkpoints, .faq-freight-terms) p a,
.faq-freight-terms a {
  color: var(--faq-link);
  text-decoration: underline;
  text-underline-offset: .18em;
}

.faq-production-checkpoints {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(20px, 3.6vw, 48px);
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  counter-reset: faq-checkpoint;
}

.faq-production-checkpoints > li {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-width: 0;
  padding: 18px 18px 19px 43px;
  border: 1px solid var(--faq-line);
  border-radius: 12px;
  background: #fff;
  counter-increment: faq-checkpoint;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.faq-production-checkpoints > li::before {
  content: counter(faq-checkpoint) / "";
  position: absolute;
  inset-inline-start: 18px;
  color: #8b641f;
  font-size: .8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.faq-production-checkpoints > li h3 {
  color: #8b641f;
}

.faq-production-checkpoints > li::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(112deg, transparent 30%, rgba(220, 172, 75, .32) 50%, transparent 70%);
  content: "";
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
}

@media (hover: hover) {
  .faq-production-checkpoints > li:hover {
    border-color: #c4a267;
    background: #fffdf8;
  }
}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .faq-production-checkpoints > li:hover {
    transform: translateY(-3px);
  }

  .faq-production-checkpoints > li:hover::after {
    animation: faq-production-sheen 720ms cubic-bezier(.22,.65,.26,1) both;
  }
}

@keyframes faq-production-sheen {
  0% { opacity: 0; transform: translateX(-100%); }
  24%, 68% { opacity: 1; }
  100% { opacity: 0; transform: translateX(100%); }
}

@media (prefers-reduced-motion: reduce) {
  .faq-production-checkpoints > li {
    transition: none;
  }
}

.faq-freight-terms {
  margin-bottom: 0;
  border-bottom: 1px solid var(--faq-line);
}

.faq-freight-terms > div {
  display: grid;
  grid-template-columns: minmax(180px, .38fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 54px);
  padding: 17px 0;
  border-top: 1px solid var(--faq-line);
}

.faq-freight-terms dt {
  margin: 0;
  font-weight: 700;
}

@media (max-width: 760px) {
  .faq-quote-layout,
  .faq-production-checkpoints,
  .faq-freight-terms > div {
    grid-template-columns: minmax(0, 1fr);
  }

  .faq-production-checkpoints {
    row-gap: 18px;
  }

  .faq-freight-terms > div {
    gap: 5px;
  }
}

.faq-quote-notes .faq-gold-link {
  text-decoration-color: currentColor;
  transition: text-decoration-color 150ms ease;
}

.faq-quote-notes .faq-gold-link:is(:hover, :focus-visible) {
  text-decoration-color: #9a7b3f;
  text-decoration-thickness: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-quote-notes .faq-gold-link {
    transition: none;
  }
}
