/* An editorial reading page within the ASLAN identity. */
.guide-page { background: var(--paper); color: var(--ink); }
.guide-page .site-header, .guide-page .mobile-nav, .guide-page .site-footer { color: var(--paper); }
.guide-page :is(a, button):focus-visible { outline-color: #98663c; }
.guide-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  min-height: 480px;
  background: var(--ink);
  color: var(--paper);
}
.guide-intro-copy { padding: 34px 10% 46px 11.5%; align-self: center; }
.guide-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; color: #b8c0b6; font-size: .875rem; margin-bottom: 35px; }
.guide-breadcrumb a { text-decoration: underline; text-underline-offset: 5px; }
.guide-breadcrumb a:hover { color: var(--copper); }
.guide-eyebrow { font-size: .8125rem; letter-spacing: .1em; font-weight: 550; }
.guide-intro .guide-eyebrow { color: #cfab83; }
.guide-intro h1 { font-size: clamp(2.8rem, 4.3vw, 4.7rem); line-height: 1.12; letter-spacing: -.04em; margin: 18px 0 23px; }
.guide-intro h1 > * { display: block; }
.guide-intro h1 em { margin-top: 5px; }
.guide-lead { font-size: 1rem; line-height: 1.8; color: #c7cec3; max-width: 520px; margin-bottom: 28px; }
.guide-process { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; font-size: .875rem; }
.guide-process a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid #778071; transition: color .25s, border-color .25s; }
.guide-process a:hover { color: #e1b88b; border-color: #e1b88b; }
.guide-process [aria-hidden] { color: var(--copper); }
.guide-intro-image { margin: 0; position: relative; min-width: 0; overflow: hidden; }
.guide-intro-image img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; object-position: center 57%; }
.guide-intro-image::after { content: ''; position: absolute; inset: 25px; border: 1px solid rgba(239, 211, 181, .4); pointer-events: none; }
.guide-intro-image figcaption { position: absolute; inset: auto 0 0; padding: 65px 42px 40px; background: linear-gradient(transparent, rgba(20, 23, 20, .85)); font-size: .875rem; }
.guide-toc { position: sticky; top: var(--header-height); background: rgba(243, 241, 235, .97); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid #cdcfc4; z-index: 10; }
.guide-toc > div { width: 85%; max-width: 1320px; margin: auto; display: flex; justify-content: space-between; gap: 16px; }
.guide-toc a { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 17px 0; font-size: .875rem; border-bottom: 2px solid transparent; transition: color .25s, border-color .25s; }
.guide-toc a:hover, .guide-toc a[aria-current="location"] { color: #80532e; border-color: #98663c; }
.guide-toc-number { display: grid; place-items: center; flex: 0 0 29px; height: 29px; border: 1px solid #c8b9a6; border-radius: 50%; font-size: .75rem; color: #845a38; transition: color .25s, background .25s, border-color .25s; }
.guide-toc a[aria-current="location"] .guide-toc-number { color: #fff; background: #80532e; border-color: #80532e; }
.guide-content { width: 85%; max-width: 1320px; margin: auto; }
.guide-section { display: grid; grid-template-columns: 25% minmax(0, 1fr); gap: 5%; padding: 85px 0; border-bottom: 1px solid #cdcfc4; scroll-margin-top: var(--guide-nav-height, 74px); }
.guide-section-heading { min-width: 0; }
.guide-index { display: flex; align-items: center; gap: 20px; color: #936844; font: 400 3.8rem/1 var(--serif); margin-bottom: 24px; font-variant-numeric: tabular-nums; }
.guide-index::after { content: ''; width: 45px; height: 1px; background: #b7a48e; }
.guide-section h2 { font: 400 clamp(1.8rem, 2.5vw, 2.7rem)/1.22 var(--serif); letter-spacing: -.035em; margin: 0; }
.guide-section h3 { font-size: 1.125rem; font-weight: 550; margin: 0 0 12px; line-height: 1.35; }
.guide-section-body { min-width: 0; }
.guide-section-body p { color: #525a51; margin: 0 0 16px; line-height: 1.8; }
.guide-section-body .guide-section-lead { font-size: 1.125rem; color: #303a32; margin-bottom: 35px; }
.fiber-row { display: grid; grid-template-columns: 36% minmax(0, 1fr); gap: 6%; border-top: 1px solid #cdcfc4; padding: 25px 0; }
.fiber-row:last-child { padding-bottom: 0; }
.fiber-row h3 { font: 400 1.7rem/1.3 var(--serif); margin-bottom: 0; }
.guide-section-body .fiber-category { display: block; font-size: .75rem; color: #765232; letter-spacing: .075em; margin: 0 0 9px; }
.yarn-basics { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.yarn-basics > div { padding-top: 22px; border-top: 1px solid #a9ad9f; }
.yarn-basics p { margin: 0; }
.yarn-counts { margin-top: 35px; padding: 36px; background: var(--ink); color: var(--paper); border-top: 2px solid #aa784e; }
.yarn-counts .guide-eyebrow { color: #d3ad83; font-size: .8125rem; margin-bottom: 27px; }
.yarn-count-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 35px; }
.yarn-count-grid h3 { font: 400 2.8rem/1.2 var(--serif); color: #dfb78b; }
.yarn-count-grid p { margin: 0; color: #d0d5c9; }
.yarn-count-grid > div + div { border-left: 1px solid #566052; padding-left: 30px; }
.fabric-comparison { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.fabric-comparison article { border-top: 1px solid #a9ad9f; padding-top: 22px; }
.fabric-comparison h3 { font: 400 2rem/1.2 var(--serif); }
.fabric-comparison .fabric-uses { color: #2f3930; font-size: .9375rem; }
.weave-feature { display: grid; grid-template-columns: .85fr 1.15fr; gap: 35px; margin-top: 48px; }
.weave-feature figure { margin: 0; min-width: 0; min-height: 410px; position: relative; overflow: hidden; }
.weave-feature img { position: absolute; height: 100%; width: 100%; object-fit: cover; }
.weave-feature h3 { font: 400 1.75rem/1.2 var(--serif); margin-bottom: 24px; }
.weave-list { margin: 0; }
.weave-list > div { padding: 16px 0; border-top: 1px solid #cdcfc4; }
.weave-list > div:last-child { padding-bottom: 0; }
.weave-list dt { font-weight: 550; margin-bottom: 6px; }
.weave-list dd { margin: 0; color: #525a51; line-height: 1.75; }
.selection-list { margin: 0; padding: 0; list-style: none; counter-reset: selection; }
.selection-list li { display: flex; gap: 24px; border-top: 1px solid #cdcfc4; padding: 25px 0 10px; counter-increment: selection; }
.selection-list li::before { content: counter(selection, decimal-leading-zero); color: #90623e; font: 400 1.5rem/1.2 var(--serif); flex-shrink: 0; width: 28px; }
.guide-section-body .guide-note { font-size: .875rem; color: #5a6156; margin: 18px 0 0; padding-top: 20px; border-top: 1px solid #cdcfc4; }
.guide-contact { width: 85%; max-width: 1320px; margin: 65px auto 85px; padding: 42px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.guide-contact .guide-eyebrow { color: var(--copper); margin-top: 0; }
.guide-contact h2 { font: 400 clamp(1.8rem, 2.6vw, 2.6rem)/1.2 var(--serif); margin: 12px 0 18px; }
.guide-contact p { color: #c2cbbd; margin-bottom: 0; }
.guide-contact .button { flex-shrink: 0; }
.guide-contact-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; flex-shrink: 0; }
.guide-contact-actions .text-link { color: #d2d8cc; }
.guide-section-body .chapter-next { margin-top: 36px; padding-top: 22px; border-top: 1px solid #cdcfc4; display: flex; align-items: center; justify-content: flex-end; gap: 25px; }
.chapter-next-copy { display: flex; flex-direction: column; gap: 4px; }
.chapter-next-copy > span:first-child { color: #6c735f; font-size: .75rem; letter-spacing: .09em; }
.chapter-next-copy > span:last-child { font-size: 1rem; }
.chapter-next-arrow { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid #b49a7c; border-radius: 50%; font-size: 1.25rem; transition: color .25s, background .25s, transform .3s var(--ease-out); }
.chapter-next:hover .chapter-next-arrow { color: var(--paper); background: #80532e; transform: translateX(3px); }
@media (min-width: 1001px) and (min-height: 650px) {
  .guide-section-heading { position: sticky; top: calc(var(--header-height) + var(--guide-nav-height, 74px) + 28px); align-self: start; }
}
@media (prefers-reduced-motion: no-preference) {
  .motion-intro .guide-intro .guide-eyebrow { animation: aslan-rise .65s var(--ease-out) both; }
  .motion-intro .guide-intro h1 > span { animation: aslan-rise .85s var(--ease-out) 65ms both; }
  .motion-intro .guide-intro h1 > em { animation: aslan-rise .85s var(--ease-out) 160ms both; }
  .motion-intro .guide-lead { animation: aslan-rise .8s var(--ease-out) 230ms both; }
  .motion-intro .guide-process { animation: aslan-rise .8s var(--ease-out) 300ms both; }
  .motion-intro .guide-intro-image { animation: aslan-image 1.15s var(--ease-out) both; }
  .yarn-basics > :nth-child(2), .fabric-comparison > :nth-child(2) { --reveal-delay: 65ms; }
  .yarn-basics > :nth-child(3) { --reveal-delay: 130ms; }
}
@media (min-width: 1700px) { .guide-intro { min-height: 530px; } .guide-intro-copy { max-width: 870px; justify-self: end; } }
@media (max-width: 1100px) {
  .guide-intro-copy { padding: 30px 8% 38px 10%; }
  .guide-intro h1 { font-size: 3.2rem; }
  .guide-section { grid-template-columns: 23% minmax(0, 1fr); gap: 5%; }
  .yarn-basics { grid-template-columns: 1fr; gap: 20px; }
  .yarn-basics > div { padding-top: 17px; }
  .weave-feature { gap: 24px; grid-template-columns: .75fr 1.25fr; }
  .guide-contact { padding: 32px; }
}
@media (max-width: 760px) {
  .guide-intro { grid-template-columns: 1fr; }
  .guide-intro-copy { padding: 25px 7.5% 35px; }
  .guide-breadcrumb { margin-bottom: 24px; }
  .guide-intro h1 { font-size: clamp(2.5rem, 7.8vw, 3.5rem); }
  .guide-intro-image { height: 240px; }
  .guide-intro-image img { object-position: center 61%; }
  .guide-toc > div { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .guide-toc a { padding: 9px 0; min-height: 49px; }
  .guide-section { grid-template-columns: 1fr; gap: 28px; padding: 55px 0; }
  .guide-section-heading { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: baseline; }
  .guide-index { font-size: 2.5rem; margin: 0; }
  .guide-index::after { display: none; }
  .guide-section h2 { max-width: 420px; font-size: 2rem; }
  .guide-section-body .guide-section-lead { font-size: 1.0625rem; margin-bottom: 28px; }
  .guide-contact { align-items: flex-start; flex-direction: column; padding: 30px; margin: 45px auto 55px; gap: 25px; }
}
@media (max-width: 540px) {
  .guide-intro .guide-eyebrow { font-size: .75rem; letter-spacing: .06em; }
  .guide-toc a { gap: 9px; }
  .fiber-row { grid-template-columns: 1fr; gap: 14px; padding: 23px 0; }
  .fiber-row h3 { font-size: 1.6rem; }
  .yarn-counts { padding: 24px; }
  .yarn-count-grid, .fabric-comparison, .weave-feature { grid-template-columns: 1fr; gap: 26px; }
  .yarn-count-grid > div + div { border-left: 0; border-top: 1px solid #566052; padding: 23px 0 0; }
  .weave-feature figure { min-height: 260px; }
  .weave-feature img { object-position: center 48%; }
  .selection-list li { gap: 15px; }
  .guide-contact { padding: 27px 24px; }
}
@media (max-height: 560px) {
  .guide-toc { position: relative; top: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .chapter-next:hover .chapter-next-arrow { transform: none; }
}
@media print {
  .guide-toc, .guide-intro-image, .guide-contact, .weave-feature figure, .chapter-next { display: none !important; }
  .guide-intro, .guide-content, .guide-section, .guide-intro-copy { display: block; width: 100%; padding: 15px 0; }
  .guide-intro { color: #000; background: #fff; min-height: 0; }
  .guide-intro p, .guide-intro h1 em { color: #333; }
  .guide-section { break-inside: auto; }
  .guide-section-heading { position: static; }
  .yarn-counts { color: #000; background: #fff; border: 1px solid #888; }
  .yarn-counts p, .yarn-counts h3 { color: #333; }
  .fiber-row, .selection-list li { break-inside: avoid; }
  .weave-feature { display: block; }
}

.guide-experience-link{display:inline-flex;gap:14px;align-items:center;margin-top:22px;padding-bottom:5px;border-bottom:1px solid currentColor;color:#91603e;font-size:15px;font-weight:500;text-decoration:none}
@media(min-width:1001px) and (max-width:1260px){.guide-page .desktop-nav{gap:16px}.guide-page .desktop-nav a{font-size:14px}.guide-page .site-header{gap:18px}.guide-page .header-contact{display:none}}
