/* ==========================================================================
   GURUJI — Brand Strategy & Digital Marketing
   Custom layer over the Tailwind CDN build. "Clarity / direction" system:
   green-tinted light ground, emerald, a directional-arrow motif, Syne
   display, offset service blocks. Square cards, pill buttons.
   ========================================================================== */

:root {
  --ease: cubic-bezier(0.22, 1, 0.32, 1);
  --emerald: #2F7D57;
}

* { border-color: #D3D9C7; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.1;
  text-wrap: balance;
  font-feature-settings: "ss01";
}
p { text-wrap: pretty; }

::selection { background: #2F7D57; color: #F4F6EE; }

/* Skip link ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: #2F7D57;
  color: #F4F6EE;
  font-size: 13px;
  padding: 10px 20px;
  border-radius: 999px;
}
.skip-link:focus { left: 18px; top: 18px; }

/* Eyebrow with a leading arrow ------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Karla", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald);
}
.eyebrow::before { content: "\2192"; font-weight: 700; }
.eyebrow--cream { color: #A9D9BF; }

.em { color: var(--emerald); }

/* ==========================================================================
   Buttons — pill
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Karla", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: background-color 0.28s var(--ease), color 0.28s var(--ease),
    border-color 0.28s var(--ease), transform 0.28s var(--ease);
}
.btn__arrow { transition: transform 0.28s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--emerald { background: var(--emerald); color: #F4F6EE; border-color: var(--emerald); }
.btn--emerald:hover { background: #245F42; border-color: #245F42; transform: translateY(-2px); }

.btn--line { background: transparent; color: #16231B; border-color: #BFC8B2; }
.btn--line:hover { border-color: var(--emerald); color: var(--emerald); transform: translateY(-2px); }

.btn--cream { background: #F4F6EE; color: var(--emerald); border-color: #F4F6EE; }
.btn--cream:hover { transform: translateY(-2px); }

.btn--ink { background: #16231B; color: #F4F6EE; border-color: #16231B; }
.btn--ink:hover { background: #1F3126; transform: translateY(-2px); }

/* Text link with a sliding arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Karla", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: inherit;
}
.arrow-link svg { transition: transform 0.28s var(--ease); }
.arrow-link:hover { color: var(--emerald); }
.arrow-link:hover svg { transform: translateX(4px); }

/* ==========================================================================
   Motif pieces
   ========================================================================== */

.blocknum {
  font-family: "Syne", system-ui, sans-serif;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--emerald);
}
.blocknum--solid { color: var(--emerald); -webkit-text-stroke: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid #C6D0B8;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12px;
  font-weight: 600;
}

.rule { height: 1px; background: #D3D9C7; }
.rule--emerald { height: 2px; background: var(--emerald); }
.flow-arrow { color: var(--emerald); }

/* ==========================================================================
   Marquee (capability strip — directional, moving)
   ========================================================================== */

.marq { overflow: hidden; }
.marq-track {
  display: flex;
  width: max-content;
  animation: marq 30s linear infinite;
}
.marq:hover .marq-track { animation-play-state: paused; }
@keyframes marq {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s var(--ease);
}
.faq-item[data-state="open"] .faq-body { max-height: 24rem; }

.faq-plus {
  position: relative;
  width: 15px;
  height: 15px;
  flex: none;
  color: var(--emerald);
  transition: transform 0.4s var(--ease);
}
.faq-plus::before,
.faq-plus::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
}
.faq-plus::before { width: 15px; height: 2px; transform: translate(-50%, -50%); }
.faq-plus::after { width: 2px; height: 15px; transform: translate(-50%, -50%); }
.faq-item[data-state="open"] .faq-plus { transform: rotate(135deg); }
.faq-item[data-state="open"] .faq-q { color: var(--emerald); }

/* ==========================================================================
   Forms (ink section)
   ========================================================================== */

.field {
  width: 100%;
  background: #1F3126;
  border: 1.5px solid #33463A;
  border-radius: 10px;
  color: #F4F6EE;
  font-family: "Karla", sans-serif;
  font-size: 15px;
  padding: 12px 15px;
  outline: none;
  transition: border-color 0.28s var(--ease);
}
.field::placeholder { color: rgba(244, 246, 238, 0.38); }
.field:focus { border-color: #6FBF93; }
.field option { color: #16231B; }
select.field { appearance: none; }
.field-wrap { position: relative; }
.field-wrap::after {
  content: "";
  position: absolute;
  right: 15px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-right: 2px solid #6FBF93;
  border-bottom: 2px solid #6FBF93;
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

/* ==========================================================================
   Toast
   ========================================================================== */

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #16231B;
  color: #F4F6EE;
  border: 1.5px solid #2F7D57;
  border-radius: 999px;
  font-size: 13px;
  padding: 14px 22px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.toast.is-shown { transform: none; opacity: 1; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marq-track { animation: none; }
  .btn, .btn__arrow, .arrow-link svg, .faq-plus { transition: none; }
  .btn:hover { transform: none; }
}
