@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap");

:root {
  --bg: #080807;
  --panel: #11100e;
  --panel-2: #181511;
  --ink: #f7efe2;
  --muted: #b8aa96;
  --line: rgba(255, 255, 255, 0.14);
  --line-strong: rgba(255, 255, 255, 0.28);
  --brand: #ff4d18;
  --brand-2: #f5b45c;
  --dark-red: #6f0606;
  --white: #ffffff;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --content: min(1540px, calc(100% - 64px));
  --content-narrow: min(1180px, calc(100% - 64px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 77, 24, 0.18), transparent 34rem),
    radial-gradient(circle at 90% 8%, rgba(245, 180, 92, 0.12), transparent 30rem),
    linear-gradient(180deg, #0c0b09 0%, #080807 46%, #100d0b 100%);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.6;
  min-width: 320px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, #000, transparent 75%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 22px;
  pointer-events: none;
}

.nav-wrap {
  width: var(--content);
  min-height: 76px;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(10, 9, 8, 0.76);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.logo {
  width: 132px;
  min-height: 54px;
  padding: 6px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
}

.logo img {
  width: 86px;
  height: auto;
  display: block;
}

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.site-nav a,
.call-btn,
.button,
button {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
  text-align: center;
}

.site-nav a {
  min-height: 52px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: rgba(247, 239, 226, 0.84);
  font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.call-btn,
.button,
button {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  background: linear-gradient(135deg, var(--brand), #9c0b0b);
  color: var(--white);
  box-shadow: 0 16px 36px rgba(255, 77, 24, 0.22);
}

.call-btn {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.hero {
  min-height: clamp(700px, 84svh, 900px);
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  padding: 116px 32px 72px;
}

.hero::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.92) 0%, rgba(8, 8, 7, 0.58) 42%, rgba(8, 8, 7, 0.22) 100%),
    linear-gradient(0deg, rgba(8, 8, 7, 0.95), rgba(8, 8, 7, 0.08) 42%, rgba(8, 8, 7, 0.7)),
    var(--hero-image) center calc(50% + var(--parallax-y, 0px)) / cover no-repeat;
  transform: scale(1.02);
  will-change: background-position;
}

.hero::after,
.page-hero::after,
.portfolio-intro::after,
.clone-intro::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 220px;
  z-index: -1;
  background: linear-gradient(0deg, var(--bg), transparent);
}

.hero-content {
  width: var(--content);
  margin: 0 auto;
  color: var(--ink);
}

.hero h1,
.page-hero h1,
.portfolio-intro h1,
.clone-intro h1,
.project-meta h1 {
  margin: 0;
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-weight: 700;
  line-height: 0.95;
}

.hero h1 {
  max-width: 1180px;
  font-size: clamp(58px, 8vw, 132px);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.hero p {
  max-width: 720px;
  margin: 26px 0 34px;
  color: rgba(247, 239, 226, 0.86);
  font-size: clamp(20px, 2.2vw, 30px);
  line-height: 1.24;
  font-weight: 700;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 58px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  box-shadow: none;
}

.home-band {
  position: relative;
  isolation: isolate;
  min-height: clamp(620px, 70svh, 780px);
  display: grid;
  align-items: center;
  padding: 88px 32px;
  overflow: hidden;
}

.home-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8, 8, 7, 0.9), rgba(8, 8, 7, 0.5), rgba(8, 8, 7, 0.82)),
    var(--band-image) center calc(50% + var(--parallax-y, 0px)) / cover no-repeat;
  will-change: background-position;
}

.home-band::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 20% 50%, rgba(255, 77, 24, 0.18), transparent 34rem);
}

.projects-band {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.08), transparent 30%),
    var(--panel);
}

.projects-band::before {
  display: block;
  opacity: 0.18;
}

.home-band-copy {
  width: min(560px, 100%);
  margin-left: max(32px, calc((100% - 1540px) / 2));
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(13, 12, 10, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.projects-band .home-band-copy {
  margin-left: auto;
  margin-right: max(32px, calc((100% - 1540px) / 2));
}

.eyebrow,
.clone-kicker,
.portfolio-kicker {
  margin: 0 0 14px;
  color: var(--brand-2);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
}

.home-band-copy h2,
h2 {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: clamp(34px, 4.2vw, 62px);
  line-height: 1;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.home-band-copy p:not(.eyebrow),
p {
  color: var(--muted);
  font-size: 17px;
}

.home-band-copy p:not(.eyebrow) {
  margin: 0;
  color: rgba(247, 239, 226, 0.82);
  font-weight: 600;
}

.portfolio-page,
.clone-body,
.project-detail-body {
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 77, 24, 0.16), transparent 32rem),
    linear-gradient(180deg, #0a0908, #11100e);
}

.portfolio-intro,
.clone-intro {
  position: relative;
  min-height: 430px;
  padding: 150px 32px 58px;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.portfolio-inner,
.clone-intro {
  width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

.clone-intro {
  padding-left: 0;
  padding-right: 0;
}

.portfolio-intro h1,
.clone-intro h1 {
  max-width: 1040px;
  color: var(--ink);
  font-size: clamp(46px, 7vw, 96px);
  text-transform: uppercase;
}

.portfolio-copy,
.clone-intro p:not(.clone-kicker) {
  max-width: 660px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.portfolio-gallery-section,
.section {
  padding: 72px 32px;
}

.portfolio-gallery {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.project-link {
  position: relative;
  min-height: 360px;
  display: block;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--white);
  text-decoration: none;
  background: var(--panel-2);
  box-shadow: var(--shadow);
}

.project-link img,
.project-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 420ms ease, filter 420ms ease;
}

.project-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.82));
}

.project-link::after {
  content: attr(data-title);
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.project-link:hover img,
.project-link:focus-visible img {
  transform: scale(1.07);
  filter: saturate(1.12) contrast(1.08);
}

.services-clone,
.about-clone,
.contact-clone {
  min-height: auto;
  padding-bottom: 90px;
}

.service-row {
  width: var(--content);
  margin: 0 auto 26px;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 28px;
  align-items: stretch;
}

.service-row:nth-of-type(odd) {
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
}

.service-row img {
  width: 100%;
  min-height: clamp(430px, 34vw, 560px);
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.service-copy {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}

.service-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 77, 24, 0.7);
  border-radius: 50%;
  position: relative;
}

.service-icon::before,
.service-icon::after {
  content: "";
  position: absolute;
  background: var(--brand);
}

.service-icon::before {
  width: 25px;
  height: 2px;
  left: 13px;
  top: 25px;
}

.service-icon::after {
  width: 2px;
  height: 25px;
  left: 25px;
  top: 13px;
}

.service-copy h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.service-copy p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.about-build-image,
.about-vision img,
.contact-form-area img {
  display: block;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.about-build-image {
  width: var(--content);
  height: min(58vw, 620px);
  margin: 0 auto 70px;
}

.about-text-grid,
.about-vision,
.contact-form-area {
  width: var(--content);
  margin: 0 auto;
  display: grid;
  gap: 34px;
}

.about-text-grid {
  grid-template-columns: 0.82fr 1.18fr;
  margin-bottom: 34px;
}

.about-founder,
.about-values,
.about-vision > div,
.wix-like-form,
.contact-panel,
.service-card,
.value-card,
.project-card {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}

.about-text-grid h2,
.about-text-grid h3,
.about-vision h2 {
  margin: 0 0 18px;
  color: var(--ink);
  font-family: "Space Grotesk", Inter, Arial, sans-serif;
  line-height: 1;
}

.about-text-grid h2,
.about-vision h2 {
  font-size: clamp(32px, 4vw, 58px);
}

.about-text-grid h3 {
  margin-top: 28px;
  color: var(--brand-2);
  font-size: 22px;
}

.about-text-grid h3:first-child {
  margin-top: 0;
}

.about-text-grid p,
.about-vision p:not(.clone-kicker) {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.about-vision {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: stretch;
}

.about-vision img {
  width: 100%;
  height: 100%;
  min-height: 500px;
}

.contact-form-area {
  grid-template-columns: 0.78fr 1.22fr;
  align-items: stretch;
}

.contact-form-area img {
  width: 100%;
  height: 100%;
  min-height: 560px;
}

.wix-like-form {
  display: grid;
  gap: 20px;
  align-content: center;
}

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

label {
  display: grid;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--ink);
  padding: 14px 15px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(255, 77, 24, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 77, 24, 0.18);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button {
  min-height: 54px;
  padding: 0 24px;
  border: 0;
  cursor: pointer;
}

.form-note {
  display: none;
  margin: 0;
  color: var(--brand-2);
  font-weight: 800;
}

.project-detail-page {
  width: var(--content);
  margin: 0 auto;
  padding: 150px 0 80px;
}

.project-detail-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 34px;
  align-items: stretch;
  margin-bottom: 42px;
}

.project-meta,
.project-description {
  margin: 0;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(255,255,255,0.08), rgba(255,255,255,0.025));
}

.project-meta h1 {
  margin-bottom: 32px;
  color: var(--ink);
  font-size: clamp(44px, 6vw, 88px);
  text-transform: uppercase;
  overflow-wrap: anywhere;
}

.project-meta h2 {
  margin: 22px 0 6px;
  color: var(--brand-2);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.project-meta p,
.project-description {
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.project-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.project-detail-gallery img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-2);
  cursor: zoom-in;
  transition: transform 220ms ease, filter 220ms ease;
}

.project-detail-gallery img:hover,
.project-detail-gallery img:focus {
  transform: translateY(-3px);
  filter: saturate(1.1) contrast(1.06);
  outline: none;
  border-color: rgba(255, 77, 24, 0.7);
}

.project-nav {
  margin: 34px 0 0;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.project-nav a {
  min-height: 52px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  background: rgba(255,255,255,0.06);
}

.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, 0.9);
}

.project-lightbox.is-open {
  display: flex;
}

.project-lightbox-image {
  max-width: 96vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.6);
}

.project-lightbox-close {
  position: fixed;
  top: 20px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.62);
  color: var(--white);
  font-size: 28px;
  line-height: 1;
}

.project-lightbox-open {
  overflow: hidden;
}

.site-footer,
.portfolio-footer {
  border-top: 1px solid var(--line);
  background: rgba(8, 8, 7, 0.92);
}

.footer-inner,
.portfolio-footer-inner {
  width: var(--content);
  margin: 0 auto;
  padding: 54px 0 28px;
}

.footer-main,
.portfolio-footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 30px;
  align-items: start;
}

.footer-logo,
.portfolio-footer-logo {
  width: min(360px, 100%);
  height: auto;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.92);
}

.footer-label,
.portfolio-footer-label {
  margin: 0 0 12px;
  color: var(--brand-2);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.footer-main p,
.portfolio-footer-contact p {
  margin: 0 0 8px;
}

.social-icon {
  width: 38px;
  height: 38px;
}

.copyright,
.portfolio-copyright {
  grid-column: 1 / -1;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.up-link {
  text-decoration: none;
  font-weight: 800;
}

@media (max-width: 980px) {
  :root {
    --content: min(100% - 28px, 760px);
    --content-narrow: min(100% - 28px, 760px);
  }

  .site-header {
    position: absolute;
    top: 0;
    padding: 14px;
  }

  .nav-wrap {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .site-nav a {
    min-height: 44px;
    padding: 0 8px;
    font-size: 13px;
  }

  .hero,
  .portfolio-intro,
  .clone-intro,
  .project-detail-page {
    padding-top: 148px;
  }

  .portfolio-gallery,
  .project-detail-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-row,
  .service-row:nth-of-type(odd),
  .about-text-grid,
  .about-vision,
  .contact-form-area,
  .project-detail-copy,
  .footer-main,
  .portfolio-footer-inner {
    grid-template-columns: 1fr;
  }

  .service-row:nth-of-type(odd) img {
    order: -1;
  }

  .about-vision img,
  .contact-form-area img,
  .service-row img {
    min-height: 360px;
  }
}

@media (max-width: 640px) {
  :root {
    --content: calc(100% - 24px);
    --content-narrow: calc(100% - 24px);
  }

  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    padding: 10px;
  }

  .nav-wrap {
    padding: 8px;
  }

  .logo {
    width: 112px;
  }

  .call-btn {
    margin-left: auto;
    min-height: 46px;
    padding: 0 14px;
    font-size: 13px;
  }

  .site-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero {
    min-height: 690px;
    padding: 154px 12px 48px;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(34px, 10.8vw, 48px);
    line-height: 1.02;
    max-width: 100%;
  }

  .hero p {
    max-width: 100%;
    font-size: clamp(17px, 5.1vw, 22px);
    line-height: 1.28;
    margin: 20px 0 24px;
  }

  .portfolio-intro,
  .clone-intro {
    min-height: 0;
    padding-top: 154px;
    padding-bottom: 44px;
  }

  .portfolio-intro h1,
  .clone-intro h1,
  .project-meta h1 {
    font-size: clamp(32px, 10vw, 44px);
    line-height: 1.04;
    max-width: 100%;
  }

  .portfolio-copy,
  .clone-intro p:not(.clone-kicker),
  .project-meta p,
  .project-description,
  .service-copy p,
  .about-text-grid p,
  .about-vision p:not(.clone-kicker) {
    font-size: 16px;
    line-height: 1.58;
  }

  .button-row,
  .project-nav,
  .copyright,
  .portfolio-copyright {
    flex-direction: column;
  }

  .button,
  .project-nav a {
    width: 100%;
  }

  .home-band,
  .portfolio-gallery-section,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .home-band {
    min-height: 0;
    padding-top: 68px;
    padding-bottom: 68px;
  }

  .home-band-copy,
  .projects-band .home-band-copy {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    padding: 26px;
  }

  .portfolio-inner,
  .clone-intro,
  .service-row,
  .about-build-image,
  .about-text-grid,
  .about-vision,
  .contact-form-area,
  .project-detail-page,
  .footer-inner,
  .portfolio-footer-inner {
    width: var(--content);
  }

  .portfolio-gallery,
  .project-detail-gallery,
  .field-row {
    grid-template-columns: 1fr;
  }

  .project-link {
    min-height: 300px;
  }

  .project-link::after {
    left: 18px;
    right: 18px;
    bottom: 18px;
    font-size: 24px;
  }

  .service-copy,
  .about-founder,
  .about-values,
  .about-vision > div,
  .wix-like-form,
  .project-meta,
  .project-description {
    padding: 26px;
  }

  .about-build-image,
  .about-vision img,
  .contact-form-area img,
  .service-row img {
    min-height: 280px;
    height: auto;
    aspect-ratio: 4 / 3;
  }
}
