
/* ==========================================================
   HEDA SHELVES | SGS16
   5 LAYERS RED & BLACK PEGBOARD SUPERMARKET SHELVES

   DESIGN:
   Graphite & Crimson / Retail Merchandising Architecture

   COMPLETE PRODUCT DESCRIPTION
   Scoped HTML + CSS
   Responsive / No External JS
========================================================== */

#heda-sgs16 {
  --r16-ink: #242e33;
  --r16-dark: #222b30;
  --r16-deep: #192227;
  --r16-red: #c62f43;
  --r16-red-dark: #a92435;
  --r16-red-soft: #f9eef0;
  --r16-text: #53616a;
  --r16-muted: #7b878c;
  --r16-line: #e1e6e7;
  --r16-light: #f4f6f6;
  --r16-warm: #faf9f7;
  --r16-orange: #eb7928;
  --r16-orange-dark: #cc6019;

  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0;
  background: #ffffff;
  color: var(--r16-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

#heda-sgs16,
#heda-sgs16 * {
  box-sizing: border-box;
}

#heda-sgs16 img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 0;
}

#heda-sgs16 h2,
#heda-sgs16 h3,
#heda-sgs16 h4,
#heda-sgs16 p,
#heda-sgs16 figure,
#heda-sgs16 figcaption {
  margin: 0;
  padding: 0;
}

#heda-sgs16 h2,
#heda-sgs16 h3,
#heda-sgs16 h4 {
  color: var(--r16-ink);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.028em;
}

#heda-sgs16 a {
  text-decoration: none;
}

#heda-sgs16 .r16-container {
  width: 100%;
  max-width: 1230px;
  margin: 0 auto;
  padding: 0 30px;
}

#heda-sgs16 .r16-section {
  padding: 82px 0;
}

#heda-sgs16 .r16-label {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--r16-red-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .13em;
  text-transform: uppercase;
}

#heda-sgs16 .r16-label::before {
  content: "";
  display: block;
  flex: 0 0 23px;
  width: 23px;
  height: 2px;
  background: var(--r16-red);
}

#heda-sgs16 .r16-heading {
  margin-top: 17px;
  font-size: clamp(29px, 3.3vw, 43px);
  letter-spacing: -.038em;
}

#heda-sgs16 .r16-lead {
  color: var(--r16-text);
  font-size: 15px;
  line-height: 1.95;
}

#heda-sgs16 .r16-small {
  color: var(--r16-muted);
  font-size: 12px;
  line-height: 1.85;
}

/* ==========================================================
   NATIVE HEDA INQUIRY POPUP
========================================================== */

#heda-sgs16 .r16-quote {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 21px !important;
  width: auto !important;
  min-height: 51px !important;
  padding: 14px 25px !important;

  background: var(--r16-orange) !important;
  border: 1px solid var(--r16-orange) !important;
  border-radius: 2px !important;
  box-shadow: none !important;

  color: #ffffff !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: .05em !important;
  line-height: 1.5 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: uppercase !important;

  cursor: pointer;
  transition: background .2s ease,
              border-color .2s ease;
}

#heda-sgs16 .r16-quote:hover {
  background: var(--r16-orange-dark) !important;
  border-color: var(--r16-orange-dark) !important;
  color: #ffffff !important;
}

#heda-sgs16 .r16-arrow {
  font-size: 19px;
  line-height: 1;
  font-weight: 400;
}

/* ==========================================================
   01 / PRODUCT HERO
========================================================== */

#heda-sgs16 .r16-hero {
  padding: 26px 0 0;
  background: #ffffff;
}

#heda-sgs16 .r16-hero-shell {
  display: grid;
  grid-template-columns:
    minmax(0, .88fr)
    minmax(0, 1.12fr);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid var(--r16-line);
}

#heda-sgs16 .r16-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(32px, 4.8vw, 62px);
  background: var(--r16-dark);
}

#heda-sgs16 .r16-hero-copy .r16-label {
  color: #edb2b9;
}

#heda-sgs16 .r16-model {
  display: block;
  margin-top: 24px;
  color: #aab6bb;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

#heda-sgs16 .r16-hero-title {
  margin-top: 17px;
  color: #ffffff;
  font-size: clamp(34px, 3.75vw, 51px);
  line-height: 1.13;
  letter-spacing: -.043em;
}

#heda-sgs16 .r16-hero-title span {
  display: block;
  margin-top: 9px;
  color: #e4a3ac;
  font-weight: 400;
}

#heda-sgs16 .r16-hero-description {
  margin-top: 24px;
  max-width: 480px;
  color: #d1dadd;
  font-size: 14px;
  line-height: 1.95;
}

#heda-sgs16 .r16-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

#heda-sgs16 .r16-hero-tags span {
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.23);
  color: #e0e7e9;
  font-size: 11px;
  line-height: 1.5;
}

#heda-sgs16 .r16-hero-action {
  margin-top: 33px;
}

#heda-sgs16 .r16-hero-figure {
  display: flex;
  flex-direction: column;
  min-width: 0;
  margin: 0;
  background: #f7f8f7;
}

#heda-sgs16 .r16-hero-image {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 14px;
  background: #ffffff;
}

#heda-sgs16 .r16-hero-image img {
  width: 100%;
  max-width: 640px;
  height: auto;
  object-fit: contain;
  object-position: center;
}

#heda-sgs16 .r16-photo-caption {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding: 14px 20px;
  background: #ffffff;
  border-top: 1px solid var(--r16-line);
  color: var(--r16-muted);
  font-size: 10px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .065em;
  text-transform: uppercase;
}

/* Hero technical identity strip */

#heda-sgs16 .r16-identity {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  border-bottom: 1px solid var(--r16-line);
}

#heda-sgs16 .r16-identity-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 15px;
  align-items: center;
  min-width: 0;
  padding: 25px 22px;
  border-right: 1px solid var(--r16-line);
}

#heda-sgs16 .r16-identity-item:first-child {
  padding-left: 3px;
}

#heda-sgs16 .r16-identity-item:last-child {
  border-right: 0;
}

#heda-sgs16 .r16-identity-number {
  color: var(--r16-red-dark);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.04em;
}

#heda-sgs16 .r16-identity-item strong {
  display: block;
  color: var(--r16-ink);
  font-size: 13px;
  line-height: 1.55;
}

#heda-sgs16 .r16-identity-item p {
  margin-top: 4px;
  color: var(--r16-muted);
  font-size: 11px;
  line-height: 1.7;
}

/* ==========================================================
   02 / THREE REAL SHELVING CONFIGURATIONS
   STRICT MATCHED IMAGE FRAMES AND CARD HEIGHTS
========================================================== */

#heda-sgs16 .r16-formats {
  background: #ffffff;
}

#heda-sgs16 .r16-format-heading {
  display: grid;
  grid-template-columns:
    minmax(0, 1fr)
    minmax(0, .85fr);
  align-items: end;
  gap: 65px;
  margin-bottom: 36px;
}

#heda-sgs16 .r16-format-heading .r16-lead {
  padding-bottom: 4px;
}

#heda-sgs16 .r16-format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

#heda-sgs16 .r16-format-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--r16-line);
}

#heda-sgs16 .r16-format-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-width: 0;
  overflow: hidden;
  background: #f7f8f7;
}

#heda-sgs16 .r16-format-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

#heda-sgs16 .r16-format-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  padding: 25px 25px 27px;
  border-top: 1px solid var(--r16-line);
  background: #ffffff;
}

#heda-sgs16 .r16-format-code {
  display: block;
  margin-bottom: 13px;
  color: var(--r16-red-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .095em;
  text-transform: uppercase;
}

#heda-sgs16 .r16-format-body h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

#heda-sgs16 .r16-format-body p {
  color: var(--r16-text);
  font-size: 13px;
  line-height: 1.85;
}

#heda-sgs16 .r16-format-foot {
  margin-top: auto;
  padding-top: 19px;
}

#heda-sgs16 .r16-format-divider {
  width: 100%;
  height: 1px;
  margin-bottom: 15px;
  background: var(--r16-line);
}

#heda-sgs16 .r16-format-foot strong {
  display: block;
  color: var(--r16-ink);
  font-size: 12px;
}

#heda-sgs16 .r16-format-foot span {
  display: block;
  margin-top: 5px;
  color: var(--r16-muted);
  font-size: 11px;
  line-height: 1.75;
}

#heda-sgs16 .r16-format-note {
  margin-top: 19px;
  color: var(--r16-muted);
  font-size: 12px;
  line-height: 1.85;
}

/* ==========================================================
   03 / ACTUAL PRODUCT CONSTRUCTION
========================================================== */

#heda-sgs16 .r16-construction {
  background: var(--r16-light);
}

#heda-sgs16 .r16-construction-intro {
  max-width: 830px;
  margin-bottom: 35px;
}

#heda-sgs16 .r16-construction-intro .r16-lead {
  margin-top: 20px;
}

#heda-sgs16 .r16-build-board {
  display: grid;
  grid-template-columns:
    minmax(0, .82fr)
    minmax(0, 1.18fr);
  align-items: stretch;
  border: 1px solid var(--r16-line);
  background: #ffffff;
}

#heda-sgs16 .r16-build-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: clamp(28px, 4vw, 53px);
  background: var(--r16-deep);
}

#heda-sgs16 .r16-build-label {
  display: block;
  margin-bottom: 18px;
  color: #efa5af;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#heda-sgs16 .r16-build-side h3 {
  color: #ffffff;
  font-size: clamp(25px, 2.6vw, 34px);
}

#heda-sgs16 .r16-build-side > p {
  margin-top: 19px;
  color: #c7d1d5;
  font-size: 13px;
  line-height: 1.95;
}

#heda-sgs16 .r16-build-list {
  margin-top: 27px;
  border-top: 1px solid rgba(255,255,255,.2);
}

#heda-sgs16 .r16-build-point {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 13px;
  padding: 17px 0;
  border-bottom: 1px solid rgba(255,255,255,.2);
}

#heda-sgs16 .r16-build-point > span {
  color: #efa5af;
  font-size: 12px;
  font-weight: 700;
}

#heda-sgs16 .r16-build-point h4 {
  margin-bottom: 6px;
  color: #ffffff;
  font-size: 15px;
}

#heda-sgs16 .r16-build-point p {
  color: #c5d0d3;
  font-size: 12px;
  line-height: 1.85;
}

#heda-sgs16 .r16-build-image-panel {
  display: flex;
  flex-direction: column;
  min-width: 0;
  background: #ffffff;
}

#heda-sgs16 .r16-build-image {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  padding: 17px;
  background: #ffffff;
}

#heda-sgs16 .r16-build-image img {
  display: block;
  width: 100%;
  max-width: 640px;
  height: auto;
  object-fit: contain;
}

#heda-sgs16 .r16-build-caption {
  padding: 15px 21px;
  border-top: 1px solid var(--r16-line);
  color: var(--r16-muted);
  font-size: 11px;
  line-height: 1.8;
}

/* ==========================================================
   04 / PEGBOARD & MERCHANDISING
========================================================== */

#heda-sgs16 .r16-merch {
  background: #ffffff;
}

#heda-sgs16 .r16-merch-top {
  display: grid;
  grid-template-columns:
    minmax(0, .95fr)
    minmax(0, 1.05fr);
  align-items: end;
  gap: 75px;
  margin-bottom: 37px;
}

#heda-sgs16 .r16-merch-top .r16-lead {
  padding-bottom: 3px;
}

#heda-sgs16 .r16-merch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  border-top: 1px solid var(--r16-line);
  border-bottom: 1px solid var(--r16-line);
}

#heda-sgs16 .r16-merch-item {
  min-width: 0;
  padding: 31px 29px;
  border-right: 1px solid var(--r16-line);
}

#heda-sgs16 .r16-merch-item:first-child {
  padding-left: 0;
}

#heda-sgs16 .r16-merch-item:last-child {
  border-right: 0;
}

#heda-sgs16 .r16-merch-number {
  display: block;
  margin-bottom: 22px;
  color: var(--r16-red-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

#heda-sgs16 .r16-merch-item h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

#heda-sgs16 .r16-merch-item p {
  color: var(--r16-text);
  font-size: 13px;
  line-height: 1.9;
}

#heda-sgs16 .r16-merch-note {
  margin-top: 23px;
  padding: 19px 23px;
  background: var(--r16-red-soft);
  border-left: 3px solid var(--r16-red);
}

#heda-sgs16 .r16-merch-note p {
  color: #685a60;
  font-size: 12px;
  line-height: 1.9;
}

/* ==========================================================
   05 / FOUR TECHNICAL SERIES
========================================================== */

#heda-sgs16 .r16-specs {
  background: var(--r16-warm);
}

#heda-sgs16 .r16-specs-top {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 34px;
}

#heda-sgs16 .r16-specs-top > div {
  max-width: 670px;
}

#heda-sgs16 .r16-specs-top > p {
  max-width: 370px;
}

#heda-sgs16 .r16-scroll-tip {
  display: none;
  margin-bottom: 11px;
  color: var(--r16-muted);
  font-size: 11px;
}

#heda-sgs16 .r16-table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border: 1px solid var(--r16-line);
}

#heda-sgs16 .r16-table {
  width: 100%;
  min-width: 790px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  border-spacing: 0;
  color: var(--r16-ink);
  font-size: 13px;
  line-height: 1.7;
}

#heda-sgs16 .r16-table th,
#heda-sgs16 .r16-table td {
  padding: 18px 16px;
  border: 0;
  border-right: 1px solid #e9eeee;
  border-bottom: 1px solid #e4eaea;
  text-align: center;
  vertical-align: middle;
}

#heda-sgs16 .r16-table th:last-child,
#heda-sgs16 .r16-table td:last-child {
  border-right: 0;
}

#heda-sgs16 .r16-table tbody tr:last-child td {
  border-bottom: 0;
}

#heda-sgs16 .r16-table thead th {
  padding: 23px 15px;
  background: var(--r16-dark);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

#heda-sgs16 .r16-table thead th:first-child {
  background: var(--r16-deep);
  text-align: left;
  font-size: 12px;
}

#heda-sgs16 .r16-table tbody tr:nth-child(even) {
  background: #f8f9f8;
}

#heda-sgs16 .r16-table tbody td:first-child {
  min-width: 170px;
  color: #354149;
  font-weight: 700;
  text-align: left;
}

#heda-sgs16 .r16-table tbody td {
  color: #59656b;
}

#heda-sgs16 .r16-table strong {
  color: var(--r16-ink);
}

#heda-sgs16 .r16-table small {
  display: block;
  margin-top: 3px;
  color: var(--r16-muted);
  font-size: 11px;
  font-weight: 400;
}

#heda-sgs16 .r16-spec-warning {
  margin-top: 21px;
  padding: 20px 23px;
  background: #ffffff;
  border-left: 3px solid var(--r16-red);
}

#heda-sgs16 .r16-spec-warning p {
  color: var(--r16-text);
  font-size: 12px;
  line-height: 1.95;
}

/* ==========================================================
   06 / STORE LAYOUT & PROCUREMENT
========================================================== */

#heda-sgs16 .r16-planning {
  background: #ffffff;
}

#heda-sgs16 .r16-planning-layout {
  display: grid;
  grid-template-columns:
    minmax(0, .87fr)
    minmax(0, 1.13fr);
  gap: 76px;
  align-items: start;
}

#heda-sgs16 .r16-planning-left .r16-lead {
  margin-top: 21px;
}

#heda-sgs16 .r16-planning-highlight {
  margin-top: 30px;
  padding: 22px 23px;
  background: var(--r16-light);
  border-left: 3px solid var(--r16-red);
}

#heda-sgs16 .r16-planning-highlight h3 {
  margin-bottom: 9px;
  font-size: 16px;
}

#heda-sgs16 .r16-planning-highlight p {
  color: var(--r16-text);
  font-size: 12px;
  line-height: 1.9;
}

#heda-sgs16 .r16-plan-list {
  border-top: 1px solid var(--r16-line);
}

#heda-sgs16 .r16-plan-item {
  display: grid;
  grid-template-columns: 39px 1fr;
  gap: 16px;
  padding: 22px 0;
  border-bottom: 1px solid var(--r16-line);
}

#heda-sgs16 .r16-plan-no {
  color: var(--r16-red-dark);
  font-size: 12px;
  font-weight: 700;
}

#heda-sgs16 .r16-plan-item h3 {
  margin-bottom: 8px;
  font-size: 17px;
}

#heda-sgs16 .r16-plan-item p {
  color: var(--r16-text);
  font-size: 13px;
  line-height: 1.88;
}

/* ==========================================================
   07 / COMMERCIAL APPLICATIONS
========================================================== */

#heda-sgs16 .r16-applications {
  background: var(--r16-dark);
}

#heda-sgs16 .r16-applications .r16-label {
  color: #edabb4;
}

#heda-sgs16 .r16-applications .r16-heading {
  max-width: 800px;
  color: #ffffff;
}

#heda-sgs16 .r16-app-intro {
  max-width: 760px;
  margin-top: 19px;
  color: #cdd6d9;
  font-size: 14px;
  line-height: 1.95;
}

#heda-sgs16 .r16-app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  align-items: stretch;
  margin-top: 37px;
  border-top: 1px solid rgba(255,255,255,.2);
  border-bottom: 1px solid rgba(255,255,255,.2);
}

#heda-sgs16 .r16-app-item {
  min-width: 0;
  padding: 29px 28px 32px;
  border-right: 1px solid rgba(255,255,255,.2);
}

#heda-sgs16 .r16-app-item:first-child {
  padding-left: 0;
}

#heda-sgs16 .r16-app-item:last-child {
  border-right: 0;
}

#heda-sgs16 .r16-app-code {
  display: block;
  margin-bottom: 21px;
  color: #f0adb6;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
}

#heda-sgs16 .r16-app-item h3 {
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 19px;
}

#heda-sgs16 .r16-app-item p {
  color: #c3cfd3;
  font-size: 12px;
  line-height: 1.9;
}

/* ==========================================================
   08 / FINAL INQUIRY
========================================================== */

#heda-sgs16 .r16-cta {
  padding: 0 0 58px;
  background: #ffffff;
}

#heda-sgs16 .r16-cta-panel {
  display: grid;
  grid-template-columns:
    minmax(0, 1.18fr)
    minmax(0, .82fr);
  align-items: center;
  gap: 42px;
  padding: 53px 56px;
  background: var(--r16-light);
  border: 1px solid var(--r16-line);
  border-top: 3px solid var(--r16-red);
}

#heda-sgs16 .r16-cta-kicker {
  margin-bottom: 16px;
  color: var(--r16-red-dark);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

#heda-sgs16 .r16-cta h2 {
  max-width: 650px;
  font-size: clamp(28px, 3vw, 38px);
}

#heda-sgs16 .r16-cta p {
  max-width: 630px;
  margin-top: 17px;
  color: var(--r16-text);
  font-size: 13px;
  line-height: 1.95;
}

#heda-sgs16 .r16-cta-action {
  text-align: right;
}

#heda-sgs16 .r16-cta-action .r16-quote {
  min-width: 205px !important;
}

#heda-sgs16 .r16-cta-hint {
  display: block;
  margin-top: 14px;
  color: var(--r16-muted);
  font-size: 11px;
  line-height: 1.85;
}

/* ==========================================================
   RESPONSIVE / LAPTOP
========================================================== */

@media (max-width: 1050px) {

  #heda-sgs16 .r16-hero-copy {
    padding: 38px;
  }

  #heda-sgs16 .r16-hero-title {
    font-size: 41px;
  }

  #heda-sgs16 .r16-format-heading,
  #heda-sgs16 .r16-merch-top,
  #heda-sgs16 .r16-planning-layout {
    gap: 40px;
  }

  #heda-sgs16 .r16-format-body {
    padding: 23px 20px;
  }

  #heda-sgs16 .r16-format-body h3 {
    font-size: 19px;
  }

  #heda-sgs16 .r16-build-side {
    padding: 30px;
  }

  #heda-sgs16 .r16-cta-panel {
    padding: 43px;
  }
}

/* ==========================================================
   RESPONSIVE / TABLET
========================================================== */

@media (max-width: 820px) {

  #heda-sgs16 .r16-container {
    padding: 0 22px;
  }

  #heda-sgs16 .r16-section {
    padding: 65px 0;
  }

  #heda-sgs16 .r16-hero-shell {
    grid-template-columns: 1fr;
  }

  #heda-sgs16 .r16-hero-copy {
    padding: 43px 38px;
  }

  #heda-sgs16 .r16-hero-title {
    max-width: 690px;
    font-size: 43px;
  }

  #heda-sgs16 .r16-hero-description {
    max-width: 650px;
  }

  #heda-sgs16 .r16-hero-image {
    padding: 19px;
  }

  #heda-sgs16 .r16-hero-image img {
    max-width: 590px;
  }

  #heda-sgs16 .r16-format-heading,
  #heda-sgs16 .r16-merch-top {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  /* Horizontal cards at tablet width:
     one full card per row, no unmatched orphan */

  #heda-sgs16 .r16-format-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  #heda-sgs16 .r16-format-card {
    display: grid;
    grid-template-columns:
      minmax(0, .44fr)
      minmax(0, .56fr);
    align-items: stretch;
  }

  #heda-sgs16 .r16-format-image {
    height: 100%;
    aspect-ratio: auto;
  }

  #heda-sgs16 .r16-format-body {
    padding: 26px;
    border-top: 0;
    border-left: 1px solid var(--r16-line);
  }

  #heda-sgs16 .r16-format-body h3 {
    font-size: 20px;
  }

  #heda-sgs16 .r16-build-board {
    grid-template-columns: 1fr;
  }

  #heda-sgs16 .r16-build-side {
    padding: 36px;
  }

  #heda-sgs16 .r16-build-image {
    padding: 20px;
  }

  #heda-sgs16 .r16-merch-item {
    padding: 26px 18px;
  }

  #heda-sgs16 .r16-specs-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 17px;
  }

  #heda-sgs16 .r16-specs-top > p {
    max-width: 670px;
  }

  #heda-sgs16 .r16-planning-layout {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  #heda-sgs16 .r16-cta-panel {
    grid-template-columns: 1fr;
    gap: 27px;
  }

  #heda-sgs16 .r16-cta-action {
    text-align: left;
  }
}

/* ==========================================================
   RESPONSIVE / MOBILE
========================================================== */

@media (max-width: 560px) {

  #heda-sgs16 {
    font-size: 14px;
  }

  #heda-sgs16 .r16-container {
    padding: 0 16px;
  }

  #heda-sgs16 .r16-section {
    padding: 51px 0;
  }

  #heda-sgs16 .r16-heading {
    font-size: 29px;
  }

  #heda-sgs16 .r16-lead {
    font-size: 14px;
  }

  #heda-sgs16 .r16-hero {
    padding-top: 18px;
  }

  #heda-sgs16 .r16-hero-copy {
    padding: 35px 23px;
  }

  #heda-sgs16 .r16-hero-title {
    font-size: 35px;
  }

  #heda-sgs16 .r16-hero-description {
    font-size: 13px;
  }

  #heda-sgs16 .r16-hero-image {
    padding: 10px;
  }

  #heda-sgs16 .r16-photo-caption {
    padding: 12px 14px;
    font-size: 9px;
  }

  #heda-sgs16 .r16-hero-action .r16-quote {
    width: 100% !important;
  }

  #heda-sgs16 .r16-identity {
    grid-template-columns: 1fr;
  }

  #heda-sgs16 .r16-identity-item,
  #heda-sgs16 .r16-identity-item:first-child {
    padding: 18px 3px;
    border-right: 0;
    border-bottom: 1px solid var(--r16-line);
  }

  #heda-sgs16 .r16-identity-item:last-child {
    border-bottom: 0;
  }

  #heda-sgs16 .r16-format-card {
    display: flex;
    flex-direction: column;
  }

  #heda-sgs16 .r16-format-image {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  #heda-sgs16 .r16-format-body {
    padding: 23px 22px;
    border-left: 0;
    border-top: 1px solid var(--r16-line);
  }

  #heda-sgs16 .r16-format-body h3 {
    font-size: 19px;
  }

  #heda-sgs16 .r16-build-side {
    padding: 30px 23px;
  }

  #heda-sgs16 .r16-build-side h3 {
    font-size: 27px;
  }

  #heda-sgs16 .r16-build-point {
    grid-template-columns: 29px 1fr;
    gap: 11px;
  }

  #heda-sgs16 .r16-build-image {
    padding: 10px;
  }

  #heda-sgs16 .r16-build-caption {
    padding: 13px 16px;
  }

  #heda-sgs16 .r16-merch-grid {
    grid-template-columns: 1fr;
  }

  #heda-sgs16 .r16-merch-item,
  #heda-sgs16 .r16-merch-item:first-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid var(--r16-line);
  }

  #heda-sgs16 .r16-merch-item:last-child {
    border-bottom: 0;
  }

  #heda-sgs16 .r16-merch-number {
    margin-bottom: 12px;
  }

  #heda-sgs16 .r16-merch-note {
    padding: 17px;
  }

  #heda-sgs16 .r16-scroll-tip {
    display: block;
  }

  #heda-sgs16 .r16-table th,
  #heda-sgs16 .r16-table td {
    padding: 15px 12px;
  }

  #heda-sgs16 .r16-spec-warning {
    padding: 17px;
  }

  #heda-sgs16 .r16-plan-item {
    grid-template-columns: 30px 1fr;
    gap: 12px;
  }

  #heda-sgs16 .r16-planning-highlight {
    padding: 19px;
  }

  #heda-sgs16 .r16-app-grid {
    grid-template-columns: 1fr;
  }

  #heda-sgs16 .r16-app-item,
  #heda-sgs16 .r16-app-item:first-child {
    padding: 24px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.2);
  }

  #heda-sgs16 .r16-app-item:last-child {
    border-bottom: 0;
  }

  #heda-sgs16 .r16-app-code {
    margin-bottom: 12px;
  }

  #heda-sgs16 .r16-cta {
    padding-bottom: 35px;
  }

  #heda-sgs16 .r16-cta-panel {
    padding: 32px 23px;
  }

  #heda-sgs16 .r16-cta h2 {
    font-size: 28px;
  }

  #heda-sgs16 .r16-cta-action .r16-quote {
    width: 100% !important;
  }
}

/* ==========================================================
   REDUCED MOTION
========================================================== */

@media (prefers-reduced-motion: reduce) {
  #heda-sgs16 *,
  #heda-sgs16 *::before,
  #heda-sgs16 *::after {
    transition: none !important;
  }
}
