:root {
  --graphite: #0e0f11;
  --carbon: #161820;
  --steel: #1d212b;
  --steel-2: #232836;
  --plate: #2f3544;
  --copper: #b87333;
  --copper-light: #d4935a;
  --copper-glow: #ebb27b;
  --silver: #a9b4c8;
  --silver-2: #bcc6d8;
  --fog: #d7dde8;
  --white: #f3f5f8;
  --accent: #c9773a;

  --container: 1400px;
  --header-h: 84px;
  --logo-h: 54px;
  --logo-h-mobile: 44px;

  --radius: 18px;
  --shadow-soft: 0 12px 28px rgba(0, 0, 0, 0.22);
  --shadow-strong: 0 24px 60px rgba(0, 0, 0, 0.36);

  --transition-fast: 0.18s ease;
  --transition-med: 0.3s ease;
  --transition-slow: 0.6s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* Scroll margin so fixed header doesn't cover anchors */
section[id],
div[id] {
  scroll-margin-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  background: var(--graphite);
  color: var(--fog);
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  padding-top: var(--header-h);
  font-feature-settings: "ss01", "liga";
}

/* Grain texture overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
  opacity: 0.45;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

/* Focus-visible ring for accessibility */
:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  border-radius: 4px;
}

button {
  cursor: pointer;
}

.container {
  width: min(var(--container), calc(100% - 4rem));
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* =========================
   Header — with scroll-shrink
========================= */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(14, 15, 17, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(184, 115, 51, 0.18);
  transition: min-height var(--transition-med), background var(--transition-med), box-shadow var(--transition-med);
}

/* Scrolled state — applied by JS */
.site-header.is-scrolled {
  background: rgba(10, 11, 14, 0.97);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
  --header-h: 68px;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition: min-height var(--transition-med);
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.brand-logo {
  height: var(--logo-h);
  width: auto;
  display: block;
  transition: height var(--transition-med);
}

.site-header.is-scrolled .brand-logo {
  height: calc(var(--logo-h) - 8px);
}

.main-nav {
  display: flex;
  gap: 2.25rem;
  align-items: center;
}

.main-nav a {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--silver);
  position: relative;
  transition: color var(--transition-fast);
  padding: 0.25rem 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--copper), var(--copper-glow));
  transition: width var(--transition-med);
}

.main-nav a:hover,
.main-nav a.is-active {
  color: var(--copper-glow);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(184, 115, 51, 0.2);
  background: rgba(255, 255, 255, 0.03);
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.nav-toggle:hover {
  border-color: rgba(184, 115, 51, 0.45);
  background: rgba(184, 115, 51, 0.06);
}

.nav-toggle-bar {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--fog);
  transition: transform var(--transition-med), opacity var(--transition-fast);
}

/* Animated hamburger → X */
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================
   Hero
========================= */

.hero {
  min-height: calc(100vh - var(--header-h));
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(184, 115, 51, 0.1) 0%, transparent 60%),
    radial-gradient(ellipse 40% 60% at 20% 80%, rgba(184, 115, 51, 0.06) 0%, transparent 50%),
    var(--graphite);
  z-index: 0;
  animation: heroPulse 8s ease-in-out infinite alternate;
}

@keyframes heroPulse {
  0%   { opacity: 1; }
  100% { opacity: 0.75; }
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(184, 115, 51, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 115, 51, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

/* Ambient glow orb behind headline */
.hero-bg::after {
  content: "";
  position: absolute;
  width: 600px;
  height: 400px;
  left: 5%;
  top: 10%;
  background: radial-gradient(ellipse, rgba(184, 115, 51, 0.08) 0%, transparent 70%);
  filter: blur(60px);
  animation: glowShift 10s ease-in-out infinite alternate;
}

@keyframes glowShift {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 20px) scale(1.1); }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  padding: 7rem 0 4rem;
  position: relative;
  z-index: 2;
}

.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 2rem;
}

.hero-tag,
.section-label {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-tag::before,
.section-label::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1px;
  background: linear-gradient(90deg, var(--copper), var(--copper-glow));
}

.hero-title,
.section-title {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.03em;
  color: var(--white);
  line-height: 0.95;
}

.hero-title {
  font-size: clamp(3.8rem, 7vw, 6.5rem);
  margin-bottom: 0.8rem;
  position: relative;
}

/* Animated draw-in underline on hero main line */
.hero-title .headline-line {
  display: block;
  position: relative;
}

.hero-title .headline-line::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, var(--copper), var(--copper-glow), transparent);
  animation: drawLine 1.2s 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes drawLine {
  to { width: 60%; }
}

.hero-title .highlight {
  color: var(--copper);
  display: block;
}

.hero-subtitle,
.section-intro {
  color: var(--silver-2);
  max-width: 600px;
  line-height: 1.85;
}

.hero-subtitle {
  font-size: 1.05rem;
  margin: 1rem 0 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-primary {
  background: var(--copper);
  color: var(--graphite);
  padding: 0.9rem 2rem;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  border: none;
  transition: background var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  cursor: pointer;
  position: relative;
}

.btn-primary:hover {
  background: var(--copper-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 115, 51, 0.35);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  color: var(--silver-2);
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color var(--transition-fast), gap var(--transition-fast);
}

.btn-ghost::after {
  content: "→";
  transition: transform var(--transition-fast);
}

.btn-ghost:hover {
  color: var(--copper-light);
  gap: 0.8rem;
}

.btn-ghost:hover::after {
  transform: translateX(3px);
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

/* Glowing top border on stats */
.hero-stats::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, var(--copper), transparent);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2.3rem;
  color: var(--copper);
  line-height: 1;
}

.stat-label {
  font-family: "Space Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
  margin-top: 0.25rem;
  max-width: 120px;
  line-height: 1.5;
}

.hero-visual {
  display: grid;
  gap: 1.5rem;
  align-content: start;
  padding-top: 1rem;
}

.hero-media {
  width: 100%;
  padding: 0;
  border: 1px solid rgba(184, 115, 51, 0.22);
  border-radius: 18px;
  overflow: hidden;
  background: var(--steel);
  box-shadow: var(--shadow-strong);
  cursor: pointer;
  transition: border-color var(--transition-med), box-shadow var(--transition-med), transform var(--transition-med);
}

.hero-media:hover {
  border-color: rgba(184, 115, 51, 0.5);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.45), 0 0 40px rgba(184, 115, 51, 0.1);
  transform: translateY(-3px);
}

.hero-media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-media:hover img {
  transform: scale(1.03);
}

.deliver-card {
  background: var(--carbon);
  border: 1px solid rgba(184, 115, 51, 0.16);
  padding: 2rem;
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

/* Subtle corner accent */
.deliver-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at top right, rgba(184, 115, 51, 0.1), transparent 70%);
}

.deliver-title {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: var(--white);
  margin-bottom: 1rem;
}

.deliver-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--silver-2);
}

.deliver-list li {
  position: relative;
  transition: color var(--transition-fast);
}

.deliver-list li + li {
  margin-top: 0.75rem;
}

.deliver-list li::marker {
  color: var(--copper);
}

/* =========================
   Section base
========================= */

section {
  padding: 6rem 0;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1rem;
}

.section-intro {
  font-size: 1rem;
  max-width: 60ch;
}

/* =========================
   Divider
========================= */

.divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(184, 115, 51, 0.3), transparent);
  position: relative;
  z-index: 2;
}

/* =========================
   Proof
========================= */

.proof-title-main {
  margin-bottom: 1rem;
}

.proof-intro {
  margin-bottom: 3rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.proof-card {
  position: relative;
  background: var(--steel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: transform var(--transition-med), border-color var(--transition-med), box-shadow var(--transition-med);
  border-radius: 16px;
  padding: 0;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.proof-card:hover {
  transform: translateY(-6px);
  border-color: rgba(184, 115, 51, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), 0 0 24px rgba(184, 115, 51, 0.08);
}

.proof-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.proof-card:hover img {
  transform: scale(1.06);
}

/* Overlay on hover showing "View" hint */
.proof-card::after {
  content: "↗ View";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(14, 15, 17, 0) 40%, rgba(14, 15, 17, 0.65) 100%);
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.75rem;
  font-family: "Space Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  color: var(--copper-glow);
  opacity: 0;
  transition: opacity var(--transition-med);
}

.proof-card:hover::after {
  opacity: 1;
}

.chip {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 0.35rem 0.7rem;
  background: rgba(14, 15, 17, 0.78);
  border: 1px solid rgba(184, 115, 51, 0.28);
  color: var(--copper-light);
  font-family: "Space Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  z-index: 2;
  backdrop-filter: blur(4px);
}

/* =========================
   Capabilities
========================= */

#capabilities {
  background:
    radial-gradient(ellipse 70% 90% at 20% 20%, rgba(184, 115, 51, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, #141722 0%, #12151f 100%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(184, 115, 51, 0.22);
  border: 1px solid rgba(184, 115, 51, 0.22);
  margin-top: 4rem;
  overflow: hidden;
  border-radius: 4px;
}

.service-card {
  background: var(--carbon);
  padding: 3rem 2.25rem;
  position: relative;
  transition: background var(--transition-med);
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--copper), var(--copper-glow));
  transition: height 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover {
  background: var(--steel-2);
}

.service-card:hover::before {
  height: 100%;
}

.service-num {
  font-family: "Bebas Neue", sans-serif;
  font-size: 4rem;
  color: rgba(184, 115, 51, 0.16);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
  transition: color var(--transition-med);
}

.service-card:hover .service-num {
  color: rgba(184, 115, 51, 0.25);
}

.service-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  color: #f4f6fa;
  margin-bottom: 0.9rem;
  position: relative;
  z-index: 2;
}

.service-desc {
  font-size: 0.96rem;
  color: #b6c0d3;
  line-height: 1.85;
  position: relative;
  z-index: 2;
}

/* =========================
   Materials
========================= */

.examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 4rem;
}

.alloy-card {
  position: relative;
  background: var(--steel);
  padding: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
  box-shadow: var(--shadow-soft);
  border-radius: 4px;
}

.alloy-card:hover {
  border-color: rgba(184, 115, 51, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.32), 0 0 30px rgba(184, 115, 51, 0.08);
}

.alloy-bg-text {
  font-family: "Bebas Neue", sans-serif;
  font-size: 7rem;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  bottom: -0.5rem;
  right: 1rem;
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
  transition: color var(--transition-slow);
}

.alloy-card:hover .alloy-bg-text {
  color: rgba(184, 115, 51, 0.07);
}

.alloy-symbol {
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--copper);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.alloy-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.alloy-desc {
  font-size: 0.92rem;
  color: var(--silver-2);
  line-height: 1.82;
}

.alloy-pill {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.3rem 0.8rem;
  background: rgba(184, 115, 51, 0.1);
  border: 1px solid rgba(184, 115, 51, 0.25);
  font-family: "Space Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper-light);
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.alloy-card:hover .alloy-pill {
  background: rgba(184, 115, 51, 0.16);
  border-color: rgba(184, 115, 51, 0.4);
}

.material-card .pubs {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 0.5rem;
}

.material-card .pubs-title {
  font-family: "Space Mono", monospace;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

.material-card .pub-link {
  font-size: 0.88rem;
  color: var(--copper-light);
  line-height: 1.75;
  transition: color var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.material-card .pub-link::after {
  content: "↗";
  font-size: 0.75rem;
  opacity: 0.7;
}

.material-card .pub-link:hover {
  color: var(--copper-glow);
}

/* =========================
   Team
========================= */

#team {
  background: var(--graphite);
}

.team-grid {
  display: grid;
  grid-template-columns: minmax(320px, 720px);
  justify-content: center;
  gap: 2rem;
  margin-top: 4rem;
}

.team-card {
  background: var(--carbon);
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  transition: border-color var(--transition-med), transform var(--transition-med), box-shadow var(--transition-med);
  box-shadow: var(--shadow-soft);
  border-radius: 4px;
}

.team-card:hover {
  border-color: rgba(184, 115, 51, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.team-avatar {
  width: 100%;
  height: 220px;
  background: var(--steel);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Subtle gradient overlay on avatar */
.team-avatar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14, 15, 17, 0.45) 100%);
  z-index: 1;
  pointer-events: none;
}

.team-avatar-photo img {
  max-height: 190px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.5s ease;
  position: relative;
  z-index: 0;
}

.team-card:hover .team-avatar-photo img {
  transform: scale(1.03);
}

.team-avatar-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-glow), transparent);
  z-index: 2;
}

.team-info {
  padding: 1.5rem 1.8rem 1.8rem;
}

.team-role {
  font-family: "Space Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.4rem;
}

.team-name {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.55rem;
  letter-spacing: 0.03em;
  color: var(--white);
  margin-bottom: 0.8rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--silver-2);
  line-height: 1.8;
}

/* =========================
   Contact
========================= */

#contact {
  background: var(--carbon);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(184, 115, 51, 0.1);
  border: 1px solid rgba(184, 115, 51, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--copper);
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.contact-detail:hover .contact-icon {
  background: rgba(184, 115, 51, 0.18);
  border-color: rgba(184, 115, 51, 0.45);
}

.contact-label {
  font-family: "Space Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.3rem;
}

.contact-value {
  font-size: 0.98rem;
  color: var(--fog);
  line-height: 1.7;
}

/* Form */
.contact-form {
  display: grid;
  gap: 0;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background: var(--steel);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: none;
  color: var(--fog);
  padding: 0.95rem 1.25rem;
  font-family: "DM Sans", sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
  display: block;
}

.contact-form input:last-of-type,
.contact-form textarea {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--copper);
  background: #202534;
  position: relative;
  z-index: 1;
}

.contact-form textarea {
  min-height: 130px;
  resize: vertical;
  margin-bottom: 1.25rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #73809a;
}

.contact-form .btn-primary {
  width: 100%;
  text-align: center;
  display: block;
  clip-path: none;
  border-radius: 0;
  padding: 1.1rem 2rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
}

.form-note {
  color: var(--silver);
  font-size: 0.78rem;
  margin-top: 0.75rem;
  font-style: italic;
  opacity: 0.7;
}

/* =========================
   Footer
========================= */

.site-footer {
  background: var(--graphite);
  border-top: 1px solid rgba(184, 115, 51, 0.12);
  padding: 2.5rem 0;
  position: relative;
  z-index: 2;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
}

.footer-logo-image {
  height: 28px;
  width: auto;
  display: block;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.footer-logo-image:hover {
  opacity: 1;
}

.footer-copy {
  font-family: "Space Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  color: #69748a;
  text-transform: uppercase;
}

/* =========================
   Lightbox — with entrance animation
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox.is-open {
  pointer-events: all;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox-dialog {
  position: relative;
  width: min(1000px, calc(100% - 24px));
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(184, 115, 51, 0.22);
  background: rgba(22, 24, 32, 0.98);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.65), 0 0 60px rgba(184, 115, 51, 0.06);
  transform: scale(0.92) translateY(16px);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 1;
}

.lightbox.is-open .lightbox-dialog {
  transform: scale(1) translateY(0);
}

.lightbox-img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 78vh;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.25);
}

.lightbox-caption {
  padding: 12px 16px;
  color: var(--silver-2);
  font-size: 0.88rem;
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-top: 1px solid rgba(184, 115, 51, 0.12);
}

.lightbox-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(184, 115, 51, 0.2);
  background: rgba(0, 0, 0, 0.5);
  color: var(--white);
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  backdrop-filter: blur(4px);
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.lightbox-close:hover {
  background: rgba(184, 115, 51, 0.2);
  border-color: rgba(184, 115, 51, 0.5);
  transform: scale(1.08);
}

/* =========================
   Scroll animations
========================= */

.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-children > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.stagger-children.visible > *:nth-child(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0s;
}

.stagger-children.visible > *:nth-child(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.1s;
}

.stagger-children.visible > *:nth-child(3) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.stagger-children.visible > *:nth-child(4) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}

/* =========================
   Responsive
========================= */

@media (max-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .container {
    width: min(var(--container), calc(100% - 2rem));
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: var(--header-h);
    right: 0;
    left: 0;
    background: rgba(10, 11, 14, 0.98);
    border-bottom: 1px solid rgba(184, 115, 51, 0.15);
    padding: 1.5rem 2rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .main-nav.is-open {
    display: flex;
    animation: navSlideDown 0.25s cubic-bezier(0.22, 1, 0.36, 1);
  }

  @keyframes navSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
  }

  .hero-inner,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding-top: 0;
  }

  .examples-grid,
  .proof-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .contact-layout {
    gap: 3rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 76px;
    --logo-h: var(--logo-h-mobile);
  }

  .hero-title {
    font-size: clamp(3rem, 12vw, 4.6rem);
  }

  .hero-content {
    padding-top: 1rem;
  }

  .hero-media img {
    height: 240px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .deliver-card,
  .service-card,
  .alloy-card,
  .team-info {
    padding-left: 1.4rem;
    padding-right: 1.4rem;
  }

  .team-avatar {
    height: 180px;
  }

  .team-avatar-photo img {
    max-height: 160px;
  }

  .proof-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-stats {
    gap: 1.2rem;
  }

  .stat-num {
    font-size: 1.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  .fade-up,
  .stagger-children > * {
    opacity: 1;
    transform: none;
  }
}