@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }

:root {
  /* Malachite and copper: the two colors of oxidized copper ore. */
  --malachite-700: #103c35;
  --malachite-800: #0b2d28;
  --malachite-900: #071f1c;
  --quartz: #e8efea;
  --quartz-soft: #bccbc4;
  --copper: #e6a26b;
  --copper-light: #f2c39c;

  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, 0, .08, 1);
  --gutter: clamp(20px, 5vw, 72px);
  --section: clamp(88px, 12vw, 176px);
  /* Every layer shares this broken top edge, so sections slide over each other like rock. */
  --strata-edge: polygon(0 clamp(14px, 2.6vw, 44px), 14% clamp(4px, 1vw, 16px), 31% clamp(18px, 3vw, 50px), 52% 0, 71% clamp(16px, 2.4vw, 40px), 88% clamp(2px, .6vw, 10px), 100% clamp(14px, 2vw, 34px), 100% 100%, 0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; background: var(--malachite-900); }
body { margin: 0; background: var(--malachite-900); color: var(--quartz); font: 400 1.125rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul { margin: 0; padding: 0; }
h1, h2, h3 { font-weight: 600; font-stretch: 78%; letter-spacing: -.012em; text-wrap: balance; }
p { text-wrap: pretty; }
ul { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 30; padding: 10px 16px; background: var(--copper); color: var(--malachite-900); font-weight: 600; }
.skip:focus { top: 12px; }

.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; background: var(--copper); color: var(--malachite-900); font-weight: 600; font-size: 1rem; text-decoration: none; white-space: nowrap; transition: background-color 180ms ease, transform 120ms var(--ease); }
.btn:active { transform: scale(.96); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; font-size: 1rem; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; transition: color 180ms ease; }
.nav-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 500; font-size: 1rem; text-decoration: none; transition: color 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--copper-light); }
  .nav-link:hover, .text-link:hover, .big:hover { color: var(--copper); }
}

.top { position: absolute; z-index: 20; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: clamp(14px, 2vw, 24px) var(--gutter); }
.brand { flex: 0 1 auto; min-width: 0; }
.brand img { width: clamp(204px, 22vw, 290px); }
.top nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 36px); flex: none; }

/* Hero: the photo sits still and the next layer slides over it. */
.hero { position: sticky; top: 0; z-index: 0; display: flex; align-items: flex-end; min-height: 100dvh; overflow: hidden; background: var(--malachite-800); }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgb(7 31 28 / .84) 0, rgb(7 31 28 / .68) 38%, rgb(7 31 28 / 0) 66%), linear-gradient(180deg, rgb(7 31 28 / .72) 0, rgb(7 31 28 / .05) 26%, rgb(7 31 28 / .1) 50%, rgb(7 31 28 / .86) 84%, rgb(7 31 28 / .94) 100%); }
.hero-copy { position: relative; z-index: 2; width: 100%; padding: 120px var(--gutter) clamp(56px, 8vh, 96px); }
.hero-label { font-weight: 600; font-size: 1.0625rem; color: var(--copper); }
h1 { margin-top: 10px; font-size: clamp(3.25rem, 8.6vw, 7.75rem); line-height: .98; }
h1 > span { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
h1 > span > span { display: block; }
.hero-sub { max-width: 44ch; margin-top: clamp(18px, 2.4vw, 28px); font-size: clamp(1.125rem, 1.5vw, 1.3125rem); line-height: 1.5; color: var(--quartz); }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: clamp(22px, 3vw, 32px); }

/* Three bands, the three layers of the logo, slide off the photo once on load. */
.hero-bands { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-rows: repeat(3, 1fr); pointer-events: none; }
.hero-bands span { background: var(--malachite-700); transform: translateX(101%); }
.hero-bands span:nth-child(2) { background: var(--malachite-800); }
.hero-bands span:nth-child(3) { background: var(--malachite-900); }

.about { position: relative; z-index: 1; margin-top: calc(-1 * clamp(14px, 3vw, 50px)); padding: calc(var(--section) + 24px) var(--gutter) var(--section); background: var(--malachite-800); clip-path: var(--strata-edge); }
.about-inner { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 7vw, 112px); align-items: end; max-width: 1480px; margin-inline: auto; }
h2 { font-size: clamp(2.25rem, 5vw, 4.5rem); line-height: 1.03; }
.nowrap { white-space: nowrap; }
.about-side p { max-width: 46ch; color: var(--quartz-soft); }
.values { margin-top: 28px; font-weight: 600; font-stretch: 78%; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.25; color: var(--copper); }

.layers { position: relative; z-index: 2; background: var(--malachite-800); }
.layer { position: sticky; top: 0; display: flex; align-items: flex-end; min-height: 100dvh; overflow: hidden; clip-path: var(--strata-edge); background: var(--malachite-900); }
.layer > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.layer::after { content: ""; position: absolute; inset: 0; background: linear-gradient(75deg, rgb(7 31 28 / .94) 0, rgb(7 31 28 / .8) 30%, rgb(7 31 28 / .08) 58%, rgb(7 31 28 / 0) 100%); }
.layer-2::after { background: linear-gradient(285deg, rgb(7 31 28 / .96) 0, rgb(7 31 28 / .88) 34%, rgb(7 31 28 / .08) 60%, rgb(7 31 28 / 0) 100%); }
.layer-copy { position: relative; z-index: 1; width: min(100%, 620px); padding: 96px var(--gutter) clamp(56px, 9vh, 104px); }
.layer-2 { justify-content: flex-end; }
.layer-label { font-weight: 600; font-size: 1.0625rem; color: var(--copper); }
h3 { margin-top: 6px; font-size: clamp(3rem, 6.6vw, 6rem); line-height: 1; }
.layer-copy p:last-child { margin-top: 16px; max-width: 44ch; color: var(--quartz); }

.contact { position: relative; z-index: 3; margin-top: calc(-1 * clamp(14px, 3vw, 50px)); padding: calc(var(--section) + 24px) var(--gutter) var(--section); background: var(--malachite-900); clip-path: var(--strata-edge); }
.contact-inner { max-width: 1480px; margin-inline: auto; }
.contact h2 { color: var(--copper); }
address { margin-top: clamp(24px, 3vw, 40px); font-style: normal; }
/* Sized so the long address stays on one line from 320px wide upward. */
.big { display: block; width: fit-content; max-width: 100%; font-weight: 600; font-stretch: 78%; font-size: clamp(1.125rem, 5.7vw, 4.5rem); line-height: 1.16; letter-spacing: -.01em; text-decoration: none; overflow-wrap: anywhere; transition: color 180ms ease; }
.big[href^="tel"] { font-size: clamp(2rem, 5.7vw, 4.5rem); margin-top: 6px; }
address p { margin-top: clamp(24px, 3vw, 36px); color: var(--quartz-soft); }

.foot { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding: 0 var(--gutter) 36px; background: var(--malachite-900); color: var(--quartz-soft); font-size: 1rem; }
.foot img { width: 214px; }

@media (prefers-reduced-motion: no-preference) {
  .hero-bands span { animation: band-off 900ms var(--ease) both; }
  .hero-bands span:nth-child(2) { animation-delay: 90ms; }
  .hero-bands span:nth-child(3) { animation-delay: 180ms; }
  h1 > span > span { animation: line-up 800ms var(--ease) 240ms both; }
  h1 > span:nth-child(2) > span { animation-delay: 320ms; }
  h1 > span:nth-child(3) > span { animation-delay: 400ms; }
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 560ms var(--ease), transform 560ms var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@keyframes band-off { from { transform: none; } to { transform: translateX(101%); } }
@keyframes line-up { from { transform: translateY(104%); } to { transform: none; } }

/* Sticky stacking needs room: on small or short screens the layers simply follow each other. */
@media (max-width: 767px), (max-height: 620px) {
  .hero, .layer { position: relative; }
  .layer { min-height: min(100dvh, 720px); }
}
@media (max-width: 899px) {
  .about-inner { grid-template-columns: minmax(0, 1fr); }
  .layer { align-items: flex-end; }
  .layer-2 { justify-content: flex-start; }
  .hero::after { background: linear-gradient(180deg, rgb(7 31 28 / .74) 0, rgb(7 31 28 / .24) 22%, rgb(7 31 28 / .82) 44%, rgb(7 31 28 / .92) 72%, rgb(7 31 28 / .96) 100%); }
  .layer::after, .layer-2::after { background: linear-gradient(180deg, rgb(7 31 28 / .05) 0, rgb(7 31 28 / .3) 30%, rgb(7 31 28 / .9) 52%, rgb(7 31 28 / .96) 100%); }
}
@media (max-width: 639px) {
  .nav-link { display: none; }
  .btn { padding: 0 18px; }
  .hero-actions { gap: 20px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:active { transform: none; }
}
