:root {
  --paper: #f8f4eb;
  --ink: #252e26;
  --muted: #566052;
  --green: #293f31;
  --line: #d8d8c9;
  --soft: #edeedf;
  --lime: #dce8bd;
  --image-radius: 16px;
  scroll-padding-block-start: 76px;
}

.editorial-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
}
.admin-bar .editorial-header { inset-block-start: 32px; }
.editorial-header .header-inner {
  position: relative;
  max-width: 1540px;
  min-height: 62px;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: clamp(12px, 1.4vw, 22px);
  padding: 8px clamp(16px, 2.6vw, 42px);
}
.editorial-header .brand {
  flex: none;
  min-width: 0;
  white-space: nowrap;
}
.editorial-header .brand-name { font-size: clamp(1.35rem, 2vw, 1.75rem); }
.editorial-header #site-nav {
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(7px, .8vw, 13px);
  flex: 1 1 auto;
}
.editorial-header #site-nav a {
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  white-space: nowrap;
}
.editorial-header #site-nav a:hover { text-decoration: underline; }
.editorial-header #site-nav .nav-in-drawer { display: none; }
.header-actions {
  display: flex;
  flex: none;
  gap: 6px;
  align-items: center;
}
.header-actions svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.editorial-header .header-contact,
.editorial-header .header-shortlist,
.editorial-header .language-picker summary,
.editorial-header .menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  min-height: 42px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--paper);
  color: var(--green);
  font-size: .75rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.editorial-header .header-contact {
  background: var(--lime);
  border-color: var(--lime);
  color: #243729;
}
.editorial-header .header-contact:hover, .contact:hover { background: #ccdc9e; }
.editorial-header .header-shortlist {
  position: relative;
  width: 42px;
  padding: 0;
  border-color: transparent;
  background: transparent;
}
.editorial-header .header-shortlist:hover { background: var(--soft); }
.editorial-header .header-shortlist [data-shortlist-count] {
  position: absolute;
  inset-block-start: 0;
  inset-inline-end: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 17px;
  height: 17px;
  padding-inline: 3px;
  border-radius: 9px;
  background: var(--green);
  color: var(--paper);
  font-size: .625rem;
  line-height: 1;
}
.editorial-header .menu-toggle { display: none; margin: 0; }
.editorial-header .language-picker summary { list-style: none; }
.editorial-header .language-picker summary::-webkit-details-marker { display: none; }
.editorial-header .language-picker nav {
  inset-block-start: 100%;
  inset-inline-end: clamp(16px, 2.6vw, 42px);
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100dvh - 112px);
  border-radius: 0 0 12px 12px;
  text-align: start;
}
.editorial-header .language-picker:not([open]) nav { display: none; }
.editorial-header .language-picker[open] nav { display: grid; }
.editorial-header .language-picker nav a {
  white-space: normal;
  border-radius: 5px;
}
.editorial-header .contact-value { display: none; }
@media (min-width: 1400px) {
  .editorial-header .header-inner { gap: 14px; padding-inline: clamp(24px, 2vw, 36px); }
  .editorial-header .contact-value { display: inline; }
}

.editorial-hero {
  padding: clamp(30px, 4.5vw, 64px) 0 clamp(34px, 4.6vw, 66px);
}
.editorial-intro .eyebrow { margin-block-end: 12px; }
.editorial-intro h1 {
  max-width: 1250px;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 5.7vw, 5.4rem);
  line-height: 1.04;
  letter-spacing: -.045em;
  text-wrap: balance;
  overflow-wrap: anywhere;
}
html:not([lang="en"]) .editorial-intro h1 { font-size: clamp(2rem, 4.6vw, 4.6rem); }
html[dir="rtl"] .editorial-intro h1 { line-height: 1.32; letter-spacing: 0; }
html:is([lang="zh-CN"], [lang="zh-TW"], [lang="ja"], [lang="ko"]) .editorial-intro h1 {
  line-height: 1.24;
  letter-spacing: 0;
}
.editorial-deck {
  max-width: 850px;
  margin-block-start: 15px;
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  color: var(--muted);
}
.editorial-media {
  --hero-image-height: clamp(220px, 25vw, 348px);
  display: grid;
  grid-template-columns: minmax(0, 1.63fr) minmax(0, 1fr);
  gap: clamp(12px, 1.6vw, 24px);
  margin-block-start: clamp(20px, 2.5vw, 33px);
}
.editorial-media img {
  width: 100%;
  height: var(--hero-image-height);
  border-radius: var(--image-radius);
}
.editorial-product-image {
  background: #d9ccb4;
  object-fit: cover;
  object-position: 50% 56%;
}
.editorial-diagram-image {
  background: #e7e9d9;
  object-fit: contain;
}
.editorial-media figcaption {
  display: flex;
  gap: 10px;
  align-items: baseline;
  margin-block-start: 10px;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.35;
}
.editorial-index { color: #5d6958; font-size: .72rem; letter-spacing: .08em; }
.editorial-media figcaption small {
  display: block;
  margin-block-start: 4px;
  font-size: .74rem;
  font-weight: 400;
  color: var(--muted);
}
.editorial-actions { margin-block-start: 23px; }
.editorial-actions .button { border-radius: 7px; min-height: 46px; }
.editorial-actions .button.secondary { border-color: #a6b09e; }
.editorial-arrow { margin-inline-start: 5px; }
[dir="rtl"] .editorial-arrow { transform: rotate(180deg); }
.fabric-photo, .shortlist-row img, .table-scroll td img, .guide-photo img, .fred-panel > img {
  border-radius: var(--image-radius);
}
.fred-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 30px);
}
.fred-photo-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.fred-photo-grid figure { margin: 0; }
.fred-photo-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--image-radius);
}
.fred-photo-grid figcaption {
  margin-block-start: 8px;
  font-size: .9rem;
  font-weight: 700;
}
.fred-photo-section .fred-photo-credit {
  margin-block-start: 12px;
  font-size: .85rem;
  color: var(--muted);
}
#fred-fibre-and-finishing + .fred-photo-grid {
  grid-template-columns: minmax(0, 2.28fr) minmax(0, 1fr);
}
@media (max-width: 600px) {
  .fred-photo-grid, #fred-fibre-and-finishing + .fred-photo-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #fred-fibre-and-finishing + .fred-photo-grid figure:last-child {
    width: min(100%, 330px);
    justify-self: center;
  }
}

@media (max-width: 1099px) {
  .editorial-header .menu-toggle { display: inline-flex; }
  .editorial-header .header-shortlist { display: none; }
  .editorial-header #site-nav {
    position: absolute;
    inset-block-start: 100%;
    inset-inline: 0;
    display: none;
    width: auto;
    max-height: calc(100dvh - 112px);
    overflow: auto;
    padding: 12px max(16px, 3vw) 16px;
    background: var(--paper);
    box-shadow: 0 14px 24px #293f3120;
    border-block-end: 1px solid var(--line);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }
  .editorial-header #site-nav.open { display: grid; }
  .editorial-header #site-nav a,
  .editorial-header #site-nav .nav-in-drawer {
    display: block;
    padding: 11px 10px;
    min-height: 44px;
    white-space: normal;
  }
}
@media (max-width: 782px) {
  .admin-bar .editorial-header { inset-block-start: 46px; }
}
@media (max-width: 640px) {
  .editorial-header .header-inner { min-height: 56px; }
  .editorial-media {
    --hero-image-height: clamp(124px, 40vw, 220px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .editorial-media figcaption { gap: 5px; font-size: .78rem; }
  .editorial-actions { gap: 8px; margin-block-start: 18px; }
  .editorial-actions .button { padding: 10px 12px; }
}
@media (max-width: 600px) {
  .admin-bar .editorial-header { inset-block-start: 0; }
}
@media (max-width: 420px) {
  .editorial-header .header-inner { padding-inline: 12px; gap: 5px; }
  .editorial-header .brand-name { font-size: 1.26rem; }
  .header-actions { gap: 4px; }
  .editorial-header .header-contact,
  .editorial-header .language-picker summary,
  .editorial-header .menu-toggle { min-width: 38px; min-height: 40px; padding-inline: 5px; }
  .editorial-header .language-picker summary svg { display: none; }
}
