:root {
  --bg: #06111f;
  --bg-deep: #040812;
  --surface: rgba(10, 21, 38, 0.78);
  --surface-strong: #0d1b30;
  --text: #f4f7fb;
  --muted: #a8b5c7;
  --blue: #6eb9ff;
  --green: #38d39f;
  --yellow: #f2d46b;
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  --radius: 28px;
  --max-width: 1180px;
}

@font-face {
  font-family: "Lobster Two Local";
  src: url("../fonts/lobster-two-v22-latin-regular.b2baca16b87b.ttf") format("truetype");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(43, 120, 255, 0.32), transparent 30%),
    radial-gradient(circle at 80% 20%, rgba(56, 211, 159, 0.18), transparent 25%),
    linear-gradient(180deg, #071222 0%, #04070d 100%);
}

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 18px 16px 10px;
  backdrop-filter: blur(18px);
}

.home-page .topbar {
  position: absolute;
  right: 0;
  left: 0;
  padding: 20px clamp(24px, 6.8vw, 120px) 0;
  backdrop-filter: none;
}

.nav-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100%, var(--max-width));
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(7, 16, 29, 0.78);
  box-shadow: var(--shadow);
}

.home-page .nav-pill {
  width: min(100%, var(--max-width));
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.brand-group {
  min-width: 0;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: clamp(46px, 4.4vw, 64px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.24));
}

.brand-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.brand {
  font-family: "Lobster Two Local", "Lobster Two", Georgia, serif;
  font-size: clamp(2.2rem, 3.05vw, 3.35rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: lowercase;
}

.brand-slogan {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.1vw, 30px);
}

.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.02rem;
  font-weight: 700;
}

.nav-pill > a:not(.brand),
.admin-link {
  color: var(--muted);
}

.admin-link {
  display: none;
}

.search-link {
  width: 24px;
  height: 24px;
}

.search-link::before,
.search-link::after {
  content: "";
  position: absolute;
  display: block;
}

.search-link::before {
  inset: 2px 6px 6px 2px;
  border: 3px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
}

.search-link::after {
  right: 1px;
  bottom: 2px;
  width: 12px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  transform: rotate(45deg);
  transform-origin: center;
}

.section,
.footer,
.messages {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 72px 0;
}

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0;
  padding: clamp(150px, 20vh, 240px) clamp(24px, 8vw, 150px) clamp(96px, 14vh, 150px);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: #071222;
}

.hero-reel,
.hero-media,
.concept-layer,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-reel {
  overflow: hidden;
  background: #071222;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1800ms ease, transform 9000ms ease;
}

.hero-media.is-active {
  opacity: 1;
  transform: scale(1.01);
}

.concept-layer {
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.72;
  mix-blend-mode: screen;
}

.hero-overlay {
  z-index: 2;
  background:
    radial-gradient(circle at 20% 18%, rgba(110, 185, 255, 0.16), transparent 28%),
    radial-gradient(circle at 78% 26%, rgba(56, 211, 159, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(3, 8, 14, 0.62) 0%, rgba(3, 8, 14, 0.46) 42%, rgba(3, 8, 14, 0.66) 100%),
    rgba(6, 17, 31, 0.16);
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  width: min(100%, 1600px);
  margin: 0 auto;
  text-align: center;
}

.concept-word {
  position: absolute;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.66);
  background: rgba(4, 9, 16, 0.22);
  font-size: clamp(0.64rem, 0.8vw, 0.82rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
  animation: conceptDrift 12s ease-in-out infinite alternate;
}

.concept-word-wood {
  top: 24%;
  left: 8%;
}

.concept-word-concrete {
  right: 9%;
  bottom: 30%;
  animation-delay: -4s;
}

.concept-word-steel {
  left: 18%;
  bottom: 17%;
  animation-delay: -7s;
}

.concept-word-print {
  top: 18%;
  right: 18%;
  animation-delay: -2s;
}

.concept-word-ai {
  top: 45%;
  right: 7%;
  animation-delay: -9s;
}

.concept-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.42), transparent);
  transform-origin: center;
  animation: conceptPulse 8s ease-in-out infinite;
}

.concept-line-a {
  top: 33%;
  left: 5%;
  width: 28vw;
  transform: rotate(-11deg);
}

.concept-line-b {
  right: 4%;
  bottom: 22%;
  width: 24vw;
  transform: rotate(14deg);
  animation-delay: -3s;
}

.concept-corner {
  position: absolute;
  width: clamp(80px, 10vw, 150px);
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.34);
  opacity: 0.65;
}

.concept-corner-a {
  top: 19%;
  left: 28%;
  border-top: 1px solid;
  border-left: 1px solid;
}

.concept-corner-b {
  right: 20%;
  bottom: 19%;
  border-right: 1px solid;
  border-bottom: 1px solid;
}

@keyframes conceptDrift {
  from {
    translate: 0 0;
  }

  to {
    translate: 0 -10px;
  }
}

@keyframes conceptPulse {
  0%,
  100% {
    opacity: 0.18;
  }

  45% {
    opacity: 0.7;
  }
}

.narrow {
  max-width: 900px;
}

.eyebrow,
.card-label {
  display: inline-block;
  margin: 0 0 14px;
  color: var(--yellow);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 1600px;
  margin-bottom: 26px;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.45rem, 4.4vw, 5.1rem);
  line-height: 1.08;
  font-weight: 760;
}

h2 {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: clamp(1.75rem, 3.1vw, 2.7rem);
  line-height: 1.08;
}

h3 {
  font-size: 1.25rem;
}

p {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1rem;
}

.hero h1 {
  font-size: clamp(3.1rem, 5.8vw, 6.8rem);
  line-height: 1.04;
  font-weight: 800;
}

.hero-copy {
  max-width: 1100px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.08rem, 1.34vw, 1.55rem);
  line-height: 1.68;
  text-wrap: balance;
}

.hero-subtitle {
  max-width: 1180px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.15rem, 1.5vw, 1.7rem);
  font-weight: 500;
  line-height: 1.42;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 78px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: #06111f;
  background: linear-gradient(135deg, var(--blue), var(--green));
}

.button-secondary {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.05);
}

.button-outline {
  min-width: 120px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 0;
  color: #fff;
  background: rgba(0, 0, 0, 0.08);
  font-size: 1.1rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(260px, 0.8fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.split-section,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 1fr);
  gap: 42px;
  align-items: start;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.card,
.contact-form,
.statement-card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(15, 30, 52, 0.86), rgba(9, 18, 32, 0.92));
  box-shadow: var(--shadow);
}

.statement-card {
  min-height: auto;
  padding: clamp(28px, 5vw, 56px);
}

.statement-card h2 {
  max-width: 820px;
}

.statement-card p {
  max-width: 760px;
}

.muted-card {
  background: linear-gradient(180deg, rgba(32, 37, 46, 0.86), rgba(13, 19, 30, 0.92));
}

.cta-card {
  background:
    radial-gradient(circle at 80% 20%, rgba(56, 211, 159, 0.2), transparent 34%),
    linear-gradient(180deg, rgba(15, 30, 52, 0.96), rgba(9, 18, 32, 0.96));
}

.text-link {
  color: var(--green);
  font-weight: 800;
}

.identity-section {
  display: grid;
  gap: 28px;
}

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

.identity-card {
  min-height: 240px;
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 20px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(7, 16, 29, 0.56);
}

.identity-card h3 {
  margin-bottom: 12px;
}

.identity-card p:last-child {
  margin-bottom: 0;
  font-size: 0.96rem;
  line-height: 1.62;
}

.portfolio-page {
  display: grid;
  gap: 70px;
}

.portfolio-intro {
  max-width: 980px;
}

.portfolio-intro p {
  max-width: 780px;
}

.portfolio-block {
  display: grid;
  gap: 26px;
}

.website-design-section {
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.website-offer {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(280px, 1fr);
  gap: 24px;
  align-items: start;
}

.website-offer h3 {
  margin-bottom: 10px;
}

.website-offer ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.website-offer li {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.045);
}

.website-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.website-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(15, 30, 52, 0.8), rgba(9, 18, 32, 0.9));
  box-shadow: var(--shadow);
}

.website-card-image {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.website-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.website-card > div {
  padding: 22px;
}

.website-card h3 {
  margin-bottom: 10px;
}

.website-card p:not(.card-label) {
  font-size: 0.96rem;
  line-height: 1.62;
}

.website-cta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 22px;
  border: 1px solid rgba(56, 211, 159, 0.24);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(56, 211, 159, 0.12), rgba(110, 185, 255, 0.08));
}

.website-cta p {
  max-width: 620px;
  margin-bottom: 0;
}

.portfolio-study {
  display: grid;
  gap: 40px;
}

.study-intro {
  max-width: 940px;
}

.study-intro h1 {
  max-width: 980px;
}

.study-disclaimer {
  max-width: 760px;
  margin: 24px 0 0;
  padding-left: 18px;
  border-left: 3px solid rgba(242, 212, 107, 0.7);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.95rem;
}

.study-origin {
  max-width: 980px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(56, 211, 159, 0.09), transparent 38%),
    rgba(255, 255, 255, 0.035);
}

.study-origin h2 {
  max-width: 760px;
  margin-bottom: 18px;
}

.study-origin p:not(.eyebrow) {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.78);
}

.study-origin p:last-child {
  margin-bottom: 0;
}

.study-gallery {
  display: grid;
  gap: 24px;
}

.gallery-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(4, 8, 18, 0.68);
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 9;
}

.gallery-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-controls {
  position: absolute;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(4, 8, 18, 0.72);
  backdrop-filter: blur(14px);
}

.gallery-button {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-counter {
  min-width: 72px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  text-align: center;
}

.gallery-copy {
  display: grid;
  max-width: 780px;
  gap: 8px;
}

.gallery-copy h2 {
  margin-bottom: 2px;
  font-size: clamp(1.65rem, 2.4vw, 2.35rem);
}

.gallery-copy p:last-child {
  max-width: 760px;
  margin-bottom: 0;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 10px;
}

.gallery-thumb {
  overflow: hidden;
  height: 76px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  opacity: 0.64;
  transition: opacity 160ms ease, transform 160ms ease, border-color 160ms ease;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: rgba(56, 211, 159, 0.75);
  opacity: 1;
  transform: translateY(-1px);
}

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

.ip-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(300px, 0.72fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
  padding-top: 22px;
}

.ip-section h2 {
  max-width: 720px;
}

.ip-section p {
  max-width: 760px;
}

.ip-steps {
  display: grid;
  gap: 14px;
}

.ip-steps div {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(15, 30, 52, 0.76), rgba(9, 18, 32, 0.84));
}

.ip-steps span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--yellow);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.ip-steps h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.ip-steps p {
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.58;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form p {
  display: grid;
  gap: 8px;
  margin: 0;
}

.contact-form .trap-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form label {
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  background: rgba(4, 8, 18, 0.8);
}

.contact-form input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--green);
}

.contact-form .checkbox-field {
  grid-template-columns: 20px 1fr;
  column-gap: 12px;
  align-items: start;
}

.contact-form .checkbox-field label {
  grid-column: 2;
  grid-row: 1;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-form .checkbox-field input {
  grid-column: 1;
  grid-row: 1;
}

.field-help,
.field-error {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.field-help {
  grid-column: 2;
}

.appointment-form .field-help {
  grid-column: 1;
}

.appointment-form .appointment-privacy {
  display: block;
}

.appointment-date-control {
  position: relative;
  display: block;
}

.appointment-date-control input[type="date"] {
  color-scheme: dark;
  cursor: pointer;
  font: inherit;
  min-height: 44px;
}

.appointment-date-control input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  cursor: pointer;
  background-position: right 14px center;
  background-size: 18px 18px;
}

.field-help a,
.legal-page a {
  color: var(--green);
  font-weight: 800;
}

.field-error {
  color: #ffb4a8;
}

.legal-page {
  max-width: 920px;
}

.legal-page h1 {
  max-width: 900px;
  font-size: clamp(2.25rem, 4vw, 3.8rem);
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--border);
}

.legal-section h2 {
  margin-bottom: 16px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.legal-section p {
  max-width: 780px;
  line-height: 1.8;
}

.messages {
  padding-top: 12px;
}

.messages p {
  padding: 14px 18px;
  border: 1px solid rgba(56, 211, 159, 0.35);
  border-radius: 16px;
  background: rgba(56, 211, 159, 0.12);
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 48px 0 64px;
  color: var(--muted);
}

@media (max-width: 860px) {
  .home-page .topbar {
    padding: 18px 20px 0;
  }

  .home-page .nav-pill {
    align-items: flex-start;
    gap: 16px;
  }

  .brand {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .brand-lockup {
    gap: 10px;
  }

  .brand-mark {
    width: clamp(42px, 12vw, 54px);
  }

  .brand-slogan {
    font-size: 0.88rem;
  }

  .nav-links {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .nav-links a {
    font-size: 0.98rem;
  }

  .search-link {
    width: 23px;
    height: 23px;
  }

  .hero {
    min-height: 92vh;
    padding: 150px 22px 76px;
  }

  .concept-layer {
    opacity: 0.42;
  }

  .concept-word-concrete,
  .concept-word-steel,
  .concept-corner-a {
    display: none;
  }

  .hero-content {
    align-content: center;
  }

  h1 {
    font-size: clamp(2.2rem, 8.5vw, 3.75rem);
  }

  .hero h1 {
    font-size: clamp(2.65rem, 10vw, 4.55rem);
  }

  .hero-copy {
    font-size: 1.06rem;
  }

  .hero-subtitle {
    font-size: 1.12rem;
  }

  .hero-actions {
    margin-top: 44px;
  }

  .section-heading,
  .split-section,
  .contact-layout,
  .card-grid,
  .identity-grid,
  .website-offer,
  .website-grid,
  .ip-section {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 52px 0;
  }

  .gallery-stage {
    border-radius: 18px;
  }

  .gallery-controls {
    right: 12px;
    bottom: 12px;
  }

  .gallery-thumbs {
    grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  }

  .gallery-thumb {
    height: 64px;
  }

  .website-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .home-page .nav-pill {
    display: grid;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero {
    min-height: 100vh;
    padding-top: 185px;
  }

  h1 {
    margin-bottom: 22px;
  }

  .hero-subtitle {
    margin-bottom: 28px;
  }
}

/* Portfolio-first layout; existing editorial content remains on detail pages. */
body { background: linear-gradient(165deg, #101d29 0%, #081316 48%, #04070d 100%); }
h1, h2, h3, p, .eyebrow, .card-label, .concept-word { letter-spacing: 0; }
h1 { font-size: 44px; line-height: 1.16; max-width: 900px; font-weight: 650; }
h2 { font-size: 30px; line-height: 1.25; font-weight: 600; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 600; }
.topbar { background: transparent; backdrop-filter: blur(12px); }
.nav-pill { border: 1px solid var(--border); border-radius: 999px; box-shadow: var(--shadow); background: rgba(7,16,29,.65); padding: 14px 24px; gap: 32px; }
.brand { font-size: 38px; }
.brand-mark { width: 52px; }
.brand-slogan { font-size: 12px; max-width: 330px; }
.nav-links { gap: 24px; flex-wrap: wrap; }
.nav-links a { font-size: 14px; font-weight: 500; padding: 8px 0; }
.nav-links a:hover, .nav-links a:focus-visible, .nav-links a[aria-current] { color: var(--green); }
.home-page .topbar { padding: 26px 32px; background: transparent; backdrop-filter: none; }
.home-page .hero { min-height: 100svh; padding: 180px 32px 100px; }
.hero h1 { max-width: 840px; font-size: 52px; font-weight: 650; line-height: 1.15; }
.hero-subtitle { max-width: 640px; font-size: 18px; line-height: 1.65; margin: 0; }
.hero-actions { margin-top: 28px; }
.hero-copy { font-size: 18px; }
.hero-overlay { background: linear-gradient(180deg, rgba(3,8,14,.48), rgba(3,8,14,.34) 55%, rgba(3,8,14,.64)); }
.concept-word { font-size: 11px; border: 0; border-radius: 0; background: none; }
.reel-toggle { position: absolute; right: 28px; bottom: 24px; z-index: 4; width: 42px; height: 42px; border: 1px solid #ffffff60; border-radius: 50%; background: #10171980; color: white; cursor: pointer; }
.button { border-radius: 999px; font-weight: 600; font-size: 15px; }
.button-outline { border-radius: 0; }
.button-primary { background: linear-gradient(135deg, var(--blue), var(--green)); color: #06111f; }
.section { padding-top: 64px; padding-bottom: 64px; }
.section-heading { align-items: center; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 48px 28px; }
.featured-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
.project-card { min-width: 0; }
.project-image-link { display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 20px; margin-bottom: 20px; background: transparent; }
.project-image-link img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .3s ease; }
.project-image-link:hover img { transform: scale(1.025); }
.app-preview-link { background: #151718; }
.app-preview-link img { object-fit: contain; object-position: center; padding: 12px; }
.app-project { display: grid; gap: 36px; }
.app-download { border-top: 1px solid var(--border); padding-top: 28px; }
.app-download .study-disclaimer { margin: 24px 0; }
.download-checksum { color: var(--muted); max-width: 760px; font-size: 13px; }
.download-checksum summary { cursor: pointer; }
.download-checksum code { display: block; overflow-wrap: anywhere; padding-top: 12px; }
.app-previews figure { margin: 0; min-width: 0; }
.app-previews img { display: block; width: 100%; height: auto; border-radius: 8px; }
.app-previews figcaption { margin-top: 14px; color: var(--muted); font-size: 13px; line-height: 1.6; }
.app-compact-shot { max-width: 970px; margin: 0; }
.app-overview { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1fr); gap: 48px; margin-top: 48px; align-items: center; }
.app-overview ul { padding-left: 20px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
@media (max-width: 860px) { .app-overview { grid-template-columns: minmax(0,1fr); gap: 28px; } .app-overview figure { max-width: 520px; } }
.project-card .card-label { margin-bottom: 8px; font-size: 11px; color: #88d6c2; }
.project-card h3 { margin-bottom: 8px; }
.project-card p:last-child { margin: 0; font-size: 14px; }
.portfolio-page { gap: 32px; }
.portfolio-intro p { max-width: 640px; }
.portfolio-filters, .study-group-nav { display: flex; gap: 24px; flex-wrap: wrap; border-bottom: 1px solid var(--border); }
.portfolio-filters a, .study-group-nav a { font-size: 14px; padding: 12px 0; border-bottom: 2px solid transparent; }
.portfolio-filters a[aria-current], .portfolio-filters a:hover { color: #8de1ca; border-color: currentColor; }
.portfolio-next { border-top: 1px solid var(--border); margin-top: 24px; padding-top: 40px; }
.identity-grid { gap: 24px; }
.identity-card { padding: 16px 0; min-height: 0; border: 0; border-radius: 0; background: none; }
.home-contact { border: 0; }
.home-contact p, .home-contact h2 { max-width: 720px; }
.services-page > .section { width: 100%; padding: 48px 0; border-top: 1px solid var(--border); }
.services-page > .section[id] { scroll-margin-top: 140px; }
.services-page > header { margin-bottom: 40px; }
.service-shortcuts { display: flex; flex-wrap: wrap; gap: 12px 24px; padding: 0 0 28px; }
.service-shortcuts a { font-size: 14px; padding: 8px 0; color: var(--muted); border-bottom: 1px solid var(--border); }
.service-shortcuts a:hover, .service-shortcuts a:focus-visible { color: var(--green); border-color: currentColor; }
.contact-form .topic-question[hidden] { display: none; }
.services-page .statement-card { padding: 0; background: none; border: 0; box-shadow: none; }
.services-page .card { min-height: 0; border: 0; border-radius: 0; background: none; box-shadow: none; padding: 20px 0; }
.services-page .card-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
.services-page .website-design-section { padding: 40px 0; }
.print-service-photo { display: block; max-width: 100%; height: auto; border-radius: 14px; }
.website-offer li { background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 12px 0; }
.website-project { display: grid; gap: 28px; }
.website-project-preview { display: block; max-width: 100%; width: 100%; height: auto; border-radius: 20px; }
.project-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.study-origin { max-width: none; padding: 28px 0; border: 0; border-top: 1px solid var(--border); border-radius: 0; background: none; }
.study-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px 24px; }
.study-tile { min-width: 0; }
.study-tile a { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 18px; margin-bottom: 18px; }
.study-tile img { display: block; width: 100%; height: 100%; object-fit: contain; background: #090e10; }
.study-tile .card-label { font-size: 11px; margin-bottom: 8px; }
.study-tile p { font-size: 14px; }
.study-group { scroll-margin-top: 130px; }
.study-lightbox { width: min(1100px,calc(100% - 24px)); max-height: 92svh; overflow: auto; padding: 20px; border: 1px solid var(--border); border-radius: 6px; color: var(--text); background: #101719; }
.study-lightbox::backdrop { background: #000c; }
.lightbox-toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.lightbox-toolbar button { width: 42px; height: 42px; color: white; background: none; border: 1px solid var(--border); border-radius: 4px; font-size: 22px; cursor: pointer; }
.lightbox-toolbar button:last-child { margin-left: auto; }
.lightbox-image { display: block; width: 100%; height: min(60svh,650px); object-fit: contain; margin-bottom: 20px; }
.study-lightbox h2 { font-size: 24px; }
.ip-steps div { border-radius: 6px; background: none; }
.about-background { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--border); }
.about-intro { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,.85fr); grid-template-areas: "heading portrait" "bio portrait"; gap: 16px 64px; align-items: start; }
.about-heading { grid-area: heading; }
.about-heading h1 { margin-bottom: 8px; }
.about-bio { grid-area: bio; }
.about-bio .hero-copy { font-size: 17px; line-height: 1.85; margin-bottom: 0; }
.about-portrait { grid-area: portrait; position: relative; width: min(100%,320px); justify-self: center; margin: 12px 0 0; min-width: 0; align-self: center; }
.about-portrait::before { content: ""; position: absolute; top: -12px; left: -12px; width: 58px; height: 58px; border-top: 1px solid rgba(56,211,159,.55); border-left: 1px solid rgba(56,211,159,.55); pointer-events: none; }
.portrait-art { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 8px; mask-image: linear-gradient(to bottom, #000 70%, transparent 100%); }
.portrait-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 48% 25%; filter: grayscale(1) contrast(1.04) brightness(.76); }
.portrait-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(56,211,159,.12), transparent 55%, rgba(110,185,255,.1)); mix-blend-mode: multiply; pointer-events: none; }
.about-portrait figcaption { position: relative; margin-top: -10px; padding-left: 16px; border-left: 2px solid rgba(56,211,159,.65); font-size: 14px; line-height: 1.6; }
.about-portrait figcaption span { display: block; color: var(--muted); font-size: 12px; }
.about-page .about-background { max-width: 780px; margin-top: 64px; }
@media (max-width: 860px) {
  .about-intro { grid-template-columns: minmax(0,1fr); grid-template-areas: "heading" "portrait" "bio"; gap: 28px; }
  .about-portrait { width: min(100% - 32px,280px); margin: 0 auto 12px; }
  .portrait-art { aspect-ratio: 6 / 5; }
  .portrait-art img { object-position: 48% 24%; }
  .about-heading h1 { margin-bottom: 0; }
}
.hero-scroll-cue { display: grid; place-items: center; width: 52px; height: 64px; margin: 24px auto 0; color: #fff; text-decoration: none; border-radius: 4px; }
.hero-scroll-cue span { display: block; font-size: 42px; line-height: 1; animation: hero-scroll-invite 1.6s ease-in-out 3; }
.hero-scroll-cue:hover { color: #8de1ca; }
@keyframes hero-scroll-invite { 0%,100% { transform: translateY(-4px); opacity: .65; } 50% { transform: translateY(5px); opacity: 1; } }
.home-intro { padding-bottom: 20px; scroll-margin-top: 120px; }
.home-intro:focus { outline: none; }
@media (max-width: 600px) { .home-intro { scroll-margin-top: 16px; } }
.home-intro h2 { font-size: 28px; margin-bottom: 12px; }
.home-intro > p:not(.eyebrow) { max-width: 660px; font-size: 16px; line-height: 1.75; }
.home-intro .text-link { font-size: 14px; }
.home-services { padding-top: 28px; }
.home-services > h2 { font-size: 24px; margin-bottom: 24px; }
.home-service-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 28px; }
.home-service { min-width: 0; }
.home-service-image { display: block; aspect-ratio: 2 / 1; overflow: hidden; border-radius: 8px; margin-bottom: 18px; }
.home-service-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-service h3 { font-size: 19px; margin: 0 0 8px; }
.home-service h3 a { color: inherit; text-decoration: none; }
.home-service p { font-size: 14px; line-height: 1.75; margin: 0; color: var(--muted); }
.home-services-all { display: inline-block; margin-top: 28px; font-size: 15px; }
.home-services-all span { margin-left: 8px; }
@media (max-width: 700px) {
  .home-service-grid { grid-template-columns: 1fr; gap: 28px; }
  .home-service { display: grid; grid-template-columns: 112px minmax(0,1fr); column-gap: 18px; align-items: start; }
  .home-service-image { grid-row: span 2; aspect-ratio: 1; margin: 0; }
  .home-service h3 { font-size: 18px; }
  .home-service p { font-size: 14px; }
}
@media (max-width: 380px) {
  .home-service { grid-template-columns: 88px minmax(0,1fr); column-gap: 14px; }
}
.room-comparison { max-width: 960px; margin: 32px 0; }
.room-comparison-stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: #152023; }
.room-comparison-stage > img { display: block; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.room-comparison-before { clip-path: inset(0 calc(100% - var(--before)) 0 0); }
.room-comparison-label { position: absolute; top: 16px; padding: 6px 10px; border-radius: 4px; background: #081316e6; color: #fff; font-size: 12px; pointer-events: none; }
.room-comparison-label-before { left: 16px; }
.room-comparison-label-after { right: 16px; }
.room-comparison-divider { position: absolute; top: 0; bottom: 0; left: var(--before); width: 2px; background: #fff; transform: translateX(-50%); pointer-events: none; }
.room-comparison-divider > span { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: #10231d; font-size: 24px; box-shadow: 0 2px 12px #0005; }
.room-comparison-range { appearance: none; -webkit-appearance: none; position: absolute; inset: 0 auto 0 -22px; width: calc(100% + 44px); height: 100%; margin: 0; padding: 0; border: 0; background: transparent; cursor: ew-resize; touch-action: pan-y; }
.room-comparison-range::-webkit-slider-runnable-track { height: 100%; background: transparent; }
.room-comparison-range::-webkit-slider-thumb { -webkit-appearance: none; width: 44px; height: 100%; background: transparent; border: 0; }
.room-comparison-range::-moz-range-track { height: 100%; background: transparent; }
.room-comparison-range::-moz-range-thumb { width: 44px; height: 100%; background: transparent; border: 0; border-radius: 0; }
.room-comparison-range:focus-visible { outline: none; }
.room-comparison-stage:focus-within { outline: 2px solid #8de1ca; outline-offset: 4px; }
.room-comparison figcaption { margin-top: 14px; max-width: 760px; font-size: 13px; line-height: 1.7; color: var(--muted); }
.room-comparison figcaption strong { display: block; color: var(--text); font-weight: 500; }
@media (max-width: 600px) {
  .room-comparison-label { top: 10px; font-size: 10px; padding: 5px 7px; }
  .room-comparison-label-before { left: 10px; }
  .room-comparison-label-after { right: 10px; }
}
.back-to-top { position: fixed; right: max(20px,env(safe-area-inset-right)); bottom: max(20px,env(safe-area-inset-bottom)); z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #8de1ca70; border-radius: 50%; background: #0b1c20f2; color: #8de1ca; box-shadow: 0 4px 18px #0004; cursor: pointer; }
.back-to-top[hidden] { display: none; }
.back-to-top span { font-size: 25px; line-height: 1; }
.back-to-top:hover { background: #163239; color: #fff; }
#page-top:focus { outline: none; }
:focus-visible { outline: 2px solid #8de1ca; outline-offset: 5px; }
@media (max-width: 1100px) {
  .nav-pill, .home-page .nav-pill { flex-direction: column; align-items: flex-start; gap: 16px; }
  .nav-links { gap: 24px; justify-content: flex-start; }
  .identity-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .featured-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .study-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .topbar { position: relative; padding: 16px; }
  .home-page .topbar { padding: 18px 20px; }
  .brand { font-size: 34px; }
  .brand-mark { width: 44px; }
  .brand-slogan { font-size: 11px; }
  .nav-links { gap: 10px 18px; }
  .nav-links a { font-size: 13px; }
  .home-page .hero { min-height: 100svh; padding: 190px 22px 70px; }
  .hero h1 { font-size: 34px; }
  .hero-subtitle { font-size: 16px; }
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .section { padding-top: 44px; padding-bottom: 44px; }
  .section-heading, .split-section, .project-grid, .featured-grid, .study-grid, .services-page .card-grid { grid-template-columns: 1fr; }
  .section-heading { gap: 8px; }
  .identity-grid { grid-template-columns: 1fr; }
  .portfolio-filters, .study-group-nav { gap: 16px; }
  .portfolio-study { gap: 28px; }
  .study-group { scroll-margin-top: 16px; }
  .services-page > .section[id] { scroll-margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
