@font-face {
  font-family: Chivo;
  src: url(chivo.woff2) format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

@font-face {
  font-family: 'Instrument Sans';
  src: url(instrument-sans.woff2) format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf8f2;
  --ink: #182244;
  --muted: #424d69;
  --blue: #2239bf;
  --indigo: #182981;
  --deep: #142159;
  --blue-paper: #eaf0fd;
  --rule: #c7ccdb;
  --white: #fff;
  --tint: #d8e1ff;
  --orange: #ff8c58;
  --display: Chivo, 'Instrument Sans', sans-serif;
  --body: 'Instrument Sans', Arial, sans-serif;
  --gutter: clamp(1rem, 5.2vw, 5rem);
  --layout: 80rem;
  --section: clamp(4rem, 7.5vw, 7.5rem);
  --split-gap: clamp(1.5rem, 5vw, 5.2rem);
  --ease: 180ms ease;
  --settle: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 400 1rem/1.6 var(--body); }
main { min-height: 45vh; }
[hidden] { display: none !important; }
::selection { color: var(--deep); background: var(--orange); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.site-footer :focus-visible { outline-color: var(--orange); }
img { max-width: 100%; vertical-align: middle; }
address { font-style: normal; }
p { max-width: 66ch; margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
h1 { font-size: clamp(3.15rem, 6vw, 5.4rem); line-height: .99; letter-spacing: -.04em; }
h2 { font-size: clamp(2rem, 3.9vw, 3.75rem); line-height: 1.03; letter-spacing: -.035em; }
h3 { font-size: 1.22rem; line-height: 1.23; letter-spacing: -.015em; }
a { color: inherit; text-underline-offset: .24em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

.wrap { width: min(var(--layout), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.skip { position: absolute; z-index: 5; top: .7rem; left: 1rem; transform: translateY(-140%); color: var(--white); background: var(--deep); padding: .5rem 1rem; }
.skip:focus { transform: translateY(0); }
.masthead { position: relative; border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 5rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .78rem; text-decoration: none; font: 800 1rem/1 var(--display); letter-spacing: -.02em; }
.mark { inline-size: 2.5rem; block-size: 2.5rem; flex: 0 0 auto; position: relative; display: inline-block; background: var(--blue); }
.mark::before { content: ''; position: absolute; border: 2px solid var(--white); inset: 10px 8px 8px; }
.mark::after { content: ''; position: absolute; border-inline: 2px solid var(--white); inset: 10px 16px 16px; }
.main-nav, .mobile-nav nav { display: flex; align-items: center; gap: clamp(.75rem, 2.15vw, 2.1rem); }
.main-nav a, .mobile-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; font-weight: 650; }
.main-nav a:hover, .mobile-nav a:hover, nav a[aria-current] { text-decoration: underline; }
.main-nav a:last-child { color: var(--blue); }
.mobile-nav { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 3.375rem; border: 1px solid transparent; padding: .75rem 1.25rem; color: var(--white); background: var(--blue); font: 700 1rem/1.25 var(--body); text-align: center; text-decoration: none; cursor: pointer; transition: background var(--ease), color var(--ease), transform var(--ease); }
.button:hover { background: var(--deep); transform: translateY(-1px); }
.button:active { background: var(--indigo); transform: none; }
.button-outline { border-color: var(--blue); color: var(--blue); background: var(--white); }
.button-outline:hover, .button-outline:active { color: var(--white); }
.text-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 700; }
.text-link:hover { color: var(--deep); }

.actions { display: flex; gap: .6rem 1.25rem; flex-wrap: wrap; align-items: center; }
[data-enter] { animation: enter 440ms cubic-bezier(.2,.75,.3,1) both; }
@keyframes enter { from { opacity: .7; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.parcel-cover { position: relative; min-height: clamp(28rem, 42vw, 40rem); background: #6b4f42; overflow: clip; }
.cover-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 49%; }
.cover-inner { position: relative; z-index: 1; min-height: inherit; display: grid; align-content: center; padding-block: clamp(1.6rem, 3vw, 2.5rem); }
.cover-label { width: min(100%, clamp(25rem, 39vw, 35rem)); padding: clamp(1.5rem, 3vw, 3rem); background: var(--paper); }
.cover-label h1 { font-size: clamp(2.75rem, 4.25vw, 4.35rem); }
.cover-label > p { margin: 1.2rem 0 1.4rem; font-size: 1.075rem; color: var(--muted); max-width: 36ch; }
.cover-actions { gap: .15rem 1rem; }
.task-index { border-bottom: 1px solid var(--rule); }
.task-inner { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.task-inner a { position: relative; display: grid; align-content: start; gap: .25rem; padding: 1.05rem 2.4rem 1.05rem 1.3rem; text-decoration: none; transition: background var(--ease); }
.task-inner a:first-child { padding-inline-start: 0; }
.task-inner a + a { border-inline-start: 1px solid var(--rule); }
.task-inner a:hover, .task-inner a:focus-visible { background: var(--blue-paper); }
.task-inner a::after { content: ''; position: absolute; right: 1.15rem; top: calc(50% - 5px); width: 9px; height: 9px; border: solid var(--blue); border-width: 2px 2px 0 0; rotate: 45deg; }
.task-inner a:focus-visible { outline-offset: -4px; }
.task-inner strong { font: 700 1.15rem/1.25 var(--display); }
.task-inner span { color: var(--muted); font-size: .94rem; }

@media (width > 710px) {
  @supports (grid-template-rows: subgrid) {
    .task-inner { row-gap: .25rem; }
    .task-inner a { grid-row: span 2; grid-template-rows: subgrid; }
  }
}

@media (710px < width < 980px) {
  /* Keep the inquiry at a similar height as the cover changes from stacked to overlaid. */
  .cover-inner { padding-block-start: clamp(1.8rem, calc(14rem - 20vw), 5rem); }
}

.parcel-sample, .seller-sheet { padding-block: var(--section); }
.parcel-sample { padding-top: clamp(2.75rem, 6vw, 5.5rem); }
.sample-sheet { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); border: 1px solid var(--rule); background: var(--white); }
.sample-details { padding: clamp(1.1rem, 3vw, 2.6rem); }
.sample-details h2 { font-size: clamp(1.8rem, 3vw, 2.9rem); text-wrap: initial; }
.sample-details > p { margin: .65rem 0 0; color: var(--muted); }
.sample-details .text-link { margin-top: .7rem; }
.sample-sheet .image-frame { position: relative; min-height: 17rem; overflow: clip; }
.sample-sheet .image-frame .photo { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-position: 32% center; }
.seller-sheet { padding-top: 0; }
.seller-rows { margin: 1.5rem 0 0; border-top: 2px solid var(--ink); }
.seller-rows > div { display: grid; grid-template-columns: minmax(0, .64fr) minmax(0, 1fr); gap: .35rem var(--split-gap); padding: 1.05rem 0; border-bottom: 1px solid var(--rule); }
.seller-rows dt { font: 700 1.15rem/1.35 var(--display); }
.seller-rows dd { margin: 0; color: var(--muted); }
.seller-action { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .7rem 1.5rem; padding-block: 1.3rem; }
.seller-action p { margin: 0; font-weight: 700; }

.picture-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: var(--split-gap); }
.page-split { padding-bottom: var(--section); }
.image-frame { background: var(--blue-paper); }
.image-frame .photo { display: block; width: 100%; height: auto; aspect-ratio: 1.4; object-fit: cover; }
.split-copy > p { color: var(--muted); margin-block: .9rem 1.1rem; }
.ruled-details { margin: 1.3rem 0 0; border-top: 1px solid var(--rule); }
.ruled-details > div { display: grid; grid-template-columns: minmax(7rem, .78fr) minmax(0, 1.22fr); gap: .2rem 1rem; padding-block: .72rem; border-bottom: 1px solid var(--rule); }
.ruled-details dt { font-weight: 700; }
.ruled-details dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.ruled-details a { color: var(--ink); }
.split-copy .text-link { margin-top: .6rem; }
.action-band { background: var(--blue-paper); color: var(--ink); }
.action-band p { color: var(--muted); margin: .75rem 0 0; }
.action-inner { padding-block: clamp(2.6rem, 5vw, 4.35rem); display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.35rem 2rem; }

.page-heading { padding-block: clamp(2.15rem, 4.6vw, 4.2rem) clamp(1.55rem, 3vw, 2.8rem); }
.heading-copy > p { margin: 1.2rem 0 0; font-size: clamp(1.1rem, 2vw, 1.35rem); color: var(--muted); max-width: 48ch; }
.heading-copy > p a { color: var(--blue); }
.page-heading .button { margin-top: 1.25rem; }
.service-guide { display: grid; grid-template-columns: minmax(10rem, .29fr) minmax(0, 1fr); gap: 1.6rem var(--split-gap); padding-bottom: var(--section); }
.guide-index { align-self: start; position: sticky; top: 1rem; display: grid; border-top: 2px solid var(--ink); }
.guide-index p { margin: .85rem 0 .3rem; font: 750 1.05rem/1.2 var(--display); }
.guide-index a { display: flex; align-items: center; min-height: 44px; padding-block: .35rem; border-bottom: 1px solid var(--rule); color: var(--blue); font-weight: 650; text-decoration: none; }
.guide-index a:hover { text-decoration: underline; }
.guide-content > section { scroll-margin-top: .25rem; }
.guide-content > section + section { margin-top: clamp(1.8rem, 6vw, 4.5rem); padding-top: clamp(1.4rem, 3.5vw, 2.2rem); border-top: 1px solid var(--rule); }
.guide-content section > p { margin-top: .85rem; color: var(--muted); }
.guide-content .ruled-details > div { grid-template-columns: clamp(7rem, 12vw, 11rem) minmax(0, 1fr); }
.guide-photo .photo { aspect-ratio: 2.25; object-position: center 58%; }
.packing-notes { display: grid; gap: 1rem; margin-top: 1.4rem; }
.packing-notes p { margin: .35rem 0 0; color: var(--muted); }
.service-fit { background: var(--blue-paper); padding: clamp(1.15rem, 2.6vw, 2rem); }
.service-fit h2 { font-size: clamp(1.35rem, 2vw, 1.7rem); letter-spacing: -.015em; }
.service-fit .ruled-details { margin-top: .85rem; }
.service-fit > p { margin: .9rem 0 0; }
.soft-block { background: var(--blue-paper); }
.content-pair { padding-block: var(--section); display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 1.5rem clamp(1.5rem, 6vw, 7rem); align-items: start; }
.content-pair .ruled-details { margin: 0; }
.section-intro p { color: var(--muted); margin: .9rem 0 .6rem; max-width: 44ch; }
.faq-items { margin-top: 1.25rem; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; padding: .82rem 2rem .82rem 0; font-weight: 700; position: relative; list-style: none; }
.faq summary::-webkit-details-marker, .mobile-nav summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; width: 8px; height: 8px; border: solid var(--blue); border-width: 0 2px 2px 0; rotate: 45deg; right: .55rem; top: 1.25rem; }
.faq details[open] summary::after { rotate: 225deg; }
.faq details p { margin: 0; padding-bottom: 1rem; color: var(--muted); }
.workflow-steps { list-style: none; counter-reset: handoff; padding: 0; margin: 0 0 1.8rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.workflow-steps li { position: relative; counter-increment: handoff; padding-block: .8rem; border-top: 2px solid var(--rule); }
.workflow-steps li::after { content: ''; position: absolute; inset: -2px 0 auto; block-size: 2px; background: var(--blue); transform-origin: left; }
.workflow-steps li::before { display: block; content: counter(handoff, decimal-leading-zero); color: var(--blue); font: 750 1.1rem/1.1 var(--display); margin-bottom: .65rem; }
.workflow-steps h2 { font-size: 1.22rem; line-height: 1.23; letter-spacing: -.015em; text-wrap: initial; }
.workflow-steps p { margin: .3rem 0 0; color: var(--muted); }
.workflow-photo .photo { aspect-ratio: 2.7; object-position: center 53%; }
.order-record { border: 1px solid var(--rule); background: var(--blue-paper); padding: clamp(1.05rem, 3vw, 2rem); }
.order-record h3 { margin-bottom: .9rem; font-size: clamp(1.25rem, 2.1vw, 1.8rem); }
.dispatch-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem var(--split-gap); padding-block: 2rem var(--section); border-top: 2px solid var(--ink); }
.dispatch-notes h2 { font-size: clamp(1.8rem, 3.35vw, 2.9rem); }
.exception-list { list-style: none; padding: 0; margin: 1.3rem 0 0; border-top: 1px solid var(--rule); }
.exception-list li { padding-block: .8rem; border-bottom: 1px solid var(--rule); }
.exception-list p { margin: .35rem 0 0; color: var(--muted); }

.contact-layout { padding-bottom: var(--section); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .67fr); align-items: start; gap: clamp(2rem, 6vw, 6rem); }
.contact-details p, .inquiry > p, .reading p { color: var(--muted); margin-top: 1rem; }
.contact-details h2, .inquiry h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); }
.contact-details a { display: inline-flex; align-items: center; min-height: 44px; }
.inquiry-checklist { border-top: 1px solid var(--rule); padding-top: 1rem; }
.inquiry-checklist ul { margin: .7rem 0 0; padding-inline-start: 1.25rem; color: var(--muted); }
.inquiry-checklist li + li { margin-top: .4rem; }
.inquiry { padding: clamp(1rem, 3vw, 2.5rem); background: var(--blue-paper); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; margin-bottom: .85rem; }
label { display: block; font-weight: 700; }
.optional { color: var(--muted); font-weight: 400; }
input, textarea { display: block; width: 100%; min-height: 44px; margin-top: .32rem; padding: .64rem .75rem; border: 1px solid #71809e; border-radius: 0; color: var(--ink); background: var(--white); font: 400 1rem/1.5 var(--body); caret-color: var(--blue); }
textarea { resize: vertical; }
.field-help { color: var(--muted); margin-top: .5rem; font-size: .95rem; }
.draft-status, .copy-status { margin: .75rem 0 0; color: var(--muted); }
.draft-status:empty, .copy-status:empty { margin: 0; }
.inquiry-result { border-top: 1px solid var(--rule); margin-top: 1.6rem; padding-top: 1.25rem; }
.draft-recipient { margin: .7rem 0 0; color: var(--muted); overflow-wrap: anywhere; }
.draft-recipient a { color: var(--ink); }
.draft-actions { margin-top: .8rem; }
.reading { padding-bottom: var(--section); }
.reading h2 { margin-top: 1.5rem; font-size: 1.65rem; }
.reading h2:first-child { margin-top: 0; }

.site-footer { background: var(--deep); color: var(--white); }
.footer-inner { display: grid; grid-template-columns: 1.15fr .85fr 1fr; gap: 1.5rem 2.5rem; padding-block: 3.5rem 1.4rem; }
.site-footer .mark { background: var(--indigo); }
.footer-inner a:not(.brand) { display: flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; }
.site-footer p:not(.footer-label) { margin: .6rem 0 0; color: var(--tint); }
.footer-label { margin: 0 0 .5rem; color: var(--tint); font-weight: 700; }
.footer-note { grid-column: 1 / -1; margin-top: .7rem; padding-top: .8rem; border-top: 1px solid var(--tint); }
.footer-note a { width: fit-content; min-height: 44px; padding-block: .5rem; font-size: .93rem; }

@media (max-width: 880px) {
  .picture-split, .contact-layout, .content-pair { grid-template-columns: minmax(0, 1fr); }
  .page-split .split-copy { order: -1; }
  .task-inner a { padding-inline-start: .85rem; }
  .service-guide { grid-template-columns: minmax(0, 1fr); }
  .guide-index { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1.2rem; }
  .guide-index p { grid-column: 1 / -1; }
  .workflow-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dispatch-notes { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 710px) {
  .header-inner { min-height: 4.25rem; }
  .main-nav { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { list-style: none; display: grid; min-height: 44px; min-width: 3.25rem; place-items: center; color: var(--blue); cursor: pointer; font-weight: 700; position: absolute; inset: .75rem var(--gutter) auto auto; }
  .mobile-nav[open] nav { display: grid; gap: 0; padding-block: .3rem .75rem; }
  .mobile-nav nav a { border-bottom: 1px solid var(--rule); }
  .parcel-cover { min-height: 0; background: var(--paper); }
  .cover-image { height: clamp(10rem, 47vw, 12rem); object-position: center 45%; }
  .cover-inner { padding-block: clamp(6rem, 31vw, 8rem) .85rem; }
  .cover-label { width: 100%; padding: clamp(1rem, 4vw, 1.5rem); }
  .cover-label h1 { font-size: clamp(2.125rem, 6.4vw, 3rem); }
  .cover-label > p { margin-block: .7rem .85rem; }
  .task-inner, .sample-sheet { grid-template-columns: minmax(0, 1fr); }
  .task-inner a { padding: .7rem 2rem .7rem 0; border-top: 1px solid var(--rule); }
  .task-inner a::after { right: .35rem; }
  .task-inner a + a { border-inline-start: 0; }
  .sample-sheet .image-frame { min-height: 0; }
  .sample-sheet .image-frame .photo { position: static; height: clamp(11rem, 45vw, 18rem); }
}

@media (max-width: 620px) {
  .seller-rows > div, .workflow-steps { grid-template-columns: minmax(0, 1fr); }
  .guide-photo .photo, .workflow-photo .photo { aspect-ratio: 1.55; }
  .workflow-steps { gap: .35rem; }
  .workflow-steps li { display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); }
  .workflow-steps li::before { grid-row: span 2; padding-top: .14rem; }
  .form-grid, .footer-inner { grid-template-columns: 1fr; }
  .footer-inner { padding-top: 2.7rem; }
}

@media (max-width: 360px) {
  .brand { font-size: .91rem; }
  .actions { align-items: start; flex-direction: column; }
  .ruled-details > div, .guide-content .ruled-details > div { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .cover-image { animation: cover-settle 720ms var(--settle); }
  .cover-label[data-enter] { animation: label-settle 560ms var(--settle); }
  [data-motion="parcel"][data-in-view] .photo { animation: parcel-uncover 640ms var(--settle); }
  .workflow-steps [data-in-view]::after { animation: route-rule 480ms var(--settle); }
  .task-inner a::after { transition: translate 180ms var(--settle); }
  .task-inner a:is(:hover, :focus-visible)::after { translate: 3px 0; }
  .faq summary::after { transition: rotate 220ms var(--settle); }
  .faq details[open] > p { animation: answer-in 240ms var(--settle); }
  @supports (interpolate-size: allow-keywords) and selector(::details-content) {
    .faq { interpolate-size: allow-keywords; }
    .faq details::details-content {
      block-size: 0;
      overflow: clip;
      transition: block-size 230ms var(--settle), content-visibility 230ms allow-discrete;
    }
    .faq details[open]::details-content { block-size: auto; }
    .faq details[open] > p { animation: none; }
  }
}

@keyframes cover-settle { from { transform: scale(1.035); } to { transform: none; } }
@keyframes label-settle { from { opacity: .88; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes parcel-uncover { from { clip-path: inset(0 18% 0 0); } to { clip-path: inset(0); } }
@keyframes route-rule { from { transform: scaleX(.15); } to { transform: none; } }
@keyframes answer-in { from { opacity: .64; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  [data-enter] { animation: none; }
  .button, .task-inner a { transition: none; transform: none; }
  .button:hover { transform: none; }
}
