@font-face {
  font-family: "Ngetic Modern";
  src: url("/fonts/NgeticModern-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Ngetic Modern";
  src: url("/fonts/NgeticModern-Italic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Noir Pro";
  src: url("/fonts/NoirPro-Light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noir Pro";
  src: url("/fonts/NoirPro-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noir Pro";
  src: url("/fonts/NoirPro-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #191919;
  --gold: #ffd67b;
  --gold-hot: #ffe7ad;
  --paper: #f4efe6;
  --white: #fffcf7;
  --night: #0c0c0c;
  --rule: rgba(25, 25, 25, 0.12);
  --muted: rgba(25, 25, 25, 0.58);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: "Noir Pro", "Segoe UI", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: 0.015em;
}

body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.wrap {
  width: min(1120px, calc(100% - 2.75rem));
  margin-inline: auto;
}

header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  padding: 0.95rem 0;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.4s var(--ease), background 0.4s var(--ease);
}

header.site.is-scrolled {
  border-bottom-color: var(--rule);
}

header.site .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
}

.brand img.crown {
  width: 1.45rem;
  animation: crown-float 5.5s ease-in-out infinite;
}

.brand .word {
  font-family: "Ngetic Modern", "Times New Roman", serif;
  font-size: 1.55rem;
  letter-spacing: -0.045em;
}

.brand .door {
  font-weight: 300;
  font-size: 0.58rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-top: 0.28rem;
}

nav.primary {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  font-weight: 300;
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav.primary a {
  color: var(--muted);
  position: relative;
}

nav.primary a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

nav.primary a:hover,
nav.primary a[aria-current="page"] {
  color: var(--ink);
}

nav.primary a:hover::after,
nav.primary a[aria-current="page"]::after {
  transform: scaleX(1);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.35rem;
  font-family: "Noir Pro", sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-gold {
  background: var(--gold);
  color: var(--ink);
}

.btn-gold:hover {
  background: var(--gold-hot);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 214, 123, 0.45);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-ink {
  background: var(--ink);
  color: var(--white);
}

.btn-ink:hover {
  background: #000;
}

.btn-nav {
  padding: 0.65rem 0.95rem;
  background: var(--gold);
  color: var(--ink);
}

.btn-nav:hover {
  background: var(--gold-hot);
  color: var(--ink);
}

main {
  flex: 1;
}

.hero {
  position: relative;
  min-height: calc(100vh - 5.2rem);
  display: flex;
  align-items: center;
  background: var(--night);
  color: var(--white);
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  right: -12vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(255, 214, 123, 0.14), transparent 62%);
  animation: glow 10s ease-in-out infinite;
  pointer-events: none;
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding: 4.5rem 0 5rem;
  text-align: center;
}

.lockup {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lockup img.crown {
  width: 4.8rem;
  animation: crown-float 5.5s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(255, 214, 123, 0.35));
}

.lockup .word {
  font-family: "Ngetic Modern", "Times New Roman", serif;
  font-size: clamp(3.6rem, 12vw, 8.2rem);
  letter-spacing: -0.05em;
  line-height: 0.9;
  background: linear-gradient(105deg, #fff 32%, var(--gold) 50%, #fff 68%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shine 7s ease-in-out infinite;
}

.lockup .sub {
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: 0.92rem;
  margin-top: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

.gold-rule {
  width: min(7.5rem, 40%);
  height: 1px;
  margin: 1.7rem auto 1.5rem;
  background: var(--gold);
  transform: scaleX(0);
  animation: draw 1.1s var(--ease) 0.35s forwards;
}

.lede {
  max-width: 38rem;
  margin: 0 auto 0.65rem;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.4vw, 1.55rem);
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.92);
}

.lede-sub {
  max-width: 34rem;
  margin: 0 auto 2rem;
  font-weight: 300;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.62);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-bottom: 3.2rem;
}

.doors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: min(760px, 100%);
  margin: 0 auto;
}

.door-card {
  --tilt-x: 0deg;
  --tilt-y: 0deg;
  display: block;
  text-align: left;
  padding: 1.8rem 1.55rem 1.5rem;
  background: rgba(255, 252, 247, 0.04);
  border: 1px solid rgba(255, 214, 123, 0.22);
  transform: perspective(700px) rotateX(var(--tilt-x)) rotateY(var(--tilt-y));
  transition: border-color 0.35s var(--ease), background 0.35s var(--ease);
}

.door-card:hover {
  border-color: var(--gold);
  background: rgba(255, 214, 123, 0.07);
}

.door-card .tag {
  display: block;
  font-weight: 300;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.door-card h2 {
  font-family: "Ngetic Modern", serif;
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 0.45rem;
}

.door-card p {
  margin: 0;
  font-weight: 300;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
}

.section {
  padding: 5.2rem 0;
}

.section h2 {
  font-family: "Ngetic Modern", serif;
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0 0 1rem;
}

.kicker {
  font-weight: 300;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.72rem;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.intro {
  max-width: 38rem;
  font-weight: 300;
  font-size: 1.12rem;
  color: var(--muted);
  margin: 0 0 2.4rem;
}

.headache-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.headache-list li {
  padding: 1.2rem 1rem 1.1rem;
  background: var(--white);
  border-top: 2px solid var(--gold);
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.page {
  padding: 4rem 0 5.5rem;
}

.page h1 {
  font-family: "Ngetic Modern", serif;
  font-size: clamp(2.5rem, 6.5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 0 0 1rem;
}

.rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--rule);
}

.row {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.row strong {
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  padding-top: 0.2rem;
}

.row span {
  font-weight: 300;
  color: var(--muted);
}

.ledger {
  margin-top: 0.4rem;
}

.cta-band {
  background: var(--night);
  color: var(--white);
  padding: 3.6rem 0;
  text-align: center;
}

.cta-band h2 {
  font-family: "Ngetic Modern", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  margin: 0 0 0.6rem;
}

.cta-band p {
  margin: 0 0 1.5rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
}

.mail {
  font-family: "Ngetic Modern", serif;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem);
  letter-spacing: -0.03em;
  background: linear-gradient(90deg, var(--ink), var(--ink));
  background-size: 0 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.4s var(--ease);
}

.mail:hover {
  background-size: 100% 1px;
}

.meta {
  margin-top: 1.5rem;
  font-weight: 300;
  color: var(--muted);
}

.meta p {
  margin: 0 0 0.3rem;
}

.form {
  margin-top: 2.4rem;
  max-width: 34rem;
  display: grid;
  gap: 0.85rem;
  scroll-margin-top: 6rem;
}

.form label {
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.form input,
.form textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--rule);
  background: var(--white);
  color: var(--ink);
  font-family: "Noir Pro", sans-serif;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s var(--ease);
}

.form input:focus,
.form textarea:focus {
  border-color: var(--ink);
}

.form textarea {
  min-height: 8rem;
  resize: vertical;
}

.form .hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}

.form {
  position: relative;
}

.form-status {
  margin: 0.2rem 0 0;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--muted);
}

.form-status.is-ok {
  color: var(--ink);
}

.form-status.is-err {
  color: #8a2a2a;
}

.letterhead-card {
  margin-top: 2.6rem;
  background: var(--white);
  border: 1px solid var(--rule);
  min-height: 16rem;
  padding: 1.4rem 1.5rem 1.2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 24px 50px rgba(25, 25, 25, 0.06);
}

.lh-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: flex-start;
}

.lh-block {
  background: var(--ink);
  color: var(--white);
  padding: 0.85rem 1rem 0.75rem;
  min-width: 8.5rem;
  text-align: center;
}

.lh-block .word {
  font-family: "Ngetic Modern", serif;
  font-size: 1.4rem;
  letter-spacing: -0.04em;
}

.lh-block .door {
  font-weight: 300;
  font-size: 0.55rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.lh-right {
  text-align: right;
  font-size: 0.78rem;
  font-weight: 300;
}

.lh-right strong {
  display: block;
  letter-spacing: 0.08em;
  font-size: 0.68rem;
  margin-bottom: 0.25rem;
}

.lh-foot {
  background: var(--ink);
  color: var(--white);
  padding: 0.55rem 0.8rem;
  font-size: 0.72rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-align: center;
}

footer.site {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 1.15rem 0 1.25rem;
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

footer.site .wrap {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

footer.site a:hover {
  color: var(--gold);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  animation: rise 0.9s var(--ease) forwards;
  animation-play-state: paused;
}

[data-reveal].is-in {
  animation-play-state: running;
}

[data-reveal="2"] {
  animation-delay: 0.12s;
}
[data-reveal="3"] {
  animation-delay: 0.24s;
}
[data-reveal="4"] {
  animation-delay: 0.36s;
}

@keyframes crown-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes shine {
  0%,
  100% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0 0;
  }
}

@keyframes glow {
  0%,
  100% {
    opacity: 0.55;
    transform: translate(0, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-4%, 6%);
  }
}

@keyframes draw {
  to {
    transform: scaleX(1);
  }
}

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 0.42rem;
  z-index: 61;
}

.menu-toggle span {
  display: block;
  height: 1.5px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(0.46rem) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-0.46rem) rotate(-45deg);
}

.hero.has-photo {
  background-image: linear-gradient(180deg, rgba(8, 8, 8, 0.62), rgba(8, 8, 8, 0.84)), url("/img/hero.jpg");
  background-size: cover;
  background-position: center;
}

.mosaic {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}

.mosaic.five {
  grid-template-columns: 1.35fr 1fr 1fr;
}

.tile {
  position: relative;
  min-height: 16rem;
  overflow: hidden;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: #111 center/cover no-repeat;
  text-decoration: none;
}

.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(8, 8, 8, 0.82));
  transition: background 0.4s var(--ease);
}

.tile:hover::before {
  background: linear-gradient(180deg, transparent 10%, rgba(8, 8, 8, 0.7));
}

.tile > * {
  position: relative;
  z-index: 1;
}

.tile.tall {
  grid-row: span 2;
  min-height: 33rem;
}

.tile .tag {
  color: var(--gold);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 300;
  margin-bottom: 0.4rem;
}

.tile h3 {
  font-family: "Ngetic Modern", serif;
  font-size: 1.85rem;
  font-weight: 400;
  letter-spacing: -0.03em;
  margin: 0 0 0.4rem;
}

.tile p {
  margin: 0;
  font-weight: 300;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 22rem;
}

.bg-software {
  background-image: url("/img/software.jpg");
}

.bg-digital {
  background-image: url("/img/digital.jpg");
}

.bg-legal {
  background-image: url("/img/legal.jpg");
}

.bg-accounts {
  background-image: url("/img/accounts.jpg");
}

.bg-office {
  background-image: url("/img/office.jpg");
}

.bg-branding {
  background-image: url("/img/branding.jpg");
}

.bg-commercial {
  background-image: url("/img/commercial.jpg");
}

nav.primary a.btn::after {
  content: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 26rem;
}

.split.reverse {
  direction: rtl;
}

.split.reverse > * {
  direction: ltr;
}

.split-photo {
  background-color: #111;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 18rem;
}

.split-copy {
  padding: 3.4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.split-copy.dark {
  background: var(--night);
  color: var(--white);
}

.split-copy.dark .intro,
.split-copy.dark .kicker {
  color: rgba(255, 255, 255, 0.62);
}

.split-copy h2 {
  font-family: "Ngetic Modern", serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin: 0 0 0.85rem;
}

.split-copy .intro {
  margin-bottom: 1.4rem;
}

.split-copy .form {
  margin-top: 0;
  max-width: none;
}

.blocks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.block {
  background: var(--white);
  overflow: hidden;
  border: 1px solid var(--rule);
  display: block;
  text-decoration: none;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.block:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.block img {
  width: 100%;
  height: 11rem;
  object-fit: cover;
}

.block-body {
  padding: 1.25rem 1.2rem 1.4rem;
}

.block h3 {
  font-family: "Ngetic Modern", serif;
  font-size: 1.45rem;
  font-weight: 400;
  margin: 0 0 0.4rem;
}

.block p {
  margin: 0;
  font-weight: 300;
  color: var(--muted);
  font-size: 0.95rem;
}

.page-hero {
  min-height: 42vh;
  display: flex;
  align-items: flex-end;
  padding: 4.5rem 0 2.6rem;
  color: var(--white);
  background: #111 center/cover no-repeat;
}

.page-hero .kicker {
  color: var(--gold);
}

.page-hero .intro {
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0;
}

.page-hero h1 {
  font-family: "Ngetic Modern", serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--white);
  margin: 0.35rem 0 0.85rem;
}

.page-hero.software {
  background-image: linear-gradient(180deg, rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.8)), url("/img/software.jpg");
}

.page-hero.digital {
  background-image: linear-gradient(180deg, rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.8)), url("/img/digital.jpg");
}

.page-hero.legal {
  background-image: linear-gradient(180deg, rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.8)), url("/img/legal.jpg");
}

.page-hero.office {
  background-image: linear-gradient(180deg, rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.8)), url("/img/office.jpg");
}

.page-hero.contact {
  background-image: linear-gradient(180deg, rgba(8, 8, 8, 0.5), rgba(8, 8, 8, 0.82)), url("/img/office.jpg");
}

.page-hero.branding {
  background-image: linear-gradient(180deg, rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.8)), url("/img/branding.jpg");
}

.page-hero.commercial {
  background-image: linear-gradient(180deg, rgba(8, 8, 8, 0.42), rgba(8, 8, 8, 0.8)), url("/img/commercial.jpg");
}

.split[id],
.section[id],
#work {
  scroll-margin-top: 5.5rem;
}

.lines {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.lines li {
  margin: 0;
}

.lines a {
  display: grid;
  grid-template-columns: 2.1rem 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.2rem;
  background: var(--white);
  border: 1px solid var(--rule);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.lines a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.07);
}

.lines .n {
  font-family: "Ngetic Modern", serif;
  font-size: 1.35rem;
  color: var(--muted);
  line-height: 1;
}

.lines h3 {
  font-family: "Ngetic Modern", serif;
  font-size: 1.35rem;
  font-weight: 400;
  margin: 0 0 0.25rem;
}

.lines p {
  margin: 0;
  font-weight: 300;
  color: var(--muted);
  font-size: 0.95rem;
}

.lines .door-tag {
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 300;
  color: var(--muted);
  padding-top: 0.35rem;
  white-space: nowrap;
}

.quiet {
  padding: 3.2rem 0 1rem;
}

.quiet h2 {
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
}

@media (max-width: 1100px) {
  .menu-toggle {
    display: flex;
  }

  nav.primary {
    display: none;
    position: absolute;
    top: calc(100% + 0.7rem);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 0 0.9rem;
    background: var(--paper);
    border: 1px solid var(--rule);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
  }

  nav.primary.is-open {
    display: flex;
    z-index: 60;
  }

  nav.primary a {
    padding: 0.75rem 1rem;
  }

  nav.primary .btn-nav {
    margin: 0.4rem 1rem 0;
    text-align: center;
  }
}

@media (max-width: 900px) {
  .mosaic,
  .split,
  .blocks,
  .doors,
  .headache-list {
    grid-template-columns: 1fr;
  }

  .mosaic.five {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .tile,
  .tile.tall {
    grid-row: auto;
    min-height: 8.1rem;
    padding: 1rem 1.1rem;
    justify-content: flex-end;
  }

  .tile h3 {
    font-size: 1.35rem;
    margin-bottom: 0.2rem;
  }

  .tile p {
    font-size: 0.86rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-ctas {
    margin-bottom: 1.4rem;
  }

  .split.reverse {
    direction: ltr;
  }

  .split-copy {
    padding: 2rem 1.4rem;
  }

  .lines a {
    grid-template-columns: 1.8rem 1fr;
  }

  .lines .door-tag {
    grid-column: 2;
    padding-top: 0.2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
