/* American Steel Forge — page styles (tokens/components come from styles.css) */
html { scroll-behavior: smooth; }
body { margin: 0; background: #f2f2f3; color: #1d1f20; font-family: "Barlow", system-ui, sans-serif; }
a { color: #5980a6; } a:hover { color: #416180; }
img { display: block; max-width: 100%; }
.skip { position: absolute; left: -999px; top: 8px; background: #1d2d3d; color: #f2f2f3; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: clamp(24px, 6vw, 80px); padding-right: clamp(24px, 6vw, 80px); }
.section { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
h1, h2, h3 { font-family: "Barlow Condensed", sans-serif; font-weight: 600; text-transform: uppercase; margin: 0; }
h2 { font-size: clamp(36px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.015em; text-wrap: balance; }
.kicker { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #416180; margin: 0 0 12px; display: flex; align-items: center; gap: 12px; }
.kicker.light { color: #94bce3; }
.kicker .rule { width: 28px; height: 1px; background: #94bce3; }
.grid-bg { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(242,242,243,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(242,242,243,.06) 1px, transparent 1px); background-size: 64px 64px; }

/* nav */
.nav-bar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding: 14px 28px; background: rgba(242,242,243,.88); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(29,31,32,.16); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nav-bar.hidden { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1d1f20; margin-right: auto; }
.mark { width: 22px; height: 22px; border: 1.5px solid #1d1f20; display: grid; place-items: center; }
.mark span { width: 8px; height: 8px; background: #5980a6; }
.brand-name { font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 18px; letter-spacing: 0.04em; text-transform: uppercase; }
.links { display: flex; gap: 22px; font-size: 14px; flex-wrap: wrap; }
.links a { color: #1d1f20; text-decoration: none; } .links a:hover { color: #5980a6; }
.btn { text-decoration: none; }
.backtop { position: fixed; right: 24px; bottom: 24px; z-index: 30; width: 48px; height: 48px; display: grid; place-items: center; background: #5980a6; border-color: #5980a6; color: #f2f2f3; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s, background .2s; }
.backtop:hover { background: #416180; border-color: #416180; color: #f2f2f3; }
.backtop.show { opacity: 1; transform: none; pointer-events: auto; }

/* hero */
.hero { position: relative; min-height: 88vh; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); background: #1d2d3d; color: #f2f2f3; overflow: hidden; }
.hero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 24px; padding: clamp(48px, 9vw, 120px) clamp(24px, 6vw, 80px); }
.hero h1 { font-size: clamp(52px, 7.5vw, 112px); line-height: .95; letter-spacing: -0.02em; text-wrap: balance; }
.lede { font-size: clamp(16px, 1.4vw, 20px); line-height: 1.5; max-width: 520px; margin: 0; color: rgba(242,242,243,.8); }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.hero-btn { padding: 12px 22px; font-size: 15px; background: #749dc4; border-color: #749dc4; color: #1d2d3d; }
.hero-btn:hover { background: #94bce3; border-color: #94bce3; color: #1d2d3d; }
.hero-btn .corner { color: #94bce3; }
.ghost-light { padding: 12px 22px; font-size: 15px; color: #f2f2f3; border-color: rgba(242,242,243,.3); }
.ghost-light:hover { background: rgba(242,242,243,.1); color: #f2f2f3; }
.stats { display: flex; gap: 40px; margin: 40px 0 0; flex-wrap: wrap; }
.stats dt { font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 40px; line-height: 1; }
.stats dd { margin: 0; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #94bce3; }
.hero-media { position: relative; min-height: 360px; padding: clamp(24px, 5vw, 64px); display: grid; }
.frame { position: relative; margin: 0; overflow: hidden; }
.frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame.missing::after { content: attr(data-placeholder); position: absolute; inset: 0; display: grid; place-items: center; padding: 16px; text-align: center; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #94bce3; background: repeating-linear-gradient(135deg, rgba(148,188,227,.08) 0 12px, transparent 12px 24px); }
.light-frame { min-height: 320px; border-color: rgba(242,242,243,.3); }
.light-frame .corner { color: #94bce3; }
.gauge { position: absolute; right: 16px; bottom: 16px; width: 72px; height: 72px; }
.gauge span { position: absolute; border-radius: 50%; }
.g1 { inset: 0; border: 1px dashed #94bce3; animation: asf-spin 24s linear infinite; }
.g2 { inset: 12px; border: 1px solid #94bce3; border-top-color: transparent; animation: asf-spin-rev 16s linear infinite; }
.g3 { inset: 30px; background: #94bce3; }
.scroll-cue { position: absolute; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: #94bce3; text-decoration: none; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.scroll-cue .line { position: relative; width: 1px; height: 40px; background: rgba(148,188,227,.3); overflow: hidden; display: block; }
.scroll-cue .line span { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: #94bce3; animation: asf-drop 1.8s ease-in-out infinite; }
@keyframes asf-spin { to { transform: rotate(360deg); } }
@keyframes asf-spin-rev { to { transform: rotate(-360deg); } }
@keyframes asf-drop { from { transform: translateY(-100%); } to { transform: translateY(100%); } }

/* capabilities */
.section-head { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 32px; align-items: end; margin-bottom: 48px; }
.intro { margin: 0; font-size: 17px; line-height: 1.55; color: #424244; max-width: 520px; }
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1px; background: rgba(29,31,32,.16); border: 1px solid rgba(29,31,32,.16); container-type: inline-size; }
.cap { background: #f2f2f3; padding: 32px 28px 36px; display: flex; flex-direction: column; gap: 14px; min-height: 240px; transition: background .25s; }
.cap:hover { background: #eef6ff; }
.cap-meta { display: flex; justify-content: space-between; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #416180; }
.cap h3 { font-size: 28px; line-height: 1.05; margin-top: auto; }
@media (min-width: 640px) { .cap h3 { margin-top: 0; } .cap-meta { margin-bottom: 4px; } }
.cap p { margin: 0; font-size: 14px; line-height: 1.5; color: #424244; }
.cap.dark { background: #1d2d3d; color: #f2f2f3; justify-content: space-between; }
.materials { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 16px; font-size: 14px; line-height: 1.5; }
@container (min-width: 960px) { .cap-wide { grid-column: span 2; } .cap-wide .materials { grid-template-columns: repeat(3, 1fr); } }

/* about */
.about { background: #e9e9ea; border-top: 1px solid rgba(29,31,32,.16); border-bottom: 1px solid rgba(29,31,32,.16); }
.about-grid { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px; align-items: center; }
.about-copy { display: flex; flex-direction: column; gap: 20px; }
.about-copy p:not(.kicker) { margin: 0; font-size: 17px; line-height: 1.6; color: #424244; max-width: 560px; }
.values { list-style: none; margin: 8px 0 0; padding: 0; display: flex; gap: 28px; flex-wrap: wrap; font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 18px; text-transform: uppercase; letter-spacing: .04em; }
.values li { display: flex; align-items: center; gap: 8px; }
.values li::before { content: ""; width: 8px; height: 8px; background: #5980a6; }
.about-media { width: 100%; aspect-ratio: 4 / 3; min-height: 280px; border: none; }

/* founders */
.founders { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; margin-top: 48px; }
.founder { display: flex; flex-direction: column; transition: box-shadow .3s, transform .3s; }
.founder:hover { box-shadow: 0 12px 32px rgba(43,43,45,.22); transform: translateY(-4px); }
.founder .frame { aspect-ratio: 4 / 3; border-bottom: 1px solid rgba(29,31,32,.16); }
.founder-portrait-jeremy { object-position: center 18%; }
.founder-body { padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.founder-body .kicker { margin-bottom: 6px; }
.founder h3 { font-size: 32px; line-height: 1; }
.quals { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 1.5; color: #424244; }
.quals li { display: flex; gap: 10px; }
.quals li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 8px; background: #5980a6; }

/* contact */
.contact { background: #1d2d3d; color: #f2f2f3; position: relative; overflow: hidden; }
.contact-grid { position: relative; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px; align-items: start; }
.contact-copy { display: flex; flex-direction: column; gap: 20px; }
.contact h2 { font-size: clamp(44px, 6vw, 88px); line-height: .95; letter-spacing: -0.02em; }
.contact-copy p:not(.kicker) { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(242,242,243,.8); max-width: 520px; }
.contact-lines { font-style: normal; display: flex; flex-direction: column; gap: 6px; margin-top: 12px; font-family: "Barlow Condensed", sans-serif; font-weight: 600; font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.contact-lines a { color: #f2f2f3; text-decoration: none; overflow-wrap: anywhere; } .contact-lines a:hover { color: #94bce3; }
.contact-lines span { color: rgba(242,242,243,.6); font-family: "Barlow", sans-serif; font-weight: 400; font-size: 14px; text-transform: none; letter-spacing: 0; }
.quote-form { border-color: rgba(242,242,243,.3); padding: 32px; display: flex; flex-direction: column; gap: 16px; background: rgba(242,242,243,.04); }
.quote-form .corner { color: #94bce3; }
.quote-form .two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.quote-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: #94bce3; }
.quote-form .input { background: #2c455d; border-color: rgba(242,242,243,.2); color: #f2f2f3; min-height: 44px; }
.quote-form textarea.input { min-height: 110px; }
.quote-form .btn { align-self: flex-start; padding: 14px 26px; font-size: 16px; min-height: 44px; background: #749dc4; border-color: #749dc4; color: #1d2d3d; }
.quote-form .btn:hover { background: #94bce3; border-color: #94bce3; }

.quote-form .dropzone-field { cursor: pointer; }
.quote-form .optional { text-transform: none; opacity: .65; }
.quote-form .dropzone { margin-top: 4px; border: 1px dashed rgba(242,242,243,.35); border-radius: 4px; padding: 20px 16px; text-align: center; background: rgba(242,242,243,.03); transition: border-color .15s, background .15s; }
.quote-form .dropzone-field:hover .dropzone { border-color: #94bce3; }
.quote-form .dropzone-field:focus-within .dropzone { outline: 2px solid #94bce3; outline-offset: 2px; }
.quote-form .dropzone.dragover { border-color: #94bce3; background: rgba(148,188,227,.12); }
.quote-form .dropzone-text { margin: 0; font-size: 13px; text-transform: none; letter-spacing: normal; color: #f2f2f3; }
.quote-form .dropzone-browse { color: #94bce3; text-decoration: underline; text-underline-offset: 2px; }
.quote-form .dropzone-hint { margin: 4px 0 0; font-size: 11px; text-transform: none; letter-spacing: normal; color: rgba(242,242,243,.55); }
.quote-form .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.quote-form .dropzone-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.quote-form .dropzone-file { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13px; color: #f2f2f3; background: rgba(242,242,243,.06); border-radius: 4px; padding: 6px 10px; }
.quote-form .dropzone-remove { background: transparent; border: 0; color: #94bce3; font-size: 16px; line-height: 1; cursor: pointer; padding: 0 2px; }
.quote-form .dropzone-remove:hover { color: #f2f2f3; }

.quote-form .form-status { margin: 0; min-height: 18px; font-size: 13px; text-transform: none; letter-spacing: normal; }
.quote-form .form-status.success { color: #94bce3; }
.quote-form .form-status.error { color: #e0a3a3; }

/* footer */
.foot { background: #1d2d3d; color: rgba(242,242,243,.6); border-top: 1px solid rgba(242,242,243,.15); }
.foot .wrap { padding-top: 24px; padding-bottom: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; }
.foot .brand-name { font-size: 15px; color: #f2f2f3; }

/* reveal */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in, .no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } .g1, .g2, .scroll-cue .line span { animation: none; } html { scroll-behavior: auto; } }
