:root {
  --navy: #071b29;
  --deep: #061724;
  --copper: #f39653;
  --paper: #f7f2eb;
  --ink: #091522;
  --ref: url("assets/v7-reference.png");
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.3 Arial, sans-serif; }
h1,h2,h3 { font-family: Georgia, serif; line-height: 1.02; margin: 0 0 .4rem; letter-spacing: -.025em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid #e88745; outline-offset: 4px; }
.skip { position: absolute; inset: .5rem auto auto .5rem; z-index: 4; background: white; padding: .5rem; }
.skip:not(:focus) { clip-path: inset(50%); }
.masthead, .hero, .dark-band, footer { color: #fffaf6; background: var(--deep); }
.masthead { border-bottom: 1px solid #2e4753; }
.header-inner { min-height: 67px; padding: .55rem 2.6vw .55rem 4.6vw; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex: none; font: 700 clamp(1.45rem,2.35vw,2.2rem)/1 Georgia,serif; text-decoration: none; }
.brand-mark { display: inline-block; width: clamp(45px,5vw,76px); aspect-ratio: 76 / 45; background: var(--ref) 4.73% 1.02% / 2021.05% 2275.56% no-repeat; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(.75rem,2.1vw,2.1rem); }
nav a { text-decoration: none; padding: .4rem 0; white-space: nowrap; font-size: clamp(.8rem,1.06vw,1rem); }
nav a:hover, nav .current { border-bottom: 2px solid var(--copper); }
.button { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .75rem 1.1rem; border: 1px solid #f09b66; border-radius: .65rem; background: linear-gradient(#a85123,#944619); box-shadow: inset 0 1px #ffc19866; color: white; text-decoration: none; white-space: nowrap; font: 700 clamp(.84rem,1.1vw,1.07rem)/1.15 Arial,sans-serif; }
.button:hover { filter: brightness(1.13); }
.button span { font-size: 1.2em; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 337px; }
.hero-copy { position: relative; width: min(62rem,61%); padding: 1.55rem 0 1.75rem 4.75vw; }
.hero-photo { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 54.4%; background: var(--ref) 100% 9.75% / 183.73% 303.86% no-repeat; }
.hero::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg,#071b29 0%,#071b29 42%,#071b2900 56%); pointer-events: none; }
.eyebrow { font-size: clamp(.68rem,.96vw,.94rem); text-transform: uppercase; letter-spacing: .13em; font-weight: bold; }
.hero .eyebrow::after { content: ""; display: inline-block; width: 4rem; border-bottom: 2px solid var(--copper); margin: 0 0 .28em 1rem; }
h1 { font-size: clamp(2.6rem,4.15vw,4.3rem); margin-top: .5rem; }
h1 em { color: var(--copper); }
.hero-description { max-width: 36rem; margin-top: .85rem; font-size: clamp(1rem,1.32vw,1.27rem); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; }
.video { background: #091b28de; border-color: #fffaf6; color: white; cursor: default; }
.dark-band { background: linear-gradient(115deg,#071c2a,#0c2637,#071c2a); }
.benefits, .credentials { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); padding: 1rem 3.4vw; }
.benefits article,.credentials article,.operations article { display: flex; align-items: flex-start; gap: clamp(.65rem,1.35vw,1.35rem); min-width: 0; }
.benefits article,.credentials article { padding: 0 1.65vw; }
.benefits article + article,.credentials article + article { border-left: 1px solid #92a1ac; }
.benefits h2,.credentials h2 { font-size: clamp(1.12rem,1.6vw,1.55rem); }
.benefits p,.credentials p { font-size: clamp(.88rem,1.14vw,1.08rem); }
.icon { flex: 0 0 auto; width: clamp(34px,4.1vw,63px); aspect-ratio: 1; background-image: var(--ref); background-repeat: no-repeat; background-size: 2438.1% 1625.4%; }
.icon-clarity { background-position: 6.3% 43.55%; }
.icon-profit { background-position: 30.99% 43.55%; }
.icon-cash { background-position: 57.15% 43.55%; }
.icon-growth { background-position: 82.4% 43.55%; }
.icon-controller { background-position: 55.67% 67.85%; }
.icon-automation { background-position: 79.62% 67.85%; }
.icon-controls { background-position: 55.67% 78.28%; }
.icon-founder { background-position: 79.62% 78.28%; }
.icon-experience { background-position: 6.35% 93.4%; }
.icon-specialized { background-position: 29.36% 93.4%; }
.icon-trusted { background-position: 52.4% 93.4%; }
.platforms { display: grid; grid-template-columns: 1.2fr 1fr 3fr; align-items: center; gap: 1.6vw; padding: 1rem 4.75vw; border-bottom: 1px solid #e1d9cf; }
.platforms h2 { font-size: clamp(1.8rem,2.75vw,2.75rem); }
.platform-label { padding-left: 2.4vw; border-left: 1px solid #9f958b; color: #3b3633; }
.platforms ul { list-style: none; display: grid; grid-template-columns: 1fr .9fr 1.35fr 1.05fr; align-items: center; margin: 0; padding: 0; }
.platforms li { display: grid; place-items: center; min-width: 0; padding: .1rem .6rem; }
.platforms li + li { border-left: 1px solid #cfc8c0; }
.platform { display: block; height: clamp(27px,3.45vw,53px); background-image: var(--ref); background-repeat: no-repeat; background-size: var(--sx) 1932.08%; background-position: var(--x) 55.1%; max-width: 100%; }
.amazon { --sx: 1280%; --x: 50.5%; aspect-ratio: 120 / 53; }
.ebay { --sx: 1536%; --x: 63.2%; aspect-ratio: 100 / 53; }
.walmart { --sx: 913.2%; --x: 78.35%; aspect-ratio: 168 / 53; }
.shopify { --sx: 1017.22%; --x: 94.4%; aspect-ratio: 151 / 53; }
.approach { display: grid; grid-template-columns: 1fr 1.3fr 2.25fr; align-items: center; gap: 1.9vw; padding: 1.1rem 2vw 1.9rem; }
.warehouse { aspect-ratio: 305 / 185; border-radius: 1rem; background: var(--ref) 2.44% 77.24% / 503.61% 553.51% no-repeat; }
.approach h2 { font-size: clamp(1.75rem,2.45vw,2.4rem); }
.approach p,.operations p { font-size: clamp(.88rem,1.12vw,1.06rem); }
.approach .eyebrow { margin-bottom: .6rem; color: #993c13; }
.operations { display: grid; grid-template-columns: 1fr 1fr; border-left: 1px solid #aca39a; padding-left: 1.65vw; }
.operations article { padding: .45rem .65vw; }
.operations article:nth-child(even) { border-left: 1px solid #ddd4ca; }
.operations article:nth-child(n+3) { border-top: 1px solid #ddd4ca; padding-top: .75rem; }
.operations h3 { font-size: clamp(1.04rem,1.43vw,1.32rem); }
.operations p { font-size: clamp(.8rem,.98vw,.94rem); }
.credentials { align-items: center; padding: 1.7rem 4.5vw; }
.credentials .button { justify-self: center; }
.details { padding: 2rem 5vw; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.details h2 { font-size: 1.5rem; }
.details a { display: inline-block; margin-top: .5rem; }
footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding: 1rem 5vw; }
@media (min-width: 1650px) { .hero { min-height: 390px; } }
@media (max-width: 1100px) {
  nav { order: 3; flex-basis: 100%; }
  .header-inner { flex-wrap: wrap; }
  .hero-copy { width: 70%; }
  .approach { grid-template-columns: 1fr 1.55fr; }
  .operations { grid-column: 1 / -1; border-left: 0; padding: 0; }
  .platforms { grid-template-columns: 1fr 1fr; }
  .platforms ul { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .header-inner { padding: .75rem 1rem; }
  nav { gap: .3rem .85rem; }
  nav a { padding: .25rem 0; }
  .hero { display: flex; flex-direction: column; }
  .hero::after { content: none; }
  .hero-copy { width: 100%; padding: 1.4rem 1rem 1.5rem; }
  .hero-photo { position: relative; z-index: auto; inset: auto; order: 2; width: 100%; aspect-ratio: 836 / 337; }
  .hero .eyebrow::after,.desktop-break { display: none; }
  h1 { font-size: clamp(2.1rem,8.8vw,3.5rem); }
  .button { white-space: normal; }
  .benefits,.credentials { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 0; padding: 1rem; }
  .benefits article,.credentials article { padding: 0 .5rem; gap: .45rem; }
  .benefits article:nth-child(odd),.credentials article:nth-child(odd) { border-left: 0; }
  .credentials .button { justify-self: start; margin-left: .5rem; }
  .approach { padding: 1.2rem 1rem; gap: 1rem; }
  .platforms { padding: .85rem 1rem; }
}
@media (max-width: 445px) {
  .approach,.details { grid-template-columns: 1fr; }
  .warehouse { width: 100%; max-width: 360px; }
  .credentials .button { grid-column: 1 / -1; }
  .operations h3 { overflow-wrap: anywhere; }
}

/* Match the compact desktop composition in the approved reference. */
@media (min-width: 1101px) {
  h1 { font-size: clamp(2.7rem,3.55vw,4rem); }
  .hero-description { font-size: clamp(1rem,1.25vw,1.2rem); }
  .benefits { padding-block: 1rem 1.2rem; }
  .benefits article { gap: .85rem; }
  .benefits h2 { font-size: clamp(1rem,1.43vw,1.4rem); }
  .approach h2 { font-size: clamp(1.4rem,2.13vw,2.05rem); }
  .operations h3 { font-size: clamp(.98rem,1.24vw,1.18rem); }
  .operations article { gap: .8rem; }
}
.hero-photo { background-size: 195.42% 303.86%; background-position: 100% 9.75%; }
@media (max-width: 700px) {
  .hero-photo { aspect-ratio: 786 / 337; }
}

@media (max-width: 900px) {
  .credentials { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem 0; }
  .credentials article:nth-child(odd) { border-left: 0; }
  .credentials .button { justify-self: start; margin-left: .5rem; }
}
@media (max-width: 360px) {
  .benefits article > div,.credentials article > div,.operations article > div { min-width: 0; overflow-wrap: anywhere; }
  .platforms { grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: .65rem; }
  .platforms h2 { font-size: 1.6rem; }
}

@media (max-width: 360px) {
  .platforms ul { grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem; }
  .platforms li:nth-child(odd) { border-left: 0; }
}
