.site-header .steel-brand {
  gap: 12px;
}

.site-header .steel-brand .brand-mark {
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.site-header .steel-brand .brand-name {
  padding-left: 12px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0;
}

.site-header .steel-brand .brand-name span {
  padding: 0;
  border: 0;
  letter-spacing: .025em;
  text-transform: none;
}

.steel-topbar .container > span {
  display: block;
}

.ydsl-home-hero {
  min-height: clamp(530px, 69svh, 660px);
}

.ydsl-home-hero .wyd-hero-copy {
  max-width: 780px;
  padding-top: clamp(72px, 8vw, 123px);
}

.ydsl-home-hero .wyd-hero-copy h1 {
  max-width: 740px;
}

.ydsl-home-hero .wyd-hero-controls {
  left: max(32px, calc((100% - 1200px) / 2));
  right: auto;
}

.ydsl-home-hero[data-paused='true'] .wyd-hero-dot[aria-pressed='true']::after {
  transform: scaleX(1);
}

.wyd-hero .wyd-hero-scene {
  --image-position: center 58%;
  --image-position-mobile: 64% 50%;
}

.steel-services {
  border-bottom: 1px solid var(--line);
  background: white;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 8px;
  padding: 14px 24px;
  border-left: 1px solid var(--line);
  font-weight: 600;
}

.service-list a:last-child {
  border-right: 1px solid var(--line);
}

.service-list a:hover,
.steel-category:hover {
  color: var(--blue);
}

.service-list a span,
.steel-category > span {
  color: var(--blue);
}

.steel-grid,
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.steel-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 96px;
  padding: 22px;
  background: white;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}

.steel-category h3,
.steel-category h2 {
  margin: 0;
  font-size: 21px;
}

.product-entry {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  scroll-margin-top: 50px;
}

.product-entry:hover {
  color: inherit;
}

.product-entry p {
  margin: 0;
}

.product-entry .text-link {
  margin-top: auto;
}

.steel-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(28px, 6vw, 88px);
}

.about-overview,
.enquiry-list {
  align-self: start;
}

.service-details article + article {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.service-details h3 {
  margin-bottom: 10px;
}

.photo-grid figure,
.warehouse-feature {
  margin: 0;
}

.photo-grid figure {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #f0f3f7;
  border: 1px solid var(--line);
}

.photo-grid a {
  display: block;
  margin-block: auto;
}

.photo-grid a:hover {
  outline: 2px solid var(--blue);
  outline-offset: -2px;
}

.photo-grid img,
.warehouse-feature img {
  width: 100%;
  height: auto;
}

.photo-grid figcaption,
.warehouse-feature figcaption {
  padding: 12px;
  color: #425269;
  background: #f8fafc;
  font-size: 14px;
}

.photo-dialog {
  width: min(1100px, calc(100vw - 24px));
  max-width: none;
  padding: 12px;
  border: 0;
  background: var(--navy);
}

.photo-dialog::backdrop {
  background: #070e1aee;
}

.photo-dialog form {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 8px;
}

.photo-dialog img {
  width: auto;
  height: auto;
  max-height: calc(100dvh - 150px);
  margin-inline: auto;
}

.photo-dialog p {
  margin: 10px 0 0;
  color: white;
  text-align: center;
}

.photo-close {
  min-width: 44px;
  min-height: 44px;
  background: white;
  color: var(--navy);
  border: 0;
  font-size: 24px;
}

.enquiry-list {
  margin: 0;
}

.enquiry-list div {
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.enquiry-list dt {
  font-weight: 700;
}

.enquiry-list dd {
  margin: 0;
  color: #475569;
}

.preview-note {
  grid-column: 1 / -1;
  padding: 16px 18px;
  background: #f8fafc;
  border-left: 3px solid var(--gold);
  color: #425269;
  margin: 0;
}

.steel-footer {
  padding: 32px 0;
  background: var(--navy);
  color: #e2e8f0;
}

.steel-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.steel-footer p {
  margin: 8px 0 0;
  color: #bbc8d9;
  font-size: 14px;
}

.steel-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 22px;
}

.steel-footer nav a {
  min-height: 44px;
  display: grid;
  align-items: center;
  font-size: 14px;
}

.steel-footer nav a:hover {
  color: #e1c37d;
}

@media (max-width: 880px) {
  .site-header .header-inner {
    gap: 10px;
  }

  .steel-grid,
  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .ydsl-home-hero {
    min-height: 540px;
  }

  .ydsl-home-hero .wyd-hero-copy {
    max-width: 100%;
    padding: 64px 0 114px;
    min-height: 525px;
  }

  .ydsl-home-hero .wyd-hero-controls {
    left: 18px;
  }

  .site-header .steel-brand .brand-name {
    font-size: 14px;
  }

  .service-list a {
    min-height: 64px;
    font-size: 13px;
    padding: 10px 8px;
  }

  .steel-split {
    grid-template-columns: 1fr;
  }

  .steel-category {
    min-height: 76px;
    padding: 14px;
  }

  .steel-category h3,
  .steel-category h2 {
    font-size: 17px;
  }
}

@media (max-width: 440px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
