/* HOMEBOYS JEWELER — quiet editorial layout, native links, real photography. */
:root {
  --cream: #f8f6f1;
  --paper: #fffefa;
  --ink: #252522;
  --muted: #67655e;
  --gold: #b29b72;
  --line: #dedbd2;
  --soft: #efede7;
  --max-width: 1280px;
  --gutter: 32px;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 16px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-color: var(--gold); }
button, input, select, textarea { font: inherit; color: inherit; }
button, select { cursor: pointer; }
button { border-radius: 0; }
button:disabled { cursor: not-allowed; opacity: .55; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #816940; outline-offset: 4px; }
h1, h2, h3, h4 { margin: 0 0 18px; font-family: var(--serif); font-weight: 400; line-height: 1.3; }
h1 { font-size: 28px; }
h2 { font-size: 26px; }
h3 { font-size: 21px; }
h4 { font-size: 19px; }
p { margin: 0 0 20px; }
ul, ol { padding-left: 22px; }
address { font-style: normal; }
main { min-height: 48vh; }
.container { width: min(var(--max-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: 64px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 30px; }
.section-head h1, .section-head h2 { margin-bottom: 0; }
.section-head p { max-width: 560px; margin-bottom: 0; }
.eyebrow { margin: 0 0 12px; font: 12px/1.5 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.intro { max-width: 680px; margin-bottom: 32px; }
.content-narrow { max-width: 780px; margin-inline: auto; }
.subtle, .muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 100; padding: 10px 18px; color: var(--ink); background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

/* Fixed menu vocabulary; Bag is deliberately separate from the main nav. */
.site-header { background: var(--cream); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-inner { min-height: 100px; display: grid; grid-template-columns: 230px 1fr auto; align-items: center; gap: 28px; }
.brand { display: block; width: 230px; text-decoration: none; }
.brand img { width: 230px; height: auto; }
.primary-nav ul { display: flex; align-items: center; justify-content: center; gap: 26px; list-style: none; padding: 0; margin: 0; }
.primary-nav a { font-size: 15px; white-space: nowrap; padding-block: 10px; text-decoration: none; border-bottom: 1px solid transparent; }
.primary-nav a:hover, .primary-nav a[aria-current='page'] { border-color: var(--gold); }
.bag-link { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; text-decoration: none; white-space: nowrap; padding-block: 10px; }
.bag-count { display: inline-grid; place-items: center; min-width: 23px; min-height: 23px; border: 1px solid var(--line); border-radius: 50%; padding: 1px 5px; font-size: 12px; }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; background: transparent; }
.nav-toggle-lines, .nav-toggle-lines::before { width: 20px; height: 1px; display: block; background: var(--ink); transition: transform 150ms ease; }
.nav-toggle-lines { transform: translateY(-3px); }
.nav-toggle-lines::before { content: ''; transform: translateY(6px); }
.nav-open .nav-toggle-lines { transform: rotate(45deg); }
.nav-open .nav-toggle-lines::before { transform: rotate(-90deg); }

/* The photo alone supplies the hero background. No masks or overlays. */
.hero { position: relative; isolation: isolate; width: 100%; min-height: 500px; height: min(70vh, 760px); display: flex; align-items: center; background: var(--soft); }
.hero-image { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-copy { max-width: 450px; margin-left: max(var(--gutter), calc((100% - var(--max-width)) / 2)); margin-right: var(--gutter); padding-block: 48px; }
.hero h1 { font-size: 30px; line-height: 1.25; margin-bottom: 18px; }
.hero p { font-size: 16px; max-width: 360px; margin-bottom: 26px; }
.hero-light { color: var(--ink); }
.hero-dark { color: #fffefa; }
.hero-dark h1, .hero-dark p { text-shadow: 0 1px 2px rgb(0 0 0 / 18%); }
.hero-dark .button-outline { color: #fffefa; border-color: #fffefa; }
.hero-dark .button-outline:hover { color: var(--ink); background: #fffefa; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 23px; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 15px/1.4 var(--sans); text-align: center; text-decoration: none; transition: background-color 150ms ease, color 150ms ease, border-color 150ms ease; }
.button:hover { background: #45433b; border-color: #45433b; }
.button-outline { background: transparent; color: var(--ink); }
.button-outline:hover { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.button-small { min-height: 38px; padding: 8px 15px; font-size: 14px; }
.text-link { display: inline-block; font-size: 15px; text-decoration: none; border-bottom: 1px solid var(--ink); padding-bottom: 2px; }
.text-link:hover { border-color: var(--gold); }

/* Product imagery keeps the complete piece in a consistent 4:5 frame. */
.product-grid, .related-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 22px; }
.product-card { min-width: 0; }
.product-card-image { display: block; position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper); text-decoration: none; }
.product-card-image img { width: 100%; height: 100%; object-fit: contain; transition: opacity 160ms ease; }
.product-card-image .secondary-image { position: absolute; inset: 0; opacity: 0; }
@media (hover: hover) and (pointer: fine) {
  .product-card-image:hover .secondary-image { opacity: 1; }
}
.product-card-image:focus-visible .secondary-image { opacity: 1; }
.product-card-info { padding-top: 14px; }
.product-card-info h2, .product-card h2 { font-size: 20px; line-height: 1.35; margin: 0 0 7px; overflow-wrap: anywhere; }
.product-card-info h2 a, .product-card h2 a { text-decoration: none; }
.product-card-info h2 a:hover { text-decoration: underline; }
.price, .product-card-info p.price { margin: 0; font-size: 15px; font-variant-numeric: tabular-nums; }
.product-card-info .subtle { font-size: 14px; margin-block: 6px 0; }
.category-nav { display: flex; flex-wrap: wrap; gap: 12px 26px; padding-block: 18px; margin-bottom: 28px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.category-nav a { text-decoration: none; font-size: 15px; }
.category-nav a[aria-current='page'], .category-nav a:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.category-card { display: block; text-decoration: none; }
.category-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: contain; background: var(--paper); }
.category-card h2, .category-card h3 { margin: 16px 0 0; font-size: 23px; }
.category-card:hover h2, .category-card:hover h3 { text-decoration: underline; text-decoration-color: var(--gold); }
.filter-bar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.filter-bar p { margin: 0; }
.filter-bar select { max-width: 100%; padding: 8px 32px 8px 12px; border: 1px solid var(--line); background: var(--paper); }
.pagination { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.pagination a, .pagination span { display: inline-grid; place-items: center; min-width: 40px; min-height: 40px; padding: 6px 12px; border: 1px solid var(--line); text-decoration: none; font-size: 15px; }
.pagination [aria-current='page'] { color: var(--paper); background: var(--ink); border-color: var(--ink); }

/* Editorial and journal pages use measured text columns beside photography. */
.editorial-split { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; }
.editorial-split > img, .editorial-split > a > img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.story-copy { max-width: 500px; }
.story-copy p:last-child { margin-bottom: 0; }
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 26px; }
.journal-card { min-width: 0; }
.journal-card > a { display: block; text-decoration: none; }
.journal-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--paper); }
.journal-card h2, .journal-card h3 { font-size: 24px; margin: 16px 0 10px; }
.journal-card h2 a { text-decoration: none; }
.journal-card p { margin-bottom: 12px; font-size: 15px; }
.article { padding-block: 48px 64px; }
.article > header { max-width: 780px; margin: 0 auto 32px; }
.article h1 { max-width: 760px; }
.article-cover { width: 100%; max-height: 660px; aspect-ratio: 16 / 9; object-fit: cover; margin-block: 30px 40px; }
.article-meta { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.article-body { max-width: 780px; margin-inline: auto; }
.article-body h2 { font-size: 25px; margin-top: 38px; }
.article-body h3 { margin-top: 28px; }
.article-body p, .article-body li { font-size: 16px; line-height: 1.8; }
.article-body img { width: 100%; max-height: 620px; object-fit: contain; margin-block: 28px; background: var(--paper); }
.article-body figure { margin: 30px 0; }
.article-body figcaption { font-size: 14px; color: var(--muted); margin-top: 10px; }
.article-body blockquote { border-left: 2px solid var(--gold); margin: 28px 0; padding-left: 24px; }
.related-grid .journal-card h2, .related-grid .journal-card h3 { font-size: 21px; }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; padding-block: 24px; overflow-wrap: anywhere; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: '/'; margin-right: 8px; color: #918d82; }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Product detail: generous gallery, narrower buying information. */
.product-detail { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); align-items: start; gap: 64px; padding-bottom: 64px; }
.product-gallery, .product-summary { min-width: 0; }
.main-product-image { width: 100%; aspect-ratio: 4 / 5; background: var(--paper); object-fit: contain; }
.main-product-image img { width: 100%; height: 100%; object-fit: contain; }
.thumbnail-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; list-style: none; padding: 0; }
.thumbnail { display: block; width: 72px; aspect-ratio: 4 / 5; padding: 3px; background: var(--paper); border: 1px solid var(--line); }
.thumbnail img { width: 100%; height: 100%; object-fit: contain; }
.thumbnail[aria-current], .thumbnail.active, .thumbnail.is-active { border-color: var(--ink); }
.gallery-controls { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; font-size: 14px; }
.gallery-controls a { padding-block: 6px; }
.product-summary { padding-top: 8px; }
.product-title { font-size: 21px; margin-bottom: 14px; }
.product-price { font-size: 20px; margin-bottom: 22px; font-variant-numeric: tabular-nums; }
.variant-select { display: block; width: 100%; margin-bottom: 18px; }
.variant-select label { display: block; font-size: 15px; margin-bottom: 8px; }
.variant-select select, select.variant-select { width: 100%; min-height: 46px; padding: 10px 32px 10px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 0; }
.quantity-control { display: inline-flex; align-items: stretch; min-height: 46px; border: 1px solid var(--line); background: var(--paper); margin-bottom: 18px; }
.quantity-control button { width: 42px; background: transparent; border: 0; }
.quantity-control input { width: 54px; min-width: 0; text-align: center; background: transparent; border: 0; border-inline: 1px solid var(--line); padding: 8px 2px; appearance: textfield; }
.quantity-control input::-webkit-inner-spin-button, .quantity-control input::-webkit-outer-spin-button { appearance: none; margin: 0; }
.product-actions { display: grid; gap: 12px; margin-bottom: 26px; }
.product-actions .button { width: 100%; }
.product-description { border-top: 1px solid var(--line); padding-top: 24px; }
.product-description h2 { font-size: 23px; }
.details-list { margin: 24px 0; border-top: 1px solid var(--line); }
.details-list > div { display: grid; grid-template-columns: minmax(100px, .8fr) 1.2fr; gap: 16px; padding-block: 12px; border-bottom: 1px solid var(--line); }
.details-list dt { font-weight: 500; }
.details-list dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; }
.notice { padding: 16px 18px; border: 1px solid var(--line); border-left: 2px solid var(--gold); background: var(--soft); font-size: 15px; margin-block: 20px; }
.notice p:last-child { margin-bottom: 0; }

/* Simple, honest contact and email-order forms. */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field.full, .field-full, .field-wide, .form-grid > .notice, .form-grid > .form-status, .form-grid > .button { grid-column: 1 / -1; }
.field label { font-size: 15px; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 11px 12px; border: 1px solid var(--line); background: var(--paper); border-radius: 0; }
.field textarea { min-height: 150px; resize: vertical; }
.field input[type='checkbox'], .field input[type='radio'] { width: 18px; min-height: 18px; accent-color: var(--ink); }
.field small { font-size: 13px; color: var(--muted); }
.form-status { font-size: 15px; margin-top: 16px; overflow-wrap: anywhere; }
.form-status:empty { display: none; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; align-items: start; gap: 64px; }
.contact-grid address { margin-bottom: 22px; }
.contact-grid a[href^='mailto:'] { overflow-wrap: anywhere; }
.process-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-block: 32px; }
.process-card { padding-block: 24px; border-top: 1px solid var(--gold); }
.process-card h2, .process-card h3 { font-size: 23px; }
.process-card p:last-child { margin-bottom: 0; }
.policy { max-width: 780px; margin-inline: auto; }
.policy h2 { font-size: 25px; margin-top: 36px; }
.policy h3 { margin-top: 26px; }
.policy p, .policy li { overflow-wrap: anywhere; }
.policy table, .article-body table { border-collapse: collapse; width: 100%; margin-block: 24px; font-size: 15px; }
.policy th, .policy td, .article-body th, .article-body td { border-bottom: 1px solid var(--line); padding: 12px; text-align: left; }

/* Bag and email request summary. No simulated payment UI. */
.checkout-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); align-items: start; gap: 48px; }
.bag-items { min-width: 0; border-top: 1px solid var(--line); }
.bag-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 22px; align-items: start; padding-block: 24px; border-bottom: 1px solid var(--line); }
.bag-item img { width: 96px; height: 120px; object-fit: contain; background: var(--paper); }
.bag-item h2, .bag-item h3 { font-size: 20px; margin-bottom: 8px; }
.bag-item h2 a, .bag-item h3 a { text-decoration: none; }
.bag-item p { margin-bottom: 10px; font-size: 15px; }
.bag-item .quantity-control { min-height: 38px; margin-bottom: 8px; }
.bag-item .quantity-control button { width: 34px; }
.bag-item .quantity-control input { width: 42px; }
.bag-item button.text-link { border: 0; border-bottom: 1px solid var(--ink); padding: 0; background: transparent; font-size: 14px; }
.bag-summary { padding: 28px; background: var(--soft); border: 1px solid var(--line); }
.bag-summary h2 { font-size: 24px; }
.bag-summary .button { width: 100%; margin-top: 12px; }
.bag-summary dl { margin-block: 20px; }
.bag-summary dl > div { display: flex; justify-content: space-between; gap: 18px; padding-block: 8px; }
.bag-summary dd { margin: 0; font-variant-numeric: tabular-nums; }
.bag-summary p:last-child { margin-bottom: 0; }
.empty-state { padding: 64px 24px; text-align: center; max-width: 650px; margin-inline: auto; }
.empty-state h1, .empty-state h2 { font-size: 27px; }

.site-footer { border-top: 1px solid var(--line); padding-block: 48px 52px; margin-top: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: 48px; }
.footer-brand { display: inline-block; font: 17px/1.5 var(--serif); letter-spacing: .1em; text-decoration: none; margin-bottom: 18px; }
.footer-company { font-size: 15px; overflow-wrap: anywhere; }
.company-name { font-size: 13px; letter-spacing: .035em; margin-bottom: 10px; }
.footer-company address { color: var(--muted); margin-bottom: 15px; }
.footer-company > a:not(.footer-brand) { display: block; width: fit-content; margin-top: 7px; text-decoration: none; }
.footer-company > a:hover { text-decoration: underline; }
.footer-nav h2 { font: 15px/1.5 var(--sans); font-weight: 500; margin-bottom: 16px; }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 8px; }
.footer-nav a { font-size: 15px; color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--ink); text-decoration: underline; }

@media (max-width: 1100px) {
  :root { --gutter: 28px; }
  .header-inner { grid-template-columns: 200px 1fr auto; gap: 18px; }
  .brand, .brand img { width: 200px; }
  .primary-nav ul { gap: 18px; }
  .product-detail, .editorial-split, .contact-grid { gap: 38px; }
  .checkout-layout { gap: 32px; }
}

@media (max-width: 960px) {
  .header-inner { min-height: 80px; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 14px; }
  .brand { grid-column: 2; grid-row: 1; justify-self: center; width: 200px; max-width: 100%; }
  .brand img { width: 100%; }
  .bag-link { grid-column: 3; grid-row: 1; }
  .nav-toggle { display: inline-flex; grid-column: 1; grid-row: 1; }
  .site-header:not(.nav-ready) .nav-toggle { visibility: hidden; }
  .primary-nav { grid-column: 1 / -1; grid-row: 2; padding: 0 0 20px; }
  .primary-nav ul { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav-ready:not(.nav-open) .primary-nav { display: none; }
  .hero { min-height: 460px; height: 64vh; max-height: 650px; }
  .product-detail { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; }
  .product-grid, .related-grid { gap: 28px 18px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; gap: 26px; }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; }
  body { font-size: 15px; line-height: 1.65; }
  h1 { font-size: 26px; }
  h2 { font-size: 24px; }
  h3 { font-size: 21px; }
  .section { padding-block: 40px; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .intro { margin-bottom: 26px; }
  .header-inner { min-height: 76px; gap: 8px; }
  .brand { width: 174px; }
  .bag-link { font-size: 14px; gap: 5px; }
  .bag-count { min-width: 21px; min-height: 21px; font-size: 11px; }
  .hero { min-height: 470px; height: 68vh; max-height: 620px; }
  .hero-copy { max-width: 290px; padding-block: 34px; }
  .hero h1 { font-size: 24px; }
  .hero p { font-size: 15px; max-width: 270px; }
  .hero .button { padding-inline: 20px; }
  .product-grid, .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 14px; }
  .product-card-info { padding-top: 12px; }
  .product-card-info h2, .product-card h2 { font-size: 19px; margin-bottom: 6px; }
  .price, .product-card-info p.price { font-size: 15px; }
  .category-nav { gap: 12px 20px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .category-card h2, .category-card h3 { font-size: 22px; margin-top: 12px; }
  .editorial-split, .contact-grid, .checkout-layout, .product-detail { grid-template-columns: 1fr; gap: 30px; }
  .story-copy { max-width: none; }
  .editorial-split > img, .editorial-split > a > img { max-height: 580px; }
  .journal-grid { grid-template-columns: 1fr; gap: 32px; }
  .journal-card h2, .journal-card h3 { font-size: 24px; }
  .related-grid .journal-card h2, .related-grid .journal-card h3 { font-size: 21px; }
  .article { padding-block: 32px 40px; }
  .article-cover { aspect-ratio: 4 / 3; margin-block: 24px 30px; }
  .article-body h2 { font-size: 24px; margin-top: 30px; }
  .article-body p, .article-body li { font-size: 15px; line-height: 1.8; }
  .breadcrumbs { font-size: 13px; padding-block: 18px; }
  .product-detail { padding-bottom: 40px; }
  .product-summary { padding-top: 0; }
  .product-title { font-size: 21px; }
  .product-price { font-size: 20px; }
  .thumbnail { width: 62px; }
  .thumbnail-list { gap: 8px; }
  .form-grid { grid-template-columns: 1fr; gap: 18px; }
  .field input, .field select, .field textarea { font-size: 16px; }
  .process-grid { grid-template-columns: 1fr; gap: 12px; }
  .process-card { padding-block: 20px 8px; }
  .policy h2 { font-size: 24px; }
  .bag-item { grid-template-columns: 76px minmax(0, 1fr); gap: 16px; padding-block: 20px; }
  .bag-item img { width: 76px; height: 95px; }
  .bag-item > :last-child:not(:nth-child(2)) { grid-column: 2; }
  .bag-item h2, .bag-item h3 { font-size: 19px; }
  .bag-summary { padding: 22px; }
  .empty-state { padding-block: 48px; }
  .site-footer { padding-block: 36px 40px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 22px; }
  .footer-company { grid-column: 1 / -1; }
}

@media (max-width: 380px) {
  :root { --gutter: 16px; }
  .brand { width: 148px; }
  .header-inner { gap: 4px; }
  .product-grid, .related-grid { gap: 24px 12px; }
  .footer-grid { column-gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; scroll-behavior: auto !important; }
}

/* Product photography is not covered by a gradient or a color wash. */
.home-hero .hero-image { object-position: 65% 45%; }
.home-hero .hero-copy { max-width: 380px; color: #332a25; }
.currency { font-size: 14px; }
.quantity-label { align-items: center; padding-left: 14px; gap: 14px; }
.share-link { background: transparent; border: 0; border-bottom: 1px solid var(--ink); padding: 0 0 2px; }
.collection-search { display: flex; align-items: center; gap: 12px; font-size: 14px; }
.collection-search input { max-width: 240px; padding: 10px 12px; border: 1px solid var(--line); background: var(--paper); }
.inquiry-preview { white-space: pre-wrap; overflow-wrap: anywhere; font: 14px/1.6 var(--sans); padding: 16px; background: var(--soft); border: 1px solid var(--line); }
.consent label { display: block; line-height: 1.65; }
.consent input { display: inline-block; vertical-align: middle; margin-right: 7px; }
.collection-section { padding-top: 12px; }
@media (max-width: 700px) {
  .home-hero .hero-copy { width: 44%; max-width: 230px; margin-left: 20px; margin-right: 0; }
  .home-hero .hero-image { object-position: 59% 45%; }
  .home-hero .hero-copy p { max-width: 190px; }
  .home-hero .button { font-size: 13px; padding: 10px 12px; }
  .collection-search { width: 100%; }
  .collection-search input { flex: 1; max-width: none; }
}

.home-hero { height: auto; min-height: 0; max-height: none; aspect-ratio: 3 / 2; }
.home-hero .hero-image { object-fit: contain; object-position: center; }
.home-hero h1 { font-size: 28px; }
@media (max-width: 700px) {
  .home-hero .hero-copy { width: 36%; margin-left: 18px; padding-block: 16px; }
  .home-hero h1 { font-size: 22px; margin-bottom: 10px; }
  .home-hero p { font-size: 13px; line-height: 1.5; margin-bottom: 14px; }
  .home-hero .button { font-size: 12px; min-height: 38px; padding: 8px 10px; max-width: 100%; }
}

/* Product and editorial photographs: matching 800-by-800 square assets. */
.home-hero,
.product-card-image,
.category-card img,
.editorial-split > img,
.editorial-split > a > img,
.journal-card img,
.article-cover,
.main-product-image,
.thumbnail { aspect-ratio: 1 / 1; }
.home-hero .hero-image,
.editorial-split > img,
.editorial-split > a > img,
.journal-card img,
.article-cover { object-fit: contain; object-position: center; }
.article-cover { height: auto; max-height: none; max-width: 800px; margin-inline: auto; }
.article-body img { max-height: none; aspect-ratio: 1 / 1; }
.editorial-split > img,
.editorial-split > a > img { max-height: none; }
.bag-item img { height: 96px; aspect-ratio: 1 / 1; }
.home-hero .hero-copy { align-self: flex-start; padding-top: 7%; max-width: 330px; }
@media (max-width: 700px) {
  .bag-item img { height: 76px; }
  .home-hero .hero-copy { width: 40%; max-width: 240px; padding-top: 5%; }
}

/* Real product-page navigation with a restrained, visible transition. */
main { transition: opacity 160ms ease, transform 160ms ease; }
.product-navigating main { opacity: 0; transform: translateY(-4px); }
.product-detail { animation: product-arrival 280ms ease-out both; }
@keyframes product-arrival {
  from { opacity: 0; transform: translateY(7px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-zoom-trigger { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: transparent; cursor: zoom-in; }
.zoom-hint { position: absolute; right: 14px; bottom: 14px; padding: 5px 10px; background: var(--paper); color: var(--ink); font: 12px/1.5 var(--sans); border: 1px solid var(--line); }
.image-viewer-open { overflow: hidden; }
.image-viewer { width: min(1100px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line); color: var(--ink); background: var(--paper); overflow: hidden; }
.image-viewer::backdrop { background: rgb(25 24 21 / 65%); }
.image-viewer[open] { display: flex; flex-direction: column; animation: image-viewer-arrival 180ms ease-out; }
@keyframes image-viewer-arrival { from { opacity: 0; transform: scale(.98); } to { opacity: 1; transform: scale(1); } }
.image-viewer-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 20px; border-bottom: 1px solid var(--line); flex-shrink: 0; }
.image-viewer-heading h2 { margin: 0; font-size: 19px; }
.image-viewer-close { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); background: var(--paper); white-space: nowrap; font-size: 14px; }
.image-viewer-stage { overflow: auto; min-height: 0; max-height: calc(100dvh - 100px); background: #f8f7f3; overscroll-behavior: contain; }
.image-viewer-photo { display: block; width: min(800px, calc(100vw - 64px), calc(100dvh - 110px)); padding: 0; margin-inline: auto; background: transparent; }
.image-viewer-image { display: block; width: 100%; max-width: none; height: auto; aspect-ratio: 1; object-fit: contain; }
@media (max-width: 700px) {
  .image-viewer { width: calc(100vw - 16px); max-height: calc(100dvh - 16px); }
  .image-viewer-heading { padding: 12px; gap: 12px; }
  .image-viewer-heading h2 { font-size: 17px; }
  .image-viewer-photo { width: min(calc(100vw - 20px), calc(100dvh - 110px)); }
  .zoom-hint { font-size: 11px; bottom: 10px; right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .product-detail, .image-viewer[open] { animation: none; }
  main { transition: none; }
}
