:root {
  --ink: #101010;
  --ink-soft: #2b2b28;
  --paper: #f7f2e8;
  --porcelain: #fbfaf6;
  --mist: #dfe8e6;
  --line: rgba(16, 16, 16, 0.16);
  --line-strong: rgba(16, 16, 16, 0.32);
  --teal: #1c8f8b;
  --teal-bright: #32c5be;
  --copper: #a65f32;
  --steel: #51616d;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(16, 16, 16, 0.14);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgba(16, 16, 16, .04) 1px, transparent 1px) 0 0 / 78px 78px,
    linear-gradient(0deg, rgba(16, 16, 16, .035) 1px, transparent 1px) 0 0 / 78px 78px,
    var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at var(--cursor-x, 50%) var(--cursor-y, 20%), rgba(50, 197, 190, .16), transparent 240px),
    linear-gradient(120deg, rgba(255, 255, 255, .62), transparent 40%, rgba(166, 95, 50, .08));
}

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

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

:focus-visible {
  outline: 3px solid rgba(28, 143, 139, .9);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(16, 16, 16, .12);
  background: rgba(247, 242, 232, .78);
  backdrop-filter: blur(18px) saturate(1.08);
}

.scroll-meter {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: var(--scroll-progress, 0%);
  height: 2px;
  background: linear-gradient(90deg, var(--teal), var(--copper));
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  box-shadow: 0 10px 22px rgba(16, 16, 16, .16);
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.nav-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 6px;
  color: rgba(16, 16, 16, .72);
  font-size: 14px;
  font-weight: 680;
  cursor: pointer;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: rgba(16, 16, 16, .06);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .52);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transform-origin: center;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}

main {
  position: relative;
  z-index: 1;
}

.section {
  position: relative;
  padding: 104px 0;
}

.section.tight {
  padding: 78px 0;
}

.section.dark {
  color: var(--paper);
  background: #11120f;
  overflow: hidden;
}

.section.dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 72px 72px,
    linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px) 0 0 / 72px 72px,
    radial-gradient(circle at 80% 20%, rgba(28, 143, 139, .26), transparent 380px);
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  position: relative;
}

.hero {
  position: relative;
  min-height: 92dvh;
  display: grid;
  align-items: end;
  padding: 116px 0 48px;
  overflow: hidden;
  background: var(--paper);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(247, 242, 232, .95), rgba(247, 242, 232, .66) 46%, rgba(247, 242, 232, .18) 76%, rgba(247, 242, 232, .04)),
    linear-gradient(180deg, rgba(247, 242, 232, .08), rgba(247, 242, 232, .74) 94%);
}

.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.95) contrast(1.04);
}

#radiant-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: .72;
}

.hero-grid {
  z-index: 3;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
  gap: 44px;
  align-items: end;
  padding-bottom: 112px;
}

.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 32px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

h1,
h2,
h3,
p {
  margin-top: 0;
  overflow-wrap: break-word;
}

h1,
.display {
  margin-bottom: 22px;
  max-width: 900px;
  font-size: clamp(56px, 10vw, 148px);
  line-height: .86;
  letter-spacing: 0;
  font-weight: 840;
}

h2 {
  margin-bottom: 18px;
  max-width: 790px;
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 820;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.08;
  letter-spacing: 0;
}

.lead {
  max-width: 720px;
  color: rgba(16, 16, 16, .72);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
}

.section.dark .lead,
.section.dark .muted,
.section.dark p {
  color: rgba(247, 242, 232, .74);
}

.hero-actions,
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  --push-x: 0px;
  --push-y: 0px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(255, 255, 255, .46);
  color: var(--ink);
  font-size: 15px;
  font-weight: 760;
  cursor: pointer;
  transform: translate3d(var(--push-x), var(--push-y), 0);
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn.primary {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn:hover {
  border-color: rgba(16, 16, 16, .62);
  background: rgba(255, 255, 255, .82);
}

.btn.primary:hover {
  background: #22221f;
  color: var(--white);
}

.hero-visual {
  align-self: stretch;
  min-height: 560px;
  position: relative;
  border-left: 1px solid var(--line);
}

.appliance-stage {
  position: absolute;
  inset: 0;
}

.appliance-stage svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 26px 45px rgba(16, 16, 16, .16));
}

.trace {
  stroke-dasharray: 820;
  stroke-dashoffset: var(--trace, 820);
}

.hero-meta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-top: 1px solid var(--line);
  background: var(--line);
}

.hero-meta span {
  min-height: 86px;
  display: flex;
  align-items: center;
  padding: 18px;
  background: rgba(247, 242, 232, .78);
  color: rgba(16, 16, 16, .72);
  font-size: 13px;
  font-weight: 720;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(260px, .48fr);
  gap: 40px;
  align-items: end;
  margin-bottom: 44px;
}

.section-head > *,
.split > *,
.page-hero .wrap > *,
.grid > *,
.profiles > * {
  min-width: 0;
}

.muted {
  color: rgba(16, 16, 16, .66);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(320px, 1fr);
  gap: 40px;
  align-items: start;
}

.grid {
  display: grid;
  gap: 16px;
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.category,
.service-tile,
.profile,
.contact-panel,
.page-tile {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .58);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 26px rgba(16, 16, 16, .06);
}

.card,
.service-tile,
.profile,
.page-tile {
  padding: 24px;
}

.category {
  min-height: 330px;
  overflow: hidden;
  padding: 24px;
  cursor: pointer;
  transform: translateY(18px);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease), border-color .22s var(--ease), background .22s var(--ease);
}

.category.is-visible,
.reveal.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.category::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at var(--local-x, 70%) var(--local-y, 30%), rgba(50, 197, 190, .28), transparent 170px),
    linear-gradient(145deg, rgba(255,255,255,.7), rgba(255,255,255,.18));
  opacity: .75;
  transition: opacity .22s var(--ease);
}

.category:hover,
.category:focus-within {
  border-color: rgba(28, 143, 139, .58);
  background: rgba(255, 255, 255, .76);
}

.category:hover::before {
  opacity: 1;
}

.category-content {
  position: relative;
  z-index: 1;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.category svg,
.service-icon svg {
  width: 78px;
  height: 78px;
  stroke: var(--ink);
  stroke-width: 1.6;
  fill: none;
}

.category small,
.label {
  display: block;
  margin-bottom: 12px;
  color: var(--copper);
  font-size: 12px;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.category p,
.service-tile p,
.profile p,
.page-tile p {
  color: rgba(16, 16, 16, .66);
}

.horizontal-spec {
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, .36);
}

.spec-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
}

.spec-item {
  min-height: 196px;
  padding: 30px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.spec-item:last-child {
  border-right: 0;
}

.spec-item strong {
  display: block;
  margin-bottom: 16px;
  font-size: 24px;
  line-height: 1.1;
}

.spec-item p {
  max-width: 330px;
  color: rgba(16, 16, 16, .66);
}

.spec-line {
  width: 100%;
  height: 1px;
  margin-top: 24px;
  background: linear-gradient(90deg, var(--teal), transparent);
  transform: scaleX(var(--line-scale, .18));
  transform-origin: left;
  transition: transform .8s var(--ease);
}

.process {
  position: relative;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 36px;
}

.process-rail {
  position: sticky;
  top: 112px;
  height: 460px;
  border: 1px solid rgba(247, 242, 232, .18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(247, 242, 232, .08), transparent),
    rgba(255, 255, 255, .04);
  overflow: hidden;
}

.process-beam {
  position: absolute;
  left: 50%;
  top: 18px;
  width: 2px;
  height: calc(var(--process-progress, 0) * 1%);
  background: linear-gradient(180deg, var(--teal-bright), var(--copper));
  transform: translateX(-50%);
  box-shadow: 0 0 28px rgba(50, 197, 190, .7);
}

.process-ring {
  position: absolute;
  left: 50%;
  top: calc(18px + var(--process-progress, 0) * 4px);
  width: 64px;
  height: 64px;
  border: 1px solid rgba(50, 197, 190, .7);
  transform: translate(-50%, -50%) rotate(var(--ring-rotate, 0deg));
}

.process-list {
  display: grid;
  gap: 14px;
}

.step {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  min-height: 156px;
  padding: 24px;
  border: 1px solid rgba(247, 242, 232, .15);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
  transform: translateY(20px);
  opacity: 0;
  transition: transform .65s var(--ease), opacity .65s var(--ease), background .25s var(--ease), border-color .25s var(--ease);
}

.step.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.step.is-active {
  border-color: rgba(50, 197, 190, .5);
  background: rgba(50, 197, 190, .09);
}

.step-index {
  color: var(--teal-bright);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
}

.media-band {
  min-height: 520px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, 1fr);
  border-block: 1px solid var(--line);
}

.media-copy {
  padding: 74px max(32px, calc((100vw - var(--max)) / 2));
}

.media-art {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(16,16,16,.05), transparent),
    rgba(255,255,255,.48);
}

.media-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.96) contrast(1.04);
}

.media-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16,16,16,.08), transparent 52%),
    radial-gradient(circle at 70% 18%, rgba(50, 197, 190, .22), transparent 320px);
}

.profiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.profile {
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.profile .arrow {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal);
}

.page-hero {
  position: relative;
  min-height: 68dvh;
  display: grid;
  align-items: end;
  padding: 138px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgba(50, 197, 190, .22), transparent 410px),
    linear-gradient(180deg, rgba(255,255,255,.42), transparent);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(247,242,232,.96), rgba(247,242,232,.78) 50%, rgba(247,242,232,.34)),
    url("assets/kitchen-detail.jpg") center / cover no-repeat;
  opacity: .86;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(280px, .48fr);
  gap: 44px;
  align-items: end;
}

.page-hero h1 {
  font-size: clamp(48px, 8vw, 104px);
}

.page-mark {
  min-height: 330px;
  border-left: 1px solid var(--line);
  display: grid;
  place-items: center;
}

.page-mark svg {
  width: min(360px, 80vw);
  height: auto;
  filter: drop-shadow(0 26px 42px rgba(16, 16, 16, .15));
}

.feature-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255,255,255,.46);
}

.feature-row {
  display: grid;
  grid-template-columns: .38fr 1fr;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: 0;
}

.feature-row strong,
.feature-row span {
  padding: 22px;
}

.feature-row strong {
  border-right: 1px solid var(--line);
}

.contact-panel {
  padding: clamp(28px, 5vw, 62px);
  overflow: hidden;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: -30% -12% auto auto;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(50, 197, 190, .24), transparent 62%);
  transform: translate(var(--panel-x, 0), var(--panel-y, 0));
  transition: transform .08s linear;
}

.contact-panel > * {
  position: relative;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin-top: 20px;
  padding: 0 16px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--ink);
  color: var(--white);
  font-weight: 780;
  word-break: break-word;
}

.email-link svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
  background: rgba(247, 242, 232, .9);
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  min-height: 108px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: rgba(16, 16, 16, .62);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.reveal {
  transform: translateY(18px);
  opacity: 0;
  transition: transform .7s var(--ease), opacity .7s var(--ease);
}

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: 74px;
    left: 16px;
    right: 16px;
    display: grid;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(247, 242, 232, .94);
    box-shadow: var(--shadow);
    transform: translateY(-14px);
    opacity: 0;
    pointer-events: none;
    transition: transform .22s var(--ease), opacity .22s var(--ease);
  }

  body.nav-open .nav-links {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .hero-grid,
  .section-head,
  .split,
  .media-band,
  .page-hero .wrap {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 110px;
  }

  .hero-grid {
    padding-bottom: 0;
  }

  .hero-visual {
    min-height: 430px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero-meta,
  .spec-row,
  .grid.cols-3,
  .grid.cols-4,
  .profiles {
    grid-template-columns: 1fr 1fr;
  }

  .hero-meta {
    position: relative;
    margin-top: 20px;
  }

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

  .process-rail {
    display: none;
  }

  .media-art {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .page-mark {
    min-height: 260px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .section {
    padding: 76px 0;
  }

  .nav {
    width: min(100% - 24px, var(--max));
  }

  .brand span {
    max-width: 170px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  h1,
  .display {
    font-size: clamp(48px, 17vw, 78px);
  }

  h2 {
    font-size: clamp(32px, 12vw, 52px);
  }

  .hero-meta,
  .grid.cols-3,
  .grid.cols-4,
  .profiles,
  .spec-row,
  .feature-row {
    grid-template-columns: 1fr;
  }

  .hero-meta span {
    min-height: 64px;
  }

  .hero-visual {
    min-height: 360px;
  }

  .category {
    min-height: 290px;
  }

  .feature-row strong {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

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

  .footer-inner {
    padding: 28px 0;
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  #radiant-canvas {
    display: none;
  }
}
