/* ROYI shoe-upper page — selected concept 02: Shoemaking Workbench */

.shoe-upper-workbench {
  background: #fff;
  color: var(--ds-color-ink, #18212b);
}

.shoe-upper-workbench .shoe-workbench-page {
  --shoe-navy: var(--ds-color-brand-navy-900, #102f55);
  --shoe-blue: var(--ds-color-brand-navy-700, #174b7f);
  --shoe-copper: var(--ds-color-accent-copper, #a95f34);
  --shoe-copy: var(--ds-color-copy, #405264);
  --shoe-muted: var(--ds-color-muted, #667483);
  --shoe-border: var(--ds-color-border, #d7dfe7);
  --shoe-soft: #f8f7f3;
  --shoe-blue-soft: #edf3f8;
  background: #fff;
  color: var(--shoe-copy);
  font-family: var(--ds-font-body, Arial, sans-serif);
  overflow: clip;
  padding-block-start: var(--header-height);
}

.shoe-workbench-page *,
.shoe-workbench-page *::before,
.shoe-workbench-page *::after {
  box-sizing: border-box;
}

.shoe-workbench-page img {
  display: block;
  inline-size: 100%;
}

.shoe-workbench-page h1,
.shoe-workbench-page h2,
.shoe-workbench-page h3,
.shoe-workbench-page p,
.shoe-workbench-page figure {
  margin: 0;
}

.shoe-workbench-page h1,
.shoe-workbench-page h2,
.shoe-workbench-page h3 {
  color: var(--shoe-navy);
  font-family: var(--ds-font-display, Arial, sans-serif);
}

.shoe-page-section,
.shoe-hero,
.shoe-brief-cta {
  inline-size: min(100%, 1440px);
  margin-inline: auto;
}

.shoe-page-section {
  padding: 24px 48px;
  border-block-start: 1px solid var(--shoe-border);
}

.shoe-eyebrow {
  color: var(--shoe-copper);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.105em;
  line-height: 1.2;
  text-transform: uppercase;
}

.shoe-section-heading {
  margin-block-end: 14px;
}

.shoe-section-heading h2,
.shoe-validation-intro h2,
.shoe-brief-cta h2 {
  margin-block-start: 5px;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 740;
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.shoe-section-heading-inline {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  align-items: end;
  gap: 48px;
}

.shoe-section-heading-inline > p {
  max-inline-size: 500px;
  color: var(--shoe-muted);
  font-size: 12px;
  line-height: 1.4;
}

/* Hero */

.shoe-hero {
  display: grid;
  grid-template-columns: minmax(390px, 0.7fr) minmax(0, 1.3fr);
  min-block-size: 438px;
  background: var(--shoe-soft);
  border-block-end: 1px solid var(--shoe-border);
}

.shoe-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px 42px 34px 48px;
}

.shoe-hero h1 {
  max-inline-size: 315px;
  margin-block-start: 10px;
  font-size: clamp(39px, 3.45vw, 50px);
  font-weight: 750;
  letter-spacing: -0.052em;
  line-height: 0.99;
}

.shoe-copper-rule {
  display: block;
  inline-size: 82px;
  block-size: 2px;
  margin-block: 16px 14px;
  background: var(--shoe-copper);
}

.shoe-hero-statement {
  max-inline-size: 500px;
  color: var(--shoe-navy);
  font-size: 15px;
  font-weight: 780;
  line-height: 1.28;
}

.shoe-hero-body {
  max-inline-size: 520px;
  margin-block-start: 10px !important;
  color: var(--shoe-copy);
  font-size: 12.5px;
  line-height: 1.46;
}

.shoe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-block-start: 16px;
}

.shoe-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-block-size: 38px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 780;
  line-height: 1;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.shoe-button:hover {
  transform: translateY(-1px);
}

.shoe-button:focus-visible {
  outline: 3px solid var(--ds-color-focus, #d98b54);
  outline-offset: 3px;
}

.shoe-button-primary {
  background: var(--shoe-navy);
  color: #fff;
}

.shoe-button-primary:hover {
  background: var(--shoe-blue);
  color: #fff;
}

.shoe-button-secondary {
  border-color: #9babbc;
  background: #fff;
  color: var(--shoe-navy);
}

.shoe-button-secondary:hover {
  border-color: var(--shoe-navy);
  color: var(--shoe-navy);
}

.shoe-hero-media {
  position: relative;
  min-block-size: 438px;
  overflow: hidden;
  background: #11161c;
}

.shoe-hero-media img {
  block-size: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.shoe-hero-media figcaption {
  position: absolute;
  inset-inline-end: 12px;
  inset-block-end: 10px;
  max-inline-size: calc(100% - 24px);
  padding: 5px 7px;
  background: rgb(7 26 46 / 82%);
  color: #fff;
  font-size: 8px;
  line-height: 1.2;
}

/* Six-step process strip */

.shoe-workflow {
  padding-block: 18px 20px;
}

.shoe-workflow .shoe-section-heading-inline > p,
.shoe-components .shoe-section-heading-inline > p {
  display: none;
}

.shoe-workflow-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.shoe-workflow-grid li {
  min-inline-size: 0;
  border-block-start: 1px solid var(--shoe-copper);
}

.shoe-workflow-grid img {
  block-size: 86px;
  margin-block-start: 8px;
  object-fit: cover;
  background: #e8ebee;
}

.shoe-workflow-grid div {
  position: relative;
  padding-block-start: 8px;
}

.shoe-workflow-grid span,
.shoe-component-grid span,
.shoe-material-grid span,
.shoe-construction-grid span,
.shoe-validation-grid span {
  color: var(--shoe-copper);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.shoe-workflow-grid h3 {
  display: inline;
  margin-inline-start: 5px;
  font-size: 12px;
  line-height: 1.1;
}

.shoe-workflow-grid p {
  display: none;
}

/* Connected component atlas */

.shoe-components {
  padding-block: 18px 20px;
  background: #fff;
}

.shoe-component-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.shoe-component-grid article {
  min-inline-size: 0;
}

.shoe-component-grid img {
  block-size: 76px;
  margin-block-end: 7px;
  object-fit: cover;
  object-position: center;
  background: #eceff1;
}

.shoe-component-grid article:nth-child(1) img { object-position: 32% 64%; }
.shoe-component-grid article:nth-child(2) img { object-position: 24% 62%; }
.shoe-component-grid article:nth-child(3) img { object-position: 50% 24%; }
.shoe-component-grid article:nth-child(4) img { object-position: 72% 44%; }
.shoe-component-grid article:nth-child(5) img { object-position: 30% 24%; }
.shoe-component-grid article:nth-child(6) img { object-position: 58% 30%; }

.shoe-component-grid h3 {
  margin-block-start: 2px;
  font-size: 11px;
  line-height: 1.12;
}

.shoe-component-grid p {
  margin-block-start: 4px;
  color: var(--shoe-muted);
  font-size: 9px;
  line-height: 1.25;
}

/* Material routes and construction */

.shoe-systems {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 38px;
  padding-block: 18px 20px;
  background: var(--shoe-soft);
}

.shoe-systems > div {
  min-inline-size: 0;
}

.shoe-systems .shoe-section-heading h2 {
  font-size: 19px;
}

.shoe-material-grid,
.shoe-construction-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.shoe-material-grid article,
.shoe-construction-grid article {
  min-inline-size: 0;
}

.shoe-material-grid img,
.shoe-construction-grid img {
  block-size: 68px;
  object-fit: cover;
  background: #e6e9ec;
}

.shoe-material-grid > article:nth-child(1) img { object-position: 38% 50%; }
.shoe-material-grid > article:nth-child(2) img { object-position: 72% 54%; }
.shoe-material-grid > article:nth-child(3) img { object-position: 28% 48%; }
.shoe-construction-grid article:nth-child(1) img { object-position: 54% 56%; }
.shoe-construction-grid article:nth-child(2) img { object-position: 50% 64%; }
.shoe-construction-grid article:nth-child(3) img { object-position: 72% 52%; }

.shoe-material-grid article > div,
.shoe-construction-grid article > div {
  padding-block-start: 7px;
}

.shoe-material-grid h3,
.shoe-construction-grid h3 {
  margin-block-start: 2px;
  font-size: 10.5px;
  line-height: 1.12;
}

.shoe-material-grid p,
.shoe-construction-grid p {
  margin-block-start: 4px;
  color: var(--shoe-muted);
  font-size: 8.5px;
  line-height: 1.25;
}

.shoe-material-grid a {
  display: inline-block;
  margin-block-start: 5px;
  color: var(--shoe-blue);
  font-size: 8.5px;
  font-weight: 780;
  line-height: 1.2;
  text-underline-offset: 2px;
}

.shoe-construction-note {
  margin-block-start: 8px !important;
  padding: 7px 9px;
  border-inline-start: 2px solid var(--shoe-copper);
  background: #fff;
  color: var(--shoe-copy);
  font-size: 9px;
  line-height: 1.3;
}

/* Buyer-defined validation matrix */

.shoe-validation {
  padding-block: 18px 16px;
  background: var(--shoe-blue-soft);
}

.shoe-validation-intro {
  display: grid;
  grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
  grid-template-areas:
    "eyebrow body"
    "title body";
  align-items: end;
  gap: 4px 38px;
  margin-block-end: 12px;
}

.shoe-validation-intro .shoe-eyebrow { grid-area: eyebrow; }
.shoe-validation-intro h2 { grid-area: title; font-size: 19px; }
.shoe-validation-intro > p:last-child {
  grid-area: body;
  color: var(--shoe-copy);
  font-size: 9.5px;
  line-height: 1.35;
}

.shoe-validation-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  border-block: 1px solid #c6d4e1;
}

.shoe-validation-grid article {
  min-inline-size: 0;
  padding: 9px 10px;
  border-inline-end: 1px solid #c6d4e1;
}

.shoe-validation-grid article:last-child { border-inline-end: 0; }

.shoe-validation-grid h3 {
  margin-block-start: 3px;
  font-size: 10px;
  line-height: 1.12;
}

.shoe-validation-grid p {
  margin-block-start: 4px;
  color: var(--shoe-copy);
  font-size: 8px;
  line-height: 1.25;
}

.shoe-validation-note {
  margin-block-start: 8px !important;
  color: var(--shoe-muted);
  font-size: 8.5px;
  line-height: 1.3;
}

/* Compact conversion strip */

.shoe-brief-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 28px;
  padding: 17px 48px;
  background: #fff;
  border-block-start: 1px solid var(--shoe-border);
}

.shoe-brief-cta .shoe-eyebrow,
.shoe-brief-cta p:not(.shoe-eyebrow) {
  display: none;
}

.shoe-brief-cta h2 {
  margin: 0;
  color: var(--shoe-navy);
  font-size: 18px;
  text-transform: uppercase;
}

.shoe-brief-cta .shoe-actions {
  flex-wrap: nowrap;
  margin: 0;
}

.shoe-button-light {
  background: var(--shoe-navy);
  color: #fff;
}

.shoe-button-outline-light {
  border-color: #9babbc;
  color: var(--shoe-navy);
}

.shoe-button-outline-light:hover {
  border-color: var(--shoe-navy);
  color: var(--shoe-navy);
}

/* Existing global footer, tightened without changing its content. */

.shoe-upper-workbench > .site-footer {
  padding: 28px 0;
}

.shoe-upper-workbench > .site-footer .footer-grid {
  gap: 34px;
}

.shoe-upper-workbench > .site-footer .footer-brand img {
  width: 190px;
}

.shoe-upper-workbench > .site-footer .footer-brand p,
.shoe-upper-workbench > .site-footer a,
.shoe-upper-workbench > .site-footer .footer-label {
  font-size: 11px;
  line-height: 1.4;
}

.shoe-upper-workbench > .site-footer .footer-brand p {
  margin-top: 10px;
}

@media (max-width: 1180px) {
  .shoe-page-section,
  .shoe-hero-copy,
  .shoe-brief-cta {
    padding-inline: 32px;
  }

  .shoe-hero {
    grid-template-columns: minmax(360px, 0.78fr) minmax(0, 1.22fr);
  }

  .shoe-hero h1 {
    font-size: 42px;
  }

  .shoe-workflow-grid,
  .shoe-component-grid {
    gap: 10px;
  }

  .shoe-systems {
    gap: 26px;
  }
}

@media (max-width: 900px) {
  .shoe-upper-workbench .shoe-workbench-page {
    padding-block-start: 60px;
  }

  .shoe-hero {
    grid-template-columns: 1fr;
  }

  .shoe-hero-copy {
    padding-block: 38px 30px;
  }

  .shoe-hero h1 {
    max-inline-size: 430px;
    font-size: clamp(38px, 7.2vw, 52px);
  }

  .shoe-hero-media {
    min-block-size: 360px;
    aspect-ratio: 1.65 / 1;
  }

  .shoe-section-heading-inline,
  .shoe-validation-intro {
    grid-template-columns: 1fr;
    grid-template-areas: none;
    gap: 8px;
  }

  .shoe-validation-intro .shoe-eyebrow,
  .shoe-validation-intro h2,
  .shoe-validation-intro > p:last-child {
    grid-area: auto;
  }

  .shoe-workflow-grid,
  .shoe-component-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .shoe-workflow-grid p {
    display: block;
    margin-block-start: 4px;
    color: var(--shoe-muted);
    font-size: 10px;
    line-height: 1.3;
  }

  .shoe-component-grid img,
  .shoe-workflow-grid img {
    block-size: 112px;
  }

  .shoe-systems {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .shoe-validation-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .shoe-validation-grid article:nth-child(4) {
    border-inline-end: 0;
  }

  .shoe-validation-grid article:nth-child(-n + 4) {
    border-block-end: 1px solid #c6d4e1;
  }

  .shoe-brief-cta {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .shoe-brief-cta .shoe-actions {
    flex-wrap: wrap;
  }
}

@media (max-width: 640px) {
  .shoe-page-section,
  .shoe-hero-copy,
  .shoe-brief-cta {
    padding-inline: 20px;
  }

  .shoe-page-section {
    padding-block: 28px;
  }

  .shoe-hero-copy {
    padding-block: 30px 26px;
  }

  .shoe-hero h1 {
    max-inline-size: 280px;
    margin-block-start: 9px;
    font-size: clamp(35px, 10.6vw, 44px);
    line-height: 1;
  }

  .shoe-copper-rule {
    inline-size: 72px;
    margin-block: 15px 13px;
  }

  .shoe-hero-statement {
    font-size: 15px;
  }

  .shoe-hero-body {
    font-size: 12px;
    line-height: 1.42;
  }

  .shoe-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    inline-size: 100%;
  }

  .shoe-button {
    min-inline-size: 0;
    padding-inline: 12px;
    text-align: center;
  }

  .shoe-hero-media {
    min-block-size: 0;
    aspect-ratio: 1.45 / 1;
  }

  .shoe-hero-media figcaption {
    font-size: 7px;
  }

  .shoe-section-heading {
    margin-block-end: 14px;
  }

  .shoe-section-heading h2,
  .shoe-validation-intro h2,
  .shoe-brief-cta h2,
  .shoe-systems .shoe-section-heading h2 {
    font-size: 24px;
  }

  .shoe-workflow .shoe-section-heading-inline > p,
  .shoe-components .shoe-section-heading-inline > p {
    display: block;
  }

  .shoe-workflow-grid,
  .shoe-component-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .shoe-workflow-grid img,
  .shoe-component-grid img {
    block-size: 104px;
  }

  .shoe-workflow-grid h3 {
    font-size: 12px;
  }

  .shoe-workflow-grid p,
  .shoe-component-grid p {
    font-size: 10px;
  }

  .shoe-component-grid h3 {
    font-size: 12px;
  }

  .shoe-material-grid,
  .shoe-construction-grid {
    grid-template-columns: 1fr;
    gap: 0;
    border-block-start: 1px solid var(--shoe-border);
  }

  .shoe-material-grid article,
  .shoe-construction-grid article {
    display: grid;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 12px;
    padding-block: 12px;
    border-block-end: 1px solid var(--shoe-border);
  }

  .shoe-material-grid img,
  .shoe-construction-grid img {
    block-size: 100%;
    min-block-size: 84px;
  }

  .shoe-material-grid article > div,
  .shoe-construction-grid article > div {
    padding: 0;
  }

  .shoe-material-grid h3,
  .shoe-construction-grid h3 {
    font-size: 13px;
  }

  .shoe-material-grid p,
  .shoe-construction-grid p,
  .shoe-material-grid a,
  .shoe-construction-note {
    font-size: 10px;
  }

  .shoe-validation-intro > p:last-child {
    font-size: 10px;
  }

  .shoe-validation-grid {
    grid-template-columns: 1fr 1fr;
  }

  .shoe-validation-grid article,
  .shoe-validation-grid article:nth-child(4) {
    border-inline-end: 1px solid #c6d4e1;
    border-block-end: 1px solid #c6d4e1;
  }

  .shoe-validation-grid article:nth-child(even) {
    border-inline-end: 0;
  }

  .shoe-validation-grid h3 {
    font-size: 11px;
  }

  .shoe-validation-grid p,
  .shoe-validation-note {
    font-size: 9.5px;
  }

  .shoe-brief-cta {
    padding-block: 24px;
  }

  .shoe-brief-cta h2 {
    font-size: 22px;
  }

  .shoe-brief-cta .shoe-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .shoe-upper-workbench > .site-footer {
    padding-block: 32px;
  }
}

@media (max-width: 390px) {
  .shoe-actions,
  .shoe-brief-cta .shoe-actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .shoe-button { transition: none; }
}

@media print {
  .shoe-upper-workbench .shoe-workbench-page { overflow: visible; }
  .shoe-button { border-color: #111; color: #111; background: transparent; }
}
