/* ==========================================================================
   Order of Men — coming soon
   Palette and type derived from the brand lockup: brass, bone, near-black.
   ========================================================================== */

:root {
  --ink:        #060505;
  --ink-2:      #0b0908;
  --panel:      #100d0b;
  --panel-2:    #15110d;
  --brass:      #c69b57;
  --brass-hi:   #ecca92;
  --brass-dim:  #7d6238;
  --cream:      #f2ede4;
  --bone:       #d8d1c6;
  --muted:      #948a7f;
  --line:       rgba(198, 155, 87, .20);
  --line-soft:  rgba(242, 237, 228, .09);

  --display: "Outfit", "Carlito", "Century Gothic", "Avenir Next", sans-serif;
  --body:    "Manrope", "Carlito", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --maxw: 72rem;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --spine: clamp(1.25rem, 4vw, 3.25rem);
}

/* ---------- reset ---------- */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--body);
  font-weight: 400;
  font-size: clamp(1rem, .96rem + .2vw, 1.075rem);
  line-height: 1.68;
  letter-spacing: .002em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.08;
  letter-spacing: -.022em;
  margin: 0;
}

p { margin: 0; }

/* ---------- ambient: film grain ---------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: .05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- signature: the honed edge ---------- */
/* A single brass hairline down the left margin with a slow travelling
   highlight — a blade catching the light. Desktop only. */

.edge { display: none; }

@media (min-width: 62em) {
  .edge {
    display: block;
    position: fixed;
    top: 0;
    bottom: 0;
    left: var(--spine);
    width: 1px;
    z-index: 5;
    pointer-events: none;
    background: linear-gradient(
      to bottom,
      transparent 0%,
      var(--line) 10%,
      var(--line) 90%,
      transparent 100%
    );
  }

  .edge::after {
    content: "";
    position: absolute;
    left: -1px;
    width: 3px;
    height: 22vh;
    border-radius: 2px;
    background: linear-gradient(
      to bottom,
      transparent,
      rgba(236, 202, 146, .0) 15%,
      rgba(236, 202, 146, .85) 50%,
      rgba(236, 202, 146, .0) 85%,
      transparent
    );
    filter: blur(.5px);
    animation: hone 14s cubic-bezier(.5, 0, .5, 1) infinite;
  }
}

@keyframes hone {
  0%   { top: -25vh; opacity: 0; }
  12%  { opacity: 1; }
  78%  { opacity: 1; }
  100% { top: 105vh; opacity: 0; }
}

/* ---------- shared shell ---------- */

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.band {
  position: relative;
  padding-block: clamp(4.5rem, 11vw, 8.5rem);
  border-top: 1px solid var(--line-soft);
}

.band--tint { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }

/* Eyebrow — echoes the flanking brass rules in the lockup. */

.eyebrow {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin: 0 0 1.5rem;
  font-family: var(--display);
  font-size: .70rem;
  font-weight: 500;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--brass);
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  height: 1px;
  background: var(--brass-dim);
}

.eyebrow::before { width: 1.75rem; flex: none; }
.eyebrow::after  { flex: 1 1 auto; opacity: .45; }

.eyebrow--centred { justify-content: center; }
.eyebrow--centred::after { flex: none; width: 1.75rem; opacity: 1; }

.lede {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1.02rem, .98rem + .3vw, 1.2rem);
}

/* ---------- header ---------- */

.masthead {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(6, 5, 5, .82);
  backdrop-filter: blur(10px);
}

.masthead__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: .8rem;
  text-decoration: none;
}

.brand__mark { width: 2.15rem; flex: none; }

.brand__name {
  font-family: var(--display);
  font-weight: 400;
  font-size: .74rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--cream);
}

.masthead__link {
  font-size: .74rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .25s ease, border-color .25s ease;
}

.masthead__link:hover { color: var(--brass-hi); border-bottom-color: var(--brass-dim); }

@media (max-width: 30em) { .masthead__link { display: none; } }

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(2.25rem, 5vw, 3.75rem) clamp(4rem, 10vw, 6.5rem);
  text-align: center;
}

/* brass glow behind the lockup */
.hero::before {
  content: "";
  position: absolute;
  top: -18%;
  left: 50%;
  width: min(120vw, 60rem);
  aspect-ratio: 1;
  transform: translateX(-50%);
  background: radial-gradient(
    circle at 50% 42%,
    rgba(198, 155, 87, .14) 0%,
    rgba(198, 155, 87, .05) 32%,
    transparent 62%
  );
  pointer-events: none;
}

.hero__inner { position: relative; z-index: 1; }

.lockup {
  position: relative;
  width: min(19rem, 62vw);
  margin: 0 auto clamp(2rem, 5vw, 3rem);
  overflow: hidden;
  isolation: isolate;
}

.lockup img { width: 100%; }

/* the glint: one sweep across the lockup on load */
.lockup::after {
  content: "";
  position: absolute;
  top: -8%;
  bottom: -8%;
  left: -60%;
  width: 45%;
  transform: skewX(-18deg);
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 248, 235, .10) 40%,
    rgba(255, 248, 235, .22) 50%,
    rgba(255, 248, 235, .10) 60%,
    transparent
  );
  mix-blend-mode: screen;
  pointer-events: none;
  animation: glint 2.1s cubic-bezier(.32, .1, .2, 1) .55s 1 both;
}

@keyframes glint {
  0%   { left: -60%; opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { left: 125%; opacity: 0; }
}

.hero__title {
  font-size: clamp(2.9rem, 1.6rem + 6vw, 6rem);
  letter-spacing: -.038em;
  margin-bottom: 1.35rem;
}

.hero__title em {
  font-style: normal;
  font-weight: 400;
  color: var(--brass);
}

.hero__lede {
  max-width: 34ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(1.02rem, .98rem + .35vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .9rem;
  margin-top: clamp(2.25rem, 5vw, 3rem);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .98rem 1.95rem;
  border: 1px solid var(--brass-dim);
  border-radius: 5px;
  background: transparent;
  color: var(--cream);
  font-family: var(--body);
  font-size: .76rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
}

.btn:hover { border-color: var(--brass); transform: translateY(-1px); }

.btn--solid {
  background: var(--brass);
  border-color: var(--brass);
  color: #140f08;
  font-weight: 500;
}

.btn--solid:hover { background: var(--brass-hi); border-color: var(--brass-hi); }

.btn--ghost:hover { background: rgba(198, 155, 87, .08); }

@media (max-width: 34em) {
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__actions .btn { width: 100%; }
}

/* ---------- the sale process (a genuine sequence, so it is numbered) ---------- */

.process {
  display: grid;
  gap: 1px;
  list-style: none;
  margin: clamp(2.5rem, 6vw, 3.75rem) 0 0;
  padding: 0;
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
}

@media (min-width: 42em) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 68em) { .process { grid-template-columns: repeat(4, 1fr); } }

.step {
  padding: clamp(1.6rem, 3vw, 2.25rem);
  background: var(--panel);
  transition: background-color .35s ease;
}

.step:hover { background: var(--panel-2); }

.step__no {
  display: block;
  margin-bottom: 1.1rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: .72rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: .2em;
  color: var(--brass);
}

.step__name {
  font-size: 1.4rem;
  font-weight: 400;
  letter-spacing: -.018em;
  margin-bottom: .65rem;
}

.step__text {
  color: var(--muted);
  font-size: .96rem;
  line-height: 1.6;
}

/* ---------- the domain offer ---------- */

.offer {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (min-width: 58em) { .offer { grid-template-columns: 1.05fr .95fr; } }

.offer__title {
  font-size: clamp(2rem, 1.35rem + 2.9vw, 3.25rem);
  letter-spacing: -.03em;
  margin-bottom: 1.4rem;
}

.offer__body p + p { margin-top: 1.1rem; }
.offer__cta { margin-top: 2rem; }

.facts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.facts li {
  position: relative;
  padding: 1.05rem 0 1.05rem 2.4rem;
  border-bottom: 1px solid var(--line-soft);
}

/* the flanking rule from the lockup, reused as a list marker */
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.85rem;
  width: 1.15rem;
  height: 1px;
  background: var(--brass);
}

.facts span { color: var(--bone); font-size: .98rem; }

/* ---------- contact ---------- */

.contact { display: grid; gap: clamp(2rem, 5vw, 4rem); }

@media (min-width: 58em) { .contact { grid-template-columns: .85fr 1.15fr; } }

.form { display: grid; gap: 1.15rem; }

.field { display: grid; gap: .5rem; }

.field--pair { display: grid; gap: 1.15rem; }
@media (min-width: 34em) { .field--pair { grid-template-columns: 1fr 1fr; } }

.label {
  font-family: var(--display);
  font-weight: 500;
  font-size: .70rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.input,
.select,
.textarea {
  width: 100%;
  padding: .92rem 1.05rem;
  border: 1px solid var(--line-soft);
  border-radius: 5px;
  background: var(--panel);
  color: var(--cream);
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 400;
  transition: border-color .25s ease, background-color .25s ease;
}

.textarea { min-height: 8.5rem; resize: vertical; line-height: 1.6; }

.select {
  appearance: none;
  padding-right: 2.75rem;
  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 d='M1 1l5 5 5-5' fill='none' stroke='%23c69b57' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--brass);
  background: var(--panel-2);
}

.input::placeholder,
.textarea::placeholder { color: #5d564e; }

/* honeypot — off-screen, never display:none (bots skip hidden fields) */
.trap {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: .35rem;
}

.form__note { color: var(--muted); font-size: .86rem; }
.form__note a { color: var(--brass); text-decoration: none; border-bottom: 1px solid var(--brass-dim); }
.form__note a:hover { color: var(--brass-hi); }

/* messages */

.notice {
  padding: 1.05rem 1.25rem;
  border: 1px solid var(--line);
  border-left-width: 2px;
  border-left-color: var(--brass);
  border-radius: 5px;
  background: rgba(198, 155, 87, .06);
  color: var(--cream);
  font-size: .95rem;
}

.notice--bad {
  border-left-color: #b4553f;
  background: rgba(180, 85, 63, .08);
}

.notice ul { margin: .6rem 0 0; padding-left: 1.1rem; color: var(--bone); }
.notice li { margin-top: .25rem; }

/* ---------- footer ---------- */

.footer {
  padding-block: 2.5rem 3rem;
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-size: .8rem;
}

.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

.footer a { color: var(--brass); text-decoration: none; }
.footer a:hover { color: var(--brass-hi); }

/* ---------- accessibility ---------- */

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

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: .8rem 1.2rem;
  background: var(--brass);
  color: #140f08;
  font-size: .8rem;
}

.skip:focus { left: 0; }

/* ---------- scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.22, .61, .36, 1);
}

.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .edge::after { display: none; }
}
