@import url("fonts.css");

/* ============================================================
   M2P Group — site styles
   Edit tokens below to restyle the whole site.
   ============================================================ */

:root {
  --paper:        #F7F6F3;   /* page background          */
  --surface:      #FFFFFF;   /* footer / raised surfaces */
  --ink:          #14181F;   /* primary text             */
  --ink-muted:    #55606E;   /* body copy                */
  --ink-faint:    #6B7280;   /* index numerals           */
  --navy:         #1B2B4A;   /* logo + display headings  */
  --accent:       #8A6A2B;   /* brass                    */
  --rule:         #E3E1DB;   /* hairline dividers        */

  --display: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:    "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;

  --container: 1040px;
  --gutter: 32px;
  --band: 104px;   /* vertical rhythm between sections */
}

/* ---------- base ---------- */

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

* { box-sizing: border-box; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease;
}
a:hover { color: var(--ink); }

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

::selection { background: rgba(138, 106, 43, .18); }

/* ---------- layout ---------- */

.band {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--band) var(--gutter);
}

.section { border-top: 1px solid var(--rule); }

.cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

/* ---------- logo lockup ---------- */

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.logo__mark {
  display: inline-flex;
  align-items: baseline;
  border: 1px solid currentColor;
  padding: 6px 5px 6px 9px;
  border-radius: 2px;
}
.logo:hover { color: var(--navy); }

.logo--inline { font-size: 11px; gap: 5px; letter-spacing: .14em; }
.logo--inline .logo__mark { padding: 3px 3px 3px 5px; }

.logo--tiny { font-size: 9px; gap: 4px; letter-spacing: .14em; }
.logo--tiny .logo__mark { padding: 3px 2px 3px 4px; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 243, .9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
.site-header__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.site-header__tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
}

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

.hero { border-bottom: 1px solid var(--rule); }
.hero__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 44px var(--gutter) 72px;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 74px);
}
.hero__display {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 72px 0;
}
.hero__stack { display: inline-flex; flex-direction: column; }
.hero__line {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(38px, 15.5vw, 176px);
  line-height: 1;
  letter-spacing: -.03em;
  margin: 0;
  color: var(--navy);
}
.hero__line--italic { font-style: italic; align-self: flex-end; }

.hero__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  text-align: center;
}
.hero__lede {
  max-width: 640px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.68;
  color: var(--ink-muted);
  margin: 0;
  text-wrap: pretty;
}

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

.cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }

.btn {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 17px 30px;
  border-radius: 2px;
}
.btn--accent { background: var(--accent); color: #FFFFFF; }
.btn--accent:hover { background: var(--ink); color: var(--paper); }
.btn--dark { background: var(--ink); color: var(--paper); }
.btn--dark:hover { background: var(--accent); color: #FFFFFF; }

/* ---------- section index + headings ---------- */

.index {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .22em;
}
.index__num,
.index__slash { color: var(--ink-faint); }
.index__label { color: var(--accent); text-transform: uppercase; }
.index--wide { margin-bottom: 48px; }

.headline {
  font-family: var(--display);
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.16;
  letter-spacing: -.02em;
  margin: 0;
  color: var(--ink);
  text-wrap: pretty;
}

.prose { display: flex; flex-direction: column; gap: 22px; }
.prose p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0;
  text-wrap: pretty;
}
.prose--bio { padding-top: 4px; }
.prose--bio p { line-height: 1.72; }

/* ---------- leadership ---------- */

.portrait {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 180px;
  max-width: 100%;
}
.portrait__frame {
  position: relative;
  width: 100%;
  padding-top: 100%;          /* guarantees a square on every browser */
  border: 1px solid var(--rule);
  border-radius: 50%;
  overflow: hidden;
}
.portrait__frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 32%;
  filter: grayscale(.25);
}
.portrait__name {
  font-family: var(--display);
  font-weight: 300;
  font-size: 28px;
  line-height: 1.2;
  letter-spacing: -.015em;
  margin: 0 0 8px;
  color: var(--ink);
}
.portrait__role {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}

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

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--surface);
}
.site-footer .band { padding-bottom: 56px; }

.contact { display: flex; flex-direction: column; gap: 32px; }
.contact__item { display: flex; flex-direction: column; gap: 10px; }
.contact__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.contact__value { font-size: 17px; font-weight: 400; letter-spacing: -.01em; }
.contact__note {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--ink-muted);
  margin: 0;
  text-wrap: pretty;
}

.colophon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--rule);
  margin-top: 56px;
  padding-top: 28px;
}
.colophon p {
  font-size: 12px;
  font-weight: 300;
  letter-spacing: .02em;
  color: var(--ink-muted);
  margin: 0;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  :root { --gutter: 24px; --band: 72px; }
  .cols { grid-template-columns: 1fr; gap: 34px; }
  .site-header__tag { display: none; }
  .portrait { width: 240px; justify-self: center; }
  .hero__inner { padding: 32px var(--gutter) 56px; min-height: calc(100vh + 120px); }
}

@media (max-width: 560px) {
  :root { --band: 60px; }
  .cols { gap: 26px; }
  .site-header__inner { height: 62px; }
  .site-header .logo { font-size: 12px; }
  .hero__display { padding: 40px 0; }
  .hero__stack { align-self: stretch; gap: 14px; }
  .hero__line--italic { align-self: flex-end; }
  .cta { flex-direction: column; align-self: stretch; }
  .btn { text-align: center; padding: 18px 24px; }
  .portrait { width: 168px; }
  .index { flex-wrap: wrap; }
}

/* Ultra-narrow: Galaxy Z Fold cover screen (~344px), small Androids */
@media (max-width: 360px) {
  :root { --gutter: 18px; }
  .site-header .logo { font-size: 11px; letter-spacing: .14em; }
  .hero__inner { padding: 26px var(--gutter) 44px; min-height: calc(100vh + 120px); }
  .portrait { width: 132px; }
}

/* ---------- print ---------- */

@media print {
  .site-header { position: static; background: none; }
  .hero__inner { min-height: 0; }
  .section, .site-footer { break-inside: avoid; }
}
