@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap");
:root {
  --ink: #171717;
  --paper: #f7f3ed;
  --lime: #e6ff4a;
  --blush: #f2d7c7;
  --muted: #777169;
  --line: #ddd5ca;
  --white: #fff;
  --max: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a {
  color: inherit;
  text-decoration: none;
  transition: 0.25s var(--ease);
}
img {
  max-width: 100%;
  display: block;
}
button,
input,
textarea {
  font: inherit;
}
ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
h1,
h2,
h3,
h4 {
  font-family: "Space Grotesk", sans-serif;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(3.2rem, 7vw, 6.9rem);
}
h2 {
  font-size: clamp(2.3rem, 4.5vw, 4.4rem);
}
h3 {
  font-size: 1.55rem;
}
p {
  margin: 0 0 18px;
  color: var(--muted);
}
.container {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
}
.section {
  padding: 110px 0;
}
.section-sm {
  padding: 70px 0;
}
.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  font-weight: 700;
}
.eyebrow:before,
.kicker:before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--lime);
}
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 237, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(23, 23, 23, 0.08);
}
.nav-wrap {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-family: "Space Grotesk";
  font-size: 24px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand-mark {
  width: 35px;
  height: 35px;
  background: var(--ink);
  color: var(--lime);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 15px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 600;
  position: relative;
}
.nav-links a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: 0.25s;
}
.nav-links a:hover:after,
.nav-links a.active:after {
  transform: scaleX(1);
}
.nav-cta {
  padding: 12px 19px;
  background: var(--ink);
  color: #fff;
  border-radius: 2px;
}
.nav-cta:hover {
  background: var(--lime);
  color: var(--ink);
}
.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 26px;
}
.hero {
  min-height: calc(100vh - 110px);
  display: grid;
  align-items: center;
  padding: 70px 0 100px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 70px;
  align-items: center;
}
.hero h1 {
  max-width: 760px;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(transparent 60%, var(--lime) 60%);
}
.hero-copy {
  font-size: 19px;
  max-width: 590px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin: 30px 0;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  padding: 13px 21px;
  font-weight: 700;
  font-size: 14px;
}
.btn-dark {
  background: var(--ink);
  color: #fff;
}
.btn-dark:hover {
  background: var(--lime);
  color: var(--ink);
}
.btn-light {
  background: transparent;
}
.btn-light:hover {
  background: var(--white);
}
.hero-meta {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.hero-meta strong {
  display: block;
  font-family: "Space Grotesk";
  font-size: 21px;
}
.hero-meta span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.hero-art {
  position: relative;
}
.hero-art img {
  width: 100%;
  filter: drop-shadow(25px 28px 0 rgba(23, 23, 23, 0.08));
}
.sticker {
  position: absolute;
  padding: 13px 17px;
  background: var(--lime);
  font-weight: 700;
  box-shadow: 10px 10px 0 var(--ink);
  font-size: 13px;
}
.sticker.one {
  left: -25px;
  bottom: 80px;
  transform: rotate(-6deg);
}
.sticker.two {
  right: -18px;
  top: 50px;
  background: var(--blush);
  transform: rotate(7deg);
}
.section-head {
  max-width: 760px;
  margin-bottom: 55px;
}
.section-head p {
  font-size: 18px;
}
.section-dark {
  background: var(--ink);
  color: #fff;
}
.section-dark p {
  color: #c9c4bd;
}
.section-dark h2,
.section-dark h3 {
  color: #fff;
}
.section-blush {
  background: var(--blush);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service {
  padding: 42px 34px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  min-height: 260px;
}
.service-num {
  font-family: "Space Grotesk";
  font-size: 13px;
  color: var(--muted);
}
.service-icon {
  width: 56px;
  height: 56px;
  border: 1px solid var(--ink);
  display: grid;
  place-items: center;
  margin: 25px 0 25px;
  border-radius: 50%;
  font-weight: 700;
}
.service:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 18px 35px rgba(23, 23, 23, 0.08);
}
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 80px;
  align-items: center;
}
.about-card {
  background: var(--ink);
  color: #fff;
  padding: 45px;
  position: relative;
}
.about-card img {
  width: 100%;
  margin-bottom: 28px;
}
.about-card p {
  color: #d5d0c8;
}
.signature {
  font-family: "Space Grotesk";
  font-size: 22px;
  color: var(--lime);
}
.about-copy .lead {
  font-size: 22px;
  color: var(--ink);
}
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line);
  margin-top: 35px;
}
.fact {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.fact strong {
  font-family: "Space Grotesk";
  font-size: 28px;
  display: block;
}
.filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 35px;
}
.filter button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 10px 15px;
  cursor: pointer;
  font-weight: 600;
}
.filter button.active,
.filter button:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 26px;
}
.project {
  grid-column: span 6;
}
.project.wide {
  grid-column: span 8;
}
.project.small {
  grid-column: span 4;
}
.project-media {
  overflow: hidden;
  background: #ddd;
}
.project-media img {
  width: 100%;
  aspect-ratio: 1.45;
  object-fit: cover;
  transition: 0.55s var(--ease);
}
.project:hover .project-media img {
  transform: scale(1.04);
}
.project-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 0 28px;
  border-bottom: 1px solid var(--line);
}
.project-info p {
  font-size: 13px;
  margin: 0;
}
.project-info h3 {
  margin-bottom: 7px;
}
.arrow {
  font-size: 25px;
}
.project.hidden {
  display: none;
}
.quote {
  max-width: 850px;
}
.quote-mark {
  font-family: Georgia;
  font-size: 80px;
  color: var(--lime);
  line-height: 0.5;
}
.quote p {
  font-family: "Space Grotesk";
  font-size: clamp(1.7rem, 3.2vw, 3rem);
  color: #fff;
  line-height: 1.18;
}
.quote-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
}
.avatar {
  width: 52px;
  height: 52px;
  background: var(--blush);
  display: grid;
  place-items: center;
  color: var(--ink);
  font-weight: 700;
  border-radius: 50%;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.post {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.post-media {
  background: #ddd;
  overflow: hidden;
  margin-bottom: 20px;
}
.post-media img {
  aspect-ratio: 1.4;
  object-fit: cover;
  transition: 0.4s;
}
.post:hover img {
  transform: scale(1.03);
}
.post-meta {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}
.post h3 {
  font-size: 25px;
}
.post a.read {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 80px;
}
.contact-list {
  margin-top: 30px;
}
.contact-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.contact-list span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}
.contact-list a {
  font-weight: 700;
  font-size: 18px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field.full {
  grid-column: 1/-1;
}
.field label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  padding: 14px 15px;
  outline: none;
}
.field textarea {
  min-height: 170px;
  resize: vertical;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(230, 255, 74, 0.65);
}
.form-status {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 700;
}
.page-hero {
  background: var(--ink);
  color: #fff;
  padding: 105px 0 90px;
}
.page-hero p {
  color: #c9c4bd;
  max-width: 620px;
  font-size: 18px;
}
.breadcrumbs {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 20px;
  color: #c9c4bd;
}
.breadcrumbs a {
  color: #fff;
}
.detail-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 70px;
}
.detail-side {
  position: sticky;
  top: 110px;
  height: max-content;
}
.detail-side ul {
  border-top: 1px solid var(--line);
}
.detail-side li {
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.detail-side span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
}
.case-image {
  margin: 35px 0;
  background: #ddd;
}
.case-image img {
  width: 100%;
}
.prose p {
  font-size: 18px;
  max-width: 750px;
}
.prose h2 {
  font-size: 35px;
  margin-top: 50px;
}
.timeline {
  border-left: 1px solid var(--line);
  padding-left: 30px;
}
.timeline-item {
  position: relative;
  margin-bottom: 35px;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: -36px;
  top: 8px;
  width: 11px;
  height: 11px;
  background: var(--lime);
  border: 3px solid var(--ink);
  border-radius: 50%;
}
.timeline-item span {
  font-size: 12px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.faq {
  max-width: 850px;
}
.faq-item {
  border-top: 1px solid var(--line);
  padding: 23px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  font-family: "Space Grotesk";
  font-size: 21px;
  font-weight: 700;
}
.faq-a {
  display: none;
  padding-top: 15px;
  max-width: 760px;
}
.faq-item.open .faq-a {
  display: block;
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.footer {
  background: var(--ink);
  color: #fff;
  padding: 80px 0 25px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 0.6fr 0.9fr;
  gap: 50px;
}
.footer p {
  color: #bdb7ae;
}
.footer h4 {
  font-size: 15px;
  letter-spacing: 0.05em;
  color: #fff;
}
.footer-links li {
  margin: 9px 0;
  color: #bdb7ae;
  font-size: 14px;
}
.footer-links a:hover {
  color: var(--lime);
}
.footer-bottom {
  border-top: 1px solid #3a3835;
  margin-top: 55px;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #8f8a83;
  font-size: 12px;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid #555;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 12px;
}
.socials a:hover {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border: 0;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.25s;
  z-index: 40;
}
.to-top.show {
  opacity: 1;
  visibility: visible;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  transform: translate(-50%, 20px);
  background: var(--lime);
  padding: 13px 18px;
  font-weight: 700;
  opacity: 0;
  visibility: hidden;
  z-index: 100;
  transition: 0.25s;
  box-shadow: 8px 8px 0 var(--ink);
}
.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (max-width: 900px) {
  .nav-links {
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
  }
  .nav-links.open {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
  .nav-cta {
    display: none;
  }
  .hero-grid,
  .about-grid,
  .contact-grid,
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .hero {
    padding-top: 55px;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .journal-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .detail-side {
    position: static;
  }
  .sticker.one {
    left: 5px;
  }
  .sticker.two {
    right: 5px;
  }
}
@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }
  .topbar .container {
    justify-content: center;
  }
  .topbar span:last-child {
    display: none;
  }
  .section {
    padding: 75px 0;
  }
  .section-sm {
    padding: 50px 0;
  }
  .hero h1 {
    font-size: 3.3rem;
  }
  .services-grid,
  .journal-grid,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }
  .portfolio-grid {
    display: block;
  }
  .project {
    margin-bottom: 35px;
  }
  .project-info {
    padding-bottom: 20px;
  }
  .about-card {
    padding: 25px;
  }
  .hero-meta {
    gap: 18px;
  }
  .page-hero {
    padding: 75px 0;
  }
  .footer-bottom {
    flex-direction: column;
  }
  .sticker {
    font-size: 11px;
  }
  .sticker.one {
    bottom: 30px;
  }
  .sticker.two {
    top: 15px;
  }
}

/* Mobile navigation alignment fix */
@media (max-width: 900px) {
  .nav-wrap {
    position: relative;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    padding: 0;
    cursor: pointer;
  }
}
