/* ==========================================================================
   IRAJNCOMPANY — Business Transformation Marketing
   Custom layer over the Tailwind CDN build. Bauhaus / geometric system:
   warm white ground, flat primary colour-field blocks, hard geometric
   shapes (circle / half / triangle / square / arc), Rubik. No gradients,
   no shadows, no rounded cards — precise.
   ========================================================================== */

:root {
  --ease: cubic-bezier(0.3, 0, 0.15, 1);
  --blue: #1B4DE4;
}

* { border-color: #DED8C6; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-family: "Rubik", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.06;
  text-wrap: balance;
}
p { text-wrap: pretty; }

::selection { background: #1B4DE4; color: #FAF7EF; }

/* Skip link ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: #1B4DE4;
  color: #FAF7EF;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 18px;
}
.skip-link:focus { left: 16px; top: 16px; }

/* Eyebrow with a filled dot ------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Rubik", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: currentColor;
}
.eyebrow--cream { color: #FAF7EF; }
.eyebrow--yellow { color: #F3C220; }

.em { color: var(--blue); }
.em--yellow { color: #F3C220; }

/* ==========================================================================
   Buttons — square, flat
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Rubik", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 24px;
  border: 2px solid transparent;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease),
    border-color 0.15s var(--ease);
}
.btn__arrow { transition: transform 0.15s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--blue { background: var(--blue); color: #FAF7EF; border-color: var(--blue); }
.btn--blue:hover { background: #143BB0; border-color: #143BB0; }

.btn--ink { background: #17171A; color: #FAF7EF; border-color: #17171A; }
.btn--ink:hover { background: var(--blue); border-color: var(--blue); }

.btn--yellow { background: #F3C220; color: #17171A; border-color: #17171A; }
.btn--yellow:hover { background: #ffd23d; }

.btn--line { background: transparent; color: #17171A; border-color: #17171A; }
.btn--line:hover { background: #17171A; color: #FAF7EF; }

.btn--cream { background: #FAF7EF; color: var(--blue); border-color: #FAF7EF; }
.btn--cream:hover { background: #fff; }

/* ==========================================================================
   Geometric shapes  — the signature
   ========================================================================== */

.shape { display: block; background: currentColor; }
.shape--circle   { border-radius: 999px; }
.shape--half     { border-radius: 999px 999px 0 0; }
.shape--arc      { border-radius: 999px 0 0 0; }
.shape--triangle { clip-path: polygon(50% 0%, 100% 100%, 0% 100%); border-radius: 0; }
.shape--square   { border-radius: 0; }

/* A ring (outline circle) */
.ring {
  border-radius: 999px;
  border: 3px solid currentColor;
  background: transparent;
}

.rule { height: 2px; background: #17171A; }
.rule--blue { background: var(--blue); }
.rule--cream { background: rgba(250, 247, 239, 0.25); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal.is-visible { opacity: 1; transform: none; }

.reveal-shape {
  opacity: 0;
  transform: rotate(-12deg) scale(0.9);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveal-shape.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   FAQ accordion — circle-plus toggle
   ========================================================================== */

.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.38s var(--ease);
}
.faq-item[data-state="open"] .faq-body { max-height: 24rem; }

.faq-circ {
  position: relative;
  width: 30px;
  height: 30px;
  flex: none;
  border: 2px solid #17171A;
  border-radius: 999px;
  color: #17171A;
  transition: transform 0.35s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.faq-circ::before,
.faq-circ::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: currentColor;
}
.faq-circ::before { width: 12px; height: 2px; transform: translate(-50%, -50%); }
.faq-circ::after { width: 2px; height: 12px; transform: translate(-50%, -50%); }
.faq-item[data-state="open"] .faq-circ {
  transform: rotate(135deg);
  border-color: var(--blue);
  color: var(--blue);
}
.faq-item[data-state="open"] .faq-q { color: var(--blue); }

/* ==========================================================================
   Forms (ink section)
   ========================================================================== */

.field {
  width: 100%;
  background: #17171A;
  border: 2px solid #34343A;
  color: #FAF7EF;
  font-family: "Rubik", sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.15s var(--ease);
}
.field::placeholder { color: rgba(250, 247, 239, 0.35); }
.field:focus { border-color: #F3C220; }
.field option { color: #17171A; }
select.field { appearance: none; }
.field-wrap { position: relative; }
.field-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #F3C220;
  border-bottom: 2px solid #F3C220;
  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: #17171A;
  color: #FAF7EF;
  border: 2px solid #F3C220;
  font-size: 13px;
  font-weight: 500;
  padding: 15px 20px;
  transform: translateY(16px);
  opacity: 0;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.toast.is-shown { transform: none; opacity: 1; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-shape { opacity: 1; transform: none; transition: none; }
  .btn, .btn__arrow, .faq-circ { transition: none; }
}
