:root {
  --bg: #ffffff;
  --page-wash: #fbf6ef;
  --surface: #ffffff;
  --surface-deep: #f7efe5;
  --surface-soft: #fbf6ef;
  --text: #2a211b;
  --muted: #6f6358;
  --soft-black: #221b16;
  --brown: #8a6245;
  --brown-deep: #5d4030;
  --caramel: #b88a62;
  --cta: #9a5f42;
  --cta-hover: #70412e;
  --border: #eadfd2;
  --link-bg: #f7efe5;
  --link-bg-hover: #efe2d1;
  --shadow: 0 22px 60px rgba(55, 38, 25, 0.1);
  --soft-shadow: 0 12px 30px rgba(55, 38, 25, 0.06);
  --radius: 14px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, #ffffff 44rem, var(--page-wash) 100%),
    var(--bg);
  color: var(--text);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible,
.button:focus-visible {
  outline: 3px solid rgba(138, 98, 69, 0.28);
  outline-offset: 3px;
}

.container {
  width: min(100% - 34px, 1040px);
  margin: 0 auto;
}

.narrow {
  max-width: 760px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 30px rgba(55, 38, 25, 0.045);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.site-logo {
  display: inline-grid;
  gap: 3px;
  width: fit-content;
  color: var(--soft-black);
  text-decoration: none;
}

.site-logo-main {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.24rem, 6vw, 1.72rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.05;
}

.site-logo-tagline {
  color: var(--brown);
  font-size: clamp(0.68rem, 3.2vw, 0.78rem);
  font-weight: 700;
  letter-spacing: 0.055em;
  line-height: 1.25;
  text-transform: uppercase;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
}

.nav-toggle-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--brown-deep);
  cursor: pointer;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
}

.nav-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}

.nav-toggle-input:focus-visible + .nav-toggle,
.nav-toggle-input:checked + .nav-toggle {
  border-color: rgba(154, 95, 66, 0.48);
  background: #fff7ef;
}

.site-nav {
  display: none;
  grid-column: 1 / -1;
  gap: 8px;
  padding-top: 8px;
}

.nav-toggle-input:checked ~ .site-nav {
  display: grid;
}

.site-nav a,
.footer-nav a {
  color: var(--muted);
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-underline-offset: 5px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
}

.site-nav a[aria-current="page"] {
  color: var(--soft-black);
  background: var(--surface-deep);
}

.site-nav a:hover,
.footer-nav a:hover {
  color: var(--soft-black);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero {
  padding: 48px 0 36px;
}

.hero-grid {
  display: grid;
  gap: 26px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brown);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  color: var(--text);
}

h1,
.hero h1,
.article-title h1,
.page-panel h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.55rem, 11vw, 5.15rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1;
}

.page-panel h1 {
  font-size: clamp(2.2rem, 9vw, 4.35rem);
}

.hero-subtitle,
.article-title p,
.page-panel p,
.intro-section p,
.tonal-band p,
.content-list p,
.summary p {
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.86;
}

.hero-subtitle {
  max-width: 660px;
  margin: 20px 0 0;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 22px;
  border: 1px solid var(--cta);
  border-radius: 999px;
  background: var(--cta);
  color: #fffaf2;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(112, 65, 46, 0.2);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover {
  border-color: var(--cta-hover);
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.button-secondary {
  border-color: rgba(154, 95, 66, 0.34);
  background: #fff7ef;
  color: var(--cta-hover);
  box-shadow: 0 8px 18px rgba(112, 65, 46, 0.08);
}

.button-secondary:hover {
  background: var(--link-bg-hover);
}

.hero-image {
  min-height: 300px;
  aspect-ratio: 4 / 5;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.article-lead-image {
  aspect-ratio: 4 / 5;
  margin: 0 0 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.article-lead-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.vintage-lead-image {
  aspect-ratio: 5 / 4;
}

.section,
.intro-section,
.article-title,
.page-panel {
  padding: 52px 0;
}

.home-hero .hero-grid {
  display: block;
  min-height: auto;
}

.home-hero .hero-copy {
  max-width: 820px;
}

.section .hero-grid {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.section-heading {
  max-width: 720px;
  margin-bottom: 24px;
}

.section-heading h2,
.intro-section h2,
.tonal-band h2,
.summary h2,
.content-list h2,
.table-of-contents h2,
.legal-copy h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.85rem, 7vw, 3rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.08;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.feature-card,
.idea-card,
.table-of-contents {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.feature-card {
  padding: 24px;
}

.feature-card h3 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.18;
}

.feature-card p {
  margin: 0 0 20px;
  color: var(--muted);
  line-height: 1.72;
}

.feature-card a {
  color: var(--brown);
  font-weight: 800;
  text-underline-offset: 4px;
}

.feature-card .button {
  color: #fffaf2;
  text-decoration: none;
}

.home-page .feature-card {
  padding: 0;
  overflow: hidden;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.home-page .feature-card-link {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  height: 100%;
  padding: 24px;
  border-radius: inherit;
  color: inherit;
  font-weight: inherit;
  text-decoration: none;
}

.home-page .home-hero {
  padding-bottom: 18px;
}

.home-page .home-hero + .section {
  padding-top: 28px;
}

.home-page .feature-card .item-image {
  margin-bottom: 20px;
}

.home-page .feature-card .item-image img {
  transition: transform 220ms ease;
}

.home-page .feature-card:hover,
.home-page .feature-card:focus-within {
  border-color: rgba(184, 138, 98, 0.62);
  box-shadow: 0 16px 36px rgba(55, 38, 25, 0.11);
  transform: translateY(-2px);
}

.home-page .feature-card:hover .item-image img,
.home-page .feature-card:focus-within .item-image img {
  transform: scale(1.015);
}

.home-page .feature-card-link:focus-visible {
  outline: 3px solid rgba(138, 98, 69, 0.34);
  outline-offset: -4px;
}

.home-page .feature-card-link .button {
  align-self: end;
  color: #fffaf2;
  text-decoration: none;
}

.shop-room-instruction {
  margin: 0 0 12px !important;
  color: var(--brown-deep) !important;
  font-size: 0.9rem !important;
  font-weight: 700;
}

.shop-hero-instruction {
  margin-top: -16px !important;
}

:is(.modern-page, .japandi-page, .vintage-page) .shop-room-section {
  padding: 8px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

:is(.modern-page, .japandi-page, .vintage-page) .shop-hero {
  position: relative;
  overflow: visible;
}

:is(.modern-page, .japandi-page, .vintage-page) .shop-hero > img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius);
  object-fit: cover;
  object-position: center center;
}

.shop-hotspot {
  position: absolute;
  z-index: 2;
}

.shop-hotspot-loveseat {
  left: 45%;
  top: 61%;
}

.shop-hotspot-rug {
  left: 47%;
  top: 86%;
}

.shop-hotspot-lamp {
  left: 9%;
  top: 34%;
}

.shop-hotspot-japandi-bookshelf {
  left: 29%;
  top: 34%;
}

.shop-hotspot-japandi-rug {
  left: 44%;
  top: 82%;
}

.shop-hotspot-japandi-lamp {
  left: 91%;
  top: 23%;
}

.shop-hotspot-vintage-turntable {
  left: 16%;
  top: 46%;
}

.shop-hotspot-vintage-lamp {
  left: 69%;
  top: 24%;
}

.shop-hotspot-vintage-rug {
  left: 46%;
  top: 85%;
}

.shop-hotspot-marker {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: var(--cta);
  color: #ffffff;
  cursor: pointer;
  font: 700 1.25rem/1 Arial, sans-serif;
  box-shadow: 0 5px 16px rgba(34, 27, 22, 0.3);
  transform: translate(-50%, -50%);
  transition: background 160ms ease, transform 160ms ease;
}

.shop-hotspot-marker:hover,
.shop-hotspot-marker:focus-visible,
.shop-hotspot.is-active .shop-hotspot-marker {
  background: var(--cta-hover);
  outline: 3px solid rgba(255, 250, 242, 0.92);
  outline-offset: 3px;
  transform: translate(-50%, -50%) scale(1.08);
}

.shop-hotspot-popover {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 0;
  z-index: 3;
  display: grid;
  width: min(210px, calc(100vw - 48px));
  gap: 5px;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 15px 36px rgba(34, 27, 22, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 6px);
  visibility: hidden;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.shop-hotspot-lamp .shop-hotspot-popover {
  top: calc(100% + 14px);
  right: auto;
  bottom: auto;
  left: 0;
  transform: translate(0, 6px);
}

.shop-hotspot-below .shop-hotspot-popover,
.shop-hotspot-below-left .shop-hotspot-popover,
.shop-hotspot-below-right .shop-hotspot-popover {
  top: calc(100% + 14px);
  bottom: auto;
}

.shop-hotspot-below-left .shop-hotspot-popover {
  left: 0;
  transform: translate(0, 6px);
}

.shop-hotspot-below-right .shop-hotspot-popover {
  right: 0;
  left: auto;
  transform: translate(0, 6px);
}

.shop-hotspot.is-active .shop-hotspot-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.shop-hotspot-lamp.is-active .shop-hotspot-popover {
  transform: translate(0, 0);
}

.shop-hotspot-below-left.is-active .shop-hotspot-popover,
.shop-hotspot-below-right.is-active .shop-hotspot-popover {
  transform: translate(0, 0);
}

@media (hover: hover) {
  .shop-hotspot:not(.is-dismissed):hover .shop-hotspot-popover,
  .shop-hotspot:not(.is-dismissed):focus-within .shop-hotspot-popover {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
  }

  .shop-hotspot-lamp:not(.is-dismissed):hover .shop-hotspot-popover,
  .shop-hotspot-lamp:not(.is-dismissed):focus-within .shop-hotspot-popover,
  .shop-hotspot-below-left:not(.is-dismissed):hover .shop-hotspot-popover,
  .shop-hotspot-below-left:not(.is-dismissed):focus-within .shop-hotspot-popover,
  .shop-hotspot-below-right:not(.is-dismissed):hover .shop-hotspot-popover,
  .shop-hotspot-below-right:not(.is-dismissed):focus-within .shop-hotspot-popover {
    transform: translate(0, 0);
  }
}

.shop-hotspot-popover strong {
  padding-right: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  line-height: 1.2;
}

.shop-hotspot-popover span {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.shop-hotspot-popover a {
  margin-top: 5px;
  color: var(--cta-hover);
  font-size: 0.84rem;
  font-weight: 800;
  line-height: 1.35;
  text-underline-offset: 3px;
}

.shop-hotspot-close {
  position: absolute;
  top: 7px;
  right: 7px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: 700 1.15rem/1 Arial, sans-serif;
}

.shop-hotspot-close:hover,
.shop-hotspot-close:focus-visible {
  background: var(--surface-deep);
  color: var(--soft-black);
  outline: 2px solid rgba(138, 98, 69, 0.28);
}

@media (max-width: 599px) {
  :is(.modern-page, .vintage-page, .japandi-page) .shop-hotspot-marker {
    position: relative;
    border: 0;
    background: transparent;
    color: transparent;
    box-shadow: none;
    font-size: 0;
  }

  :is(.modern-page, .vintage-page, .japandi-page) .shop-hotspot-marker::before,
  :is(.modern-page, .vintage-page, .japandi-page) .shop-hotspot-marker::after {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    content: "";
    transform: translate(-50%, -50%);
  }

  :is(.modern-page, .vintage-page, .japandi-page) .shop-hotspot-marker::before {
    width: 32px;
    height: 32px;
    border: 2px solid rgba(255, 255, 255, 0.94);
    background: rgba(111, 73, 55, 0.94);
    box-shadow: 0 3px 10px rgba(34, 27, 22, 0.34);
    transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease;
  }

  :is(.modern-page, .vintage-page, .japandi-page) .shop-hotspot-marker::after {
    width: 5px;
    height: 5px;
    background: #fffaf2;
    box-shadow: 0 0 0 1px rgba(34, 27, 22, 0.32);
  }

  :is(.modern-page, .vintage-page, .japandi-page) .shop-hotspot-marker:hover,
  :is(.modern-page, .vintage-page, .japandi-page) .shop-hotspot-marker:focus-visible,
  :is(.modern-page, .vintage-page, .japandi-page) .shop-hotspot.is-active .shop-hotspot-marker {
    background: transparent;
    outline: none;
    transform: translate(-50%, -50%);
  }

  :is(.modern-page, .vintage-page, .japandi-page) .shop-hotspot-marker:focus-visible::before,
  :is(.modern-page, .vintage-page, .japandi-page) .shop-hotspot.is-active .shop-hotspot-marker::before {
    background: rgba(91, 57, 42, 0.98);
    box-shadow: 0 0 0 3px rgba(255, 250, 242, 0.88), 0 4px 12px rgba(34, 27, 22, 0.4);
    transform: translate(-50%, -50%) scale(1.08);
  }

  :is(.vintage-page, .japandi-page) .shop-hotspot-popover {
    width: min(200px, calc(100vw - 40px));
    max-width: 240px;
    padding: 12px;
  }

  :is(.vintage-page, .japandi-page) .shop-hotspot.is-active {
    z-index: 5;
  }

  :is(.vintage-page, .japandi-page) .shop-hotspot.is-active .shop-hotspot-popover {
    z-index: 6;
  }
}

:is(.modern-page, .japandi-page, .vintage-page) .ideas .item-image {
  aspect-ratio: 4 / 3;
}

:is(.modern-page, .japandi-page, .vintage-page) .ideas .idea-card {
  padding: 20px;
}

:is(.modern-page, .japandi-page, .vintage-page) .ideas .item-copy p + p {
  margin-top: -8px;
}

.tonal-band,
.summary {
  background: var(--surface-soft);
}

.disclosure {
  margin: 22px 0 0;
  padding: 15px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.62;
  box-shadow: 0 8px 24px rgba(55, 38, 25, 0.04);
}

.table-of-contents {
  margin: 28px 0 36px;
  padding: 22px;
}

.table-of-contents ol {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  counter-reset: toc;
  margin: 0;
  padding: 0;
  list-style: none;
}

.table-of-contents li {
  counter-increment: toc;
  color: var(--muted);
}

.table-of-contents a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #ffffff;
  color: var(--brown-deep);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.38;
  text-decoration: none;
}

.table-of-contents a::before {
  content: counter(toc);
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  margin-right: 0.55rem;
  border-radius: 50%;
  background: #f1e5d6;
  color: var(--brown-deep);
  font-size: 0.72rem;
}

.ideas {
  display: grid;
  gap: 28px;
  padding: 20px 0 48px;
}

.idea-card {
  position: relative;
  padding: 24px;
  scroll-margin-top: 96px;
}

.ideas .idea-card {
  border-top: 4px solid rgba(184, 138, 98, 0.34);
}

.item-layout {
  display: grid;
  gap: 22px;
}

.item-layout.item-layout-pending-image {
  grid-template-columns: minmax(0, 1fr);
}

.item-image {
  aspect-ratio: 3 / 4;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  overflow: hidden;
  box-shadow: 0 14px 34px rgba(55, 38, 25, 0.08);
}

.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.item-copy {
  min-width: 0;
}

.idea-card h2 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.48rem, 5.6vw, 2.15rem);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.15;
}

.idea-card p {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 1.01rem;
  line-height: 1.82;
}

.idea-card h3 {
  margin: 0 0 10px;
  color: var(--brown-deep);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.35;
  text-transform: uppercase;
}

.idea-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-soft);
  list-style: none;
}

.idea-card li {
  flex: 1 1 100%;
  display: flex;
  cursor: pointer;
}

.idea-card a {
  display: inline-flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border: 1px solid #dfcbb4;
  border-radius: 999px;
  background: var(--link-bg);
  color: var(--brown-deep);
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.idea-card a:hover {
  border-color: var(--caramel);
  background: var(--link-bg-hover);
  transform: translateY(-1px);
}

.japandi-page .idea-card li.featured-product-cta {
  flex: 1 1 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  cursor: default;
  box-shadow: var(--soft-shadow);
}

.product-cta-copy {
  display: grid;
  gap: 5px;
}

.product-cta-copy strong {
  color: var(--text);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-weight: 500;
  line-height: 1.25;
}

.product-cta-copy span {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

.japandi-page .featured-product-cta a {
  flex: none;
  justify-self: start;
  width: fit-content;
  max-width: 100%;
  min-height: 52px;
  padding: 12px;
  border-radius: var(--radius);
  white-space: nowrap;
  border-color: var(--cta);
  background: var(--cta);
  color: #fffaf2;
  box-shadow: 0 10px 20px rgba(112, 65, 46, 0.14);
}

.japandi-page .featured-product-cta a:hover {
  border-color: var(--cta-hover);
  background: var(--cta-hover);
}

#amazon-cta-japandi-table-lamp::after {
  content: none;
}

.japandi-page .featured-product-cta + li a {
  flex: none;
  width: auto;
  min-height: 44px;
  border-color: transparent;
  background: transparent;
  color: var(--muted);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  box-shadow: none;
}

@media (max-width: 719px) {
  .japandi-page .featured-product-cta a {
    width: 100%;
    font-size: 0.85rem;
  }
}

@media (max-width: 359px) {
  .japandi-page .featured-product-cta a {
    white-space: normal;
  }
}

a[target="_blank"][rel~="sponsored"]::after {
  content: "↗";
  margin-left: 0.42rem;
  font-size: 0.82em;
  line-height: 1;
}

.back-to-top {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(18px, env(safe-area-inset-bottom));
  z-index: 9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border: 1px solid rgba(154, 95, 66, 0.32);
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.94);
  color: var(--cta-hover);
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  box-shadow: 0 12px 26px rgba(55, 38, 25, 0.14);
  backdrop-filter: blur(10px);
}

.back-to-top:hover,
.back-to-top:focus-visible {
  border-color: var(--cta);
  background: #ffffff;
}

.summary {
  margin: 12px 0 64px;
  padding: 30px 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--soft-shadow);
}

.content-list {
  display: grid;
  gap: 30px;
}

.content-list article {
  padding-bottom: 26px;
  border-bottom: 1px solid var(--border);
}

.content-list article:last-child {
  border-bottom: 0;
}

.content-list h2,
.legal-copy h2 {
  font-size: clamp(1.5rem, 5vw, 2.2rem);
}

.page-panel a,
.legal-copy a {
  color: var(--brown);
  font-weight: 800;
  text-underline-offset: 4px;
}

.site-footer {
  padding: 38px 0;
  border-top: 1px solid var(--border);
  background: var(--surface-soft);
  color: var(--muted);
}

.footer-grid {
  display: grid;
  gap: 18px;
}

.site-footer p {
  margin: 0;
}

.site-footer .footer-title {
  margin-bottom: 8px;
  color: var(--text);
  font-weight: 800;
}

@media (min-width: 720px) {
  .container {
    width: min(100% - 56px, 1040px);
  }

  .nav-wrap,
  .footer-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
  }

  .site-nav,
  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-toggle,
  .nav-toggle-input {
    display: none;
  }

  .site-nav {
    padding-top: 0;
  }

  .site-nav a {
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .site-nav a[aria-current="page"] {
    background: transparent;
    text-decoration: underline;
  }

  .hero {
    padding: 64px 0 50px;
  }

  .hero-grid {
    grid-template-columns: 1.08fr 0.92fr;
    gap: 44px;
  }

  .article-hero .hero-grid {
    min-height: 560px;
  }

  .home-hero .hero-grid {
    display: block;
    min-height: auto;
  }

  .home-page .home-hero {
    padding-bottom: 21px;
  }

  .home-page .home-hero + .section {
    padding-top: 36px;
  }

  .hero-image {
    min-height: 520px;
  }

  .button {
    width: auto;
  }

  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
  }

  .ideas {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .ideas.single-column {
    grid-template-columns: minmax(0, 1fr);
  }

  .idea-card,
  .feature-card,
  .table-of-contents {
    padding: 30px;
  }

  .item-layout {
    grid-template-columns: minmax(240px, 0.42fr) minmax(0, 0.58fr);
    gap: 30px;
    align-items: center;
  }

  :is(.modern-page, .japandi-page, .vintage-page) .ideas .idea-card {
    padding: 24px;
  }

  :is(.modern-page, .japandi-page, .vintage-page) .ideas .item-layout {
    grid-template-columns: minmax(280px, 0.44fr) minmax(0, 0.56fr);
    gap: 26px;
    align-items: center;
  }

  :is(.modern-page, .japandi-page, .vintage-page) .ideas .item-image {
    aspect-ratio: 4 / 3;
  }

  .table-of-contents ol {
    display: flex;
    column-gap: 10px;
  }

  .idea-card li {
    flex: 1 1 auto;
  }

  .section,
  .intro-section,
  .article-title,
  .page-panel {
    padding: 68px 0;
  }
}
