/* Arlo Department Store: "Baler Tide". A sand page with a drifting wave line under the header; sections are read as tide times
   (Low tide, Rising, High tide, Slack water, Ebb), products stand on driftwood planks with hanging string tags,
   the cart is a woven beach bag with rope handles and the footer is the sea with a wave crest. */
:root {
  --sand: #F2E6D0; --sand-2: #E8D7B8; --shell: #FBF6EC; --sea: #1E5A7A; --sea-dk: #143F57; --deep: #0F3246;
  --coral: #EE7B5B; --coral-dk: #B9492B; --wood: #A8794F; --wood-dk: #7A5434; --straw: #D9B77E; --straw-dk: #B48E52;
  --ink: #1D2B33; --muted: #5E6A6F; --line: rgba(30, 90, 122, .22); --error: #A3261B;
  --serif: 'Young Serif', 'Georgia', serif;
  --sans: 'Figtree', 'Segoe UI', system-ui, sans-serif;
  --wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 7 Q15 0 30 7 T60 7 T90 7 T120 7' fill='none' stroke='%231E5A7A' stroke-width='2'/%3E%3C/svg%3E");
  --wave-c: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='14' viewBox='0 0 120 14'%3E%3Cpath d='M0 7 Q15 0 30 7 T60 7 T90 7 T120 7' fill='none' stroke='%23EE7B5B' stroke-width='2'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; overflow-x: clip; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--sand); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4, p, figure, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--coral-dk); outline-offset: 3px; }
.wrap { width: min(1240px, 100% - 2 * clamp(16px, 4vw, 48px)); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 300; background: var(--sea); color: var(--shell); padding: .7rem 1rem; }
.skip-link:focus { top: 12px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; flex: none; }
[hidden] { display: none !important; }

h1, h2 { font-family: var(--serif); font-weight: 400; line-height: 1.06; letter-spacing: -.01em; color: var(--sea-dk); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h1 em, h2 em { font-style: normal; color: var(--coral-dk); }
.lede { font-size: 1.15rem; color: var(--ink); max-width: 31rem; }
.cur { margin-right: .06em; }

/* Tide marker: a small gauge whose water level is the tide of the section */
.tide { display: flex; align-items: center; gap: .65rem; margin-bottom: 1rem; font: 700 .76rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sea); }
.tide i { width: 14px; height: 22px; flex: none; border: 2px solid currentColor; border-radius: 0 0 4px 4px; border-top: 0;
  background: linear-gradient(to top, var(--coral) calc(var(--lvl, .5) * 100%), transparent 0); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .8rem 1.6rem; background: var(--sea); color: var(--shell); border: 2px solid var(--sea); border-radius: 999px; text-decoration: none; font: 700 .95rem/1.2 var(--sans); transition: background-color .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--coral-dk); border-color: var(--coral-dk); }
.btn--line { background: transparent; color: var(--sea); }
.btn--line:hover { background: var(--sea); color: var(--shell); border-color: var(--sea); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.8rem; }

/* Header. No filter, transform or backdrop-filter. */
.header { position: sticky; top: 0; z-index: 60; background: var(--sand); }
.nav { display: flex; align-items: center; gap: 1rem; min-height: 76px; width: min(1320px, 100% - 2 * clamp(16px, 3vw, 40px)); margin-inline: auto; }
.brand { display: flex; align-items: center; gap: .65rem; margin-right: auto; text-decoration: none; color: var(--sea); }
.brand-mark { width: 50px; height: 50px; }
.brand-word { display: grid; line-height: 1; }
.brand-word b { font: 400 1.7rem/1 var(--serif); letter-spacing: .02em; }
.brand-word small { margin-top: .3rem; font: 700 .64rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--coral-dk); }
.nav-list { display: flex; gap: .2rem; }
.nav-link { display: grid; padding: .45rem .9rem; text-decoration: none; font-weight: 700; font-size: .98rem; color: var(--sea-dk); line-height: 1.15; border-bottom: 2px solid transparent; }
.nav-link small { font-weight: 500; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.nav-link:hover { border-bottom-color: var(--coral); }
.nav-close-li { display: none; }
.cart-btn { display: flex; align-items: center; gap: .5rem; min-height: 48px; padding: .3rem .5rem .3rem .9rem; background: var(--shell); color: var(--sea-dk); border: 2px solid var(--straw-dk); border-radius: 12px 12px 18px 18px; font-weight: 700; font-size: .95rem; }
.cart-btn:hover { border-color: var(--coral); }
.bag-ico { width: 26px; height: 26px; color: var(--straw-dk); }
.cart-count { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 .3rem; border-radius: 50%; background: var(--coral); color: #fff; font-size: .9rem; }
.cart-btn.pop .cart-count { animation: pop .45s ease; }
@keyframes pop { 40% { transform: scale(1.25); } }
.nav-toggle, .nav-close { display: none; width: 48px; height: 48px; place-items: center; background: var(--sea); color: var(--shell); border: 0; border-radius: 50%; }
.back-link { font-weight: 700; color: var(--sea); text-underline-offset: 4px; }

/* The wave line: drifts left forever under the header (background-position only) */
.tideline { height: 14px; background: var(--wave) 0 50% / 120px 14px repeat-x, var(--sand); border-bottom: 1px solid var(--line); }
@media (prefers-reduced-motion: no-preference) {
  .tideline { animation: drift 6s linear infinite; }
  @keyframes drift { to { background-position: -120px 50%, 0 0; } }
}
.wave-rule { display: block; width: 100%; height: 18px; color: var(--coral); }

@media (max-width: 999px) {
  .nav { min-height: 66px; gap: .6rem; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-word b { font-size: 1.4rem; }
  .nav-toggle { display: grid; flex: none; }
  .nav-list { display: none; }
  .nav-list.open { display: flex; position: fixed; inset: 0; z-index: 200; height: 100dvh; overflow-y: auto; flex-direction: column; justify-content: center; gap: 0; padding: 5rem 1.5rem 3rem; background: var(--wave-c) 0 88% / 120px 14px repeat-x, var(--sea-dk); }
  .nav-list.open .nav-link { padding: 1rem .2rem; font: 400 2rem/1.1 var(--serif); color: var(--shell); border-bottom: 1px solid rgba(251, 246, 236, .2); }
  .nav-list.open .nav-link small { font: 700 .72rem/1.4 var(--sans); color: var(--coral); }
  .nav-list.open .nav-close-li { display: block; position: absolute; top: 14px; right: 16px; }
  .nav-close { display: grid; background: var(--coral); }
}
@media (max-width: 440px) { .cart-word { display: none; } .brand-word small { letter-spacing: .1em; font-size: .58rem; } .cart-btn { padding-left: .6rem; } }

/* Hero: low tide, the shack in morning light. Copy sits on the sand wall. */
.hero { position: relative; background: var(--sand-2); }
.hero-pic img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; object-position: 70% 50%; }
.hero-in { padding: 2rem 0 3rem; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); margin-bottom: 1.2rem; }
.hero h1 em { display: block; }
@media (min-width: 1000px) {
  .hero { min-height: min(86vh, 760px); display: grid; }
  .hero-pic, .hero-in { grid-area: 1 / 1; }
  .hero-pic img { height: 100%; aspect-ratio: auto; object-position: 60% 50%; }
  .hero-in { align-self: center; padding: 4rem 0; }
  .hero-copy { max-width: 30rem; }
}

/* Shop: rising tide, three driftwood shelves */
.shop { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); }
.shop .wave-rule { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); }
.shop-head { max-width: 44rem; }
.shop-head p:last-child { margin-top: 1rem; color: var(--muted); max-width: 36rem; }
.rack { margin-top: clamp(3rem, 6vw, 4.5rem); --gap: 1.6rem; }
.rack-sign { display: inline-block; margin: 0 0 1.6rem; padding: .9rem 1.3rem 1rem; background: var(--sea); color: var(--shell); border-radius: 3px; box-shadow: 4px 4px 0 var(--wood-dk); }
.rack-no { font: 700 .7rem/1.3 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--coral); }
.rack-sign h3 { font: 400 clamp(1.5rem, 2.6vw, 1.9rem)/1.15 var(--serif); margin: .15rem 0 .25rem; }
.rack-sign p:last-child { font-size: .92rem; color: #D5E3EA; max-width: 30rem; }
.rack-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 var(--gap); }
@media (max-width: 999px) {
  .rack { --gap: 1rem; }
  .rack-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 0 1rem; margin-inline: calc(-1 * clamp(16px, 4vw, 48px)); padding-inline: clamp(16px, 4vw, 48px); scroll-padding-inline: clamp(16px, 4vw, 48px); gap: var(--gap); }
  .item { flex: 0 0 min(62vw, 260px); scroll-snap-align: start; }
}
.item { display: flex; flex-direction: column; }
.item-photo { position: relative; padding-bottom: 18px; }
.item-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 1; object-fit: cover; border: 5px solid var(--shell); box-shadow: 0 8px 10px -6px rgba(60, 35, 15, .55); }
/* The plank: each piece joins its neighbours across the gap into one driftwood board */
.item-photo::after { content: ''; position: absolute; left: calc(var(--gap) / -2); right: calc(var(--gap) / -2); bottom: 0; height: 18px;
  background: repeating-linear-gradient(90deg, transparent 0 37px, rgba(70, 45, 25, .18) 37px 39px, transparent 39px 83px), repeating-linear-gradient(0deg, transparent 0 5px, rgba(255, 240, 215, .22) 5px 6px), var(--wood);
  border-bottom: 4px solid var(--wood-dk); }
.item:first-child .item-photo::after { left: -6px; border-radius: 3px 0 0 3px; }
.item:last-child .item-photo::after { right: -6px; border-radius: 0 3px 3px 0; }
/* The tag hangs from the plank on a string */
.tag { position: relative; flex: 1; display: flex; flex-direction: column; margin: 20px 10% 0 6%; padding: 1rem .9rem .9rem; background: var(--shell); border: 1px solid var(--straw); border-radius: 2px 2px 10px 10px; transition: border-color .2s; }
.tag::before { content: ''; position: absolute; left: 50%; top: -21px; width: 2px; height: 26px; background: var(--wood-dk); }
.tag::after { content: ''; position: absolute; left: calc(50% - 5px); top: 4px; width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--straw-dk); background: var(--sand); }
.item.in-cart .tag { border-color: var(--coral); box-shadow: 0 0 0 1px var(--coral); }
.tag-meta { display: flex; justify-content: space-between; gap: .4rem; padding-top: .3rem; font: 700 .66rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.tag h4 { margin: .55rem 0 .2rem; font: 400 1.08rem/1.2 var(--serif); color: var(--sea-dk); }
.tag-desc { font-size: .88rem; line-height: 1.45; color: var(--ink); }
.price { margin: .7rem 0 .7rem; font: 700 1.25rem/1 var(--sans); color: var(--coral-dk); }
.tag .price { margin-top: auto; padding-top: .7rem; }
.add { width: 100%; min-height: 44px; padding: .5rem; background: transparent; color: var(--sea); border: 2px solid var(--sea); border-radius: 999px; font-weight: 700; font-size: .86rem; transition: background-color .2s, color .2s; }
.add:hover { background: var(--sea); color: var(--shell); }
.stepper { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 2px solid var(--coral); border-radius: 999px; background: #FDEDE6; }
.stepper button, .qty button { display: grid; place-items: center; width: 44px; height: 40px; background: none; border: 0; border-radius: 999px; }
.stepper button:hover, .qty button:hover { background: rgba(238, 123, 91, .2); }
.stepper button:disabled, .qty button:disabled { opacity: .35; cursor: not-allowed; }
.stepper output, .qty output { min-width: 2ch; text-align: center; font-weight: 700; }

/* How: high tide. Three steps ride the swell. */
.how { position: relative; padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; background: var(--sea); color: var(--shell); overflow: hidden; }
.how .tide { color: #CFE1EA; }
.how h2 { color: var(--shell); }
.how h2 em { color: var(--coral); display: block; }
.swell { display: grid; gap: 1.2rem; margin-top: 2.4rem; counter-reset: s; }
.swell li { position: relative; padding: 1.2rem 0 1.2rem 4rem; border-top: 1px solid rgba(251, 246, 236, .25); }
.swell b { position: absolute; left: 0; top: 1.1rem; display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--coral); color: var(--deep); font: 400 1.3rem/1 var(--serif); }
.swell h3 { font: 400 1.4rem/1.2 var(--serif); margin-bottom: .3rem; }
.swell p { color: #D5E3EA; max-width: 22rem; }
@media (min-width: 900px) {
  .swell { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; align-items: start; background: var(--wave-c) 0 0 / 240px 28px repeat-x; padding-top: 2rem; }
  .swell li { border-top: 0; padding: 0; }
  .swell b { position: static; margin-bottom: 1rem; }
  .swell li:nth-child(1) { margin-top: 5rem; }
  .swell li:nth-child(2) { margin-top: 2.5rem; }
}
.how-fig { margin-top: clamp(2.5rem, 6vw, 4rem); }
.how-fig img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: 50% 60%; }
@media (max-width: 699px) { .how-fig img { aspect-ratio: 3 / 2; } }

/* Story: slack water */
.story { padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.story-grid { display: grid; gap: 2.4rem; align-items: center; }
.story-copy h2 { margin-bottom: 1.3rem; }
.story-copy h2 em { display: block; }
.story-copy > p:not(.tide) { max-width: 34rem; }
.story-copy p + p { margin-top: 1rem; }
.story-fig { justify-self: center; max-width: 400px; padding: 10px 10px 34px; background: var(--shell); box-shadow: 0 10px 24px -14px rgba(20, 63, 87, .5); }
@media (min-width: 900px) { .story-grid { grid-template-columns: 1.3fr 1fr; gap: 5rem; } .story-fig { rotate: 2deg; } }

/* Visit: ebb. Details read like a printed tide table. */
.visit { padding-bottom: clamp(3.5rem, 7vw, 5.5rem); background: var(--sand-2); }
.visit .wave-rule { color: var(--sea); margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.visit-grid { display: grid; gap: 2.4rem; align-items: start; }
.visit h2 { margin-bottom: 1.6rem; }
.visit-fig { max-width: 380px; justify-self: center; }
.visit-fig img { border-radius: 200px 200px 4px 4px; }
.tide-table { border: 2px solid var(--sea); background: var(--shell); }
.tide-table > div { display: grid; grid-template-columns: 7.5rem 1fr; }
.tide-table > div + div { border-top: 1px solid var(--line); }
.tide-table dt { padding: .75rem .9rem; background: rgba(30, 90, 122, .08); font: 700 .74rem/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--sea); border-right: 1px solid var(--line); }
.tide-table dd { padding: .75rem .9rem; }
.tide-table a { color: var(--sea-dk); text-underline-offset: 3px; overflow-wrap: anywhere; }
@media (max-width: 440px) { .tide-table > div { grid-template-columns: 1fr; } .tide-table dt { border-right: 0; padding-bottom: .2rem; } .tide-table dd { padding-top: .3rem; } }
.faq { margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 56px; padding: .8rem 0; cursor: pointer; list-style: none; font: 400 1.15rem/1.3 var(--serif); color: var(--sea-dk); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--coral-dk); transition: rotate .25s; }
.faq details[open] summary .icon { rotate: 45deg; }
.faq details p { padding-bottom: 1.1rem; max-width: 36rem; }
.faq a { color: var(--coral-dk); }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1fr 1.25fr; gap: 5rem; } }

/* Footer: the sea, with a breaking crest on top */
.footer { background: var(--deep); color: var(--shell); padding-bottom: 2rem; }
.footer-crest { height: 26px; background: var(--wave-c) 0 50% / 120px 14px repeat-x, var(--sea); }
.footer-in { display: grid; gap: 2.4rem; padding: clamp(2.8rem, 6vw, 4rem) 0 2rem; }
.f-brand img { width: 72px; height: 72px; padding: 8px; background: var(--sand); border-radius: 50%; }
.f-name { margin-top: 1rem; font: 400 1.6rem/1.15 var(--serif); }
.f-brand p:last-child { margin-top: .4rem; color: #B9CEDA; max-width: 20rem; }
.f-table { border-collapse: collapse; font-size: .95rem; }
.f-table th { padding: .55rem 1.2rem .55rem 0; text-align: left; vertical-align: top; font: 700 .7rem/1.9 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coral); white-space: nowrap; }
.f-table td { padding: .55rem 0; border-bottom: 1px solid rgba(251, 246, 236, .14); }
.f-table th { border-bottom: 1px solid rgba(251, 246, 236, .14); }
.f-table a { overflow-wrap: anywhere; }
.f-links ul { display: grid; gap: .2rem; }
.f-links a { display: inline-block; padding: .35rem 0; text-decoration: none; border-bottom: 1px solid transparent; }
.f-links a:hover { border-color: var(--coral); }
.f-copy { padding-top: 1.4rem; border-top: 1px solid rgba(251, 246, 236, .14); font-size: .85rem; color: #B9CEDA; }
@media (min-width: 900px) { .footer-in { grid-template-columns: 1fr 1.5fr .8fr; gap: 3.5rem; } }

/* Cart: a woven beach bag with rope handles */
.cart-overlay { position: fixed; inset: 0; z-index: 150; background: rgba(15, 50, 70, .5); opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.cart-overlay.active { opacity: 1; visibility: visible; }
.cart-sidebar { position: fixed; right: 0; bottom: 0; top: 0; z-index: 160; width: min(420px, 100%); display: flex; flex-direction: column; padding-top: 46px;
  background: var(--shell); transform: translateY(105%); visibility: hidden; transition: transform .45s cubic-bezier(.2, .8, .2, 1), visibility .45s; }
.cart-sidebar.open { transform: none; visibility: visible; }
@media (min-width: 700px) { .cart-sidebar { top: 32px; right: 24px; border-radius: 6px 6px 0 0; } }
.bag-handles { position: absolute; top: 4px; left: 0; right: 0; height: 60px; pointer-events: none; }
.bag-handles::before, .bag-handles::after { content: ''; position: absolute; top: 0; width: 34%; height: 80px; border: 6px solid var(--straw-dk); border-bottom: 0; border-radius: 60px 60px 0 0; }
.bag-handles::before { left: 12%; }
.bag-handles::after { right: 12%; }
.cart-head { position: relative; z-index: 1; display: flex; justify-content: space-between; align-items: center; padding: 1rem 1.3rem;
  background: repeating-linear-gradient(45deg, var(--straw) 0 6px, var(--straw-dk) 6px 8px), var(--straw);
  border-radius: 6px 6px 0 0; }
.cart-head h2 { padding: .3rem .8rem; background: var(--shell); border-radius: 3px; font: 400 1.25rem/1.2 var(--serif); color: var(--sea-dk); }
.cart-close { display: grid; place-items: center; width: 44px; height: 44px; background: var(--shell); border: 0; border-radius: 50%; color: var(--sea-dk); }
.cart-items { flex: 1; overflow-y: auto; padding: .4rem 1.3rem; border-inline: 8px solid var(--straw); }
.cart-item { display: grid; grid-template-columns: 60px 1fr; gap: .8rem; padding: .9rem 0; border-bottom: 1px dashed var(--straw-dk); }
.cart-item img { width: 60px; height: 60px; object-fit: cover; border-radius: 4px; }
.cart-item h3 { font: 700 .95rem/1.3 var(--sans); }
.cart-item-row { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: .4rem; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--sea); border-radius: 999px; }
.qty button { width: 40px; height: 36px; }
.cart-item-sub { font-weight: 700; }
.cart-remove { margin-top: .2rem; padding: .3rem 0; background: none; border: 0; font-size: .82rem; color: var(--muted); text-decoration: underline; }
.cart-empty { padding: 3rem 0; text-align: center; }
.cart-empty p { font: 400 1.2rem/1.4 var(--serif); margin-bottom: 1.2rem; color: var(--sea-dk); }
.cart-foot { padding: 1rem 1.3rem 1.3rem; background: repeating-linear-gradient(-45deg, var(--straw) 0 6px, var(--straw-dk) 6px 8px), var(--straw); }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .9rem; padding: .7rem .9rem; background: var(--shell); border-radius: 4px; font-weight: 700; font-size: .9rem; }
.cart-total .price { margin: 0; font-size: 1.35rem; }
.cart-foot .btn { width: 100%; }
.cart-foot > p { margin-top: .8rem; padding: .5rem .7rem; background: var(--shell); border-radius: 4px; font-size: .82rem; text-align: center; }

/* Order page */
.order-page { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(4rem, 8vw, 6rem); }
.order-intro { max-width: 40rem; margin-bottom: 2.4rem; }
.order-intro h1 { font-size: clamp(2.3rem, 6vw, 3.6rem); margin-bottom: .9rem; }
.order { display: grid; gap: 2rem; align-items: start; }
.order-form { background: var(--shell); padding: 2rem clamp(1.1rem, 4vw, 2.2rem); border-top: 6px solid var(--sea); }
.order-form h2, .summary h2 { font-size: 1.7rem; margin-bottom: 1.4rem; }
.field { margin-bottom: 1.2rem; }
.field label { display: block; margin-bottom: .4rem; font-weight: 700; font-size: .92rem; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid rgba(30, 90, 122, .4); border-radius: 6px; }
.field textarea { resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 2px solid var(--coral-dk); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field-hint { margin-top: .35rem; font-size: .82rem; color: var(--muted); }
.field-error { margin-top: .35rem; font-size: .86rem; font-weight: 700; color: var(--error); }
.field-error:empty { display: none; }
.order-submit { width: 100%; margin-top: .6rem; }
.summary { padding: 2rem clamp(1.1rem, 4vw, 2rem); background: var(--shell); border: 8px solid var(--straw); }
.summary table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.summary td { padding: .8rem 0; border-bottom: 1px dashed var(--straw-dk); vertical-align: top; }
.summary td small { display: block; margin-top: .2rem; color: var(--muted); font-size: .84rem; }
.summary td:last-child { text-align: right; white-space: nowrap; padding-left: 1rem; }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-top: 1.2rem; font-weight: 700; }
.summary-total .price { margin: 0; font-size: 1.4rem; }
.summary-note { margin-top: 1.2rem; font-size: .9rem; }
.summary-note a { color: var(--coral-dk); text-underline-offset: 4px; }
.sent { max-width: 44rem; background: var(--shell); padding: 2.4rem clamp(1.1rem, 4vw, 2.4rem); border-top: 6px solid var(--coral); }
.sent h2 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: 1rem; }
.sent-copy { margin-top: 2rem; }
.sent-copy pre { margin-top: 1rem; padding: 1rem; background: var(--sand); white-space: pre-wrap; overflow-wrap: anywhere; font: .86rem/1.5 ui-monospace, Consolas, monospace; }
@media (min-width: 900px) { .order { grid-template-columns: 1.4fr 1fr; gap: 3rem; } .summary { position: sticky; top: 110px; } }

/* Legal pages */
.legal-head { padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.2rem, 5vw, 3rem); background: var(--sand-2); }
.legal-head h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); }
.legal-body { padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(4rem, 8vw, 6rem); }
.legal { max-width: 46rem; }
.legal > p:first-child { font-size: 1.12rem; }
.legal h2 { font-size: 1.5rem; margin: 2.2rem 0 .7rem; }
.legal ul { padding-left: 1.3rem; list-style: disc; margin-top: .6rem; }
.legal li + li { margin-top: .45rem; }
.legal a { color: var(--coral-dk); text-underline-offset: 3px; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; } }
