:root {
  --cream: #f8f1df;
  --paper: #fffaf0;
  --ink: #1c2340;
  --muted: #666359;
  --yellow: #f6bf3b;
  --orange: #f26b2c;
  --green: #2f7c52;
  --blue: #1768b4;
  --purple: #74326f;
  --red: #b7272f;
  --border: rgba(28, 35, 64, 0.16);
  --shadow: 0 22px 60px rgba(56, 45, 20, 0.15);
  --sans: "DM Sans", system-ui, sans-serif;
  --serif: "Fraunces", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 8%, rgba(246, 191, 59, 0.18), transparent 20rem),
    var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.2'/%3E%3C/svg%3E");
  content: "";
  pointer-events: none;
}

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

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  transform: translateY(-150%);
  border-radius: 999px;
  color: white;
  background: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  display: flex;
  position: relative;
  z-index: 10;
  align-items: center;
  justify-content: space-between;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-size: 1.05rem;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.brand strong {
  font-weight: 700;
}

.social-nav {
  display: flex;
  gap: 0.7rem;
}

.social-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.social-nav a:hover {
  transform: translateY(-2px);
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.5);
}

.social-nav svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.social-nav .fill-icon {
  fill: currentColor;
  stroke: none;
}

main,
footer {
  width: min(1180px, calc(100% - 3rem));
  margin-inline: auto;
}

.hero {
  display: grid;
  min-height: 720px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 7rem);
  padding: clamp(4rem, 8vw, 8rem) 0;
}

.hero-copy,
.about-copy,
.projects-intro > *,
.coming-copy {
  min-width: 0;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 2.4rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid rgba(47, 124, 82, 0.25);
  border-radius: 999px;
  color: var(--green);
  background: rgba(255, 255, 255, 0.56);
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(47, 124, 82, 0.12);
  animation: pulse 2.4s infinite;
}

.kicker {
  margin: 0 0 0.8rem;
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.17em;
}

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

h1,
h2 {
  font-family: var(--serif);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 760px;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 6vw, 5.65rem);
}

h1 em {
  color: var(--purple);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.08em;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 2.3rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
}

.hero-actions,
.stay-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-3px) rotate(-1deg);
  box-shadow: 0 10px 25px rgba(28, 35, 64, 0.16);
}

.button svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.button-primary {
  color: white;
  background: var(--ink);
}

.text-link {
  font-weight: 700;
  text-underline-offset: 4px;
}

.text-link span {
  display: inline-block;
  margin-left: 0.3rem;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateY(4px);
}

.hero-art {
  position: relative;
  width: min(100%, 505px);
  justify-self: end;
}

.hero-photo {
  position: relative;
  margin: 0;
  padding: 0.75rem;
  transform: rotate(2.5deg);
  background: #fff;
  box-shadow: var(--shadow);
}

.hero-photo::after {
  position: absolute;
  right: 23%;
  bottom: -42px;
  left: 19%;
  height: 65px;
  transform: rotate(-2deg);
  background: rgba(246, 191, 59, 0.8);
  clip-path: polygon(1% 13%, 98% 0, 100% 88%, 3% 100%);
  content: "";
}

.hero-photo img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.paper-note {
  position: absolute;
  z-index: 2;
  padding: 0.6rem 1.3rem;
  color: white;
  font-family: var(--serif);
  font-size: 1.2rem;
  box-shadow: 0 8px 20px rgba(28, 35, 64, 0.18);
}

.note-one {
  top: -26px;
  left: -38px;
  transform: rotate(-8deg);
  background: var(--green);
}

.note-two {
  right: -34px;
  bottom: 90px;
  transform: rotate(7deg);
  background: var(--blue);
}

.spark {
  position: absolute;
  z-index: 3;
  color: var(--orange);
  font-size: 3rem;
}

.spark-one {
  top: -60px;
  right: 24px;
}

.spark-two {
  bottom: -95px;
  left: -20px;
  color: var(--purple);
  font-size: 4rem;
}

.about {
  padding: clamp(5rem, 10vw, 9rem) 0;
  border-top: 1px solid var(--border);
}

.section-heading {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 3rem;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.section-heading h2,
.projects-intro h2,
.coming-copy h2,
.stay-close h2 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: clamp(3rem, 8vw, 8rem);
}

.about-copy {
  color: var(--muted);
  font-size: 1.08rem;
}

.about-copy strong {
  color: var(--ink);
}

.values {
  display: grid;
  gap: 0;
}

.values article {
  display: grid;
  grid-template-columns: 58px 0.75fr 1fr;
  align-items: start;
  gap: 1.2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
}

.values article:last-child {
  border-bottom: 1px solid var(--border);
}

.value-number {
  color: var(--orange);
  font-family: var(--serif);
  font-size: 0.9rem;
  font-weight: 700;
}

.values h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.2;
}

.values p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.projects {
  margin-inline: calc((100vw - min(1180px, calc(100vw - 3rem))) / -2);
  padding: clamp(5rem, 10vw, 9rem) max(1.5rem, calc((100vw - 1180px) / 2));
  color: white;
  background: var(--ink);
}

.projects-intro {
  display: grid;
  grid-template-columns: 0.55fr 1.15fr 0.8fr;
  align-items: end;
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.projects-intro .kicker {
  align-self: start;
  color: var(--yellow);
}

.projects-intro p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.project-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.project-card {
  position: relative;
  min-height: 390px;
  padding: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
  border-radius: 3px;
}

.project-card::after {
  position: absolute;
  right: -8%;
  bottom: -25%;
  width: 270px;
  height: 270px;
  border: 45px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  content: "";
}

.project-card-green {
  background: var(--green);
}

.project-card-orange {
  color: var(--ink);
  background: var(--yellow);
}

.card-icon {
  margin-bottom: 4.5rem;
  font-size: 2.5rem;
}

.card-label {
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.project-card h3 {
  max-width: 500px;
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.project-card p:last-child {
  position: relative;
  z-index: 1;
  max-width: 520px;
  margin-bottom: 0;
  opacity: 0.8;
}

.coming-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.coming-visual {
  position: relative;
  padding: 0.7rem;
  transform: rotate(-2deg);
  background: white;
  box-shadow: var(--shadow);
}

.coming-stamp {
  display: grid;
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 110px;
  height: 110px;
  place-items: center;
  transform: rotate(9deg);
  border-radius: 50%;
  color: white;
  background: var(--red);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 10px 30px rgba(80, 15, 20, 0.25);
}

.coming-copy .kicker {
  color: var(--blue);
}

.coming-lead {
  margin: 1.5rem 0 0.85rem;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.3;
}

.coming-copy > p:not(.kicker):not(.coming-lead) {
  color: var(--muted);
}

.button-dark {
  margin-top: 1rem;
  color: white;
  background: var(--purple);
}

.stay-close {
  margin-bottom: 2rem;
  padding: clamp(3rem, 8vw, 6rem);
  color: white;
  background:
    linear-gradient(125deg, rgba(116, 50, 111, 0.96), rgba(77, 38, 116, 0.95)),
    url("PqAstral.jpg") center / cover;
  text-align: center;
}

.eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--yellow);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.stay-close p {
  max-width: 560px;
  margin: 1.3rem auto 2rem;
  color: rgba(255, 255, 255, 0.78);
}

.stay-actions {
  justify-content: center;
}

.button-light {
  color: var(--purple);
  background: white;
}

.button-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.whatsapp-float {
  display: grid;
  position: fixed;
  z-index: 50;
  right: max(1.25rem, calc((100vw - 1260px) / 2));
  bottom: 1.5rem;
  width: 62px;
  height: 62px;
  place-items: center;
  border: 3px solid var(--paper);
  border-radius: 50%;
  color: white;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(23, 90, 49, 0.3);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 16px 36px rgba(23, 90, 49, 0.38);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
}

.whatsapp-float svg {
  width: 33px;
  fill: currentColor;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 2rem 4rem;
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.83rem;
}

.footer-intro {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-intro strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--ink);
  font-size: 1rem;
}

.footer-brand img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  object-fit: cover;
}

.site-footer p {
  margin: 0;
}

.footer-details {
  display: grid;
  justify-items: end;
  gap: 0.35rem;
  font-style: normal;
  line-height: 1.55;
  text-align: right;
}

.footer-details a {
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  text-underline-offset: 3px;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 1.4rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.project-card:nth-child(2).reveal {
  transition-delay: 120ms;
}

@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(47, 124, 82, 0);
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 4.5rem;
  }

  .hero-art {
    width: min(82vw, 560px);
    justify-self: center;
    margin-top: 2rem;
  }

  .section-heading,
  .about-grid,
  .projects-intro,
  .coming-project {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .projects-intro {
    gap: 1.2rem;
  }

  .about-grid {
    gap: 2rem;
  }

  .projects-intro p:last-child {
    max-width: 620px;
  }

  .coming-project {
    gap: 4rem;
  }

  .coming-visual {
    width: min(78vw, 560px);
    justify-self: center;
  }
}

@media (max-width: 680px) {
  .site-header,
  main,
  footer {
    width: min(100% - 2rem, 1180px);
  }

  .brand span,
  .social-nav span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .social-nav a {
    padding: 0.6rem;
    border-color: var(--border);
  }

  h1 {
    font-size: clamp(2.55rem, 12vw, 4.4rem);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero {
    min-height: 0;
    padding: 3.5rem 0 6rem;
  }

  .status {
    margin-bottom: 1.8rem;
    font-size: 0.65rem;
  }

  .hero-art {
    width: calc(100% - 1.5rem);
  }

  .note-one {
    left: -16px;
  }

  .note-two {
    right: -16px;
  }

  .values article {
    grid-template-columns: 40px 1fr;
  }

  .values p {
    grid-column: 2;
  }

  .project-cards {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 370px;
  }

  .card-icon {
    margin-bottom: 3rem;
  }

  .coming-visual {
    width: calc(100% - 1.5rem);
  }

  .coming-stamp {
    right: -16px;
    width: 92px;
    height: 92px;
    font-size: 1rem;
  }

  .stay-close {
    margin-inline: -0.25rem;
    padding-inline: 1.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1.75rem;
    text-align: center;
  }

  .footer-intro {
    flex-direction: column;
  }

  .footer-details {
    justify-items: center;
    text-align: center;
  }

  .copyright {
    width: 100%;
    text-align: center;
  }

  .whatsapp-float {
    right: 1rem;
    bottom: 1rem;
    width: 56px;
    height: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
