/* Silkysacks.com — Randomized style selection: Editorial */
:root {
  --ink: #241b19;
  --cream: #f4efe7;
  --paper: #fbf8f2;
  --rose: #c98f8c;
  --rose-deep: #8f5a59;
  --sage: #aab3a2;
  --gold: #c7a46a;
  --line: rgba(36, 27, 25, .20);
  --sans: "DM Sans", Arial, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
img { max-width: 100%; display: block; }
::selection { background: var(--rose); color: var(--paper); }

.skip-link {
  position: fixed;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: .8rem 1rem;
  background: var(--ink);
  color: white;
}
.skip-link:focus { top: 1rem; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

.announcement {
  min-height: 34px;
  display: grid;
  place-items: center;
  padding: .4rem 1rem;
  background: var(--ink);
  color: #fffaf3;
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.announcement p { margin: 0; }

.site-header {
  min-height: 84px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(1.25rem, 5vw, 5rem);
  border-bottom: 1px solid var(--line);
  background: rgba(251,248,242,.95);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  width: max-content;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}
.brand-mark {
  width: 35px; height: 35px;
  display: grid;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-family: var(--serif);
  font-style: italic;
}
.primary-nav { display: flex; gap: 2rem; }
.primary-nav a, .header-cta {
  font-size: .73rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.primary-nav a { position: relative; }
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%; bottom: -.35rem;
  height: 1px;
  background: currentColor;
  transition: right .25s ease;
}
.primary-nav a:hover::after { right: 0; }
.header-cta {
  justify-self: end;
  padding-bottom: .25rem;
  border-bottom: 1px solid var(--ink);
}
.menu-toggle { display: none; }

.hero {
  min-height: min(760px, calc(100vh - 118px));
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  border-bottom: 1px solid var(--line);
}
.hero-copy {
  padding: clamp(4rem, 8vw, 8.5rem) clamp(1.5rem, 7vw, 7.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.eyebrow {
  margin: 0 0 1.6rem;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.hero h1, h2, blockquote {
  font-family: var(--serif);
  font-weight: 600;
  line-height: .98;
  letter-spacing: -.035em;
}
.hero h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(3.7rem, 7.4vw, 8.2rem);
}
.hero h1 em {
  color: var(--rose-deep);
  font-weight: 500;
}
.hero-intro {
  max-width: 590px;
  margin: 2.4rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.28rem);
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 2.6rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: .85rem 1.35rem;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--paper); }
.text-link {
  display: inline-flex;
  gap: .7rem;
  align-items: center;
  padding-bottom: .2rem;
  border-bottom: 1px solid;
  font-size: .8rem;
  font-weight: 600;
}
.hero-art {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(255,255,255,.3), transparent 36%),
    #d8b7b1;
  border-left: 1px solid var(--line);
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: 4%;
  border: 1px solid rgba(36,27,25,.25);
}
.issue-label {
  position: absolute;
  top: 8%; left: 8%;
  z-index: 4;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 3.6rem);
  line-height: .86;
}
.silk-shape {
  position: absolute;
  filter: drop-shadow(0 26px 25px rgba(70, 43, 38, .18));
  transform-origin: center;
  animation: drift 9s ease-in-out infinite;
}
.shape-one {
  width: 67%; height: 48%;
  left: 13%; top: 27%;
  background: linear-gradient(145deg, #f9e8df 0%, #c4817d 46%, #8d5554 100%);
  border-radius: 50% 18% 43% 22% / 35% 45% 20% 40%;
  transform: rotate(-11deg);
}
.shape-two {
  width: 54%; height: 39%;
  right: -2%; top: 16%;
  background: linear-gradient(155deg, #f7efe5, #bb9b86 58%, #6d4a45);
  border-radius: 24% 56% 29% 53% / 51% 25% 62% 26%;
  transform: rotate(18deg);
  animation-delay: -2.5s;
}
.shape-three {
  width: 62%; height: 28%;
  left: 8%; bottom: 10%;
  background: linear-gradient(165deg, #f5ddcd, #a16d65 67%, #674440);
  border-radius: 62% 31% 52% 18% / 31% 58% 21% 56%;
  transform: rotate(7deg);
  animation-delay: -5s;
}
@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}
.art-caption {
  position: absolute;
  z-index: 5;
  right: 8%; bottom: 7%;
  width: min(230px, 45%);
  padding-top: .7rem;
  border-top: 1px solid var(--ink);
  display: flex;
  gap: 1rem;
  font-size: .75rem;
}
.art-caption p { margin: 0; }

.marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.marquee-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: 2.4rem;
  padding: 1.2rem 0;
  animation: marquee 25s linear infinite;
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
}
.marquee-track i {
  width: 5px; height: 5px;
  background: var(--rose-deep);
  border-radius: 50%;
}
@keyframes marquee { to { transform: translateX(-50%); } }

.section-pad { padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 6vw, 6rem); }
.section-heading {
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}
.section-heading h2, .story-copy h2, .newsletter h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.5vw, 6.5rem);
}
.section-heading > p {
  max-width: 470px;
  margin: 0;
  font-size: 1rem;
}

.product-grid {
  display: grid;
  grid-template-columns: 1.25fr .875fr .875fr;
  gap: clamp(1.3rem, 2.4vw, 2.6rem);
}
.product-card {
  padding-bottom: 1.2rem;
  border-bottom: 1px solid var(--ink);
}
.product-visual {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  margin-bottom: 1.35rem;
}
.product-featured .product-visual { aspect-ratio: 5/6; }
.product-number {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 6;
  font-size: .65rem;
  letter-spacing: .16em;
}
.badge {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 6;
  padding: .45rem .65rem;
  background: var(--ink);
  color: white;
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.visual-pillow { background: #c7d0bf; }
.pillow {
  position: absolute;
  border-radius: 16% 22% 14% 20%;
  box-shadow: inset -20px -25px 50px rgba(92,66,50,.15), 0 28px 40px rgba(65,46,39,.15);
}
.pillow-back {
  width: 68%; height: 54%;
  top: 18%; left: 12%;
  background: linear-gradient(145deg, #e7d8c6, #aa7d6e);
  transform: rotate(-13deg);
}
.pillow-front {
  width: 66%; height: 50%;
  top: 36%; right: 7%;
  background: linear-gradient(145deg, #f7eee1, #cda59a 70%, #976c67);
  transform: rotate(7deg);
}
.visual-mask { background: #d7c7bc; }
.sleep-mask {
  position: absolute;
  width: 70%; height: 31%;
  top: 36%; left: 15%;
  background: linear-gradient(150deg, #6d4b4a, #b9807f 55%, #e5bbb2);
  border-radius: 44% 44% 35% 35% / 56% 56% 70% 70%;
  transform: rotate(-6deg);
  box-shadow: inset 0 -18px 25px rgba(61,31,31,.22), 0 24px 30px rgba(58,39,36,.18);
}
.mask-strap {
  position: absolute;
  width: 80%; height: 16%;
  top: 42%; left: 10%;
  border: 13px solid #8b6560;
  border-radius: 50%;
  transform: rotate(-6deg);
}
.visual-pouch { background: #c9c4b3; }
.pouch-body {
  position: absolute;
  width: 66%; height: 63%;
  left: 17%; top: 20%;
  background: linear-gradient(130deg, #f0e4c8, #bc9b68 67%, #896a42);
  border-radius: 8% 8% 22% 22% / 6% 6% 13% 13%;
  box-shadow: inset -25px -10px 40px rgba(70,50,28,.18), 0 30px 35px rgba(53,47,34,.16);
}
.pouch-body::before {
  content: "";
  position: absolute;
  left: 5%; right: 5%; top: 12%;
  height: 2px;
  background: rgba(83,60,34,.4);
}
.pouch-string {
  position: absolute;
  z-index: 4;
  width: 53%; height: 26%;
  left: 24%; top: 20%;
  border: 3px solid #725a3d;
  border-bottom-color: transparent;
  border-radius: 50%;
}
.product-info {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}
.product-kicker {
  margin: 0 0 .35rem;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.product-info h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2vw, 2.2rem);
}
.price { margin: .15rem 0 0; white-space: nowrap; font-size: .8rem; }
.product-description { min-height: 4.7em; font-size: .83rem; }
.card-link {
  display: flex;
  justify-content: space-between;
  padding-top: .7rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quote-band {
  padding: clamp(5rem, 9vw, 9rem) max(1.3rem, 10vw);
  text-align: center;
  background: var(--ink);
  color: #f9f1e7;
}
.quote-band blockquote {
  max-width: 1100px;
  margin: 0 auto 2rem;
  font-size: clamp(2.7rem, 5vw, 6rem);
  font-style: italic;
}
.quote-band > span {
  font-size: .68rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.story {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}
.story-visual {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  background: #b6b8a5;
}
.vertical-note {
  position: absolute;
  z-index: 4;
  left: 1.2rem; top: 1.4rem;
  writing-mode: vertical-rl;
  font-size: .65rem;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.story-circle {
  position: absolute;
  width: 65%; aspect-ratio: 1;
  right: -9%; top: 3%;
  border-radius: 50%;
  background: #e7c1b4;
}
.story-fold {
  position: absolute;
  filter: drop-shadow(0 30px 25px rgba(60,45,40,.15));
}
.fold-a {
  width: 72%; height: 63%;
  left: 8%; top: 18%;
  background: linear-gradient(145deg, #eadfd1, #a9796f 60%, #6f4b47);
  border-radius: 48% 18% 53% 23% / 18% 52% 20% 55%;
  transform: rotate(-8deg);
}
.fold-b {
  width: 50%; height: 44%;
  right: 5%; bottom: 8%;
  background: linear-gradient(160deg, #f7e9df, #bd8c83 62%, #79514e);
  border-radius: 20% 52% 24% 57% / 58% 21% 55% 22%;
  transform: rotate(15deg);
}
.figure-caption {
  position: absolute;
  z-index: 5;
  left: 1.3rem; bottom: 1.2rem;
  margin: 0;
  font-size: .65rem;
  letter-spacing: .08em;
}
.story-copy h2 { margin-bottom: 2rem; }
.story-copy > p:not(.eyebrow) { font-size: 1.08rem; }
.drop-cap::first-letter {
  float: left;
  margin: .05em .12em 0 0;
  font-family: var(--serif);
  font-size: 4.4rem;
  line-height: .8;
}
.story-points { margin-top: 3rem; border-top: 1px solid var(--line); }
.story-points > div {
  display: grid;
  grid-template-columns: 48px 1fr 1.15fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.story-points span { font-size: .65rem; letter-spacing: .14em; }
.story-points h3 { margin: 0; font-family: var(--serif); font-size: 1.2rem; }
.story-points p { margin: 0; font-size: .8rem; }

.journal { background: var(--cream); }
.journal-heading { align-items: end; }
.journal-heading > a { justify-self: end; }
.article-grid {
  display: grid;
  grid-template-columns: 1.25fr .875fr .875fr;
  gap: clamp(1.2rem, 2vw, 2.2rem);
}
.article-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 1.2rem;
}
.article-large .article-image { aspect-ratio: 5/4; }
.article-image > span {
  position: absolute;
  top: 1rem; left: 1rem;
  z-index: 3;
  padding: .4rem .55rem;
  background: var(--paper);
  font-size: .58rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.article-image-one { background: #c4a8a2; }
.line-art {
  position: absolute;
  width: 60%; height: 66%;
  top: 18%; left: 20%;
  border: 1px solid #553d3c;
  border-radius: 50% 25% 45% 20%;
  transform: rotate(16deg);
}
.line-art::before, .line-art::after {
  content: "";
  position: absolute;
  border: 1px solid #553d3c;
  border-radius: inherit;
}
.line-art::before { inset: 12%; }
.line-art::after { inset: 26%; }
.article-image-two { background: #767268; }
.moon {
  position: absolute;
  width: 49%; aspect-ratio: 1;
  left: 28%; top: 22%;
  border-radius: 50%;
  background: #e9ddc5;
  box-shadow: -28px 12px 0 8px #767268;
}
.article-image-three { background: #b7b09a; }
.ticket-shape {
  position: absolute;
  width: 62%; height: 38%;
  left: 19%; top: 31%;
  border: 2px solid #473f35;
  transform: rotate(-8deg);
}
.ticket-shape::before {
  content: "SS / 001";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 1.8rem;
}
.article-meta {
  display: flex;
  justify-content: space-between;
  font-size: .61rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.article-card h3 {
  margin: .8rem 0;
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 2.25rem);
  line-height: 1.08;
}
.article-card > p { font-size: .8rem; }

.newsletter {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 5rem;
  align-items: end;
  padding: clamp(5rem, 9vw, 9rem) clamp(1.25rem, 8vw, 8rem);
  background: #c98f8c;
}
.newsletter-copy > p:last-child { max-width: 600px; }
.newsletter-form label {
  display: block;
  margin-bottom: .6rem;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.form-row {
  display: flex;
  border-bottom: 1px solid var(--ink);
}
.form-row input {
  width: 100%;
  padding: 1rem 0;
  border: 0;
  outline: 0;
  background: transparent;
}
.form-row input::placeholder { color: rgba(36,27,25,.65); }
.form-row button {
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.form-note { font-size: .66rem; }
.form-note.success { font-weight: 600; }

footer {
  padding: 4rem clamp(1.25rem, 6vw, 6rem) 1.5rem;
  background: var(--ink);
  color: #f8f1e8;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.2);
}
.footer-top p { max-width: 390px; text-align: right; font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  padding: 3rem 0;
}
.footer-grid > div { display: flex; flex-direction: column; gap: .65rem; }
.footer-grid h3 {
  margin: 0 0 .5rem;
  font-size: .62rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.footer-grid a { width: max-content; font-family: var(--serif); font-size: 1.15rem; }
.footer-bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.2);
  font-size: .62rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.footer-bottom > div { display: flex; gap: 1.3rem; }
.footer-bottom > p:last-child { text-align: right; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .primary-nav {
    position: fixed;
    inset: 118px 0 0;
    padding: 3rem 1.5rem;
    background: var(--paper);
    flex-direction: column;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav a { font-family: var(--serif); font-size: 2rem; letter-spacing: 0; text-transform: none; }
  .header-cta { display: none; }
  .menu-toggle {
    display: inline-flex;
    width: 44px; height: 44px;
    border: 0;
    background: transparent;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
  }
  .menu-toggle span:not(.sr-only) { width: 24px; height: 1px; background: var(--ink); transition: .25s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

  .hero { grid-template-columns: 1fr; }
  .hero-art { min-height: 620px; border-left: 0; border-top: 1px solid var(--line); }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .product-grid, .article-grid { grid-template-columns: 1fr 1fr; }
  .product-featured, .article-large { grid-column: 1 / -1; }
  .product-featured .product-visual { aspect-ratio: 16/10; }
  .story { grid-template-columns: 1fr; }
  .story-visual { min-height: 620px; }
  .newsletter { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 640px) {
  .announcement { font-size: .55rem; text-align: center; }
  .site-header { min-height: 72px; }
  .primary-nav { inset: 106px 0 0; }
  .hero-copy { padding-top: 5rem; padding-bottom: 5rem; }
  .hero h1 { font-size: clamp(3.2rem, 17vw, 5.2rem); }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 1.3rem; }
  .hero-art { min-height: 500px; }
  .issue-label { top: 9%; }
  .section-pad { padding-left: 1.15rem; padding-right: 1.15rem; }
  .product-grid, .article-grid { grid-template-columns: 1fr; }
  .product-featured, .article-large { grid-column: auto; }
  .product-featured .product-visual, .product-visual { aspect-ratio: 4/5; }
  .story-visual { min-height: 510px; }
  .story-points > div { grid-template-columns: 35px 1fr; }
  .story-points p { grid-column: 2; }
  .journal-heading > a { justify-self: start; }
  .newsletter { padding-left: 1.2rem; padding-right: 1.2rem; }
  .form-row { align-items: end; }
  .footer-top { align-items: flex-start; flex-direction: column; }
  .footer-top p { text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { grid-template-columns: 1fr; }
  .footer-bottom > p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
