@font-face {
  font-family: "Google Sans";
  src: url("fonts/google-sans/GoogleSans-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("fonts/google-sans/GoogleSans-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("fonts/google-sans/GoogleSans-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans";
  src: url("fonts/google-sans/GoogleSans-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Google Sans Variable";
  src: url("fonts/google-sans/GoogleSans-VariableFont_GRAD,opsz,wght.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-2: #f4f4f4;
  --fg: #212121;
  --fg-dim: #6b6b6b;
  --accent: #212121;
  --accent-2: #fcaf19;
  --line: #e6e6e6;
  --inv-dim: #c4c4c4;
  --inv-line: rgba(255, 255, 255, 0.4);
  --maxw: 1240px;
  --sans: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

[data-theme="dark"] {
  --bg: #121212;
  --bg-2: #1a1a1a;
  --fg: #f2f2f2;
  --fg-dim: #9a9a9a;
  --accent: #f2f2f2;
  --line: #2e2e2e;
  --inv-dim: #666666;
  --inv-line: rgba(0, 0, 0, 0.35);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background 0.2s, color 0.2s;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 26px;
}

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

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

::selection {
  background: var(--accent);
  color: var(--bg);
}

h1,
h2,
.display {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

/* buttons */
.btn,
.btn--out {
  display: inline-block;
  position: relative;
  background: none;
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1rem;
  text-transform: none;
  letter-spacing: normal;
  color: var(--accent-2);
  cursor: pointer;
}
.btn:after,
.btn--out:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.btn:hover,
.btn--out:hover {
  color: var(--accent);
}
.btn:hover:after,
.btn--out:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}
.btn:focus-visible,
.btn--out:focus-visible {
  outline: 3px solid var(--fg);
  outline-offset: 5px;
}

/* header */
header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s, border-color 0.2s;
}
[data-theme="dark"] header {
  background: #2a2a2a;
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 56px;
  height: 72px;
}

.brand {
  justify-self: center;
  display: inline-flex;
  align-items: center;
}
.brand-logo {
  height: 20px;
  width: auto;
}

.nav-left {
  justify-self: end;
}
.nav-left,
.nav-right-links {
  display: flex;
  gap: 40px;
  align-items: center;
}
.nav-left a,
.nav-right-links a {
  font-weight: 600;
  font-size: 1rem;
}
.nav-left a:not(.btn),
.nav-right-links a:not(.btn) {
  color: var(--fg-dim);
}
.nav-left a:hover,
.nav-right-links a:hover {
  color: var(--fg);
}
.nav-right-links a.btn {
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: normal;
}
.nav-right-links a.btn:hover {
  color: var(--accent);
}

.nav-right {
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
}
.theme-icon {
  width: 20px;
  height: 20px;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--fg);
  font-size: 1.6rem;
  cursor: pointer;
}

/* hero */
.hero {
  padding: 44px 0 24px;
  position: relative;
}
.hero-heading {
  min-height: 68dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero h1 {
  font-size: clamp(2.2rem, 7vw, 5.4rem);
  font-family: "Google Sans Variable", var(--sans);
  font-weight: 900;
  font-variation-settings: "wght" 900;
  -webkit-text-stroke: 1.5px currentColor;
  paint-order: stroke fill;
  text-align: center;
}
.hero h1 .stroke {
  -webkit-text-stroke: 2px var(--fg);
  color: transparent;
}
.hero .in {
  color: var(--accent);
}

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  margin-top: 34px;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}
.hero-sub p {
  max-width: 520px;
  font-size: 1.15rem;
  color: var(--fg);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

/* marquee */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  background: var(--accent);
  color: var(--bg);
}
.marquee-track {
  display: flex;
  gap: 2.4rem;
  white-space: nowrap;
  padding: 14px 0;
  font-family: var(--sans);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  animation: scroll 26s linear infinite;
  will-change: transform;
}
.marquee-track span {
  display: inline-flex;
  gap: 2.4rem;
  align-items: center;
}
.marquee-track .dot {
  color: var(--bg);
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* section shell */
section {
  padding: 60px 0;
}
.sec-intro {
  margin: 0 0 28px;
}
.lab {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}
.lab .no {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--accent-2);
  font-size: 1.1rem;
}
.lab h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

/* problem */
.problem {
  background: var(--fg);
  color: var(--bg);
}
.problem .lab {
  border-color: var(--inv-line);
}
.problem .lab .no {
  color: var(--bg);
}
.problem-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 50px;
  align-items: start;
}
.problem .huge {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.problem p {
  font-size: 1.16rem;
  color: var(--inv-dim);
}
.problem p + p {
  margin-top: 18px;
}

/* services */
#services {
  padding-top: 36px;
  padding-bottom: 36px;
}
.svc {
  border-top: 1px solid var(--line);
}
.svc-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.25s, background 0.25s;
  cursor: pointer;
}
.svc-row:hover {
  padding-left: 22px;
  background: linear-gradient(90deg, rgba(128, 128, 128, 0.1), transparent);
}
.svc-row .n {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--fg-dim);
  font-size: 1.1rem;
}
.svc-row h3 {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}
.svc-row:hover h3 {
  color: var(--accent-2);
}
.svc-row .meta {
  color: var(--fg-dim);
  font-size: 0.9rem;
  text-align: right;
  max-width: 230px;
}
.svc-row .arw {
  font-size: 1.4rem;
  color: var(--accent-2);
  opacity: 0;
  transform: translateX(-8px);
  transition: 0.2s;
}
.svc-row:hover .arw {
  opacity: 1;
  transform: none;
}

/* why us */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.why-item {
  background: var(--bg);
  padding: 30px 24px;
  min-height: 210px;
}
.why-item .k {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--accent-2);
  font-size: 1.6rem;
}
.why-item h3 {
  font-size: 1.2rem;
  margin: 14px 0 10px;
  text-transform: none;
  font-family: var(--sans);
  font-weight: 700;
}
.why-item p {
  color: var(--fg-dim);
  font-size: 0.96rem;
}

/* process */
.proc {
  background: var(--bg-2);
}
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.step {
  padding-top: 18px;
  border-top: 2px solid var(--accent-2);
}
.step .n {
  font-family: var(--sans);
  font-weight: 700;
  color: var(--accent-2);
  font-size: 2.6rem;
  line-height: 1;
}
.step h3 {
  font-family: var(--sans);
  text-transform: none;
  font-weight: 700;
  font-size: 1.15rem;
  margin: 8px 0 6px;
}
.step p {
  color: var(--fg-dim);
  font-size: 0.92rem;
}

/* work */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.work {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--bg-2);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition: transform 0.25s;
}
.work:hover {
  transform: translateY(-6px);
}
.work .cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.work .cap {
  position: relative;
  padding: 24px;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
}
.work .cap .t {
  color: #212121;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.work .cap h3 {
  font-family: var(--sans);
  text-transform: none;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 6px 0;
  color: #111111;
}
.work .cap p {
  color: #555555;
  font-size: 0.9rem;
}

/* testimonial */
.tst {
  border: 1px solid var(--line);
  padding: 54px;
  position: relative;
}
.tst .q {
  font-family: var(--sans);
  font-weight: 700;
  text-transform: none;
  font-size: clamp(1.5rem, 3.4vw, 2.6rem);
  line-height: 1.1;
  max-width: 24ch;
}
.tst .who {
  margin-top: 26px;
  color: var(--fg-dim);
  font-weight: 600;
}
.tst .who b {
  color: var(--fg);
}

/* faq */
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--fg);
  cursor: pointer;
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(1.1rem, 2.6vw, 1.7rem);
  letter-spacing: -0.02em;
  text-align: left;
}
.faq-q:hover {
  color: var(--accent-2);
}
.faq-q .ic {
  flex: none;
  width: 26px;
  height: 26px;
  position: relative;
  transition: transform 0.25s;
}
.faq-q .ic::before,
.faq-q .ic::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--accent);
}
.faq-q .ic::before {
  width: 100%;
  height: 3px;
}
.faq-q .ic::after {
  width: 3px;
  height: 100%;
}
.faq-item.open .ic {
  transform: rotate(135deg);
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s;
}
.faq-a p {
  padding: 0 0 26px;
  color: var(--fg-dim);
  font-size: 1.06rem;
  max-width: 72ch;
}

/* contact */
.contact {
  background: var(--accent);
  color: var(--bg);
}
.contact .lab {
  border-color: var(--inv-line);
}
.contact .lab .no {
  color: var(--bg);
}
.c-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}
.contact h2 {
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  color: var(--bg);
}
.contact .lead {
  font-size: 1.2rem;
  margin: 20px 0 30px;
  max-width: 44ch;
}

.info b {
  display: block;
  font-family: var(--sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-top: 22px;
  opacity: 0.8;
}
.info a,
.info span {
  font-size: 1.05rem;
  color: var(--bg);
}
.info a:hover {
  text-decoration: underline;
}

.socials {
  display: flex;
  gap: 24px;
  margin-top: 24px;
}
.socials a {
  position: relative;
  display: inline-block;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: var(--bg);
  text-decoration: none;
}
.socials a:hover {
  text-decoration: none;
}
.socials a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
.socials a:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--bg);
  color: var(--fg);
  padding: 34px;
  border: 2px solid var(--line);
}
form label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--fg-dim);
}
form input,
form textarea {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 13px 15px;
  font-family: var(--sans);
  font-size: 1rem;
}
form input:focus,
form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
form .err {
  color: var(--accent);
  font-size: 0.82rem;
  min-height: 1em;
}
form button {
  position: relative;
  display: inline-block;
  align-self: flex-start;
  background: none;
  color: var(--accent-2);
  border: none;
  padding: 0;
  font-family: var(--sans);
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
}
form button:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--accent-2);
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.25s ease-out;
}
form button:hover {
  color: var(--accent);
}
form button:hover:after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

.form-note {
  font-size: 0.82rem;
  color: var(--fg-dim);
  text-align: center;
}

/* footer */
footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 40px 0;
  color: var(--fg-dim);
  font-size: 0.86rem;
}
.foot {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s, transform 0.6s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* responsive */
@media (max-width: 960px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
  .work-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .problem-grid,
  .c-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

@media (max-width: 600px) {
  .nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
    min-height: 72px;
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .brand {
    justify-self: auto;
  }
  .nav-right {
    display: contents;
  }
  .nav-left,
  .nav-right-links {
    display: none;
  }
  .menu-btn {
    display: block;
    padding: 10px;
    margin: -10px;
  }
  .nav-left.open,
  .nav-right-links.open {
    display: flex;
    flex-basis: 100%;
    order: 3;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: var(--bg);
    border-top: 1px solid var(--line);
    padding: 20px 0;
  }
  .why-grid,
  .steps,
  .work-grid {
    grid-template-columns: 1fr;
  }
  section {
    padding: 44px 0;
  }
  .svc-row {
    grid-template-columns: 40px 1fr;
    gap: 14px;
  }
  .svc-row .meta,
  .svc-row .arw {
    display: none;
  }
  .tst {
    padding: 32px;
  }
  form {
    padding: 24px;
  }
}
