/* Homepage desktop only. Keep every visual rule at the existing 768px boundary. */
.home-desktop-only { display: none; }
@media (min-width: 768px) {
  .home-desktop-only { display: block; }
  [data-home-desktop-section], .stats-grid { display: none !important; }
  body { background: #fcfaf9; }
  #main-navbar { background: rgba(252,250,249,.97); backdrop-filter: none; -webkit-backdrop-filter: none; padding-block: 14px; border-color: #eee7e4; }
  #main-navbar > div { max-width: 1180px; }
  #main-navbar a, #main-navbar button { transition: color 180ms ease, background-color 180ms ease, transform 180ms ease; }
  #main-navbar [data-cta-id="desktop_nav_start"] { border-radius: 10px; box-shadow: none; }
  #desktop-collections-dropdown { max-width: calc(100vw - 64px) !important; }
  .hero-gradient { padding: 24px 32px 32px; background: #fcfaf9; }
  .hero-gradient > div { max-width: 1180px; }
  .hero-content { min-height: 360px; border-radius: 26px; border: 1px solid #f2e3e5; background: #fff5f6; box-shadow: none; }
  .hero-content::before { background: linear-gradient(90deg, #fff5f6 0%, #fff5f6 43%, rgba(255,245,246,.5) 58%, transparent 75%); }
  .hero-copy { width: 60%; max-width: none; padding: 38px 42px; margin: 0; text-align: left; }
  .hero-kicker { margin: 0 0 16px !important; padding: 0; background: none; border: 0; box-shadow: none; font-size: 10px; letter-spacing: .12em; color: #9e3450; }
  .hero-kicker > span:first-child { display: none; }
  .hero-title { font-size: clamp(38px, 4.1vw, 56px); line-height: 1.07; letter-spacing: -.035em; text-wrap: initial; margin: 0 0 18px !important; max-width: none; }
  .hero-title .text-brand-500 { color: #d73e64; }
  .hero-lede { font-size: 16px; line-height: 1.65; font-weight: 400; max-width: 440px; margin: 0 0 23px !important; color: #626170; }
  .hero-art-wrap { opacity: .9; left: 44%; width: 56%; }
  .hero-art-wrap img { object-fit: cover; object-position: 73% center; }
  .hero-actions { justify-content: flex-start; gap: 14px; }
  .hero-actions .hero-button { padding: 12px 22px !important; font-size: 14px; border-radius: 11px; box-shadow: none; min-height: 46px; transition: transform 200ms ease, background-color 200ms ease; }
  .hero-actions .hero-button:first-child { background: #d7355d; }
  .hero-actions .hero-button:first-child:hover { background: #b9254a; transform: translateY(-2px); }
  .hero-actions .hero-button:last-child { border: 0; background: none; padding-inline: 6px !important; }
  .desktop-hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 23px; font-size: 10px; letter-spacing: .04em; color: #7b6670; }
  #gallery { max-width: 1244px; padding: 12px 32px 52px; scroll-margin-top: 95px; }
  #gallery-container { border: 0; border-radius: 0; padding: 0; box-shadow: none; background: none; scroll-margin-top: 95px; }
  #gallery-container > div:first-child { display: block; margin-bottom: 22px; }
  #gallery-container > div:first-child > div { max-width: none; }
  #gallery-container h2 { font-size: 32px; line-height: 1.2; font-style: normal; margin: 0 0 9px; letter-spacing: -.025em; }
  #gallery-container > div:first-child p { font-size: 14px; color: #666775; font-weight: 400; }
  #category-filters { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 21px; }
  #category-filters a { display: inline-flex; align-items: center; margin: 0; padding: 9px 14px; min-height: 40px; font-size: 12px; font-weight: 600; border: 1px solid #e9e1df; background: #fff; color: #615864; box-shadow: none; transform: none; transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease; }
  #category-filters a:hover { background: #fff0f3; border-color: #eac1cb; }
  #category-filters a.bg-rose-500 { background: #d7355d; color: #fff; border-color: #d7355d; }
  #gallery-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
  #gallery-grid > div { min-width: 0; border: 1px solid #ece5e2; border-radius: 18px; box-shadow: 0 4px 14px rgba(53,32,40,.025); animation: desktop-card-enter 260ms ease-out; transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
  #gallery-grid > div:hover { transform: translateY(-4px); border-color: #e3b8c3; box-shadow: 0 12px 26px rgba(53,32,40,.07); }
  #gallery-grid > div > div:first-child { height: 170px; }
  #gallery-grid img { transition: transform 350ms ease; }
  #gallery-grid > div:hover img { transform: scale(1.035); }
  #gallery-grid > div > div:last-child { padding: 18px; }
  #gallery-grid h3 { font-size: 18px; line-height: 1.3; }
  #gallery-grid p { font-size: 12px; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  #gallery-grid > div > div:last-child > a { border: 1px solid #eec7d1; border-radius: 10px; font-size: 11px; min-height: 40px; display: flex; align-items: center; justify-content: center; letter-spacing: .04em; color: #b72b4d; background: #fff7f9; transition: color 180ms ease, background-color 180ms ease; }
  #gallery-grid > div > div:last-child > a:hover { background: #d7355d; color: #fff; }
  #pagination-controls { gap: 6px; margin-top: 27px; flex-wrap: wrap; }
  #pagination-controls button { width: 40px; min-height: 40px; border-radius: 10px; margin: 0; font-size: 13px; }
  #pagination-controls button.bg-rose-500 { background: #d7355d; border-color: #d7355d; }
  .desktop-after-catalog { max-width: 1244px; padding: 0 32px; margin-inline: auto; }
  .desktop-section { padding: 44px 0; border-top: 1px solid #e9e1df; scroll-margin-top: 95px; }
  .desktop-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
  .desktop-eyebrow { font-size: 10px; line-height: 1.5; letter-spacing: .13em; font-weight: 600; color: #9e3450; margin-bottom: 9px; }
  .desktop-section h2 { font: 700 32px/1.2 'Playfair Display',Georgia,serif; letter-spacing: -.025em; color: #262330; }
  .desktop-text-link { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: #9e3450; min-height: 36px; }
  .desktop-text-link:hover { color: #c52d52; }
  .desktop-steps { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
  .desktop-steps li { display: flex; align-items: flex-start; gap: 15px; }
  .desktop-steps li > span { font: italic 28px/1.2 'Playfair Display',Georgia,serif; color: #c691a0; }
  .desktop-steps h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
  .desktop-steps p { font-size: 13px; line-height: 1.7; color: #686472; }
  .desktop-reading-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .desktop-reading { display: flex; align-items: center; gap: 27px; padding: 32px; border-radius: 20px; transition: transform 230ms ease, box-shadow 230ms ease; }
  .desktop-reading:hover { transform: translateY(-3px); box-shadow: 0 12px 25px rgba(53,32,40,.06); }
  .desktop-reading-poems { background: #f3ede5; }
  .desktop-reading-texts { background: #f9e9ee; }
  .desktop-reading-icon { font: 48px Georgia,serif; color: #9e3450; width: 58px; flex-shrink: 0; text-align: center; }
  .desktop-reading h3 { font: 700 24px/1.25 'Playfair Display',Georgia,serif; margin-bottom: 12px; }
  .desktop-reading div > p:not(.desktop-eyebrow) { font-size: 13px; line-height: 1.7; color: #686472; max-width: 340px; margin-bottom: 17px; }
  .desktop-section-note { font-size: 13px; line-height: 1.6; color: #686472; }
  .desktop-project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
  .desktop-project { display: flex; align-items: center; gap: 20px; padding: 23px; border-radius: 16px; background: #fff; border: 1px solid #e9e3ed; transition: transform 220ms ease, border-color 220ms ease; }
  .desktop-project:hover { transform: translateY(-3px); border-color: #bfa6c9; }
  .desktop-project-icon { display: grid; place-items: center; width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px; font-size: 27px; color: #84628f; background: #f6eff9; }
  .desktop-project h3 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
  .desktop-project p { font-size: 13px; color: #686472; line-height: 1.6; }
  .desktop-project small { display: block; font-size: 11px; color: #85668e; margin-top: 9px; }
  .desktop-arrow { margin-left: auto; font-size: 22px; color: #85668e; }
  .desktop-guide-details { max-width: 1180px; margin: 0 auto 44px; border-block: 1px solid #e9e1df; }
  .desktop-guide-details > summary { padding: 25px 2px; font-size: 15px; font-weight: 600; cursor: pointer; color: #55505e; }
  .desktop-guide-details[open] > summary { color: #9e3450; }
  .desktop-guide-details #home-guide { padding: 8px 0 30px; background: transparent; }
  .desktop-guide-details #home-guide h2 { font-size: 28px; }
  .desktop-guide-details #home-guide h3 { font-size: 22px; }
  .desktop-guide-details #home-guide p { font-size: 15px; }
  body > footer { padding-top: 36px; padding-bottom: 24px; }
  body > footer > div { max-width: 1244px; padding-inline: 32px; }
  body > footer > div > div:first-child { margin-bottom: 28px; }
  a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #b72b4d; outline-offset: 4px; }
  @keyframes desktop-card-enter { from { opacity: .4; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
}
@media (min-width: 768px) and (max-width: 1100px) {
  #main-navbar > div > .md\:flex { gap: 14px; }
  #main-navbar > div > a > span { font-size: 21px; }
  #main-navbar .md\:flex > a, #desktop-collections-btn { font-size: 12px; }
  #main-navbar [data-cta-id="desktop_nav_start"] { padding-inline: 13px; }
  .hero-copy { width: 65%; padding: 30px; }
  .hero-title { font-size: 42px; }
  .hero-art-wrap { left: 40%; width: 60%; }
  .hero-content::before { background: linear-gradient(90deg,#fff5f6 0%,#fff5f6 45%,rgba(255,245,246,.8) 63%,transparent 92%); }
  .desktop-hero-note { gap: 12px; }
  .desktop-guide-details { margin-inline: 32px; }
  .desktop-reading { padding: 24px; gap: 16px; }
  .desktop-reading-icon { display: none; }
  .desktop-project { gap: 12px; padding: 18px; }
  .desktop-section-head { align-items: flex-start; }
  .desktop-section-head > a { max-width: 210px; }
}
@media (min-width: 768px) and (max-width: 900px) {
  #gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .desktop-project-icon { display: none; }
  .desktop-section h2 { font-size: 28px; }
}
@media (min-width: 768px) and (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
