:root {
  --bg: #101519;
  --panel: #171f24;
  --ink: #f5f5ee;
  --muted: #c0cbc8;
  --edge: #3a494b;
  --accent: #dcf582;
}
body { font-family: "Aptos", system-ui, sans-serif; }
header { background: #101519; }
.brand { letter-spacing: -.06em; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: radial-gradient(ellipse at 100% 0, #3a513a, #161e21 51%, var(--bg) 80%);
  padding-block: clamp(68px, 9vw, 130px);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: linear-gradient(#b9d89318 1px, transparent 1px),
                    linear-gradient(90deg, #b9d89318 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(105deg, transparent 30%, black);
}
.hero .location {
  margin: 0 0 24px;
  font-size: .86rem;
  font-weight: 700;
  letter-spacing: .055em;
  color: var(--accent);
}
.hero h1 { max-width: 850px; text-wrap: balance; }
.button, button { border-radius: 8px; }
.button:hover, button:hover { background: #effdb6; }
.work-link { display: inline-block; margin: 12px 0 0 20px; text-underline-offset: 5px; }
article { box-shadow: inset 0 1px #ffffff08; }
#work article {
  max-width: 760px;
  border-left: 3px solid var(--accent);
  padding: clamp(22px, 4vw, 38px);
}
#work article a { color: var(--accent); text-underline-offset: 5px; }
.web-pricing strong { display: inline-block; margin-bottom: 2px; }
@media (max-width: 460px) {
  .wrap { width: calc(100% - 32px); }
  nav .button { padding: 9px 11px; font-size: .86rem; }
  .nav-actions { gap: 5px; }
  .work-link { margin-left: 0; display: block; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.header-links { display: flex; gap: 28px; }
.header-links a { color: var(--muted); text-decoration: none; }
.header-links a:hover { color: var(--accent); }
.hero {
  background: radial-gradient(ellipse at 82% 40%, #293729, #141c20 55%, var(--bg) 82%);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(24px, 5vw, 64px);
}
.hero h1 {
  font-size: clamp(43px, 6.2vw, 84px);
  text-wrap: initial;
}
.hero h1 span {
  display: block;
  margin-top: .14em;
  color: var(--accent);
  font-size: .73em;
  letter-spacing: -.045em;
}
.hero p { max-width: 45ch; }
.project-preview {
  display: block;
  padding: clamp(13px, 2.5vw, 26px);
  border: 1px solid #50665b;
  border-radius: 19px;
  background: #192323;
  box-shadow: 0 22px 55px #0006;
  text-decoration: none;
}
.project-preview:hover { border-color: var(--accent); }
.preview-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 4px 12px;
  margin-bottom: 16px;
}
.preview-top span { color: var(--muted); font-size: .8rem; }
.mini-board {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  container-type: inline-size;
}
.mini-board span {
  display: grid;
  place-items: center;
  aspect-ratio: 1;
  color: #17261e;
  font: 8.8cqw/1 "DejaVu Sans", "Segoe UI Symbol", serif;
}
.mini-board .light { background: #d7dfb3; }
.mini-board .dark { background: #829b72; }
#services .grid { grid-template-columns: 1.35fr 1fr 1fr; }
#services article:first-child { border-top: 3px solid var(--accent); }
#quote form { padding: clamp(16px, 3vw, 30px); border: 1px solid var(--edge); border-radius: 14px; }
@media (max-width: 760px) {
  .header-links { display: none; }
  .hero-grid, #services .grid { grid-template-columns: 1fr; }
  .project-preview { width: min(100%, 365px); }
}

body {
  background: radial-gradient(ellipse at 88% 55%, #202d272e, transparent 44%), var(--bg);
}
.hero {
  background:
    radial-gradient(ellipse at 82% 32%, #91b95b38, transparent 44%),
    radial-gradient(ellipse at 100% 95%, #318f7e33, transparent 44%),
    linear-gradient(110deg, #101519 30%, #192722 100%);
}
.hero::before {
  background-image: linear-gradient(#c1df9320 1px, transparent 1px),
                    linear-gradient(90deg, #c1df9320 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse at 85% 48%, black, transparent 73%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: repeating-radial-gradient(
    ellipse at 97% 43%,
    transparent 0 53px,
    #c7f69b13 54px 55px,
    transparent 56px 79px
  );
  mask-image: linear-gradient(90deg, transparent 33%, black);
}
@media (max-width: 760px) {
  .hero {
    background:
      radial-gradient(ellipse at 85% 75%, #91b95b32, transparent 48%),
      linear-gradient(160deg, #101519 36%, #192722);
  }
  .hero::before { mask-image: radial-gradient(ellipse at 75% 82%, black, transparent 68%); }
  .hero::after { mask-image: linear-gradient(180deg, transparent 36%, black); }
}

.nav-actions .language { padding-inline: 4px; }
@media (max-width: 360px) {
  nav { gap: 8px; }
  nav .button { padding-inline: 8px; }
  .brand { font-size: 21px; }
}
