/* dansanchezre.com — shared styles for index.html and roundup.html
Palette (Dan Sanchez Style Guide, /app/records/Dan_Style_Guide_Palette.md):
Fog Blue #C9D0D4 (hero, Roundup header, closing band)
Overcast Stone / Portico Greige #A7A69C (the floor Dan stands on)
Pale Fern Grey #D9DDD5 (reviews band)
Lifted Slate Blue #36536F (primary button)
Type is a deep slate ink so it reads at body size on every ground. */
:root{
--fog:#C9D0D4;
--stone:#A7A69C;
--fern:#D9DDD5;
--slate:#36536F;
--ink:#1E2A34;
--ink-2:#3B4853;
--rule:rgba(30,42,52,.22);
--serif:'Cormorant Garamond', Georgia, serif;
--sans:'Inter', Helvetica, Arial, sans-serif;
--measure:34em;
}
*{ box-sizing:border-box; -webkit-print-color-adjust:exact; print-color-adjust:exact; }
html{ -webkit-text-size-adjust:100%; scroll-behavior:smooth; }
body{
margin:0; background:#fff; color:var(--ink-2);
font-family:var(--sans); font-size:16px; line-height:1.65;
-webkit-font-smoothing:antialiased;
}
img{ display:block; max-width:100%; }
a{ color:inherit; }
p{ margin:0; }
h1,h2,h3{ margin:0; font-family:var(--serif); font-weight:400; color:var(--ink); letter-spacing:-.01em; }

.wrap{ max-width:1180px; margin:0 auto; padding:0 24px; }
.rule{ height:1px; background:var(--rule); border:0; margin:0; }

/* secondary label: sentence case, readable, quieter than headings */
.kicker{ font-family:var(--sans); font-size:15px; font-weight:500; line-height:1.4; color:var(--ink-2); }

/* ---------- buttons ---------- */
.actions{ display:flex; flex-direction:column; gap:12px; }
.btn{
display:flex; align-items:center; justify-content:center;
min-height:54px; padding:0 28px;
font-family:var(--sans); font-size:16px; font-weight:500; letter-spacing:.005em;
text-decoration:none; line-height:1.2; text-align:center;
border:1.5px solid var(--slate); border-radius:2px;
}
.btn-primary{ background:var(--slate); color:#fff; }
.btn-secondary{ background:transparent; color:var(--slate); }

/* ---------- nav ---------- */
.nav{ padding:18px 0 0; }
.nav .wrap{ display:flex; justify-content:space-between; align-items:center; }
.mark{ text-decoration:none; display:block; }
.mark .n{ font-family:var(--serif); font-size:23px; font-weight:500; line-height:1.1; color:var(--ink); }
.mark .f{ margin-top:4px; font-size:11.5px; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-2); }
.nav ul{ list-style:none; margin:0; padding:0; display:flex; gap:4px; }
.nav a.l{
display:flex; align-items:center; min-height:44px; padding:0 8px;
font-size:15px; font-weight:500; text-decoration:none; color:var(--ink);
}
.nav a.l.on{ text-decoration:underline; text-underline-offset:6px; text-decoration-thickness:1px; }

/* ---------- home hero: Dan stands on a stone floor ---------- */
.hero{ background:var(--fog); }
.hero .copy{ padding-top:44px; }
.hero h1{ font-size:42px; line-height:1.04; }
.hero h1 span{ display:block; }
.hero .stand{ margin-top:20px; font-size:17px; line-height:1.55; color:var(--ink-2); }
.hero .actions{ margin-top:28px; }
.figure{ position:relative; z-index:2; margin:44px 0 0; width:290px; }
.figure img{ width:100%; height:auto; }
/* contact shadow where the shoes meet the floor */
.figure::after{
content:""; position:absolute; left:14%; right:14%; bottom:-9px; height:18px;
background:radial-gradient(ellipse at center, rgba(52,50,42,.42) 0%, rgba(52,50,42,0) 70%);
}
.floor{ position:relative; z-index:1; height:56px; background:var(--stone); }

/* ---------- sections ---------- */
section{ padding:60px 0; }
.sec-h{ font-size:32px; line-height:1.1; }
.cols > * + *{ margin-top:22px; }
.body-text p{ font-size:16px; line-height:1.7; }
.body-text p + p{ margin-top:16px; }

/* experience */
.exp ol{ list-style:none; margin:30px 0 0; padding:0; }
.exp li{ border-top:1px solid var(--rule); padding:20px 0 22px; }
.exp li:last-child{ border-bottom:1px solid var(--rule); }
.exp h3{ font-size:24px; line-height:1.15; }
.exp li p{ margin-top:8px; font-size:16px; line-height:1.65; }

/* reviews */
.reviews{ background:var(--fern); }
.reviews .grid{ margin-top:22px; }
.reviews figure{ margin:0; padding:22px 0 0; border-top:1px solid var(--rule); }
.reviews figure + figure{ margin-top:32px; }
.reviews blockquote{ margin:0; font-family:var(--serif); font-weight:500; font-size:22px; line-height:1.38; color:var(--ink); }
.reviews figcaption{ margin-top:14px; font-size:15px; line-height:1.45; color:var(--ink-2); }
.reviews figcaption b{ display:block; font-weight:600; color:var(--ink); }

/* roundup teaser */
.latest{ margin-top:30px; }
.latest .wk{ margin-top:6px; font-family:var(--serif); font-size:26px; line-height:1.15; color:var(--ink); }
.latest ul{ list-style:none; margin:16px 0 0; padding:0; }
.latest li a{
display:block; text-decoration:none; padding:15px 0;
border-top:1px solid var(--rule); font-family:var(--serif); font-size:21px; line-height:1.25; color:var(--ink);
}
.latest li:last-child a{ border-bottom:1px solid var(--rule); }
.latest .actions{ margin-top:26px; }

/* closing: contact + About in one band, contact details appear once */
.closing{ background:var(--fog); padding:60px 0 52px; }
.closing .lead{ font-size:16px; line-height:1.7; }
.closing .rule{ margin:40px 0 32px; }
.about .bio-s{ font-size:15px; line-height:1.7; color:var(--ink-2); }
.about .card .n{ font-family:var(--serif); font-size:22px; font-weight:500; line-height:1.2; color:var(--ink); }
.about .card .f{ margin-top:4px; font-size:11.5px; font-weight:500; letter-spacing:.1em; text-transform:uppercase; color:var(--ink-2); }
.about .card .c{ margin-top:12px; }
.about .card .c a{
display:inline-flex; align-items:center; min-height:40px; font-size:16px; line-height:1.3; font-weight:500;
color:var(--ink); text-decoration:underline; text-decoration-color:rgba(30,42,52,.35);
text-underline-offset:4px;
}
.about .card .c div{ line-height:1.2; }

/* ---------- roundup page ---------- */
.rhead{ background:var(--fog); padding-bottom:0; }
.rhead .t{ padding-top:44px; padding-bottom:48px; }
.rhead h1{ font-size:46px; line-height:1.02; }
.rhead h1 span{ display:block; }
.rhead .floor{ height:24px; }

.week{ padding:52px 0; }
.week + .week{ border-top:1px solid var(--rule); }
.week-h h2{ font-size:30px; line-height:1.12; }
.week-h h2 span{ display:block; }
.topic{ padding-top:30px; margin-top:30px; border-top:1px solid var(--rule); }
.topic h3{ font-size:28px; line-height:1.12; }
.topic p{ margin-top:14px; font-size:16.5px; line-height:1.72; }
.topic p.out{ font-family:var(--serif); font-style:italic; font-size:22px; line-height:1.4; color:var(--ink); }
.signoff{ margin-top:36px; padding-top:30px; border-top:1px solid var(--rule); }
.signoff p{ font-family:var(--serif); font-size:23px; line-height:1.4; color:var(--ink); }
.signoff .actions{ margin-top:24px; }

/* ================= laptop ================= */
@media (min-width:860px){
.wrap{ padding:0 64px; }
.nav{ padding:30px 0 0; }
.mark .n{ font-size:26px; }
.nav ul{ gap:18px; }

.actions{ flex-direction:row; flex-wrap:wrap; gap:14px; }
.btn{ padding:0 32px; }

/* one grid for the whole site: label column + reading column */
.cols{ display:grid; grid-template-columns:5fr 7fr; column-gap:80px; align-items:start; }
.cols > * + *{ margin-top:0; }
.body-text, .closing .lead, .latest{ max-width:var(--measure); }

/* hero: copy on the left margin, Dan on the right margin, both standing on one stone floor */
.hero-grid{ display:grid; grid-template-columns:1fr 380px; column-gap:80px; align-items:end; }
.hero .copy{ padding:72px 0 96px; align-self:start; }
.hero h1{ font-size:70px; line-height:1.0; white-space:nowrap; }
.hero .stand{ margin-top:30px; font-size:20px; line-height:1.5; max-width:24em; }
.hero .actions{ margin-top:38px; }
.figure{ margin:40px 0 0; width:380px; }
.floor{ height:88px; }

section{ padding:104px 0; }
.sec-h{ font-size:46px; line-height:1.06; }
.body-text p{ font-size:18px; line-height:1.72; }
.body-text p + p{ margin-top:20px; }

.exp ol{ display:grid; grid-template-columns:repeat(3,1fr); column-gap:44px; margin-top:56px; }
.exp li, .exp li:last-child{ border-bottom:none; padding:24px 0 0; }
.exp h3{ font-size:27px; min-height:2.2em; }

.reviews .grid{ display:grid; grid-template-columns:repeat(3,1fr); column-gap:44px; margin-top:36px; }
.reviews figure + figure{ margin-top:0; }
.reviews figure{ padding-top:28px; }
.reviews blockquote{ font-size:23px; line-height:1.36; }

.latest .wk{ font-size:30px; }
.latest li a{ font-size:24px; padding:18px 0; }

.closing{ padding:104px 0 80px; }
.closing .lead{ font-size:18px; }
.closing .rule{ margin:64px 0 44px; }
.about .bio-s{ font-size:16px; max-width:var(--measure); }
.about .card .n{ font-size:24px; }
.about .card .c a{ font-size:18px; }

.rhead .t{ padding-top:84px; padding-bottom:88px; align-items:end; }
.rhead h1{ font-size:78px; line-height:.98; }
.rhead .floor{ height:32px; }

.week{ padding:100px 0 92px; }
.week-h{ position:sticky; top:32px; }
.week-h h2{ font-size:36px; }
.week .body{ max-width:var(--measure); }
.topic:first-child{ padding-top:0; margin-top:0; border-top:none; }
.topic + .topic{ margin-top:52px; padding-top:52px; }
.topic h3{ font-size:36px; line-height:1.08; }
.topic p{ font-size:18px; margin-top:18px; }
.topic p.out{ font-size:25px; }
.signoff{ margin-top:52px; padding-top:44px; }
.signoff p{ font-size:27px; }
.signoff .actions{ margin-top:30px; }
}
