:root {
  --orange: #f89820;
  --orange-hover: #e08918;
  --black: #111111;
  --dark: #161616;
  --text: #6b6b6b;
  --muted: #8d8d8d;
  --line: #ececec;
  --white: #ffffff;
  --font: "Outfit", sans-serif;
  --condensed: "Barlow Condensed", sans-serif;
  --header-h: 86px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: none;
}

.container {
  width: min(1170px, calc(100% - 48px));
  margin: 0 auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: 0.25s ease;
  white-space: nowrap;
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--orange-hover);
}

.btn-dark {
  background: #0b0b0b;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.btn-dark:hover {
  background: var(--orange);
  border-color: var(--orange);
}

/* Header */
.hero-wrap {
  position: relative;
  min-height: 100vh;
  color: var(--white);
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 80;
  transition: background 0.3s ease;
}

.site-header.is-sticky {
  position: fixed;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.site-header.is-sticky .main-nav > ul > li > a,
.site-header.is-sticky .icon-btn {
  color: var(--black);
}

.navbar-inner {
  display: flex;
  align-items: stretch;
  min-height: 86px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 54px;
  width: auto;
  max-width: min(260px, 48vw);
}

.logo img.logo-on-light {
  display: none;
}

.site-header.is-sticky .logo img.logo-on-dark {
  display: none;
}

.site-header.is-sticky .logo img.logo-on-light {
  display: block;
}

.main-nav {
  margin-left: auto;
  display: flex;
}

.main-nav > ul {
  list-style: none;
  display: flex;
  align-items: stretch;
  gap: 8px;
}

.main-nav > ul > li {
  display: flex;
  align-items: center;
  position: relative;
}

.main-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  transition: color 0.2s ease;
}

.main-nav a i {
  font-size: 9px;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.main-nav > ul > li > a:hover,
.main-nav > ul > li > a.active,
.site-header.is-sticky .main-nav > ul > li > a:hover,
.site-header.is-sticky .main-nav > ul > li > a.active,
.inner-page .main-nav > ul > li > a:hover,
.inner-page .main-nav > ul > li > a.active {
  color: var(--orange);
}

.has-drop:hover > a i {
  transform: rotate(180deg);
}

.has-drop {
  position: relative;
}

.has-drop::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 24px;
  pointer-events: none;
}

.has-drop:hover::after,
.has-drop:focus-within::after {
  pointer-events: auto;
}

.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: block;
  list-style: none;
  min-width: 260px;
  background: var(--white);
  color: var(--black);
  padding: 10px 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  z-index: 20;
}

.main-nav .dropdown li {
  display: block;
  width: 100%;
}

.has-drop:hover .dropdown,
.has-drop:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.dropdown a {
  display: block;
  padding: 10px 18px;
  letter-spacing: 0.04em;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.main-nav .dropdown a,
.site-header.is-sticky .main-nav .dropdown a,
.inner-page .main-nav .dropdown a {
  color: var(--black);
}

.main-nav .dropdown a:hover,
.site-header.is-sticky .main-nav .dropdown a:hover,
.inner-page .main-nav .dropdown a:hover {
  color: var(--orange);
  background: #f7f7f7;
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 18px;
}

.icon-btn {
  width: 44px;
  height: 44px;
  color: var(--white);
  font-size: 16px;
}

.menu-toggle {
  display: grid;
  place-items: center;
}

.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(360px, 90vw);
  height: 100%;
  background: #111;
  color: var(--white);
  z-index: 60;
  padding: 90px 32px 32px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
}

.nav-drawer.is-open {
  transform: none;
}

.nav-drawer a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 13px;
}

.nav-drawer a:hover {
  color: var(--orange);
}

.nav-drawer a.drawer-sub {
  padding-left: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 14px;
  color: #cfcfcf;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 55;
  display: none;
}

.nav-backdrop.is-open {
  display: block;
}

.inner-page .site-header {
  position: relative;
  background: #0d0d0d;
}

.inner-page .main-nav > ul > li > a,
.inner-page .icon-btn {
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.hero-slides {
  min-height: 100vh;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 8, 8, 0.78) 0%, rgba(8, 8, 8, 0.45) 48%, rgba(8, 8, 8, 0.35) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 40%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 210px 0 160px;
  width: min(720px, calc(100% - 48px));
  margin-left: max(24px, calc((100% - 1170px) / 2));
}

.hero-content h1 {
  font-size: clamp(40px, 3.5vw, 92px);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
  text-transform: capitalize;
}

.hero-lead {
  max-width: 520px;
  color: #d4d4d4;
  font-size: 16px;
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-rail {
  position: absolute;
  right: 28px;
  top: 54%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;
}

.social-rail a {
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  transition: 0.2s ease;
}

.social-rail a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.hero-thumb {
  position: absolute;
  right: 92px;
  bottom: 36px;
  z-index: 3;
  display: flex;
  align-items: flex-end;
  gap: 0;
}

.thumb-frame {
  width: 150px;
  height: 108px;
  overflow: hidden;
}

.thumb-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumb-nav {
  display: flex;
  flex-direction: column;
}

.thumb-nav button {
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.72);
  color: var(--white);
}

.thumb-nav button:hover {
  background: var(--orange);
}

/* About */
.about {
  position: relative;
  padding: 110px 0 100px;
  overflow: hidden;
  background: var(--white);
}

.about-rings {
  position: absolute;
  left: -160px;
  top: 20px;
  width: 560px;
  height: 560px;
  border: 1px solid #ececec;
  border-radius: 50%;
  pointer-events: none;
}

.about-rings::before,
.about-rings::after {
  content: "";
  position: absolute;
  border: 1px solid #ececec;
  border-radius: 50%;
}

.about-rings::before {
  inset: 90px;
}

.about-rings::after {
  inset: 180px;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 48px 80px;
  align-items: start;
  position: relative;
}

.about-copy {
  padding-top: 0px;
  max-width: 520px;
}

.about-copy h2 {
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}

.about-copy h2 span {
  position: relative;
  display: inline-block;
}

.about-copy h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 3px;
  background: var(--orange);
}

.about-copy p {
  color: #111111;
  font-size: 16px;
  line-height: 1.45;
  margin-bottom: 16px;
}

.about-copy p:last-of-type {
  margin-bottom: 36px;
}

.about-visual {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.experience {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  margin: 0 12px 8px 0;
  position: relative;
  z-index: 2;
}

.exp-one,
.exp-two {
  font-family: var(--condensed);
  font-weight: 800;
  line-height: 0.78;
  letter-spacing: -0.05em;
}

.exp-one {
  position: relative;
  font-size: 168px;
  color: var(--black);
}

.exp-two {
  font-size: 168px;
  color: transparent;
  -webkit-text-stroke: 2px #1a1a1a;
  margin-left: -6px;
}

.exp-label {
  position: absolute;
  left: 72%;
  top: 22%;
  writing-mode: vertical-rl;
  transform: translateX(-50%) rotate(180deg);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.about-media {
  width: 100%;
  max-width: 560px;
  overflow: hidden;
  border-radius: 120px 70px 160px 70px;
}

.about-media img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

/* Services */
.services {
  padding: 20px 0 90px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
}

.service-card {
  padding: 0;
  border-right: 1px solid var(--line);
  scroll-margin-top: 110px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  color: inherit;
}

.service-card:last-child {
  border-right: 0;
}

.service-media {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f4f4f4;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.service-card:hover .service-media img {
  transform: scale(1.06);
}

.service-body {
  padding: 28px 36px 40px;
}

.service-num {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 14px;
  max-width: 280px;
}

.service-card p {
  color: #111111;
  font-size: 15px;
}

.services-intro {
  padding-bottom: 20px;
}

.service-block {
  padding: 70px 0;
  scroll-margin-top: 20px;
}

.service-block.is-reverse {
  background: #f7f7f7;
}

.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.service-block.is-reverse .service-block-copy {
  order: -1;
}

.service-block-media {
  overflow: hidden;
  min-width: 0;
}

.service-block-media img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.service-block-copy h2 {
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.service-block-copy > p {
  color: var(--text);
  margin-bottom: 22px;
}

.service-points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.service-points li {
  position: relative;
  padding: 8px 0 8px 28px;
  color: var(--black);
  border-bottom: 1px solid var(--line);
}

.service-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  width: 10px;
  height: 10px;
  background: var(--orange);
}

/* Extra sections */
.projects {
  padding: 40px 0 100px;
}

.section-head {
  margin-bottom: 36px;
}

.eyebrow {
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-head h2 {
  font-size: clamp(32px, 4vw, 46px);
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 620px;
  margin-top: 12px;
  color: var(--text);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 320px;
}

.project-card img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transition: 0.4s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}

.project-info {
  position: absolute;
  inset: auto 0 0;
  padding: 22px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--white);
}

.project-info span {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-band {
  background: var(--black);
  color: var(--white);
  padding: 56px 0;
}

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.cta-inner h2 {
  font-size: 34px;
  letter-spacing: -0.03em;
}

.site-footer {
  background: #0d0d0d;
  color: #cfcfcf;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding: 64px 0 40px;
}

.site-footer .logo img {
  height: 52px;
  margin-bottom: 16px;
}

.site-footer h4 {
  color: var(--white);
  margin-bottom: 16px;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin-bottom: 8px;
  color: #bdbdbd;
}

.footer-grid a:hover {
  color: var(--orange);
}

.footer-grid .footer-line a {
  display: inline;
  color: #bdbdbd;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 0;
  font-size: 13px;
  color: #8d8d8d;
}

/* Inner pages */
.page-banner {
  position: relative;
  background:
    linear-gradient(rgba(8, 8, 8, 0.58), rgba(8, 8, 8, 0.62)),
    url("../images/hero-1.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 120px 0 90px;
}

.page-banner h1 {
  font-size: 52px;
  letter-spacing: -0.03em;
}

.breadcrumb {
  margin-top: 10px;
  color: #cfcfcf;
  font-size: 14px;
}

.breadcrumb a:hover {
  color: var(--orange);
}

.page-content {
  padding: 80px 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.split p,
.prose p {
  color: var(--text);
  margin-bottom: 16px;
}

.faq {
  max-width: 760px;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  font-weight: 700;
  cursor: pointer;
}

.form {
  display: grid;
  gap: 14px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 14px 16px;
  font: inherit;
  outline: none;
  background: #fafafa;
  border-radius: 4px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form input:focus,
.form textarea:focus,
.form select:focus {
  border-color: var(--orange);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(248, 152, 32, 0.15);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--black);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.contact-copy h2 {
  font-size: clamp(32px, 4vw, 44px);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
}

.contact-copy > p {
  max-width: 460px;
}

.contact-details {
  display: grid;
  gap: 16px;
  margin-top: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: #fcfcfc;
}

.contact-icon {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--orange);
  color: var(--white);
  font-size: 18px;
}

.contact-item h3 {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  color: var(--text);
  margin: 0;
  font-size: 15px;
}

.contact-item a:hover {
  color: var(--orange);
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.06);
  padding: 36px 36px 32px;
}

.form-head {
  margin-bottom: 8px;
}

.form-head h3 {
  font-size: 22px;
  margin-bottom: 6px;
}

.form-head p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.form-note {
  color: #2f7d32;
  font-weight: 600;
  font-size: 14px;
  margin: 0;
}

.footer-line {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.footer-line i {
  color: var(--orange);
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}

.blog-grid,
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.job-list {
  max-width: 760px;
}

.job-list h2 {
  margin-bottom: 28px;
}

.job-card {
  border: 1px solid var(--line);
  padding: 28px 32px;
  margin-bottom: 18px;
}

.job-card h3 {
  margin-bottom: 10px;
}

.job-card p {
  color: var(--text);
  margin-bottom: 18px;
}

.job-meta {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.card {
  border: 1px solid var(--line);
}

.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  color: var(--text);
}

body.nav-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .social-rail {
    display: none;
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
    padding: 180px 0 140px;
  }

  .hero-thumb {
    right: 24px;
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .about-grid,
  .split,
  .contact-wrap,
  .services-grid,
  .service-block-inner,
  .project-grid,
  .blog-grid,
  .portfolio-grid,
  .footer-grid,
  .cta-inner {
    grid-template-columns: minmax(0, 1fr);
    display: grid;
  }

  .cta-inner {
    text-align: left;
  }

  .about-copy {
    padding-top: 0;
  }

  .about-visual,
  .experience {
    align-items: flex-start;
    justify-content: flex-start;
  }

  .about-media img {
    height: 380px;
  }

  .exp-one,
  .exp-two {
    font-size: 110px;
  }

  .hero-thumb {
    display: none;
  }

  .service-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .service-media {
    height: 260px;
  }

  .service-block.is-reverse .service-block-copy {
    order: 0;
  }

  .service-block-media img {
    height: 280px;
  }
}

@media (max-width: 640px) {
  .hero-content h1 {
    font-size: 40px;
  }

  .hero-content {
    padding: 150px 0 130px;
  }

  .page-banner h1 {
    font-size: 36px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px 20px;
  }

  .service-body {
    padding: 24px 24px 32px;
  }

  .service-card {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}
