/* Shorts of Hawick — website styles
 * Sections retain their original order to preserve the CSS cascade.
 */

/* Base styles, components and responsive rules */

/* Design tokens */
:root {
  --wine: #442830;
  --wine-light: #65414b;
  --paper: #f7f5f0;
  --ink: #252724;
  --muted: #61635c;
  --line: #d6d5cc;
  --accent: #d8c5aa;
  --white: #fff;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: Arial, Helvetica, sans-serif;
}

/* Resets and typography */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}
a {
  color: inherit;
  text-underline-offset: 5px;
}
button {
  font: inherit;
}
::selection {
  background: var(--wine);
  color: white;
}
a:focus-visible,
summary:focus-visible,
button:focus-visible {
  outline: 3px solid #ac712c;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.12;
}
h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
  letter-spacing: -0.045em;
}
h3 {
  font-size: 2rem;
  letter-spacing: -0.025em;
}
p {
  max-width: 66ch;
}
img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.wrap {
  width: min(1280px, calc(100% - 96px));
  margin-inline: auto;
}
.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
}
.muted {
  color: var(--muted);
}
.skip {
  position: fixed;
  top: 10px;
  left: 10px;
  padding: 12px;
  background: white;
  z-index: 50;
  transform: translateY(-160%);
}
.skip:focus {
  transform: none;
}

/* Top bar, header and navigation */
.topline {
  background: var(--wine);
  color: #f3eae6;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 9px 24px;
}
.header {
  background: var(--paper);
  position: relative;
  z-index: 10;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.brand {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}
.brand strong {
  font-family: var(--serif);
  font-size: 2.75rem;
  letter-spacing: -0.07em;
  font-weight: 400;
}
.brand span {
  font-size: 0.7rem;
  letter-spacing: 0.32em;
  margin-top: 9px;
  padding-left: 0.32em;
}
.nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav a {
  font-size: 0.875rem;
  text-decoration: none;
}
.nav .nav-cta {
  border: 1px solid var(--wine);
  color: var(--wine);
  padding: 12px 18px;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 9px 14px;
  color: var(--ink);
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.03fr 1fr;
  min-height: 660px;
  background: var(--wine);
  color: var(--paper);
}
.hero-copy {
  padding: 76px max(48px, calc((100vw - 1280px) / 2)) 66px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-right: 52px;
}
.hero .eyebrow {
  color: #dfcdbc;
  margin-bottom: 32px;
}
.hero h1 {
  font-size: clamp(3rem, 5.8vw, 6rem);
  letter-spacing: -0.065em;
  line-height: 1.03;
  max-width: 9ch;
}
.hero h1 em {
  font-weight: 400;
  color: #dac7b3;
}
.hero p {
  color: #e1d7d6;
  max-width: 38ch;
  margin: 28px 0 34px;
  font-size: 1.0625rem;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  min-height: 52px;
  padding: 13px 22px;
  text-decoration: none;
  background: var(--paper);
  color: var(--wine);
  border: 1px solid var(--paper);
  font-size: 0.875rem;
}
.button.dark {
  background: var(--wine);
  border-color: var(--wine);
  color: white;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
}
.hero-visual {
  position: relative;
  min-height: 580px;
  overflow: hidden;
  background: #918983;
}
.hero-visual:after {
  content: '';
  position: absolute;
  inset: 60% 0 0;
  background: linear-gradient(transparent, #211f1b9c);
}
.hero-visual img {
  position: absolute;
  inset: 0;
  object-position: center;
}
.image-caption {
  position: absolute;
  z-index: 1;
  left: 32px;
  bottom: 28px;
  right: 32px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}

/* Heritage strip */
.heritage-strip {
  padding: 25px 0;
  border-bottom: 1px solid var(--line);
}
.heritage-strip .wrap {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.8125rem;
  letter-spacing: 0.035em;
}
.heritage-strip span {
  display: flex;
  align-items: center;
  gap: 12px;
}
.heritage-strip i {
  width: 5px;
  height: 5px;
  background: var(--wine);
  display: inline-block;
  border-radius: 50%;
}

/* Company introduction */
.intro {
  padding: 105px 0 95px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
.intro .eyebrow {
  padding-top: 12px;
  color: var(--wine);
}
.intro h2 {
  max-width: 21ch;
}
.intro p {
  margin-top: 28px;
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 58ch;
}
.section-title {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 42px;
}
.section-title h2 {
  margin-top: 18px;
}
.section-title > p {
  max-width: 36ch;
  color: var(--muted);
}

/* Collections */
.collections {
  padding-bottom: 104px;
}
.collection-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.collection-card {
  border-top: 1px solid var(--ink);
}
.collection-image {
  height: 380px;
  position: relative;
  overflow: hidden;
  background: #dedbd2;
}
.collection-image img {
  transition: transform 0.7s;
  object-fit: contain;
  padding: 24px;
  background: white;
}
.collection-card .number {
  font-size: 0.8125rem;
  color: var(--muted);
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
}
.collection-card h3 {
  margin: 25px 0 14px;
}
.collection-card p {
  max-width: 50ch;
  color: var(--muted);
  margin-bottom: 23px;
}
.collection-note {
  font-family: var(--serif);
  font-size: 1.75rem;
  color: var(--wine);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 35px;
  min-height: 120px;
  background: #e9e6df;
  border-bottom: 1px solid var(--line);
}

/* Expertise */
.craft {
  padding: 90px 0;
  background: #e8e9e1;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.craft-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 90px;
}
.craft h2 {
  margin: 20px 0 28px;
}
.craft p {
  color: var(--muted);
  max-width: 43ch;
}
.craft .text-link {
  margin-top: 32px;
}
.capabilities {
  border-top: 1px solid #afb2a6;
}
.capability {
  padding: 24px 0;
  border-bottom: 1px solid #afb2a6;
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 15px;
}
.capability > span {
  font-size: 0.75rem;
  padding-top: 6px;
  color: var(--muted);
}
.capability h3 {
  font-size: 1.5rem;
  margin-bottom: 9px;
}
.capability p {
  font-size: 1rem;
  max-width: 56ch;
}

/* Production process */
.process {
  padding: 105px 0;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  margin-top: 45px;
}
.step {
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.step > span {
  font-family: var(--serif);
  font-size: 2.5rem;
  color: var(--wine);
}
.step h3 {
  font-size: 1.65rem;
  margin: 25px 0 14px;
}
.step p {
  color: var(--muted);
  font-size: 1rem;
}

/* Customer portal */
.connected {
  background: var(--wine);
  color: var(--paper);
  padding: 88px 0;
}
.connected-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 95px;
  align-items: center;
}
.connected .eyebrow {
  color: var(--accent);
}
.connected h2 {
  margin: 24px 0;
}
.connected p {
  color: #e0d4d4;
  max-width: 46ch;
}
.connected .text-link {
  color: var(--paper);
  margin-top: 30px;
}
.integration-panel {
  border: 1px solid #8a6f74;
  padding: 32px;
}
.panel-label {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  padding-bottom: 24px;
  border-bottom: 1px solid #795d64;
}
.panel-label svg {
  color: var(--accent);
}
.integration-row {
  display: flex;
  gap: 22px;
  align-items: flex-start;
  padding-top: 29px;
}
.integration-row svg {
  width: 26px;
  height: 26px;
  margin-top: 4px;
  color: var(--accent);
}
.integration-row h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: 8px;
}
.integration-row p {
  font-size: 0.875rem;
  max-width: 35ch;
}
.integration-foot {
  margin-top: 30px !important;
  padding-top: 20px;
  border-top: 1px solid #795d64;
  font-size: 0.8125rem;
}

/* Frequently asked questions */
.faq {
  padding: 105px 0;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 95px;
}
.faq h2 {
  margin: 20px 0 24px;
}
.faq > div > p {
  max-width: 28ch;
  color: var(--muted);
}
.faq-list {
  border-top: 1px solid var(--line);
}
details {
  border-bottom: 1px solid var(--line);
  padding: 0;
}
summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 34px 24px 0;
  position: relative;
  font-size: 1rem;
  font-weight: 500;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: '+';
  position: absolute;
  right: 0;
  top: 19px;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--wine);
}
details[open] summary:after {
  content: '−';
}
details p {
  color: var(--muted);
  font-size: 1rem;
  padding: 0 28px 24px 0;
}

/* Contact */
.contact {
  background: #e8e9e1;
  border-top: 1px solid var(--line);
  padding: 86px 0;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 90px;
}
.contact h2 {
  margin: 20px 0 28px;
  max-width: 14ch;
}
.contact p {
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 43ch;
}
.contact-details {
  padding-top: 18px;
}
.contact-details .eyebrow {
  color: var(--muted);
}
.email-link {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.25vw, 2rem);
  letter-spacing: -0.02em;
  display: inline-block;
  margin: 10px 0 32px;
  overflow-wrap: anywhere;
}
.contact-small {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
}
.contact-small address {
  font-style: normal;
  margin-top: 10px;
  font-size: 1rem;
}
.contact-small a {
  display: inline-block;
  margin-top: 10px;
  font-size: 1rem;
}

/* Footer */
.footer {
  padding: 40px 0 25px;
}
.footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;
}
.footer .brand strong {
  font-size: 2.1rem;
}
.footer .brand span {
  font-size: 0.6rem;
}
.footer-main > p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--wine);
}
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  font-size: 0.75rem;
}
.footer-bottom p {
  max-width: none;
}
.back-top {
  text-decoration: none;
  white-space: nowrap;
}
@media (min-width: 1600px) {
  .hero-copy {
    padding-left: calc((100vw - 1280px) / 2);
    padding-right: 80px;
  }
  .hero {
    min-height: 730px;
  }
}
@media (max-width: 1100px) {
  .wrap {
    width: calc(100% - 56px);
  }
  .nav {
    gap: 17px;
  }
  .nav a {
    font-size: 0.8125rem;
  }
  .hero-copy {
    padding: 60px 36px;
  }
  .hero h1 {
    font-size: 4.6rem;
  }
  .craft-layout,
  .connected-layout,
  .faq,
  .contact-grid {
    gap: 50px;
  }
  .collection-image {
    height: 310px;
  }
}
@media (max-width: 800px) {
  html {
    scroll-padding-top: 24px;
  }
  .wrap {
    width: calc(100% - 40px);
  }
  .topline {
    font-size: 0.75rem;
    letter-spacing: 0.07em;
  }
  .header-inner {
    min-height: 90px;
  }
  .brand strong {
    font-size: 2.35rem;
  }
  .brand span {
    font-size: 0.625rem;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 90px;
    background: var(--paper);
    padding: 20px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    padding: 12px;
    font-size: 1rem;
  }
  .nav .nav-cta {
    margin-top: 10px;
    text-align: center;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 54px 24px 52px;
  }
  .hero .eyebrow {
    margin-bottom: 25px;
  }
  .hero h1 {
    max-width: 12ch;
    font-size: clamp(3.2rem, 10.8vw, 5rem);
  }
  .hero p {
    margin: 24px 0 28px;
  }
  .hero-visual {
    min-height: 420px;
  }
  .hero-visual img {
    object-position: center 45%;
  }
  .heritage-strip .wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    font-size: 0.75rem;
  }
  .intro {
    padding: 64px 0;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .intro .eyebrow {
    padding: 0;
  }
  .intro p {
    margin-top: 22px;
  }
  .section-title {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
  }
  .section-title > p {
    max-width: 55ch;
  }
  .collections {
    padding-bottom: 64px;
  }
  .collection-grid {
    gap: 22px;
  }
  .collection-image {
    height: 260px;
  }
  .collection-card h3 {
    font-size: 1.7rem;
  }
  .collection-note {
    font-size: 1.3rem;
    padding: 24px;
    min-height: 100px;
  }
  .craft {
    padding: 64px 0;
  }
  .craft-layout,
  .connected-layout,
  .faq,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .craft p {
    max-width: 58ch;
  }
  .process {
    padding: 64px 0;
  }
  .process-grid {
    gap: 25px;
  }
  .step h3 {
    font-size: 1.4rem;
  }
  .connected {
    padding: 64px 0;
  }
  .connected h2 {
    max-width: 15ch;
  }
  .connected p {
    max-width: 55ch;
  }
  .integration-panel {
    padding: 26px;
  }
  .faq {
    padding: 64px 0;
  }
  .faq > div > p {
    max-width: 50ch;
  }
  .contact {
    padding: 64px 0;
  }
  .contact h2 {
    max-width: 18ch;
  }
  .contact-grid {
    gap: 20px;
  }
  .email-link {
    font-size: 1.75rem;
  }
  .footer-main {
    align-items: flex-start;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 520px) {
  .collection-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .collection-grid {
    gap: 38px;
  }
  .collection-image {
    height: 340px;
  }
  .hero-visual {
    min-height: 340px;
  }
  .image-caption {
    left: 22px;
    right: 22px;
    bottom: 20px;
    font-size: 0.75rem;
  }
  .collection-note {
    font-size: 1.5rem;
    min-height: 110px;
  }
  .process-grid {
    gap: 30px;
    margin-top: 30px;
  }
  .step {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 20px;
  }
  .step > span {
    grid-row: 1/3;
    font-size: 2rem;
    line-height: 1.2;
  }
  .step h3 {
    margin: 0 0 10px;
  }
  .step p {
    grid-column: 2;
  }
  .contact-small {
    gap: 20px;
  }
  .contact-small a {
    font-size: 0.875rem;
  }
  .footer-main {
    flex-direction: column;
    gap: 25px;
  }
  .footer-main > p {
    font-size: 1.1rem;
  }
  .integration-row {
    gap: 17px;
  }
  .integration-panel {
    padding: 23px;
  }
  .email-link {
    font-size: 1.55rem;
  }
  .button {
    min-height: 52px;
  }
  .hero-copy .button {
    gap: 20px;
  }
  .heritage-strip span:last-child {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  .topline,
  .menu-toggle,
  .nav,
  .button,
  .back-top {
    display: none !important;
  }
  .hero {
    display: block;
    background: white;
    color: black;
  }
  .hero-copy {
    padding: 30px 0;
  }
  .hero p,
  .hero .eyebrow {
    color: black;
  }
  .hero-visual {
    height: 300px;
    min-height: 0;
  }
  .connected {
    background: white;
    color: black;
  }
  .connected p,
  .connected .eyebrow,
  .connected .text-link {
    color: black;
  }
  .wrap {
    width: 100%;
  }
  section {
    break-inside: avoid;
  }
  details p {
    display: block;
  }
  .footer {
    padding-top: 15px;
  }
}

/* Previous styles and full-size viewer */
.style-library {
  padding: 90px 0 105px;
  border-top: 1px solid var(--line);
}
.library-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 32px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.library-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.library-filters[hidden] {
  display: none;
}
.library-filter {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  border-radius: 0;
  padding: 10px 18px;
  min-height: 44px;
  font-size: 0.875rem;
  cursor: pointer;
}

.library-filter[aria-pressed='true'] {
  background: var(--wine);
  border-color: var(--wine);
  color: white;
}
.library-count {
  font-size: 0.875rem;
  color: var(--muted);
  white-space: nowrap;
}
.style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 24px;
}
.style-card {
  margin: 0;
  min-width: 0;
}
.style-card[hidden] {
  display: none;
}
.style-image-link {
  display: block;
  position: relative;
  background: white;
  aspect-ratio: 4/5;
  overflow: hidden;
}
.style-image-link img {
  object-fit: contain;
  padding: 18px;
  transition: transform 0.4s;
}

.style-card figcaption {
  padding-top: 17px;
}
.style-category {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.style-card h3 {
  font-size: 1.4rem;
  margin: 6px 0 8px;
  line-height: 1.25;
}
.style-caption {
  font-size: 0.875rem;
  color: var(--muted);
}
.library-provenance {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 30px;
}
.style-viewer {
  padding: 0;
  border: 1px solid var(--line);
  width: min(1040px, calc(100vw - 40px));
  max-height: calc(100dvh - 40px);
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.style-viewer::backdrop {
  background: rgba(28, 20, 24, 0.8);
}
.viewer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--line);
  gap: 20px;
}
.viewer-count {
  font-size: 0.875rem;
  color: var(--muted);
}
.viewer-close,
.viewer-arrow {
  background: transparent;
  color: var(--wine);
  border: 1px solid var(--line);
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.viewer-body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}
.viewer-photo {
  min-width: 0;
  background: white;
  height: min(65dvh, 680px);
  min-height: 260px;
}
.viewer-photo img {
  object-fit: contain;
  padding: 24px;
}
.viewer-description {
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.viewer-description h3 {
  font-size: 2.15rem;
  margin: 15px 0 18px;
}
.viewer-description p {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 28px;
}
.viewer-controls {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
@media (max-width: 1100px) {
  .style-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .nav {
    gap: 15px;
  }
  .nav a {
    font-size: 0.875rem;
  }
  .brand strong {
    font-size: 2.5rem;
  }
}
@media (max-width: 960px) and (min-width: 801px) {
  .header-inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding: 22px 0;
  }
  .nav {
    width: 100%;
    justify-content: center;
    gap: 18px;
  }
}
@media (max-width: 800px) {
  .style-library {
    padding: 64px 0;
  }
  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 18px;
  }
  .library-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .viewer-body {
    grid-template-columns: 1fr;
  }
  .viewer-photo {
    height: 45dvh;
    min-height: 230px;
  }
  .viewer-description {
    padding: 26px;
  }
  .viewer-description h3 {
    font-size: 1.75rem;
    margin: 10px 0 14px;
  }
  .viewer-description p {
    margin-bottom: 20px;
  }
  .viewer-controls {
    margin-top: 24px;
  }
}
@media (max-width: 520px) {
  .library-filter {
    padding: 9px 12px;
  }
  .style-grid {
    gap: 25px 14px;
  }
  .style-card h3 {
    font-size: 1.2rem;
  }
  .style-caption {
    font-size: 0.875rem;
  }
  .style-image-link img {
    padding: 8px;
  }
  .style-viewer {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
  .viewer-photo {
    height: 42dvh;
  }
  .viewer-description {
    padding: 22px;
  }
  .viewer-top {
    padding: 10px 14px;
  }
}
@media print {
  .style-library {
    padding: 30px 0;
  }
  .library-toolbar,
  .style-viewer {
    display: none;
  }
  .style-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .style-card[hidden] {
    display: block;
  }
  .style-card {
    break-inside: avoid;
  }
}

/* Shared responsive refinements */
html {
  scroll-padding-top: 112px;
}
.header {
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  min-height: 96px;
}
.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.text-link {
  min-height: 44px;
  padding: 9px 0;
  line-height: 1.45;
}
.library-count,
.style-caption,
.integration-row p {
  font-size: 1rem;
}
.style-card h3 {
  line-height: 1.3;
}
.style-image-link,
.photo-link {
  touch-action: manipulation;
}
.style-viewer {
  overscroll-behavior: contain;
}
.viewer-top {
  position: sticky;
  top: 0;
  background: var(--paper);
  z-index: 2;
  padding: 12px 18px;
  gap: 12px;
}
.viewer-top .viewer-controls {
  margin: 0;
  margin-left: auto;
  gap: 8px;
}
.viewer-close,
.viewer-arrow {
  min-width: 48px;
  min-height: 48px;
}
.viewer-photo {
  touch-action: pan-y pinch-zoom;
}
.viewer-photo img {
  user-select: none;
  -webkit-user-drag: none;
}
.viewer-description .text-link {
  font-size: 1rem;
}
.viewer-enquiry-note {
  font-size: 0.875rem !important;
  color: var(--muted);
  margin-top: 12px;
}
.making {
  padding: 96px 0 88px;
  border-bottom: 1px solid var(--line);
}
.making .section-title {
  align-items: flex-start;
}
.making .section-title > p {
  max-width: 43ch;
  margin-top: 20px;
}
.making-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.making-card,
.stitch-card {
  margin: 0;
  min-width: 0;
}
.photo-link {
  display: block;
  position: relative;
  overflow: hidden;
  background: #e5e3dd;
}
.making-card .photo-link {
  aspect-ratio: 4/3;
}
.photo-link img {
  transition: transform 0.4s;
}

.making-card figcaption {
  padding-top: 20px;
}
.making-card h3 {
  font-size: 1.7rem;
  margin: 8px 0 12px;
  line-height: 1.25;
}
.making-card p,
.stitch-card p {
  font-size: 1rem;
  color: var(--muted);
  max-width: 48ch;
}
.photo-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.making-note {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 28px;
  max-width: 76ch;
}
.stitches {
  padding: 88px 0 98px;
  background: #e8e9e1;
}
.stitch-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}
.stitch-card .photo-link {
  aspect-ratio: 1;
}
.stitch-card figcaption {
  padding: 20px 0 0;
}
.stitch-card h3 {
  font-size: 1.65rem;
  margin: 8px 0 12px;
  line-height: 1.25;
}
.stitch-card .photo-link img {
  object-fit: cover;
}
.stitches .section-title > p {
  max-width: 40ch;
}
.stitch-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid #b9bdaf;
}
.stitch-footer p {
  max-width: 54ch;
  font-size: 1rem;
  color: var(--muted);
}
@media (max-width: 1100px) {
  .nav {
    gap: 18px;
  }
  .nav a {
    font-size: 0.875rem;
  }
  .making-grid {
    gap: 22px;
  }
  .stitch-grid {
    gap: 20px;
  }
}
@media (max-width: 1100px) {
  html {
    scroll-padding-top: 100px;
  }
  .header-inner {
    min-height: 84px;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0;
    gap: 20px;
  }
  .brand strong {
    font-size: 2.35rem;
  }
  .brand span {
    font-size: 0.625rem;
  }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 15px;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    max-height: calc(100dvh - 90px);
    overflow: auto;
    background: var(--paper);
    padding: 16px 28px 24px;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    box-shadow: 0 14px 18px #25151b0d;
  }
  .nav.open {
    display: flex;
  }
  .nav a {
    font-size: 1rem;
    min-height: 48px;
    padding: 12px 0;
  }
  .nav .nav-cta {
    justify-content: center;
    margin-top: 12px;
    padding: 12px 18px;
    gap: 10px;
  }
  .wrap {
    width: calc(100% - 48px);
  }
  .hero {
    grid-template-columns: 1fr 1fr;
    min-height: 580px;
  }
  .hero-copy {
    padding: 50px 30px;
  }
  .hero h1 {
    font-size: clamp(3rem, 6.4vw, 4rem);
    max-width: 10ch;
  }
  .hero p {
    font-size: 1rem;
  }
  .hero-visual {
    min-height: 0;
  }
  .hero-copy .button {
    gap: 15px;
    padding: 13px 18px;
  }
  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 24px;
  }
  .making {
    padding: 72px 0;
  }
  .making-grid {
    grid-template-columns: 1fr 1fr;
  }
  .making-card:first-child {
    grid-column: 1/-1;
  }
  .making-card:first-child .photo-link {
    aspect-ratio: 16/9;
  }
  .stitches {
    padding: 72px 0;
  }
  .stitch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px 24px;
  }
  .contact-grid,
  .craft-layout,
  .connected-layout,
  .faq {
    gap: 40px;
  }
  .contact-small {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .contact-details .email-link {
    font-size: clamp(1.2rem, 2.8vw, 1.75rem);
  }
  .stitch-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 40px);
  }
  .topline {
    padding: 8px 20px;
    line-height: 1.5;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy {
    padding: 40px 24px 38px;
  }
  .hero h1 {
    font-size: clamp(3.1rem, 10.8vw, 4.5rem);
    max-width: 12ch;
  }
  .hero .eyebrow {
    margin-bottom: 22px;
    font-size: 0.75rem;
    line-height: 1.6;
  }
  .hero p {
    margin: 22px 0 26px;
    max-width: 36ch;
  }
  .hero-visual {
    min-height: 270px;
    height: clamp(250px, 68vw, 380px);
  }
  .hero-copy .button {
    min-height: 52px;
  }
  .image-caption {
    font-size: 0.75rem;
    line-height: 1.5;
    align-items: flex-end;
  }
  .image-caption span:first-child {
    max-width: 19ch;
  }
  .intro,
  .process,
  .faq {
    padding: 56px 0;
  }
  .collections {
    padding-bottom: 56px;
  }
  .craft,
  .connected,
  .contact {
    padding: 56px 0;
  }
  .intro {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .intro .eyebrow {
    padding: 0;
  }
  .intro h2 {
    font-size: clamp(2.15rem, 8.2vw, 3.2rem);
  }
  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 30px;
  }
  .section-title h2 {
    margin-top: 14px;
  }
  .section-title > p {
    max-width: 100%;
  }
  .collection-grid,
  .craft-layout,
  .connected-layout,
  .faq,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .collection-grid {
    gap: 34px;
  }
  .collection-image {
    height: 340px;
  }
  .collection-card .number {
    font-size: 0.75rem;
    gap: 18px;
  }
  .collection-card .number > span:last-child {
    text-align: right;
  }
  .capability {
    grid-template-columns: 28px 1fr;
    gap: 12px;
  }
  .capability p {
    font-size: 1rem;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 27px;
    margin-top: 30px;
  }
  .step {
    display: grid;
    grid-template-columns: 32px 1fr;
    column-gap: 18px;
  }
  .step > span {
    grid-row: 1/3;
    font-size: 2rem;
    line-height: 1.2;
  }
  .step h3 {
    margin: 0 0 10px;
  }
  .step p {
    grid-column: 2;
  }
  .library-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .library-filters {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  .library-filters[hidden] {
    display: none;
  }
  .library-filter {
    min-height: 48px;
    font-size: 0.9375rem;
    padding: 10px 12px;
  }
  .library-count {
    font-size: 0.875rem;
  }
  .style-library {
    padding: 56px 0;
  }
  .style-grid {
    gap: 28px 16px;
  }
  .style-card h3 {
    font-size: 1.2rem;
  }
  .style-caption {
    font-size: 1rem;
    line-height: 1.55;
  }
  .style-category {
    font-size: 0.75rem;
  }
  .style-image-link img {
    padding: 10px;
  }
  .making {
    padding: 56px 0;
  }
  .making-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .making-card:first-child {
    grid-column: auto;
  }
  .making-card:first-child .photo-link,
  .making-card .photo-link {
    aspect-ratio: 4/3;
  }
  .making .section-title > p {
    margin-top: 0;
  }
  .stitches {
    padding: 56px 0;
  }
  .stitch-grid {
    gap: 28px 18px;
  }
  .stitch-card h3 {
    font-size: 1.4rem;
  }
  .stitch-card p {
    font-size: 1rem;
  }
  .stitch-footer {
    margin-top: 28px;
  }
  .viewer-body {
    grid-template-columns: 1fr;
  }
  .viewer-photo {
    height: min(46dvh, 420px);
    min-height: 200px;
  }
  .viewer-photo img {
    padding: 16px;
  }
  .viewer-description {
    padding: 24px;
  }
  .viewer-description h3 {
    font-size: 1.75rem;
    line-height: 1.2;
  }
  .viewer-description p {
    margin-bottom: 20px;
  }
  .viewer-top {
    padding: 10px 12px;
    gap: 8px;
  }
  .viewer-count {
    font-size: 0.875rem;
    white-space: nowrap;
  }
  .viewer-top .viewer-controls {
    gap: 6px;
  }
  .viewer-close,
  .viewer-arrow {
    min-width: 46px;
    min-height: 46px;
  }
  .style-viewer {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
  }
  .panel-label {
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    line-height: 1.7;
  }
  .integration-panel {
    padding: 24px;
  }
  .integration-row {
    gap: 16px;
  }
  .integration-foot {
    font-size: 0.875rem;
  }
  .connected h2 {
    font-size: clamp(2.25rem, 8vw, 3.4rem);
  }
  .faq > div > p {
    max-width: 100%;
  }
  .faq {
    gap: 30px;
  }
  summary {
    min-height: 56px;
    padding-block: 21px;
    line-height: 1.5;
  }
  details p {
    font-size: 1rem;
  }
  .contact-grid {
    gap: 20px;
  }
  .contact-small {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .contact-details .email-link {
    font-size: clamp(1.1rem, 5.3vw, 1.7rem);
  }
  .contact-small a {
    font-size: 1rem;
  }
  .contact-small address {
    font-size: 1rem;
  }
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    font-size: 0.8125rem;
  }
  .footer-bottom a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }
  .footer-main > p {
    font-size: 1.15rem;
  }
}
@media (max-width: 380px) {
  .style-grid {
    grid-template-columns: 1fr;
  }
  .stitch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .style-image-link {
    aspect-ratio: 4/4.6;
  }
  .style-card h3 {
    font-size: 1.45rem;
  }
  .style-caption {
    max-width: 34ch;
  }
  .stitch-card .photo-link {
    aspect-ratio: 1;
  }
  .contact-small {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .hero-copy {
    padding-inline: 20px;
  }
  .hero h1 {
    font-size: 3.1rem;
  }
  .hero .eyebrow {
    max-width: 32ch;
  }
  .viewer-top {
    gap: 6px;
    padding-inline: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .photo-link img {
    transition: none;
  }
}
@media print {
  .header {
    position: static;
  }
  .making,
  .stitches {
    padding: 30px 0;
  }
  .making-card,
  .stitch-card {
    break-inside: avoid;
  }
  .stitch-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .making-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .making-card:first-child {
    grid-column: auto;
  }
}

.brand-logo {
  display: block;
  width: 270px;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.brand {
  flex-shrink: 0;
}
.footer .brand-logo {
  width: 260px;
}
.hero h1 {
  max-width: 11ch;
}
.hero .eyebrow {
  font-size: 0.75rem;
}
.nav {
  gap: 24px;
}
@media (max-width: 1280px) {
  .brand-logo {
    width: 245px;
  }
  .nav {
    gap: 16px;
  }
}
@media (max-width: 1100px) {
  .brand-logo {
    width: 280px;
  }
  .nav {
    gap: 0;
  }
}
@media (max-width: 680px) {
  .brand-logo {
    width: clamp(185px, 57vw, 280px);
  }
  .footer .brand-logo {
    width: 260px;
  }
  .hero h1 {
    font-size: clamp(2.95rem, 10vw, 4.4rem);
    max-width: 12ch;
  }
  .hero-copy {
    padding-top: 36px;
  }
  .hero-copy p {
    max-width: 35ch;
  }
}
/* Review refinements */
#viewer-enquiry[hidden] {
  display: none !important;
}
.making-card .photo-link[href$='heritage-washing.webp'] img {
  object-position: center bottom;
}
@media (max-width: 380px) {
  .header-inner {
    gap: 12px;
  }
  .menu-toggle {
    width: 48px;
    min-width: 48px;
    padding: 0;
    justify-content: center;
  }
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}
/* Three equal product categories */
.collection-card .number {
  min-height: 100px;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  justify-content: center;
}
.collection-card .number > span:last-child {
  text-align: left;
}
@media (min-width: 801px) {
  .collection-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .collection-card h3 {
    font-size: clamp(1.7rem, 2.2vw, 2rem);
  }
}
@media (max-width: 800px) {
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .collection-card .number {
    min-height: 84px;
  }
}
.footer-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  padding: 8px 0 24px;
  font-size: 0.875rem;
}
.footer-terms a {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-height: 44px;
}
.footer-terms span {
  color: var(--muted);
}
@media (max-width: 680px) {
  .footer-terms {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .footer-terms a {
    display: block;
    padding-block: 10px;
    line-height: 1.55;
  }
}
.wholesale-feature {
  margin-top: 48px;
  padding: 34px 36px;
  background: #e8e9e1;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 36px;
  align-items: center;
}
.wholesale-feature .eyebrow {
  color: var(--wine);
}
.wholesale-feature h3 {
  margin: 14px 0 16px;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}
.wholesale-feature p {
  color: var(--muted);
  max-width: 68ch;
}
.wholesale-feature .button {
  white-space: nowrap;
}
@media (max-width: 900px) {
  .wholesale-feature {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .wholesale-feature .button {
    justify-self: start;
  }
}
@media (max-width: 680px) {
  .wholesale-feature {
    padding: 26px 22px;
    margin-top: 38px;
  }
  .wholesale-feature .button {
    white-space: normal;
    gap: 16px;
  }
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.footer-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  width: 100%;
  font-size: 0.8125rem;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 4px;
}
.footer-links > a {
  flex-shrink: 0;
}
.footer-right-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 24px;
}
.footer-registration {
  font-size: 0.75rem;
  line-height: 1.65;
}
@media (max-width: 1000px) {
  .footer-links {
    align-items: flex-start;
  }
  .footer-right-links {
    gap: 8px 18px;
  }
}
@media (max-width: 680px) {
  .footer-links,
  .footer-right-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  .footer-links {
    gap: 20px;
  }
  .footer-links a {
    display: block;
    padding-block: 10px;
    line-height: 1.55;
  }
  .footer-registration {
    font-size: 0.8125rem;
  }
}
@media (min-width: 1101px) {
  .stitch-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
  }
  .stitch-card h3 {
    font-size: 1.5rem;
  }
}
.construction-gallery {
  padding-top: 54px;
}
.construction-heading {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.construction-heading .eyebrow {
  color: var(--wine);
}
.construction-heading p {
  max-width: 48ch;
}
.construction-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.construction-card {
  margin: 0;
  min-width: 0;
}
.construction-card .photo-link {
  display: block;
  position: relative;
  aspect-ratio: 1071/1500;
  background: #dedbd2;
  overflow: hidden;
}
.construction-card img {
  object-fit: contain;
}
.construction-card figcaption {
  padding-top: 20px;
}
.construction-card h3 {
  font-size: 1.75rem;
  margin: 0 0 12px;
}
.construction-card p {
  max-width: 100%;
}
.viewer-arrow:disabled {
  opacity: 0.4;
  cursor: default;
}
@media (max-width: 680px) {
  .construction-heading {
    flex-direction: column;
    gap: 16px;
  }
  .construction-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .construction-card h3 {
    font-size: 1.55rem;
  }
  .construction-gallery {
    padding-top: 38px;
  }
}

/* Arrow actions are button variants; all controls share one feedback rhythm. */
:root {
  --control-duration: 0.24s;
  --control-ease: cubic-bezier(0.4, 0, 0.2, 1);
}
a,
button,
summary {
  transition:
    color var(--control-duration) var(--control-ease),
    background-color var(--control-duration) var(--control-ease),
    border-color var(--control-duration) var(--control-ease),
    text-decoration-color var(--control-duration) var(--control-ease);
  touch-action: manipulation;
}
:where(a.action-button, button) {
  --control-hover-color: #fff;
  --control-hover-bg: var(--wine-light);
  --control-hover-border: var(--wine-light);
}
:where(summary) {
  --control-hover-color: var(--wine-light);
  --control-hover-bg: transparent;
  --control-hover-border: currentColor;
}
.text-link.action-button,
.arrow-link.action-button {
  padding: 10px 14px;
  line-height: 1.45;
}
.button {
  --control-hover-color: #fff;
  --control-hover-bg: var(--wine-light);
  --control-hover-border: var(--wine-light);
}
.button.dark,
.library-filter[aria-pressed='true'] {
  --control-hover-color: #fff;
  --control-hover-bg: var(--wine-light);
  --control-hover-border: var(--wine-light);
}
.nav .nav-cta,
.library-filter,
.viewer-close,
.viewer-arrow {
  --control-hover-color: #fff;
  --control-hover-bg: var(--wine-light);
  --control-hover-border: var(--wine-light);
}
.connected .action-button:not(.button) {
  --control-hover-color: #fff;
}
.menu-toggle {
  --control-hover-color: var(--wine);
  --control-hover-bg: #e9e6df;
  --control-hover-border: transparent;
}
a:not(.action-button) {
  --plain-hover-color: var(--wine-light);
}
.connected a:not(.action-button) {
  --plain-hover-color: #fff;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #ac712c;
  outline-offset: 4px;
}
:is(a.action-button, button, summary):not(:disabled):not([aria-disabled='true']):is(
    :focus-visible,
    :active
  ) {
  color: var(--control-hover-color);
  background-color: var(--control-hover-bg);
  border-color: var(--control-hover-border);
}
a:not(.action-button):not(.skip):not(.brand):not(.photo-link):not(.style-image-link):is(
    :focus-visible,
    :active
  ) {
  color: var(--plain-hover-color);
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.faq-list p a {
  display: inline-block;
  max-width: 100%;
}
.style-image-link img,
.photo-link img {
  transition: transform var(--control-duration) var(--control-ease);
}
.style-image-link,
.photo-link {
  cursor: pointer;
}
.style-image-link:focus-visible img,
.photo-link:focus-visible img {
  transform: scale(1.025);
}
.menu-toggle {
  border: 0;
  background: transparent;
}
.menu-toggle svg {
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-toggle line {
  transform-box: fill-box;
  transform-origin: center;
  stroke-linecap: round;
  transition:
    transform 0.32s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.24s cubic-bezier(0.4, 0, 0.2, 1);
}
.menu-toggle[aria-expanded='true'] svg {
  transform: rotate(90deg);
}
.menu-toggle[aria-expanded='true'] line:first-child {
  transform: translateY(5px) rotate(45deg);
}
.menu-toggle[aria-expanded='true'] line:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded='true'] line:last-child {
  transform: translateY(-5px) rotate(-45deg);
}
summary {
  cursor: pointer;
}
.faq-answer {
  display: flow-root;
}
@media (hover: hover) and (pointer: fine) {
  :is(a.action-button, button, summary):not(:disabled):not([aria-disabled='true']):hover {
    color: var(--control-hover-color);
    background-color: var(--control-hover-bg);
    border-color: var(--control-hover-border);
  }
  a:not(.action-button):not(.skip):not(.brand):not(.photo-link):not(.style-image-link):hover {
    color: var(--plain-hover-color);
    text-decoration: underline;
    text-decoration-thickness: 2px;
  }
  .style-image-link:hover img,
  .photo-link:hover img {
    transform: scale(1.025);
  }
}
@media (max-width: 1100px) {
  .nav {
    display: flex;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition:
      opacity 0.28s ease-in-out,
      transform 0.28s ease-in-out,
      visibility 0s linear 0.28s;
  }
  .nav.open {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    transition-delay: 0s;
  }
  .nav a {
    align-self: stretch;
    justify-content: center;
    text-align: center;
  }
  .nav .nav-cta {
    align-self: stretch;
  }
}
@media (prefers-reduced-motion: reduce) {
  a:not(.skip):hover,
  .style-image-link:is(:hover, :focus-visible) img,
  .photo-link:is(:hover, :focus-visible) img,
  .menu-toggle[aria-expanded='true'] svg {
    transform: none !important;
  }
  .nav,
  .nav.open {
    transform: none;
  }
}
@media (min-width: 681px) and (max-width: 800px) {
  .collection-image {
    height: clamp(460px, 72vw, 560px);
  }
  .collection-image img {
    object-fit: cover;
    object-position: center top;
    padding: 0;
  }
}
@media (max-width: 680px) {
  .header-inner {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    gap: 12px;
  }
  .header .brand {
    grid-column: 1/-1;
    grid-row: 1;
    justify-self: center;
    width: min(280px, calc(100vw - 100px));
    min-width: 0;
  }
  .header .brand-logo {
    width: 100%;
    max-width: 280px;
  }
  .menu-toggle {
    grid-column: 3;
    grid-row: 1;
    position: relative;
    z-index: 1;
    width: 48px;
    min-width: 48px;
    padding: 0;
    justify-content: center;
    justify-self: end;
    margin-right: -20px;
  }
  .menu-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .footer .brand {
    align-self: center;
  }
}
@media (min-width: 1376px) {
  .hero {
    grid-template-columns: minmax(48px, 1fr) minmax(0, 650px) minmax(0, 630px) minmax(48px, 1fr);
  }
  .hero-copy {
    grid-column: 2;
    padding: 76px 52px 66px 0;
  }
  .hero-visual {
    grid-column: 3;
  }
}
.back-top-float,
.back-top-float[hidden] {
  display: none;
}
.back-top-float:not([hidden]) {
  display: inline-flex;
  position: fixed;
  right: max(14px, env(safe-area-inset-right));
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 25;
  gap: 7px;
  min-height: 44px;
  padding: 8px 12px;
  font-size: 0.75rem;
  line-height: 1.2;
  border-color: #d6d5cc;
  background: #f7f5f0f2;
  color: var(--wine);
  box-shadow: 0 2px 10px #25272412;
}
.production-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}
.connected .production-integration {
  margin-top: 30px;
  font-size: 1rem;
}
.connected .production-integration + .text-link {
  margin-top: 12px;
}
.portal-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-block: -10px;
  text-decoration: none;
}
.portal-panel-link span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.portal-panel-link svg {
  width: 18px;
  height: 18px;
}
.integration-row > svg {
  width: 22px;
  height: 22px;
  margin-top: 0;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Content remains visible if JavaScript or scroll observation is unavailable. */
.section-reveal {
  transition: opacity 1.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.section-reveal.is-waiting {
  opacity: 0;
}
.section-reveal:target,
.section-reveal:focus-within {
  opacity: 1;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .section-reveal.is-waiting {
    opacity: 1;
  }
}
@media print {
  .section-reveal.is-waiting {
    opacity: 1;
  }
}
/* Drawn arrows remain consistent across mobile fonts and emoji settings. */
.action-arrow {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}
.action-arrow-up path {
  transform: rotate(-45deg);
  transform-origin: 12px 12px;
}
.button,
.hero-copy .button,
.wholesale-feature .button {
  gap: 28px;
  max-width: 100%;
}
.text-link {
  gap: 24px;
  max-width: 100%;
}
.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}
.footer-links .arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
}
.back-top-float:not([hidden]) {
  gap: 16px;
  padding: 10px 16px;
}
@media (max-width: 680px) {
  .footer {
    text-align: center;
  }
  .footer-main,
  .footer-bottom,
  .footer-links,
  .footer-right-links {
    align-items: center;
  }
  .footer-links,
  .footer-right-links {
    justify-content: center;
    width: 100%;
  }
  .footer-links a {
    max-width: 100%;
    justify-content: center;
  }
  .footer-registration {
    width: 100%;
  }
  .footer-registration p {
    margin-inline: auto;
  }
}

.coming-soon {
  display: inline-flex;
  align-items: center;
  border: 1px solid #bca5a9;
  padding: 12px 22px;
  color: var(--paper);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.gallery-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.gallery-controls button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--wine);
  min-height: 44px;
  min-width: 44px;
  padding: 10px 16px;
  cursor: pointer;
}
.gallery-controls .rotation-status {
  margin-right: auto;
  color: var(--muted);
  font-size: 0.875rem;
}
.construction-card[hidden] {
  display: none;
}
.construction-card .photo-link {
  aspect-ratio: 4/5;
}
.construction-grid {
  align-items: start;
}
@media (max-width: 680px) {
  .gallery-controls {
    justify-content: flex-start;
  }
  .gallery-controls .rotation-status {
    width: 100%;
  }
  .collection-image {
    height: 320px;
  }
}
@media print {
  .gallery-controls {
    display: none;
  }
  .style-card[hidden],
  .construction-card[hidden] {
    display: block;
  }
}

.previous-customers {
  margin-bottom: 84px;
  padding: 42px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.previous-customers .eyebrow {
  color: var(--wine);
}
.previous-customers h2 {
  font-size: clamp(2rem, 3.2vw, 3rem);
  margin: 12px 0 16px;
}
.previous-customers p {
  color: var(--muted);
}
.previous-customers .customer-continuity {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  max-width: 78ch;
}
.customer-continuity strong {
  color: var(--wine);
  font-weight: 600;
}
.customer-names {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  align-items: flex-start;
}
.customer-names li {
  color: var(--wine);
  text-align: center;
  padding: 16px 8px;
  min-width: 0;
  flex: 0 1 calc((100% - 72px) / 4);
}
.customer-logo {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.customer-logo img {
  width: 100%;
  max-width: 210px;
  height: 80px;
  object-fit: contain;
}
.customer-names li:nth-child(3) img {
  max-width: 180px;
}
.customer-names li:nth-child(5) img {
  max-width: 160px;
}
.customer-names li {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 112px;
}
.customer-names li:nth-child(6) img {
  max-width: 190px;
}
@media (max-width: 800px) {
  .previous-customers {
    margin-bottom: 60px;
    padding: 32px 0;
  }
  .customer-names {
    gap: 16px;
  }
  .customer-names li {
    flex-basis: calc((100% - 32px) / 3);
  }
  .customer-names li {
    font-size: 1.35rem;
  }
}
@media (max-width: 520px) {
  .customer-names {
    gap: 12px;
  }
  .customer-names li {
    flex-basis: calc((100% - 12px) / 2);
  }
  .customer-names li {
    padding: 12px 4px;
  }
}

.hero-section-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  align-items: center;
}
.hero-section-links a {
  --plain-hover-color: #fff;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}
.hero-section-links a:hover {
  text-decoration-thickness: 2px;
}

.header .brand-logo {
  transform: scale(1.08);
  transform-origin: center;
}

/* Construction and product image adjustments */
.construction-card:nth-child(n + 3) img {
  object-fit: cover;
}
.collection-card:nth-child(6) .collection-image img {
  object-fit: contain;
  padding: 12px;
}

/* Product category slideshows */
.collection-image {
  position: relative;
}
.collection-image img {
  position: absolute;
  inset: 0;
  opacity: 1;
  object-fit: contain;
  padding: 24px;
  transition: opacity 0.65s ease-in-out;
}
.collection-image .category-photo-layer {
  opacity: 0;
}
.collection-photo-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 50px;
  padding-top: 10px;
}
.collection-photo-caption {
  font-size: 0.75rem;
  line-height: 1.45;
  color: var(--muted);
  margin-right: auto;
  max-width: 28ch;
}
.collection-photo-controls button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--wine);
  cursor: pointer;
}
.collection-photo-count {
  font-size: 0.75rem;
  color: var(--muted);
  white-space: nowrap;
}
.category-rotation-toolbar {
  display: flex;
  justify-content: flex-end;
  margin: -18px 0 28px;
}
.category-rotation-toolbar button {
  min-height: 44px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--wine);
  font-size: 0.875rem;
  cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
  .collection-image img {
    transition: none;
  }
}
@media print {
  .category-rotation-toolbar,
  .collection-photo-controls {
    display: none;
  }
  .collection-image .category-photo-layer {
    display: none;
  }
}

/* Layout refinements and enquiry routes */
/* Consistent spacing and balanced grids across the manufacturing page. */
:root {
  --section-space: clamp(56px, 6vw, 88px);
  --layout-gap: clamp(24px, 3vw, 40px);
}
.intro,
.process,
.faq,
.style-library,
.making {
  padding-block: var(--section-space);
}
.craft,
.connected,
.contact,
.stitches {
  padding-block: var(--section-space);
}
.collections {
  padding-bottom: var(--section-space);
}
.section-title {
  gap: var(--layout-gap);
  margin-bottom: 32px;
}
.section-title h2 {
  font-size: clamp(2.2rem, 3.8vw, 3.5rem);
  max-width: 24ch;
  text-wrap: balance;
}
.section-title > div,
.craft-layout > div,
.connected-layout > div,
.contact-grid > div {
  min-width: 0;
}
.previous-customers {
  margin-bottom: var(--section-space);
  padding-block: 36px;
}
.customer-names {
  gap: 16px 32px;
  align-items: center;
}
.customer-names li {
  flex-basis: calc((100% - 96px) / 4);
  min-height: 96px;
  padding: 12px 16px;
}
.customer-logo {
  width: 100%;
  height: 72px;
}
.customer-logo img {
  height: 72px;
  max-width: 200px;
}
.previous-customers .customer-continuity {
  max-width: none;
  margin-top: 24px;
  padding-top: 24px;
}
.collection-grid {
  gap: 44px 28px;
  align-items: stretch;
}
.collection-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.collection-card .number {
  min-height: 80px;
  padding-block: 14px;
  line-height: 1.5;
}
.collection-image {
  flex: none;
  height: auto;
  aspect-ratio: 1;
}
.collection-card h3 {
  font-size: clamp(1.6rem, 2.2vw, 2rem);
  line-height: 1.2;
  margin: 20px 0 14px;
  text-wrap: balance;
}
.collection-card > p {
  margin-bottom: 20px;
}
.collection-card > .text-link {
  margin-top: auto;
  align-self: flex-start;
}
.collection-photo-controls {
  min-height: 62px;
  gap: 6px;
}
.collection-photo-caption {
  min-width: 0;
  flex: 1;
  max-width: none;
}
.collection-photo-controls button {
  flex: 0 0 44px;
}
.category-rotation-toolbar {
  margin: 0 0 24px;
}
.construction-gallery {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #afb2a6;
}
.construction-heading {
  gap: var(--layout-gap);
}
.construction-heading p {
  max-width: 62ch;
}
.construction-grid {
  gap: 28px;
}
.construction-card .photo-link {
  aspect-ratio: auto;
  height: clamp(320px, 35vw, 440px);
}
.construction-card figcaption {
  padding-top: 18px;
  min-height: 136px;
}
.construction-card h3 {
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
}
.style-card figcaption {
  min-height: 158px;
}
.gallery-controls {
  margin-top: 20px;
}
.gallery-controls button {
  font-size: 0.875rem;
}
.library-filters {
  gap: 8px;
}
.library-toolbar {
  gap: 20px;
}
.wholesale-feature {
  margin-top: 40px;
}
@media (min-width: 901px) {
  .section-title {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    align-items: end;
  }
  .section-title > p {
    max-width: 46ch;
    justify-self: end;
  }
  .previous-customers {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr);
    column-gap: 60px;
  }
  .previous-customers > .eyebrow {
    grid-column: 1;
    grid-row: 1;
    align-self: end;
  }
  .previous-customers > h2 {
    grid-column: 1;
    grid-row: 2;
    margin-bottom: 0;
  }
  .previous-customers > p:not(.customer-continuity) {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    max-width: 64ch;
  }
  .customer-names,
  .previous-customers .customer-continuity {
    grid-column: 1/-1;
  }
}
@media (min-width: 1101px) {
  .stitch-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
  }
  .stitch-card {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    align-items: start;
  }
  .stitch-card figcaption {
    padding: 0;
  }
  .stitch-card h3 {
    font-size: 1.45rem;
    margin-top: 6px;
  }
  .stitch-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
  }
}
@media (min-width: 681px) and (max-width: 1100px) {
  .collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 24px;
  }
  .collection-image {
    height: auto;
    aspect-ratio: 1;
  }
  .collection-card h3 {
    min-height: 2.4em;
  }
  .construction-card figcaption {
    min-height: 170px;
  }
}
@media (max-width: 900px) {
  .section-title {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
  .previous-customers h2 {
    margin-bottom: 18px;
  }
  .customer-names {
    gap: 12px 20px;
  }
  .customer-names li {
    flex-basis: calc((100% - 40px) / 3);
  }
}
@media (max-width: 680px) {
  .collection-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .collection-image {
    height: auto;
    aspect-ratio: 1;
    max-height: 400px;
  }
  .collection-card .number {
    min-height: 70px;
  }
  .collection-card h3 {
    font-size: 1.8rem;
  }
  .collection-photo-controls {
    min-height: 58px;
  }
  .construction-gallery {
    margin-top: 36px;
    padding-top: 26px;
  }
  .construction-card .photo-link {
    height: clamp(300px, 100vw, 420px);
  }
  .construction-card figcaption {
    min-height: 154px;
  }
  .style-card figcaption {
    min-height: 180px;
  }
  .gallery-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
  .gallery-controls .rotation-status {
    grid-column: 1/-1;
    margin: 0;
  }
  .gallery-controls .rotation-toggle {
    grid-column: 1/-1;
  }
  .gallery-controls button {
    width: 100%;
    min-height: 46px;
  }
  .previous-customers {
    padding-block: 28px;
  }
  .customer-names {
    gap: 8px 16px;
    margin-top: 24px;
  }
  .customer-names li {
    flex-basis: calc((100% - 16px) / 2);
    padding: 12px 6px;
    min-height: 86px;
  }
  .customer-logo,
  .customer-logo img {
    height: 62px;
  }
  .library-filters {
    display: flex;
    flex-wrap: wrap;
  }
  .library-filter {
    flex: 1 1 calc(50% - 8px);
  }
  .customer-continuity {
    font-size: 0.9375rem;
  }
}
@media (max-width: 380px) {
  .style-card figcaption {
    min-height: 0;
  }
  .collection-photo-caption {
    font-size: 0.6875rem;
  }
}
@media print {
  .collection-card,
  .stitch-card {
    break-inside: avoid;
  }
  .construction-card figcaption,
  .style-card figcaption {
    min-height: 0;
  }
}

/* Two clear enquiry routes for the site's two customer groups. */
.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  align-items: flex-start;
}
.hero-actions .button {
  gap: 18px;
  text-align: left;
  justify-content: space-between;
}
.hero-actions .outline {
  background: transparent;
  border-color: #bca5a9;
  color: var(--paper);
}
.hero .eyebrow {
  line-height: 1.7;
  max-width: 42ch;
  margin-bottom: 24px;
}
.hero p {
  max-width: 44ch;
}
.lead-routes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  padding-top: var(--section-space);
}
.lead-route {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(24px, 3vw, 40px);
  border: 1px solid var(--line);
  background: #eeece5;
  scroll-margin-top: 112px;
}
.lead-route .eyebrow {
  color: var(--wine);
}
.lead-route h2 {
  font-size: clamp(2rem, 3vw, 2.7rem);
  margin: 18px 0;
  text-wrap: balance;
}
.lead-route p {
  color: var(--muted);
  margin-bottom: 26px;
  max-width: 55ch;
}
.lead-route > .button {
  margin-top: auto;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
}
.route-secondary {
  font-size: 0.875rem;
  margin-top: 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.wholesale-route {
  background: #e8e9e1;
  padding-bottom: calc(clamp(24px, 3vw, 40px) + 56px);
}
.contact-actions .button {
  gap: 16px;
  justify-content: space-between;
}
.contact-actions .light {
  border-color: var(--wine);
  color: var(--wine);
  background: transparent;
}
@media (max-width: 680px) {
  .lead-routes {
    grid-template-columns: 1fr;
    gap: 20px;
    padding-top: 40px;
  }
  .lead-route {
    scroll-margin-top: 100px;
    padding: 26px 24px;
  }
  .lead-route h2 {
    font-size: 2rem;
  }
  .lead-route > .button {
    width: 100%;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .button {
    width: 100%;
    max-width: 360px;
  }
  .contact-actions {
    flex-direction: column;
  }
  .contact-actions .button {
    width: 100%;
  }
}
@media (hover: hover) and (pointer: fine) {
  .hero-actions .outline:hover,
  .contact-actions .light:hover {
    background: var(--wine-light);
    color: white;
    border-color: var(--wine-light);
  }
}

/* Production section heading */
#process-title {
  margin-top: 20px;
}
