/* ==========================================================
   Creatively Versed: site styles
   Brand colors live in :root. Change them there only.
   ========================================================== */

:root {
  --bg: #000000;        /* page background */
  --surface: #0E0E0E;   /* cards, pop-up */
  --ink: #FFFFFF;       /* main text */
  --body: #CFCFCF;      /* paragraph text */
  --muted: #9A9A9A;     /* labels, secondary text */
  --line: #242424;      /* dividers */
  --field-line: #333333;/* form field borders */
  --accent: #FF8F27;    /* Versed Orange */
  --font: Arial, Helvetica, sans-serif;
}

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

[hidden] { display: none !important; }

html {
  height: 100%;
  -webkit-text-size-adjust: 100%; /* stop iPhone landscape text inflation */
  text-size-adjust: 100%;
}

body { height: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
}

img { display: block; }

/* Keyboard focus ring (mouse clicks don't show it) */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.contact-form input:focus-visible,
.contact-form textarea:focus-visible { outline: none; }

/* ---------- Shared pieces ---------- */

.btn {
  display: block;
  padding: 16px;
  border: 0;
  background: var(--accent);
  color: #000;
  font: 700 13px var(--font);
  letter-spacing: 2px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: #fff; color: #000; }

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  animation: pulse 2s infinite;
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  white-space: nowrap;
}
.status--mobile { display: none; margin-bottom: 22px; }

/* ---------- Header ---------- */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 40px;
  border-bottom: 1px solid var(--line);
}

.logo { height: 96px; width: auto; }

.nav { display: flex; align-items: center; gap: 24px; }

.nav-btn {
  padding: 11px 18px;
  border: 1.5px solid var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
}
.nav-btn { position: relative; }
.nav-btn::after { content: ""; position: absolute; inset: -6px -4px; } /* bigger tap area */
.nav-btn:hover { background: var(--accent); color: #000; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 48px;
}
.hero > section { position: relative; z-index: 1; }

/* Large faint brush check behind the headline. Adjust opacity to taste. */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: -40px;
  z-index: 0;
  width: 520px;
  height: auto;
  opacity: 0.068;
  transform: translateY(-50%);
  pointer-events: none;
}

.eyebrow {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(40px, 5.6vw, 74px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -2px;
}
h1 span { display: block; color: var(--accent); }

.lede {
  max-width: 500px;
  margin-top: 28px;
  color: var(--body);
  font-size: 19px;
  line-height: 1.6;
}

.btn--hero { display: inline-block; margin-top: 32px; padding: 16px 34px; }

/* ---------- Services card ---------- */

.services {
  padding: 40px 32px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--surface);
}
.services h2 {
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

.service-list { list-style: none; border-top: 1px solid var(--line); }
.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.service-num {
  min-width: 22px;
  padding-top: 3px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}
.service-list h3 { font-size: 16px; font-weight: 700; }
.service-list p {
  margin-top: 5px;
  text-wrap: balance; /* even line lengths, no single word left alone */
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

/* ---------- Experience strip ---------- */

.experience {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 22px;
  padding: 26px 24px;
  border-top: 1px solid var(--line);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.experience-label { color: var(--muted); font-weight: 400; }
.experience i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  justify-content: space-between;
  padding: 22px 48px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
}

.footer-links { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links .sep { color: var(--muted); }

/* ---------- Contact pop-up ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
}

.modal {
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  max-height: calc(100dvh - 32px);
  overflow: auto;
  padding: 36px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  background: var(--surface);
}
.modal h2 { font-size: 26px; letter-spacing: -0.5px; }

.modal-intro {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 44px;  /* comfortable tap target */
  min-height: 44px;
  padding: 6px;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { color: #fff; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 26px;
}
.contact-form .full,
.contact-form .form-error,
.contact-form .btn { grid-column: 1 / -1; }

.contact-form label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.contact-form .optional { font-weight: 400; letter-spacing: 0; text-transform: none; }

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 13px;
  border: 1px solid var(--field-line);
  border-radius: 0;
  outline: none;
  background: #000;
  color: #fff;
  font: 16px var(--font);
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }

.contact-form .btn { margin-top: 4px; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: wait; }

.botcheck { position: absolute; left: -9999px; }

.form-error { color: var(--accent); font-size: 13px; }
.form-error:empty { display: none; }

.modal-success-view { padding: 20px 0 8px; text-align: center; }
.modal-success-view p { margin-top: 8px; color: var(--muted); line-height: 1.5; }
.modal-success-view .btn { width: 100%; margin-top: 26px; }

.success-check {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--accent);
  color: #000;
  font-size: 30px;
  font-weight: 700;
}

/* ---------- Motion ---------- */

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.eyebrow, h1, .lede, .btn--hero, .services, .experience { animation: rise 0.7s ease both; }
h1          { animation-delay: 0.08s; }
.lede       { animation-delay: 0.18s; }
.btn--hero  { animation-delay: 0.26s; }
.services   { animation-delay: 0.30s; }
.experience { animation-delay: 0.45s; }

@media (prefers-reduced-motion: reduce) {
  .eyebrow, h1, .lede, .btn--hero, .services, .experience, .dot { animation: none; }
}

/* ---------- Tablet and phone ---------- */

@media (max-width: 1180px) {
  .experience { gap: 10px 14px; }
  .experience span { width: 100%; text-align: center; }
  .experience i { display: none; }
}

@media (max-width: 860px) {
  .site-header { padding: 16px; }
  .logo { height: 64px; }
  .status--header { display: none; }
  .status--mobile { display: inline-flex; }
  .nav-btn { padding: 9px 12px; font-size: 11px; }

  .hero { grid-template-columns: 1fr; gap: 40px; padding: 48px 16px; }
  .hero-watermark { top: 180px; left: -60px; width: 320px; transform: none; }
  .services { padding: 28px 22px; }

  .experience { font-size: 11px; }

  .site-footer { flex-direction: column; gap: 6px; padding: 18px 16px; }
}

@media (max-width: 560px) {
  .contact-form { grid-template-columns: 1fr; }
  .modal { padding: 28px 20px; }
}

/* ---------- 404 page ---------- */

.not-found {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 72px 48px;
}
.not-found .btn--hero { align-self: flex-start; }

@media (max-width: 860px) {
  .not-found { padding: 48px 16px; }
}

/* ---------- Privacy policy page ---------- */

.legal {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 24px 96px;
}
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal .effective { margin-top: 14px; color: var(--muted); font-size: 14px; }
.legal .intro { margin-top: 28px; }
.legal h2 {
  margin: 44px 0 12px;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.legal p,
.legal li { color: var(--body); font-size: 16px; line-height: 1.7; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0 20px; }
.legal li + li { margin-top: 6px; }
.legal ul + p { margin-top: 12px; }
.legal li::marker { color: var(--accent); }
.legal strong { color: #fff; }
.legal a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: #fff; }

@media (max-width: 860px) {
  .legal { padding: 48px 16px 72px; }
}

/* ---------- Phones: lighter, less cluttered hero ---------- */

@media (max-width: 600px) {
  .hero .eyebrow { display: none; }
  .hero-watermark { display: none; }
  .status--mobile { margin-bottom: 34px; }   /* breathing room above the headline */
  .lede { margin-top: 22px; font-size: 17px; }

  /* Services card about 12% more compact */
  .services { padding: 24px 20px; }
  .services h2 { margin-bottom: 18px; }
  .service-list li { padding: 14px 0; }

  /* Experience strip reads as one grouped credential */
  .experience { gap: 2px 14px; padding: 22px 16px; font-size: 10px; line-height: 1.7; }
  .experience-label { margin-bottom: 4px; }
}
