: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: 100%;
  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 label {
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.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;
}

.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;
  }
}
