/* ==========================================================================
   Praetorian Capital Limited — landing page
   Ported from the Claude Design source "Praetorian Landing.dc.html".
   Design tokens below are the source of truth; avoid inline styles.
   ========================================================================== */

:root {
  /* Surfaces */
  --pc-bg:          #14101F;  /* page / hero / contact */
  --pc-bg-raised:   #191325;  /* about, sectors, form panel */
  --pc-bg-hero:     #1B1428;  /* hero fallback behind the photograph */

  /* Brand */
  --pc-gold:        #C39A6B;
  --pc-gold-lift:   #E0C39B;  /* hover */

  /* Type */
  --pc-ink:         #EDEAE4;  /* default body text */
  --pc-ink-strong:  #F3F0EA;  /* headings, wordmark */
  --pc-ink-hero:    #E7E2D9;  /* hero statement */
  --pc-ink-soft:    #DDD8E2;  /* contact values */
  --pc-ink-body:    #C6C0D0;  /* paragraphs */
  --pc-ink-dim:     #B3ACBF;  /* sector copy */
  --pc-ink-muted:   #8F889C;  /* labels, footer, placeholders */

  /* Lines */
  --pc-line-gold:   rgba(195, 154, 107, 0.16);
  --pc-line-grid:   rgba(195, 154, 107, 0.20);
  --pc-line-field:  rgba(237, 234, 228, 0.22);
  --pc-line-foot:   rgba(237, 234, 228, 0.08);

  /* Rhythm */
  --pc-gutter:      clamp(20px, 5vw, 72px);
  --pc-section-y:   clamp(72px, 10vw, 132px);
  --pc-measure:     1160px;

  --pc-serif:       'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --pc-sans:        'Jost', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--pc-bg);
  color: var(--pc-ink);
  font-family: var(--pc-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--pc-gold);
  text-decoration: none;
  transition: color .25s ease;
}
a:hover { color: var(--pc-gold-lift); }

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

img { max-width: 100%; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 20;
  padding: 10px 18px;
  background: var(--pc-gold);
  color: var(--pc-bg);
  font-size: 12px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.skip-link:focus { left: 8px; color: var(--pc-bg); }

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

.eyebrow {
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
}
.eyebrow--gold  { color: var(--pc-gold); }
.eyebrow--faint { font-size: 10px; color: rgba(237, 234, 228, .55); }

.display {
  margin: 0;
  font-family: var(--pc-serif);
  font-weight: 400;
  font-size: clamp(30px, 3.8vw, 46px);
  line-height: 1.18;
  color: var(--pc-ink-strong);
}

.rule {
  width: 56px;
  height: 1px;
  background: var(--pc-gold);
}

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

.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px var(--pc-gutter);
}

.wordmark {
  font-family: var(--pc-serif);
  font-size: 18px;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--pc-ink-strong);
}

.header-link {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(195, 154, 107, .45);
  padding-bottom: 4px;
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: var(--pc-bg-hero);
  background-image: url('/assets/hero.jpg');
  background-size: cover;
  background-position: 60% center;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(20, 16, 31, .88) 0%,
    rgba(20, 16, 31, .62) 45%,
    rgba(20, 16, 31, .95) 100%);
}

.hero__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 34px;
  padding: 124px 24px 104px;
  text-align: center;
  animation: pcFade 1.1s ease both;
}

.hero__logo {
  width: min(420px, 74vw);
  height: auto;
  display: block;
}

.hero__statement {
  margin: 0;
  max-width: 630px;
  font-family: var(--pc-serif);
  font-size: clamp(20px, 2.3vw, 27px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--pc-ink-hero);
  text-wrap: pretty;
}

.hero__place {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero__stem {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(195, 154, 107, .9), rgba(195, 154, 107, 0));
}

@keyframes pcFade {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: none; }
}

/* About --------------------------------------------------------------- */

.about {
  padding: var(--pc-section-y) var(--pc-gutter);
  background: var(--pc-bg-raised);
  border-top: 1px solid var(--pc-line-gold);
}

.about__inner {
  max-width: var(--pc-measure);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}

.about__lead {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--pc-ink-body);
}
.about__body p { margin: 0; text-wrap: pretty; }

/* Sectors ------------------------------------------------------------- */

.sectors {
  padding: 0 var(--pc-gutter) var(--pc-section-y);
  background: var(--pc-bg-raised);
}

/* 1px gap over a tinted background paints the hairline rules between cells. */
.sectors__grid {
  max-width: var(--pc-measure);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: var(--pc-line-grid);
}

.sector {
  background: var(--pc-bg-raised);
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sector__num {
  font-family: var(--pc-serif);
  font-size: 14px;
  letter-spacing: .2em;
  color: var(--pc-gold);
}

.sector__name {
  margin: 0;
  font-family: var(--pc-serif);
  font-weight: 400;
  font-size: 26px;
  color: var(--pc-ink-strong);
}

.sector__copy {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  font-weight: 300;
  color: var(--pc-ink-dim);
  text-wrap: pretty;
}

/* Contact ------------------------------------------------------------- */

.contact {
  position: relative;
  padding: var(--pc-section-y) var(--pc-gutter);
  background: var(--pc-bg);
  border-top: 1px solid var(--pc-line-gold);
}

.contact__inner {
  max-width: var(--pc-measure);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.contact__details {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact__intro {
  margin: 0;
  max-width: 420px;
  font-size: 16px;
  line-height: 1.85;
  font-weight: 300;
  color: var(--pc-ink-body);
  text-wrap: pretty;
}

.meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 8px;
  border-top: 1px solid var(--pc-line-grid);
}

.meta__row {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.meta__row:first-child { padding-top: 14px; }

.meta__label {
  font-size: 10px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--pc-ink-muted);
}

.meta__value {
  margin: 0;
  font-size: 16px;
  font-weight: 300;
  color: var(--pc-ink-soft);
}

/* Form ---------------------------------------------------------------- */

.enquiry {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--pc-bg-raised);
  border: 1px solid rgba(195, 154, 107, .18);
  padding: clamp(26px, 4vw, 44px);
}

.enquiry__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field__label {
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--pc-ink-muted);
}

.field__optional {
  text-transform: none;
  letter-spacing: normal;
}

.field__input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--pc-line-field);
  border-radius: 0;
  padding: 10px 0;
  font-family: var(--pc-sans);
  font-size: 16px;   /* 16px keeps iOS Safari from zooming on focus */
  font-weight: 300;
  color: var(--pc-ink-strong);
  transition: border-color .25s ease;
}
.field__input--area { resize: vertical; }

.field__input::placeholder { color: var(--pc-ink-muted); }

.field__input:focus {
  outline: none;
  border-bottom-color: var(--pc-gold);
}

/* Only flag invalid fields the browser has actually marked as user-errored. */
.field__input[aria-invalid="true"] { border-bottom-color: #C8736B; }

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn {
  margin-top: 6px;
  align-self: flex-start;
  background: var(--pc-gold);
  color: var(--pc-bg);
  border: 1px solid var(--pc-gold);
  padding: 15px 38px;
  font-family: var(--pc-sans);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}
.btn:hover:not(:disabled) {
  background: var(--pc-bg);
  color: var(--pc-gold-lift);
}
.btn:disabled {
  cursor: progress;
  opacity: .6;
}

.enquiry__status {
  margin: 0;
  min-height: 20px;
  font-size: 13px;
  font-weight: 300;
  color: var(--pc-ink-muted);
}
.enquiry__status[data-state="ok"]    { color: var(--pc-gold); }
.enquiry__status[data-state="error"] { color: #D9877E; }

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

.notfound {
  min-height: 82vh;
  min-height: 82svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 96px var(--pc-gutter);
  text-align: center;
}

.notfound__logo {
  width: min(320px, 62vw);
  height: auto;
  display: block;
}

.notfound__code {
  margin: 0;
  font-family: var(--pc-serif);
  font-weight: 300;
  font-size: clamp(48px, 8vw, 76px);
  line-height: 1;
  letter-spacing: .1em;
  color: var(--pc-gold);
}

.notfound__copy {
  margin: 0;
  max-width: 460px;
  font-family: var(--pc-serif);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 300;
  line-height: 1.55;
  color: var(--pc-ink-hero);
  text-wrap: pretty;
}

.notfound__back {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(195, 154, 107, .45);
  padding-bottom: 4px;
}

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

.site-footer {
  padding: 28px var(--pc-gutter) 34px;
  background: var(--pc-bg);
  border-top: 1px solid var(--pc-line-foot);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 300;
  color: var(--pc-ink-muted);
}

.site-footer__motto {
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 10px;
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__inner { animation: none; }
  *, *::before, *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}
