/* LiveWell Men - site stylesheet */
:root {
  --pine: #2f4a3a;
  --pine-deep: #1f3328;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --rust: #b8612f;
  --ink: #1f2620;
  --muted: #5a6459;
  --line: #e2d9c8;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 18px/1.65 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; color: var(--pine-deep); margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--pine); color: #fff; padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }
.kicker { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--rust); margin-bottom: .7em; }
.kicker a { color: inherit; text-decoration: none; }

/* header */
.strip { background: var(--pine-deep); color: #d9e2d4; text-align: center; font-size: .8rem; letter-spacing: .08em; padding: 6px 16px; }
.masthead { background: var(--paper); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 28px; padding: 18px 16px 0; position: relative; }
.mark { display: flex; align-items: center; gap: 10px; text-decoration: none; width: 100%; justify-content: center; }
.word { font: 600 1.85rem/1 var(--serif); color: var(--pine-deep); letter-spacing: -.01em; }
.word em, .foot-word em { font-style: italic; color: var(--rust); margin-left: 4px; }
.sitenav { display: flex; gap: 30px; padding: 14px 0 16px; }
.sitenav a { text-decoration: none; color: var(--ink); font-size: .95rem; letter-spacing: .04em; padding-bottom: 4px; border-bottom: 2px solid transparent; }
.sitenav a[aria-current="page"], .sitenav a:hover { border-color: var(--rust); color: var(--pine-deep); }
.burger { display: none; }

/* hero */
.hero { position: relative; min-height: 78vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--pine-deep); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,32,25,.82) 0%, rgba(20,32,25,.45) 45%, rgba(20,32,25,0) 75%); }
.hero-copy { position: relative; z-index: 1; width: min(1120px, 100% - 32px); margin: 0 auto; padding: 120px 0 72px; color: #f3efe4; }
.hero-copy h1 { color: #fff; max-width: 13ch; }
.hero-copy p { max-width: 44ch; font-size: 1.1rem; color: #e6e1d4; }
.hero .kicker { color: #e9b48f; }
.btn { display: inline-block; background: var(--rust); color: #fff; text-decoration: none; padding: 14px 26px; border-radius: 2px; font-weight: 600; letter-spacing: .03em; }
.btn:hover { background: #9e4f22; color: #fff; }
.link { font-weight: 600; }

/* intro */
.intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: center; padding: 88px 0; }
blockquote { margin: 0; padding: 36px 34px; background: var(--paper); border-left: 4px solid var(--rust); }
blockquote p { font: italic 1.6rem/1.35 var(--serif); color: var(--pine-deep); }
blockquote cite { font-style: normal; font-size: .9rem; color: var(--muted); }

/* topics */
.topics { padding: 0 0 88px; }
.tgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 28px; }
.tcard { background: var(--paper); border: 1px solid var(--line); }
.tcard img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.tcard div { padding: 20px 22px 24px; }
.tcard p { color: var(--muted); font-size: .97rem; margin: 0; }

/* band */
.band { position: relative; display: grid; grid-template-columns: 1fr 1fr; background: var(--pine); color: #e9ece4; }
.band-img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.band-copy { padding: 72px 56px; align-self: center; max-width: 560px; }
.band-copy h2 { color: #fff; }

/* notes */
.notes { padding: 88px 0; }
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; margin-top: 28px; }
.ncard a { display: block; text-decoration: none; color: inherit; }
.ncard img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; margin-bottom: 18px; }
.ncard h3 { margin-bottom: .4em; }
.ncard p { color: var(--muted); font-size: .97rem; }
.ncard .more { color: var(--rust); font-weight: 600; font-size: .92rem; }
.ncard a:hover h3 { color: var(--rust); }
.write { text-align: center; padding: 64px 0 96px; border-top: 1px solid var(--line); }

/* inner pages */
.pagehead { padding: 64px 0 24px; max-width: 820px; }
.lede { font-size: 1.2rem; color: var(--muted); }
.byline { font-size: .88rem; color: var(--muted); }
.prose { max-width: 760px; padding-bottom: 88px; }
.prose .wide { width: 100%; margin: 8px 0 36px; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.aside { background: var(--paper); border-left: 4px solid var(--pine); padding: 18px 22px; margin: 32px 0; font-size: .95rem; }
.legal h2 { font-size: 1.3rem; }

/* footer */
.foot { background: var(--pine-deep); color: #c9d2c4; padding: 64px 0 28px; font-size: .92rem; }
.foot a { color: #e9e4d6; }
.foot-grid { width: min(1120px, 100% - 32px); margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.3fr; gap: 40px; }
.foot h2 { font: 600 .78rem/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #e9b48f; margin-bottom: 14px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin-bottom: 7px; }
.foot-word { font: 600 1.5rem/1 var(--serif); color: #fff; margin-bottom: 14px; }
.op span { display: block; }
.pending { background: #ffe066; color: #1f2620; padding: 6px 10px; display: inline-block; font-weight: 700; }
.foot-note, .foot-copy { width: min(1120px, 100% - 32px); margin: 40px auto 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 22px; font-size: .84rem; line-height: 1.55; }
.foot-copy { border: 0; margin-top: 10px; padding-top: 0; color: #93a08f; }

/* mobile */
@media (max-width: 860px) {
  body { font-size: 17px; }
  .masthead { justify-content: space-between; padding: 14px 16px; }
  .mark { width: auto; justify-content: flex-start; }
  .word { font-size: 1.45rem; }
  .burger { display: block; background: none; border: 1px solid var(--pine); color: var(--pine); padding: 7px 14px; font: 600 .85rem var(--sans); border-radius: 2px; cursor: pointer; }
  .sitenav { display: none; width: 100%; flex-direction: column; gap: 0; padding: 6px 0 0; }
  .sitenav.open { display: flex; }
  .sitenav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .hero { min-height: 82vh; }
  .hero::after { background: linear-gradient(0deg, rgba(20,32,25,.9) 0%, rgba(20,32,25,.55) 50%, rgba(20,32,25,.1) 100%); }
  .hero-copy { padding: 200px 0 44px; }
  .intro, .band { grid-template-columns: 1fr; gap: 32px; }
  .intro { padding: 56px 0; }
  .band-img { min-height: 260px; }
  .band-copy { padding: 44px 16px; }
  .tgrid, .ngrid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (min-width: 861px) and (max-width: 1060px) {
  .tgrid, .ngrid { grid-template-columns: repeat(2, 1fr); }
}

/* footer notes + cookie choice */
.foot-note p { margin: 0 0 .7em; }
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--paper); border-top: 3px solid var(--rust); box-shadow: 0 -10px 30px rgba(0,0,0,.12); padding: 16px max(16px, calc((100% - 1120px) / 2)); display: flex; gap: 18px; align-items: center; font-size: .92rem; }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1; }
.consent-btns { display: flex; gap: 10px; flex-shrink: 0; }
.consent button { font: 600 .9rem var(--sans); padding: 10px 18px; border: 2px solid var(--pine); background: var(--pine); color: #fff; border-radius: 2px; cursor: pointer; }
.consent button.alt { background: transparent; color: var(--pine); }
@media (max-width: 860px) { .consent { flex-direction: column; align-items: stretch; } .consent-btns button { flex: 1; } }
