/* SaysWelcome — public stylesheet
   Palette:
     bg          #FFFFFF
     soft        #E2F2F1
     text        #010101
     muted       #6D8586
     accent      #83E9DF
     accent-hov  #6DD5CB
     footer      #010101
   80/20 light/dark. Calm, directory-like.
*/

:root {
  --sw-bg: #FFFFFF;
  --sw-soft: #E2F2F1;
  --sw-soft-2: #F1F8F8;
  --sw-text: #010101;
  --sw-muted: #6D8586;
  --sw-accent: #83E9DF;
  --sw-accent-hov: #6DD5CB;
  --sw-footer: #010101;
  --sw-border: rgba(1, 1, 1, 0.08);
  --sw-shadow-sm: 0 1px 2px rgba(1, 1, 1, 0.04);
  --sw-shadow-md: 0 6px 22px rgba(1, 1, 1, 0.06);
  --sw-shadow-lg: 0 18px 48px rgba(1, 1, 1, 0.08);
  --sw-radius: 16px;
  --sw-radius-sm: 10px;
  --sw-radius-pill: 999px;
  --sw-container: 1200px;
  --sw-step: clamp(1rem, 2vw, 1.25rem);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--sw-text);
  background: var(--sw-bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid var(--sw-accent);
  outline-offset: 2px;
  border-radius: 6px;
}
::selection { background: var(--sw-accent); color: var(--sw-text); }

.container { max-width: var(--sw-container); margin: 0 auto; padding: 0 1.25rem; }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--sw-text); color: #fff;
  padding: .75rem 1rem; border-radius: 0 0 8px 0; z-index: 100;
}
.skip-link:focus { left: 0; outline: 3px solid var(--sw-accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--sw-border);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: .9rem 1.25rem;
}
.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; }
.brand__text { letter-spacing: -0.01em; }
.brand--light .brand__text { color: #fff; }
.site-nav { display: flex; align-items: center; gap: 1.5rem; font-weight: 500; }
.site-nav a { color: var(--sw-text); }
.site-nav a:hover { color: var(--sw-muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.2rem; font-weight: 600; font-size: 0.95rem;
  border-radius: var(--sw-radius-pill); border: 1px solid transparent;
  cursor: pointer; transition: background-color .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.btn--sm { padding: .55rem .95rem; font-size: 0.88rem; }
.btn--accent { background: var(--sw-accent); color: var(--sw-text); }
.btn--accent:hover { background: var(--sw-accent-hov); transform: translateY(-1px); box-shadow: var(--sw-shadow-md); }
.btn--ghost { background: transparent; border-color: var(--sw-text); color: var(--sw-text); padding: .55rem .95rem; }
.btn--ghost:hover { background: var(--sw-text); color: #fff; }
.btn--dark { background: var(--sw-text); color: #fff; }
.btn--dark:hover { background: #232323; }

/* Hero */
.hero {
  background: linear-gradient(180deg, #fff 0%, var(--sw-soft) 100%);
  padding: 5rem 0 4rem;
  position: relative; overflow: hidden;
}
.hero__inner { max-width: 760px; }
.hero__icon {
  width: 56px; height: 56px;
  background: var(--sw-accent); border-radius: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; color: var(--sw-text);
  box-shadow: var(--sw-shadow-sm);
  margin-bottom: 1.4rem;
}
.hero h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 1rem;
}
.hero__sub {
  font-size: clamp(1.05rem, 1vw + .75rem, 1.25rem);
  color: var(--sw-text);
  margin: 0 0 .8rem;
}
.hero__support {
  color: var(--sw-muted);
  margin: 0 0 2rem;
}
.hero__cta { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero__decor {
  position: absolute; right: -120px; bottom: -120px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(closest-side, var(--sw-accent) 0%, transparent 70%);
  opacity: .35; pointer-events: none;
}

/* Sections */
section { padding: 4rem 0; }
.section-soft { background: var(--sw-soft); }
.section-head { max-width: 720px; margin-bottom: 2.25rem; }
.section-head__eyebrow {
  display: inline-block; font-size: .78rem; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: var(--sw-muted);
  margin-bottom: .65rem;
}
.section-head h2 {
  font-size: clamp(1.6rem, 2vw + .8rem, 2.25rem);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 .75rem;
}
.section-head p { color: var(--sw-muted); margin: 0; font-size: 1.05rem; }

/* Gallery controls */
.gallery-controls {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem;
}
.gallery-controls__status {
  font-size: .9rem; color: var(--sw-muted);
}
.gallery-controls__btn {
  display: inline-flex; align-items: center; gap: .45rem;
  background: #fff; border: 1px solid var(--sw-border);
  padding: .5rem .9rem; border-radius: var(--sw-radius-pill);
  font-size: .85rem; font-weight: 500; color: var(--sw-text);
  cursor: pointer; transition: background-color .15s, border-color .15s;
}
.gallery-controls__btn:hover { background: var(--sw-soft); border-color: var(--sw-accent); }
.gallery-controls__btn[aria-pressed="true"] { background: var(--sw-accent); border-color: var(--sw-accent); }

/* Gallery grid (masonry-like via grid auto-rows) */
.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 1.25rem;
}
@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 110px; }
}
@media (max-width: 560px) {
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: auto; gap: 1rem; }
}

/* Card */
.card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--sw-border);
  border-radius: var(--sw-radius);
  overflow: hidden;
  box-shadow: var(--sw-shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  grid-column: span 4; grid-row: span 3;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sw-shadow-lg); border-color: rgba(131,233,223,.6); }
.card--small  { grid-column: span 3; grid-row: span 2; }
.card--medium { grid-column: span 4; grid-row: span 3; }
.card--wide   { grid-column: span 6; grid-row: span 3; }
.card--tall   { grid-column: span 4; grid-row: span 4; }
.card--featured { grid-column: span 6; grid-row: span 4; border-color: rgba(131,233,223,.55); box-shadow: var(--sw-shadow-md); }
@media (max-width: 900px) {
  .card, .card--small, .card--medium, .card--wide, .card--tall, .card--featured {
    grid-column: span 6;
  }
  .card--wide, .card--featured { grid-column: span 6; }
  .card { grid-row: auto; }
}
@media (max-width: 560px) {
  .card, .card--small, .card--medium, .card--wide, .card--tall, .card--featured {
    grid-column: span 2;
    grid-row: auto;
  }
}

.card__media {
  position: relative; overflow: hidden;
  flex: 1 1 auto; min-height: 160px;
  background: var(--sw-soft-2);
  display: block;
}
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .35s ease;
  aspect-ratio: 4 / 3;
}
.card:hover .card__media img { transform: scale(1.03); }
.card__placeholder {
  width: 100%; height: 100%; min-height: 160px;
  display: grid; place-items: center;
  font-size: 2.5rem; font-weight: 700; color: var(--sw-muted);
  background: linear-gradient(135deg, var(--sw-soft) 0%, #fff 100%);
}
.card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .5rem; }
.card__category {
  display: inline-block; align-self: flex-start;
  font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--sw-muted);
  background: var(--sw-soft); padding: .25rem .55rem; border-radius: var(--sw-radius-pill);
}
.card__title { margin: 0; font-size: 1.1rem; font-weight: 600; letter-spacing: -0.01em; }
.card__title a:hover { color: var(--sw-muted); }
.card__desc { margin: 0; color: var(--sw-muted); font-size: .92rem; line-height: 1.5; }
.card__body .btn { align-self: flex-start; margin-top: .35rem; }

.gallery-empty {
  background: #fff; border: 1px dashed var(--sw-border);
  border-radius: var(--sw-radius); padding: 3rem 1.5rem; text-align: center;
  color: var(--sw-muted);
}

/* About / Saresa */
.about-grid {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 3rem; align-items: start;
}
@media (max-width: 800px) { .about-grid { grid-template-columns: 1fr; gap: 2rem; } }
.about-grid h2 { font-size: clamp(1.6rem, 2vw + .8rem, 2.25rem); margin: 0 0 1rem; letter-spacing: -0.02em;}
.about-grid p { color: var(--sw-muted); font-size: 1.05rem; }
.about-card {
  background: #fff; border-radius: var(--sw-radius); padding: 1.75rem;
  border: 1px solid var(--sw-border); box-shadow: var(--sw-shadow-sm);
}
.about-card h3 { margin: 0 0 .5rem; font-size: 1.15rem; }
.about-card p { margin: 0 0 1rem; color: var(--sw-muted); font-size: .95rem;}

/* Final CTA (dark band) */
.cta-dark {
  background: var(--sw-text); color: #fff;
  padding: 4rem 0; text-align: center;
}
.cta-dark h2 {
  font-size: clamp(1.6rem, 2vw + .8rem, 2.25rem);
  margin: 0 0 .75rem; letter-spacing: -0.02em;
}
.cta-dark p { color: #B8C5C6; margin: 0 0 1.75rem; }

/* Footer */
.site-footer {
  background: var(--sw-footer); color: #B8C5C6;
  padding: 3.5rem 0 2rem;
}
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 1.8fr; gap: 2rem; align-items: start; }
@media (max-width: 720px) { .site-footer__inner { grid-template-columns: 1fr; } }
.site-footer__brand .brand img { filter: brightness(1.1); }
.site-footer__tagline { color: #B8C5C6; margin: .75rem 0 0; font-size: .95rem; }
.site-footer__nav { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; justify-content: flex-end; }
@media (max-width: 720px) { .site-footer__nav { justify-content: flex-start; } }
.site-footer__nav a { color: #B8C5C6; font-size: .95rem; }
.site-footer__nav a:hover { color: var(--sw-accent); }
.site-footer__copy {
  grid-column: 1 / -1; margin: 2.5rem 0 0; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: .85rem; color: #6D8586;
}

/* Legal pages */
.legal { padding: 4rem 0; }
.legal__inner { max-width: 760px; }
.legal h1 { font-size: clamp(2rem, 3vw + .5rem, 2.75rem); letter-spacing: -0.02em; margin: 0 0 .75rem; }
.legal__meta { color: var(--sw-muted); margin-bottom: 2rem; }
.legal h2 { font-size: 1.35rem; margin-top: 2rem; }
.legal p, .legal li { color: #1a2222; }
.legal a { color: var(--sw-text); border-bottom: 2px solid var(--sw-accent); }
.legal a:hover { color: var(--sw-muted); }

/* Forms (report page) */
.form-card {
  background: #fff; border: 1px solid var(--sw-border); border-radius: var(--sw-radius);
  padding: 2rem; box-shadow: var(--sw-shadow-sm);
}
.form-row { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.form-row label { font-weight: 500; font-size: .9rem; }
.form-row input, .form-row textarea, .form-row select {
  width: 100%; padding: .75rem .9rem; border-radius: 10px;
  border: 1px solid var(--sw-border); font: inherit; background: #fff; color: var(--sw-text);
  transition: border-color .15s, box-shadow .15s;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  border-color: var(--sw-accent);
  box-shadow: 0 0 0 4px rgba(131,233,223,.25);
  outline: none;
}
.form-hint { color: var(--sw-muted); font-size: .82rem; }
.alert {
  padding: .85rem 1rem; border-radius: 10px; margin-bottom: 1.25rem; font-size: .95rem;
}
.alert--info    { background: var(--sw-soft); color: var(--sw-text); }
.alert--success { background: #E1F8E9; color: #0d4a26; }
.alert--error   { background: #FDECEC; color: #8a1a1a; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  html { scroll-behavior: auto; }
}

/* Fade animation for gallery reshuffle */
.gallery.is-fading { opacity: .35; transition: opacity .35s ease; }
