:root {
  --paper: #f3efe6;
  --paper-deep: #e8e0d2;
  --paper-soft: #faf8f2;
  --ink: #171918;
  --ink-soft: #2a2c2a;
  --steel: #777b78;
  --steel-light: #c6c6be;
  --copper: #a65f38;
  --copper-deep: #754126;
  --heat-blue: #536e85;
  --heat-violet: #6f5c7e;
  --rule: rgba(23, 25, 24, 0.18);
  --shell: min(1180px, calc(100% - 48px));
  --radius-lg: 34px;
  --radius-md: 22px;
  --shadow: 0 30px 80px rgba(17, 20, 18, 0.14);
  --display: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  border-radius: 999px;
  color: var(--paper-soft);
  background: var(--ink);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  border-color: var(--rule);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  box-shadow: 0 8px 30px rgba(17, 20, 18, 0.06);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 760;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  padding: 7px;
  border: 1px solid var(--rule);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 0.84rem;
  font-weight: 700;
}

.primary-nav a {
  position: relative;
  padding: 9px 0;
  color: var(--ink-soft);
  text-decoration: none;
}

.primary-nav a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="true"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.primary-nav .nav-contact {
  padding: 10px 17px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}

.primary-nav .nav-contact:hover {
  color: var(--paper-soft);
  background: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 920px;
  padding-top: 154px;
  background:
    linear-gradient(90deg, rgba(23, 25, 24, 0.045) 1px, transparent 1px) 50% 0 / 84px 84px,
    linear-gradient(rgba(23, 25, 24, 0.045) 1px, transparent 1px) 50% 0 / 84px 84px,
    radial-gradient(circle at 83% 28%, rgba(166, 95, 56, 0.15), transparent 30%),
    var(--paper);
}

.hero::after {
  position: absolute;
  top: 74px;
  right: -120px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(23, 25, 24, 0.1);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 0 76px rgba(23, 25, 24, 0.018), inset 0 0 0 152px rgba(23, 25, 24, 0.018);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  min-height: 660px;
  align-items: center;
  gap: clamp(48px, 7vw, 108px);
}

.eyebrow {
  display: flex;
  margin: 0 0 22px;
  align-items: center;
  gap: 12px;
  color: var(--copper-deep);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 2px;
  content: "";
  background: var(--copper);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  text-wrap: balance;
}

h1 {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: clamp(3.55rem, 6.5vw, 6.8rem);
  font-weight: 800;
  letter-spacing: -0.074em;
  line-height: 0.94;
}

.hero-summary {
  max-width: 640px;
  margin-bottom: 34px;
  color: #4c4f4c;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  line-height: 1.62;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 760;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, color 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--paper-soft);
  background: var(--ink);
  box-shadow: 0 12px 30px rgba(23, 25, 24, 0.2);
}

.button-primary:hover {
  box-shadow: 0 16px 36px rgba(23, 25, 24, 0.28);
}

.button-secondary {
  border-color: var(--rule);
  background: rgba(255, 255, 255, 0.4);
}

.button-secondary:hover {
  border-color: var(--ink);
  background: var(--paper-soft);
}

.hero-art {
  position: relative;
  min-height: 620px;
}

.hero-etching {
  position: absolute;
  top: 3%;
  right: -9%;
  width: 114%;
  opacity: 0.13;
  transform: rotate(-6deg);
}

.hero-etching svg {
  overflow: visible;
  fill: none;
  stroke: var(--copper);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.artifact-frame {
  position: absolute;
  top: 9%;
  right: 0;
  width: 90%;
  height: 520px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 4px 80px 4px 80px;
  background: var(--ink);
  box-shadow: var(--shadow);
  clip-path: polygon(7% 0, 100% 0, 94% 100%, 0 94%);
}

.artifact-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(118deg, transparent 28%, rgba(255, 255, 255, 0.2) 45%, transparent 62%),
    linear-gradient(to top, rgba(12, 14, 13, 0.72), transparent 42%);
  mix-blend-mode: screen;
  opacity: 0.48;
}

.artifact-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% 68%;
  filter: saturate(0.92) contrast(1.1) brightness(0.85);
  transform: scale(1.42);
  transform-origin: 52% 72%;
  transition: filter 700ms ease, transform 900ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.artifact-frame:hover img {
  filter: saturate(1) contrast(1.06) brightness(0.9);
  transform: scale(1.36);
}

.artifact-frame figcaption {
  position: absolute;
  right: 34px;
  bottom: 36px;
  left: 34px;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-chip {
  position: absolute;
  right: 0;
  bottom: 20px;
  z-index: 3;
  display: flex;
  width: 210px;
  min-height: 112px;
  padding: 22px;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 18px 0 18px 0;
  color: var(--paper-soft);
  background: var(--copper-deep);
  box-shadow: 0 18px 40px rgba(34, 23, 17, 0.28);
  font-size: 0.79rem;
  font-weight: 730;
  line-height: 1.35;
  text-decoration: none;
  transform: rotate(1.5deg);
  transition: transform 180ms ease, background-color 180ms ease;
}

.story-chip:hover {
  background: var(--copper);
  transform: rotate(0deg) translateY(-3px);
}

.story-chip > span:last-child {
  font-size: 1.3rem;
}

.identity-rail {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: rgba(255, 255, 255, 0.28);
}

.identity-rail-inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 66px);
  color: #484b48;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 680;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rail-mark {
  width: 7px;
  height: 7px;
  border: 1px solid var(--copper);
  transform: rotate(45deg);
}

.section {
  padding: clamp(104px, 11vw, 168px) 0;
}

.section-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.5fr);
  margin-bottom: 68px;
  align-items: end;
  gap: 40px 84px;
}

.section-intro .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: -18px;
}

.section-intro h2,
.project-intro h2,
.story-copy h2,
.contact-inner h2 {
  margin-bottom: 0;
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 790;
  letter-spacing: -0.062em;
  line-height: 0.98;
}

.section-intro > p:last-child {
  margin: 0;
  color: #5d615d;
}

.software-section {
  background: var(--paper-soft);
}

.product-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr);
  min-height: 610px;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  box-shadow: 0 28px 78px rgba(29, 31, 29, 0.1);
}

.product-copy {
  display: flex;
  padding: clamp(38px, 5vw, 68px);
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.product-heading {
  display: flex;
  margin-bottom: 34px;
  align-items: center;
  gap: 20px;
}

.product-heading img {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  box-shadow: 0 12px 25px rgba(36, 55, 90, 0.16);
}

.product-heading h3 {
  margin: 0;
  font-size: clamp(2.1rem, 4vw, 3.8rem);
  letter-spacing: -0.055em;
  line-height: 1;
}

.product-kicker {
  margin-bottom: 6px;
  color: var(--steel);
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.product-lede {
  margin-bottom: 18px;
  color: var(--ink);
  font-size: 1.28rem;
  font-weight: 740;
  letter-spacing: -0.025em;
  line-height: 1.35;
}

.product-copy > p:not(.product-lede, .product-kicker) {
  color: #5a5e5a;
}

.product-tags {
  display: flex;
  margin: 14px 0 32px;
  padding: 0;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.product-tags li {
  padding: 7px 11px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  color: #5c605c;
  background: rgba(255, 255, 255, 0.48);
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--copper-deep);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

.text-link span {
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.product-visual {
  position: relative;
  display: flex;
  min-width: 0;
  padding: 70px 0 70px 52px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  color: #f8f8f6;
  background:
    radial-gradient(circle at 70% 35%, rgba(83, 110, 133, 0.36), transparent 35%),
    linear-gradient(145deg, #252a2d, #111413 75%);
}

.product-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.55;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 54px 54px;
}

.product-window-bar {
  position: relative;
  z-index: 1;
  display: flex;
  width: 108%;
  height: 46px;
  padding: 0 18px;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 0;
  border-radius: 18px 0 0 0;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(14px);
}

.product-window-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.32);
}

.product-window-bar i:first-child {
  background: #ef6c62;
}

.product-window-bar i:nth-child(2) {
  background: #efbc48;
}

.product-window-bar i:nth-child(3) {
  background: #68c856;
}

.product-window-bar span {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.72rem;
  font-weight: 650;
}

.product-visual > img {
  position: relative;
  z-index: 1;
  width: 108%;
  min-width: 920px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0 0 0 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

.product-note {
  position: relative;
  z-index: 1;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.58);
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.material-band {
  position: relative;
  height: 260px;
  overflow: hidden;
  color: white;
  background: var(--ink);
}

.material-band-image {
  position: absolute;
  inset: -55% 0 -40%;
  background-image:
    linear-gradient(90deg, rgba(11, 13, 12, 0.88), rgba(11, 13, 12, 0.15) 48%, rgba(11, 13, 12, 0.74)),
    url("assets/sculpture-school-angled.jpg");
  background-position: center 49%;
  background-size: cover;
  filter: grayscale(0.55) saturate(0.65) contrast(1.28);
  transform: scale(1.05);
}

.material-band::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 18%, rgba(166, 95, 56, 0.25) 47%, transparent 71%);
  mix-blend-mode: screen;
}

.material-band-label {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  align-items: flex-end;
  padding-bottom: 28px;
}

.material-band-label span {
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.project-section {
  position: relative;
  overflow: hidden;
  color: #f2f1eb;
  background:
    radial-gradient(circle at 18% 80%, rgba(166, 95, 56, 0.24), transparent 28%),
    radial-gradient(circle at 84% 8%, rgba(83, 110, 133, 0.2), transparent 24%),
    #171918;
}

.project-section::before {
  position: absolute;
  top: -140px;
  right: -180px;
  width: 620px;
  height: 620px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 0 86px rgba(255, 255, 255, 0.014), inset 0 0 0 172px rgba(255, 255, 255, 0.014);
}

.project-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(390px, 0.72fr);
  align-items: start;
  gap: clamp(70px, 11vw, 150px);
}

.eyebrow-light {
  color: #d69a75;
}

.project-intro h2 {
  margin-bottom: 32px;
}

.project-intro > p:not(.eyebrow) {
  max-width: 660px;
  margin-bottom: 36px;
  color: rgba(242, 241, 235, 0.7);
  font-size: 1.06rem;
}

.button-metal {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--ink);
  background: var(--paper);
}

.button-metal:hover {
  background: #fff;
}

.project-paths {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.project-paths article {
  display: grid;
  grid-template-columns: 54px 1fr;
  padding: 30px 0 32px;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.project-paths article > span {
  color: #d69a75;
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.project-paths h3 {
  margin-bottom: 9px;
  color: #fff;
  font-size: 1.28rem;
  letter-spacing: -0.025em;
}

.project-paths p {
  margin: 0;
  color: rgba(242, 241, 235, 0.62);
  font-size: 0.94rem;
}

.story-section {
  position: relative;
  overflow: hidden;
  background: var(--paper);
}

.story-section::before {
  position: absolute;
  right: 5%;
  bottom: -70px;
  width: 34vw;
  height: 34vw;
  max-width: 520px;
  max-height: 520px;
  border: 1px solid rgba(23, 25, 24, 0.08);
  border-radius: 50%;
  content: "";
}

.story-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.72fr);
  align-items: center;
  gap: clamp(60px, 10vw, 130px);
}

.story-photo {
  margin: 0;
}

.story-photo-frame {
  position: relative;
  overflow: hidden;
  border: 12px solid #202321;
  border-bottom-width: 64px;
  background: #202321;
  box-shadow: var(--shadow);
  transform: rotate(-1.2deg);
}

.story-photo-frame::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.28);
  content: "";
  pointer-events: none;
}

.story-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.9) brightness(0.92);
}

.story-photo figcaption {
  display: flex;
  margin-top: 20px;
  justify-content: space-between;
  gap: 20px;
  color: #696c68;
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}

.story-copy h2 {
  margin-bottom: 36px;
}

.story-copy > p:not(.eyebrow) {
  color: #525652;
}

.story-copy .story-lede {
  color: var(--ink);
  font-size: 1.32rem;
  font-weight: 690;
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.story-copy a {
  text-decoration-color: rgba(166, 95, 56, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.story-principle {
  display: grid;
  grid-template-columns: 44px 1fr;
  margin-top: 38px;
  padding-top: 26px;
  align-items: center;
  gap: 18px;
  border-top: 1px solid var(--rule);
}

.story-principle > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--copper);
  border-radius: 50%;
  color: var(--copper);
  font-size: 1.35rem;
}

.story-principle p {
  margin: 0;
  color: var(--ink);
  font-family: ui-serif, Georgia, serif;
  font-size: 1.04rem;
  font-style: italic;
}

.contact-section {
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 12vw, 180px) 0;
  color: var(--ink);
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.23), transparent 42%),
    #bd744b;
}

.contact-section::before {
  position: absolute;
  top: -50%;
  right: -12%;
  width: 720px;
  height: 720px;
  border: 1px solid rgba(23, 25, 24, 0.18);
  border-radius: 50%;
  content: "";
  box-shadow: inset 0 0 0 110px rgba(23, 25, 24, 0.025), inset 0 0 0 220px rgba(23, 25, 24, 0.025);
}

.contact-inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
}

.contact-inner .eyebrow {
  color: var(--ink);
}

.contact-inner .eyebrow::before {
  background: var(--ink);
}

.contact-inner h2 {
  margin-bottom: 30px;
  font-size: clamp(3.2rem, 7vw, 7rem);
}

.contact-inner > p:not(.eyebrow, .contact-direct) {
  max-width: 690px;
  margin-bottom: 40px;
  font-size: 1.12rem;
}

.contact-email {
  display: inline-flex;
  padding-bottom: 7px;
  align-items: center;
  gap: 15px;
  border-bottom: 3px solid var(--ink);
  font-size: clamp(1.3rem, 3vw, 2.5rem);
  font-weight: 810;
  letter-spacing: -0.045em;
  line-height: 1.2;
  text-decoration: none;
}

.contact-email span {
  transition: transform 180ms ease;
}

.contact-email:hover span {
  transform: translate(4px, -4px);
}

.contact-direct {
  margin: 34px 0 0;
  font-size: 0.94rem;
}

.contact-direct a {
  font-weight: 760;
  text-underline-offset: 3px;
}

.contact-dialog {
  width: min(720px, calc(100vw - 32px));
  max-height: min(calc(100dvh - 32px), 900px);
  padding: 0;
  overflow: auto;
  border: 1px solid rgba(18, 51, 56, 0.2);
  border-radius: 28px;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 92% 4%, rgba(91, 162, 170, 0.16), transparent 32%),
    var(--paper-soft);
  box-shadow: 0 34px 110px rgba(2, 25, 30, 0.35);
}

.contact-dialog::backdrop {
  background: rgba(3, 24, 29, 0.72);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
}

.contact-dialog[open] {
  animation: contact-dialog-in 320ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.contact-form {
  padding: clamp(28px, 4vw, 44px);
}

.contact-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.contact-dialog-header .eyebrow {
  margin-bottom: 15px;
  color: var(--river, #2f737d);
}

.contact-dialog-header h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2.15rem, 6vw, 4rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.contact-dialog-close {
  display: grid;
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  padding: 0 0 4px;
  place-items: center;
  border: 1px solid rgba(18, 51, 56, 0.24);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.56);
  font: inherit;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.contact-dialog-close:hover {
  background: #fff;
  transform: rotate(4deg);
}

.contact-dialog-intro {
  max-width: 570px;
  margin: 18px 0 24px;
  color: #4d5e5f;
}

.contact-form-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border: 0;
  gap: 16px;
}

.contact-form-fields label {
  display: grid;
  gap: 8px;
  color: #243b3d;
  font-size: 0.82rem;
  font-weight: 760;
  letter-spacing: 0.02em;
}

.contact-form-full {
  grid-column: 1 / -1;
}

.contact-form-fields input,
.contact-form-fields select,
.contact-form-fields textarea {
  width: 100%;
  border: 1px solid rgba(18, 51, 56, 0.25);
  border-radius: 12px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.74);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.contact-form-fields input,
.contact-form-fields select {
  min-height: 52px;
  padding: 0 15px;
}

.contact-form-fields textarea {
  min-height: 132px;
  padding: 14px 15px;
  resize: vertical;
}

.contact-form-fields input:focus,
.contact-form-fields select:focus,
.contact-form-fields textarea:focus {
  border-color: var(--river, #2f737d);
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(47, 115, 125, 0.12);
}

.contact-form-fields:disabled {
  opacity: 0.46;
}

.contact-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.contact-privacy {
  margin: 16px 0 0;
  color: #687677;
  font-size: 0.76rem;
  line-height: 1.5;
}

.contact-form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: #2f6b52;
  font-size: 0.9rem;
  font-weight: 720;
}

.contact-form-status.is-error {
  color: #9b3f32;
}

.contact-form-status a {
  text-underline-offset: 3px;
}

.contact-form-actions {
  display: flex;
  margin-top: 18px;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.contact-form-cancel {
  min-height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 999px;
  color: #425355;
  background: transparent;
  font: inherit;
  font-weight: 720;
  cursor: pointer;
}

.contact-form-cancel:hover {
  background: rgba(47, 115, 125, 0.09);
}

.contact-form-submit {
  border: 0;
  cursor: pointer;
}

.contact-form-submit:disabled {
  cursor: wait;
  opacity: 0.62;
}

@keyframes contact-dialog-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.site-footer {
  padding: 58px 0 28px;
  color: rgba(245, 244, 238, 0.76);
  background: #111311;
}

.footer-main {
  display: flex;
  padding-bottom: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  padding: 7px;
  border-radius: 50%;
  background: var(--paper);
}

.footer-brand div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.footer-brand strong {
  color: #fff;
  font-size: 0.93rem;
}

.footer-brand span {
  color: rgba(245, 244, 238, 0.5);
  font-size: 0.76rem;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px 28px;
  font-size: 0.8rem;
  font-weight: 700;
}

.footer-main nav a {
  text-decoration: none;
}

.footer-main nav a:hover {
  color: #fff;
}

.footer-legal {
  display: flex;
  padding-top: 24px;
  justify-content: space-between;
  gap: 24px;
  color: rgba(245, 244, 238, 0.42);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.js [data-reveal][data-reveal-delay="1"] {
  transition-delay: 110ms;
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1020px) {
  .primary-nav {
    gap: 19px;
  }

  .hero {
    min-height: 1100px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-copy {
    max-width: 760px;
  }

  .hero-art {
    width: min(720px, 90%);
    min-height: 560px;
    margin-left: auto;
  }

  .artifact-frame {
    width: 80%;
  }

  .section-intro {
    grid-template-columns: 1fr;
  }

  .section-intro .eyebrow {
    margin-bottom: -14px;
  }

  .section-intro > p:last-child {
    max-width: 680px;
  }

  .product-card {
    grid-template-columns: 1fr;
  }

  .product-copy {
    max-width: 760px;
  }

  .product-visual {
    min-height: 460px;
  }

  .project-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .project-paths {
    max-width: 760px;
  }

  .story-photo {
    max-width: 760px;
  }

  .story-copy {
    max-width: 680px;
  }
}

@media (max-width: 760px) {
  :root {
    --shell: min(100% - 30px, 1180px);
    --radius-lg: 24px;
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand img {
    width: 39px;
    height: 39px;
  }

  .primary-nav a:not(.nav-contact) {
    display: none;
  }

  .primary-nav .nav-contact {
    padding: 8px 14px;
  }

  .hero {
    min-height: 1030px;
    padding-top: 124px;
    background-size: 56px 56px, 56px 56px, auto, auto;
  }

  .hero-grid {
    display: block;
    min-height: auto;
  }

  h1 {
    font-size: clamp(3.2rem, 15vw, 5.3rem);
    letter-spacing: -0.068em;
  }

  .hero-summary {
    font-size: 1rem;
  }

  .button-row {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    width: 100%;
    min-height: 420px;
    margin-top: 48px;
  }

  .hero-etching {
    top: 2%;
    right: -8%;
  }

  .artifact-frame {
    top: 5%;
    width: 93%;
    height: 350px;
    border-radius: 2px 48px 2px 48px;
  }

  .artifact-frame figcaption {
    right: 22px;
    bottom: 24px;
    left: 22px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .story-chip {
    bottom: 0;
    width: 180px;
    min-height: 92px;
    padding: 17px;
  }

  .identity-rail-inner {
    min-height: 72px;
    justify-content: flex-start;
    gap: 14px;
    overflow-x: hidden;
    white-space: nowrap;
  }

  .rail-mark {
    flex: 0 0 auto;
  }

  .section {
    padding: 92px 0;
  }

  .section-intro {
    margin-bottom: 46px;
  }

  .section-intro h2,
  .project-intro h2,
  .story-copy h2,
  .contact-inner h2 {
    font-size: clamp(2.65rem, 13vw, 4.4rem);
  }

  .product-copy {
    padding: 34px 26px 42px;
  }

  .product-heading {
    margin-bottom: 26px;
  }

  .product-heading img {
    width: 64px;
    height: 64px;
    border-radius: 15px;
  }

  .product-visual {
    min-height: 350px;
    padding: 48px 0 48px 24px;
  }

  .product-visual > img {
    min-width: 670px;
  }

  .material-band {
    height: 190px;
  }

  .project-paths article {
    grid-template-columns: 42px 1fr;
  }

  .story-photo-frame {
    border-width: 7px;
    border-bottom-width: 42px;
  }

  .story-photo figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .contact-inner h2 {
    font-size: clamp(3.1rem, 15vw, 5rem);
  }

  .contact-email {
    font-size: clamp(1.12rem, 6.7vw, 1.8rem);
  }

  .footer-main {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-main nav {
    justify-content: flex-start;
  }

  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .contact-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 20px;
  }

  .contact-form {
    padding: 26px 20px 22px;
  }

  .contact-dialog-header {
    gap: 14px;
  }

  .contact-dialog-header h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .contact-dialog-close {
    width: 42px;
    height: 42px;
  }

  .contact-form-fields {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .contact-form-full {
    grid-column: auto;
  }

  .contact-form-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  .contact-form-cancel,
  .contact-form-submit {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
