/* ==========================================================
   The Lika Design — clone of happier-founders-270752.framer.app
   ========================================================== */

:root {
  --black: #000;
  --white: #fff;
  --grey: #f5f5f5;
  --muted: #b3b3b3;
  --lime: rgb(219, 254, 1);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --pad-x: 80px;
  --container: 1280px;
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  font-weight: 500;
  color: var(--black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

@media (hover: hover) and (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
}

h1, h2, h3, h4, h5, h6, p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
}
.case-hero .container { max-width: none; }

.section { padding: 0 var(--pad-x); }

.divider { width: 100%; height: 1px; background: var(--grey); }

/* ---------- Typography ---------- */
.dot { color: var(--lime); }

.h-display {
  font-size: 164px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.09em;
  text-transform: uppercase;
}

.h-section {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.h-service {
  font-size: 90px;
  font-weight: 700;
  font-style: italic;
  line-height: 1;
  letter-spacing: -0.08em;
}

.t-lead {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.06em;
  text-align: justify;
}

.t-big {
  font-size: 50px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.06em;
}

.t-body {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  text-align: justify;
}

.t-small {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  background: var(--grey);
  color: var(--black);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.04em;
  border: 0;
  white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { background: var(--black); color: var(--white); }

.btn--white { background: var(--white); padding: 20px 36px; }
.btn--white:hover { background: var(--lime); color: var(--black); }

/* ---------- Header ---------- */
.header {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  padding: 30px 36px;
  background: var(--white);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.logo {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.06em;
  white-space: nowrap;
}
.header__right { display: flex; align-items: center; gap: 30px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.06em;
  position: relative;
  opacity: 0;
  transform: translateX(24px);
  pointer-events: none;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.header.is-open .nav a { opacity: 1; transform: none; pointer-events: auto; }
.header.is-open .nav a:nth-child(1) { transition-delay: .16s; }
.header.is-open .nav a:nth-child(2) { transition-delay: .08s; }
.header.is-open .nav a:nth-child(3) { transition-delay: 0s; }
.header:not(.is-open) .nav a:nth-child(1) { transition-delay: 0s; }
.header:not(.is-open) .nav a:nth-child(2) { transition-delay: .06s; }
.header:not(.is-open) .nav a:nth-child(3) { transition-delay: .12s; }
.nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--black);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }

/* dots icon (menu trigger) */
.dots {
  width: 18px; height: 18px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  background: none; border: 0; padding: 0;
}
.dots__row { display: flex; gap: 9px; }
.dots i { display: block; width: 5px; height: 5px; background: var(--black); transition: transform .4s var(--ease); }
.dots:hover i, .header.is-open .dots i { transform: rotate(45deg); }
.header.is-open .dots { transform: rotate(90deg); }
.dots { transition: transform .5s var(--ease); }

/* mobile menu */
.menu {
  position: fixed; inset: 0;
  z-index: 30;
  background: var(--white);
  display: flex;
  flex-direction: column;
  padding: 30px 36px;
  transform: translateY(-100%);
  transition: transform .5s var(--ease);
}
.menu.is-open { transform: translateY(0); }
.menu__top { display: flex; align-items: center; justify-content: space-between; }
.menu__close { background: none; border: 0; padding: 0; font-size: 18px; letter-spacing: -0.04em; }
.menu__links {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
}
.menu__links a {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.1;
}
.menu__bottom { display: flex; flex-wrap: wrap; gap: 16px 26px; font-size: 16px; }

/* ---------- Hero ---------- */
.hero {
  min-height: min(100vh, 900px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero__inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 140px 0 80px;
}
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
.hero__title { display: flex; flex-direction: column; }
.hero__title span { display: block; overflow: hidden; }
.avatar {
  flex-shrink: 0;
  width: 168px; height: 168px;
  border-radius: 50%;
  overflow: hidden;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-top: 130px;
}
.hero__lead { width: 48%; max-width: 100%; }

/* copy email */
.copy {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: none; border: 0; padding: 0;
  color: var(--black);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.06em;
  position: relative;
}
.copy svg { width: 20px; height: 20px; flex-shrink: 0; }
.copy__toast {
  position: absolute;
  left: 0; top: calc(100% + 8px);
  font-size: 14px;
  letter-spacing: -0.02em;
  color: var(--muted);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .3s, transform .3s;
  white-space: nowrap;
}
.copy.is-copied .copy__toast { opacity: 1; transform: translateY(0); }

/* ---------- Section header row ---------- */
.row-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* ---------- Work grid ---------- */
.work { padding-top: 30px; padding-bottom: 80px; }
.work .container { display: flex; flex-direction: column; gap: 36px; }

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.card {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--grey);
}
.card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s var(--ease);
}
.card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 80%;
  background: linear-gradient(rgba(0,0,0,0) 0%, rgba(0,0,0,.4) 100%);
  pointer-events: none;
}
.card:hover img { transform: scale(1.06); }
.card__title {
  position: absolute;
  left: 50px; right: 50px; bottom: 50px;
  z-index: 2;
  color: var(--white);
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.05em;
}

/* ---------- Services ---------- */
.services { padding-top: 60px; padding-bottom: 80px; }
.services .container { display: flex; flex-direction: column; gap: 80px; }
.services__list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.services__list h3 {
  transition: transform .4s var(--ease), color .4s var(--ease);
  -webkit-text-stroke: 0;
}
.services__list h3:hover { transform: scale(1.04); color: var(--lime); -webkit-text-stroke: 1.5px var(--black); }

/* ---------- Marquee ---------- */
.marquee {
  width: 100%;
  height: 160px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 10px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee__track {
  display: flex;
  align-items: center;
  gap: 62px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track li { flex-shrink: 0; width: 120px; height: 40px; }
.marquee__track img { width: 120px; height: 40px; object-fit: contain; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - 31px)); }
}

/* ---------- About (home) ---------- */
.about { padding-top: 80px; padding-bottom: 160px; }
.about .container { display: flex; flex-direction: column; gap: 80px; }
.about__intro { width: 57%; max-width: 100%; }
.about__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5.6%;
  padding-left: 7.8%;
}
.about__photo { width: 42.3%; max-width: 100%; aspect-ratio: 542 / 392; overflow: hidden; flex-shrink: 0; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.about__text { width: 25.6%; max-width: 100%; }

/* ---------- Footer ---------- */
.footer-wrap {
  position: relative;
  overflow: hidden;
  background: var(--black);
}
.footer {
  background: var(--black);
  color: var(--white);
  padding: 0 var(--pad-x);
  overflow: hidden;
  will-change: transform;
}
.footer__inner {
  min-height: min(100vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 60px 0;
}
.footer__socials {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}
.footer__socials a {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.2;
  transition: color .3s;
}
.footer__socials a:hover { color: var(--lime); }
.footer__cta { display: flex; flex-direction: column; gap: 40px; align-items: flex-start; }
.footer__title {
  font-size: 48px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.05em;
  background: linear-gradient(95deg, #fff 37%, #383838 95%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  padding: 2px;
  margin: -2px;
}
.footer__actions { display: flex; align-items: center; gap: 40px; }
.status { display: flex; align-items: center; gap: 16px; }
.status__dot {
  position: relative;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--white);
}
.status__dot::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0; transform: scale(.6); }
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.footer__legal { display: flex; gap: 64px; }
.footer__legal a:hover { color: var(--lime); }
.footer__col { display: flex; flex-direction: column; }
.footer__bottom .t-small, .footer__bottom a { font-size: 16px; font-weight: 400; line-height: 1.6; }

/* ---------- Custom cursor ---------- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  z-index: 9999;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--white);
  mix-blend-mode: difference;
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .3s var(--ease), height .3s var(--ease);
  display: none;
}
body.has-cursor .cursor { display: block; }
.cursor.is-hover { width: 60px; height: 60px; }

/* ---------- Appear animation ---------- */
[data-appear] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-appear].is-visible { opacity: 1; transform: none; }
[data-appear="left"] { transform: translateX(-40px); }
[data-appear="right"] { transform: translateX(40px); }
[data-appear="scale"] { transform: scale(.94); }
[data-appear].is-visible { transform: none; }
[data-appear][data-delay="1"] { transition-delay: .1s; }
[data-appear][data-delay="2"] { transition-delay: .2s; }
[data-appear][data-delay="3"] { transition-delay: .3s; }
[data-appear][data-delay="4"] { transition-delay: .4s; }

/* hero title lines slide up */
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
}
.is-loaded .hero__title .line > span { transform: translateY(0); }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .12s; }

/* ==========================================================
   Inner pages
   ========================================================== */

/* page hero (Works / Contact) */
.page-hero { padding-top: 140px; }
.page-hero__inner {
  min-height: 324px;
  display: flex;
  align-items: flex-end;
  padding-bottom: 0;
}
.page-hero .h-display { padding-top: 115px; }
.page-hero--contact .h-display { font-weight: 700; }

/* Works listing */
.works-list { padding-top: 60px; padding-bottom: 160px; }
.works-list .container { display: flex; flex-direction: column; gap: 36px; }
.works-list .row-head { justify-content: flex-end; padding-top: 395px; padding-top: 0; }
.works-list__meta { display: flex; justify-content: flex-end; padding-top: 455px; }

/* About page */
.about-hero { padding-top: 140px; padding-bottom: 100px; }
.about-hero .container { display: flex; flex-direction: column; gap: 0; }
.about-hero__intro { width: 59.3%; max-width: 100%; position: relative; z-index: 2; margin-top: 85px; text-align: justify; }
.about-hero__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 7%;
  margin-top: -85px;
}
.about-hero__photo { width: 68.8%; max-width: 100%; flex-shrink: 0; }
.about-hero__photo img { width: 100%; height: auto; aspect-ratio: 881 / 665; object-fit: cover; }
.about-hero__side {
  width: 24.1%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 190px;
}

.story { padding-top: 60px; padding-bottom: 60px; }
.story .container { display: flex; flex-direction: column; gap: 70px; }
.story__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.story__col { display: flex; flex-direction: column; gap: 20px; }
.story__photos {
  display: grid;
  grid-template-columns: 744fr 496fr;
  gap: 40px;
  align-items: start;
}
.story__photos img { width: 100%; height: auto; object-fit: cover; }
.story__photos img:first-child { aspect-ratio: 744 / 657; }
.story__photos img:last-child { aspect-ratio: 496 / 387; }

.faq { padding-top: 160px; padding-bottom: 160px; }
.faq .container {
  display: grid;
  grid-template-columns: 30% 1fr;
  gap: 0;
  align-items: start;
}
.faq__list { display: flex; flex-direction: column; gap: 10px; padding-top: 0; }
.faq__item { background: var(--grey); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 40px;
  background: none; border: 0;
  text-align: left;
  color: var(--black);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
}
.faq__icon { position: relative; width: 14px; height: 14px; flex-shrink: 0; }
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--black);
  transition: transform .3s var(--ease);
}
.faq__icon::before { left: 0; top: 6px; width: 14px; height: 2px; }
.faq__icon::after { left: 6px; top: 0; width: 2px; height: 14px; }
.faq__item.is-open .faq__icon::after { transform: rotate(90deg); }
.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s var(--ease);
}
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 40px 40px; font-size: 16px; font-weight: 400; line-height: 1.6; color: #333; }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }

/* Contact page */
.contact { padding-top: 100px; padding-bottom: 160px; }
.contact .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
}
.contact__left { padding-top: 0; }
.form {
  width: 59.5%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field {
  background: var(--grey);
  display: flex;
}
.field input, .field select, .field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 30px;
  font-family: inherit;
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  outline: none;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}
.field input { height: 80px; }
.field select { height: 82px; color: var(--muted); }
.field select.is-set { color: var(--black); }
.field--select { position: relative; }
.field--select::after {
  content: "";
  position: absolute;
  right: 30px; top: 50%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field textarea { height: 120px; resize: vertical; padding: 27px 30px 20px 30px; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.form__note { color: var(--muted); }
.form__note a { text-decoration: underline; }
.form__submit {
  height: 80px;
  border: 0;
  background: var(--black);
  color: var(--white);
  font-size: 20px;
  font-weight: 500;
  transition: background .3s, color .3s;
}
.form__submit:hover { background: var(--lime); color: var(--black); }
.form__success { display: none; padding: 30px; background: var(--grey); font-size: 18px; }
.form.is-sent .form__success { display: block; }

/* Work detail page */
.case-hero { padding-top: 140px; }
.case-hero .container { display: flex; flex-direction: column; }
.case-meta {
  display: flex;
  justify-content: flex-end;
}
.case-meta dl {
  width: 420px;
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}
.case-meta div { display: flex; gap: 10px; font-size: 16px; font-weight: 400; line-height: 1.6; text-transform: uppercase; }
.case-meta dt { color: var(--muted); }
.case-meta dd { margin: 0; }
.case-hero__main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 5.4%;
  margin-top: 275px;
  padding-bottom: 0;
}
.case-hero__cover { width: 47.3%; max-width: 100%; aspect-ratio: 605 / 475; overflow: hidden; flex-shrink: 0; }
.case-hero__cover img { width: 100%; height: 100%; object-fit: cover; }
.case-hero__title {
  width: 47.3%;
  max-width: 100%;
  font-size: 110px;
  font-weight: 600;
  line-height: .9;
  letter-spacing: -0.06em;
  padding-bottom: 93px;
}

.case-block { padding-top: 160px; padding-bottom: 160px; }
.case-block .container { display: flex; flex-direction: column; gap: 130px; }
.case-block__text {
  display: flex;
  justify-content: flex-end;
}
.case-block__text > div {
  width: 60%;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-gallery { display: flex; flex-direction: column; gap: 20px; }
.case-gallery__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.case-gallery img { width: 100%; height: auto; object-fit: cover; }
.case-gallery__full img { aspect-ratio: 1280 / 628; }
.case-gallery__row img { aspect-ratio: 630 / 628; }
.case-block .row-head + .case-block__text { margin-top: -30px; }

.testimonial { padding-top: 160px; padding-bottom: 140px; }
.testimonial .container { display: flex; flex-direction: column; gap: 100px; }
.testimonial__body { display: flex; flex-direction: column; align-items: center; gap: 40px; }
.testimonial__quote { width: 54px; height: 54px; }
.testimonial__text {
  width: 75%;
  max-width: 100%;
  text-align: center;
  font-size: 50px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.07em;
}
.testimonial__author { display: flex; align-items: center; gap: 22px; }
.testimonial__author img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }
.testimonial__author p { color: var(--muted); }

.more { padding-top: 130px; padding-bottom: 100px; }
.more .container { display: flex; flex-direction: column; gap: 90px; }

/* Legal pages */
.legal { padding-top: 140px; padding-bottom: 160px; }
.legal .container { display: flex; flex-direction: column; gap: 60px; }
.legal__title { padding-top: 115px; }
.legal__body {
  width: 900px;
  max-width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  text-align: justify;
}
.legal__body h3 { font-size: 20px; font-weight: 500; letter-spacing: -0.04em; margin-top: 16px; }
.legal__body ul { list-style: disc; padding-left: 24px; display: flex; flex-direction: column; gap: 6px; }
.legal__body a { text-decoration: underline; }


/* ==========================================================
   Layout refinements (measured against the original)
   ========================================================== */

/* Works / Contact hero */
.page-hero { padding-top: 220px; padding-bottom: 80px; }
.page-hero__inner { min-height: 0; }
.page-hero .h-display { padding-top: 0; }
.page-hero--contact { padding-bottom: 130px; }

/* Works listing */
.works-list { padding-top: 30px; padding-bottom: 200px; }
.works-list__meta { padding-top: 0; }

/* Contact */
.contact { padding-top: 0; padding-bottom: 160px; }

/* About hero */
.about-hero { padding-top: 164px; padding-bottom: 0; overflow: hidden; }
.about-hero__intro { margin-top: 0; }
.about-hero__row { margin-top: 240px; }
.about-hero__photo img { aspect-ratio: 881 / 575; }
.about-hero__side { padding-top: 190px; }

/* About story + services */
.story { padding-top: 60px; padding-bottom: 0; }
.story .container { gap: 70px; }
.story__photos { margin-top: 100px; }
.story .marquee { margin-top: -100px; }
.services--about { padding-top: 180px; padding-bottom: 5px; }

/* FAQ */
.faq { padding-top: 160px; padding-bottom: 0; }
.faq__list { padding-top: 176px; }

/* Case study */
.case-hero { min-height: 900px; padding-top: 140px; padding-bottom: 80px; }
.case-hero__main { margin-top: 103px; align-items: center; }
.case-hero__title { padding-bottom: 0; }
.case-block { padding-top: 168px; padding-bottom: 0; }
.case-block .container { gap: 137px; }
.case-block .row-head + .case-block__text { margin-top: 0; }
.case-block .case-gallery { margin-top: -67px; }
.testimonial { padding-top: 160px; padding-bottom: 20px; }
.testimonial .container { gap: 140px; }
.more { padding-top: 130px; padding-bottom: 0; }

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1200px) {
  :root { --pad-x: 40px; }
  .h-display { font-size: 120px; }
  .h-service { font-size: 64px; }
  .t-lead { font-size: 32px; }
  .t-big { font-size: 40px; }
  .card__title { font-size: 36px; left: 36px; right: 36px; bottom: 36px; }
  .footer__title { font-size: 40px; }
  .about__row { padding-left: 0; }
  .case-hero__title { font-size: 80px; padding-bottom: 60px; }
  .case-hero__main { margin-top: 160px; }
  .testimonial__text { font-size: 40px; }
  .faq .container { grid-template-columns: 260px 1fr; }
  .about-hero__row { gap: 40px; }
  .about-hero__side { padding-top: 60px; }
}

@media (max-width: 809px) {
  :root { --pad-x: 20px; }
  .header { padding: 30px 20px; }
  .nav { display: none; }
  .header.is-open .nav { display: none; }
  .h-display { font-size: 66px; letter-spacing: -0.09em; }
  .h-section { font-size: 19px; }
  .h-service { font-size: 34px; letter-spacing: -0.05em; }
  .t-lead { font-size: 28px; letter-spacing: -0.06em; }
  .t-big { font-size: 28px; letter-spacing: -0.06em; }
  .t-body { font-size: 16px; letter-spacing: -0.04em; }
  .btn { padding: 12px 20px; }

  .hero { min-height: 0; }
  .hero__inner { padding: 455px 0 0; min-height: min(100vh, 844px); }
  .hero__top { flex-direction: column-reverse; }
  .avatar { display: none; }
  .hero__bottom { flex-direction: column; gap: 34px; margin-top: 60px; padding-bottom: 60px; }
  .hero__lead { width: 100%; }
  .about__intro { width: 100%; }
  .about-hero__intro { width: 100%; }
  .about-hero__photo { width: 100%; }
  .case-hero__title { width: 100%; }
  .case-block__text > div { width: 100%; }
  .testimonial__text { width: 100%; }
  .copy { font-size: 22px; }

  .work { padding-top: 30px; padding-bottom: 20px; }
  .work .container { gap: 30px; }
  .grid-2 { grid-template-columns: 1fr; }
  .card__title { font-size: 32px; left: 50px; right: 50px; bottom: 50px; }

  .services { padding-top: 40px; padding-bottom: 20px; }
  .services .container { gap: 30px; }
  .marquee { height: 60px; }

  .about { padding-top: 30px; padding-bottom: 70px; }
  .about .container { gap: 40px; }
  .about__row { flex-direction: column; gap: 32px; padding-left: 0; align-items: flex-start; }
  .about__photo { width: 100%; }
  .about__text { width: 100%; }

  .footer { padding: 0 20px; }
  .footer__inner { min-height: 844px; }
  .footer__socials { justify-content: flex-start; flex-wrap: wrap; }
  .footer__title { font-size: 32px; }
  .footer__actions { gap: 24px; flex-wrap: wrap; }
  .status p, .footer__bottom .t-small, .footer__bottom a { font-size: 14px; }
  .footer__bottom { flex-wrap: wrap; align-items: flex-end; }
  .footer__legal { gap: 24px; width: 100%; justify-content: space-between; }
  .footer__col--right { text-align: right; }

  .page-hero { padding-top: 160px; padding-bottom: 40px; }
  .page-hero--contact { padding-bottom: 40px; }
  .works-list { padding-top: 30px; padding-bottom: 60px; }

  .about-hero { padding-top: 140px; padding-bottom: 40px; }
  .about-hero__row { flex-direction: column; margin-top: 30px; gap: 24px; }
  .about-hero__photo img { aspect-ratio: 881 / 665; }
  .about-hero__side { padding-top: 0; width: 100%; }
  .story { padding-bottom: 20px; }
  .story .container { gap: 40px; }
  .story__photos { margin-top: 0; }
  .story .marquee { margin-top: 0; }
  .services--about { padding-top: 40px; padding-bottom: 20px; }
  .story__cols { grid-template-columns: 1fr; gap: 20px; }
  .story__photos { grid-template-columns: 1fr; gap: 20px; }
  .faq { padding-top: 60px; padding-bottom: 80px; }
  .faq .container { grid-template-columns: 1fr; gap: 30px; }
  .faq__list { padding-top: 0; }
  .faq__q { padding: 24px; }
  .faq__a p { padding: 0 24px 24px; }

  .contact { padding-top: 20px; padding-bottom: 80px; }
  .contact .container { flex-direction: column; gap: 40px; }
  .form { width: 100%; }
  .field input, .field select, .field textarea { padding: 20px; font-size: 16px; }
  .field input { height: 64px; }
  .field select { height: 64px; }
  .field--select::after { right: 20px; }

  .case-hero { min-height: 0; padding-top: 130px; padding-bottom: 40px; }
  .case-meta dl { width: 100%; }
  .case-meta div { flex-wrap: wrap; font-size: 14px; }
  .case-hero__main { flex-direction: column; align-items: flex-start; margin-top: 50px; gap: 20px; }
  .case-block { padding-top: 60px; padding-bottom: 20px; }
  .case-block .container { gap: 40px; }
  .case-block .case-gallery { margin-top: 0; }
  .testimonial { padding-top: 60px; padding-bottom: 40px; }
  .testimonial .container { gap: 40px; }
  .more { padding-top: 60px; padding-bottom: 40px; }
  .case-hero__cover { width: 100%; }
  .case-hero__title { font-size: 56px; padding-bottom: 20px; width: 100%; }
  .case-block { padding-top: 60px; padding-bottom: 60px; }
  .case-block .container { gap: 40px; }
  .case-block .row-head + .case-block__text { margin-top: 0; }
  .case-gallery__row { grid-template-columns: 1fr; }
  .testimonial { padding-top: 60px; padding-bottom: 60px; }
  .testimonial .container { gap: 40px; }
  .testimonial__text { font-size: 28px; letter-spacing: -0.05em; }
  .more { padding-top: 60px; padding-bottom: 60px; }
  .more .container { gap: 30px; }
  .legal { padding-top: 130px; padding-bottom: 80px; }
  .legal__title { padding-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-appear] { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}
