/* Chalkia Marketing Services — Design System
   Aegean ink + teal signal + cool paper
*/

:root {
  --ink: #071821;
  --ink-soft: #123040;
  --sea: #0e7c86;
  --sea-bright: #1aa6b1;
  --foam: #e8f4f5;
  --paper: #f4f8f9;
  --mist: #c5d8dc;
  --text: #1a2e36;
  --muted: #4d6670;
  --white: #ffffff;
  --max: 1120px;
  --narrow: 720px;
  --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: "Manrope", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(26, 166, 177, 0.08), transparent 55%),
    radial-gradient(ellipse 60% 40% at 0% 30%, rgba(14, 124, 134, 0.06), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--foam) 45%, var(--paper) 100%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--sea);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 800;
  margin: 0 0 1rem;
}

h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  margin: 0 0 1rem;
}

h3 {
  font-size: 1.35rem;
  margin: 0 0 0.5rem;
}

h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  color: var(--ink-soft);
}

p {
  margin: 0 0 1rem;
}

ul {
  margin: 0;
  padding-left: 1.15rem;
}

li + li {
  margin-top: 0.35rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.wrap.narrow {
  width: min(100% - 2.5rem, var(--narrow));
}

.section {
  padding: clamp(4rem, 10vw, 7rem) 0;
}

.section-head {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  max-width: 40rem;
}

.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.eyebrow {
  font-family: "Syne", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sea);
  margin: 0 0 0.75rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
  padding: 0 clamp(1rem, 4vw, 2.5rem);
  background: rgba(244, 248, 249, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(7, 24, 33, 0.08);
  background: rgba(244, 248, 249, 0.92);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.logo img {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-text strong {
  font-family: "Syne", sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.logo-text em {
  font-style: normal;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sea);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav a:hover {
  color: var(--sea);
}

.nav-cta {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white) !important;
}

.nav-cta:hover {
  background: var(--sea) !important;
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 1.35rem;
  height: 2px;
  margin: 0.3rem auto;
  background: var(--ink);
  transition: transform 0.3s var(--ease);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.45rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sea-bright);
  color: var(--ink);
}

.btn-primary:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: hero-zoom 18s var(--ease) forwards;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(7, 24, 33, 0.88) 0%, rgba(7, 24, 33, 0.62) 48%, rgba(14, 124, 134, 0.35) 100%),
    linear-gradient(to top, rgba(7, 24, 33, 0.75) 0%, transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  max-width: 40rem;
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 1s var(--ease) 0.25s forwards;
}

.hero-brand {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
  color: var(--sea-bright);
}

.hero h1 {
  color: var(--white);
}

.hero-lead {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@keyframes hero-zoom {
  to {
    transform: scale(1);
  }
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Intro */
.intro h2 {
  margin-bottom: 1.25rem;
}

.intro p {
  color: var(--muted);
  font-size: 1.08rem;
}

/* About */
.about {
  background: linear-gradient(180deg, transparent, rgba(14, 124, 134, 0.05) 30%, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.about-copy p {
  color: var(--muted);
}

.mission-vision {
  display: grid;
  gap: 1.75rem;
  padding: 1.75rem 0;
  border-top: 2px solid var(--sea);
}

.mission-vision h3 {
  color: var(--sea);
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mission-vision p {
  color: var(--text);
  margin: 0;
}

/* Services */
.service {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid rgba(7, 24, 33, 0.12);
}

.service:last-child {
  border-bottom: 1px solid rgba(7, 24, 33, 0.12);
}

.service-label {
  font-family: "Syne", sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--sea-bright);
  line-height: 1;
  opacity: 0.85;
}

.service-tagline {
  font-family: "Syne", sans-serif;
  font-weight: 600;
  color: var(--sea);
  margin-bottom: 0.75rem;
}

.service-body > p:not(.service-tagline) {
  color: var(--muted);
}

.service ul {
  color: var(--text);
}

/* Industries */
.industries {
  background: var(--ink);
  color: var(--white);
}

.industries .eyebrow {
  color: var(--sea-bright);
}

.industries h2 {
  color: var(--white);
}

.industry-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.industry-list li {
  margin: 0;
  padding: 1.15rem 0;
  font-family: "Syne", sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.25s var(--ease), padding-left 0.35s var(--ease);
}

.industry-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.industry-list li:hover {
  color: var(--sea-bright);
  padding-left: 0.5rem;
}

/* Approach */
.steps {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  counter-reset: none;
  display: grid;
  gap: 0;
}

.steps li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(7, 24, 33, 0.1);
  margin: 0;
}

.steps li:last-child {
  border-bottom: 1px solid rgba(7, 24, 33, 0.1);
}

.step-num {
  font-family: "Syne", sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--sea);
  width: 2rem;
}

.steps p {
  color: var(--muted);
  margin: 0;
}

.difference {
  padding-top: 0.5rem;
}

.difference h3 {
  margin-bottom: 1rem;
}

.difference ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.difference li {
  margin: 0;
  padding-left: 1.25rem;
  position: relative;
  color: var(--text);
}

.difference li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--sea-bright);
  border-radius: 1px;
}

/* Why */
.why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 2rem;
}

.why-list li {
  margin: 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(7, 24, 33, 0.1);
}

.why-list p {
  color: var(--muted);
  margin: 0;
  max-width: 36rem;
}

/* Contact */
.contact {
  background:
    linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 55%, #0a4a52 100%);
  color: var(--white);
}

.contact .eyebrow {
  color: var(--sea-bright);
}

.contact h2 {
  color: var(--white);
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.78);
}

.contact-tagline {
  font-family: "Syne", sans-serif;
  font-weight: 700;
  color: var(--white) !important;
  margin-top: 1.5rem;
}

.contact-mail {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--sea-bright);
  text-decoration: none;
}

.contact-mail:hover {
  color: var(--white);
}

.contact-domain {
  margin-top: 0.35rem !important;
}

.contact-domain a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.9rem;
}

.contact-domain a:hover {
  color: var(--white);
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.55);
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.site-footer .logo-text strong {
  color: var(--white);
}

.site-footer p {
  margin: 0;
  font-size: 0.85rem;
}

/* Mobile */
@media (max-width: 860px) {
  .nav-toggle {
    display: block;
    z-index: 110;
  }

  .site-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 1.75rem;
    background: rgba(7, 24, 33, 0.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .site-nav a {
    color: var(--white);
    font-size: 1.35rem;
    font-family: "Syne", sans-serif;
  }

  .nav-cta {
    background: var(--sea-bright);
    color: var(--ink) !important;
  }

  .nav-toggle.is-open span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle.is-open span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .nav-toggle.is-open span {
    background: var(--white);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .service {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .hero-media img,
  .hero-content,
  .reveal {
    animation: none !important;
    transition: none !important;
    opacity: 1;
    transform: none;
  }
}
