@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Jost:wght@400;500;600&display=swap');

:root {
  --ocean: #176B87;
  --ocean-dark: #123E4B;
  --sand: #F2E7D5;
  --coral: #D86C4F;
  --white: #F8F6EF;
  --ink: #17343D;
  --muted: #5D6D70;
  --line: rgba(23, 107, 135, .28);
  --serif: 'Instrument Serif', Georgia, serif;
  --sans: 'Jost', Verdana, sans-serif;
  --page: min(1180px, calc(100% - 2rem));
  --shadow: 0 18px 38px rgba(18, 62, 75, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  z-index: -2;
  width: 38rem;
  height: 38rem;
  border: 1px solid rgba(23, 107, 135, .12);
  border-radius: 48% 52% 62% 38%;
  top: -22rem;
  right: -12rem;
  transform: rotate(-18deg);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { display: block; }
::selection { background: var(--coral); color: #fff; }
:focus-visible { outline: 3px solid var(--coral); outline-offset: 4px; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .7rem 1rem;
  background: var(--ocean-dark);
  color: #fff;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.container { width: var(--page); margin-inline: auto; }
.site-main { min-height: 60vh; }
.eyebrow {
  margin: 0 0 .7rem;
  color: var(--coral);
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.display, h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: .98; }
h1 { font-size: clamp(3rem, 11vw, 8rem); letter-spacing: -.035em; margin: 0; }
h2 { font-size: clamp(2.45rem, 7vw, 5.2rem); letter-spacing: -.025em; margin: 0 0 1rem; }
h3 { font-size: clamp(1.55rem, 4vw, 2.25rem); margin: 0 0 .5rem; }
p { margin: 0 0 1rem; }
.lede { font-size: clamp(1.05rem, 2vw, 1.28rem); max-width: 42rem; color: var(--muted); }
.small { font-size: .88rem; }
.muted { color: var(--muted); }
.rule { height: 1px; background: var(--line); border: 0; margin: 2rem 0; }
.icon { width: 1.25rem; height: 1.25rem; stroke-width: 1.8; }

.announcement {
  min-height: 2.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: .35rem 1rem;
  background: var(--ocean-dark);
  color: #fff;
  font-size: .76rem;
  letter-spacing: .08em;
  text-align: center;
}
.site-header {
  position: relative;
  z-index: 20;
  background: rgba(248, 246, 239, .96);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: var(--page);
  min-height: 4.8rem;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .7rem;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
  color: var(--ocean-dark);
}
.brand strong { font-family: var(--serif); font-size: 1.45rem; font-weight: 400; letter-spacing: .01em; }
.brand small { margin-top: .3rem; font-size: .55rem; letter-spacing: .22em; text-transform: uppercase; }
.nav-toggle {
  justify-self: end;
  width: 2.7rem;
  height: 2.7rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.site-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  display: none;
  padding: 1.2rem 1rem 1.6rem;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.site-nav.is-open { display: grid; }
.site-nav a {
  padding: .75rem max(1rem, calc((100vw - 1180px) / 2));
  text-decoration: none;
  font-size: 1.15rem;
}
.site-nav a[aria-current='page'] { color: var(--coral); }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  justify-self: end;
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.cart-count {
  display: grid;
  place-items: center;
  min-width: 1.5rem;
  height: 1.5rem;
  padding-inline: .25rem;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: .72rem;
}

.btn, .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .75rem 1.2rem;
  border: 1px solid var(--ocean-dark);
  background: var(--ocean-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: .79rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translate(-2px, -2px); background: var(--coral); border-color: var(--coral); }
.btn--light { background: transparent; color: var(--ocean-dark); }
.btn--light:hover { color: #fff; }
.btn--coral { background: var(--coral); border-color: var(--coral); }
.text-link { min-height: auto; padding: 0 0 .2rem; color: var(--ocean-dark); background: none; border: 0; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--coral); }
.button-row { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

.hero { position: relative; padding: 2.5rem 0 4.2rem; overflow: hidden; }
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: 28rem;
  height: 8rem;
  border: 1px solid var(--line);
  border-left: 0;
  border-radius: 0 50% 48% 0;
  left: -6rem;
  bottom: 2.2rem;
  transform: rotate(5deg);
}
.hero-grid { display: grid; gap: 2.2rem; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 em { display: block; color: var(--ocean); font-weight: 400; }
.hero-copy .lede { margin-top: 1.3rem; max-width: 30rem; }
.hero-postcards { position: relative; min-height: 31rem; }
.postcard {
  position: absolute;
  background: #fff;
  padding: .55rem .55rem 2rem;
  box-shadow: var(--shadow);
}
.postcard img { width: 100%; height: 100%; object-fit: cover; }
.postcard--main { inset: 0 2rem 3.5rem 0; transform: rotate(-2deg); }
.postcard--main img { min-height: 25rem; }
.postcard--small { width: 42%; right: 0; bottom: 0; transform: rotate(5deg); padding-bottom: 1.6rem; }
.postcard--small img { aspect-ratio: 3 / 4; }
.postcard-label { position: absolute; bottom: .45rem; left: .7rem; color: var(--ocean-dark); font-family: var(--serif); font-size: .9rem; }
.seal {
  position: absolute;
  z-index: 3;
  right: 1.5rem;
  top: 3.3rem;
  width: 5.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: .65rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  transform: rotate(8deg);
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--sand);
}
.ticker-track {
  display: flex;
  width: 100%;
  justify-content: center;
  padding: .8rem 1rem;
  color: var(--ocean-dark);
  font-family: var(--serif);
  font-size: 1.2rem;
  text-align: center;
}
.ticker-track span { padding-inline: 1rem; }

.section { padding: 4.8rem 0; }
.section--sand { background: var(--sand); }
.section-heading { display: grid; gap: 1rem; margin-bottom: 2.5rem; }
.section-heading p { max-width: 34rem; }

.product-river { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem .8rem; }
.product-card { position: relative; }
.product-card:nth-child(3n+2) { margin-top: 2.6rem; }
.product-card a { text-decoration: none; }
.product-media { position: relative; overflow: hidden; background: var(--sand); }
.product-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .5s ease; }
.product-card:nth-child(4n+2) .product-media img { aspect-ratio: 4 / 5; }
.product-card:nth-child(4n+3) .product-media img { aspect-ratio: 5 / 7; }
.product-card:hover .product-media img { transform: scale(1.025); }
.product-tag {
  position: absolute;
  top: .55rem;
  left: .55rem;
  padding: .25rem .5rem;
  background: var(--white);
  color: var(--ocean-dark);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.product-info { padding: .75rem .15rem 0; }
.product-info h3 { font-size: clamp(1.3rem, 3.2vw, 1.8rem); line-height: 1.05; }
.product-meta { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.product-category { color: var(--muted); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.product-price { font-weight: 600; white-space: nowrap; }

.editorial-grid { display: grid; gap: 2.2rem; align-items: center; }
.editorial-image { position: relative; margin: 0 1.2rem; }
.editorial-image::before {
  content: '';
  position: absolute;
  inset: -1.1rem 1.2rem 1.1rem -1.1rem;
  border: 1px solid var(--ocean);
  z-index: 0;
}
.editorial-image img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.editorial-note { border-left: 2px solid var(--coral); padding-left: 1.2rem; }
.values-strip { display: grid; gap: 1px; background: var(--line); border-block: 1px solid var(--line); }
.value { background: var(--white); padding: 1.4rem; }
.value span { color: var(--coral); font-size: .72rem; letter-spacing: .14em; }
.value h3 { margin: .25rem 0; font-size: 1.45rem; }

.page-hero { padding: 3.2rem 0 2.7rem; position: relative; }
.page-hero .container { display: grid; gap: 1rem; }
.page-hero h1 { color: var(--ocean-dark); }
.page-hero .lede { margin-left: clamp(0rem, 14vw, 11rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: .35rem; color: var(--muted); font-size: .78rem; margin-bottom: 1rem; }
.breadcrumbs a { color: var(--ocean); }

.catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-block: 1rem;
  border-block: 1px solid var(--line);
}
.filter-group { display: flex; align-items: center; gap: .7rem; }
.filter-group label { font-size: .72rem; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.filter-group select { min-width: 11rem; }
.result-count { color: var(--muted); font-size: .85rem; }

.product-detail { padding: 2rem 0 5rem; }
.product-detail-grid { display: grid; gap: 2rem; }
.product-gallery { position: relative; padding-right: 1.1rem; }
.product-gallery::after { content: ''; position: absolute; z-index: -1; inset: 1rem 0 -1rem 1rem; background: var(--sand); }
.product-gallery img { width: 100%; max-height: 43rem; aspect-ratio: 4 / 5; object-fit: cover; }
.product-copy { padding-top: 1rem; }
.product-copy h1 { font-size: clamp(3rem, 8vw, 6rem); }
.product-copy .price { color: var(--ocean); font-size: 1.35rem; font-weight: 600; margin: 1rem 0; }
.product-description { max-width: 38rem; }
.product-points { list-style: none; margin: 1.4rem 0; padding: 0; border-top: 1px solid var(--line); }
.product-points li { padding: .75rem 0; border-bottom: 1px solid var(--line); }
.purchase-form { display: grid; grid-template-columns: 1fr 6rem; gap: .8rem; max-width: 31rem; margin-top: 1.5rem; }
.purchase-form .btn { grid-column: 1 / -1; }
.field-wrap { display: grid; gap: .35rem; }
.field-wrap label, .form-field label { font-size: .74rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }

.field, select, textarea {
  width: 100%;
  min-height: 3rem;
  border: 1px solid rgba(18, 62, 75, .38);
  border-radius: 0;
  background: #fff;
  color: var(--ink);
  padding: .72rem .85rem;
}
textarea { min-height: 9rem; resize: vertical; }
.field::placeholder, textarea::placeholder { color: #738387; }
.form-grid { display: grid; gap: 1rem; }
.form-field { display: grid; gap: .35rem; }
.form-field.full, .full { grid-column: 1 / -1; }
.form-hint { color: var(--muted); font-size: .78rem; margin: 0; }
.checkbox-line { display: grid; grid-template-columns: auto 1fr; gap: .6rem; align-items: start; font-size: .78rem; line-height: 1.45; }
.checkbox-line input { width: 1rem; height: 1rem; margin-top: .18rem; accent-color: var(--ocean); }
.form-feedback { display: none; grid-column: 1 / -1; padding: .8rem 1rem; border-left: 3px solid var(--ocean); background: #e5f1f2; color: var(--ocean-dark); }
.form-feedback.is-visible { display: block; }

.cart-layout, .checkout-layout, .contact-layout { display: grid; gap: 2.5rem; align-items: start; }
.cart-list { display: grid; }
.cart-item { display: grid; grid-template-columns: 6rem 1fr; gap: 1rem; padding: 1.2rem 0; border-top: 1px solid var(--line); }
.cart-item:last-child { border-bottom: 1px solid var(--line); }
.cart-thumb { width: 6rem; aspect-ratio: 3 / 4; object-fit: cover; }
.cart-info h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.cart-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: .7rem; }
.qty-input { width: 4.5rem; min-height: 2.5rem; }
.remove-btn { background: none; border: 0; padding: .3rem 0; color: var(--coral); text-decoration: underline; cursor: pointer; }
.order-summary { position: sticky; top: 1rem; background: var(--sand); padding: 1.4rem; border-top: 4px solid var(--ocean); }
.order-summary h2 { font-size: 2.2rem; }
.summary-line { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.summary-line.total { border-top: 1px solid var(--ocean); margin-top: .5rem; padding-top: 1rem; font-weight: 600; }
.summary-products { border-bottom: 1px solid var(--line); margin-bottom: .5rem; }
.summary-product { display: grid; grid-template-columns: 1fr auto; gap: .7rem; padding: .55rem 0; font-size: .85rem; }
.empty-state { padding: 3rem 0; border-block: 1px solid var(--line); }
.empty-state h2 { font-size: 2.4rem; }
.checkout-form { display: grid; gap: 2.2rem; }
.fieldset { border: 0; padding: 0; margin: 0; }
.fieldset legend { width: 100%; margin-bottom: 1rem; font-family: var(--serif); font-size: 2rem; border-bottom: 1px solid var(--line); padding-bottom: .6rem; }
.radio-list { display: grid; gap: .7rem; }
.radio-option { display: grid; grid-template-columns: auto 1fr; gap: .7rem; padding: .9rem; border: 1px solid var(--line); background: #fff; }
.radio-option input { margin-top: .35rem; accent-color: var(--ocean); }
.radio-option strong { display: block; }
.radio-option span { display: block; color: var(--muted); font-size: .82rem; }
.demo-note { padding: 1rem; border: 1px solid var(--coral); color: var(--ocean-dark); background: #fff; }

.contact-aside { background: var(--ocean-dark); color: #fff; padding: 1.5rem; }
.contact-aside h2 { font-size: 2.5rem; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.contact-list li { padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.22); }
.contact-list small { display: block; opacity: .72; letter-spacing: .1em; text-transform: uppercase; }
.contact-list a { overflow-wrap: anywhere; }

.about-intro { display: grid; gap: 2rem; align-items: center; }
.about-intro img { width: 100%; aspect-ratio: 5 / 6; object-fit: cover; transform: rotate(-1.5deg); box-shadow: var(--shadow); }
.about-quote { font-family: var(--serif); font-size: clamp(2rem, 5vw, 4rem); line-height: 1.05; color: var(--ocean); }
.fact-band { margin-top: 3rem; display: grid; gap: 1px; background: var(--line); }
.fact { background: var(--sand); padding: 1.3rem; }
.fact strong { display: block; color: var(--coral); font-size: .7rem; letter-spacing: .13em; text-transform: uppercase; }

.legal-layout { display: grid; gap: 2rem; align-items: start; }
.legal-nav { padding: 1rem 0; border-block: 1px solid var(--line); }
.legal-nav strong { display: block; margin-bottom: .5rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.legal-nav a { display: block; padding: .3rem 0; color: var(--ocean); }
.legal-content { max-width: 48rem; }
.legal-content section { scroll-margin-top: 1rem; padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid var(--line); }
.legal-content h2 { font-size: clamp(2rem, 5vw, 3rem); }
.legal-content h3 { font-size: 1.65rem; margin-top: 1.3rem; }
.legal-content ul, .legal-content ol { padding-left: 1.2rem; }
.legal-content a { color: var(--ocean); }

.site-footer { margin-top: 3rem; background: var(--ocean-dark); color: #fff; }
.newsletter-wrap { padding: 3.4rem 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.newsletter-grid { display: grid; gap: 1.6rem; }
.newsletter-grid h2 { font-size: clamp(2.6rem, 8vw, 5rem); max-width: 39rem; }
.newsletter-grid .eyebrow { color: #ef9b82; }
.newsletter-grid form { display: grid; grid-template-columns: 1fr auto; gap: .8rem; align-content: start; }
.newsletter-grid .field { background: transparent; border-color: rgba(255,255,255,.46); color: #fff; }
.newsletter-grid .field::placeholder { color: rgba(255,255,255,.7); }
.newsletter-grid .btn { background: var(--coral); border-color: var(--coral); }
.newsletter-grid .checkbox-line a { color: #fff; }
.newsletter-grid .form-feedback { background: #fff; color: var(--ocean-dark); }
.footer-main { display: grid; gap: 2rem; padding: 2.8rem 0; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand p { max-width: 25rem; color: rgba(255,255,255,.72); }
.footer-column h3 { font-family: var(--sans); font-size: .7rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #ef9b82; }
.footer-column a, .footer-column span { display: block; margin: .35rem 0; color: rgba(255,255,255,.84); text-decoration: none; overflow-wrap: anywhere; }
.footer-column a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { padding: 1rem 0; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.65); font-size: .72rem; }

.toast {
  position: fixed;
  z-index: 80;
  right: 1rem;
  bottom: 1rem;
  max-width: min(22rem, calc(100% - 2rem));
  padding: 1rem 1.2rem;
  background: var(--ocean-dark);
  color: #fff;
  border-left: 4px solid var(--coral);
  box-shadow: var(--shadow);
  transform: translateY(150%);
  transition: transform .25s ease;
}
.toast.is-visible { transform: translateY(0); }

@media (min-width: 48rem) {
  :root { --page: min(1180px, calc(100% - 4rem)); }
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-toggle { display: none; }
  .site-nav { position: static; display: flex; justify-content: center; gap: 1.5rem; padding: 0; background: transparent; border: 0; }
  .site-nav a { padding: .5rem 0; font-size: .78rem; font-weight: 600; letter-spacing: .11em; text-transform: uppercase; }
  .hero { padding: 4.2rem 0 6.5rem; }
  .hero-grid { grid-template-columns: repeat(12, 1fr); align-items: center; }
  .hero-copy { grid-column: 1 / 8; }
  .hero-postcards { grid-column: 7 / 13; grid-row: 1; min-height: 37rem; }
  .hero-copy .lede { margin-left: 2.4rem; }
  .section-heading { grid-template-columns: 7fr 4fr; align-items: end; }
  .section-heading p { justify-self: end; }
  .product-river { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 3.5rem 1.2rem; }
  .product-card:nth-child(4n+2), .product-card:nth-child(4n+4) { margin-top: 4rem; }
  .product-card:nth-child(4n+3) { margin-top: 1.2rem; }
  .editorial-grid { grid-template-columns: 6fr 5fr; gap: 8%; }
  .values-strip { grid-template-columns: repeat(3, 1fr); }
  .page-hero { padding: 4.8rem 0 3.8rem; }
  .page-hero h1 { max-width: 10ch; }
  .product-detail-grid { grid-template-columns: 6fr 5fr; gap: 7%; }
  .product-copy { position: sticky; top: 2rem; align-self: start; }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout { grid-template-columns: minmax(0, 7fr) minmax(17rem, 4fr); gap: 7%; }
  .checkout-layout { grid-template-columns: minmax(0, 7fr) minmax(19rem, 4fr); gap: 6%; }
  .contact-layout { grid-template-columns: minmax(0, 7fr) minmax(17rem, 4fr); gap: 7%; }
  .about-intro { grid-template-columns: 5fr 6fr; gap: 8%; }
  .fact-band { grid-template-columns: repeat(3, 1fr); }
  .legal-layout { grid-template-columns: 15rem 1fr; gap: 4rem; }
  .legal-nav { position: sticky; top: 1rem; }
  .newsletter-grid { grid-template-columns: 5fr 6fr; gap: 8%; align-items: start; }
  .footer-main { grid-template-columns: 2fr 1fr 1fr; }
}

@media (min-width: 72rem) {
  .hero-copy h1 { margin-left: -1rem; }
  .product-river { gap-inline: 1.8rem; }
  .product-card:nth-child(4n+1) { transform: translateX(-.7rem); }
  .product-card:nth-child(4n+4) { transform: translateX(.7rem); }
}

@media (max-width: 30rem) {
  .brand strong { font-size: 1.2rem; }
  .brand small { display: none; }
  .cart-link > span:not(.cart-count) { display: none; }
  .hero-postcards { min-height: 27rem; }
  .postcard--main img { min-height: 22rem; }
  .newsletter-grid form { grid-template-columns: 1fr; }
  .newsletter-grid form .btn { width: 100%; }
  .purchase-form { grid-template-columns: 1fr 5rem; }
}

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