/* ============================================================
   Out of the Dogs learning lab — Main Stylesheet
   A mix of two looks:
   · "field notes"  — misty outdoor photography, chunky hand-lettered
     headlines, circle badges straddling colour bands, quiet
     uppercase labels, logo palette: teal blue, box brown, dusty pink
   · "sketchbook"   — rounded cards, hand-drawn doodles, sticker-like
     tiles, halftone dots and pink scribbles
   ============================================================ */

/* ---------- Variables ---------- */
:root {
  /* Palette taken from the logo: teal blue, box brown, dusty pink */
  /* Light tones (blue-tinted) */
  --cream:      #EEF5F4;
  --sand:       #D9EAE9;
  --sand-deep:  #B9D6D5;
  --paper:      #FFFDFB;
  --mist:       #DCEAE9;
  --haze:       #E6F0EF;

  /* Ink & browns */
  --ink:        #1E2D2F;
  --ink-soft:   #536466;
  --brown:      #4D1C21;   /* headings, footer — the logo's box */
  --brown-deep: #33100F;
  --brown-soft: #7A3A42;

  /* Blues */
  --blue-logo:  #55A3A4;   /* exact logo blue — decoration, icons, rings */
  --blue:       #2E8385;   /* buttons, big lettering — AA with white text */
  --blue-ink:   #1F6466;   /* small blue text on light backgrounds */
  --blue-light: #92D2D1;   /* blue text on dark backgrounds */
  --blue-shade: #1D5A5C;
  --blue-dark:  #163E40;

  /* Pink — details only */
  --pink:       #BA6375;   /* exact logo pink */
  --pink-deep:  #A24E60;
  --pink-light: #F3C6CF;

  --ff-display: 'Playpen Sans', 'Comic Sans MS', 'Segoe Print', cursive;
  --ff-body:    'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ff-hand:    'Mynerve', 'Playpen Sans', 'Segoe Print', cursive;

  --shadow-sm:  0 2px 10px rgba(77, 28, 33, .08);
  --shadow-md:  0 14px 40px rgba(77, 28, 33, .12);
  --shadow-lg:  0 30px 80px rgba(77, 28, 33, .16);

  --r:    16px;
  --r-lg: 28px;
  --r-xl: 36px;
  --ease:     .35s cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --spring:   cubic-bezier(.34, 1.56, .64, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: var(--ff-body);
  font-size: 16.5px;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
/* Paper grain behind everything */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .32 0 0 0 0 .27 0 0 0 0 .18 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }
input, select, textarea { font-family: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

/* ---------- Utility ---------- */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; }

.section__header { text-align: center; margin-bottom: 64px; }
.section__eyebrow {
  display: inline-block;
  font-family: var(--ff-hand);
  font-size: 1.4rem;
  line-height: 1.2;
  color: var(--blue-ink);
  margin-bottom: 8px;
  rotate: -2deg;
}
.section__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.2vw, 3.3rem);
  line-height: 1.08;
  letter-spacing: -.01em;
  color: var(--brown);
  text-wrap: balance;
}
.section__subtitle { color: var(--ink-soft); margin-top: 12px; font-size: 1.05rem; }
/* Big, airy statement line with bold keywords */
.section__lead {
  max-width: 780px;
  margin: 22px auto 0;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.5;
  color: #33474A;
  text-wrap: balance;
}
.section__lead strong { font-weight: 800; color: var(--brown); }

/* Hand-drawn doodles (paths use pathLength="1" so they can draw themselves in) */
.doodle {
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  overflow: visible;
  pointer-events: none;
}
.doodle path { stroke-dasharray: 1 2; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
  padding: 15px 30px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: .8rem;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: background var(--ease), color var(--ease), border-color var(--ease), box-shadow var(--ease), translate var(--ease);
}
.btn--primary {
  background: var(--blue);
  color: var(--paper);
  box-shadow: 0 4px 0 var(--blue-shade), 0 12px 26px rgba(46, 131, 133, .26);
}
.btn--primary:hover {
  background: var(--brown);
  translate: 0 -2px;
  box-shadow: 0 5px 0 var(--brown-deep), 0 16px 30px rgba(77, 28, 33, .28);
}
.btn--primary:active { translate: 0 2px; box-shadow: 0 2px 0 var(--blue-shade); }
.btn--ghost,
.btn--outline {
  background: transparent;
  color: var(--brown);
  border-color: var(--brown);
}
.btn--ghost:hover,
.btn--outline:hover { background: var(--brown); color: var(--paper); translate: 0 -2px; }
.btn--full { width: 100%; }

/* ============================================================
   Navigation — floating rounded pill
   ============================================================ */
.nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  pointer-events: none;
}
.nav__container {
  position: relative;
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: rgba(255, 252, 247, .88);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
          backdrop-filter: blur(14px) saturate(1.3);
  border: 1px solid rgba(77, 28, 33, .08);
  border-radius: 999px;
  box-shadow: 0 8px 28px rgba(51, 16, 15, .12);
  pointer-events: auto;
  transition: background var(--ease), box-shadow var(--ease);
}
.nav--scrolled .nav__container {
  background: rgba(255, 252, 247, .96);
  box-shadow: 0 12px 34px rgba(51, 16, 15, .18);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  padding-left: 4px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.02rem;
  line-height: 1.05;
  color: var(--brown);
}
.nav__logo-img { height: 48px; width: 48px; border-radius: 14px; object-fit: cover; box-shadow: 0 2px 8px rgba(77, 28, 33, .18); }
.nav__logo-text small {
  display: block;
  font-family: var(--ff-hand);
  font-weight: 400;
  font-size: .9rem;
  color: var(--blue-ink);
}
.nav__links { display: flex; align-items: center; gap: 2px; }
.nav__link {
  display: block;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background var(--ease), color var(--ease);
}
.nav__link:hover,
.nav__link--active { background: var(--brown); color: var(--paper); }
.nav__link--forum,
.nav__link--blog { margin-left: 6px; background: var(--blue); color: var(--paper); }
.nav__link--forum:hover,
.nav__link--blog:hover { background: var(--brown); }
.lang-toggle {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(77, 28, 33, .18);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  color: var(--brown);
  transition: background var(--ease), border-color var(--ease), color var(--ease);
}
.lang-toggle:hover { background: var(--brown); border-color: var(--brown); color: var(--paper); }
.nav__hamburger {
  display: none;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brown);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.nav__hamburger span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--paper);
  transition: transform var(--ease), opacity var(--ease);
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ============================================================
   Hero — rounded frame, photo dissolving into mist
   ============================================================ */
.hero { padding: 12px; }
.hero__frame {
  --split: 42%;                       /* where the photo begins */
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: max(640px, calc(100svh - 24px));
  border-radius: var(--r-xl);
  background: var(--mist);
}
/* Foggy treeline */
.hero__frame::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 3;
  width: calc(var(--split) + 6%);
  height: 30%;
  background: url('../images/treeline.svg') left bottom / 100% 100% no-repeat;
  -webkit-mask-image: linear-gradient(90deg, #000 62%, transparent);
          mask-image: linear-gradient(90deg, #000 62%, transparent);
  pointer-events: none;
}
/* Ground haze */
.hero__frame::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  height: 34%;
  background: linear-gradient(0deg, var(--haze) 0%, rgba(230, 240, 239, .7) 32%, rgba(230, 240, 239, 0) 100%);
  pointer-events: none;
}
.hero__photo {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: var(--split);
  z-index: 1;
  overflow: hidden;
  display: grid;
  place-items: center;
}
/* Logo artwork (transparent cut-out) sitting on the clean mist */
.hero__img {
  width: min(58%, 340px);
  height: auto;
  max-height: 58%;
  object-fit: contain;
  transform-origin: 50% 50%;
  filter: drop-shadow(0 14px 24px rgba(77, 28, 33, .12));
}
.hero__canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 14% 12%, rgba(255, 255, 255, .55), transparent 70%),
    linear-gradient(90deg,
      var(--mist) calc(var(--split) - 8%),
      rgba(220, 234, 233, .85) var(--split),
      rgba(220, 234, 233, 0) calc(var(--split) + 16%));
}
.hero__birds {
  position: absolute;
  z-index: 5;
  top: 12%;
  left: calc(var(--split) + 1%);
  width: 130px;
  fill: none;
  stroke: rgba(30, 45, 47, .5);
  stroke-width: 2.2;
  stroke-linecap: round;
  pointer-events: none;
  animation: drift 9s ease-in-out infinite;
}
.hero__content {
  position: relative;
  z-index: 6;
  width: min(610px, calc(var(--split) + 10% - max(40px, (100vw - 1180px) / 2 + 12px)));
  margin-left: max(40px, calc((100vw - 1180px) / 2 + 12px));
  padding: 130px 0 150px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--ff-hand);
  font-weight: 400;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--blue-ink);
  rotate: -2deg;
  animation: rise .9s .15s both var(--ease-out);
}
.hero__eyebrow::before {
  content: '';
  width: 34px;
  height: 3px;
  border-radius: 3px;
  background: var(--pink);
}
.hero__title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2.7rem, 5.4vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  color: var(--brown);
  animation: rise .9s .3s both var(--ease-out);
}
html[lang="el"] .hero__title { font-size: clamp(2.1rem, 4.3vw, 4.4rem); }
.hero__accent-wrap { position: relative; display: inline-block; white-space: nowrap; }
.hero__accent { display: inline-block; min-height: 1em; color: var(--blue); }
.hero__title .typed-cursor { color: var(--blue); font-weight: 500; }
.hero__spark {
  flex: none;
  align-self: flex-start;
  width: 30px;
  height: 30px;
  margin: -14px 0 0 -6px;
  color: var(--pink);
  stroke-width: 3.5;
  scale: -1 1;
}
.hero__desc {
  max-width: 470px;
  margin: 24px 0 34px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #3A4D50;
  animation: rise .9s .45s both var(--ease-out);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: rise .9s .6s both var(--ease-out);
}
.hero__scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  font-family: var(--ff-hand);
  font-size: 1.1rem;
  color: var(--ink-soft);
  animation: rise .9s .8s both var(--ease-out);
}
.hero__scroll-arrow {
  width: 20px;
  height: 36px;
  color: var(--blue);
  animation: nudge 2.4s ease-in-out infinite;
}
/* Round sticker badge straddling the photo edge */
.hero__stamp {
  position: absolute;
  z-index: 7;
  left: calc(var(--split) + 1%);
  bottom: 15%;
  width: 128px;
  height: 128px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--paper);
  color: var(--brown);
  box-shadow: 0 16px 36px rgba(51, 16, 15, .22);
  rotate: -10deg;
  animation: pop .8s 1s both var(--spring);
}
.hero__stamp::after {
  content: '';
  position: absolute;
  inset: 30px;
  border-radius: 50%;
  border: 2px dashed rgba(46, 131, 133, .45);
}
.hero__stamp svg {
  position: absolute;
  inset: 4px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  overflow: visible;
  animation: spin 28s linear infinite;
}
.hero__stamp text {
  font-family: var(--ff-body);
  font-size: 10.5px;
  font-weight: 800;
  fill: currentColor;
}
.hero__stamp i { font-size: 1.9rem; color: var(--blue); }

/* ============================================================
   About — white card pulled up over the hero
   ============================================================ */
.about { position: relative; z-index: 2; padding-top: 0; isolation: isolate; }
.about::before {                     /* halftone dots peeking out beside the card */
  content: '';
  position: absolute;
  right: 0;
  top: 22%;
  z-index: -1;
  width: 420px;
  height: 560px;
  background: radial-gradient(circle, rgba(186, 99, 117, .32) 1.3px, transparent 1.8px) 0 0 / 12px 12px;
  -webkit-mask-image: radial-gradient(closest-side at 100% 50%, #000, transparent);
          mask-image: radial-gradient(closest-side at 100% 50%, #000, transparent);
}
.about__card {
  position: relative;
  margin-top: -96px;
  padding: 72px 64px 64px;
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas:
    "head    media"
    "content media"
    "content gallery";
  column-gap: 72px;
}
.about__head { grid-area: head; }
.about__content { grid-area: content; }
.about__media { grid-area: media; align-self: start; position: relative; }
.about__kicker {
  display: block;
  width: fit-content;
  margin-bottom: 22px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--blue);
  rotate: -4deg;
}
.about__heading { position: relative; width: fit-content; margin-bottom: 30px; }
.about__name { font-weight: 800; color: var(--brown); }
.about__hi {
  display: block;
  margin-bottom: 4px;
  font-family: var(--ff-hand);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.2;
  color: var(--ink-soft);
}
.about__fullname {
  display: block;
  width: min-content;
  font-family: var(--ff-body);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 4.1rem);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.about__spark {
  position: absolute;
  top: 30px;
  right: -48px;
  width: 42px;
  height: 42px;
  color: var(--pink);
  stroke-width: 3.5;
}
.about__arrow {
  position: absolute;
  left: calc(100% + 44px);
  bottom: 6px;
  width: 150px;
  height: 66px;
  color: var(--ink);
  stroke-width: 2.4;
}
.about__text { margin-bottom: 16px; color: var(--ink-soft); }
.about__creds { display: grid; gap: 12px; margin: 30px 0 36px; }
.cred {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
}
/* App-icon style tiles */
.cred__tile {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .28);
}
.cred__tile--pine  { background: var(--brown); color: var(--pink-light); }
.cred__tile--navy  { background: var(--blue-dark); color: var(--blue-light); }
.cred__tile--bark  { background: var(--blue); color: #fff; }
.cred__tile--grape { background: var(--pink); color: #fff; }

.about__backing {
  position: absolute;
  inset: 22px -20px -22px 20px;
  border-radius: var(--r-lg);
  background: radial-gradient(circle, rgba(77, 28, 33, .28) 1.3px, transparent 1.8px) 0 0 / 12px 12px, var(--sand);
  rotate: 4deg;
}
.about__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  rotate: -1.5deg;
}
.about__img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.about__note {
  position: absolute;
  top: 19%;
  right: 7%;
  padding: 4px 16px 6px;
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--ff-hand);
  font-size: 1.3rem;
  line-height: 1.3;
  color: var(--ink);
  rotate: 7deg;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}
.about__note-arrow {
  position: absolute;
  top: 27%;
  left: 48%;
  width: 22%;
  aspect-ratio: 1;
  color: var(--paper);
  stroke-width: 3.5;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .45));
}

/* Field snapshots — taped polaroids under the portrait */
.about__gallery { grid-area: gallery; align-self: start; margin-top: 60px; }
.polaroid {
  position: relative;
  width: 66%;
  margin: 0;
  padding: 10px 10px 36px;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 16px 34px rgba(30, 45, 47, .16), 0 2px 6px rgba(30, 45, 47, .08);
}
.polaroid img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 2px; }
.polaroid::before {                  /* washi tape */
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  width: 92px;
  height: 26px;
  translate: -50% 0;
  rotate: -6deg;
  background: rgba(85, 163, 164, .6);
  clip-path: polygon(3% 0, 97% 0, 100% 25%, 96% 50%, 100% 75%, 97% 100%, 3% 100%, 0 75%, 4% 50%, 0 25%);
}
.polaroid--a { rotate: -3deg; }
.polaroid--b { margin: -40px 0 0 auto; rotate: 4deg; }
.polaroid--b::before { background: rgba(186, 99, 117, .38); rotate: 5deg; }

/* ============================================================
   Services — sand band with badges straddling its edge
   ============================================================ */
.services { padding-top: 0; }
.services__intro { padding: 110px 0 100px; background: var(--sand); }
.services__intro .section__header { margin-bottom: 0; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 84px 22px;
}
.svc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 70px 24px 30px;
  text-align: center;
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: 0 10px 30px rgba(77, 28, 33, .07);
  transition: translate var(--ease), box-shadow var(--ease);
}
.svc-card:hover { translate: 0 -6px; box-shadow: var(--shadow-md); }
.svc-card--featured { box-shadow: inset 0 0 0 2px var(--blue), 0 16px 36px rgba(46, 131, 133, .14); }
.svc-card--featured:hover { box-shadow: inset 0 0 0 2px var(--blue), 0 20px 44px rgba(46, 131, 133, .2); }
.svc-card__icon {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -50%;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.65rem;
  color: var(--blue);
  background: var(--paper);
}
.svc-card__icon::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 2px dashed rgba(46, 131, 133, .35);
}
.svc-card:nth-child(even) .svc-card__icon { color: var(--pink); }
.svc-card:nth-child(even) .svc-card__icon::after { border-color: rgba(186, 99, 117, .45); }
/* Sticker tag stuck to the icon badge, floating in the band above the card */
.svc-card__badge {
  position: absolute;
  top: -42px;
  left: calc(50% + 32px);
  z-index: 1;
  white-space: nowrap;
  padding: 3px 14px 5px;
  border-radius: 999px;
  background: var(--pink-deep);
  color: #fff;
  font-family: var(--ff-hand);
  font-size: 1.1rem;
  line-height: 1.3;
  rotate: 8deg;
  box-shadow: 0 6px 14px rgba(186, 99, 117, .35);
}
.svc-card h3 {
  margin-bottom: 14px;
  font-size: .9rem;
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brown);
}
.svc-card h3::after {
  content: '';
  display: block;
  width: 34px;
  height: 3px;
  margin: 14px auto 0;
  border-radius: 3px;
  background: var(--pink);
}
.svc-card p { margin-bottom: 18px; font-size: .9rem; line-height: 1.65; color: var(--ink-soft); }
.svc-card ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 26px;
  text-align: left;
}
.svc-card li { display: flex; gap: 9px; font-size: .84rem; line-height: 1.45; color: var(--ink); }
.svc-card li::before { content: '✓'; flex: none; font-weight: 800; color: var(--blue); }
.svc-card__link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.svc-card__link i {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .68rem;
  color: var(--paper);
  background: var(--blue);
  transition: translate var(--ease);
}
.svc-card__link:hover i { translate: 4px 0; }

/* ============================================================
   Contact — rounded card with doodles
   ============================================================ */
.contact { position: relative; isolation: isolate; }
.contact::before {                   /* halftone + pink blush in the corner */
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  width: min(520px, 100%);
  height: 460px;
  background:
    radial-gradient(circle, rgba(186, 99, 117, .3) 1.3px, transparent 1.8px) 0 0 / 12px 12px,
    radial-gradient(closest-side, rgba(186, 99, 117, .12), transparent);
  -webkit-mask-image: radial-gradient(closest-side at 0 100%, #000, transparent);
          mask-image: radial-gradient(closest-side at 0 100%, #000, transparent);
}
.contact__card {
  padding: 64px;
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 64px;
  align-items: start;
}
/* Heading runs inline so the arrow always trails the last word */
.contact__heading .section__title { display: inline; }
.contact__arrow {
  display: inline-block;
  width: 58px;
  height: 50px;
  margin-left: 10px;
  vertical-align: -.2em;
  color: var(--pink);
}
.contact__desc { margin: 18px 0 30px; color: var(--ink-soft); }
.contact__details { display: grid; gap: 16px; margin-bottom: 30px; }
.contact__row { display: flex; align-items: center; gap: 16px; }
.contact__ico {
  flex: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.05rem;
  color: var(--blue);
  background: var(--sand);
}
.contact__row strong {
  display: block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.contact__row span,
.contact__row a { font-weight: 600; color: var(--ink); }
.contact__row a:hover { color: var(--blue-ink); }
.contact__social { display: flex; gap: 10px; }
.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  color: var(--brown);
  border: 2px solid var(--sand-deep);
  transition: background var(--ease), border-color var(--ease), color var(--ease), translate var(--ease);
}
.social-btn:hover { background: var(--brown); border-color: var(--brown); color: var(--paper); translate: 0 -3px; }

/* Contact form */
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  background: var(--cream);
  border-radius: var(--r-lg);
}
.form-group { position: relative; }
.form-input {
  width: 100%;
  padding: 24px 18px 8px;
  border: 2px solid transparent;
  border-radius: var(--r);
  outline: none;
  font-size: .95rem;
  color: var(--ink);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px rgba(77, 28, 33, .1);
  transition: border-color var(--ease), box-shadow var(--ease);
}
.form-input:focus { border-color: var(--brown); box-shadow: 0 0 0 4px rgba(77, 28, 33, .1); }
.form-label {
  position: absolute;
  top: 50%;
  left: 20px;
  right: 20px;
  translate: 0 -50%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: .92rem;
  color: var(--ink-soft);
  pointer-events: none;
  transition: top var(--ease), translate var(--ease), font-size var(--ease), color var(--ease);
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
.form-select + .form-label {
  top: 8px;
  translate: 0 0;
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue-ink);
}
.form-textarea { resize: vertical; min-height: 120px; padding-top: 30px; }
.form-textarea + .form-label { top: 20px; translate: 0 0; }
.form-select {
  appearance: none;
  cursor: pointer;
  padding-right: 46px;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1.5 1.5l5.5 5.5 5.5-5.5' fill='none' stroke='%234D1C21' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 20px center;
}
.form__success {
  display: none;
  padding: 14px 16px;
  border: 1.5px solid var(--brown);
  border-radius: var(--r);
  text-align: center;
  font-size: .9rem;
  font-weight: 600;
  color: var(--brown);
  background: rgba(77, 28, 33, .08);
}
.form__success i { margin-right: 8px; }

/* ============================================================
   Footer — brown card closing the page
   ============================================================ */
.footer {
  position: relative;
  overflow: hidden;
  margin: 0 12px 12px;
  padding: 72px 0 0;
  border-radius: var(--r-xl);
  background: var(--brown);
  color: rgba(255, 252, 247, .78);
}
.footer::before {                    /* faint treeline along the bottom */
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  background: url('../images/treeline.svg') left bottom / 100% 100% no-repeat;
  opacity: .12;
  pointer-events: none;
}
.footer .container { position: relative; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1.5px dashed rgba(255, 252, 247, .18);
}
.footer .nav__logo { display: inline-flex; margin: 0 0 18px; padding: 0; color: var(--paper); }
.footer .nav__logo-img {
  width: 72px;
  height: 72px;
  border-radius: 18px;
}
.footer .nav__logo-text small { color: var(--blue-light); }
.footer__brand p { max-width: 280px; font-size: .92rem; line-height: 1.7; }
.footer__col h4,
.footer__heading {
  margin-bottom: 20px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--paper);
}
.footer__col ul { display: flex; flex-direction: column; gap: 10px; }
.footer__col a { font-size: .92rem; transition: color var(--ease); }
.footer__col a:hover { color: var(--blue-light); }
.footer__col p { font-size: .92rem; }
.footer__sub { display: flex; gap: 8px; margin-top: 16px; }
.footer__input {
  flex: 1;
  min-width: 0;
  padding: 12px 18px;
  border: 1.5px solid rgba(255, 252, 247, .2);
  border-radius: 999px;
  outline: none;
  font-size: .88rem;
  color: var(--paper);
  background: rgba(255, 252, 247, .08);
  transition: border-color var(--ease), background var(--ease);
}
.footer__input::placeholder { color: rgba(255, 252, 247, .55); }
.footer__input:focus { border-color: var(--blue-light); background: rgba(255, 252, 247, .12); }
.footer__sub .btn { padding: 12px 20px; box-shadow: none; }
.footer__sub .btn:hover { background: var(--blue-shade); box-shadow: none; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0 30px;
  font-size: .84rem;
  color: rgba(255, 252, 247, .55);
}

/* ============================================================
   Back to Top
   ============================================================ */
.back-top {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 999;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: .9rem;
  color: var(--paper);
  background: var(--blue);
  box-shadow: 0 4px 0 var(--blue-shade), 0 12px 24px rgba(46, 131, 133, .3);
  opacity: 0;
  pointer-events: none;
  translate: 0 12px;
  transition: opacity var(--ease), translate var(--ease), background var(--ease), box-shadow var(--ease);
}
.back-top.visible { opacity: 1; pointer-events: auto; translate: 0 0; }
.back-top:hover { background: var(--brown); box-shadow: 0 4px 0 var(--brown-deep), 0 12px 24px rgba(77, 28, 33, .3); translate: 0 -3px; }

/* ============================================================
   Blog Page
   ============================================================ */
.paw-icon { font-size: 1.3rem; }
.blog-hero {
  position: relative;
  overflow: hidden;
  margin: 12px;
  padding: 170px 24px 100px;
  border-radius: var(--r-xl);
  text-align: center;
  color: var(--paper);
  background: var(--blue-dark);
}
.blog-hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: url('../images/treeline.svg') left bottom / 100% 100% no-repeat;
  opacity: .14;
  pointer-events: none;
}
.blog-hero__content { position: relative; }
.blog-hero .section__eyebrow { color: var(--blue-light); }
.blog-hero__title {
  margin: 6px 0 14px;
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 1.05;
}
.blog-hero p { color: rgba(255, 252, 247, .75); }

.blog-controls { position: sticky; top: 100px; z-index: 100; padding-top: 22px; }
.blog-controls__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  padding: 10px;
  background: rgba(255, 252, 247, .94);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(77, 28, 33, .06);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.search-box { position: relative; display: flex; align-items: center; flex: 0 0 300px; }
.search-box i { position: absolute; left: 16px; font-size: .9rem; color: var(--ink-soft); }
.search-input {
  width: 100%;
  padding: 11px 40px;
  border: 2px solid var(--sand);
  border-radius: 999px;
  outline: none;
  font-size: .9rem;
  color: var(--ink);
  background: var(--cream);
  transition: border-color var(--ease), background var(--ease);
}
.search-input:focus { border-color: var(--brown); background: var(--paper); }
.search-clear { position: absolute; right: 14px; font-size: .8rem; color: var(--ink-soft); opacity: 0; transition: opacity var(--ease); }
.search-clear.visible { opacity: 1; }
.search-clear:hover { color: var(--ink); }
.filter-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-btn {
  padding: 9px 18px;
  border: 2px solid var(--sand);
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--ink-soft);
  transition: border-color var(--ease), color var(--ease), background var(--ease);
}
.filter-btn:hover { border-color: var(--brown); color: var(--brown); }
.filter-btn--active { background: var(--brown); border-color: var(--brown); color: var(--paper); }

.blog-section { padding-top: 60px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.blog-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: translate var(--ease), box-shadow var(--ease);
}
.blog-card:hover { translate: 0 -6px; box-shadow: var(--shadow-md); }
.blog-card--featured { grid-column: span 2; }
.blog-card--featured .blog-card__img { height: 300px; }
.blog-card__img-wrap { position: relative; overflow: hidden; }
.blog-card__img { width: 100%; height: 210px; object-fit: cover; transition: scale .6s var(--ease-out); }
.blog-card:hover .blog-card__img { scale: 1.05; }
.blog-card__cat {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 13px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-ink);
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  rotate: -3deg;
}
.blog-card__body { flex: 1; display: flex; flex-direction: column; padding: 24px 26px 22px; }
.blog-card__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-size: .8rem; color: var(--ink-soft); }
.blog-card__meta span { display: flex; align-items: center; gap: 6px; }
.blog-card__title {
  margin-bottom: 10px;
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.3;
  color: var(--brown);
  transition: color var(--ease);
}
.blog-card:hover .blog-card__title { color: var(--blue); }
.blog-card__excerpt { flex: 1; font-size: .92rem; line-height: 1.65; color: var(--ink-soft); }
.blog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1.5px dashed var(--sand-deep);
}
.blog-card__read {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-ink);
  transition: gap var(--ease);
}
.blog-card:hover .blog-card__read { gap: 12px; }
.blog-card__time { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ink-soft); }
.blog__empty { padding: 80px 20px; text-align: center; color: var(--ink-soft); }
.blog__empty i { margin-bottom: 16px; font-size: 3rem; opacity: .3; }
.blog__empty p { font-size: 1.05rem; }
.blog__load-more { margin-top: 48px; text-align: center; }

.blog-newsletter { padding: 0 0 100px; }
.blog-newsletter__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 52px 56px;
  border-radius: var(--r-xl);
  background: var(--blue-dark);
}
.blog-newsletter__inner h2 { font-family: var(--ff-display); font-weight: 800; font-size: 2.1rem; color: var(--paper); }
.blog-newsletter__inner p { margin-top: 6px; color: rgba(255, 252, 247, .75); }
.blog-newsletter__form { display: flex; gap: 12px; min-width: 360px; }
.footer__input.blog-newsletter__input { background: rgba(255, 252, 247, .12); border-color: rgba(255, 252, 247, .3); }

/* ============================================================
   Keyframes
   ============================================================ */
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: scale(.6); }
  to   { opacity: 1; transform: none; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}
@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(10px, -6px); }
}
@keyframes blink { 50% { opacity: 0; } }
.cursor { animation: blink .8s infinite; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1200px) {
  .hero__frame { --split: 48%; }
}

@media (max-width: 1100px) {
  .nav__link { padding: 9px 10px; letter-spacing: .12em; }
  .about__card { padding: 60px 44px 52px; }
  .about__grid { column-gap: 48px; }
  .services__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__card { padding: 52px 40px; }
  .contact__grid { gap: 44px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .blog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav { top: 14px; padding: 0 14px; }
  .nav__hamburger { display: flex; }
  .nav__links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px;
    background: var(--paper);
    border-radius: 26px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    translate: 0 -8px;
    transition: opacity .25s ease, translate .25s ease, visibility .25s;
  }
  .nav__links.open { opacity: 1; visibility: visible; translate: 0 0; }
  .nav__link { padding: 14px 18px; font-size: .8rem; }
  .nav__link--forum,
  .nav__link--blog { margin: 6px 0 0; text-align: center; }
}

@media (max-width: 860px) {
  /* Hero stacks: photo on top, dissolving down into the mist */
  .hero { padding: 8px; }
  .hero__frame {
    flex-direction: column;
    align-items: stretch;
    min-height: 0;
    border-radius: var(--r-lg);
  }
  .hero__frame::before { width: 100%; height: 16%; }
  .hero__photo { position: relative; left: 0; flex: none; height: clamp(360px, 58svh, 600px); }
  .hero__img { width: min(56%, 240px); max-height: 70%; margin-top: 40px; }
  .hero__overlay { display: none; }
  .hero__birds { top: 104px; left: 8%; width: 110px; }
  .hero__content { width: auto; margin: -64px 0 0; padding: 0 24px 104px; }
  .hero__stamp {
    left: auto;
    right: 16px;
    bottom: auto;
    top: calc(clamp(360px, 58svh, 600px) - 190px);
    width: 100px;
    height: 100px;
  }
  .hero__stamp::after { inset: 24px; }
  .hero__stamp i { font-size: 1.5rem; }

  .about__card { margin-top: -60px; }
  .about__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    grid-template-areas: "head" "media" "content" "gallery";
  }
  .about__media { width: 100%; max-width: 440px; margin: 10px auto 52px; }
  .about__arrow { display: none; }
  .about__gallery { width: 100%; max-width: 520px; margin: 56px auto 0; }
  .about__polaroids { display: flex; align-items: flex-start; justify-content: space-between; }
  .polaroid { width: 48%; padding: 7px 7px 24px; }
  .polaroid--b { margin: 30px 0 0; }
  .polaroid::before { top: -10px; width: 64px; height: 20px; }

  .contact__grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 76px 0; }
  .services__intro { padding: 76px 0 96px; }
  .blog__grid { grid-template-columns: minmax(0, 1fr); }
  .blog-card--featured { grid-column: span 1; }
  .blog-controls { top: 86px; }
  .blog-controls__inner { flex-direction: column; align-items: stretch; }
  .search-box { flex: none; }
  .blog-newsletter__inner { flex-direction: column; padding: 40px 28px; text-align: center; }
  .blog-newsletter__form { min-width: 0; width: 100%; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .footer__bottom { flex-direction: column; gap: 6px; text-align: center; }
}

@media (max-width: 600px) {
  .section { padding: 56px 0; }
  .services__intro { padding: 56px 0 84px; }
  .form-label { font-size: .86rem; }
  .btn { padding: 15px 22px; letter-spacing: .1em; }
  .nav__logo-text { font-size: .92rem; }
  .nav__logo-img { height: 40px; width: 40px; border-radius: 12px; }
  .about__card { padding: 44px 22px 36px; border-radius: var(--r-lg); }
  .about__spark { right: -38px; width: 34px; height: 34px; }
  .services__grid { grid-template-columns: minmax(0, 1fr); }
  .contact__card { padding: 36px 20px; border-radius: var(--r-lg); }
  .contact__form { padding: 22px 16px; }
  .contact__arrow { display: none; }
  .hero__cta .btn { flex: 1 1 auto; }
  .hero__scroll { display: none; }
  .hero__content { padding-bottom: 96px; }
}

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
