/* =========================================================
   Martins Iron Works — based on the ARHIDM design system,
   with the gold accent swapped for the brand's welding yellow.
   ========================================================= */
:root {
  --color-black: #0A0A0A;
  --color-white: #FFFFFF;
  --color-gray-900: #1A1A1A;
  --color-gray-600: #6B6B6B;
  --color-gray-300: #C9C4C6;
  --color-gray-200: #E6E6E6;
  --color-gold: #F5D400;        /* brand yellow (logo) */
  --color-gold-soft: #6E6000;
  --color-gold-glow: #FFE433;
  --color-hot: #FF7A1A;         /* molten metal, used only in effects */

  --font-sans: "Urbanist", "Outfit", system-ui, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px; --space-24: 96px;

  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: 250ms; --dur-base: 500ms; --dur-slow: 800ms;

  --gutter: 48px;
  --edge: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter)));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-width: none; }
html::-webkit-scrollbar { display: none; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--color-gray-900);
  background: var(--color-white);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
:focus-visible { outline: 2px solid var(--color-gold-glow); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--space-24) 0; }

/* ---------- Type ---------- */
.h2, .h3 { font-weight: 400; text-transform: uppercase; margin: 0; letter-spacing: -.01em; }
.h2 { font-size: 36px; line-height: 1.15; }
.h3 { font-size: 32px; line-height: 1.2; max-width: 17ch; }
.lead { color: var(--color-gray-600); max-width: 55ch; margin: var(--space-4) 0 0; }
.display { font-size: clamp(56px, 10vw, 140px); font-weight: 400; line-height: 1; margin: 0; letter-spacing: -.03em; text-align: center; position: relative; display: block; }

.section-head {
  display: grid; grid-template-columns: 5fr 1fr 6fr; align-items: start; margin-bottom: var(--space-12);
}
.section-head .lead { grid-column: 3; margin: 0; }

/* ---------- Buttons ---------- */
.pill-btn {
  display: inline-flex; align-items: center; gap: var(--space-3);
  padding: 4px 4px 4px 18px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500; line-height: 1; white-space: nowrap;
  transition: background var(--dur-fast), border-color var(--dur-fast);
}
.pill-btn--light { background: var(--color-white); color: var(--color-black); }
.pill-btn--outline { border: 1px solid var(--color-gray-200); }
.pill-btn--outline:hover { border-color: var(--color-black); }
.pill-btn--yellow { background: var(--color-gold); color: var(--color-black); }
.pill-btn__dot {
  width: 32px; height: 32px; border-radius: 50%; background: var(--color-black); color: var(--color-white);
  display: grid; place-items: center; flex: none; font-style: normal;
  transition: transform var(--dur-fast) ease-out;
}
.pill-btn__dot svg { width: 15px; height: 15px; transition: transform var(--dur-fast) ease-out; }
.pill-btn:hover .pill-btn__dot { transform: scale(1.08); }
.pill-btn:hover .pill-btn__dot svg { transform: rotate(45deg); }

.icon-btn {
  width: 40px; height: 40px; border-radius: 50%; background: var(--color-white); color: var(--color-black);
  display: grid; place-items: center;
}
.icon-btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 24px; left: 0; right: 0; z-index: 90;
  transition: top .35s var(--ease-out), left .35s var(--ease-out), right .35s var(--ease-out), padding .35s var(--ease-out), background .35s, border-radius .35s;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--edge);
}
.nav__brand { display: flex; align-items: center; gap: 10px; color: var(--color-white); font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: .04em; }
.nav__brand img { width: 44px; height: 44px; border-radius: 50%; }
.nav__brand small { font-weight: 400; font-size: 10px; letter-spacing: .22em; color: var(--color-gold); }
.nav__pill { background: var(--color-white); border-radius: var(--radius-pill); padding: 4px; display: flex; gap: 2px; }
.nav__pill a { font-size: 13px; padding: 9px 16px; border-radius: var(--radius-pill); transition: background var(--dur-fast); }
.nav__pill a:hover, .nav__pill a.is-active { background: #EFEFEF; }
.nav__actions { display: flex; align-items: center; gap: var(--space-2); }
.nav__burger { display: none; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 85; background: var(--color-black); color: var(--color-white);
  display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 32px 24px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 40px; font-weight: 300; border-bottom: 1px solid #222; padding: 8px 0; }
.mobile-menu__call { color: var(--color-gold); font-size: 22px !important; border: 0 !important; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; margin: 0; height: min(92vh, 860px); min-height: 620px; }
.hero__media { position: absolute; inset: 0; border-radius: 0 0 var(--radius-xl) var(--radius-xl); overflow: hidden; background: #111; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.04); animation: heroZoom 14s var(--ease-out) forwards; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 50%, rgba(0,0,0,.55) 100%);
}
#heroSparks { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }
.hero__glow { /* flickering arc glow */
  position: absolute; z-index: 1; width: 520px; height: 520px; border-radius: 50%;
  left: var(--arc-x, 82%); top: var(--arc-y, 82%); transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(200,225,255,.55) 0%, rgba(255,170,60,.25) 25%, rgba(255,120,20,0) 60%);
  mix-blend-mode: screen; animation: arc 1.6s steps(1) infinite; pointer-events: none;
}
@keyframes arc {
  0% { opacity: .9 } 7% { opacity: .5 } 12% { opacity: 1 } 30% { opacity: .75 } 46% { opacity: .95 }
  51% { opacity: .55 } 63% { opacity: 1 } 80% { opacity: .7 } 90% { opacity: .9 }
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero__title {
  position: absolute; z-index: 2; top: 13%; left: calc(var(--edge) + 4vw); margin: 0;
  color: var(--color-white); font-weight: 300; font-size: clamp(64px, 9.6vw, 150px); line-height: .95; letter-spacing: -.035em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.08em; }
.hero__title .line:nth-child(2) { padding-left: .9em; }
.hero__title .line:nth-child(3) { padding-left: 1.8em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp var(--dur-slow) var(--ease-out) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: 120ms; }
.hero__title .line:nth-child(3) > span { animation-delay: 240ms; }
.hero__title em { font-style: normal; color: var(--color-gold); position: relative; }
.hero__title em::after { /* hot underline bead */
  content: ""; position: absolute; left: 0; right: 0; bottom: .02em; height: .06em; border-radius: 4px;
  background: linear-gradient(90deg, #6b6b6b, #ff7a1a 70%, #fff3b0);
  transform-origin: left; transform: scaleX(0); animation: bead 1.1s 1s var(--ease-out) forwards;
  box-shadow: 0 0 18px rgba(255,140,30,.8);
}
@keyframes lineUp { to { transform: none; } }
@keyframes bead { to { transform: scaleX(1); } }

.hero__card {
  position: absolute; z-index: 3; left: -1px; bottom: -1px; width: 330px;
  background: var(--color-white); border-radius: 0 var(--radius-xl) 0 var(--radius-xl);
  padding: 22px 22px 16px;
}
.hero__card::before, .hero__card::after { /* concave joins */
  content: ""; position: absolute; width: 32px; height: 32px;
  background: radial-gradient(circle at 100% 0, transparent 31px, var(--color-white) 32px);
}
.hero__card::before { left: 0; top: -32px; }
.hero__card::after { right: -32px; bottom: 0; }
.hero__card-text { margin: 0 0 14px; font-size: 20px; line-height: 1.15; text-transform: uppercase; }
.bars { display: inline-flex; gap: 2px; align-items: flex-end; margin-right: 8px; vertical-align: 2px; }
.bars b { width: 4px; background: var(--color-black); border-radius: 1px; }
.bars b:nth-child(1) { height: 10px; } .bars b:nth-child(2) { height: 14px; background: var(--color-gold); } .bars b:nth-child(3) { height: 18px; }
.hero__card-thumb { border-radius: var(--radius-md); overflow: hidden; height: 110px; }
.hero__card-thumb img { width: 100%; height: 100%; object-fit: cover; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--color-gold); box-shadow: 0 0 0 0 rgba(245,212,0,.7); animation: pulse 1.8s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(245,212,0,0); } 100% { box-shadow: 0 0 0 0 rgba(245,212,0,0); } }

/* ---------- Steel tiles (placeholder visuals) ---------- */
.steel {
  position: relative; margin: 0; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 16/11;
  display: grid; place-items: center; color: #f2f2f2;
  background:
    radial-gradient(120% 80% at 80% 110%, rgba(255,140,30,.35), transparent 55%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.035) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #3a3a3a, #121212 60%, #1d1d1d);
}
.steel--b { background:
    radial-gradient(90% 70% at 15% 0%, rgba(245,212,0,.22), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 1px, transparent 1px 4px),
    linear-gradient(200deg, #2c2c2c, #0f0f0f 65%); }
.steel--c { background:
    radial-gradient(100% 80% at 50% 120%, rgba(255,100,20,.45), transparent 55%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, #262626, #0c0c0c); }
.steel::after { /* moving sheen */
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.08) 50%, transparent 65%);
  transform: translateX(-100%); transition: transform 900ms var(--ease-out);
}
.steel:hover::after, .card:hover .steel::after, .offer:hover .steel::after { transform: translateX(100%); }
.steel__art { width: 62%; stroke-width: 2.2; filter: drop-shadow(0 0 6px rgba(255,180,60,.35)); transition: transform var(--dur-base) var(--ease-out); }
.steel figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: #ddd; letter-spacing: .04em; }
.steel--hero { aspect-ratio: auto; height: 100%; border-radius: var(--radius-lg); }
.steel--hero .steel__art { width: 58%; stroke-width: 1.6; }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 380px; gap: var(--space-16); align-items: start; }
.carousel { margin-top: var(--space-8); }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 12px) / 3); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__ctrl { display: flex; align-items: center; gap: var(--space-4); margin-top: var(--space-4); color: var(--color-gray-600); font-size: 13px; }
.carousel__count b { color: var(--color-black); font-weight: 500; }
.carousel__bar { width: 120px; height: 1px; background: var(--color-gray-200); position: relative; margin-right: auto; }
.carousel__bar i { position: absolute; left: 0; top: -.5px; height: 2px; background: var(--color-black); width: 16.6%; transition: width 450ms var(--ease-out); }
.arrow { width: 32px; height: 32px; border-radius: 50%; font-size: 22px; line-height: 1; color: var(--color-gray-600); transition: background var(--dur-fast); }
.arrow:hover { background: #F2F2F2; color: var(--color-black); }

.about__photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.hot-tag { position: absolute; left: 12px; top: 12px; font-size: 11px; padding: 6px 10px; border-radius: var(--radius-pill); background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); display: flex; gap: 6px; align-items: center; }
.hot-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--color-hot); box-shadow: 0 0 8px var(--color-hot); }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: var(--space-6) 0; }
.stats dt { font-size: 36px; line-height: 1; }
.stats dd { margin: 6px 0 0; font-size: 12px; color: var(--color-gray-600); }
.about__row { display: flex; gap: var(--space-3); align-items: center; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--color-gray-200); border-radius: var(--radius-pill); padding: 10px 14px; font-size: 13px; }
.chip svg { width: 16px; height: 16px; color: var(--color-hot); }

/* ---------- Featured (wordmark) ---------- */
.featured__stage { position: relative; }
.wordmark { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; font-size: clamp(64px, 11.5vw, 170px); line-height: .8; letter-spacing: -.04em; font-weight: 400; user-select: none; }
.wordmark .ghost { color: var(--color-gray-300); }
.featured__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: -.42em; font-size: clamp(64px, 11.5vw, 170px); position: relative; }
.offer { font-size: 16px; }
.offer__media { position: relative; height: clamp(240px, 26vw, 380px); border-radius: var(--radius-lg); overflow: hidden; }
.offer:hover .steel__art { transform: scale(1.05); }
.offer__view {
  position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%;
  display: grid; place-items: center; text-align: center; font-size: 11px; line-height: 1.2; text-transform: uppercase; letter-spacing: .06em;
  background: rgba(255,255,255,.18); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #fff;
  opacity: 0; transition: opacity var(--dur-fast);
}
.offer:hover .offer__view, .offer__view:focus-visible { opacity: 1; }
.offer__meta { display: grid; grid-template-columns: 1fr 1.6fr; gap: 24px; margin-top: var(--space-4); }
.offer__meta span { font-size: 12px; color: var(--color-gray-600); }
.offer__meta p { margin: 2px 0 0; }

/* ---------- Accordion ---------- */
.acc { border-top: 1px solid var(--color-gray-200); }
.acc__item { border-bottom: 1px solid var(--color-gray-200); }
.acc__head { width: 100%; display: grid; grid-template-columns: 40px 1fr auto; align-items: center; padding: 22px 0; text-align: center; }
.spark-ic { width: 28px; height: 28px; stroke-width: 1.4; transition: transform var(--dur-base) var(--ease-out), color var(--dur-fast); }
.acc__item.is-open .spark-ic, .acc__head:hover .spark-ic { transform: rotate(45deg); color: var(--color-hot); }
.acc__title { font-size: 22px; text-transform: uppercase; }
.acc__btn { pointer-events: none; }
.acc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 450ms var(--ease-out); }
.acc__body > .cards { overflow: hidden; }
.acc__item.is-open .acc__body { grid-template-rows: 1fr; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.acc__item.is-open .cards { padding-bottom: 28px; }
.card h3 { font-size: 18px; font-weight: 400; margin: 12px 0 2px; }
.card p { font-size: 12px; color: var(--color-gray-600); margin: 0; }
.card .steel { border-radius: var(--radius-lg); }
.card:hover .steel__art { transform: scale(1.05); }

/* ---------- Dark / Why ---------- */
.dark { position: relative; background: var(--color-black); color: var(--color-white); border-radius: var(--radius-xl) var(--radius-xl) 0 0; padding: var(--space-24) 0; overflow: hidden; }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.dark__inner { position: relative; }
.burst { position: absolute; width: .32em; height: .32em; color: var(--color-gold); margin-left: .04em; top: -.05em; stroke-width: 1.3; animation: spin 12s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: auto auto; gap: 24px; margin-top: var(--space-16); }
.benefit {
  border: 1px solid var(--color-gold-soft); border-radius: var(--radius-md); padding: 24px 20px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0));
  transition: border-color 300ms, box-shadow 300ms, transform 300ms;
}
.benefit:hover { border-color: var(--color-gold-glow); box-shadow: 0 0 0 1px rgba(255,228,51,.2), 0 0 40px -10px rgba(255,170,40,.5); transform: translateY(-3px); }
.benefit__ic { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 14px; background: radial-gradient(circle at 35% 30%, #4a4a4a, #151515); color: var(--color-gold); }
.benefit__ic svg { width: 20px; height: 20px; }
.benefit h3 { color: var(--color-gold); font-weight: 400; font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.benefit p { color: #BDBDBD; font-size: 13px; margin: 0; }
.b1 { grid-column: 1; } .b2 { grid-column: 3; } .b3 { grid-column: 2; grid-row: 2; } .b4 { grid-column: 4; grid-row: 1 / span 2; align-self: center; } .b5 { grid-column: 1; grid-row: 2; }

/* ---------- Process ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--space-6); }
.tab { padding: 11px 20px; border-radius: var(--radius-pill); font-size: 13px; font-weight: 500; transition: background var(--dur-fast), color var(--dur-fast); }
.tab:hover { background: #F2F2F2; }
.tab.is-active { background: var(--color-black); color: var(--color-white); }
.process__stage { position: relative; border-radius: var(--radius-lg); overflow: hidden; height: clamp(360px, 42vw, 560px); }
.process__stage img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.process__stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.7), rgba(0,0,0,0) 60%); }
.process__panel { position: absolute; z-index: 1; left: 40px; bottom: 40px; max-width: 420px; color: #fff; }
.process__panel.swap { animation: swap 450ms var(--ease-out); }
@keyframes swap { from { opacity: 0; transform: translateY(12px); } }
.process__num { font-size: 72px; font-weight: 300; line-height: 1; color: var(--color-gold); }
.process__panel h3 { font-size: 28px; font-weight: 400; margin: 8px 0; text-transform: uppercase; }
.process__panel p { margin: 0; color: #e2e2e2; }

/* ---------- Contact ---------- */
.contact { background: var(--color-black); color: var(--color-white); padding: var(--space-24) 0 var(--space-6); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: start; }
.contact__logo { width: 110px; height: 110px; border-radius: 50%; margin-bottom: var(--space-6); animation: glowLogo 3.5s ease-in-out infinite; }
@keyframes glowLogo { 50% { box-shadow: 0 0 40px 2px rgba(245,212,0,.35); } }
.contact .lead { color: #A8A8A8; }
.contact__list { list-style: none; padding: 0; margin: var(--space-8) 0 0; border-top: 1px solid #222; }
.contact__list a { display: grid; grid-template-columns: 110px 1fr; padding: 16px 0; border-bottom: 1px solid #222; transition: color var(--dur-fast), padding var(--dur-fast); word-break: break-word; }
.contact__list a:hover { color: var(--color-gold); padding-left: 8px; }
.contact__list span { color: #8a8a8a; font-size: 13px; }

.form { border: 1px solid var(--color-gold-soft); border-radius: var(--radius-lg); padding: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; background: #0f0f0f; }
.form h3 { grid-column: 1 / -1; margin: 0 0 4px; font-weight: 400; font-size: 24px; color: var(--color-gold); }
.form label { display: grid; gap: 6px; font-size: 12px; color: #9a9a9a; }
.form .full { grid-column: 1 / -1; }
.form input, .form select, .form textarea {
  font: inherit; font-size: 15px; color: #fff; background: #181818; border: 1px solid #2a2a2a; border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%; transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--color-gold); box-shadow: 0 0 0 3px rgba(245,212,0,.15); }
.form textarea { resize: vertical; }
.form button { justify-self: start; grid-column: 1 / -1; }
.form__note { grid-column: 1 / -1; margin: 0; font-size: 12px; color: #777; }

.footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: var(--space-16); padding-top: var(--space-6); border-top: 1px solid #1f1f1f; font-size: 13px; color: #777; }
.footer p { margin: 0; }
.footer__hint { color: var(--color-gold-soft); }

.float-call { display: none; }

/* ---------- Global FX canvas ---------- */
#fx { position: fixed; inset: 0; width: 100vw; height: 100vh; pointer-events: none; z-index: 100; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Tablet
   ========================================================= */
@media (max-width: 1199px) {
  :root { --gutter: 24px; }
  .nav { padding: 0 var(--edge); }
  .nav__pill { display: none; }
  .nav__burger { display: grid; }
  .about__grid { grid-template-columns: 1fr; }
  .about__right { max-width: 560px; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit { grid-column: auto !important; grid-row: auto !important; }
  .contact__grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Mobile
   ========================================================= */
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  body { font-size: 14px; }
  section[id] { scroll-margin-top: 64px; }
  .section { padding: var(--space-16) 0; }
  .h2 { font-size: 28px; }
  .h3 { font-size: 24px; }
  .section-head { grid-template-columns: 1fr; margin-bottom: var(--space-8); }
  .section-head .lead { grid-column: 1; margin-top: var(--space-3); }

  .nav { position: sticky; top: 0; left: auto; right: auto; background: var(--color-black); padding: 12px var(--gutter); }
  .nav__actions .pill-btn, .nav__actions a.icon-btn[aria-label="Email"] { display: none; }
  .nav .icon-btn { background: transparent; color: #fff; border: 1px solid #333; }
  .nav__brand img { width: 38px; height: 38px; }

  .hero { margin: 0; height: auto; min-height: 0; background: var(--color-black); padding: 8px var(--gutter) 24px; display: flex; flex-direction: column; }
  .hero__title { position: relative; top: auto; left: auto; font-size: clamp(40px, 12vw, 56px); margin-bottom: 18px; order: -1; }
  .hero__title .line:nth-child(2) { padding-left: .5em; }
  .hero__title .line:nth-child(3) { padding-left: 1em; }
  .hero__media { position: relative; inset: auto; height: 380px; border-radius: var(--radius-lg); }
  .hero__glow { width: 300px; height: 300px; }
  .hero__card { position: relative; left: auto; bottom: auto; width: auto; border-radius: var(--radius-lg); margin-top: 12px; }
  .hero__card::before, .hero__card::after { display: none; }
  .hero__cta { position: relative; left: auto; bottom: auto; transform: none; margin-top: 12px; width: 100%; justify-content: space-between; }
  .hero__area { position: relative; right: auto; bottom: auto; margin-top: 16px; justify-content: center; }

  .carousel__track { grid-auto-columns: 78%; }
  .stats dt { font-size: 28px; }

  .weld { margin: 0 var(--gutter); height: 28px; }

  .wordmark { grid-template-columns: 1fr; font-size: 22vw; }
  .wordmark .ghost { display: none; }
  .featured__grid { grid-template-columns: 85%; grid-auto-flow: column; grid-auto-columns: 85%; overflow-x: auto; scroll-snap-type: x mandatory; margin-top: -.3em; font-size: 22vw; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .featured__grid::-webkit-scrollbar { display: none; }
  .offer { scroll-snap-align: start; }
  .offer__media { height: 230px; }
  .offer__view { opacity: 1; width: 76px; height: 76px; margin: -38px 0 0 -38px; }
  .offer__meta { grid-template-columns: 1fr; gap: 8px; }

  .acc__head { grid-template-columns: 36px 1fr auto; text-align: left; padding: 0; min-height: 64px; }
  .acc__title { font-size: 16px; }
  .acc__btn { padding: 0; border: 0; }
  .acc__btn > span { display: none; }
  .acc__btn .pill-btn__dot { width: 40px; height: 40px; }
  .cards { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 72%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .cards::-webkit-scrollbar { display: none; }
  .card { scroll-snap-align: start; }
  .acc__body > .cards { overflow-y: hidden; }

  .dark { padding: var(--space-16) 0; }
  .benefits { grid-template-columns: 1fr; margin-top: var(--space-8); }
  .benefit { padding: 28px 22px; }
  .benefit h3 { font-size: 24px; }
  .benefit p { font-size: 14px; color: #D8D8D8; }

  .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-right: calc(-1 * var(--gutter)); }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .process__stage { height: 440px; }
  .process__stage::after { background: linear-gradient(0deg, rgba(0,0,0,.8), rgba(0,0,0,0) 70%); }
  .process__panel { left: 20px; right: 20px; bottom: 24px; }
  .process__num { font-size: 52px; }
  .process__panel h3 { font-size: 22px; }

  .contact { padding-top: var(--space-16); }
  .contact__list a { grid-template-columns: 1fr; gap: 2px; }
  .form { grid-template-columns: 1fr; padding: 22px; }
  .footer { padding-bottom: 80px; }

  .float-call {
    display: grid; place-items: center; position: fixed; right: 16px; bottom: 16px; z-index: 50;
    width: 56px; height: 56px; border-radius: 50%; background: var(--color-gold); color: var(--color-black);
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
  }
  .float-call svg { width: 24px; height: 24px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: 150ms !important; }
  .reveal { transform: none; }
  .hero__title .line > span { transform: none; }
  .hero__media img { transform: none; }
  .hero__glow { opacity: .7; }
}

/* ---------- Photo tiles ---------- */
.steel--photo { background: #111; }
.steel--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-out); }
.steel--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.55)); pointer-events: none; }
.steel--photo figcaption { z-index: 2; color: #fff; }
.steel--photo::after { z-index: 2; }
.steel--photo:hover img, .card:hover .steel--photo img, .offer:hover .steel--photo img { transform: scale(1.05); }
.offer__view { z-index: 3; }
.steel--hero.steel--photo { aspect-ratio: auto; }
.about__photo img { object-position: 50% 40%; }

/* ---------- Gallery ---------- */
.gal { columns: 4; column-gap: 12px; }
.gal__item { display: block; width: 100%; margin: 0 0 12px; padding: 0; break-inside: avoid; border-radius: var(--radius-lg); overflow: hidden; position: relative; background: #eee; cursor: zoom-in; }
.gal__item img { width: 100%; height: auto; display: block; transition: transform var(--dur-base) var(--ease-out); }
.gal__item::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--color-gold); transition: box-shadow var(--dur-fast); }
.gal__item:hover img { transform: scale(1.05); }
.gal__item:hover::after, .gal__item:focus-visible::after { box-shadow: inset 0 0 0 3px var(--color-gold); }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(0,0,0,.94); display: grid; place-items: center; padding: 56px 72px; }
.lightbox[hidden] { display: none; }
.lightbox > img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--radius-md); }
.lb__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; font-size: 28px; line-height: 1; display: grid; place-items: center; transition: background var(--dur-fast), color var(--dur-fast); }
.lb__btn:hover { background: var(--color-gold); color: var(--color-black); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: #aaa; font-size: 13px; }

@media (max-width: 1199px) { .gal { columns: 3; } }
@media (max-width: 767px) {
  .gal { columns: 2; column-gap: 8px; }
  .gal__item { margin-bottom: 8px; border-radius: var(--radius-md); }
  .lightbox { padding: 64px 12px; }
  .lb__prev, .lb__next { top: auto; bottom: 8px; transform: none; }
  .lb__prev { left: 16px; } .lb__next { right: 16px; }
}

@keyframes flick { 50% { transform: translate(-50%, -50%) scale(.75); } }

/* ---------- Nav follows the page ---------- */
@media (min-width: 768px) {
  .nav.is-stuck {
    top: 12px; left: 24px; right: 24px; padding: 8px 14px 8px 12px;
    background: rgba(10,10,10,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.08);
  }
}

/* ---------- Hero: location + CTA ---------- */
.hero__bar { position: absolute; z-index: 3; left: 372px; bottom: 40px; display: flex; align-items: center; gap: 22px; }
.hero__area { color: var(--color-white); font-size: 13px; margin: 0; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
@media (max-width: 1199px) { .hero__bar { left: 360px; } }

/* ---------- Scroll weld bar (replaces the native scrollbar) ---------- */
.scrollweld { position: fixed; top: 0; right: 0; bottom: 0; width: 14px; z-index: 95; background: rgba(120,120,120,.16); cursor: pointer; transition: width .2s; touch-action: none; }
.scrollweld:hover, .scrollweld.is-drag { width: 18px; }
.scrollweld__fill {
  position: absolute; left: 0; right: 0; top: 0; height: 0;
  background:
    radial-gradient(circle at 50% 50%, #FFE433 0 3.4px, #B89A00 3.9px 4.8px, transparent 5.4px) 0 0 / 14px 9px repeat-y,
    linear-gradient(#9c8300, #9c8300) 50% 0 / 5px 100% no-repeat;
  filter: drop-shadow(0 0 3px rgba(245,212,0,.7));
}
.scrollweld__tip {
  position: absolute; left: 50%; top: 0; width: 18px; height: 18px; margin: 0; border-radius: 50%; transform: translate(-50%, -50%);
  background: #fff; box-shadow: 0 0 8px 3px #fff7c2, 0 0 24px 9px rgba(255,150,40,.85), 0 0 50px 18px rgba(120,170,255,.25);
  animation: flick .12s steps(2) infinite; pointer-events: none;
}

/* ---------- Why: tidy 3x2 grid ---------- */
.benefits { grid-template-columns: repeat(3, 1fr); grid-template-rows: none; align-items: stretch; gap: 20px; }
.benefit { grid-column: auto !important; grid-row: auto !important; align-self: stretch !important; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 220px; }
.benefit-photo { position: relative; margin: 0; border-radius: var(--radius-md); overflow: hidden; min-height: 220px; border: 1px solid var(--color-gold-soft); }
.benefit-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform var(--dur-base) var(--ease-out); }
.benefit-photo:hover img { transform: scale(1.05); }
.benefit-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.65)); }
.benefit-photo figcaption { position: absolute; z-index: 1; left: 18px; bottom: 14px; font-size: 13px; color: #fff; }
@media (max-width: 1199px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) { .benefits { grid-template-columns: 1fr; } .benefit-photo { min-height: 200px; } }

/* ---------- Process: client photos ---------- */
.process__stage { display: grid; grid-template-columns: 4fr 8fr; gap: 32px; height: auto; min-height: 0; padding: 32px; background: var(--color-black); border-radius: var(--radius-lg); overflow: hidden; }
.process__stage::after { display: none; }
.process__panel { position: static; align-self: end; max-width: none; }
.process__photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.process__photos img { width: 100%; height: auto; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius-md); transition: opacity 350ms; }
.process__photos img:nth-child(2) { margin-top: 36px; }
.process__photos img:nth-child(3) { margin-top: 12px; }
.process__photos.swap img { animation: swap 500ms var(--ease-out) both; }
.process__photos.swap img:nth-child(2) { animation-delay: 80ms; }
.process__photos.swap img:nth-child(3) { animation-delay: 160ms; }
@media (max-width: 767px) {
  .process__stage { grid-template-columns: 1fr; padding: 20px; gap: 20px; height: auto; }
  .process__photos { gap: 8px; }
  .process__photos img:nth-child(2) { margin-top: 20px; }
  .process__photos img:nth-child(3) { margin-top: 8px; }
  .process__panel { align-self: start; }
}

/* ---------- Forge: how welding works (scroll-driven) ---------- */
.forge { position: relative; height: 520vh; background: var(--color-black); color: var(--color-white); border-radius: var(--radius-xl); }
.forge__sticky {
  position: sticky; top: 0; height: 100vh; max-width: 1440px; margin: 0 auto; padding: 84px var(--gutter) 32px;
  display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: center;
}
.eyebrow { margin: 0 0 14px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--color-gold); }
.forge .h2 { font-size: clamp(30px, 3.4vw, 48px); }
.forge__steps { list-style: none; margin: 32px 0 0; padding: 0; }
.forge__step { display: grid; grid-template-columns: 48px 1fr; padding: 16px 0; border-top: 1px solid #222; opacity: .35; transition: opacity .4s; }
.forge__step:last-child { border-bottom: 1px solid #222; }
.forge__step span { font-size: 14px; color: #888; padding-top: 4px; transition: color .4s; }
.forge__step h3 { margin: 0; font-weight: 400; font-size: 22px; }
.forge__step p { margin: 0; max-height: 0; overflow: hidden; opacity: 0; color: #B4B4B4; font-size: 14px; transition: max-height .5s var(--ease-out), opacity .4s, margin .4s; }
.forge__step.is-active { opacity: 1; }
.forge__step.is-active span { color: var(--color-gold); }
.forge__step.is-active p { max-height: 120px; opacity: 1; margin-top: 8px; }

.forge__stage {
  position: relative; height: min(78vh, 680px); border: 1px solid var(--color-gold-soft); border-radius: var(--radius-lg); overflow: hidden;
  background:
    radial-gradient(70% 60% at 50% 55%, rgba(255,140,30,.07), transparent 70%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 40px 40px,
    #0d0d0d;
}
.forge__stage svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: transform .9s var(--ease-out); transform-origin: 50% 50%; }
.forge__stage.is-done svg { transform: translate(-13%, -6%) scale(.72); }
.forge__stage .steel-part { fill: var(--steel, #9a9a96); stroke: var(--edge, #d8d8d2); stroke-width: 1.4; }
.forge__hud { position: absolute; left: 18px; right: 18px; top: 14px; display: flex; justify-content: space-between; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #8c8c8c; }
.forge__hud [data-hud-label] { color: var(--color-gold); }
.forge__photo {
  position: absolute; right: 18px; bottom: 18px; width: 46%; margin: 0; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--color-gold);
  opacity: 0; transform: translateY(24px) scale(.96); transition: opacity .7s var(--ease-out) .15s, transform .7s var(--ease-out) .15s; pointer-events: none;
}
.forge__photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; display: block; }
.forge__photo figcaption { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.8); }
.forge__stage.is-done .forge__photo { opacity: 1; transform: none; }

@media (max-width: 1199px) { .forge__sticky { grid-template-columns: 1fr; gap: 20px; padding-top: 80px; align-content: center; } .forge__stage { height: 46vh; } .forge__step:not(.is-active) { display: none; } .forge__steps { margin-top: 16px; } .forge__step:last-child { border-bottom: 0; } }
@media (max-width: 767px) {
  .forge { height: 480vh; border-radius: var(--radius-lg); }
  .forge__sticky { padding: 76px var(--gutter) 20px; align-content: start; }
  .forge .h2 { font-size: 26px; }
  .forge__text .eyebrow { margin-bottom: 8px; }
  .forge__stage { height: 40vh; }
  .forge__photo { width: 56%; }
  .scrollweld { width: 6px; pointer-events: none; }
  .scrollweld__fill { background: linear-gradient(#FFE433, #FFE433) 50% 0 / 3px 100% no-repeat; }
  .scrollweld__tip { width: 12px; height: 12px; }
}

@media (max-width: 767px) {
  .hero__bar { position: static; flex-direction: column-reverse; align-items: stretch; gap: 0; }
  .hero__area { justify-content: center; }
}

/* ---------- Grid pass: one 12-col container, 24px gutters, 96px rhythm ---------- */
.nav.is-stuck { left: var(--edge); right: var(--edge); }
@media (max-width: 767px) { .nav.is-stuck { left: auto; right: auto; } }
.section + .section { padding-top: 0; }
.carousel__track { gap: 24px; grid-auto-columns: calc((100% - 48px) / 3); }
.benefits { gap: 24px; }
.gal { column-gap: 24px; }
.gal__item { margin-bottom: 24px; }
.process__stage { gap: 24px; }
.process__photos { gap: 24px; }
@media (max-width: 767px) {
  .section + .section { padding-top: 0; }
  .carousel__track { gap: 12px; grid-auto-columns: 78%; }
  .benefits { gap: 16px; }
  .gal { column-gap: 8px; }
  .gal__item { margin-bottom: 8px; }
  .process__photos { gap: 8px; }
}

/* ---------- Hero: white frame around the photo ---------- */
@media (min-width: 768px) {
  .hero { margin: 16px 16px 0; height: min(calc(100vh - 32px), 860px); }
  .hero__media { border-radius: var(--radius-xl); }
  .nav { top: 40px; }
  .nav.is-stuck { top: 12px; }
}

/* ---------- Hero video ---------- */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(0,0,0,.28); pointer-events: none; }

/* ---------- Hero: centered title + mirrored video ---------- */
.hero__video { transform: scaleX(-1); }
.hero__title {
  inset: 0; left: 0; top: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 0 var(--gutter) 4%; pointer-events: none;
}
.hero__title .line, .hero__title .line:nth-child(2), .hero__title .line:nth-child(3) { padding-left: 0; }
@media (max-width: 767px) {
  .hero__title { position: relative; inset: auto; display: block; padding: 0; margin-bottom: 18px; }
  .hero__title .line, .hero__title .line:nth-child(2), .hero__title .line:nth-child(3) { padding-left: 0; }
}

/* Mobile: service cards must swipe sideways (base rule clipped them) */
@media (max-width: 767px) {
  .acc__body > .cards { overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; touch-action: pan-x pan-y; padding-right: var(--gutter); scroll-padding-left: 0; }
}

/* ---------- Swipeable lists: wrapper, arrows, drag ---------- */
.cards-wrap { overflow: hidden; min-height: 0; }
.cards__ctrl { display: none; }
.arrow--box { width: 44px; height: 44px; border: 1px solid var(--color-gray-200); font-size: 26px; color: var(--color-black); display: grid; place-items: center; }
.arrow--box:active { background: var(--color-black); color: #fff; }
.is-dragging { cursor: grabbing; user-select: none; -webkit-user-select: none; }
.is-dragging * { pointer-events: none; }
@media (max-width: 767px) {
  .acc__body > .cards-wrap > .cards { overflow-x: auto; overflow-y: hidden; touch-action: pan-y; padding-right: var(--gutter); }
  .cards__ctrl { display: flex; align-items: center; gap: 8px; padding: 4px 0 24px; }
  .cards__count { margin-right: auto; font-size: 13px; color: var(--color-gray-600); }
  .cards__count b { color: var(--color-black); font-weight: 500; }
  .featured__grid, .carousel__track { touch-action: pan-y; }
}
@media (min-width: 768px) { .carousel__track, .featured__grid { cursor: grab; } }
