:root {
  --rain: #e7eee9;
  --mist: #c5d4cc;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --serif: "Syne", "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--rain);
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.45;
  background: #102226;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 20, 22, 0.28), rgba(8, 20, 22, 0.42)),
    url("./hero.jpg") center / cover no-repeat;
}
a { color: inherit; }
.top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1.25rem 0.2rem;
}
.nav { display: flex; gap: 0.85rem; flex-wrap: wrap; }
.nav a {
  color: var(--mist);
  text-decoration: none;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 0.92rem;
}
.intro {
  padding: 0.2rem 1.25rem 1.25rem;
}
.title-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.portrait-wrap { position: relative; width: 168px; height: 168px; }
.portrait {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.limbs {
  position: absolute;
  inset: -14px;
  width: calc(100% + 28px);
  height: calc(100% + 28px);
  pointer-events: none;
}
.twig { width: 4.2rem; height: 0.8rem; display: block; }
.flow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  align-content: stretch;
}
.lane {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0.35rem;
  min-height: 168px;
  padding: 0.75rem;
  background-size: cover;
  background-position: center;
}
.lane::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 20, 22, 0.12), rgba(8, 20, 22, 0.72));
}
.write { background-image: url("./write.jpg"); }
.research { background-image: url("./research.jpg"); }
.plan { background-image: url("./plan.jpg"); }
.auto { background-image: url("./auto.jpg"); }
.job {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #d5e6dc;
}
.marks {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.7rem;
}
.marks img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
  padding: 4px;
}
.marks span { font-weight: 600; font-size: 0.95rem; }
.result {
  margin: 0;
  max-width: 28rem;
  font-size: 0.92rem;
  color: #e7eee9;
}
.kicker {
  margin: 0 0 0.35rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 600;
  color: #d5e6dc;
}
.title-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}
.portrait-wrap {
  position: relative;
  width: 168px;
  height: 168px;
  flex: none;
}
.portrait {
  width: 168px;
  height: 168px;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.branches {
  position: absolute;
  inset: -18px;
  width: calc(100% + 36px);
  height: calc(100% + 36px);
  pointer-events: none;
}
.line {
  margin: 0.55rem 0 0;
  color: var(--mist);
  font-size: 1.05rem;
}
h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 3.6vw, 4.2rem);
  line-height: 0.9;
  letter-spacing: -0.045em;
}
#work {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  padding: 0 1.25rem 1.25rem;
}
.scene {
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  position: relative;
  isolation: isolate;
}
.scene::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8,20,22,0.05), rgba(8,20,22,0.78));
}
.scene-copy { padding: 1rem 0.85rem 1.1rem; }
.scene h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.15rem, 2vw, 1.85rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.scene .kicker { letter-spacing: 0.08em; font-size: 0.68rem; }
.scene p { margin: 0.4rem 0 0; font-size: 0.92rem; }
.hvac { background-image: url("./hvac.jpg"); }
.kiosk { background-image: url("./kiosk.jpg"); }
.ops { background-image: url("./ops.jpg"); }
.about {
  max-width: 42rem;
  padding: 0.4rem 1.25rem 1.6rem;
}
.about h2 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}
.about p { margin: 0 0 0.8rem; }
.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  padding: 1.6rem 1.25rem 2.2rem;
}
.contact a {
  text-decoration: none;
  border-bottom: 1px solid #8fbfb0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
@media (max-width: 700px) {
  .nav { gap: 0.55rem; }
  .portrait-wrap, .portrait { width: 120px; height: 120px; }
  h1 { font-size: 2.6rem; }
  .flow { grid-template-columns: 1fr; }
}
@media (min-width: 900px) {
  .top, .intro, .contact, #work, .about { padding-left: 2rem; padding-right: 2rem; }
  .intro { padding-left: 2rem; padding-right: 2rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
