:root {
  color-scheme: light;
  --ink: #25271e;
  --muted: #565548;
  --paper: #eae2cf;
  --light: #f6efdf;
  --rust: #953a21;
  --sand: #e9bd82;
  --line: #c9bca3;
  font: 16px/1.55 "Trebuchet MS", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
}
*, *::before, *::after { box-sizing: border-box }
body, h1, h2, h3, p { margin: 0 }
body { min-height: 100vh; display: flex; flex-direction: column }
main {
  flex: 1;
  position: relative;
  isolation: isolate;
  background: #eeece7;
}
main::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url('/mississippi-river-map.png') center top / max(100%, 900px) auto repeat-y;
  filter: grayscale(1);
  opacity: .22;
}
img { max-width: 100%; display: block }
a { color: inherit }
button, input, select { font: inherit }
button, select { cursor: pointer }
button:disabled { opacity: .5; cursor: default }
:focus-visible { outline: 3px solid #b26b18; outline-offset: 4px }
.frame { width: min(100% - 3rem, 1240px); margin-inline: auto }
.narrow { max-width: 750px }
.section { padding-block: clamp(3rem, 7vw, 6rem) }
.skip { position: fixed; top: 1rem; left: 1rem; transform: translateY(-200%); background: white; padding: .5rem; z-index: 5 }
.skip:focus { transform: none }
.site-header, footer { background: #22251d; color: var(--light) }
.bar, .footer { display: flex; justify-content: space-between; align-items: center; gap: 1.3rem }
.bar { min-height: 76px }
.bar nav { display: flex; gap: clamp(.75rem, 2vw, 2rem); flex-wrap: wrap }
.bar a { text-decoration: none }
.bar a:hover { color: var(--sand) }
.wordmark { display: inline-flex; align-items: baseline; gap: .45rem; font: 950 italic 1.8rem/1 system-ui, sans-serif; letter-spacing: -.08em; white-space: nowrap }
.wordmark span { font: 800 .7rem/1 system-ui, sans-serif; letter-spacing: .12em }
.bag { padding: .45rem .8rem; border: 1px solid #777569; border-radius: 2px }
.hero {
  min-height: clamp(540px, 70vh, 760px);
  display: grid;
  align-items: center;
  color: var(--light);
}
.hero-content { padding-block: 4rem; text-align: center }
h1, h2, h3 { font-family: Georgia, serif; line-height: .99; letter-spacing: -.045em; text-wrap: balance }
h1 { font-size: clamp(2.9rem, 6.4vw, 6rem); margin-bottom: 1.25rem }
.hero h1 { white-space: nowrap; margin: 0 auto; color: #fff; font: 900 clamp(2.02rem, 5.5vw, 5.2rem)/1.02 system-ui, sans-serif; letter-spacing: -.035em; text-wrap: balance }
h2 { font-size: clamp(2.1rem, 4.4vw, 4.3rem); margin-bottom: .8rem }
h3 { font-size: clamp(1.8rem, 3vw, 2.55rem); margin-bottom: .75rem }
.eyebrow { margin-bottom: .85rem; text-transform: uppercase; letter-spacing: .13em; font-weight: 800; color: var(--rust); font-size: .875rem }
.actions { display: flex; gap: .85rem; flex-wrap: wrap; margin-top: 1.65rem }
.button { display: inline-block; border: 1px solid transparent; border-radius: 3px; padding: .78rem 1.12rem; color: white; background: var(--rust); font-weight: 800; text-decoration: none }
.button:hover:not(:disabled) { background: #752a16 }
.button.outline { background: #22251d55; border-color: #efead1a0 }
.button.outline:hover { background: #22251d }
.canvas { background: transparent }
.hero + .canvas {
  background: linear-gradient(rgb(238 236 231 / .32), rgb(238 236 231 / .32));
}
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.3rem; margin-top: 1.8rem }
.card { background: var(--light); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column }
.card-photo { display: block; overflow: hidden }
.card-photo img, .standalone-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover }
.card-photo img { transition: transform .2s ease }
.card-photo:hover img { transform: scale(1.04) }
.card-body { padding: 1.35rem; flex: 1; display: flex; flex-direction: column; align-items: start }
.card-body > p:not(.eyebrow) { color: var(--muted); margin-bottom: 1rem }
.card-body .text-link, .card-body button { margin-top: auto }
.text-link, .back { color: #7f2f19; text-underline-offset: .24em; text-decoration: underline; font-weight: 800 }
button.text-link { background: transparent; border: 0; padding: 0 }
.heritage, .product { display: grid; grid-template-columns: 1.13fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center }
.heritage img, .product-photo { width: 100%; border-radius: 4px; aspect-ratio: 4/3; object-fit: cover }
.heritage p:not(.eyebrow) { margin-bottom: 1.15rem }
.footer { padding-block: 1.25rem; align-items: start; gap: .65rem }
.footer p { margin: .25rem 0 0; color: #d6cdb7 }
.product { align-items: start; margin-top: 1.25rem }
.product h1 { font-size: clamp(2.7rem, 5vw, 4.7rem) }
.order { margin-top: 1.5rem }
.order > label, legend { font-weight: 800 }
select { display: block; width: 100%; margin: .35rem 0 .9rem; padding: .7rem; background: var(--light); border: 1px solid var(--line); border-radius: 3px; color: var(--ink) }
fieldset { display: flex; flex-wrap: wrap; gap: .75rem 1rem; border: 1px solid var(--line); border-radius: 3px; padding: .65rem .85rem; margin: 0 0 .65rem }
input[type=radio] { accent-color: var(--rust) }
.totals { border-block: 1px solid var(--line); margin: .9rem 0; padding: .55rem 0 }
.totals div { display: flex; justify-content: space-between; gap: .65rem }
.note { margin-bottom: .95rem; color: var(--muted); font-size: .92rem }
.narrow > p { margin-bottom: 1rem }
.accessories { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px }
.accessories h2 { font-size: 2rem }
.photo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 }
.photo-grid img { width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 3px }
#cart { margin: 1.4rem 0 }
.cart-row { padding: .9rem; border-bottom: 1px solid var(--line); background: var(--light); display: grid; grid-template-columns: 1fr 4rem auto; gap: .5rem 1rem; align-items: center }
.cart-row p { grid-column: 1; color: var(--muted) }
.cart-row input { grid-column: 2; grid-row: 1 / span 2; min-width: 0; padding: .3rem }
.cart-row button { grid-column: 3; grid-row: 1 / span 2 }
.cart-totals { margin: 1rem 0; font-weight: 800 }
dialog { width: min(90%, 500px); border: 1px solid var(--line); border-radius: 4px; padding: 1.5rem; background: var(--light); color: var(--ink) }
dialog::backdrop { background: #151811b0 }
.delivery-location-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: .75rem; margin-bottom: .75rem }
.delivery-location-row input { display: block; width: 100%; box-sizing: border-box }
.receipt-preview { margin-block: 1.5rem; padding: clamp(1rem, 4vw, 2rem); background: #fff; color: #202629; border: 1px solid #d7dde0; border-radius: 6px; }
.receipt-preview h2 { margin-block: .25rem; font: 700 1.4rem system-ui, sans-serif; letter-spacing: normal; }
.receipt-preview header { border-bottom: 2px solid #3d6567; padding-bottom: 1rem; }
.receipt-preview table { width: 100%; border-collapse: collapse; text-align: left; }
.receipt-preview :is(th, td) { padding: .6rem .35rem; border-bottom: 1px solid #d7dde0; vertical-align: top; }
.receipt-preview :is(th, td):last-child { text-align: right; white-space: nowrap; }
.receipt-preview dl { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; }
.receipt-preview dd { margin: 0; text-align: right; font-weight: 700; }
@media print {
  body:has(.receipt-preview:not([hidden])) > :not(main),
  body:has(.receipt-preview:not([hidden])) main .frame > :not(.receipt-preview) { display: none !important; }
  body:has(.receipt-preview:not([hidden])) :is(main, .canvas, .frame) { background: white !important; margin: 0; padding: 0; max-width: none; width: auto; }
  .receipt-preview { border: 0; margin: 0; }
}
dialog p { margin: .5rem 0 }
dialog form { margin-top: 1rem }
@media (max-width: 820px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)) }
  .hero { background-position: 62% center }
  .product, .heritage { gap: 1.5rem }
}
@media (max-width: 590px) {
  .frame { width: calc(100% - 2rem) }
  .bar { flex-wrap: wrap; padding: .85rem 0; gap: .65rem }
  .bar nav { order: 1; width: 100%; justify-content: space-between; gap: .5rem }
  .hero { min-height: 520px; background-position: 60% center }
  .cards, .product, .heritage { grid-template-columns: 1fr }
  .footer { flex-direction: column; align-items: flex-start }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important }
}

.specs { margin: 1.15rem 0 0 }
.specs > div { display: flex; flex-wrap: wrap; gap: .2rem 1rem; justify-content: space-between; border-bottom: 1px solid var(--line); padding: .5rem 0 }
.specs dt { font-weight: 800 }
.specs dd { margin: 0; color: var(--muted) }

.hero { position: relative; isolation: isolate }

.header-actions { display: flex; align-items: center; gap: .65rem }
.header-dealer { background: var(--sand); color: var(--ink); padding: .45rem .8rem; border-radius: 2px; font-weight: 800; white-space: nowrap }
.header-dealer:hover { background: var(--light); color: var(--ink) !important }
@media (max-width: 400px) {
  .header-actions { gap: .35rem }
  .header-dealer, .bag { padding-inline: .45rem }
}

:root {
  color-scheme: dark;
  --ink: #f5f5f5;
  --muted: #bdbdbd;
  --paper: #000;
  --light: #fff;
  --rust: #f26522;
  --sand: #ff8955;
  --line: #383838;
  font-family: system-ui, sans-serif;
}
main, .site-header, footer { background: #000 }
main::before { opacity: .085 }
.hero + .canvas { background: transparent }
.site-header { border-bottom: 1px solid #292929; position: relative; z-index: 2 }
.brand-logo { display: block; width: clamp(145px, 18vw, 230px); flex: none; background: #f5f2eb; border-radius: 4px }
.brand-logo { display: flex; align-items: center; gap: 5%; padding: 5px 8px; }
.brand-logo .brand-badge { width: 15%; height: auto; flex: none; }
.brand-wordmark { flex: 1; display: grid; gap: 3px; }
.brand-wordmark > span { display: block; background-image: var(--brand-wordmark-image, url("/pintail-logo.png")); background-repeat: no-repeat; }
.brand-pintail { aspect-ratio: 5.9; background-size: 149.18% 289.6%; background-position: 95.67% 36.29%; }
.brand-duck-boats { aspect-ratio: 12.64; background-size: 143.18% 603.33%; background-position: 95.42% 74.50%; }
.bar nav { align-items: center; column-gap: clamp(.8rem, 2.4vw, 2rem); font-weight: 700 }
.bar nav a, .nav-boats summary { white-space: nowrap }
.nav-boats { position: relative }
.nav-boats summary { cursor: pointer }
.nav-boats > div { position: absolute; z-index: 1; top: 100%; left: -.6rem; min-width: max-content; padding: .45rem; background: #171717; border: 1px solid var(--line) }
.nav-boats > div a { display: block; padding: .45rem .6rem }
.button, .header-dealer { background: var(--rust); color: #111; border-radius: 2px; font-weight: 850 }
.button:hover:not(:disabled), .header-dealer:hover { background: var(--sand); color: #111 !important }
.button.outline, .button.outline:hover { color: #fff !important; background: #1118 }
.card, .cart-row, dialog, select { background: #171717; color: var(--ink) }
.text-link, .back { color: var(--sand) }
.specs dd { color: var(--muted) }
@media (max-width: 980px) {
  .bar { flex-wrap: wrap; padding-block: .75rem; gap: .7rem }
  .bar nav { order: 1; width: 100%; justify-content: space-between }
}
@media (max-width: 400px) {
  .bar nav { column-gap: .45rem; font-size: .86rem }
}

.lineup-feature { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); }
.lineup-message { min-width: 0; text-align: left; }
.lineup-heading { color: var(--rust); font: 600 2.25rem/1.15 system-ui, sans-serif; letter-spacing: 0; }
.lineup-intro { color: #fff; max-width: 65ch; line-height: 1.65; }
.lineup-feature-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: contain; }
@media (max-width: 760px) {
  .lineup-feature { grid-template-columns: 1fr; }
  .lineup-heading { font-size: 1.875rem; }
}

.lineup-intro, .lineup-features { font-size: 1.125rem; }
.lineup-features { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .65rem; color: #fff; }
.lineup-features li { display: grid; grid-template-columns: 5.3rem minmax(0, 1fr); align-items: center; gap: .8rem; }
.lineup-features li::before { content: ""; height: 1.3rem; background: var(--rust); mask: url('/pin-feather.png') center / contain no-repeat; }

@media (max-width: 580px) { .hero h1 { font-size: min(2.02rem, 5.5vw); } }

.tradition { margin-top: clamp(2rem, 5vw, 4rem); text-align: center; }
.tradition-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin-top: 1.25rem; }
.tradition-links a { text-decoration: none; }

.heritage { grid-template-columns: 1fr; justify-items: center; text-align: center; }
.heritage .lineup-intro { margin-inline: auto; }
.heritage .actions { justify-content: center; }

.heritage .eyebrow { font-size: 1.125rem; }
@media (max-width: 760px) { .heritage .eyebrow { font-size: .9375rem; } }

.hero { display: grid; place-items: center; min-height: clamp(26rem, 69vh, 47rem); padding: 0; background: linear-gradient(rgb(0 0 0 / .38), rgb(0 0 0 / .38)), url('/gallery1.jpg') center / cover no-repeat; }
.hero-content { padding-block: clamp(1.75rem, 4vw, 3.5rem) 1.5rem; }

@font-face {
  font-family: Kalam;
  src: url('/fonts/kalam-bold.ttf') format('truetype');
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}
.product-page-heading { font-size: clamp(2.75rem, 8vw, 4.5rem); text-align: center; font-family: "MV Boli", Kalam, cursive; font-weight: 700; }
.spec-model { align-items: center; }
.spec-model select { margin: 0; min-width: 8.5rem; }

.boat-addons { display: grid; gap: .45rem; }
.boat-addons label { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .55rem; padding: .4rem .55rem; border: 1px solid var(--line); border-radius: 1rem; cursor: pointer; }
.boat-addons label:has(input:disabled) { opacity: .55; cursor: default; }
.boat-addons input, .trailer-toggle input { appearance: none; width: 1rem; height: 1rem; margin: 0; border: 1px solid var(--muted); border-radius: 50%; cursor: inherit; }
.boat-addons input:checked, .trailer-toggle input:checked { border-color: var(--rust); background: radial-gradient(circle, var(--rust) 47%, transparent 55%); }

.coating-label { margin: .35rem 0 0; font: 700 1rem/1.3 system-ui, sans-serif; }

.pirogue-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; align-items: start; margin-top: 1rem; }
.pirogue-options fieldset { margin: 0; min-width: 0; padding-inline: .55rem; }
.pirogue-options .boat-addons label { gap: .35rem; padding-inline: .4rem; }
.pirogue-options .boat-addons strong { white-space: nowrap; }
@media (max-width: 1060px) and (min-width: 591px) {
  .product:has(.pirogue-options) { grid-template-columns: 1fr; }
}
@media (max-width: 590px) {
  .pirogue-options { grid-template-columns: 1fr; }
}

.promo-field { display: grid; gap: .35rem; margin: 0 0 .85rem; }
.promo-field input { max-width: 100%; padding: .5rem .65rem; border: 1px solid var(--line); border-radius: .3rem; }
.promo-field p { color: var(--muted); font-size: .875rem; }

.totals [hidden] { display: none; }

.product-gallery .product-photo { background: #151515; object-fit: contain; }
.product-gallery [hidden] { display: none; }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: .75rem; padding-top: .6rem; }
.gallery-controls button { color: var(--light); background: #171717; border: 1px solid var(--line); border-radius: 3px; padding: .4rem .75rem; }
.gallery-controls button:hover { color: var(--sand); }

main:has(.hero) :is(h1, h2, .heritage .eyebrow) {
  font-family: "MV Boli", Kalam, cursive;
  font-weight: 700;
}
.gallery-controls { flex-wrap: wrap; }

.trailer-toggle { display: inline-flex; align-items: center; gap: .45rem; cursor: pointer; }

.trailer-choices { display: grid; gap: .35rem; }

.contact-form { display: grid; gap: .6rem; }
.contact-form label:not(:first-child) { margin-top: .5rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: .65rem; border: 1px solid var(--line); border-radius: .3rem; font: inherit; }
.contact-form textarea { resize: vertical; }
.contact-form button { justify-self: start; margin-top: .5rem; }

.footer { flex-wrap: wrap; }
.footer .footer-copyright { flex-basis: 100%; width: 100%; text-align: center; }

.lineup-photo-frame { padding: 10px; border-radius: 14px; background: url("/camo.webp") center / 260px auto; }
.lineup-photo-frame .lineup-feature-photo { aspect-ratio: auto; border-radius: 6px; }
.lineup-photo-frame .product-photo { border-radius: 6px; }
.tradition-links .header-dealer { background: #000; color: #fff; box-shadow: inset 0 0 0 1px var(--rust); }
.tradition-links .header-dealer:hover, .tradition-links .header-dealer:focus-visible { background: #191919; color: #fff !important; }

.shop-contact h2 { font-size: clamp(1.05rem, 2.2vw, 2.15rem); }
