:root {
  --bg: #F8F9FB;
  --surface: #FFFFFF;
  --ink: #16181D;
  --muted: #5F6672;
  --line: #E5E8EE;
  --coral: #F5535C;
  --coral-deep: #E23B4B;
  --coral-soft: #FFEDEE;

  --radius: 20px;
  --radius-sm: 12px;
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

main {
  flex: 1;
}

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

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

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 700px) {
  .wrap { padding: 0 32px; }
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(248, 249, 251, 0.86);
  border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.4) blur(10px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand span {
  white-space: nowrap;
}

@media (max-width: 420px) {
  .brand { font-size: 18px; }
  .nav a { padding: 8px 10px; font-size: 15px; }
}

.nav {
  display: flex;
  gap: 4px;
}

.nav a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}

.nav a:hover {
  color: var(--ink);
  background: var(--surface);
}

.nav a[aria-current="page"] {
  color: var(--ink);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--line);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--coral);
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  transition: background-color 0.15s, transform 0.15s;
}

.button:hover {
  background: var(--coral-deep);
}

.button:active {
  transform: scale(0.97);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
}

.link-arrow span {
  transition: transform 0.2s;
}

.link-arrow:hover span,
a:hover .link-arrow span {
  transform: translateX(4px);
}

.hero {
  padding: 56px 0 72px;
}

@media (min-width: 900px) {
  .hero { padding: 88px 0 112px; }
}

.hero-grid {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 64px;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--coral-soft);
  color: var(--coral-deep);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 68px);
}

.hero h1 em {
  font-style: normal;
  color: var(--coral);
}

.lede {
  max-width: 520px;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(17px, 1.6vw, 19px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 32px;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  max-width: min(440px, 78vw);
  width: 100%;
  margin: 0 auto;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  background: var(--coral-soft);
}

.hero-art img {
  position: relative;
  width: 100%;
  transform: rotate(-4deg);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: rotate(-4deg) translateY(0); }
  50% { transform: rotate(-2deg) translateY(-10px); }
}

.section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}

@media (min-width: 900px) {
  .section { padding: 88px 0; }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 32px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 40px);
}

.offer {
  display: grid;
  gap: 18px;
}

@media (min-width: 760px) {
  .offer { grid-template-columns: 1fr 1fr; }
}

.offer-item {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.offer-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--coral-soft);
  color: var(--coral);
}

.offer-icon svg {
  width: 28px;
  height: 28px;
}

.offer-item h3 {
  font-size: 24px;
}

.offer-item p {
  margin-top: 8px;
  color: var(--muted);
}

.offer-link {
  margin-top: 16px;
}

.offer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 16px;
}

.project {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

a.project:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px -22px rgba(22, 24, 29, 0.35);
}

.project-cover {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #E62E49;
}

.project-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

a.project:hover .project-cover img {
  transform: scale(1.03);
}

.project-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px 26px 28px;
}

.project-body h3 {
  font-size: 28px;
}

.project-body p {
  color: var(--muted);
}

.project-body .link-arrow {
  margin-top: 6px;
}

.project-feature {
  align-items: center;
}

@media (min-width: 860px) {
  .project-feature {
    grid-template-columns: 1.1fr 1fr;
  }

  .project-feature .project-cover {
    height: 100%;
    aspect-ratio: auto;
    min-height: 340px;
  }

  .project-feature .project-body {
    padding: 40px;
  }

  .project-feature h3 {
    font-size: 36px;
  }
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags span {
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral-deep);
  font-size: 14px;
  font-weight: 700;
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
}

.status-live {
  color: #1E8E4E;
}

.status-live::before {
  background: #2EB86A;
  box-shadow: 0 0 0 4px #E3F6EA;
}

.page-head {
  padding: 56px 0 40px;
}

@media (min-width: 900px) {
  .page-head { padding: 80px 0 48px; }
}

.page-head h1 {
  font-size: clamp(40px, 6vw, 60px);
}

.page-head .lede {
  margin-top: 14px;
}

.projects {
  display: grid;
  gap: 22px;
  padding-bottom: 88px;
}

@media (min-width: 700px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1000px) {
  .projects { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.project-soon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 280px;
  padding: 28px;
  border: 1.5px dashed #CDD2DA;
  border-radius: var(--radius);
  color: var(--muted);
  text-align: center;
}

.project-soon h3 {
  color: var(--ink);
  font-size: 22px;
}

.project-soon .offer-icon {
  margin-bottom: 8px;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 36px;
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
}

.footer .brand {
  font-size: 18px;
}

.footer .brand img {
  width: 32px;
  height: 32px;
}

.footer p {
  color: var(--muted);
  font-size: 15px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-art img {
    animation: none;
  }

  .project,
  .project-cover img,
  .link-arrow span {
    transition: none;
  }
}
