/* ========================================================================
   Artziig.ch — parent company site
   Palette: cream-white #FAFAF7, charcoal #1A1A1A, sage #769B90
   Typography: Playfair Display (headings), Inter (body, similar to Geist)
   Aesthetic: quiet, elegant, soothing — no rounded corners, generous space
   ======================================================================== */

:root {
  --color-bg: #FAFAF7;
  --color-text: #1A1A1A;
  --color-muted: #6E6B66;
  --color-line: #E8E5DD;
  --color-sage: #769B90;
  --color-sage-deep: #5C7D74;
  --color-cream-warm: #F4F0E6;
  --color-charcoal-soft: #2A2A28;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1200px;
  --gutter: 1.5rem;
  --section-y: 6rem;
  --section-y-sm: 4rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-sage-deep); }

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

/* ========================================================================
   Header
   ======================================================================== */
.site-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 2rem var(--gutter) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.wordmark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.32em;
  color: var(--color-text);
  padding-left: 0.32em; /* compensate the right-side optical drift from tracking */
}
@media (min-width: 768px) {
  .wordmark {
    font-size: 1.35rem;
    letter-spacing: 0.38em;
  }
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
}
.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
}
.lang-btn[aria-pressed="true"] {
  color: var(--color-text);
  font-weight: 500;
}
.lang-btn:hover { color: var(--color-sage-deep); }
.lang-sep { color: var(--color-line); }

/* ========================================================================
   Hero banner image — show full image at its natural ~3:2 aspect.
   No cropping. Width-bounded by the page max-w (1200), so it scales
   proportionally on every breakpoint.
   ======================================================================== */
.hero-banner {
  max-width: var(--max-w);
  margin: 2.5rem auto 0;
  padding: 0 var(--gutter);
}
.hero-banner picture,
.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-banner img {
  border: 1px solid var(--color-line);
}
@media (max-width: 600px) {
  .hero-banner { margin-top: 1.5rem; }
}

/* ========================================================================
   Hero
   ======================================================================== */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem var(--gutter) var(--section-y);
}
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
}
.hero-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 18ch;
  margin-bottom: 1.5rem;
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 300;
  line-height: 1.55;
  color: var(--color-charcoal-soft);
  max-width: 50ch;
}

/* ========================================================================
   Content blocks
   ======================================================================== */
.content-block {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-y-sm) var(--gutter);
}
.section-title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.005em;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 1px;
  background: var(--color-sage);
}
.prose {
  max-width: 60ch;
}
.prose p {
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}
.prose p:last-child { margin-bottom: 0; }

/* ========================================================================
   Platforms grid
   ======================================================================== */
.platforms {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: var(--section-y) var(--gutter);
}
.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1rem;
}
@media (min-width: 768px) {
  .platform-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.platform-card {
  background: white;
  border: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.platform-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,0.18);
}

.platform-card__image {
  position: relative;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* once & kept aesthetic card: cream + sage Playfair text  */
.platform-card__image--ok {
  background: linear-gradient(135deg, #F4F0E6 0%, #E8E1D1 100%);
  color: var(--color-sage-deep);
}
/* Coming soon: soft sage gradient with serif "in progress" mark */
.platform-card__image--soon {
  background: linear-gradient(135deg, #DCE8E4 0%, #B5C9C2 100%);
  color: #3D5B53;
}
.platform-card__image-text {
  font-family: var(--font-heading);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: -0.01em;
  text-align: center;
  padding: 1rem;
  opacity: 0.85;
}

.platform-card__body {
  padding: 2.25rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.platform-card__status {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-sage-deep);
  margin-bottom: 1rem;
}
.platform-card--soon .platform-card__status {
  color: var(--color-muted);
}
.platform-card__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: -0.005em;
}
.platform-card__title em {
  font-style: italic;
  font-weight: 400;
  font-size: 0.85em;
  color: var(--color-muted);
}
.platform-card__desc {
  color: var(--color-charcoal-soft);
  font-size: 0.98rem;
  margin-bottom: 1.75rem;
  flex: 1;
}
.platform-card__cta {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--color-sage-deep);
  border-bottom: 1px solid var(--color-sage);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.platform-card__cta:hover {
  color: var(--color-text);
  border-color: var(--color-text);
}
.platform-card__cta--soon {
  color: var(--color-muted);
  border-color: var(--color-line);
}
.platform-card__cta--soon:hover {
  color: var(--color-sage-deep);
  border-color: var(--color-sage);
}

/* ========================================================================
   Contact
   ======================================================================== */
.contact { padding-bottom: var(--section-y); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 600px) {
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
.contact-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 0.75rem;
}

/* ========================================================================
   Footer
   ======================================================================== */
.site-footer {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem var(--gutter);
  border-top: 1px solid var(--color-line);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}
.footer-brand {
  font-weight: 500;
  letter-spacing: 0.32em;
  color: var(--color-text);
  font-size: 0.95rem;
}
.footer-meta { color: var(--color-muted); }
@media (min-width: 600px) {
  .site-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* ========================================================================
   Subtle fade-in on first paint
   ======================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .hero-banner,
  main > section {
    opacity: 0;
    transform: translateY(8px);
    animation: fadeIn 0.7s ease forwards;
  }
  .hero-banner               { animation-delay: 0.00s; }
  main > section:nth-of-type(1) { animation-delay: 0.12s; }
  main > section:nth-of-type(2) { animation-delay: 0.24s; }
  main > section:nth-of-type(3) { animation-delay: 0.36s; }
  main > section:nth-of-type(4) { animation-delay: 0.48s; }
  main > section:nth-of-type(5) { animation-delay: 0.60s; }

  @keyframes fadeIn {
    to { opacity: 1; transform: translateY(0); }
  }
}
