/* ==========================================================================
   Steel fabrication site — single stylesheet
   Colours: navy / charcoal / steel grey / off-white + restrained orange accent
   ========================================================================== */

:root {
  --navy: #0a1420;
  --navy-2: #101d2c;
  --charcoal: #18222e;
  --line-dark: rgba(255, 255, 255, 0.09);
  --steel: #8b97a6;
  --steel-light: #c3cad3;
  --paper: #f5f3ef;
  --paper-2: #ebe8e2;
  --ink: #121a24;
  --ink-soft: #4a5562;
  --line: #d9d5cd;
  --accent: #f0661a;
  --accent-dark: #d4530c;
  --radius: 4px;
  --max: 1240px;
  --font-head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  font-weight: 800;
}
h1 { font-size: clamp(2.5rem, 5.6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 3.6vw, 3rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px;
}
.skip-link:focus { left: 8px; }

/* ---------- Eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 62ch; }
.dark .lead, .hero .lead { color: var(--steel-light); }

/* ---------- Placeholder marker (easy to find & replace) ---------- */
.ph {
  background: rgba(240, 102, 26, 0.12);
  border-bottom: 1px dashed var(--accent);
  padding: 0 3px;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: var(--radius);
  font-family: var(--font-head); font-weight: 700; font-size: 0.98rem;
  letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  border: 1.5px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.06); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 20, 32, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
  color: #fff;
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; line-height: 1.1; }
.brand-name small {
  display: block; font-family: var(--font-mono); font-weight: 400;
  font-size: 0.66rem; letter-spacing: 0.14em; color: var(--steel); text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: block; padding: 8px 12px; text-decoration: none;
  font-size: 0.92rem; font-weight: 500; color: var(--steel-light);
  border-radius: var(--radius); transition: color .2s;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
.nav-cta { padding: 11px 20px; font-size: 0.9rem; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line-dark); color: #fff;
  width: 44px; height: 44px; border-radius: var(--radius); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; margin: auto; }

@media (max-width: 1080px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav-links {
    position: fixed; inset: 76px 0 auto 0; flex-direction: column; align-items: stretch;
    background: var(--navy); padding: 16px 24px 28px; gap: 0;
    border-bottom: 1px solid var(--line-dark);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }
  .nav-links a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-dark); }
  .nav-links a[aria-current="page"] { box-shadow: none; color: var(--accent); }
  .nav-links .nav-cta-item { margin-top: 18px; }
  .nav-links .nav-cta { width: 100%; border-bottom: 0; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy); color: #fff;
  padding: clamp(80px, 11vw, 150px) 0 clamp(70px, 9vw, 120px);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent 0%, #000 45%, #000 100%);
  opacity: .55;
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { margin-bottom: 36px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-meta {
  position: relative; display: flex; flex-wrap: wrap; gap: 40px;
  margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--line-dark);
  font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em;
  text-transform: uppercase; color: var(--steel);
}
.hero-meta strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1rem; letter-spacing: 0; text-transform: none; }

.page-hero { padding: clamp(70px, 9vw, 120px) 0 clamp(56px, 7vw, 90px); }
.page-hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.9rem); max-width: 18ch; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 560px; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section.alt { background: var(--paper-2); }
.dark { background: var(--navy); color: #fff; }
.dark.alt { background: var(--charcoal); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 56px; }
.section-head p { color: var(--ink-soft); margin: 0; }
.dark .section-head p { color: var(--steel-light); }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center .eyebrow::before { display: none; }
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: 16px; } }

/* ---------- Two-path chooser ---------- */
.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; background: var(--line); border: 1px solid var(--line); }
.path {
  position: relative; background: var(--paper); padding: clamp(32px, 4vw, 56px);
  text-decoration: none; display: flex; flex-direction: column; gap: 6px;
  transition: background .25s;
}
.path:hover { background: #fff; }
.path .tag { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.path h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 8px 0 10px; }
.path p { color: var(--ink-soft); }
.path ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 8px; }
.path li { display: flex; gap: 10px; align-items: baseline; font-size: .96rem; }
.path li::before { content: ""; width: 8px; height: 8px; background: var(--accent); flex: none; transform: translateY(-1px); }
.path .go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 700; }
.path .go svg { width: 20px; transition: transform .2s; }
.path:hover .go svg { transform: translateX(5px); }
@media (max-width: 800px) { .paths { grid-template-columns: 1fr; } }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; display: flex; flex-direction: column;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover { border-color: var(--ink); transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(10,20,32,.35); }
.card .icon {
  width: 48px; height: 48px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 22px; color: var(--accent);
}
.card .icon svg { width: 24px; height: 24px; }
.card p { color: var(--ink-soft); font-size: .97rem; }
.card .more { margin-top: auto; font-family: var(--font-head); font-weight: 700; font-size: .92rem; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.card .more:hover { color: var(--accent); }
.card .num { font-family: var(--font-mono); font-size: .78rem; color: var(--steel); letter-spacing: .1em; margin-bottom: 16px; }

.dark .card { background: var(--navy-2); border-color: var(--line-dark); }
.dark .card:hover { border-color: var(--steel); }
.dark .card p { color: var(--steel-light); }
.dark .card .icon { border-color: var(--line-dark); }

/* ---------- Split feature ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.checklist { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; gap: 14px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checklist li svg { width: 22px; height: 22px; color: var(--accent); margin-top: 2px; }
.checklist strong { display: block; font-family: var(--font-head); }
.checklist span { color: var(--ink-soft); font-size: .96rem; }
.dark .checklist span { color: var(--steel-light); }

/* ---------- Image placeholder ---------- */
.img-ph {
  position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,.035) 0 2px, transparent 2px 14px),
    linear-gradient(160deg, #22303f, #0d1823);
  color: var(--steel); display: grid; place-items: center; text-align: center;
}
.img-ph span {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase;
  border: 1px dashed rgba(139,151,166,.6); padding: 8px 12px; max-width: 80%;
}
.img-ph.wide { aspect-ratio: 16 / 9; }
.img-ph.tall { aspect-ratio: 4 / 5; }
.img-real { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(6, 1fr); counter-reset: step; border-top: 1px solid var(--line-dark); }
.step { padding: 28px 22px 0 0; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--font-mono); font-size: .8rem; color: var(--accent); margin-bottom: 20px;
}
.step::after { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--accent); }
.step h3 { font-size: 1.08rem; }
.step p { font-size: .92rem; color: var(--steel-light); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); row-gap: 32px; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.section:not(.dark) .steps { border-color: var(--line); }
.section:not(.dark) .step p { color: var(--ink-soft); }

/* ---------- Industries chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  border: 1px solid var(--line); background: #fff; padding: 10px 16px; border-radius: 999px;
  font-size: .94rem; font-weight: 500;
}
.dark .chip { background: transparent; border-color: var(--line-dark); color: var(--steel-light); }

/* ---------- Projects ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.filter-btn {
  font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 9px 18px; border-radius: 999px; transition: all .2s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.project { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.project:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(10,20,32,.35); }
.project .img-ph, .project img { border-radius: 0; aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.project-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.project-cat { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.project-body p { color: var(--ink-soft); font-size: .95rem; }
.project-facts { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; font-size: .86rem; margin: 6px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.project-facts dt { color: var(--steel); font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .08em; padding-top: 2px; }
.project-facts dd { margin: 0; }
.badge-sample {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--accent); color: #fff; font-family: var(--font-mono); font-size: .66rem; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 8px; border-radius: 2px;
}
.project-media { position: relative; }

/* ---------- Product / spec table ---------- */
.product { display: grid; grid-template-columns: 320px 1fr; gap: 40px; padding: 48px 0; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.product:first-child { border-top: 0; padding-top: 0; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; gap: 24px; } }
.spec { width: 100%; border-collapse: collapse; font-size: .94rem; margin: 18px 0 24px; }
.spec th, .spec td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { width: 34%; font-family: var(--font-mono); font-weight: 500; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); background: var(--paper-2); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.tags span { font-size: .82rem; border: 1px solid var(--line); padding: 4px 10px; border-radius: 999px; background: #fff; }

/* ---------- Product index nav ---------- */
.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { text-decoration: none; font-size: .9rem; border: 1px solid var(--line-dark); color: var(--steel-light); padding: 8px 14px; border-radius: 999px; }
.toc a:hover { color: #fff; border-color: var(--steel); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 1.4rem; color: var(--accent); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-right: 40px; }

/* ---------- Notice ---------- */
.notice {
  border-left: 3px solid var(--accent); background: #fff; padding: 16px 20px;
  font-size: .94rem; color: var(--ink-soft); border-radius: 0 var(--radius) var(--radius) 0;
}
.dark .notice { background: var(--navy-2); color: var(--steel-light); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--accent); color: #fff; padding: clamp(56px, 7vw, 88px) 0; }
.cta-band .inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; }
.cta-band h2 { max-width: 20ch; margin: 0; }
.cta-band p { margin: 10px 0 0; opacity: .9; }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 4vw, 44px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field label .req { color: var(--accent); }
.field .hint { font-size: .82rem; color: var(--steel); margin-top: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 13px 14px; transition: border-color .2s, background .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.field input[type="file"] { padding: 11px; background: #fff; border-style: dashed; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #c62828; }
.field .error { color: #c62828; font-size: .82rem; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: space-between; margin-top: 28px; }
.form-footer small { color: var(--steel); max-width: 52ch; }
.form-status { margin-top: 20px; padding: 18px 20px; border-radius: var(--radius); display: none; }
.form-status.show { display: block; }
.form-status.ok { background: #e8f4ec; border: 1px solid #9fcfb0; color: #1d5a33; }
.form-status.err { background: #fdecea; border: 1px solid #f0b4ae; color: #8a1f17; }
.form-status.warn { background: #fff5e8; border: 1px solid #f3c99a; color: #7a4310; }
.form-status h3 { font-size: 1.1rem; margin-bottom: 6px; }
.form-status p:last-child { margin: 0; }

/* ---------- Contact blocks ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.contact-list li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.contact-list .icon { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: var(--radius); display: grid; place-items: center; color: var(--accent); }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-family: var(--font-mono); font-weight: 500; font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--steel); }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent); }
.map { width: 100%; aspect-ratio: 16/10; border: 0; border-radius: var(--radius); filter: grayscale(.6); }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: var(--steel-light); padding: 80px 0 32px; font-size: .94rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: .78rem; font-family: var(--font-mono); font-weight: 500; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); font-size: .84rem; color: var(--steel); }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 28px -8px rgba(0,0,0,.45);
  transition: transform .2s;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0s !important; animation: none !important; }
}

/* ---------- Hero SVG line animation ---------- */
.draw path, .draw line, .draw polyline, .draw rect {
  stroke-dasharray: 1200; stroke-dashoffset: 1200; animation: draw 2.4s ease forwards;
}
.draw .d2 { animation-delay: .4s; }
.draw .d3 { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.muted { color: var(--ink-soft); }
.small { font-size: .9rem; }

/* Inline icon sizing inside text links */
.card .more svg, .path .go svg { width: 18px; height: 18px; flex: none; }
.card .more svg { transition: transform .2s; }
.card .more:hover svg { transform: translateX(3px); }
.contact-split { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 900px) { .contact-split { grid-template-columns: minmax(0, 1fr); } }
.contact-list div { min-width: 0; overflow-wrap: anywhere; }

/* ---------- Project cover button + gallery ---------- */
.project-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; }
.project-open img { display: block; transition: transform .5s ease; }
.project-media { overflow: hidden; }
.project:hover .project-open img { transform: scale(1.04); }
.photo-count {
  position: absolute; right: 12px; bottom: 12px; background: rgba(10,20,32,.82); color: #fff;
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 2px;
}
.gallery {
  width: min(96vw, 1200px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius);
  background: var(--navy); color: #fff; overflow: hidden;
}
.gallery::backdrop { background: rgba(5, 10, 16, .88); }
.gallery-bar { display: flex; align-items: center; gap: 16px; padding: 14px 18px; border-bottom: 1px solid var(--line-dark); }
.gallery-title { font-family: var(--font-head); flex: 1; }
.gallery-count { font-family: var(--font-mono); font-size: .8rem; color: var(--steel); }
.gallery-close, .gallery-nav {
  background: rgba(255,255,255,.08); color: #fff; border: 1px solid var(--line-dark); cursor: pointer;
  width: 42px; height: 42px; border-radius: 50%; font-size: 1.2rem; line-height: 1;
}
.gallery-close:hover, .gallery-nav:hover { background: var(--accent); border-color: var(--accent); }
.gallery-stage { position: relative; display: grid; place-items: center; background: #05090e; }
.gallery-stage img { max-width: 100%; max-height: calc(94vh - 72px); object-fit: contain; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); font-size: 1.8rem; width: 48px; height: 48px; }
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-nav[hidden] { display: none; }
.project img { height: auto; }
.img-real { display: block; aspect-ratio: 4 / 3; height: auto; }
.img-real.tall { aspect-ratio: 4 / 5; }
.img-real.wide { aspect-ratio: 16 / 9; }
