:root {
  --paper: #f7f0e6;
  --soft: #efe4d6;
  --panel: #fbf7f0;
  --ink: #3d251b;
  --muted: #7d665a;
  --line: #dccfc0;
  --button: #b99c7d;
  --button-ink: #fffaf3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

.site-header {
  height: 70px;
  display: grid;
  grid-template-columns: 140px 1fr;
  align-items: center;
  gap: 18px;
  padding: 0 clamp(20px, 4vw, 44px);
  background: rgba(251, 247, 240, 0.94);
  border-bottom: 1px solid rgba(220, 207, 192, 0.6);
  position: sticky;
  top: 0;
  z-index: 5;
}

.mark {
  text-decoration: none;
}

.mark-flower,
.shop-logo {
  width: var(--logo-size, 42px);
  height: var(--logo-size, 42px);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 0.78rem;
  color: var(--muted);
}

.logo-image {
  width: var(--logo-size, 42px);
  height: var(--logo-size, 42px);
  object-fit: contain;
}

.primary-nav,
.utility-nav,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 4vw, 54px);
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.primary-nav a,
.footer-bottom a {
  text-decoration: none;
}

.utility-nav {
  justify-content: flex-end;
  gap: 16px;
  font-size: 0.64rem;
  color: var(--muted);
}

.hero {
  min-height: 445px;
  display: grid;
  grid-template-columns: 30% 70%;
  position: relative;
  overflow: hidden;
  background: var(--panel);
}

.hero-still img,
.hero-landscape img {
  height: 100%;
  object-fit: cover;
}

.hero-landscape {
  position: relative;
}

.hero-landscape:before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 240, 230, 0.86), rgba(247, 240, 230, 0.34), rgba(247, 240, 230, 0.18));
}

.hero-copy {
  position: absolute;
  left: 38%;
  top: 50%;
  transform: translateY(-50%);
  width: min(520px, 56vw);
  text-align: center;
}

.tracked,
.tiny-heading {
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.74rem;
  color: var(--ink);
}

.hero h1 {
  font-size: clamp(4.2rem, 9vw, 7.2rem);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: 0.08em;
  margin: 10px 0 12px;
}

.rule {
  display: inline-block;
  width: 42px;
  height: 1px;
  background: var(--ink);
}

.script,
.signature,
.thanks p {
  font-family: "Segoe Script", "Brush Script MT", cursive;
  font-size: clamp(1.45rem, 3.4vw, 2.45rem);
  line-height: 1.36;
  margin: 16px 0 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 25px;
  background: var(--panel);
  border: 1px solid rgba(185, 156, 125, 0.3);
  color: var(--ink);
  text-decoration: none;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.button.muted {
  background: var(--button);
  color: var(--button-ink);
}

.story-band,
.feature-band,
.split-page,
.contact-page {
  margin: 18px clamp(20px, 4vw, 44px);
  background: var(--panel);
  display: grid;
  border: 1px solid rgba(220, 207, 192, 0.55);
}

.story-band {
  grid-template-columns: minmax(240px, 340px) 1fr;
  align-items: center;
}

.botanical {
  min-height: 180px;
  display: grid;
  place-items: center;
  color: #c6ad96;
  font-size: 1.1rem;
}

.story-copy,
.feature-copy {
  padding: clamp(26px, 4vw, 52px);
}

.story-copy h2,
.section-title h2,
.feature-copy h2,
.page-intro h1,
.split-page h1,
.contact-page h1 {
  font-size: clamp(1.7rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0 0 18px;
}

.story-copy p,
.collection-card p,
.feature-copy p,
.page-intro p,
.split-page p,
.contact-page p,
.social-links p,
.journal-grid p {
  color: var(--muted);
  line-height: 1.7;
}

.story-band img {
  height: 460px;
  object-fit: cover;
}

.collection-overview {
  padding: 14px clamp(20px, 4vw, 44px) 8px;
}

.section-title,
.page-intro {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  padding: 22px 0 28px;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.collection-grid.expanded {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 0 clamp(20px, 4vw, 44px) 36px;
}

.collection-card {
  background: var(--panel);
  border: 1px solid rgba(220, 207, 192, 0.5);
  text-align: center;
}

.collection-card .collection-image-link {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.18;
  overflow: hidden;
  text-decoration: none;
}

.collection-card .collection-image-link img,
.collection-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.collection-card div {
  padding: 18px 16px 22px;
}

.collection-card h2,
.collection-card h3,
.journal-grid h2 {
  font-size: 1.02rem;
  text-transform: uppercase;
  font-weight: 400;
  letter-spacing: 0.06em;
  margin: 0 0 10px;
}

.collection-card a,
.journal-grid a {
  display: inline-block;
  margin-top: 8px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  text-underline-offset: 5px;
}

.mini {
  font-size: 0.82rem;
  margin: 0;
}

.feature-band {
  grid-template-columns: 39% 38% 23%;
  align-items: stretch;
}

.feature-band > img {
  height: 100%;
  object-fit: cover;
}

blockquote {
  margin: 0;
  padding: clamp(32px, 5vw, 72px) clamp(24px, 4vw, 44px);
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  line-height: 1.45;
  color: var(--ink);
  background: rgba(255, 252, 247, 0.65);
}

blockquote:before {
  content: "\"";
  display: block;
  color: #c6ad96;
  font-size: 4rem;
  line-height: 0.65;
}

.split-page,
.contact-page {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  min-height: 560px;
}

.split-page > div,
.contact-page > div {
  padding: clamp(36px, 7vw, 92px);
}

.split-page img {
  height: 100%;
  object-fit: cover;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 clamp(20px, 4vw, 44px) 48px;
}

.journal-grid article {
  background: var(--panel);
  border: 1px solid rgba(220, 207, 192, 0.5);
}

.journal-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.2 / 1;
  object-fit: cover;
}

.journal-grid div {
  padding: 22px;
}

.site-footer {
  margin-top: 18px;
  background: var(--panel);
  border-top: 1px solid var(--line);
}

.instagram-strip {
  display: grid;
  grid-template-columns: 39% 30% 31%;
  border-bottom: 1px solid var(--line);
}

.instagram-strip > div {
  padding: 28px clamp(20px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.instagram-strip > div:last-child {
  border-right: 0;
}

.thumb-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.thumb-row img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.social-links nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.social-links {
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
}

.social-icon-link {
  width: var(--social-icon-size, 38px);
  height: var(--social-icon-size, 38px);
  border: 1px solid var(--line);
  display: inline-grid;
  place-items: center;
  text-decoration: none;
  color: var(--ink);
  background: rgba(255, 252, 247, 0.45);
}

.social-icon-link svg {
  width: calc(var(--social-icon-size, 38px) * 0.53);
  height: calc(var(--social-icon-size, 38px) * 0.53);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon-link img {
  width: calc(var(--social-icon-size, 38px) * 0.62);
  height: calc(var(--social-icon-size, 38px) * 0.62);
  object-fit: contain;
}

.social-icon-link svg path:first-child {
  fill: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.thanks {
  text-align: center;
}

.thanks span {
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.64rem;
  color: var(--muted);
}

.footer-bottom {
  min-height: 58px;
  justify-content: flex-start;
  padding: 0 clamp(20px, 4vw, 44px);
  gap: clamp(18px, 3vw, 42px);
  color: var(--muted);
}

.footer-bottom span {
  margin-left: auto;
}

@media (max-width: 900px) {
  .site-header,
  .hero,
  .story-band,
  .feature-band,
  .split-page,
  .contact-page,
  .instagram-strip {
    grid-template-columns: 1fr;
  }

  .site-header {
    height: auto;
    padding: 16px 20px;
  }

  .primary-nav,
  .utility-nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .hero-copy {
    position: static;
    transform: none;
    width: auto;
    padding: 38px 20px;
  }

  .hero-still,
  .utility-nav {
    display: none;
  }

  .collection-grid,
  .collection-grid.expanded,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .story-band img,
  .feature-band > img,
  .split-page img {
    height: auto;
  }

  .footer-bottom {
    flex-wrap: wrap;
    padding: 18px 20px;
  }

  .footer-bottom span {
    margin-left: 0;
  }
}

.shop-page {
  --shop-card: var(--panel);
  --shop-text: var(--ink);
  --shop-muted: var(--muted);
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
}

.shop-header,
.shop-footer {
  background: rgba(251, 247, 240, 0.94);
  color: var(--ink);
  border-color: var(--line);
}

.shop-header {
  min-height: 70px;
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 42px);
  padding: 0 clamp(20px, 4vw, 44px);
  border-bottom: 1px solid rgba(220, 207, 192, 0.6);
  position: sticky;
  top: 0;
  z-index: 5;
}

.shop-logo {
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  color: var(--muted);
  text-decoration: none;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-style: italic;
}

.shop-brand {
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.shop-header nav,
.shop-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.shop-header nav a,
.shop-footer nav a {
  color: inherit;
  text-decoration: none;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.shop-header nav a.active {
  color: var(--ink);
  font-weight: 800;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 5px;
  text-decoration: none;
}

.shop-header nav {
  flex: 1;
}

.shop-main {
  width: min(1460px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 86px;
}

.shop-hero {
  width: 100%;
  aspect-ratio: 2.65 / 1;
  object-fit: cover;
  margin: 0 auto 30px;
  border: 1px solid rgba(220, 207, 192, 0.55);
}

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

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: -10px 0 28px;
}

.category-nav a {
  color: inherit;
  text-decoration: none;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  border: 1px solid var(--line);
  background: var(--panel);
  padding: 9px 12px;
}

.category-nav a.active {
  border-color: var(--button);
  background: var(--button);
  color: var(--button-ink);
}

.shop-toolbar p {
  color: var(--muted);
  margin: 0 0 8px;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.68rem;
}

.shop-toolbar h1 {
  margin: 0;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 6vw, 4.2rem);
  font-weight: 400;
  line-height: 1;
}

.shop-toolbar select {
  width: auto;
  min-width: 170px;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 9px 12px;
}

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

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--shop-card);
  color: var(--shop-text);
  border: 1px solid rgba(220, 207, 192, 0.5);
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  min-height: 100%;
}

.product-card[hidden] {
  display: none;
}

.product-image-frame {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fffaf3;
}

.product-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card div {
  position: relative;
  padding: 16px 16px 20px;
  text-align: center;
}

.product-card h2 {
  margin: 0 0 10px;
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 400;
}

.product-card p {
  color: var(--muted);
  font-family: "Trebuchet MS", Arial, sans-serif;
  font-weight: 800;
  margin: 0;
}

.swatches {
  display: none;
}

.swatches i {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 1px solid #48545a;
  background: #1a2023;
}

.swatches i:nth-child(2) {
  background: #5e3d2d;
}

.swatches i:nth-child(3) {
  background: #0f1416;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 56px 0 30px;
}

.pagination a,
.pagination span,
.pagination strong {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--panel);
  color: var(--ink);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  text-decoration: none;
}

.pagination strong {
  background: var(--button);
  color: var(--button-ink);
  border-color: var(--button);
}

.view-more {
  text-align: center;
}

.view-more a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--button);
  border-radius: 5px;
  background: var(--button);
  color: var(--button-ink);
  text-decoration: none;
  font-weight: 700;
  font-family: "Trebuchet MS", Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
}

.shop-footer {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr 1fr;
  gap: 34px;
  padding: 42px clamp(20px, 4vw, 44px) 54px;
  border-top: 1px solid var(--line);
}

.shop-footer nav {
  display: grid;
  align-content: start;
  gap: 16px;
}

.shop-footer nav.shop-social-links {
  display: flex;
  flex-wrap: wrap;
  align-content: start;
  justify-content: center;
  gap: 10px;
}

.shop-footer p {
  margin: 0;
}

@media (max-width: 920px) {
  .shop-header,
  .shop-footer,
  .shop-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-grid,
  .shop-footer {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1200px) and (min-width: 921px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
