:root {
  --charcoal: #0b1729;
  --charcoal-2: #071222;
  --ivory: #fafaf8;
  --stone: #e7e1d7;
  --stone-2: #f3f0ea;
  --brass: #b2863e;
  --slate: #475467;
  --taupe: #d8d2c8;
  --clay: #8d682e;
  --ink-soft: #667085;
  --border: rgba(11, 23, 41, 0.14);
  --dark-border: rgba(250, 250, 248, 0.2);
  --serif: "Newsreader", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--sans);
  line-height: 1.5;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: var(--charcoal);
  color: var(--ivory);
  display: flex;
  gap: 32px;
  height: 78px;
  justify-content: space-between;
  padding: 0 clamp(22px, 5vw, 76px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header::after {
  background: linear-gradient(90deg, transparent, rgba(178, 134, 62, 0.78), transparent);
  bottom: 0;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  width: 100%;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--serif);
  gap: 12px;
  letter-spacing: 0;
}

.brand-text {
  display: grid;
  gap: 1px;
  line-height: 1;
}

.brand-name {
  font-size: 25px;
}

.brand-tagline {
  color: rgba(250, 250, 248, 0.68);
  font-family: var(--sans);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand-mark {
  align-items: center;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.brand-mark img {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

nav {
  display: flex;
  gap: clamp(16px, 3vw, 42px);
  font-size: 15px;
}

nav a {
  color: rgba(250, 250, 248, 0.78);
  position: relative;
}

nav a:hover {
  color: var(--ivory);
}

nav a::after {
  background: var(--brass);
  bottom: -8px;
  content: "";
  height: 1px;
  left: 0;
  opacity: 0;
  position: absolute;
  transform: scaleX(0.5);
  transform-origin: left;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 100%;
}

nav a:hover::after {
  opacity: 0.8;
  transform: scaleX(1);
}

.hero {
  display: grid;
  grid-template-columns: minmax(500px, 0.88fr) minmax(520px, 1.12fr);
  min-height: calc(100vh - 78px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 40%, rgba(178, 134, 62, 0.12), transparent 34%),
    linear-gradient(135deg, #0b1729 0%, #071222 62%, #050b15 100%);
  color: var(--ivory);
  position: relative;
}

.hero-copy {
  align-self: center;
  padding: clamp(34px, 5vw, 62px) clamp(24px, 4vw, 76px) clamp(34px, 5vw, 62px) clamp(24px, 7vw, 96px);
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--brass);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 20px;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(44px, 4.35vw, 66px);
  line-height: 0.96;
  max-width: 650px;
}

.hero-copy p {
  color: rgba(250, 250, 248, 0.68);
  font-size: clamp(15px, 1.15vw, 18px);
  margin-top: 20px;
  max-width: 520px;
}

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

.button {
  align-items: center;
  border: 1px solid transparent;
  display: inline-flex;
  font-size: 15px;
  font-weight: 600;
  gap: 14px;
  justify-content: center;
  min-height: 54px;
  padding: 0 26px;
  position: relative;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, opacity 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--ivory);
  color: var(--charcoal);
}

.hero .button-primary:hover {
  background: #fff;
  color: var(--charcoal);
}

.hero .button-secondary {
  background: rgba(250, 250, 248, 0.04);
  border-color: rgba(250, 250, 248, 0.34);
  color: var(--ivory);
}

.hero .button-secondary:hover {
  border-color: rgba(178, 134, 62, 0.82);
}

.button-primary::after,
.button-clay::after {
  background: currentColor;
  clip-path: polygon(0 40%, 66% 40%, 66% 0, 100% 50%, 66% 100%, 66% 60%, 0 60%);
  content: "";
  height: 12px;
  width: 22px;
}

.button-secondary {
  background: rgba(250, 250, 248, 0.8);
  border-color: rgba(11, 23, 41, 0.34);
  color: var(--charcoal);
}

.button-secondary:hover {
  border-color: var(--brass);
}

.button-clay {
  background: var(--brass);
  color: var(--charcoal);
  width: min(280px, 100%);
}

.button-clay:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.button-clay:disabled::after {
  display: none;
}

.hero-media {
  align-self: stretch;
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 620px;
  padding: 0;
  position: relative;
}

.hero-media::before {
  background:
    linear-gradient(90deg, var(--charcoal) 0%, rgba(7, 18, 34, 0.46) 20%, rgba(7, 18, 34, 0) 42%),
    linear-gradient(180deg, rgba(7, 18, 34, 0.22), rgba(7, 18, 34, 0.1));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-media::after {
  background: linear-gradient(180deg, rgba(7, 18, 34, 0) 70%, rgba(7, 18, 34, 0.34));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.hero-product-image {
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: 54% center;
  position: relative;
  width: 100%;
}

.section-pad {
  padding: clamp(58px, 8vw, 112px) clamp(24px, 6vw, 86px);
}

.section-heading {
  max-width: 610px;
}

.section-heading.centered {
  margin: 0 auto;
  text-align: center;
}

h2 {
  font-size: clamp(38px, 4.2vw, 62px);
  line-height: 1;
}

.section-heading p,
.split p,
.services-intro p,
.technology p,
.contact p {
  color: var(--ink-soft);
  font-size: 17px;
  margin-top: 12px;
}

.build {
  background: var(--ivory);
  border-top: 3px solid rgba(178, 134, 62, 0.72);
}

.build-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 56px;
}

.build-grid article {
  border-left: 1px solid var(--border);
  min-height: 196px;
  padding: 0 clamp(20px, 3vw, 48px);
}

.build-grid article:first-child {
  border-left: 0;
}

.line-icon {
  align-items: center;
  background: rgba(178, 134, 62, 0.08);
  border: 1px solid rgba(178, 134, 62, 0.54);
  color: var(--brass);
  display: inline-flex;
  height: 48px;
  justify-content: center;
  margin-bottom: 26px;
  width: 48px;
}

.line-icon svg {
  fill: none;
  height: 25px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  width: 25px;
}

h3 {
  font-family: var(--serif);
  font-size: 23px;
  font-weight: 600;
  line-height: 1.1;
}

article p {
  color: var(--ink-soft);
  font-size: 15px;
  margin-top: 14px;
}

.audience {
  background:
    linear-gradient(rgba(243, 240, 234, 0.95), rgba(243, 240, 234, 0.95)),
    linear-gradient(135deg, rgba(11, 23, 41, 0.08) 0 50%, transparent 50% 100%);
}

.split {
  display: grid;
  gap: clamp(40px, 8vw, 120px);
  grid-template-columns: minmax(260px, 0.75fr) 1.25fr;
}

.audience-list {
  border-left: 1px solid var(--border);
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  padding-left: clamp(34px, 6vw, 86px);
}

.audience-list article {
  border-bottom: 1px solid rgba(11, 23, 41, 0.12);
  padding-bottom: 28px;
}

.audience-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.audience-list h3 {
  color: var(--charcoal);
  font-size: 27px;
}

.audience-list p {
  max-width: 680px;
}

.method {
  background:
    linear-gradient(rgba(250, 250, 248, 0.96), rgba(250, 250, 248, 0.96)),
    linear-gradient(90deg, rgba(178, 134, 62, 0.18), transparent 34%, rgba(11, 23, 41, 0.1));
}

.method-steps {
  display: grid;
  gap: 42px;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 64px;
}

.method-steps article {
  padding-top: 18px;
  position: relative;
}

.method-steps article::before {
  background: linear-gradient(90deg, var(--brass), transparent);
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.method-steps span {
  color: var(--brass);
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 38px;
}

.dark {
  background:
    linear-gradient(rgba(7, 18, 34, 0.95), rgba(7, 18, 34, 0.95)),
    radial-gradient(circle at 22% 0%, rgba(19, 34, 56, 0.96), transparent 40%),
    linear-gradient(135deg, rgba(178, 134, 62, 0.18), transparent 38%);
  color: var(--ivory);
}

.services {
  display: grid;
  gap: 44px;
  grid-template-columns: 0.48fr 1.52fr;
}

.dark p {
  color: rgba(247, 243, 236, 0.75);
}

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

.service-grid article {
  border: 1px solid var(--dark-border);
  min-height: 240px;
  padding: 32px;
}

.service-number {
  color: var(--brass);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.service-grid h3 {
  color: var(--ivory);
  font-size: 21px;
}

.trust {
  background:
    linear-gradient(rgba(250, 250, 248, 0.96), rgba(250, 250, 248, 0.96)),
    linear-gradient(135deg, rgba(178, 134, 62, 0.16), transparent 44%, rgba(11, 23, 41, 0.08));
}

.trust-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 58px;
}

.trust-grid article {
  border-left: 1px solid var(--border);
  min-height: 230px;
  padding: 0 clamp(20px, 3vw, 38px);
}

.trust-grid article:first-child {
  border-left: 0;
}

.trust-grid span {
  color: var(--brass);
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  margin-bottom: 26px;
}

.trust-grid h3 {
  color: var(--charcoal);
  font-size: 24px;
}

.selected-work {
  background:
    linear-gradient(rgba(243, 240, 234, 0.9), rgba(243, 240, 234, 0.9)),
    repeating-linear-gradient(90deg, rgba(11, 23, 41, 0.05) 0 1px, transparent 1px 74px);
  display: grid;
  gap: 34px;
  grid-template-columns: 1fr;
}

.selected-work .section-heading {
  max-width: 760px;
}

.selected-work .section-heading h2 {
  font-size: clamp(44px, 5vw, 76px);
}

.client-logo-wall {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.client-logo-tile {
  align-items: center;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 8px;
  display: flex;
  height: 118px;
  justify-content: center;
  padding: 20px;
}

.client-logo-tile img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
}

.caya-logo img {
  max-height: 68px;
}

.lunafast-logo {
  background: var(--charcoal);
}

.lunafast-logo img {
  max-height: 40px;
}

.citify-logo {
  background: linear-gradient(135deg, #1b204a, #38607d 72%, #68c9d0);
}

.citify-logo img {
  max-height: 64px;
}

.aim-logo img {
  max-height: 54px;
}

.caballo-logo {
  background: #050403;
}

.caballo-logo img {
  max-height: 82px;
}

.proper-logo img {
  max-height: 54px;
}

.work-context {
  border-top: 1px solid rgba(178, 134, 62, 0.48);
  color: var(--ink-soft);
  font-size: 17px;
  margin: 8px 0 0;
  max-width: 850px;
  padding-top: 22px;
}

.technology {
  align-items: center;
  background: var(--charcoal);
  border-block: 1px solid rgba(178, 134, 62, 0.38);
  color: var(--ivory);
  display: grid;
  gap: 42px;
  grid-template-columns: 0.45fr 1.55fr;
}

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

.technology-grid article {
  background: rgba(250, 250, 248, 0.08);
  border: 1px solid rgba(178, 134, 62, 0.36);
  min-height: 190px;
  padding: 28px;
}

.technology-grid h3 {
  color: var(--ivory);
  font-size: 22px;
}

.faq {
  background:
    linear-gradient(rgba(250, 250, 248, 0.96), rgba(250, 250, 248, 0.96)),
    repeating-linear-gradient(90deg, rgba(11, 23, 41, 0.04) 0 1px, transparent 1px 82px);
  display: grid;
  gap: clamp(34px, 6vw, 86px);
  grid-template-columns: 0.55fr 1.45fr;
}

.faq-list {
  border-top: 1px solid var(--border);
}

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.faq summary {
  color: var(--charcoal);
  cursor: pointer;
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  color: var(--brass);
  content: "+";
  float: right;
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 700;
  margin-left: 24px;
}

.faq details[open] summary::after {
  content: "-";
}

.faq details p {
  color: var(--ink-soft);
  font-size: 16px;
  margin-top: 16px;
  max-width: 760px;
}

.contact {
  display: grid;
  gap: 36px;
  grid-template-columns: 0.8fr 1fr 0.55fr;
  padding: clamp(58px, 7vw, 96px) clamp(24px, 6vw, 86px);
}

.contact h2 {
  max-width: 560px;
}

form {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

.form-honey {
  display: none;
}

label {
  display: grid;
  gap: 7px;
}

label span {
  color: rgba(247, 243, 236, 0.74);
  font-size: 12px;
}

.full {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  background: rgba(247, 243, 236, 0.04);
  border: 1px solid var(--dark-border);
  color: #fff8ea;
  font: 15px var(--sans);
  min-height: 46px;
  padding: 12px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(178, 134, 62, 0.82);
  outline: 2px solid rgba(178, 134, 62, 0.18);
}

select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(247, 243, 236, 0.72) 50%),
    linear-gradient(135deg, rgba(247, 243, 236, 0.72) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 13px) 19px;
  background-repeat: no-repeat;
  background-size: 5px 5px;
  padding-right: 38px;
}

select option {
  background: var(--charcoal);
  color: var(--ivory);
}

textarea {
  resize: vertical;
}

.form-note {
  color: rgba(247, 243, 236, 0.62);
  font-size: 12px;
  margin: 0;
}

.contact-details {
  align-content: start;
  display: grid;
  gap: 18px;
  padding-top: 8px;
}

.contact-details a,
.contact-details span {
  color: rgba(247, 243, 236, 0.86);
  font-size: 15px;
}

footer {
  align-items: center;
  background: var(--charcoal-2);
  border-top: 1px solid rgba(178, 134, 62, 0.28);
  color: rgba(250, 250, 248, 0.72);
  display: grid;
  font-size: 13px;
  gap: 22px;
  grid-template-columns: 0.45fr 1fr auto auto;
  padding: 24px clamp(24px, 6vw, 86px);
}

footer span:first-child {
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 18px;
}

.thank-you-page {
  background:
    radial-gradient(circle at 78% 35%, rgba(178, 134, 62, 0.14), transparent 32%),
    linear-gradient(135deg, #0b1729 0%, #071222 62%, #050b15 100%);
  color: var(--ivory);
  min-height: 100vh;
}

.thank-you {
  display: grid;
  gap: clamp(54px, 9vw, 112px);
  min-height: 100vh;
  padding: clamp(28px, 5vw, 72px);
}

.thank-you .brand {
  align-self: start;
  justify-self: start;
}

.thank-you-panel {
  align-self: center;
  max-width: 760px;
}

.thank-you-panel h1 {
  font-size: clamp(44px, 6vw, 82px);
}

.thank-you-panel p {
  color: rgba(250, 250, 248, 0.72);
  font-size: clamp(17px, 1.7vw, 22px);
  margin-top: 22px;
  max-width: 650px;
}

@media (max-width: 1050px) {
  .hero,
  .services,
  .selected-work,
  .technology,
  .faq,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 390px;
  }

  .hero-product-image {
    object-position: 62% center;
  }

  .build-grid,
  .method-steps,
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .technology-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .site-header {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    gap: 14px;
    justify-content: center;
    padding-left: 18px;
    padding-right: 18px;
    padding-bottom: 14px;
    padding-top: 14px;
    position: static;
  }

  .brand {
    font-size: 22px;
  }

  nav {
    background: rgba(247, 243, 236, 0.06);
    border: 1px solid rgba(215, 208, 196, 0.14);
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    padding: 8px 10px;
  }

  nav a {
    font-size: 12px;
    padding: 4px 8px;
  }

  nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    padding-bottom: 44px;
    padding-top: 32px;
  }

  h1 {
    font-size: clamp(38px, 10.5vw, 44px);
    line-height: 0.98;
  }

  .hero-copy p {
    font-size: 16px;
    margin-top: 22px;
  }

  .hero-actions {
    gap: 12px;
    margin-top: 24px;
  }

  .button {
    min-height: 50px;
    padding: 0 24px;
  }

  .hero-media {
    display: none;
  }

  .section-pad {
    padding-bottom: 54px;
    padding-top: 54px;
  }

  .build {
    border-top: 0;
    padding-top: 62px;
    position: relative;
  }

  .build::before {
    background: rgba(178, 134, 62, 0.72);
    content: "";
    height: 3px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
  }

  .section-heading.centered {
    text-align: left;
  }

  .section-heading p,
  .split p,
  .services-intro p,
  .technology p,
  .contact p {
    font-size: 16px;
  }

  .build-grid,
  .method-steps,
  .service-grid,
  .split,
  .audience-list,
  .trust-grid,
  .client-logo-wall,
  form {
    grid-template-columns: 1fr;
  }

  .client-logo-tile {
    height: 92px;
  }

  .client-logo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .build-grid {
    gap: 0;
    margin-top: 34px;
  }

  .build-grid article {
    border-left: 0;
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 52px 1fr;
    min-height: 0;
    padding: 22px 0;
  }

  .build-grid article:first-child {
    border-top: 0;
  }

  .build-grid .line-icon {
    grid-row: 1 / span 2;
    height: 40px;
    margin: 2px 0 0;
    width: 40px;
  }

  .build-grid .line-icon svg {
    height: 22px;
    width: 22px;
  }

  .build-grid h3 {
    font-size: 24px;
  }

  .build-grid article p {
    font-size: 15px;
    margin-top: 8px;
  }

  .audience-list,
  .trust-grid article {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-left: 0;
    padding-top: 24px;
  }

  .trust-grid article:first-child {
    border-top: 0;
  }

  .audience-list {
    gap: 0;
  }

  .audience-list article {
    padding: 22px 0;
  }

  .audience-list h3 {
    font-size: 24px;
  }

  .method-steps {
    gap: 0;
    margin-top: 34px;
  }

  .method-steps article {
    border-top: 1px solid var(--border);
    display: grid;
    grid-template-columns: 42px 1fr;
    min-height: 0;
    padding: 22px 0;
  }

  .method-steps article:first-child {
    border-top: 0;
  }

  .method-steps article::before {
    display: none;
  }

  .method-steps span {
    grid-row: 1 / span 2;
    margin: 4px 0 0;
  }

  .method-steps h3,
  .trust-grid h3,
  .technology-grid h3 {
    font-size: 23px;
  }

  .method-steps article p,
  .trust-grid article p,
  .technology-grid article p {
    font-size: 15px;
    margin-top: 8px;
  }

  .service-grid {
    gap: 0;
  }

  .service-grid article {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid var(--dark-border);
    display: grid;
    grid-template-columns: 52px 1fr;
    min-height: 0;
    padding: 24px 0;
  }

  .service-grid article:first-child {
    border-top: 0;
  }

  .service-number,
  .trust-grid span {
    align-items: center;
    border: 1px solid rgba(178, 134, 62, 0.52);
    display: inline-flex;
    height: 40px;
    justify-content: center;
    margin: 2px 0 0;
    width: 40px;
  }

  .trust-grid {
    gap: 0;
    margin-top: 34px;
  }

  .trust-grid article {
    display: grid;
    grid-template-columns: 52px 1fr;
    min-height: 0;
    padding-bottom: 24px;
  }

  .service-grid .service-number,
  .trust-grid span {
    grid-row: 1 / span 2;
  }

  .technology-grid article {
    min-height: 0;
    padding: 24px;
  }

  .contact {
    padding-bottom: 52px;
  }

  footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .thank-you {
    align-content: start;
    gap: 108px;
    padding: 24px;
  }

  .thank-you-panel {
    align-self: start;
  }

  .thank-you-panel h1 {
    font-size: clamp(40px, 11vw, 54px);
  }
}
