/*
Theme Name: Lincoln Structural Automation
Theme URI: https://notmydomains.net
Author: Structural Automation Prototype
Description: A purpose-built structural fabrication product experience.
Version: 1.2.0
Text Domain: lincoln-structural
*/

:root {
  --red: #b81830;
  --red-dark: #941026;
  --ink: #181818;
  --steel: #252a2e;
  --muted: #626a70;
  --line: #d9dddf;
  --mist: #f3f4f4;
  --white: #fff;
  --max: 1240px;
  --shadow: 0 24px 70px rgba(9, 12, 14, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Noto Sans", Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link:focus { width: auto; height: auto; clip: auto; margin: 12px; padding: 12px 18px; z-index: 9999; background: #fff; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--red); font-size: .76rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { width: 32px; height: 2px; background: currentColor; content: ''; }
.display { margin: 0; font-size: clamp(3.2rem, 8vw, 7.3rem); font-weight: 900; letter-spacing: -.068em; line-height: .88; text-transform: uppercase; }
.section-title { margin: 0; max-width: 900px; font-size: clamp(2.25rem, 5.4vw, 5rem); letter-spacing: -.055em; line-height: .95; }
.lede { max-width: 700px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1.05rem, 1.8vw, 1.35rem); }
.btn { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 12px; padding: 0 24px; border: 1px solid transparent; border-radius: 2px; text-decoration: none; font-size: .8rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; transition: .25s ease; cursor: pointer; }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.45); color: #fff; }
.btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.site-header { position: relative; z-index: 20; color: var(--ink); }
.utility-bar { min-height: 34px; display: flex; align-items: center; background: #181818; color: #fff; }
.utility-row, .utility-row nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-row { min-height: 34px; }
.utility-row a { color: #fff; text-decoration: none; font-size: .69rem; font-weight: 700; }
.corporate-bar { background: #fff; border-bottom: 1px solid #e2e2e2; }
.corporate-row { min-height: 76px; display: flex; align-items: center; gap: 42px; }
.lincoln-logo { display: inline-flex; align-items: center; flex: 0 0 auto; }
.lincoln-logo img { width: 120px; height: auto; }
.corporate-links { display: flex; align-items: center; gap: clamp(22px, 3vw, 42px); }
.corporate-links a { color: #000; text-decoration: none; font-size: .78rem; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.corporate-links a:hover { color: var(--red); }
.header-cta { margin-left: auto; min-height: 44px; }
.context-bar { background: #f4f4f4; border-bottom: 1px solid #d8d8d8; }
.context-row { min-height: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.context-brand { color: var(--ink); text-decoration: none; font-size: .8rem; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.context-links { display: flex; align-items: center; gap: 28px; }
.context-links a { color: #4f4f4f; text-decoration: none; font-size: .73rem; font-weight: 700; }
.context-links a:hover { color: var(--red); }

.hero { position: relative; min-height: 720px; height: calc(100svh - 160px); display: grid; align-items: end; overflow: hidden; background: #111; color: #fff; }
.hero::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,9,10,.93) 0%, rgba(7,9,10,.68) 46%, rgba(7,9,10,.17) 78%), linear-gradient(0deg, rgba(7,9,10,.82), transparent 45%); content: ''; z-index: 1; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .83; }
.hero-grid { position: relative; z-index: 2; padding-bottom: clamp(74px, 10vh, 120px); display: grid; grid-template-columns: minmax(0, 1fr) 320px; align-items: end; gap: 60px; }
.hero-copy { max-width: 900px; }
.hero .display span { color: var(--red); }
.hero-intro { max-width: 680px; margin: 28px 0 34px; color: #d7dadb; font-size: clamp(1.05rem, 1.6vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-stat { border-left: 1px solid rgba(255,255,255,.3); padding-left: 30px; }
.hero-stat strong { display: block; color: #fff; font-size: 3rem; letter-spacing: -.05em; line-height: 1; }
.hero-stat span { display: block; margin-top: 8px; color: #c8ccce; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 3; right: 24px; bottom: 24px; writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.mini-play { font-size: .7rem; }

.proof-strip { background: var(--red); color: #fff; }
.proof-grid { min-height: 130px; display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-item { display: flex; flex-direction: column; justify-content: center; padding: 26px; border-right: 1px solid rgba(255,255,255,.24); }
.proof-item:first-child { border-left: 1px solid rgba(255,255,255,.24); }
.proof-item strong { font-size: clamp(1.5rem, 2.5vw, 2.3rem); letter-spacing: -.04em; }
.proof-item span { margin-top: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; opacity: .86; }

.problem { position: relative; padding: 130px 0; background-color: #f4f4f4; background-image: radial-gradient(#d7d7d7 1px, transparent 1px); background-size: 15px 15px; }
.problem::before { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(244,244,244,.9), rgba(244,244,244,.68)); content: ''; }
.problem > .wrap { position: relative; }
.problem-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(50px, 10vw, 150px); align-items: start; }
.constraint-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 12px; background: var(--line); border: 1px solid var(--line); }
.constraint { min-height: 122px; padding: 26px; background: #fff; }
.constraint b { display: block; margin-bottom: 8px; font-size: 1rem; }
.constraint span { color: var(--muted); font-size: .9rem; }

.workflow { padding: 130px 0; background: var(--ink); color: #fff; overflow: hidden; }
.workflow .lede { color: #aeb4b7; }
.workflow-tabs { display: grid; grid-template-columns: repeat(5, 1fr); margin-top: 64px; border-top: 1px solid #454a4d; border-bottom: 1px solid #454a4d; }
.workflow-tab { position: relative; padding: 24px 16px 23px 0; border: 0; border-right: 1px solid #454a4d; background: transparent; color: #858c90; text-align: left; cursor: pointer; }
.workflow-tab:last-child { border-right: 0; }
.workflow-tab small { display: block; margin-bottom: 10px; font-size: .65rem; letter-spacing: .13em; }
.workflow-tab strong { font-size: clamp(1rem, 2vw, 1.5rem); letter-spacing: -.02em; }
.workflow-tab::after { position: absolute; left: 0; bottom: -2px; width: 0; height: 4px; background: var(--red); content: ''; transition: width .3s ease; }
.workflow-tab[aria-selected="true"] { color: #fff; }
.workflow-tab[aria-selected="true"]::after { width: calc(100% - 16px); }
.workflow-panel { min-height: 390px; display: none; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; padding: 54px 0 20px; }
.workflow-panel.is-active { display: grid; animation: reveal .45s ease; }
@keyframes reveal { from { opacity: 0; transform: translateY(12px); } }
.workflow-number { color: var(--red); font-size: .75rem; font-weight: 900; letter-spacing: .15em; }
.workflow-panel h3 { margin: 12px 0 20px; font-size: clamp(2.4rem, 5vw, 5rem); letter-spacing: -.06em; line-height: .9; }
.workflow-panel p { max-width: 680px; color: #b9bec0; font-size: 1.1rem; }
.workflow-machine { position: relative; min-height: 250px; display: grid; place-items: center; border: 1px solid #42474a; background: radial-gradient(circle at 50% 48%, #343a3e 0, #1b1e20 58%, #121415 100%); overflow: hidden; }
.workflow-machine::before, .workflow-machine::after { position: absolute; content: ''; background: rgba(255,255,255,.06); }
.workflow-machine::before { width: 130%; height: 1px; transform: rotate(-18deg); }
.workflow-machine::after { width: 1px; height: 130%; transform: rotate(24deg); }
.machine-word { position: relative; z-index: 1; color: #fff; font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 900; letter-spacing: -.055em; text-align: center; text-transform: uppercase; }
.machine-word span { display: block; margin-top: 8px; color: var(--red); font-size: .68rem; letter-spacing: .18em; }

.media-showcase { padding: 130px 0; background: #0d0e0f; color: #fff; }
.media-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 60px; }
.media-heading .lede { max-width: 470px; color: #aeb4b7; }
.media-grid { display: grid; grid-template-columns: 1.35fr .85fr; grid-template-rows: repeat(2, minmax(260px, 1fr)); gap: 18px; }
.media-card { position: relative; min-height: 280px; padding: 0; border: 0; background: #17191a; color: #fff; text-align: left; overflow: hidden; cursor: pointer; }
.media-card:first-child { grid-row: 1 / 3; }
.media-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .65s ease, filter .4s ease; }
.media-card__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,6,7,.94), rgba(5,6,7,.05) 68%); }
.media-card:hover img { transform: scale(1.035); filter: saturate(1.12); }
.play-button { position: absolute; top: 28px; right: 28px; width: 58px; height: 58px; display: grid; place-items: center; border: 2px solid #fff; border-radius: 50%; background: rgba(184,24,48,.92); font-size: 1rem; box-shadow: 0 8px 26px rgba(0,0,0,.3); transition: transform .25s ease; }
.media-card:hover .play-button { transform: scale(1.1); }
.media-card__copy { position: absolute; left: 30px; right: 30px; bottom: 28px; display: block; }
.media-card__copy small, .media-card__copy strong, .media-card__copy em { display: block; }
.media-card__copy small { margin-bottom: 10px; color: #ff6676; font-size: .66rem; font-weight: 900; letter-spacing: .14em; }
.media-card__copy strong { max-width: 620px; font-size: clamp(1.35rem, 2.4vw, 2.65rem); letter-spacing: -.045em; line-height: 1; }
.media-card__copy em { margin-top: 12px; color: #d1d4d5; font-size: .72rem; font-style: normal; }

.bottleneck { padding: 130px 0; }
.bottleneck-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; margin-top: 60px; }
.bottleneck-list { border-top: 1px solid var(--line); }
.bottleneck-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; border: 0; border-bottom: 1px solid var(--line); background: transparent; color: var(--muted); text-align: left; font-size: clamp(1rem, 1.8vw, 1.3rem); cursor: pointer; }
.bottleneck-btn::after { content: '+'; color: var(--red); font-size: 1.5rem; }
.bottleneck-btn[aria-selected="true"] { color: var(--ink); font-weight: 800; }
.bottleneck-btn[aria-selected="true"]::after { content: '→'; }
.solution-card { position: sticky; top: 30px; min-height: 430px; padding: clamp(34px, 5vw, 64px); display: flex; flex-direction: column; justify-content: flex-end; background: var(--ink); color: #fff; box-shadow: var(--shadow); overflow: hidden; }
.solution-card::before { position: absolute; width: 360px; height: 360px; right: -90px; top: -120px; border: 70px solid rgba(227,38,46,.16); border-radius: 50%; content: ''; }
.solution-stage { position: relative; color: var(--red); font-size: .72rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.solution-card h3 { position: relative; margin: 15px 0 18px; font-size: clamp(2.4rem, 5vw, 4.5rem); letter-spacing: -.06em; line-height: .9; }
.solution-card p { position: relative; max-width: 560px; margin: 0; color: #bdc2c5; font-size: 1.1rem; }

.products { padding: 130px 0; background: var(--mist); }
.products-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 58px; }
.products-head .lede { max-width: 440px; }
.product-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.product-card { position: relative; min-height: 380px; grid-column: span 4; display: flex; flex-direction: column; justify-content: space-between; padding: 30px; background: #fff; border: 1px solid #e1e1e1; border-top: 5px solid var(--red); text-decoration: none; overflow: hidden; transition: .3s ease; }
.product-card:nth-child(1), .product-card:nth-child(4) { grid-column: span 8; }
.product-card:hover { border-color: var(--red); transform: translateY(-5px); box-shadow: var(--shadow); }
.product-stage { color: var(--red); font-size: .68rem; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.product-glyph { position: absolute; right: -20px; top: 245px; color: #edf0f1; font-size: 10rem; font-weight: 900; letter-spacing: -.1em; line-height: .7; }
.product-media { position: relative; height: 190px; flex: 0 0 190px; margin: -30px -30px 26px; padding: 0; border: 0; background: #111; overflow: hidden; cursor: pointer; }
.product-card:nth-child(1) .product-media, .product-card:nth-child(4) .product-media { height: 270px; flex-basis: 270px; }
.product-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-media::after { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 62%); content: ''; }
.product-media:hover img { transform: scale(1.04); }
.product-play { position: absolute; z-index: 1; left: 22px; bottom: 18px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; }
.video-label { position: absolute; z-index: 1; left: 76px; bottom: 28px; color: #fff; font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.product-card h3 { position: relative; margin: auto 0 12px; max-width: 520px; font-size: clamp(1.8rem, 3vw, 3.4rem); line-height: .95; letter-spacing: -.055em; }
.product-card p { position: relative; max-width: 500px; margin: 0 0 28px; color: var(--muted); }
.product-link { position: relative; width: fit-content; padding: 0; border: 0; background: transparent; color: var(--ink); font-size: .72rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.product-link:hover { color: var(--red); }

.digital { padding: 130px 0; background: #fff; }
.digital-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: center; }
.thread-map { position: relative; min-height: 520px; display: grid; place-items: center; background: var(--ink); color: #fff; overflow: hidden; }
.thread-map::before { position: absolute; inset: 9%; border: 1px solid #464b4e; content: ''; transform: rotate(4deg); }
.thread-map::after { position: absolute; inset: 17%; border: 1px solid #3c4144; content: ''; transform: rotate(-5deg); }
.thread-core { position: relative; z-index: 1; width: 230px; height: 230px; display: grid; place-items: center; border: 2px solid var(--red); border-radius: 50%; text-align: center; font-size: 1.6rem; font-weight: 900; letter-spacing: -.04em; }
.digital-steps { margin: 38px 0 0; padding: 0; list-style: none; counter-reset: step; }
.digital-steps li { position: relative; padding: 18px 0 18px 54px; border-bottom: 1px solid var(--line); counter-increment: step; }
.digital-steps li::before { position: absolute; left: 0; color: var(--red); font-size: .72rem; font-weight: 900; content: '0' counter(step); }

.business { padding: 130px 0; background: var(--red); color: #fff; }
.business .section-title { max-width: 1050px; }
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 70px; border-top: 1px solid rgba(255,255,255,.35); }
.outcome { padding: 30px 30px 0 0; }
.outcome b { display: block; margin-bottom: 12px; font-size: 1.2rem; }
.outcome p { margin: 0; opacity: .82; }

.cta { padding: 120px 0; background: var(--ink); color: #fff; text-align: center; }
.cta .section-title { margin-inline: auto; }
.cta p { max-width: 680px; margin: 26px auto 36px; color: #b9bec0; font-size: 1.15rem; }
.video-modal[hidden] { display: none; }
.video-modal { position: fixed; z-index: 10000; inset: 0; display: grid; place-items: center; padding: 30px; }
.video-modal__backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: rgba(0,0,0,.9); cursor: pointer; }
.video-modal__panel { position: relative; width: min(1100px, 100%); background: #111; box-shadow: 0 30px 100px rgba(0,0,0,.55); }
.video-modal__head { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 18px 0 22px; color: #fff; }
.video-modal__head strong { font-size: .8rem; letter-spacing: .04em; }
.video-modal__head button { width: 40px; height: 40px; border: 0; background: transparent; color: #fff; font-size: 2rem; cursor: pointer; }
.video-modal__frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.video-modal__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body.has-video-modal { overflow: hidden; }
.site-footer { padding: 64px 0 26px; background: #181818; color: #c7c7c7; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 70px; }
.footer-logo { padding: 8px; background: #fff; }
.footer-logo img { width: 130px; }
.footer-grid b { display: block; margin-bottom: 18px; color: #fff; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; }
.footer-grid > div > a:not(.lincoln-logo) { display: block; margin: 10px 0; color: #c7c7c7; text-decoration: none; font-size: .8rem; }
.footer-grid > div > a:hover { color: #fff; }
.footer-note { max-width: 450px; font-size: .8rem; }
.footer-legal { margin-top: 54px; padding-top: 20px; border-top: 1px solid #404040; color: #888; font-size: .68rem; }

@media (max-width: 900px) {
  .corporate-links { display: none; }
  .hero { min-height: 760px; }
  .hero-grid { grid-template-columns: 1fr; gap: 42px; }
  .hero-stat { display: none; }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(3) { border-left: 1px solid rgba(255,255,255,.24); }
  .problem-grid, .bottleneck-layout, .digital-grid { grid-template-columns: 1fr; gap: 50px; }
  .workflow-tabs { overflow-x: auto; grid-template-columns: repeat(5, minmax(145px, 1fr)); }
  .workflow-panel { grid-template-columns: 1fr; gap: 36px; }
  .media-heading { display: block; }
  .media-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .media-card, .media-card:first-child { min-height: 360px; grid-row: auto; }
  .product-card, .product-card:nth-child(1), .product-card:nth-child(4) { grid-column: span 6; }
  .products-head { display: block; }
  .outcomes { grid-template-columns: 1fr 1fr; gap: 35px; }
}

@media (max-width: 620px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .utility-bar { display: none; }
  .corporate-row { min-height: 66px; gap: 18px; }
  .lincoln-logo img { width: 104px; }
  .header-cta { min-height: 40px; padding: 0 13px; font-size: .66rem; }
  .context-row { min-height: 46px; }
  .context-links { display: none; }
  .hero { min-height: 670px; height: calc(100svh - 112px); }
  .hero::before { background: linear-gradient(0deg, rgba(7,9,10,.94), rgba(7,9,10,.4)); }
  .display { font-size: clamp(3rem, 16vw, 5rem); }
  .hero-grid { padding-bottom: 68px; }
  .hero-actions { display: grid; }
  .proof-grid, .constraint-list, .outcomes { grid-template-columns: 1fr; }
  .proof-item, .proof-item:nth-child(3) { border-left: 1px solid rgba(255,255,255,.24); }
  .problem, .workflow, .media-showcase, .bottleneck, .products, .digital, .business, .cta { padding: 88px 0; }
  .workflow-panel { min-height: 0; }
  .product-card, .product-card:nth-child(1), .product-card:nth-child(4) { grid-column: 1 / -1; min-height: 340px; }
  .product-card:nth-child(1) .product-media, .product-card:nth-child(4) .product-media, .product-media { height: 210px; flex-basis: 210px; }
  .media-card, .media-card:first-child { min-height: 320px; }
  .video-modal { padding: 12px; }
  .thread-map { min-height: 400px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
