:root {
  color-scheme: light;
  --ink: #222222;
  --muted: #555b5e;
  --surface: #f1f2f2;
  --line: #d9dcde;
  --accent: #e76532;
  --accent-dark: #ad3f15;
  --radius: 6px;
  font: 16px Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; }
input, select, textarea { font: inherit; color: inherit; }
img { display: block; max-width: 100%; image-rendering: pixelated; }
h1, h2, p { margin: 0; }
h1, h2 { letter-spacing: -.035em; line-height: 1.1; }
p { line-height: 1.5; }
.container { width: calc(100% - 64px); max-width: 1080px; margin-inline: auto; }
.page-heading { margin: 48px 0 32px; }
.page-heading h1 { font-size: 48px; font-weight: 800; }
.page-heading p { font-size: 22px; color: var(--muted); margin-top: 8px; }
.asset-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.featured-texture { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
.featured-texture .preview-stage { aspect-ratio: 1; }
.pack-label { font-size: 14px; font-weight: 700; color: var(--muted); margin-bottom: 10px; }
.featured-texture .pack-details h2 { font-size: 38px; }
.preview-stage { aspect-ratio: 1.1; background: var(--surface); padding: 20px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius); overflow: hidden; }
.preview-stage img { height: 100%; width: auto; max-width: 100%; object-fit: contain; aspect-ratio: 1; }
.pack-details h2 { font-size: 30px; }
.description { font-size: 18px; margin: 16px 0 24px; }
.specs { margin: 0 0 24px; background: var(--surface); border-radius: var(--radius); overflow: hidden; font-size: 16px; }
.specs div { display: grid; grid-template-columns: .65fr 1fr; gap: 12px; padding: 13px 18px; border-bottom: 2px solid #fff; }
.specs div:last-child { border: 0; }
.specs dt { font-weight: 700; }
.specs dd { margin: 0; }
.button { display: flex; align-items: center; justify-content: center; border-radius: var(--radius); min-height: 60px; padding: 16px 20px; font-weight: 800; font-size: 25px; line-height: 1.15; text-align: center; text-decoration: none; }
.primary { background: var(--accent); color: #fff; }
.primary:hover { background: var(--accent-dark); }
.download-note { text-align: center; color: var(--muted); font-size: 15px; margin-top: 10px; }
.individual-downloads { display: flex; flex-wrap: wrap; gap: 16px 22px; margin-top: 22px; font-size: 15px; font-weight: 700; }
.individual-downloads a:hover, .text-link:hover { color: var(--accent-dark); }
.texture-note { font-size: 15px; color: var(--muted); margin-top: 22px; }
.usage-note { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; margin: 38px 0 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.usage-note h2 { font-size: 22px; margin-bottom: 10px; }
.usage-note p { font-size: 16px; max-width: 680px; }
.usage-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.usage-actions .text-link { margin: 0; }
.text-link { display: inline-block; font-weight: 700; font-size: 15px; margin-top: 12px; }
:focus-visible { outline: 3px solid #174f85; outline-offset: 5px; }
.skip-link { position: absolute; left: 16px; top: -80px; background: #fff; padding: 16px; z-index: 10; }
.skip-link:focus { top: 10px; }
.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; }
@media (max-width: 850px) {
  .container { width: calc(100% - 40px); }
  .asset-layout { gap: 26px; grid-template-columns: minmax(0,1.2fr) minmax(0,1fr); }
  .pack-details h2 { font-size: 26px; }
  .preview-stage { padding: 14px; }
  .button { font-size: 22px; }
}
@media (max-width: 640px) {
  .container { width: calc(100% - 32px); }
  .page-heading { margin: 30px 0 24px; }
  .page-heading h1 { font-size: 40px; }
  .page-heading p { font-size: 20px; }
  .asset-layout { grid-template-columns: 1fr; gap: 30px; }
  .preview-stage { aspect-ratio: 1.06; padding: 14px; }
  .pack-details h2 { font-size: 28px; }
  .button { font-size: 25px; }
  .specs div { grid-template-columns: .8fr 1fr; }
  .usage-note { grid-template-columns: 1fr; gap: 22px; margin-top: 30px; padding-top: 24px; }
  .usage-actions { align-items: flex-start; }
  .featured-texture .pack-details h2 { font-size: 34px; }
  .featured-texture .button { font-size: 20px; padding-inline: 12px; }
}
.variations { margin-top: 48px; }
.variations h2 { font-size: 24px; margin-bottom: 10px; }
.section-heading { display: flex; gap: 24px; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.section-heading p, .collection-note { color: var(--muted); }
.variation-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; }
.variation-card { display: grid; grid-template-columns: 104px minmax(0,1fr); gap: 16px; align-items: start; text-decoration: none; min-width: 0; }
.variation-card img { width: 100%; height: auto; aspect-ratio: 1; border-radius: var(--radius); }
.variation-card h3 { font-size: 20px; margin: 0 0 8px; letter-spacing: -.025em; }
.variation-card p { font-size: 14px; }
.variation-card span { display: inline-block; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; margin-top: 10px; }
.variation-card:hover h3 { color: var(--accent-dark); }
.collection-note { margin-top: 22px; font-size: 15px; max-width: 850px; }
.back-link { display: inline-block; font-size: 16px; font-weight: 700; margin-top: 30px; }
.detail-heading { margin-top: 24px; }
.detail-notes { max-width: 850px; margin-top: 38px; }
.detail-notes h2 { font-size: 25px; margin-bottom: 14px; }
.detail-notes p + p { margin-top: 14px; }
.about-summary { display: grid; grid-template-columns: 1fr 1.65fr; gap: 44px; margin-top: 48px; padding: 30px 0; border-top: 1px solid var(--line); }
.about-summary h2 { font-size: 26px; }
.about-summary p { max-width: 650px; font-size: 17px; }
.site-footer { display: flex; flex-wrap: wrap; gap: 16px 28px; padding: 0 0 32px; font-size: 14px; color: var(--muted); }
.site-footer a:hover, .prose a:hover { color: var(--accent-dark); }
.prose { max-width: 760px; }
.prose .lead { font-size: 21px; line-height: 1.5; }
.prose h2 { margin: 32px 0 12px; font-size: 25px; }
.prose p + p { margin-top: 16px; }
.prose p { font-size: 17px; line-height: 1.65; }
.pattern-preview { display: grid; grid-template-columns: 1fr 1fr; max-width: 560px; margin: 24px 0; overflow: hidden; border-radius: var(--radius); }
.pattern-preview img { width: 100%; height: auto; }
.feedback-layout { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: 64px; }
.feedback-layout label { display: block; font-weight: 700; margin-bottom: 10px; }
.feedback-layout select, .feedback-layout textarea { display: block; width: 100%; padding: 14px; background: #fff; border: 1px solid #91989b; border-radius: var(--radius); line-height: 1.5; }
.feedback-layout select { margin-bottom: 24px; }
.feedback-layout textarea { resize: vertical; min-height: 180px; }
.feedback-layout .field-help { color: var(--muted); font-size: 14px; margin-top: 10px; }
.feedback-layout .button { border: 0; margin-top: 24px; font-size: 20px; min-height: 54px; cursor: pointer; }
.feedback-layout .button:disabled { opacity: .65; cursor: wait; }
.feedback-note { padding-top: 2px; }
.feedback-note h2 { font-size: 23px; margin-bottom: 14px; }
.feedback-note p { color: var(--muted); }
.feedback-note details { margin-top: 24px; }
.feedback-note summary { font-weight: 700; cursor: pointer; }
.feedback-note details p { margin-top: 12px; font-size: 14px; }
.form-status { margin-top: 18px; color: #245c36; }
.form-status.is-error { color: #a3291e; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.page-heading .error-code { color: var(--accent-dark); font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.error-actions { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; margin: 28px 0 60px; }
.error-actions .button { font-size: 20px; }
.error-actions .text-link { margin: 0; }
code { overflow-wrap: anywhere; }
@media (min-width:641px) and (max-width:1000px) {
  .variation-card { grid-template-columns: 1fr; }
  .variation-card img { width: 128px; }
}
@media (max-width:640px) {
  .section-heading { display: block; }
  .variations { margin-top: 36px; }
  .variation-grid { grid-template-columns: 1fr; gap: 30px; }
  .variations h2 { font-size: 24px; }
  .back-link { margin-top: 24px; }
  .detail-heading { margin-top: 22px; }
  .about-summary, .feedback-layout { grid-template-columns: 1fr; gap: 22px; }
  .about-summary { margin-top: 36px; padding-bottom: 10px; }
  .feedback-layout { gap: 36px; }
  .prose .lead { font-size: 19px; }
  .feedback-layout .button { width: 100%; }
}
