:root {
  --ink: #0c2e24;
  --ink-soft: #174036;
  --mint: #7ec8c3;
  --mint-deep: #3a8a84;
  --sand: #f0c27a;
  --coral: #e85d3b;
  --coral-deep: #c44528;
  --paper: #eef6f2;
  --paper-2: #d9ebe3;
  --white: #fbfcfb;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.5rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--ink);
  background:
    radial-gradient(ellipse 90% 55% at 0% 0%, rgba(126, 200, 195, 0.45), transparent 55%),
    radial-gradient(ellipse 70% 45% at 100% 8%, rgba(240, 194, 122, 0.4), transparent 50%),
    linear-gradient(180deg, #e8f4ef 0%, #d4e8df 40%, #c5ddd3 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

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

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  padding: 0 clamp(1.25rem, 4vw, 3rem);
  transition: background 0.35s var(--ease), backdrop-filter 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(238, 246, 242, 0.88);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(12, 46, 36, 0.1);
}

.logo,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.logo-mark {
  width: 0.85rem;
  height: 0.85rem;
  background: var(--coral);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav a {
  font-weight: 600;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 1;
}

.nav-cta {
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: var(--white) !important;
  opacity: 1 !important;
  transition: transform 0.25s var(--ease), background 0.2s;
}

.nav-cta:hover {
  background: var(--ink-soft);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  padding: 0.4rem;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.2s;
}

.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Hero — full-bleed image */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 1rem) clamp(1.25rem, 4vw, 3rem) clamp(3.5rem, 8vw, 5.5rem);
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  animation: kenburns 22s ease-in-out infinite alternate;
  transform-origin: 60% 40%;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 28, 22, 0.78) 0%, rgba(6, 28, 22, 0.45) 42%, rgba(6, 28, 22, 0.15) 70%, transparent 100%),
    linear-gradient(0deg, rgba(6, 28, 22, 0.85) 0%, rgba(6, 28, 22, 0.4) 40%, transparent 70%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 38rem;
  color: #fff;
  animation: rise 0.9s var(--ease) both;
}

.brand {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 9vw, 5.75rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: #fff;
  text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
}

.hero h1 {
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 18ch;
  color: #fff;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
}

.lede {
  margin: 0 0 1.75rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.92);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

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

.btn-ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.26);
}

@keyframes kenburns {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
.section {
  padding: clamp(4rem, 10vw, 7rem) clamp(1.25rem, 4vw, 3rem);
}

.section-head {
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.section-head h2,
.studio-copy h2,
.contact-panel h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.section-head p,
.studio-copy p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40ch;
}

/* Platforms with full-bleed bg */
.platforms {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  min-height: 70vh;
}

.platforms-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.platforms-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.platforms-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(8, 32, 26, 0.72) 0%, rgba(8, 32, 26, 0.55) 50%, rgba(8, 32, 26, 0.78) 100%),
    linear-gradient(90deg, rgba(8, 32, 26, 0.5) 0%, transparent 60%);
}

.platforms-inner {
  position: relative;
  z-index: 1;
}

.platforms .section-head p {
  color: rgba(255, 255, 255, 0.85);
}

.platform-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.platform-list li {
  padding: clamp(1.5rem, 3vw, 2.25rem) clamp(0, 2vw, 1.5rem) clamp(1.5rem, 3vw, 2.25rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  background: rgba(255, 255, 255, 0.04);
}

.platform-list li:nth-child(odd) {
  padding-right: clamp(1rem, 3vw, 2.5rem);
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.platform-list li:nth-child(even) {
  padding-left: clamp(1rem, 3vw, 2.5rem);
}

.platform-list li.is-in {
  opacity: 1;
  transform: translateY(0);
}

.platform-tag {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: #ffb199;
  margin-bottom: 0.65rem;
  letter-spacing: 0.04em;
}

.platform-list h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
  color: #fff;
}

.platform-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 32ch;
}

/* Studio */
.studio {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background:
    radial-gradient(ellipse 60% 80% at 100% 50%, rgba(232, 93, 59, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 60% at 0% 80%, rgba(58, 138, 132, 0.18), transparent 50%),
    linear-gradient(135deg, #e5f2ec 0%, #f3f8f5 50%, #ddeee6 100%);
  border-block: 1px solid rgba(12, 46, 36, 0.08);
}

.studio-copy p + p {
  margin-top: 1rem;
}

.studio-note {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--mint-deep) !important;
}

.studio-strip {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.strip-panel {
  padding: 1.35rem 1.5rem;
  color: #fff;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}

.strip-panel.is-in {
  opacity: 1;
  transform: translateX(0);
}

.strip-panel span {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.35rem;
}

.strip-panel strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.strip-a { background: var(--ink); }
.strip-b { background: var(--mint-deep); }
.strip-c { background: var(--coral); }

/* About */
.about {
  background:
    radial-gradient(ellipse 50% 60% at 0% 0%, rgba(126, 200, 195, 0.25), transparent 55%),
    linear-gradient(180deg, #f3f8f5 0%, #e5f0eb 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--coral);
}

.about-copy h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.about-copy p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  max-width: 42ch;
}

.about-facts {
  margin: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid rgba(12, 46, 36, 0.15);
}

.about-facts > div {
  display: grid;
  grid-template-columns: 8rem 1fr;
  gap: 0.75rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid rgba(12, 46, 36, 0.12);
}

.about-facts dt {
  margin: 0;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mint-deep);
}

.about-facts dd {
  margin: 0;
  font-weight: 600;
}

.about-facts a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact with image bg */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-bottom: clamp(5rem, 12vw, 8rem);
  min-height: 70vh;
  display: flex;
  align-items: center;
}

.contact-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.contact-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(6, 24, 20, 0.88) 0%, rgba(6, 24, 20, 0.7) 45%, rgba(6, 24, 20, 0.55) 100%);
}

.contact-layout {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
  color: #fff;
}

.contact-panel {
  max-width: 36rem;
}

.contact-panel h2 {
  color: #fff;
}

.contact-panel p {
  margin: 0 0 1.5rem;
  max-width: 38ch;
  opacity: 0.9;
}

.contact-details {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.contact-details span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.7;
}

.contact-details a,
.contact-details strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
}

.contact-details a:hover {
  color: #ffb199;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(6, 24, 20, 0.45);
  color: #fff;
  font: inherit;
  resize: vertical;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(232, 93, 59, 0.7);
  outline-offset: 1px;
}

.contact-form .btn {
  align-self: flex-start;
  margin-top: 0.35rem;
  border: 0;
  cursor: pointer;
}

.form-note {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.75;
}

/* Legal / Privacy page */
.page-legal {
  background: linear-gradient(180deg, #eef6f2 0%, #e0ebe6 100%);
}

.legal {
  max-width: 46rem;
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.5rem) clamp(1.25rem, 4vw, 3rem) 4rem;
}

.legal-head {
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(12, 46, 36, 0.15);
}

.legal-head h1 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.legal-meta {
  margin: 0;
  color: var(--ink-soft);
  max-width: 42ch;
}

.legal-body section {
  margin-bottom: 2rem;
}

.legal-body h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.legal-body p,
.legal-body li {
  color: var(--ink-soft);
}

.legal-body ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.legal-body a {
  color: var(--ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem clamp(1.25rem, 4vw, 3rem) 2.25rem;
  background: #0c2e24;
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-links a {
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
  color: #ffb199;
}

.site-footer p {
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  flex-basis: 100%;
}

.site-footer .logo-mark {
  background: var(--coral);
}

/* Mobile */
@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1.25rem;
    background: rgba(238, 246, 242, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(12, 46, 36, 0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.25s;
  }

  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(12, 46, 36, 0.08);
  }

  .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    border-bottom: 0 !important;
  }

  .platform-list {
    grid-template-columns: 1fr;
  }

  .platform-list li:nth-child(odd),
  .platform-list li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  .studio,
  .about-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .about-facts > div {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .strip-panel {
    transform: translateY(20px);
  }

  .strip-panel.is-in {
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-bg,
  .hero-content,
  .platform-list li,
  .strip-panel {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
