/* ============================================================
   FULFILLMENT PROCESS GROUP — styles.css
   Palette: engraved gold on warm near-black
   Type: Cinzel (display) / Alegreya Sans (body)
   ============================================================ */

:root {
  --ink: #0c0a07;
  --ink-2: #12100a;
  --surface: #17130c;
  --line: rgba(198, 154, 69, 0.28);
  --line-strong: rgba(198, 154, 69, 0.55);
  --gold: #c69a45;
  --gold-bright: #e9c775;
  --bone: #efe7d4;
  --muted: #a89a7e;
  --max: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--ink);
  color: var(--bone);
  font-family: "Alegreya Sans", "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--gold-bright); text-decoration: none; }
a:hover { color: var(--bone); }

::selection { background: var(--gold); color: var(--ink); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Type roles ---------- */

.display, h1, h2, h3 {
  font-family: "Cinzel", "Trajan Pro", serif;
  font-weight: 600;
  color: var(--bone);
  line-height: 1.15;
}

.eyebrow {
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}

/* Double hairline rule — echoes the logo's engraved rules */
.rule-double {
  border: 0;
  height: 7px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
  width: 120px;
  margin: 26px auto;
}
.rule-double.left { margin-left: 0; }

/* ---------- Nav ---------- */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: rgba(12, 10, 7, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Cinzel", serif;
  font-size: 15px;
  letter-spacing: 0.14em;
  color: var(--bone);
  white-space: nowrap;
}
.nav-brand img { height: 34px; width: auto; }
.nav-brand span b { color: var(--gold-bright); font-weight: 600; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 0;
}
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--gold-bright); }

.btn {
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 13px 28px;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  background: transparent;
  cursor: pointer;
  transition: background 0.25s, color 0.25s;
}
.btn:hover { background: var(--gold); color: var(--ink); }

.btn-solid { background: var(--gold); color: var(--ink); }
.btn-solid:hover { background: var(--gold-bright); color: var(--ink); }

.nav .btn { padding: 9px 20px; font-size: 12.5px; }

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

.hero {
  padding: 150px 24px 90px;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -180px; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 620px;
  background: radial-gradient(closest-side, rgba(198, 154, 69, 0.14), transparent 70%);
  pointer-events: none;
}
.hero > * { position: relative; }

.hero-mark { height: 150px; width: auto; margin: 0 auto 30px; }

.hero h1 {
  font-size: clamp(34px, 6vw, 62px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero h1 .sub {
  display: block;
  font-size: clamp(16px, 2.4vw, 24px);
  letter-spacing: 0.42em;
  color: var(--gold);
  margin-top: 10px;
  font-weight: 600;
}

.hero-tag {
  font-family: "Cinzel", serif;
  font-size: clamp(13px, 1.7vw, 16px);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 6px;
}

.hero-lede {
  max-width: 720px;
  margin: 26px auto 36px;
  font-size: 19.5px;
  color: var(--bone);
}
.hero-lede b { color: var(--gold-bright); font-weight: 600; }

.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-note {
  margin-top: 22px;
  font-size: 14.5px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* ---------- Sections ---------- */

section { padding: 88px 0; border-top: 1px solid var(--line); }

.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head h2 {
  font-size: clamp(26px, 3.6vw, 38px);
  letter-spacing: 0.05em;
}
.section-head p { margin-top: 16px; color: var(--muted); font-size: 18px; }

/* Problem statements */
.problems { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.problem {
  background: var(--ink-2);
  padding: 30px 32px;
  font-size: 17.5px;
  color: var(--bone);
}
.problem em { color: var(--gold-bright); font-style: normal; font-family: "Cinzel", serif; font-size: 15px; letter-spacing: 0.1em; display: block; margin-bottom: 8px; }

/* Practice areas */
.practice { margin-bottom: 64px; }
.practice:last-child { margin-bottom: 0; }
.practice-head { display: flex; align-items: baseline; gap: 18px; border-bottom: 1px solid var(--line-strong); padding-bottom: 12px; margin-bottom: 12px; }
.practice-head span { font-family: "Cinzel", serif; color: var(--gold); font-size: 14px; letter-spacing: 0.2em; }
.practice-head h3 { font-family: "Cinzel", serif; font-size: clamp(17px, 2.4vw, 21px); letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); }
.practice-intro { color: var(--muted); margin-bottom: 26px; font-size: 16px; }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.svc {
  background: var(--surface);
  border: 1px solid var(--line);
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
}
.svc h3 { font-size: 21px; letter-spacing: 0.05em; margin-bottom: 4px; }
.svc .svc-kind {
  font-size: 13px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold);
  font-family: "Cinzel", serif;
  margin-bottom: 16px;
}
.svc p { color: var(--muted); font-size: 16.5px; flex: 1; }
.svc .svc-fit { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--bone); }
.svc .svc-fit b { color: var(--gold-bright); font-weight: 600; }
.svc.wide { grid-column: 1 / -1; }

/* Method rail — signature element */
.rail { position: relative; margin-top: 30px; }
.rail-line {
  position: absolute;
  top: 27px; left: 6%; right: 6%;
  height: 5px;
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}
.stages { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; position: relative; }
.stage { text-align: center; padding: 0 6px; }
.stage-num {
  width: 54px; height: 54px;
  margin: 0 auto 20px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Cinzel", serif;
  font-size: 17px;
  color: var(--gold-bright);
  position: relative;
}
.stage h3 { font-size: 16.5px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 10px; }
.stage p { font-size: 15px; color: var(--muted); }

.method-principle {
  margin-top: 56px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  padding: 30px 36px;
  font-size: 18px;
  text-align: center;
}
.method-principle b { color: var(--gold-bright); font-family: "Cinzel", serif; letter-spacing: 0.08em; font-weight: 600; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.ind {
  background: var(--ink-2);
  padding: 26px 28px;
}
.ind h3 { font-size: 16px; letter-spacing: 0.1em; margin-bottom: 8px; color: var(--gold-bright); }
.ind p { font-size: 15px; color: var(--muted); }

/* Engagement / pricing */
.engage { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: start; }
.engage-steps { counter-reset: step; }
.estep {
  display: flex;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.estep:last-child { border-bottom: 0; }
.estep-num {
  font-family: "Cinzel", serif;
  color: var(--gold);
  font-size: 20px;
  min-width: 34px;
  padding-top: 2px;
}
.estep h3 { font-size: 17px; letter-spacing: 0.08em; margin-bottom: 6px; }
.estep p { font-size: 15.5px; color: var(--muted); }

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  padding: 38px 36px;
}
.pricing-card h3 { font-size: 20px; letter-spacing: 0.06em; margin-bottom: 16px; }
.pricing-card p { color: var(--muted); font-size: 16px; margin-bottom: 14px; }
.pricing-card p b { color: var(--bone); font-weight: 600; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.about-mark { max-width: 220px; margin: 0 auto; opacity: 0.9; }
.about h2 { font-size: clamp(24px, 3vw, 32px); letter-spacing: 0.05em; margin-bottom: 20px; }
.about p { color: var(--muted); margin-bottom: 16px; font-size: 17px; }
.about p b { color: var(--bone); font-weight: 600; }
.about .confidential {
  margin-top: 26px;
  border-left: 2px solid var(--gold);
  padding: 6px 0 6px 22px;
  color: var(--bone);
  font-size: 16px;
  font-style: italic;
}

/* Apply CTA band */
.cta-band {
  text-align: center;
  padding: 100px 24px;
  background:
    radial-gradient(closest-side at 50% 0%, rgba(198, 154, 69, 0.1), transparent 75%),
    var(--ink-2);
}
.cta-band h2 { font-size: clamp(26px, 4vw, 40px); letter-spacing: 0.06em; }
.cta-band p { max-width: 640px; margin: 20px auto 34px; color: var(--muted); font-size: 18px; }

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 44px 24px;
  text-align: center;
  color: var(--muted);
  font-size: 14.5px;
}
footer .f-brand {
  font-family: "Cinzel", serif;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-size: 14px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

/* ---------- Apply page ---------- */

.apply-wrap { max-width: 760px; margin: 0 auto; padding: 150px 24px 90px; }
.apply-wrap h1 { font-size: clamp(28px, 4vw, 40px); letter-spacing: 0.06em; text-align: center; }
.apply-intro { text-align: center; color: var(--muted); max-width: 620px; margin: 20px auto 50px; font-size: 17.5px; }

form .field { margin-bottom: 26px; }
label {
  display: block;
  font-family: "Cinzel", serif;
  font-size: 13.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-bright);
  margin-bottom: 10px;
}
label .opt { color: var(--muted); text-transform: none; letter-spacing: 0.04em; font-family: "Alegreya Sans", sans-serif; }

input[type="text"], input[type="email"], input[type="tel"], input[type="url"], select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--bone);
  font-family: "Alegreya Sans", sans-serif;
  font-size: 16.5px;
  padding: 13px 15px;
  outline: none;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23c69a45' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  padding-right: 40px;
}
input:focus, select:focus, textarea:focus { border-color: var(--gold); }
textarea { min-height: 120px; resize: vertical; }

.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15.5px;
  color: var(--bone);
}
.check input { margin-top: 5px; accent-color: var(--gold); }

.form-note { font-size: 14.5px; color: var(--muted); margin: 30px 0; }

/* Thank-you page */
.ty-wrap { max-width: 680px; margin: 0 auto; padding: 170px 24px 110px; text-align: center; }
.ty-wrap img { height: 110px; width: auto; margin: 0 auto 30px; }
.ty-wrap h1 { font-size: clamp(26px, 4vw, 38px); letter-spacing: 0.06em; }
.ty-wrap p { color: var(--muted); font-size: 18px; margin-top: 22px; }
.ty-wrap p b { color: var(--bone); }

/* ---------- Motion & a11y ---------- */

html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--gold-bright); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1250px) {
  .nav-links a[href="#industries"], .nav-links a[href="#engagement"],
  .nav-links a[href="index.html#industries"] { display: none; }
}

@media (max-width: 900px) {
  .nav-links a:not(.btn) { display: none; }
  .problems, .services, .engage, .about { grid-template-columns: 1fr; }
  .industries { grid-template-columns: 1fr 1fr; }
  .stages { grid-template-columns: 1fr; gap: 34px; }
  .rail-line { top: 27px; bottom: 27px; left: 26px; right: auto; width: 5px; height: auto; border-top: 0; border-bottom: 0; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line); }
  .stage { display: flex; text-align: left; gap: 22px; align-items: flex-start; }
  .stage-num { margin: 0; flex: 0 0 54px; }
  .about-mark { max-width: 150px; }
  .checks { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .industries { grid-template-columns: 1fr; }
  .hero { padding-top: 130px; }
  .hero-mark { height: 110px; }
}
