/* =========================================================================
   KAT-REFINING — design system
   Industrial editorial · paper + ink · forest accent
   ========================================================================= */

:root {
  /* palette */
  --paper:        #efebe2;
  --paper-2:      #e6e1d4;
  --paper-3:      #dbd5c4;
  --paper-green:  #e8e8dc;     /* lightly green-tinted paper */
  --paper-green-2:#dde2d6;
  --ink:          #0e0e0b;
  --ink-2:        #1a1a16;
  --ink-soft:     #5a5852;
  --ink-faint:    #8c8a82;
  --rule:         rgba(14,14,11,0.14);
  --rule-green:   rgba(29,63,46,0.22);
  --rule-light:   rgba(239,235,226,0.16);

  --forest:       #1d3f2e;
  --forest-2:     #143024;
  --moss:         #4a6b54;
  --moss-2:       #3d5945;
  --bright:       #22c55e;     /* used very sparingly */
  --gold:         #b8956b;

  /* type */
  --ff-display:   'Fraunces', 'Times New Roman', serif;
  --ff-body:      'Bricolage Grotesque', 'Helvetica Neue', system-ui, sans-serif;
  --ff-mono:      'IBM Plex Mono', ui-monospace, monospace;

  /* misc */
  --container:    min(1320px, calc(100% - 48px));
  --rad:          2px;
  --ease:         cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================================================
   reset + base
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "ss02", "kern";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* subtle grain overlay over everything */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 200;
  opacity: 0.06;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' seed='4'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.55 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--forest); color: var(--paper); }

/* =========================================================================
   typography primitives
   ========================================================================= */
.display {
  font-family: var(--ff-display);
  font-weight: 400;
  font-variation-settings: "opsz" 90, "SOFT" 30;
  font-size: clamp(2rem, 4.6vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.display--light { color: var(--paper); }

.eyebrow {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 400;
  color: var(--ink-soft);
}

.mono { font-family: var(--ff-mono); letter-spacing: 0.02em; }

/* =========================================================================
   layout primitives
   ========================================================================= */
.section {
  padding: clamp(80px, 9vw, 140px) 0;
  position: relative;
  scroll-margin-top: 80px;
}
.section > * {
  width: var(--container);
  margin-left: auto;
  margin-right: auto;
}
.section__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: clamp(48px, 6vw, 96px);
  position: relative;
}
.section__head::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 120px;
  height: 2px;
  background: var(--moss);
}
.section__head--light {
  border-bottom-color: var(--rule-light);
}
.section__head--light::before { background: var(--bright); opacity: 0.85; }
.section__num {
  font-family: var(--ff-mono);
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--moss);
  letter-spacing: 0.08em;
}
.section__head--light .section__num { color: var(--bright); opacity: 0.85; }
.section__kicker {
  font-family: var(--ff-display);
  font-style: italic;
  font-variation-settings: "opsz" 14;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.section__head--light .section__kicker { color: var(--paper); }

/* =========================================================================
   navigation
   ========================================================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px max(24px, calc((100vw - 1320px) / 2 + 24px));
  background: rgba(239, 235, 226, 0);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.3s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(239, 235, 226, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--rule);
  padding-top: 12px;
  padding-bottom: 12px;
}
/* over dark hero, the nav text needs to be light initially */
.nav:not(.is-scrolled) .nav__wordmark,
.nav:not(.is-scrolled) .nav__links a,
.nav:not(.is-scrolled) .nav__lang button,
.nav:not(.is-scrolled) .nav__lang span {
  color: var(--paper);
}
.nav__brand {
  display: flex; align-items: center; gap: 14px;
  text-decoration: none;
}
.nav__logo {
  width: 58px; height: 58px;
  object-fit: contain;
  filter: saturate(0.95);
  transition: width 0.3s var(--ease), height 0.3s var(--ease);
}
.nav.is-scrolled .nav__logo { width: 44px; height: 44px; }
.nav__wordmark {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 14;
  font-size: 1.2rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.nav__links {
  display: flex;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 36px);
}
.nav__links a {
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  color: var(--ink);
  padding: 4px 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.nav__links a:hover { color: var(--forest); }
.nav:not(.is-scrolled) .nav__links a:hover { color: var(--bright); }
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease-out);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left center; }
.nav__lang {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--ff-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
}
.nav__lang button {
  padding: 4px 2px;
  opacity: 0.5;
  transition: opacity 0.3s var(--ease);
  text-transform: uppercase;
}
.nav__lang button.is-active { opacity: 1; }
.nav__lang button:hover { opacity: 1; }

/* =========================================================================
   hero
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.hero__image {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.hero__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.85) brightness(0.42) contrast(1.18) sepia(0.25) hue-rotate(75deg) saturate(1.4);
  transform: scale(1.04);
}
.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 80%, rgba(29,63,46,0.55), transparent 60%),
    radial-gradient(ellipse at 90% 10%, rgba(20,48,36,0.4), transparent 55%),
    linear-gradient(180deg, rgba(14,18,15,0.5) 0%, rgba(14,18,15,0.3) 40%, rgba(14,14,11,0.88) 100%);
}

.hero__grid {
  width: var(--container);
  margin: 0 auto;
  padding: 140px 0 64px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto 1fr auto auto auto auto;
  gap: 24px 24px;
  color: var(--paper);
  min-height: 100vh;
}

.hero__meta { grid-column: 1 / -1; align-self: start; }
.hero .eyebrow { color: var(--paper); opacity: 0.7; }

.hero__title {
  grid-column: 1 / span 10;
  align-self: end;
  margin: 0;
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(2.8rem, 9vw, 7.6rem);
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: var(--paper);
  text-wrap: balance;
}
.hero__line {
  display: block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.hero__line--italic {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: #d4dccf;
  padding-left: clamp(20px, 6vw, 96px);
}
.is-loaded .hero__line { opacity: 1; transform: none; }
.is-loaded .hero__line:nth-child(1) { transition-delay: 0.15s; }
.is-loaded .hero__line:nth-child(2) { transition-delay: 0.32s; }
.is-loaded .hero__line:nth-child(3) { transition-delay: 0.49s; }

.hero__lead {
  grid-column: 1 / span 6;
  font-size: clamp(0.98rem, 1.15vw, 1.12rem);
  line-height: 1.55;
  color: var(--paper);
  opacity: 0.85;
  max-width: 56ch;
  margin: 8px 0 0;
}

.hero__cta {
  grid-column: 1 / span 8;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero__rule {
  grid-column: 1 / -1;
  height: 1px;
  background: var(--rule-light);
  margin-top: 56px;
}

.hero__facts {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.hero__facts li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 18px;
}
.hero__facts-k {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 90;
  font-style: italic;
  font-size: clamp(1.6rem, 2.6vw, 2.4rem);
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.hero__facts-v {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.65;
}

/* =========================================================================
   buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  border-radius: var(--rad);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn__arrow { transition: transform 0.4s var(--ease-out); display: inline-block; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn--primary:hover { background: var(--forest); border-color: var(--forest); }

.hero .btn--primary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.hero .btn--primary:hover { background: var(--bright); color: var(--ink); border-color: var(--bright); }

.btn--ghost {
  color: var(--ink);
  border-color: var(--rule);
}
.btn--ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.hero .btn--ghost {
  color: var(--paper);
  border-color: rgba(239,235,226,0.4);
}
.hero .btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.section--metals .btn--ghost {
  color: var(--paper);
  border-color: rgba(239,235,226,0.3);
}
.section--metals .btn--ghost:hover { background: var(--paper); color: var(--ink); }

.btn--block { display: flex; justify-content: space-between; width: 100%; }

/* =========================================================================
   about section
   ========================================================================= */
.section--about { background: var(--paper-green); }

.about__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px 48px;
}
.about__grid .display {
  grid-column: 1 / span 8;
}
.about__body {
  grid-column: 1 / span 7;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.65;
  color: var(--ink);
  margin-top: 12px;
}
.about__body p + p { margin-top: 1em; }
.about__body p:first-child::first-letter {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144;
  font-weight: 400;
  font-size: 4.4em;
  float: left;
  line-height: 0.85;
  padding-right: 12px;
  padding-top: 4px;
  color: var(--forest);
}

.about__mission {
  grid-column: 9 / -1;
  padding: 28px;
  background: var(--paper-green-2);
  border-left: 2px solid var(--moss);
  align-self: start;
  margin-top: 12px;
  position: relative;
}
.about__mission-h {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--moss-2);
  margin: 0 0 16px;
}
.about__mission p {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
}
.about__mission p + p { margin-top: 0.9em; }

/* =========================================================================
   catalysts section
   ========================================================================= */
.section--catalysts { background: var(--paper-green-2); }

.catalysts__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 64px;
  align-items: start;
}
.catalysts__figure {
  margin: 0;
  position: sticky;
  top: 100px;
}
.catalysts__figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(0.92);
}
.catalysts__figure figcaption {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 12px;
  max-width: 36ch;
}
.catalysts__body .display { margin-bottom: 28px; }
.catalysts__body p {
  font-size: clamp(1rem, 1.1vw, 1.06rem);
  line-height: 1.65;
  margin: 0 0 1em;
  max-width: 64ch;
}

.datapoint {
  margin-top: 40px;
  padding: 24px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: baseline;
}
.datapoint__v {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 144;
  font-size: clamp(3rem, 5.4vw, 4.6rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--forest);
  font-weight: 400;
}
.datapoint__l {
  font-family: var(--ff-body);
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 36ch;
}

/* =========================================================================
   interlude — full-bleed image breather between sections
   ========================================================================= */
.interlude {
  position: relative;
  height: clamp(420px, 75vh, 760px);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}
.interlude__image {
  position: absolute;
  inset: 0;
  z-index: -1;
}
.interlude__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(0.9) contrast(1.12) brightness(0.55);
}
.interlude__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 100% 50%, rgba(29,63,46,0.5), transparent 65%),
    linear-gradient(90deg, rgba(14,14,11,0.85) 0%, rgba(14,14,11,0.4) 50%, rgba(14,14,11,0.0) 100%);
}
.interlude__overlay {
  width: var(--container);
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  position: relative;
}
.interlude__quote {
  margin: 0;
  max-width: 38ch;
  color: var(--paper);
  position: relative;
}
.interlude__mark {
  position: absolute;
  top: -0.6em;
  left: -0.4em;
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(7rem, 14vw, 12rem);
  line-height: 1;
  color: var(--moss);
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}
.interlude__quote p {
  font-family: var(--ff-display);
  font-weight: 300;
  font-variation-settings: "opsz" 90, "SOFT" 60;
  font-size: clamp(1.5rem, 2.6vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.018em;
  margin: 0 0 24px;
  color: var(--paper);
  position: relative;
  text-wrap: balance;
}
.interlude__quote cite {
  font-family: var(--ff-mono);
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.6;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.interlude__quote cite::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--bright);
  display: inline-block;
}

@media (max-width: 960px) {
  .interlude { height: clamp(380px, 70vh, 560px); }
}


.section--metals {
  background: var(--ink);
  color: var(--paper);
}
.section--metals::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(29,63,46,0.4), transparent 50%),
    radial-gradient(ellipse at 0% 100%, rgba(184,149,107,0.08), transparent 50%);
  pointer-events: none;
}
.section--metals > * { position: relative; }

.metals__intro {
  /* container width inherited from .section > *; left-align inner items */
}
.metals__title {
  max-width: 18ch;
  margin: 0 0 28px 0;
}
.metals__lead {
  max-width: 56ch;
  color: var(--paper);
  opacity: 0.78;
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  margin: 0 0 64px 0;
}

.metals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-light);
  border-top: 1px solid var(--rule-light);
  border-bottom: 1px solid var(--rule-light);
}
.metal {
  background: var(--ink);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  transition: background 0.4s var(--ease);
}
.metal:hover { background: var(--ink-2); }
.metal--featured { background: var(--forest-2); }
.metal--featured:hover { background: var(--forest); }

.metal__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.metal__sym {
  font-family: var(--ff-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: clamp(3.6rem, 5.6vw, 5.4rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--paper);
}
.metal__num {
  font-family: var(--ff-mono);
  font-size: 0.78rem;
  color: var(--paper);
  opacity: 0.55;
  letter-spacing: 0.08em;
}
.metal__name {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 24;
  font-weight: 400;
  font-size: 1.4rem;
  letter-spacing: -0.015em;
  margin: 0;
  color: var(--paper);
}
.metal__desc {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--paper);
  opacity: 0.78;
  margin: 0;
  flex: 1;
}
.metal__tag {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--paper);
  opacity: 0.55;
  padding-top: 16px;
  border-top: 1px solid var(--rule-light);
  display: flex;
  align-items: center;
  gap: 8px;
}
.metal__tag::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--bright);
  display: inline-block;
}

/* =========================================================================
   pricing section
   ========================================================================= */
.section--pricing { background: var(--paper); }
.pricing__grid {
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: 64px;
  align-items: end;
}
.pricing__copy { padding-bottom: 8px; }
.pricing__copy .display {
  max-width: 14ch;
  margin-bottom: 28px;
}
.pricing__lead {
  font-size: clamp(1rem, 1.1vw, 1.08rem);
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 48ch;
}
.pricing__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.pricing__figure {
  margin: 0;
  position: relative;
  isolation: isolate;
}
.pricing__figure img {
  width: 100%;
  aspect-ratio: 5 / 6;
  object-fit: cover;
  filter: grayscale(1) contrast(1.12) brightness(0.78);
  display: block;
}
.pricing__figure::after {
  /* forest green tint overlay */
  content: "";
  position: absolute;
  inset: 0;
  bottom: 32px; /* leave room for caption */
  background:
    linear-gradient(180deg, rgba(20,48,36,0.0) 40%, rgba(20,48,36,0.55) 100%),
    linear-gradient(135deg, rgba(29,63,46,0.18) 0%, rgba(29,63,46,0) 60%);
  mix-blend-mode: multiply;
  pointer-events: none;
}
.pricing__figure figcaption {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  margin-top: 12px;
  max-width: 36ch;
}

/* =========================================================================
   contact section
   ========================================================================= */
.section--contact { background: var(--paper-2); }
.contact__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 80px;
  align-items: start;
}
.contact__lead-wrap .display { margin-bottom: 16px; }
.contact__intro {
  font-size: 1rem;
  color: var(--ink-soft);
  margin: 0 0 40px;
  max-width: 50ch;
}

/* email-card — the primary contact CTA */
.email-card {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 4px 16px;
  align-items: center;
  padding: 28px 32px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--rad);
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease-out);
  margin-bottom: 24px;
}
.email-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 100% 0%, rgba(29,63,46,0.45), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.email-card:hover { background: var(--forest); }
.email-card:hover::before { opacity: 1; }
.email-card > * { position: relative; }
.email-card__l {
  grid-column: 1;
  grid-row: 1;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--paper);
  opacity: 0.6;
}
.email-card__v {
  grid-column: 1;
  grid-row: 2;
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 36;
  font-weight: 400;
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  letter-spacing: -0.015em;
  word-break: break-all;
  line-height: 1.1;
}
.email-card__arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-family: var(--ff-display);
  font-size: 1.6rem;
  color: var(--paper);
  transition: transform 0.4s var(--ease-out);
}
.email-card:hover .email-card__arrow { transform: translateX(6px); }

.contact__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.contact__actions .btn--ghost {
  background: var(--paper);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding: 32px;
  background: var(--paper);
  border-left: 1px solid var(--rule);
}
.info-block {}
.info-block__l {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 6px;
}
.info-block__v {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 24;
  font-weight: 400;
  font-size: 1.15rem;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.005em;
}
.info-block__v a {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
  transition: border-color 0.3s var(--ease);
}
.info-block__v a:hover { border-bottom-color: var(--ink); }
.info-block__v .mono {
  font-family: var(--ff-mono);
  font-size: 0.92rem;
}

/* =========================================================================
   footer
   ========================================================================= */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 48px 0 36px;
}
.footer__inner {
  width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__logo { width: 80px; height: 80px; object-fit: contain; filter: saturate(0.95); }
.footer__name {
  font-family: var(--ff-display);
  font-variation-settings: "opsz" 24;
  font-size: 1.1rem;
  letter-spacing: -0.01em;
}
.footer__tagline {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  opacity: 0.6;
  margin-top: 3px;
}
.footer__copy {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.55;
}

/* =========================================================================
   reveal animation (intersection observer)
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================================
   responsive
   ========================================================================= */
@media (max-width: 960px) {
  :root { --container: calc(100% - 32px); }

  .nav {
    grid-template-columns: auto auto;
    grid-template-areas: "brand lang" "links links";
    gap: 12px 18px;
    padding: 14px 16px;
  }
  .nav__brand { grid-area: brand; }
  .nav__lang  { grid-area: lang; justify-self: end; }
  .nav__links {
    grid-area: links;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav.is-scrolled { padding: 10px 16px; }

  .hero__grid { padding-top: 160px; padding-bottom: 48px; gap: 18px; }
  .hero__title { grid-column: 1 / -1; }
  .hero__lead, .hero__cta { grid-column: 1 / -1; }
  .hero__line--italic { padding-left: 24px; }
  .hero__facts { grid-template-columns: 1fr; gap: 16px; }
  .hero__facts li { flex-direction: row; align-items: baseline; gap: 16px; }

  .about__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__grid .display,
  .about__body,
  .about__mission { grid-column: 1 / -1; }
  .about__mission { border-left: 0; border-top: 1px solid var(--rule); }

  .pricing__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .pricing__figure img { aspect-ratio: 16 / 10; }

  .catalysts__grid { grid-template-columns: 1fr; gap: 36px; }
  .catalysts__figure { position: static; }
  .catalysts__figure img { aspect-ratio: 16 / 10; }

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

  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .contact__info { border-left: 0; border-top: 1px solid var(--rule); }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: 18px; }
}

@media (max-width: 540px) {
  .nav__wordmark { font-size: 0.96rem; }
  .about__body p:first-child::first-letter { font-size: 3.2em; }
}

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
