/* Luxury Favors storefront, modelled on the mpomponieres24.gr layout (experiment branch). */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f6f3f1;
  --white: #fff;
  --ink: #262622;
  --black: #0d0d0b;
  --text-2: #5e5853;
  --taupe: #af9e8e;
  --line: rgba(191, 187, 184, 0.46);
  --line-soft: rgba(175, 158, 142, 0.24);
  --field: #bfb8b8;
  --footer: #e7ded6;
  --sans: 'Manrope', Arial, sans-serif;
  /* Stand-in for the reference's Adobe "Minion 3 Subhead", which only Typekit serves. */
  --display: 'Literata', Georgia, serif;
  /* The reference names a font that never loads for these elements, so browsers show Times. */
  --times: 'Times New Roman', 'Tinos', Times, serif;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.647 var(--sans);
  overflow-x: hidden;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: 0;
  background: none;
  padding: 0;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

:focus-visible {
  outline: 2px solid var(--taupe);
  outline-offset: 3px;
}

img {
  max-width: 100%;
}

svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.4;
  fill: none;
  flex-shrink: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 400;
  text-wrap: balance;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ---------- Header ---------- */

/* One row: logo, navigation in the middle, tools on the right. Sticky, and app.js slides it away
   while scrolling down and back after 80px of scrolling up. */
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: 'logo nav tools';
  column-gap: 24px;
  align-items: center;
  padding: 12px 32px;
  background: rgba(246, 243, 241, 0.97);
  transition:
    transform 0.35s ease,
    background 0.3s,
    box-shadow 0.3s;
}

.header.is-hidden {
  transform: translateY(-100%);
}

/* Over a hero or banner photo it takes no room (app.js keeps --header-h equal to its height), so
   the photo starts under it; it stays almost transparent until the page scrolls. */
.header.overlay {
  margin-bottom: calc(-1 * var(--header-h, 72px));
  background: rgba(246, 243, 241, 0.12);
}

.header.overlay.is-scrolled {
  background: rgba(246, 243, 241, 0.97);
  box-shadow: 0 1px 0 rgba(191, 187, 184, 0.45);
}

.logo {
  grid-area: logo;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--black);
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}

.logo span {
  font: 400 28px/1 var(--display);
  letter-spacing: -1px;
  white-space: nowrap;
}

.main-nav {
  grid-area: nav;
  display: flex;
}

.main-nav a {
  font: 700 16px/24px var(--times);
  text-transform: uppercase;
  color: var(--ink);
  padding: 12px 11.2px;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  animation: breathe-scale 2.4s ease-in-out infinite;
}

/* Menu links "breathe" when hovered or tapped. In the dropdown the letters spread apart and back;
   in the one-row header a gentle swell does the same without pushing the other links around. */
@keyframes breathe-spacing {
  0%,
  100% {
    letter-spacing: 0.02em;
  }

  50% {
    letter-spacing: 0.16em;
  }
}

@keyframes breathe-scale {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.08);
  }
}

.header-tools {
  grid-area: tools;
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 22px;
}

.icon-button {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: var(--black);
}

.menu-toggle {
  display: none;
}

.bag-button svg {
  width: 25px;
  height: 25px;
}

#cart-count {
  position: absolute;
  left: 23px;
  top: 25px;
  min-width: 15px;
  height: 15px;
  padding: 0 3px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font: 500 10px/15px var(--sans);
  text-align: center;
}

.search-pill {
  position: relative;
  display: flex;
  align-items: center;
  width: 202px;
  height: 46px;
  border: 1px solid var(--ink);
  border-radius: 30px;
  padding: 0 10px 0 22px;
  background: var(--bg);
}

.search-pill input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  padding: 0;
  outline-offset: 6px;
}

.search-pill input:focus-visible {
  outline: none;
}

.search-pill:focus-within {
  box-shadow: 0 0 0 2px rgba(175, 158, 142, 0.55);
}

.search-pill input::placeholder {
  color: #7d7872;
}

.search-pill input::-webkit-search-cancel-button {
  cursor: pointer;
}

.search-pill button {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.search-pill button svg {
  width: 20px;
  height: 20px;
  stroke-width: 2.2;
}

.search-results {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 280px;
  max-height: 430px;
  overflow-y: auto;
  background: #fff;
  box-shadow:
    0 0 3px -1px rgba(0, 0, 0, 0.3),
    0 12px 30px rgba(13, 13, 11, 0.1);
  z-index: 30;
}

.search-hit {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 8px;
  border-bottom: 1px solid #e8e5e3;
  font:
    14px/22px 'Open Sans',
    Arial,
    sans-serif;
  color: #1468a9;
}

.search-hit:hover {
  background: #f7f7f7;
}

.search-hit .photo {
  width: 60px;
  height: 80px;
  flex-shrink: 0;
}

.search-hit small {
  display: block;
  color: var(--text-2);
  font-size: 13px;
}

.search-none {
  margin: 0;
  padding: 14px;
  font-size: 14px;
  color: var(--text-2);
}

/* ---------- Shared pieces ---------- */

.photo {
  position: relative;
  overflow: hidden;
  background: #ece6e1;
}

.photo img.fit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kicker,
.eyebrow {
  font: 700 11px/1.3 var(--sans);
  letter-spacing: 2.2px;
  color: var(--taupe);
  text-transform: uppercase;
}

.section-head .kicker::before,
.section-head .kicker::after,
.kicker-left::after {
  content: '';
  width: 54px;
  height: 1px;
  background: rgba(175, 158, 142, 0.6);
}

.kicker-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.kicker-left::after {
  width: 46px;
}

.label {
  display: block;
  font: 800 11px/1.2 var(--sans);
  letter-spacing: 2.2px;
  color: var(--taupe);
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 24px;
  font: 700 13px/1 var(--sans);
  border: 1px solid var(--ink);
  transition:
    background 0.2s,
    color 0.2s;
}

.btn-dark {
  background: var(--ink);
  color: var(--bg);
}

.btn-dark:hover {
  background: #45443e;
}

.btn-outline {
  border-color: var(--taupe);
  color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 4px;
  font: 700 13px/1 var(--sans);
  border-bottom: 1px solid var(--taupe);
}

.product-tag {
  position: absolute;
  top: 17px;
  left: 17px;
  z-index: 2;
  padding: 8px 12px;
  background: rgba(246, 243, 241, 0.94);
  border: 1px solid rgba(175, 158, 142, 0.42);
  font: 800 10px/1 var(--sans);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--ink);
}

.product-tag.static {
  position: static;
  display: inline-block;
  margin-bottom: 18px;
}

/* ---------- Home: image tiles ---------- */

.help-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 980px;
  margin: 34px auto 0;
  padding: 28px 32px;
  background: #fff;
  border: 1px solid rgba(191, 187, 184, 0.48);
}

.help-box h3 {
  font: 400 30px/1.2 var(--display);
  letter-spacing: -0.6px;
  color: var(--black);
  margin: 0;
}

.help-box p {
  font-size: 14px;
  color: var(--text-2);
  margin: 4px 0 0;
}

.help-box.wide {
  max-width: 1480px;
  margin-top: 42px;
  background: var(--bg);
}

.help-box .btn {
  flex-shrink: 0;
}

/* ---------- Page banner ---------- */

.page-banner {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.banner-tiles {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.banner-tiles img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.page-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(246, 243, 241, 0.62);
}

/* The text sits in the part of the photos below the floating header. */
.page-banner-inner {
  position: absolute;
  inset: var(--header-h, 72px) 0 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: var(--black);
}

.page-banner-inner > * {
  max-width: 900px;
}

.page-banner h1 {
  font: 400 57px/1 var(--times);
  letter-spacing: -1.7px;
  margin: 0 0 22px;
}

.page-banner p {
  max-width: 800px;
  margin: 0 auto 26px;
  font-size: 17px;
  line-height: 1.65;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 7px;
  font: 400 13px/18px var(--times);
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.breadcrumbs i {
  font-style: normal;
  opacity: 0.6;
}

.breadcrumbs a:hover {
  color: var(--taupe);
}

.banner-down {
  display: inline-flex;
  margin-top: 40px;
  animation: nudge 2s ease-in-out infinite;
}

@keyframes nudge {
  50% {
    transform: translateY(6px);
  }
}

/* ---------- Shop (collection) page ---------- */

.shop-layout {
  display: grid;
  grid-template-columns: 323px 1fr;
  gap: 24px;
  align-items: start;
  max-width: 1290px;
  margin: 120px auto 126px;
  padding: 0;
}

.shop-layout > .lf-new {
  grid-column: 1 / -1;
  justify-self: start;
}

.sidebar {
  background: #fff;
  padding: 63px 0 20px;
}

.widget {
  padding: 0 40px;
  margin-bottom: 46px;
}

.widget-title {
  font: 400 19px/1.3 var(--times);
  color: var(--black);
  margin: -7px 0 28px;
}

.widget-empty {
  margin: 0;
}

.widget-list {
  margin: 0;
  padding-left: 20px;
}

.widget-list li {
  margin-bottom: 10px;
  line-height: 1.65;
}

.widget-list a {
  color: var(--black);
}

.widget-list a.active,
.widget-list a:hover {
  color: var(--taupe);
}

.widget-cart {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.widget-cart li {
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  line-height: 1.5;
}

.widget-cart a {
  display: block;
  color: var(--black);
}

.widget-cart span {
  font-size: 13px;
  color: var(--text-2);
}

.widget-total {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  margin: 0 0 16px;
}

.widget .button {
  width: 100%;
  height: 46px;
  font-size: 14px;
}

.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

#results-count {
  font-size: 16px;
}

.sort-label {
  position: relative;
  display: block;
}

.sort-label select {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  font-size: 16px;
  padding: 0 28px 0 0;
  cursor: pointer;
}

.sort-label::after {
  content: '';
  position: absolute;
  right: 6px;
  top: calc(50% - 6px);
  width: 7px;
  height: 7px;
  border-right: 1.5px solid;
  border-bottom: 1.5px solid;
  transform: rotate(45deg);
  pointer-events: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 55px 30px;
}

.product-card {
  position: relative;
  min-width: 0;
  text-align: center;
}

.card-media {
  position: relative;
  aspect-ratio: 3 / 4;
}

.card-media .photo {
  position: absolute;
  inset: 0;
}

.card-media .product-tag {
  top: 10px;
  left: 10px;
}

.card-title {
  font: 400 19px/1.3 var(--times);
  color: var(--black);
  margin: 27px 0 0;
}

.card-price {
  display: block;
  margin-top: 11px;
  font: 400 18px/1 var(--times);
  color: var(--ink);
}

.product-card a:hover .card-title {
  color: var(--taupe);
}

.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
}

.empty-state h3 {
  font: 400 30px/1.3 var(--times);
}

.empty-state p {
  color: var(--text-2);
}

/* ---------- Product page ---------- */

.product-detail {
  position: relative;
  max-width: 1290px;
  margin: 120px auto 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: 722px 508px;
  gap: 60px;
  align-items: start;
}

.product-gallery {
  display: flex;
}

.thumbnails {
  width: 150px;
  flex-shrink: 0;
  padding-right: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.thumbnails button {
  width: 120px;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.thumbnails button[aria-pressed='true'],
.thumbnails button:hover {
  opacity: 1;
}

.thumbnails .photo {
  aspect-ratio: 3 / 4;
}

.gallery-main {
  position: relative;
  flex: 1;
  min-width: 0;
}

.detail-photo {
  aspect-ratio: 3 / 4;
}

.zoom-button {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
}

.zoom-button svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.8;
}

.product-title {
  font: 400 35px/1.086 var(--times);
  color: var(--black);
  margin: -5px 0 20px;
}

.detail-price {
  font: 400 24px/1.2 var(--times);
  color: var(--black);
  margin-bottom: 30px;
}

.detail-price span {
  font: 400 15px var(--sans);
  color: var(--text-2);
}

.product-short {
  margin: 0 0 34px;
}

.option-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.option-row .field-label {
  margin: 0;
}

.product-summary select,
.product-summary textarea {
  width: 100%;
  border: 1px solid var(--field);
  background: transparent;
  border-radius: 0;
  font-size: 16px;
}

.product-summary select {
  height: 46px;
  padding: 0 14px;
}

.product-summary textarea {
  padding: 12px 14px;
  resize: vertical;
}

.product-summary .field-label {
  display: block;
  font: 400 17px/1.4 var(--times);
  color: var(--black);
  margin: 18px 0 8px;
}

.cart-row {
  display: flex;
  gap: 10px;
  margin-top: 26px;
}

.quantity {
  position: relative;
  width: 130px;
  height: 55px;
  border: 1px solid var(--field);
  background: var(--bg);
}

.quantity input {
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  padding: 0 44px 0 26px;
  font-size: 16px;
  appearance: textfield;
  -moz-appearance: textfield;
}

.quantity input::-webkit-inner-spin-button,
.quantity input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-arrows {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
}

.qty-arrows button {
  width: 24px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.qty-arrows svg {
  width: 14px;
  height: 14px;
  stroke-width: 1.8;
}

.add-cart {
  height: 55px;
  min-width: 162px;
  padding: 0 55px;
  font: 400 18px/1 var(--sans);
}

.ship-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 20px 0 30px;
  padding: 10px 18px;
  border: 1px solid rgba(191, 187, 184, 0.8);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.4);
  font-size: 15px;
  line-height: 1.4;
}

.ship-pill svg {
  width: 17px;
  height: 17px;
  stroke-width: 1.7;
}

.product-meta {
  margin: 0;
}

.product-meta div {
  margin-bottom: 6px;
}

.product-meta dt {
  display: inline;
  font: 400 17px var(--times);
  color: var(--black);
}

.product-meta dd {
  display: inline;
  margin: 0 0 0 4px;
}

.product-meta strong {
  font-weight: 700;
}

.related {
  max-width: 1290px;
  margin: 110px auto 0;
  padding-bottom: 126px;
}

.related h2 {
  font: 400 47px/1 var(--times);
  color: var(--black);
  margin: 0 0 55px;
}

.related .product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px 30px;
}

.related .product-card {
  text-align: left;
}

/* ---------- Panels: mini-cart, mobile menu, zoom ---------- */

dialog {
  border: 0;
  padding: 0;
  color: var(--ink);
}

dialog::backdrop {
  background: rgba(13, 13, 11, 0.12);
}

.panel-close svg {
  width: 20px;
  height: 20px;
}

.cart-panel {
  position: fixed;
  inset: 16px 16px auto auto;
  margin: 0;
  width: 380px;
  max-width: calc(100vw - 16px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  background: #fff;
  padding: 30px 30px 28px;
  box-shadow: 0 20px 60px rgba(13, 13, 11, 0.14);
}

.empty-symbol {
  display: block;
  margin: 20px;
  font-size: 60px;
  color: var(--taupe);
}

.cart-panel::backdrop {
  background: transparent;
}

.cart-panel .panel-close {
  position: absolute;
  top: 4px;
  right: 4px;
}

.mini-empty {
  text-align: center;
  padding: 26px 0 8px;
}

.mini-empty-icon svg {
  width: 26px;
  height: 26px;
}

.mini-empty p {
  font-size: 16px;
  margin: 14px 0 22px;
}

.cart-line {
  display: grid;
  grid-template-columns: 60px 1fr 24px;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-line > .photo {
  width: 60px;
  height: 80px;
}

.cart-line-info {
  min-width: 0;
}

.cart-line h3 {
  font: 700 15px/1.35 var(--sans);
  margin: 0 0 4px;
}

.cart-line p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-2);
  margin: 0 0 4px;
}

.cart-notes {
  font-style: italic;
  overflow-wrap: anywhere;
}

.cart-line-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.cart-line-actions input {
  width: 66px;
  height: 34px;
  border: 1px solid var(--field);
  background: #fff;
  text-align: center;
  font-size: 15px;
}

.cart-line-actions span {
  font-size: 13px;
  color: var(--text-2);
}

.cart-line-actions strong {
  margin-left: auto;
  font-size: 14px;
  font-weight: 700;
}

.remove-line {
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
}

.remove-line svg {
  width: 12px;
  height: 12px;
  stroke-width: 2;
}

.remove-line:hover {
  color: #b3261e;
  border-color: #b3261e;
}

.cart-summary {
  padding-top: 18px;
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
}

.cart-summary > div strong {
  font-weight: 800;
}

.cart-summary > p {
  font-size: 12px;
  color: var(--text-2);
  margin: 6px 0 16px;
}

.cart-summary .button {
  width: 100%;
  height: 50px;
  margin-top: 8px;
}

.menu-panel {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 14px 0 22px;
  background: rgba(246, 243, 241, 0.38);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.menu-panel::backdrop {
  background: transparent;
}

/* Closed by the menu button, a tap outside or Escape; no heading bar of its own. */
.menu-panel .panel-heading {
  display: none;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mobile-nav a {
  font: 700 20px/46px var(--times);
  text-transform: uppercase;
  color: var(--black);
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.9);
  animation: menu-in 0.45s 80ms both;
}

/* The shop's CSP refuses inline style attributes, so the stagger lives here. */
.mobile-nav a:nth-child(2) {
  animation-delay: 170ms;
}

.mobile-nav a:nth-child(3) {
  animation-delay: 260ms;
}

.mobile-nav a:nth-child(4) {
  animation-delay: 350ms;
}

.mobile-nav a:hover,
.mobile-nav a:focus-visible,
.mobile-nav a:active {
  animation: breathe-spacing 2.4s ease-in-out infinite;
}

@keyframes menu-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.zoom-panel {
  width: min(92vw, 820px);
  max-height: 94dvh;
  background: #fff;
  padding: 0;
  overflow: hidden;
}

.zoom-panel .panel-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #fff;
  border-radius: 50%;
}

.zoom-panel .photo {
  aspect-ratio: 3 / 4;
  max-height: 94dvh;
  margin: auto;
}

.zoom-panel .photo img.fit {
  object-fit: contain;
  background: #fff;
}

.zoom-panel::backdrop {
  background: rgba(13, 13, 11, 0.7);
}

#toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: #fff;
  padding: 12px 24px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 100;
  font-size: 15px;
}

#toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ---------- Footer ---------- */

.footer {
  background: var(--footer);
  padding: 118px 20px 0;
}

.footer-inner {
  max-width: 1290px;
  margin: auto;
  display: grid;
  grid-template-columns: 338px 322px 322px 1fr;
}

.footer-brand .logo span {
  font-size: 34px;
}

.footer-brand .logo img {
  width: 54px;
  height: 54px;
}

.footer-brand p {
  max-width: 280px;
  margin: 30px 0 0;
  line-height: 1.68;
}

.footer-inner > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.footer h3 {
  font: 700 19px/1.2 var(--times);
  color: var(--black);
  margin: 0 0 12px;
}

.footer-inner a:hover,
.footer-inner button:hover {
  color: var(--taupe);
}

.footer-inner button {
  font-size: 17px;
}

.footer-bottom {
  max-width: 1290px;
  margin: 64px auto 0;
  padding: 28px 0 32px;
  border-top: 1px solid rgba(38, 38, 34, 0.08);
  font-size: 16px;
}

/* ---------- Generic pages (checkout, thanks, owner, orders, 404) ---------- */

.collection-intro {
  max-width: 820px;
  margin: 0 auto;
  padding: 90px 20px 50px;
  text-align: center;
}

.collection-intro h1 {
  font: 400 47px/1.05 var(--times);
  color: var(--black);
  margin: 0 0 20px;
}

.collection-intro p {
  color: var(--text-2);
}

.collection-intro .eyebrow {
  margin-bottom: 18px;
}

.collection-intro form {
  max-width: 420px;
  margin: 20px auto;
  text-align: left;
}

.collection-intro input {
  width: 100%;
  height: 50px;
  border: 1px solid var(--field);
  background: #fff;
  padding: 0 14px;
  margin-bottom: 12px;
  font-size: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 28px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  font: 400 15px/1 var(--sans);
  transition: background 0.2s;
  margin: 4px;
}

.button:hover {
  background: #45443e;
}

.button.light {
  background: transparent;
  color: var(--ink);
  border-color: var(--taupe);
}

.button.light:hover {
  background: var(--ink);
  color: var(--bg);
}

.cart-summary .button,
.widget .button,
.add-cart {
  margin: 0;
}

.cart-summary .button + .button {
  margin-top: 8px;
}

.text-link {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  border-bottom: 1px solid var(--taupe);
  padding: 8px 0;
  font-size: 14px;
}

.underlined {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.field-label {
  display: block;
  font-size: 14px;
  margin: 18px 0 8px;
}

.field-label span {
  color: var(--text-2);
  font: 400 12px var(--sans);
  margin-left: 8px;
}

.field-help {
  font-size: 13px;
  color: var(--text-2);
  margin: 7px 0 0;
  line-height: 1.6;
}

.field-help:empty {
  margin: 0;
}

.check-label {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 16px;
  cursor: pointer;
}

.check-label input {
  width: 18px;
  height: 18px;
  accent-color: var(--ink);
}

select {
  border: 1px solid var(--field);
  padding: 12px;
  background: #fff;
  border-radius: 0;
  min-height: 46px;
  font-size: 15px;
}

textarea {
  border: 1px solid var(--field);
  border-radius: 0;
}

.section {
  padding: 60px 42px 90px;
  max-width: 1440px;
  margin: auto;
}

.checkout {
  max-width: 1040px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

#checkout-summary,
#checkout-form {
  min-width: 0;
}

.checkout-summary-box {
  background: #fff;
  border: 1px solid var(--line);
  padding: 26px 24px;
}

.checkout-summary-box h2 {
  font: 400 22px var(--times);
  margin-bottom: 16px;
}

.checkout-items {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.checkout-items li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}

.checkout-items li span {
  color: var(--text-2);
}

.checkout-totals div {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  padding: 4px 0;
}

.checkout-totals .checkout-total {
  font-size: 19px;
  padding-top: 10px;
  margin-top: 6px;
  border-top: 1px solid var(--line);
}

.checkout-fieldset {
  border: 0;
  padding: 0;
  margin: 0 0 34px;
  min-width: 0;
}

.checkout-fieldset legend {
  display: block;
  width: 100%;
  font: 400 24px var(--times);
  padding: 0 0 14px;
  margin-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.checkout-invoice-toggle {
  margin: 0 0 10px;
}

#invoice-fields {
  margin-top: 20px;
}

#checkout-form input[type] {
  width: 100%;
  border: 1px solid var(--field);
  padding: 12px;
  background: #fff;
  border-radius: 0;
  min-height: 46px;
  font-size: 16px;
}

#checkout-form input[type='checkbox'],
#checkout-form input[type='radio'] {
  width: 18px;
  min-height: 0;
}

#checkout-form select {
  width: 100%;
}

.option-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 8px;
}

.checkout button[type='submit'] {
  width: 100%;
  margin: 0;
}

@media (min-width: 761px) {
  .checkout {
    grid-template-columns: 1fr 360px;
    align-items: start;
  }

  #checkout-summary {
    order: 2;
    position: sticky;
    top: 20px;
  }
}

/* ---------- Mid widths ---------- */

@media (max-width: 1340px) {
  .shop-layout,
  .product-detail,
  .related {
    margin-left: 42px;
    margin-right: 42px;
  }

  .detail-layout {
    grid-template-columns: minmax(0, 1.42fr) minmax(0, 1fr);
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

@media (max-width: 1100px) {
  .banner-tiles {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner-tiles img:nth-child(4) {
    display: none;
  }

  .feature-grid,
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-layout {
    grid-template-columns: 260px 1fr;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }
}

/* The one-row header needs about 1400px with the full category names; narrower, it tightens and
   hands the navigation to the menu. */
@media (max-width: 1220px) {
  .header {
    padding: 12px 24px;
  }

  .search-pill {
    width: 170px;
  }
}

@media (max-width: 1400px) {
  .header {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'logo tools';
  }

  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }
}

/* ---------- Phone ---------- */

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  h1,
  h2,
  h3 {
    hyphens: auto;
  }

  .header {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'logo' 'tools';
    row-gap: 10px;
    padding: 12px 15px 10px;
  }

  .logo {
    justify-self: center;
  }

  .header > .logo span {
    font-size: 30px;
    letter-spacing: -1.2px;
  }

  .header > .logo img {
    width: 42px;
    height: 42px;
  }

  .main-nav {
    display: none;
  }

  /* Phone header row: menu left, search in the middle, cart right, across the full width. */
  .header-tools {
    justify-self: stretch;
    gap: 6px;
  }

  .menu-toggle {
    display: inline-flex;
    order: 0;
  }

  .menu-toggle svg {
    width: 28px;
    height: 28px;
    stroke-width: 1.6;
  }

  .search-pill {
    order: 1;
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .bag-button {
    order: 2;
  }

  .search-results {
    left: 0;
    right: 0;
    width: auto;
  }

  .display {
    font-size: 40px;
    letter-spacing: -1px;
  }

  .help-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 22px;
  }

  .help-box h3 {
    font-size: 26px;
  }

  /* Four whole photos, two by two; the text sits below the taller phone header. */
  .banner-tiles {
    grid-template-columns: repeat(2, 1fr);
  }

  .banner-tiles img:nth-child(4) {
    display: block;
  }

  .page-banner-inner {
    padding: 16px 20px 24px;
  }

  .page-banner h1 {
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 14px;
  }

  .page-banner p {
    font-size: 15px;
    line-height: 1.6;
  }

  .banner-down {
    margin-top: 18px;
  }

  .shop-layout,
  .product-detail,
  .related {
    margin: 0 20px;
  }

  .shop-layout {
    grid-template-columns: 1fr;
    margin-top: 40px;
    margin-bottom: 60px;
  }

  .sidebar {
    order: 2;
    margin-top: 30px;
    padding-top: 40px;
  }

  .widget {
    padding: 0 26px;
    margin-bottom: 34px;
  }

  .shop-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 26px;
  }

  .sort-label select {
    width: 100%;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  /* A category listing shows two products across; related products keep their own rule. */
  .shop-layout .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 12px;
  }

  .card-title {
    font-size: 17px;
    margin-top: 18px;
  }

  .card-price {
    font-size: 16px;
    margin-top: 10px;
  }

  .product-detail {
    margin-top: 50px;
  }

  .detail-layout {
    gap: 30px;
  }

  .product-gallery {
    flex-direction: column-reverse;
    gap: 16px;
  }

  .thumbnails {
    width: auto;
    padding: 0;
    flex-direction: row;
    gap: 8px;
  }

  .thumbnails button {
    width: 82px;
  }

  .product-title {
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 8px;
  }

  .detail-price {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .product-short {
    margin-bottom: 24px;
  }

  .option-row {
    grid-template-columns: 90px 1fr;
  }

  .quantity {
    width: 100px;
  }

  .quantity input {
    padding: 0 38px 0 18px;
  }

  .add-cart {
    flex: 1;
    min-width: 0;
    padding: 0 20px;
    font-size: 17px;
  }

  .ship-pill {
    font-size: 14px;
    padding: 9px 14px;
  }

  .product-meta dt,
  .product-meta dd {
    font-size: 16px;
  }

  .related {
    margin-top: 50px;
    padding-bottom: 60px;
  }

  .related h2 {
    font-size: 24px;
    margin-bottom: 26px;
  }

  .related .product-grid {
    grid-template-columns: 1fr;
  }

  .cart-panel {
    inset: 8px 8px auto 8px;
    width: auto;
    max-width: none;
    max-height: calc(100dvh - 16px);
    padding: 26px 18px 20px;
  }

  .footer {
    padding: 60px 20px 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand .logo span {
    font-size: 30px;
  }

  .footer h3 {
    margin-bottom: 4px;
  }

  .footer-bottom {
    margin-top: 44px;
    font-size: 14px;
  }

  .collection-intro {
    padding: 50px 20px 30px;
  }

  .collection-intro h1 {
    font-size: 34px;
  }

  .section {
    padding: 30px 20px 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ---------- Legal pages ---------- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 88px;
}

.legal h1 {
  font: 400 38px/1.1 var(--display);
  margin: 0 0 20px;
}

.legal h2 {
  font: 400 24px/1.2 var(--display);
  margin: 32px 0 10px;
}

.legal p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-2);
  margin: 0 0 14px;
}

.legal .pending,
.legal .pending-note {
  background: #f6ecd2;
  color: var(--ink);
}

.legal .pending-note {
  padding: 10px 14px;
}

.withdrawal-form {
  display: grid;
  gap: 14px;
  max-width: 420px;
}

.withdrawal-form label {
  display: grid;
  gap: 6px;
  font-size: 14px;
}

.withdrawal-form input {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
}

/* ---------- Home: plain header, one photo, two strips, four tiles ---------- */

/* The homepage header floats transparent over the photograph on a wide screen; on a phone it is the
   plain white two-row header above the photograph. */
@media (max-width: 760px) {
  .header.plain,
  .header.plain.is-scrolled {
    background: #fff;
    margin-bottom: 0;
  }

  .info-strip.wide-only {
    display: none;
  }
}

.home-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.home-info {
  display: grid;
  gap: 18px 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 18px 6px;
}

.info-strip {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.info-icon {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  color: var(--ink);
}

.info-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 1.5;
}

.info-strip h2 {
  margin: 0 0 4px;
  font: 700 15px/1.3 var(--sans);
  letter-spacing: 0.05em;
  color: var(--ink);
}

.info-strip p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}

.info-strip a {
  color: inherit;
}

.home-tiles .info-button {
  display: flex;
  width: max-content;
  gap: 8px;
  min-height: 44px;
  margin: 18px auto 0;
  padding: 0 18px;
  color: var(--ink);
}

.home-tiles .info-button:hover {
  color: var(--bg);
}

.info-button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.home-tiles {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 18px 28px;
}

/* The shipping note sits close under the buttons and leaves the next section its own space. */
.home-tiles + .band {
  padding: 20px 15px 0;
}

.home-tiles ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tile {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
}

.tile img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tile span {
  position: absolute;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 7px 11px;
  background: #fff;
  font: 600 13px/1.3 var(--sans);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink);
}

@media (min-width: 761px) {
  .home-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1480px;
    padding: 30px 42px 8px;
  }

  .home-tiles {
    max-width: 1480px;
    padding: 40px 42px 28px;
  }

  .home-tiles ul {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
  }

  /* Larger cards on a wide screen: a 3:4 photograph with its name beneath. */
  .tile {
    aspect-ratio: auto;
  }

  .tile img {
    height: auto;
    aspect-ratio: 3 / 4;
  }

  .tile span {
    position: static;
    max-width: none;
    padding: 16px 4px 0;
    background: none;
    font: 400 24px/1.2 var(--display);
    letter-spacing: -0.3px;
    text-transform: none;
  }
}

@media (min-width: 1101px) {
  .home-info {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 761px) and (max-width: 1100px) {
  .home-tiles ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- Home: restored sections (trust, note, showcase, FAQ, more creations) ---------- */

.section-head {
  max-width: 780px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head .kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 {
  font: 400 57px/1.04 var(--display);
  letter-spacing: -1.425px;
  color: var(--ink);
  margin: 0 0 20px;
}

.section-head > p:last-child:not(.kicker) {
  max-width: 580px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 1.73;
  color: var(--text-2);
}

.section-head.left {
  text-align: left;
  margin-left: 0;
  max-width: 720px;
}

.section-head.left .kicker {
  justify-content: flex-start;
}

.section-head.left .kicker::before {
  display: none;
}

.section-head.left > p:last-child {
  margin: 0;
  max-width: 620px;
}

.line-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 5px;
  border-bottom: 1px solid currentColor;
  font: 800 12px/1 var(--sans);
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.line-link svg {
  width: 20px;
  height: 10px;
  stroke-width: 1.6;
}

.btn-caps {
  height: 52px;
  padding: 0 34px;
  font-weight: 800;
  letter-spacing: 1.04px;
}

.band {
  padding: 84px 42px 88px;
  background: var(--bg);
}

:where(.band) > * {
  max-width: 1480px;
  margin-left: auto;
  margin-right: auto;
}

.band.white {
  background: #fff;
}

.band-footer {
  display: flex;
  justify-content: center;
  margin-top: 46px;
}

.ready-card:hover img {
  transform: scale(1.04);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.best-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.best-grid .feature-card {
  flex: 0 1 calc((100% - 96px) / 5);
}

.feature-card {
  position: relative;
  min-width: 0;
}

.feature-media {
  position: relative;
  aspect-ratio: 3 / 4;
  border: 1px solid rgba(191, 187, 184, 0.42);
  background: var(--bg);
}

.feature-media .photo {
  position: absolute;
  inset: 0;
}

.feature-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 13, 11, 0.34);
  color: #fff;
  font: 800 12px/1 var(--sans);
  letter-spacing: 1.2px;
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card a:hover .feature-overlay,
.feature-card a:focus-visible .feature-overlay {
  opacity: 1;
}

.feature-body {
  padding: 18px 2px 0;
}

.feature-kind {
  display: block;
  font: 800 10px/24px var(--sans);
  letter-spacing: 1.6px;
  color: var(--taupe);
  text-transform: uppercase;
}

.feature-body h3 {
  font: 700 16.4px/22px var(--sans);
  color: var(--ink);
  margin: 6px 0 10px;
}

.feature-price {
  display: block;
  font: 800 15px/24px var(--sans);
  color: var(--black);
}

.feature-body .line-link {
  margin-top: 16px;
  color: var(--ink);
  letter-spacing: 0.96px;
}

.story-note {
  max-width: 980px !important;
  margin-top: 36px !important;
  text-align: center;
  background: rgba(246, 243, 241, 0.9);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  padding: 26px 34px;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-2);
}

.faq {
  margin-top: 60px !important;
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: 30px;
  padding: 46px;
  box-shadow: 0 22px 65px rgba(38, 38, 34, 0.07);
}

.faq .section-head {
  margin-bottom: 34px;
}

.faq .section-head .kicker::before,
.faq .section-head .kicker::after {
  width: 34px;
}

.faq h2.sans {
  font: 500 44px/1.12 var(--sans);
  letter-spacing: -0.88px;
  margin: 0;
}

.faq-list {
  display: grid;
  gap: 16px;
}

.faq-item {
  background: var(--bg);
  border: 1px solid rgba(175, 158, 142, 0.2);
  border-radius: 20px;
  padding: 26px 28px;
}

.faq-item h3 {
  font: 700 18px/1.35 var(--sans);
  margin: 0 0 12px;
}

.faq-item p {
  font-size: 15px;
  line-height: 1.8;
  color: #5f5a55;
  margin: 0;
}

.ready-card {
  display: grid;
  grid-template-columns: 360px 1fr;
  max-width: 980px;
  margin: 0 auto;
  background: var(--ink);
  border: 1px solid rgba(191, 187, 184, 0.48);
  overflow: hidden;
}

.ready-media {
  overflow: hidden;
}

.ready-media img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s;
}

.ready-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 44px 40px;
  color: var(--bg);
}

.ready-body h3 {
  font: 400 42.75px/1.04 var(--display);
  letter-spacing: -1px;
  margin: 14px 0 18px;
}

.ready-body p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(246, 243, 241, 0.82);
  margin: 0 0 24px;
}

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .best-grid {
    flex-wrap: wrap;
  }

  .best-grid .feature-card {
    flex-basis: calc((100% - 48px) / 3);
  }

  .ready-card {
    grid-template-columns: 1fr 1fr;
  }

  .section-head h2 {
    font-size: 48px;
  }
}

@media (max-width: 760px) {
  .band {
    padding: 56px 15px 60px;
  }

  .section-head,
  .section-head.left {
    text-align: left;
    margin-bottom: 32px;
  }

  .section-head .kicker {
    justify-content: flex-start;
    font-size: 10px;
    margin-bottom: 16px;
  }

  .section-head .kicker::before {
    display: none;
  }

  .section-head h2 {
    font-size: 40px;
    line-height: 1.08;
    letter-spacing: -1px;
    margin-bottom: 16px;
  }

  .section-head > p:last-child:not(.kicker) {
    margin: 0;
  }

  .feature-grid,
  .ready-card {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    gap: 40px;
  }

  .feature-body h3 {
    font-size: 26px;
    line-height: 1.3;
    margin: 4px 0 8px;
  }

  .best-grid {
    gap: 30px 14px;
  }

  .best-grid .feature-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .best-grid .feature-body h3 {
    font-size: 16px;
    line-height: 1.35;
  }

  .best-grid .line-link {
    font-size: 10.5px;
    gap: 8px;
  }

  .story-note {
    border-radius: 22px;
    padding: 20px 22px;
    font-size: 15px;
  }

  .faq {
    padding: 30px 18px;
    border-radius: 22px;
  }

  .faq h2.sans {
    font-size: 32px;
  }

  .faq-item {
    padding: 20px;
  }

  .ready-body {
    padding: 30px 24px 34px;
  }

  .ready-body h3 {
    font-size: 34px;
  }
}

/* On a wide screen the photograph and the information row together fill the first screen, the
   photograph sitting under the transparent header; it covers its box and may lose a little at the edges. */
@media (min-width: 761px) {
  .home-hero {
    --info-h: 210px; /* the info row is two rows of two on a narrower wide screen */
  }

  .home-hero img {
    height: calc(100svh - var(--info-h));
    object-fit: cover;
    object-position: 50% 55%;
  }
}

@media (min-width: 1101px) {
  .home-hero {
    --info-h: 125px;
  }
}
