:root {
  color-scheme: light;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  line-height: 1.35;
  color: #173642;
  background: #e8e4db;
  --world: #e8e4db;
  --enamel: #f2efe7;
  --well: #dfe6e2;
  --active: #fff;
  --ink: #173642;
  --soft: #4c6872;
  --line: #c7dad9;
  --sky: #a9e4ff;
  --grass: #bdeba4;
  --sun: #ffda73;
  --lilac: #d9c5ff;
  --coral: #ffb09d;
  --mint: #c9f1e7;
  --radius: clamp(0.875rem, 2vw, 1.375rem);
  --edge: 2px solid var(--ink);
  --offset-shadow: clamp(0.35rem, 0.85vw, 0.7rem) clamp(0.35rem, 0.85vw, 0.7rem) 0 var(--soft);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--world);
  -webkit-text-size-adjust: 100%;
}

body {
  min-width: 320px;
  min-height: 100svh;
  margin: 0;
  background: var(--world);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 4px solid var(--ink);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: -6rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  border: var(--edge);
  border-radius: 0.875rem;
  color: var(--enamel);
  background: var(--ink);
}

.skip-link:focus {
  top: 0.75rem;
}

.site-shell {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100svh;
  padding: clamp(0.75rem, 2.4vw, 2rem);
}

.not-found-page .site-shell {
  justify-content: center;
}

.not-found-card {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: calc(100svh - clamp(1.5rem, 4.8vw, 4rem));
  overflow: hidden;
  border: var(--edge);
  border-radius: var(--radius);
  background: var(--enamel);
  box-shadow: var(--offset-shadow);
}

.not-found-panel {
  position: relative;
  isolation: isolate;
  display: grid;
  gap: clamp(2rem, 7vw, 5rem);
  align-content: space-between;
  min-height: 32rem;
  overflow: hidden;
  padding: clamp(2rem, 7vw, 5rem) clamp(1.25rem, 5vw, 4.25rem);
}

.not-found-code,
.not-found-copy h1,
.not-found-copy p {
  margin: 0;
}

.not-found-code {
  position: relative;
  z-index: 2;
  width: fit-content;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(4.75rem, 27vw, 9rem);
  font-weight: 750;
  line-height: 0.75;
  letter-spacing: -0.1em;
}

.not-found-copy {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.1rem;
  align-self: end;
  max-width: 42rem;
}

.not-found-copy h1 {
  font-size: clamp(3.25rem, 14vw, 7.5rem);
  font-weight: 780;
  line-height: 0.87;
  letter-spacing: -0.07em;
  text-wrap: balance;
}

.not-found-copy p {
  max-width: 34ch;
  color: var(--soft);
  font-size: clamp(1rem, 3.8vw, 1.3rem);
  font-weight: 650;
}

.not-found-link {
  display: inline-flex;
  gap: 0.8rem;
  align-items: center;
  justify-content: space-between;
  width: fit-content;
  min-height: 3.25rem;
  margin-top: 0.4rem;
  padding: 0.75rem 1rem;
  border: var(--edge);
  border-radius: 999px;
  background: var(--sky);
  font-weight: 750;
  text-decoration: none;
}

.not-found-link:hover {
  background: var(--grass);
}

.not-found-link span {
  font-size: 1.4rem;
  line-height: 1;
}

.not-found-signal {
  position: absolute;
  z-index: 0;
  top: 13%;
  right: clamp(-5rem, -6vw, -2rem);
  width: clamp(11rem, 48vw, 25rem);
  aspect-ratio: 1;
  border: var(--edge);
  border-radius: 50%;
  background: var(--lilac);
}

.index-intro {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: min(45rem, calc(100svh - clamp(1.5rem, 4.8vw, 4rem)));
  overflow: hidden;
  border: var(--edge);
  border-radius: var(--radius);
  background: var(--enamel);
  box-shadow: var(--offset-shadow);
}

.house-name,
.index-intro h1,
.product-row h2,
.product-row p,
.house-footer p,
.product-copy {
  margin: 0;
}

.masthead-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5rem;
  padding: 1rem clamp(1rem, 3vw, 2.25rem);
  border-bottom: var(--edge);
  background: var(--active);
}

.house-name {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.signal-mark {
  display: grid;
  grid-template-columns: repeat(3, 0.8rem);
  gap: 0.35rem;
  align-items: center;
}

.signal-mark i {
  display: block;
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--sky);
}

.signal-mark i:nth-child(2) {
  background: var(--sun);
}

.signal-mark i:nth-child(3) {
  background: var(--coral);
}

.statement-frame {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(23rem, 65svh, 38rem);
  padding: clamp(4rem, 14vw, 8rem) clamp(1.25rem, 5vw, 4.25rem) clamp(2rem, 7vw, 4rem);
}

.statement-frame::after {
  position: absolute;
  top: 0;
  right: clamp(2.5rem, 17vw, 12rem);
  bottom: 0;
  width: 2px;
  background: var(--line);
  content: "";
}

.family-mosaic {
  position: absolute;
  z-index: 1;
  top: clamp(2.5rem, 8vw, 4rem);
  right: clamp(1.25rem, 5vw, 4.25rem);
  left: clamp(1.25rem, 5vw, 4.25rem);
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  height: clamp(12rem, 36vw, 16rem);
  padding: 0.5rem;
  border: 2px solid var(--ink);
  border-radius: calc(var(--radius) - 0.2rem);
  background: var(--active);
  box-shadow: 0.45rem 0.45rem 0 var(--line);
}

.family-mosaic img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  border: 1px solid var(--ink);
  border-radius: calc(var(--radius) - 0.75rem);
  object-fit: cover;
}

.family-mosaic-main {
  grid-row: 1 / -1;
}

.family-mosaic img:nth-child(2) {
  object-position: center;
}

.family-mosaic img:nth-child(3) {
  object-position: center bottom;
}

.crop-mark {
  position: absolute;
  z-index: 2;
  width: 1.15rem;
  height: 1.15rem;
  pointer-events: none;
}

.crop-mark-nw {
  top: 1.1rem;
  left: 1.1rem;
  border-top: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.crop-mark-ne {
  top: 1.1rem;
  right: 1.1rem;
  border-top: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
}

.crop-mark-sw {
  bottom: 1.1rem;
  left: 1.1rem;
  border-bottom: 2px solid var(--ink);
  border-left: 2px solid var(--ink);
}

.crop-mark-se {
  right: 1.1rem;
  bottom: 1.1rem;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
}

.index-intro h1 {
  position: relative;
  z-index: 2;
  max-width: 12ch;
  font-size: clamp(3.4rem, 14.5vw, 8.75rem);
  font-weight: 780;
  line-height: 0.86;
  letter-spacing: -0.075em;
  text-wrap: balance;
}

.product-index {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  padding-block: clamp(2.75rem, 8vw, 6rem);
}

.product-row {
  --panel-accent: var(--sky);
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto minmax(13rem, 1fr) auto;
  gap: 1.25rem;
  align-items: end;
  min-height: clamp(34rem, 128vw, 42rem);
  overflow: hidden;
  padding: clamp(1.25rem, 5vw, 2.5rem);
  border: var(--edge);
  border-top: 1rem solid var(--panel-accent);
  border-radius: var(--radius);
  color: var(--ink);
  background: var(--active);
  box-shadow: var(--offset-shadow);
  text-decoration: none;
}

.services-row {
  --panel-accent: var(--grass);
}

.row-number {
  position: relative;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  width: fit-content;
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(4.75rem, 26vw, 8rem);
  font-weight: 750;
  line-height: 0.8;
  letter-spacing: -0.1em;
}

.product-copy {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 1 / -1;
  grid-row: 3;
  gap: 0.75rem;
  align-self: end;
}

.row-art {
  position: relative;
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: stretch;
  min-height: clamp(13rem, 58vw, 19rem);
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: calc(var(--radius) - 0.35rem);
  background: var(--panel-accent);
}

.row-art::after {
  position: absolute;
  inset: 0;
  border: 0.45rem solid rgb(242 239 231 / 30%);
  content: "";
  pointer-events: none;
}

.row-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.proxchat-row .row-art img {
  object-position: center 48%;
}

.services-row .row-art img,
.teaser-row .row-art img {
  object-position: center;
}

.product-row h2 {
  font-size: clamp(2.3rem, 10vw, 5.5rem);
  font-weight: 780;
  line-height: 0.9;
  letter-spacing: -0.065em;
}

.product-row p {
  max-width: 30ch;
  color: var(--soft);
  font-size: clamp(1.05rem, 4vw, 1.45rem);
  font-weight: 650;
  line-height: 1.25;
}

.row-arrow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-column: 2;
  grid-row: 1;
  place-items: center;
  align-self: start;
  width: 3.25rem;
  height: 3.25rem;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background: var(--panel-accent);
  font-size: 1.7rem;
  line-height: 1;
}

.product-row[href]:not([aria-disabled="true"]):hover,
.product-row[href]:not([aria-disabled="true"]):focus-visible {
  background: var(--well);
}

.product-row[href]:not([aria-disabled="true"]):hover p,
.product-row[href]:not([aria-disabled="true"]):focus-visible p {
  color: var(--ink);
}

.teaser-row {
  --panel-accent: var(--lilac);
  grid-template-rows: auto minmax(13rem, 1fr) auto;
  min-height: clamp(34rem, 128vw, 42rem);
  color: var(--enamel);
  background: var(--ink);
}

.teaser-row h2 {
  position: relative;
  z-index: 3;
  grid-column: 1 / -1;
  grid-row: 3;
  align-self: end;
  max-width: 15ch;
  font-size: clamp(2.35rem, 10vw, 5.25rem);
  text-wrap: balance;
}

.teaser-row .row-number {
  color: var(--lilac);
}

.teaser-row .row-art {
  border-color: var(--line);
  background: var(--ink);
}

.teaser-row[href]:hover,
.teaser-row[href]:focus-visible {
  color: var(--enamel);
  background: #1d414f;
}

.house-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-end;
  margin-top: auto;
  min-height: 9rem;
  padding: 2rem 0.25rem 1rem;
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: clamp(0.72rem, 2.8vw, 0.9rem);
}

.house-footer a {
  text-decoration-color: var(--line);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.35em;
}

.house-footer a:hover {
  color: var(--ink);
  text-decoration-color: currentColor;
}

.footer-signal {
  display: flex;
  gap: 0.35rem;
}

.footer-signal i {
  display: block;
  width: 1rem;
  height: 1rem;
  border: 2px solid var(--ink);
  background: var(--mint);
}

.footer-signal i:last-child {
  border-radius: 50%;
  background: var(--coral);
}

@media (min-width: 48rem) {
  .site-shell {
    width: min(100%, 96rem);
    margin-inline: auto;
  }

  .statement-frame {
    align-items: center;
    padding-top: clamp(3rem, 7vw, 6rem);
    padding-bottom: clamp(3rem, 7vw, 6rem);
  }

  .statement-frame::after {
    right: auto;
    left: 54%;
  }

  .family-mosaic {
    top: clamp(2.5rem, 5vw, 4rem);
    right: clamp(2.5rem, 5vw, 4rem);
    bottom: clamp(2.5rem, 5vw, 4rem);
    left: auto;
    width: 42%;
    height: auto;
  }

  .not-found-panel {
    grid-template-columns: minmax(12rem, 0.6fr) minmax(0, 1.4fr);
    align-items: end;
  }

  .not-found-code {
    align-self: start;
  }

  .index-intro h1 {
    max-width: 7.5ch;
  }

  .product-row {
    grid-template-columns: minmax(18rem, 1.1fr) minmax(15rem, 0.9fr) auto;
    grid-template-rows: auto 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
    min-height: clamp(25rem, 38vw, 34rem);
    padding: clamp(2rem, 4vw, 4rem);
    border-top-width: 1.25rem;
  }

  .row-number {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    font-size: clamp(5rem, 9vw, 8rem);
  }

  .product-copy {
    grid-column: 2;
    grid-row: 2;
    gap: 1rem;
  }

  .row-art {
    grid-column: 1;
    grid-row: 1 / -1;
    min-height: 100%;
  }

  .row-arrow {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    width: 4.25rem;
    height: 4.25rem;
  }

  .teaser-row {
    grid-template-columns: minmax(18rem, 1.1fr) minmax(15rem, 0.9fr);
    grid-template-rows: auto 1fr;
    min-height: clamp(25rem, 38vw, 34rem);
  }

  .teaser-row h2 {
    grid-column: 2;
    grid-row: 2;
    align-self: end;
  }

  .house-footer {
    min-height: 11rem;
    padding: 2rem 0.5rem 1rem;
  }
}

@media (min-width: 76rem) {
  .index-intro h1 {
    font-size: clamp(7rem, 10vw, 9.5rem);
  }
}
