/* ============================================================
   Rockmart Holdings — premium, cinematic, Apple-quiet
   ============================================================ */

:root {
  --blue: #286BFC;
  --blue-dark: #1a52d4;
  --gray: #f5f5f7;
  --ink: #1d1d1f;
  --ink-secondary: #6e6e73;
  --dark: #000000;
  --white: #ffffff;
  --font: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --max-width: 1120px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* ------------------------------------------------------------
   Header — transparent over hero, solid on scroll
   ------------------------------------------------------------ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-solid {
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.wordmark {
  position: relative;
  display: flex;
  align-items: center;
  text-decoration: none;
  height: 44px;
}

.logo-img {
  height: 44px;
  width: auto;
  display: block;
  transition: opacity 0.3s ease;
}

.logo-img-footer { height: 48px; }

/* Light logo over dark hero; dark logo once scrolled */
.logo-img-light {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  opacity: 1;
}

.logo-img-dark { opacity: 0; }

.site-header.is-solid .logo-img-light { opacity: 0; }
.site-header.is-solid .logo-img-dark { opacity: 1; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover { color: #fff; }

.site-header.is-solid .site-nav a {
  color: var(--ink);
  opacity: 0.8;
}

.site-header.is-solid .site-nav a:hover {
  opacity: 1;
  color: var(--blue);
}

.nav-cta {
  color: #fff !important;
  opacity: 1 !important;
  background: var(--blue);
  padding: 8px 18px;
  transition: background 0.2s ease;
}

.nav-cta:hover { background: var(--blue-dark); }

.site-header.is-solid .nav-cta {
  background: var(--ink);
  color: #fff !important;
}

.site-header.is-solid .nav-cta:hover { background: var(--blue); }

@media (max-width: 820px) {
  .site-nav a:not(.nav-cta) { display: none; }
}

/* ------------------------------------------------------------
   Hero — full-bleed cinematic
   ------------------------------------------------------------ */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.06);
  animation: hero-drift 18s ease-out forwards;
  will-change: transform;
}

@keyframes hero-drift {
  from { transform: scale(1.12); }
  to { transform: scale(1.02); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 35%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px 100px;
}

.hero-brand {
  font-size: clamp(48px, 8vw, 92px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 20px;
  color: #fff;
}

.hero h1 {
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.03em;
  max-width: 16ch;
  color: rgba(255, 255, 255, 0.92);
}

.hero-sub {
  margin-top: 28px;
  max-width: 40ch;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero-content { padding-bottom: 72px; }
  .hero-brand { margin-bottom: 14px; }
}

/* ------------------------------------------------------------
   Buttons
   ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 32px;
  font-size: 15.5px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.btn-primary {
  background: var(--blue);
  color: #fff;
}

.btn-primary:hover {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  padding: 15px 0;
  color: rgba(255, 255, 255, 0.9);
  background: none;
}

.btn-ghost::after {
  content: "\2192";
  font-weight: 400;
  transition: transform 0.2s ease;
}

.btn-ghost:hover::after { transform: translateX(4px); }

/* Ghost link on light backgrounds (sections) */
.section .btn-ghost,
.section-tint .btn-ghost {
  color: var(--blue);
}

.btn-light {
  background: var(--blue);
  color: #fff;
}

.btn-light:hover {
  background: #fff;
  color: var(--ink);
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */

.section { padding: 140px 0; }

.section-tint { background: var(--gray); }

@media (max-width: 880px) {
  .section { padding: 96px 0; }
}

.section-num {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--blue);
  margin-bottom: 16px;
}

.section-num-light { color: var(--blue); }

h2 {
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

.section-head { margin-bottom: 64px; }

.section-head-center {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section-intro {
  margin-top: 20px;
  font-size: 19px;
  color: var(--ink-secondary);
}

.lead {
  font-size: 22px !important;
  color: var(--ink) !important;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

/* ------------------------------------------------------------
   Who We Are — copy + photograph
   ------------------------------------------------------------ */

.who-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 72px;
}

@media (max-width: 900px) {
  .who-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }
}

.who-copy h2 { margin-bottom: 28px; }

.who-copy p {
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 20px;
}

.who-copy p:last-child { margin-bottom: 0; }

.who-visual {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: #111;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.35),
    0 16px 32px -16px rgba(0, 0, 0, 0.2);
}

.who-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.who-visual:hover img { transform: scale(1.04); }

/* ------------------------------------------------------------
   Triad
   ------------------------------------------------------------ */

.triad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 720px) {
  .triad { grid-template-columns: 1fr; }
}

.triad-item {
  padding: 36px 32px;
  background: var(--gray);
  transition: background 0.25s ease, transform 0.25s ease;
}

.triad-item:hover {
  background: #efeff2;
  transform: translateY(-2px);
}

.triad-dot {
  display: block;
  width: 24px;
  height: 4px;
  background: var(--blue);
  margin-bottom: 22px;
}

.triad-item h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.triad-item p {
  font-size: 15px;
  color: var(--ink-secondary);
  line-height: 1.55;
}

/* ------------------------------------------------------------
   What We Do — cards
   ------------------------------------------------------------ */

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 780px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  padding: 52px 48px;
  box-shadow: 0 2px 24px -8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px -20px rgba(0, 0, 0, 0.18);
}

.card-tag {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.card h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-secondary);
}

.callout {
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.3;
  color: var(--ink);
  max-width: 640px;
  margin: 80px auto 0;
  text-align: center;
}

.callout strong {
  font-weight: 700;
  color: var(--blue);
}

/* ------------------------------------------------------------
   Approach — 2x2
   ------------------------------------------------------------ */

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 780px) {
  .approach-grid { grid-template-columns: 1fr; }
}

.approach-item {
  padding: 48px 44px;
  background: var(--gray);
  transition: background 0.25s ease, transform 0.25s ease;
}

.approach-item:hover {
  background: #efeff2;
  transform: translateY(-2px);
}

.approach-item h3 {
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.approach-item p {
  color: var(--ink-secondary);
  font-size: 15.5px;
  line-height: 1.65;
}

/* ------------------------------------------------------------
   What We Look For
   ------------------------------------------------------------ */

.lookfor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: start;
}

@media (max-width: 880px) {
  .lookfor { grid-template-columns: 1fr; gap: 48px; }
}

.lookfor-copy h2 { margin-bottom: 28px; }

.lookfor-copy p {
  color: var(--ink-secondary);
  font-size: 17px;
  line-height: 1.65;
  margin-bottom: 22px;
}

.lookfor-copy p:last-child { margin-bottom: 0; }

.list-intro {
  font-weight: 700;
  color: var(--ink);
  font-size: 15px;
  margin-bottom: 20px;
}

.interest-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.interest-list li {
  position: relative;
  background: var(--white);
  padding: 22px 26px 22px 58px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink);
  box-shadow: 0 1px 12px -4px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.interest-list li:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px -10px rgba(0, 0, 0, 0.12);
}

.interest-list li::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 29px;
  width: 12px;
  height: 12px;
  background: var(--blue);
}

/* ------------------------------------------------------------
   CTA
   ------------------------------------------------------------ */

.cta-section {
  background: var(--dark);
  padding: 160px 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 120%, rgba(40, 107, 252, 0.35), transparent 70%);
  pointer-events: none;
}

.cta-layout {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}

@media (max-width: 900px) {
  .cta-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.cta-copy h2 {
  color: #fff;
  font-size: clamp(36px, 5vw, 56px);
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}

.cta-copy p {
  color: #a1a1a6;
  font-size: 18px;
  line-height: 1.6;
  max-width: 40ch;
}

.contact-form {
  background: #fff;
  padding: 40px;
  display: grid;
  gap: 18px;
  box-shadow:
    0 24px 64px -20px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 28px 22px; }
}

.field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.field span {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.field span em {
  font-style: normal;
  font-weight: 500;
  color: var(--ink-secondary);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--gray);
  border: 1.5px solid #d2d2d7;
  color: var(--ink);
  font: inherit;
  font-size: 15.5px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236e6e73' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8e8e93;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #b0b0b5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(40, 107, 252, 0.18);
}

.contact-form .btn {
  justify-self: start;
  border: none;
  cursor: pointer;
  margin-top: 6px;
  width: 100%;
}

.contact-form .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  font-size: 14.5px;
  font-weight: 600;
  text-align: left;
}

.form-status.is-success { color: #1a7f4b; }
.form-status.is-error { color: #c0392b; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */

.site-footer {
  padding: 48px 0;
  background: var(--gray);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-inner p {
  font-size: 13px;
  color: var(--ink-secondary);
}

/* ------------------------------------------------------------
   Reveal animations
   ------------------------------------------------------------ */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: reveal 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal, .scroll-reveal {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }
  .hero-img { animation: none; transform: scale(1.02); }
}
