/* Patlan's Inc — editorial holding-company. Refined navy & gold. */

:root {
  --bg: #0a1133;
  --bg-deep: #070d29;
  --ink: #f5f2e9;
  --dim: #a9b1c9;
  --gold: #c9a227;
  --gold-soft: #e6cd7a;
  --line: rgba(201, 162, 39, 0.22);
  --hairline: rgba(245, 242, 233, 0.12);
  --sans: "Inter", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Inter Tight", "Inter", -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--gold-soft); }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }

/* Masthead */
.masthead {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  background: rgba(10, 17, 51, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; }
.brand-logo { height: 2.1rem; width: auto; display: block; }
.brand-name { font-weight: 600; letter-spacing: 0.16em; font-size: 0.8rem; color: var(--ink); }
.site-nav { display: flex; gap: 1.6rem; align-items: center; }
.site-nav a { color: var(--dim); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.site-nav a:hover { color: var(--ink); }
.nav-cta { border: 1px solid var(--gold); color: var(--gold-soft) !important; padding: 0.45rem 1.1rem; }
.nav-cta:hover { background: var(--gold); color: #0a1133 !important; }

/* Type */
.kicker, .section-label, .co-kicker {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: var(--gold);
}
.section-label { margin-bottom: 1.5rem; }
.section-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.04; margin-bottom: 2.5rem;
}

/* Hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(5rem, 11vw, 9rem) 0 clamp(4rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--hairline);
}
.hero-mark {
  position: absolute; right: -6rem; top: 50%; transform: translateY(-52%);
  height: clamp(24rem, 55vw, 44rem); width: auto;
  opacity: 0.055; pointer-events: none; user-select: none;
}
.hero .kicker { margin-bottom: 1.6rem; }
.hero h1 {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.035em;
  font-size: clamp(3rem, 8.4vw, 6.4rem); line-height: 0.98;
  margin-bottom: 1.8rem; max-width: 12ch;
}
.lede { font-size: 1.05rem; color: var(--dim); max-width: 56ch; margin-bottom: 2.4rem; }
.cta-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 0.85rem 1.7rem;
  font-weight: 600; font-size: 0.95rem; text-decoration: none; border-radius: 2px;
}
.btn-solid { background: var(--gold); color: #0a1133; }
.btn-solid:hover { background: var(--gold-soft); color: #0a1133; }
.btn-ghost { border: 1px solid rgba(245, 242, 233, 0.3); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }

/* Letter */
.letter { padding: clamp(4.5rem, 9vw, 7.5rem) 0; border-bottom: 1px solid var(--hairline); }
.letter blockquote p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.55rem, 3.4vw, 2.5rem); line-height: 1.35; letter-spacing: -0.01em;
  max-width: 26ch; margin-bottom: 2rem; color: var(--ink);
}
.letter cite { display: flex; flex-direction: column; gap: 0.15rem; font-style: normal; }
.cite-name { font-weight: 600; font-size: 1rem; }
.cite-role { color: var(--dim); font-size: 0.9rem; letter-spacing: 0.06em; }

/* Companies */
.companies { padding: clamp(4.5rem, 9vw, 7.5rem) 0; border-bottom: 1px solid var(--hairline); }
.co-row {
  display: grid; grid-template-columns: 0.5fr 1fr 1.3fr; gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid var(--hairline);
}
.co-row:last-child { border-bottom: 1px solid var(--hairline); }
.co-index {
  font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 7vw, 5.6rem);
  line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--gold);
  letter-spacing: -0.02em;
}
.co-logo { display: flex; align-items: center; justify-content: center; }
.co-logo img { max-height: 240px; max-width: 100%; width: auto; height: auto; display: block; }
.co-text .co-kicker { margin-bottom: 0.7rem; }
.co-text h3 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 0.35rem; }
.co-tag { color: var(--gold-soft); font-weight: 600; font-size: 0.95rem; margin-bottom: 1rem; }
.co-text p { color: var(--dim); margin-bottom: 1rem; font-size: 0.98rem; }
.co-text p strong { color: var(--ink); }
.text-link { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 2px; }
.text-link:hover { color: var(--gold); }
.co-soon { align-items: start; }
.co-soon .co-index { -webkit-text-stroke-color: rgba(201, 162, 39, 0.35); }
.co-soon h3 { color: var(--dim); font-weight: 600; }
.co-soon p { color: var(--dim); margin: 0; }

/* Founder */
.founder { padding: clamp(4.5rem, 9vw, 7.5rem) 0; border-bottom: 1px solid var(--hairline); }
.founder-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(2rem, 5vw, 4.5rem); }
.founder-head .section-title { margin-bottom: 0; }
.founder-body p { color: var(--dim); margin-bottom: 1.15rem; max-width: 62ch; }
.founder-body p em { color: var(--ink); }
.founder-meta { color: var(--ink) !important; font-weight: 500; }

/* Book */
.book { padding: clamp(4.5rem, 9vw, 7.5rem) 0; background: var(--bg-deep); border-bottom: 1px solid var(--hairline); }
.book-title {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 5.6vw, 4.2rem); line-height: 1; margin-bottom: 0.6rem;
}
.book-sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.4rem); color: var(--gold-soft); margin-bottom: 1.8rem; }
.book-lede { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; font-size: clamp(1.2rem, 2.4vw, 1.6rem); max-width: 40ch; margin-bottom: 1.6rem; }
.book-body p { color: var(--dim); max-width: 64ch; margin-bottom: 1.1rem; }
.book-body p em { color: var(--ink); }
.book .cta-row { margin-top: 2rem; }

/* Contact */
.contact { padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.contact-email { margin: 0.5rem 0 1.6rem; }
.contact-email a {
  font-family: var(--display); font-weight: 800; letter-spacing: -0.025em;
  font-size: clamp(1.7rem, 4.6vw, 3.2rem); color: var(--ink); text-decoration: none;
  border-bottom: 3px solid var(--gold); padding-bottom: 0.15rem;
}
.contact-email a:hover { color: var(--gold-soft); }
.socials { display: flex; gap: 0.9rem; flex-wrap: wrap; align-items: center; color: var(--dim); }
.socials a { text-decoration: none; font-weight: 500; }

/* Footer */
.site-footer {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 2.4rem 1rem; border-top: 1px solid var(--hairline);
  color: var(--dim); font-size: 0.85rem;
}
.site-footer .brand-logo { height: 1.7rem; }

@media (max-width: 860px) {
  .co-row { grid-template-columns: 1fr; gap: 1.4rem; }
  .co-index { font-size: 3rem; }
  .co-logo img { max-height: 200px; }
  .founder-grid { grid-template-columns: 1fr; }
  .hero-mark { opacity: 0.04; right: -10rem; }
}
@media (max-width: 640px) {
  .site-nav a:not(.nav-cta) { display: none; }
  .cta-row .btn { width: 100%; text-align: center; }
}
