:root {
  --og-black: #000;
  --og-ink: #fff;
  --og-muted: #9a9a9a;
  --og-line: #202020;
  --og-orange: #ff8a00;
  --og-panel: #070707;
  --container: min(1170px, calc(100% - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  background: var(--og-black);
  color: var(--og-ink);
  line-height: 1.6;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin: 0 auto; }
.main-slider h1,
h2,
.project-item strong,
.process-grid h3,
.testimonial-grid h3,
.modal-body h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.cursor-dot {
  position: fixed;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 50%;
  pointer-events: none;
  left: -40px;
  top: -40px;
  z-index: 200;
  transform: translate(-50%, -50%);
  transition: width .2s ease, height .2s ease;
}

.main-header {
  position: fixed;
  inset: 0 0 auto;
  height: 88px;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(18px);
}
.nav-shell {
  height: 88px;
  display: grid;
  grid-template-columns: 180px 1fr 170px;
  gap: 24px;
  align-items: center;
}
.brand img {
  width: 154px;
  height: 46px;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1) brightness(2.2);
}
.nav-menu {
  display: flex;
  justify-content: center;
  gap: 34px;
}
.nav-menu a {
  color: rgba(255,255,255,.86);
  font-size: 13px;
  font-weight: 700;
  transition: color .25s ease;
}
.nav-menu a:hover { color: var(--og-orange); }
.header-action,
.ogency-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 0;
  border: 0;
  background: var(--og-orange);
  color: #000;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
}
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.16);
  background: transparent;
  color: #fff;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

.main-slider {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000;
  padding-top: 88px;
}
.slider-track,
.slider-bg,
.slider-overlay {
  position: absolute;
  inset: 0;
}
.slider-bg {
  opacity: 0;
  background-position: center;
  background-size: cover;
  filter: grayscale(.25) contrast(1.04) brightness(.86);
  transform: scale(1.06);
  transition: opacity 1.2s ease;
  animation: heroDrift 18s ease-in-out infinite alternate;
}
.slider-bg.active { opacity: 1; }
.slider-overlay {
  background:
    radial-gradient(circle at 52% 45%, rgba(255,138,0,.12), transparent 18%),
    linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.24), rgba(0,0,0,.62)),
    linear-gradient(0deg, rgba(0,0,0,.82) 0%, transparent 46%, rgba(0,0,0,.52) 100%);
}
.slider-content {
  position: relative;
  z-index: 2;
  text-align: center;
}
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}
.slider-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--og-orange);
}
.main-slider h1 {
  max-width: 1120px;
  margin: 0 auto;
  color: #fff;
  font-size: clamp(3.9rem, 8.8vw, 9rem);
  line-height: .88;
  letter-spacing: -.035em;
  font-weight: 700;
  text-transform: uppercase;
  animation: heroTitleIn 1.15s cubic-bezier(.16,1,.3,1) both .18s;
  text-shadow: 0 18px 52px rgba(0,0,0,.32);
}
.hero-video {
  display: inline-grid;
  place-items: center;
  width: clamp(92px, 10vw, 152px);
  height: .72em;
  margin: 0 .12em;
  border-radius: 999px;
  overflow: hidden;
  vertical-align: middle;
  position: relative;
}
.hero-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) brightness(.86);
}
.hero-video span {
	position: absolute;
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: var(--og-orange);
	color: #000;
	font-size: 10px;
	letter-spacing: 0;
}
.hero-video span::before {
	content: "\2198";
	width: 0;
	height: 0;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
	border-left: 11px solid #000;
	transform: translateX(2px);
}
.hero-arrow {
	display: inline-grid;
	place-items: center;
  width: .72em;
  height: .72em;
  margin-left: .08em;
  border-radius: 50%;
  background: var(--og-orange);
  color: #000;
  font-size: .45em;
  vertical-align: middle;
	letter-spacing: 0;
}
.hero-arrow::before {
	content: "↘";
}

.sliding-text {
  overflow: hidden;
  border-block: 1px solid var(--og-line);
  background: #050505;
}
.sliding-track {
  display: flex;
  width: max-content;
  gap: 42px;
  padding: 17px 0;
  animation: marquee 24s linear infinite;
}
.sliding-track span {
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.section { padding: 112px 0; }
.two-col-head {
  display: grid;
  grid-template-columns: 1fr .78fr;
  gap: 52px;
  align-items: end;
  margin-bottom: 48px;
}
.center-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 48px;
}
.section-kicker {
  margin: 0 0 16px;
  color: var(--og-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.section-kicker::before {
  content: "**";
  margin-right: 10px;
}
h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(2.2rem, 4.4vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.03em;
  font-weight: 700;
}
.section-copy {
  margin: 0;
  color: var(--og-muted);
  font-size: 15px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--og-line);
  border: 1px solid var(--og-line);
}
.service-card {
  min-height: 330px;
  padding: 30px 24px;
  background: var(--og-panel);
  display: flex;
  flex-direction: column;
  transition: background .28s ease, transform .28s ease;
}
.service-card:hover {
  background: #111;
  transform: translateY(-8px);
}
.service-card span {
  color: var(--og-orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
}
.service-card h3 {
  margin: auto 0 18px;
  font-size: 26px;
  line-height: 1;
  letter-spacing: -.04em;
}
.service-card p {
  margin: 0 0 24px;
  color: var(--og-muted);
  font-size: 13px;
}
.service-card a {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #fff;
  color: #000;
  font-size: 24px;
  transition: background .25s ease;
}
.service-card:hover a { background: var(--og-orange); }

.project-three { padding-top: 96px; }
.project-showcase {
  width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--og-line);
  border: 1px solid var(--og-line);
}
.project-item {
  position: relative;
  min-width: 0;
  background: var(--og-panel);
}
.project-item button {
  width: 100%;
  min-height: 365px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
  background: transparent;
  border: 0;
  color: #fff;
  text-align: left;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.project-item button::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #fff;
  color: #000;
  font-size: 26px;
  line-height: 1;
  transition: background .25s ease, transform .25s ease;
}
.project-item button:hover::after {
  background: var(--og-orange);
  transform: rotate(90deg);
}
.project-item span {
  color: var(--og-orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .08em;
}
.project-item strong {
  max-width: 96%;
  font-size: clamp(1.95rem, 2.7vw, 3.35rem);
  line-height: .94;
  letter-spacing: -.035em;
  font-weight: 700;
  transition: color .25s ease, transform .25s ease;
}
.project-item em {
  color: var(--og-muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.project-item img {
  width: 100%;
  height: auto;
  align-self: center;
  margin-top: auto;
  padding: 5px;
  object-fit: contain;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
  filter: grayscale(.2) brightness(1.08);
  opacity: .86;
  transform: translateY(0);
  transition: opacity .28s ease, transform .28s ease, filter .28s ease, border-color .28s ease;
}
.project-item button:hover strong {
  color: var(--og-orange);
  transform: translateY(-4px);
}
.project-item button:hover img {
  opacity: 1;
  transform: translateY(-4px);
  filter: grayscale(0) brightness(1.12);
  border-color: rgba(255,138,0,.45);
}
.show-more-projects {
  display: none;
  margin: 28px auto 0;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid rgba(255,255,255,.16);
  background: var(--og-orange);
  color: #000;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}

.process-three { background: #050505; }
.process-three .two-col-head { grid-template-columns: 1fr; }
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--og-line);
  border: 1px solid var(--og-line);
}
.process-grid article,
.testimonial-grid article {
  background: #0a0a0a;
  padding: 34px;
}
.process-grid span {
  color: var(--og-orange);
  font-weight: 900;
}
.process-grid h3,
.testimonial-grid h3 {
  margin: 24px 0 12px;
  font-size: 30px;
  letter-spacing: -.04em;
}
.process-grid p,
.testimonial-grid p {
  margin: 0;
  color: var(--og-muted);
}
.testimonial-three {
  padding: 100px 0;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--og-line);
  border: 1px solid var(--og-line);
}
.testimonial-grid article { min-height: 250px; }

.cta-two {
  position: relative;
  overflow: hidden;
  padding: 96px 0;
  background: #111;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0,0,0,.78), rgba(0,0,0,.42)),
    url("../../images/bg-slider2.webp") center/cover;
  filter: grayscale(1) brightness(.62);
}
.cta-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 480px);
  gap: 30px;
  align-items: center;
}
.cta-copy { max-width: 620px; color: rgba(255,255,255,.72); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; padding: 24px; background: rgba(5,5,5,.88); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); }
.contact-form label { align-self: end; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-form input:not([type="hidden"]), .contact-form textarea { width: 100%; min-height: 48px; padding: 12px 14px; border: 1px solid #333; background: #101010; color: #fff; }
.contact-form textarea, .contact-form .ogency-btn, .contact-form label[for="contact-message"] { grid-column: 1 / -1; }
.contact-form .form-honey { position: absolute; left: -9999px; }
.contact-form .ogency-btn { width: 100%; cursor: pointer; }

.main-footer {
  padding: 54px 0 32px;
  background: #050505;
}
.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.footer-top {
  padding-bottom: 42px;
  border-bottom: 1px solid var(--og-line);
}
.footer-top img {
  width: 160px;
  height: 50px;
  object-fit: contain;
  filter: grayscale(1) brightness(2.2);
}
.footer-social {
  display: flex;
  gap: 10px;
}
.footer-social a {
  display: grid;
  place-items: center;
  min-width: 70px;
  height: 42px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
}
.footer-bottom {
  padding-top: 28px;
  color: var(--og-muted);
}
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #fff; }

.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}
.portfolio-modal.is-open { display: flex; }
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.78);
  backdrop-filter: blur(14px);
}
.modal-card {
  position: relative;
  z-index: 1;
  width: min(1060px, 96vw);
  max-height: 88svh;
  display: grid;
  grid-template-columns: 48% 1fr;
  overflow: hidden;
  background: #090909;
  border: 1px solid var(--og-line);
  box-shadow: 0 35px 120px rgba(0,0,0,.55);
}
.modal-card figure {
  margin: 0;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 5px;
  background: #111;
}
.modal-card figure img {
  width: 100%;
  height: auto;
  max-height: 100%;
  padding: 0;
  object-fit: contain;
  background: #111;
  border: 1px solid rgba(255,255,255,.08);
}
.modal-body {
  padding: clamp(28px, 4vw, 58px);
  overflow: auto;
}
.modal-body h3 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: .92;
  letter-spacing: -.06em;
}
.modal-body p {
  margin: 0 0 24px;
  color: var(--og-muted);
}
.modal-body .ogency-btn {
  display: flex;
  width: 90%;
  margin-inline: auto;
}
.modal-close,
.modal-nav {
  position: absolute;
  z-index: 3;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}
.modal-close {
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  background: var(--og-orange);
  color: #000;
  font-size: 28px;
}
.modal-nav {
  top: 50%;
  width: 46px;
  height: 46px;
  background: #fff;
  color: #000;
  font-size: 34px;
  transform: translateY(-50%);
}
.modal-prev { left: 12px; }
.modal-next { right: 12px; }

body.quote-open { overflow: hidden; }
.quote-modal {
  position: fixed;
  inset: 0;
  z-index: 340;
  display: grid;
  justify-items: end;
  visibility: hidden;
  pointer-events: none;
}
.quote-modal.is-open {
  visibility: visible;
  pointer-events: auto;
}
.quote-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0,0,0,.72);
  opacity: 0;
  cursor: default;
  transition: opacity .45s ease;
}
.quote-panel {
  position: relative;
  z-index: 1;
  width: min(520px, 94vw);
  height: 100%;
  overflow-y: auto;
  padding: clamp(38px, 6vw, 76px) clamp(24px, 5vw, 56px);
  background: #090909;
  border-left: 1px solid var(--og-line);
  box-shadow: -30px 0 90px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateX(72px);
  transition: opacity .45s ease, transform .55s cubic-bezier(.16,1,.3,1);
}
.quote-modal.is-open .quote-backdrop { opacity: 1; }
.quote-modal.is-open .quote-panel { opacity: 1; transform: translateX(0); }
.quote-panel h2 {
  margin: 12px 0 16px;
  font-size: clamp(2.5rem, 6vw, 4.8rem);
  line-height: .9;
  letter-spacing: -.055em;
}
.quote-panel > p:not(.section-kicker) { margin: 0 0 30px; color: var(--og-muted); font-size: 1.05rem; }
.quote-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--og-orange);
  color: #000;
  font-size: 28px;
  cursor: pointer;
}
.quote-form { display: grid; gap: 10px; }
.quote-form label { margin-top: 8px; color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.quote-form input:not([type="hidden"]),
.quote-form textarea { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #333; background: #111; color: #fff; font: inherit; }
.quote-form textarea { resize: vertical; }
.quote-form .ogency-btn { width: 100%; margin-top: 10px; cursor: pointer; }
.quote-form .form-honey { position: absolute; left: -9999px; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroDrift {
  from { transform: scale(1.04) translateY(-1.2%); }
  to { transform: scale(1.1) translateY(1.2%); }
}
@keyframes heroTitleIn {
  from {
    opacity: 0;
    transform: translateY(28px);
    clip-path: inset(0 0 100% 0);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    clip-path: inset(0 0 0 0);
  }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
@keyframes projectReveal {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .nav-shell {
    grid-template-columns: 1fr auto;
  }
  .nav-toggle { display: block; justify-self: end; }
  .header-action { display: none; }
  .nav-menu {
    position: fixed;
    inset: 88px 0 auto;
    display: grid;
    gap: 0;
    padding: 18px 20px;
    background: #050505;
    border-bottom: 1px solid var(--og-line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .28s ease, opacity .28s ease;
  }
  .nav-menu.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-menu a {
    padding: 16px 0;
    border-bottom: 1px solid var(--og-line);
  }
  .main-slider h1 {
    font-size: clamp(2.65rem, 11.9vw, 5.8rem);
  }
  .two-col-head,
  .cta-grid,
  .testimonial-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }
  .project-showcase {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .project-item button {
    min-height: 330px;
  }
  .project-item img {
    width: 100%;
    height: auto;
  }
  .project-item button::after {
    width: 50px;
    height: 50px;
    font-size: 26px;
  }
}

@media (max-width: 640px) {
  :root { --container: min(100% - 34px, 1170px); }
  .main-header,
  .nav-shell { height: 74px; }
  .brand img { width: 128px; height: 40px; }
  .nav-menu { inset: 74px 0 auto; }
  .main-slider {
    min-height: 92svh;
    padding-top: 74px;
  }
  .main-slider h1 {
    text-align: left;
    font-size: clamp(2.5rem, 12.8vw, 3.75rem);
    line-height: .94;
    max-width: 100%;
  }
  .slider-content { text-align: left; }
  .slider-dots { justify-content: flex-start; }
  .hero-video {
    width: 74px;
    height: .64em;
  }
  .hero-video span { display: none; }
  .hero-arrow {
    width: .66em;
    height: .66em;
  }
  .section { padding: 76px 0; }
  h2 { font-size: clamp(2.1rem, 10.2vw, 3.4rem); }
  .project-showcase {
    grid-template-columns: 1fr;
  }
  .project-item:nth-child(n+5) {
    display: none;
  }
  .project-showcase.show-all .project-item {
    display: block;
    animation: projectReveal .38s cubic-bezier(.16,1,.3,1) both;
  }
  .show-more-projects {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .project-item button {
    min-height: 310px;
    padding: 20px;
  }
  .project-item strong {
    font-size: clamp(1.4rem, 7.6vw, 2.45rem);
  }
  .project-item em {
    display: block;
    margin-top: 8px;
    font-size: 11px;
  }
  .project-item img {
    display: block;
    width: 100%;
    height: auto;
    padding: 10px;
  }
  .modal-card {
    grid-template-columns: 1fr;
    max-height: 92svh;
  }
  .modal-card figure {
    min-height: 260px;
    max-height: 36svh;
    padding: 10px;
  }
  .modal-nav {
    display: grid;
    top: 130px;
    width: 42px;
    height: 42px;
  }
  .quote-panel { width: 100%; padding-top: 78px; }
  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
  }
}
