/* Look: Jamie Kern Lima's home page (jamiekernlima.com), measured 2026-11-10. First screen only so far. */
:root {
  --ink: #222; --white: #fff; --accent: rgb(233, 105, 117); --field-line: #ababab; --field-text: #333;
  --serif: "Playfair Display", Georgia, serif; --sans: "Open Sans", Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 17px/1.45 var(--sans); color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; color: #000; padding: 10px 14px; z-index: 20; }
.skip:focus { left: 10px; top: 10px; }

/* first screen */
.hero { position: relative; min-height: 864px; color: var(--white); overflow: hidden; background: #1b1b1b; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
/* the reference's photo has its shade baked in ("dropshadow" file); ours is added here */
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0, rgba(0,0,0,0) 240px),
              linear-gradient(90deg, rgba(0,0,0,.62) 0, rgba(0,0,0,.38) 34%, rgba(0,0,0,0) 56%); }
.hero > * { position: relative; z-index: 2; }
.hero > .hero-bg { position: absolute; z-index: 0; }
.hero > .hdr { z-index: 6; }

.hdr { display: flex; align-items: flex-start; justify-content: space-between; padding: 15px 34px 0 40px; }
/* her name where the reference has its hand-written name (logo dropped by Nicolas, 2026-11-10) */
.mark { display: inline-flex; flex-direction: column; align-items: center; width: 200px; min-height: 141px; padding-top: 0; color: #fff; text-decoration: none; }
.mark-s { font: 400 104px/1 "Kristi", "Covered By Your Grace", cursive; white-space: nowrap; }
.mark-c { font: 700 15px/1 var(--sans); letter-spacing: 2.6px; text-transform: uppercase; white-space: nowrap; margin-top: 20px; }
.mark:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }
.nav { display: flex; align-items: center; gap: 30px; padding-top: 20px; }
.nav a { font: 400 17px/1 var(--sans); letter-spacing: .8px; text-transform: uppercase; text-decoration: none; padding: 10px 0; }
.nav a:hover, .nav a:focus-visible { text-decoration: underline; }
.nav .soc { display: inline-flex; padding: 0; margin-left: -4px; }
.nav .soc svg { width: 26px; height: 26px; fill: currentColor; }
.menu-btn { display: none; }

.hero-txt { width: 541px; margin: 145px 0 0 110px; padding-bottom: 170px; }
.hero-txt h1 { font: 400 36px/50.4px var(--serif); margin: 0 0 9px; }
.hero-txt p { font: 400 17px/24.65px var(--sans); margin: 0 0 16px; }
.hero-txt p strong { font-weight: 700; }
.signup { display: grid; gap: 15px; }
.signup input { width: 100%; height: 53px; border: 1px solid var(--field-line); border-radius: 4px; background: #fff;
  font: 700 17px/1 var(--serif); letter-spacing: .2px; color: var(--field-text); text-align: center; padding: 0 24px; }
.signup input::placeholder { color: #a3a3a3; font-weight: 400; }
.signup button { width: 100%; min-height: 53px; border: 2px solid var(--accent); border-radius: 6px; background: var(--accent); color: #fff;
  font: 700 17px/20.4px var(--serif); letter-spacing: .2px; text-transform: uppercase; cursor: pointer; padding: 12px 16px; }
.signup button:hover, .signup button:focus-visible { background: var(--accent-over); border-color: var(--accent-over); }
.signup input:focus-visible, .signup button:focus-visible, .nav a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.curve { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 44px; z-index: 2; }
.next { min-height: 300px; background: #fff; }

@media (max-width: 1100px) {
  .nav { gap: 20px; }
  .nav a { font-size: 15px; }
  .hero-txt { margin-left: 60px; }
}
@media (max-width: 900px) {
  .hero { min-height: 620px; }
  .hero-bg { object-position: 66% 0; }
  .hero::before { background: linear-gradient(180deg, rgba(0,0,0,.45) 0, rgba(0,0,0,0) 180px); }
  .hdr { padding: 15px 16px 0 15px; align-items: center; }
  .mark { width: 136px; min-height: 96px; padding-top: 0; }
  .mark-s { font-size: 62px; }
  .mark-c { font-size: 10.5px; letter-spacing: 1.8px; margin-top: 13px; }
  .nav { display: none; }
  .nav.open { display: flex; position: absolute; left: 0; right: 0; top: 122px; flex-direction: column; gap: 0; padding: 10px 20px 16px; background: rgba(0,0,0,.92); z-index: 5; }
  .nav.open a { font-size: 18px; letter-spacing: .6px; padding: 14px 0; width: 100%; }
  .menu-btn { display: block; width: 44px; height: 44px; border: 0; background: none; color: #fff; padding: 6px; cursor: pointer; }
  .menu-btn svg { width: 32px; height: 32px; stroke: currentColor; stroke-width: 3; fill: none; }
  .hero-txt { width: auto; margin: 99px 0 0; padding: 24px 20px 70px; background: rgba(0,0,0,.42); }
  .hero-txt h1 { font-size: 36px; line-height: 36px; margin-bottom: 12px; }
  .hero-txt p { font-size: 14px; line-height: 20.3px; margin-bottom: 10px; }
  .signup { gap: 8px; }
  .signup input { height: 44px; }
  .signup button { min-height: 48px; }
  .curve { height: 26px; }
}

/* ---------- under the first screen (same reference, measured 2026-11-10) ---------- */
/* colours: set 3 picked by Nicolas 2026-11-10, read from his hero picture (charcoal, taupe, sand); taupe deepened from #918072 so white text passes 4.5:1 */
:root { --accent: #817164; --accent-over: #75665a; --dark: #201f1e; --light: #c0b4a7; --display: "Vidaloka", "Playfair Display", Georgia, serif; --hand: "Covered By Your Grace", "Open Sans", cursive; }
.sec { font: 400 36px/1.3 var(--serif); text-align: center; margin: 0; }
.sec-sub { font: 400 20px/1.5 var(--serif); text-align: center; margin: 6px auto 0; max-width: 760px; }

/* photo + hand-written link (the reference's video block) */
.meet { background: #fff; padding: 0 20px 56px; text-align: center; }
.meet figure { margin: -40px auto 0; max-width: 860px; position: relative; z-index: 3; }
.meet img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.hand { display: inline-block; margin-top: 22px; font: 400 29px/1 var(--hand); letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none; color: var(--dark); }
.hand:hover, .hand:focus-visible { text-decoration: underline; }

/* colour blocks: text beside a picture (the reference's two book blocks) */
.duo { color: #fff; padding: 60px 20px 110px; border-top: 2px solid #fff; }
.duo.c-dark { background: var(--dark); }
.duo.c-accent { background: var(--accent); }
.duo.c-light { background: var(--light); color: #151515; }
.duo.c-light .btn-w { background: #151515; color: #fff; box-shadow: -3px 3px 0 rgba(0,0,0,.25); }
.duo.c-light .btn-w:hover, .duo.c-light .btn-w:focus-visible { background: #333; }
.duo.c-light a:focus-visible { outline-color: #151515; }
.duo .lines { list-style: none; margin: 14px auto 0; padding: 0; max-width: 760px; text-align: center; font: 400 20px/1.6 var(--serif); }
.duo .lines li:last-child { font-weight: 700; margin-top: 8px; }
.duo-in { max-width: 1058px; margin: 64px auto 0; display: grid; grid-template-columns: 488px 1fr; gap: 74px; align-items: start; }
.duo.no-head .duo-in { margin-top: 20px; }
.duo.flip .duo-in { grid-template-columns: 1fr 488px; }
.duo.flip .duo-pic { order: 2; }
.duo-pic img { width: 100%; }
.duo-txt { max-width: 496px; }
.duo.flip .duo-txt { justify-self: end; }
.big { font: 400 60px/1.05 var(--display); letter-spacing: 2px; margin: 0 0 14px; }
.duo-txt p { font: 400 17px/23.46px var(--sans); margin: 0 0 10px; }
.duo-txt p.lead { font-weight: 700; }
.btn-w { display: inline-block; margin: 30px 0 0 24px; background: #fff; color: #111; border-radius: 6px; padding: 18px 24px; text-decoration: none;
  font: 400 20px/1.2 var(--serif); letter-spacing: 1px; text-transform: uppercase; white-space: nowrap; box-shadow: -3px 3px 0 rgba(0,0,0,.45); }
.btn-w:hover, .btn-w:focus-visible { background: #f2f2f2; }
.more { display: block; margin: 24px 0 0 24px; font: 400 24px/1 var(--hand); letter-spacing: 1.2px; text-transform: uppercase; color: inherit; text-decoration: none; }
.more:hover, .more:focus-visible { text-decoration: underline; }
.duo a:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* proof on white (the reference's press-logo block) */
.proof { background: #fefefe; color: #222; padding: 60px 20px 80px; border-top: 2px solid #fff; }
.proof .sec-sub { color: #555; font-family: var(--sans); font-size: 15px; }
.proof-grid { max-width: 1220px; margin: 48px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.proof-grid figure { margin: 0; text-align: center; }
.proof-grid blockquote { margin: 0; font: 400 22px/1.45 var(--serif); }
.proof-grid figcaption { margin-top: 14px; font: 700 13px/1.4 var(--sans); letter-spacing: 1.2px; text-transform: uppercase; color: #555; }
.proof .hand { display: table; margin: 44px auto 0; }

/* full-width photo with a quote */
.quote { position: relative; min-height: 1080px; color: #fff; display: flex; align-items: flex-start; justify-content: center; overflow: hidden; background: #222; }
.quote img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quote::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.05) 0, rgba(0,0,0,.5) 55%, rgba(0,0,0,.55) 100%); }
.quote blockquote { position: relative; z-index: 2; margin: 614px 20px 0; max-width: 760px; text-align: center; }
.quote p { font: 400 32px/1.5 var(--serif); letter-spacing: 1px; text-transform: uppercase; margin: 0 0 14px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.quote cite { font: 400 18px/26.1px var(--sans); font-style: normal; }

/* photo tiles and three buttons (the reference's social block) */
.follow { background: #fff; color: #222; padding: 60px 20px 96px; text-align: center; }
.follow .txt { max-width: 760px; margin: 14px auto 0; font: 400 17px/24.65px var(--sans); color: #333; }
.tiles { max-width: 1212px; margin: 40px auto 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 26px; }
.tiles img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.btns { max-width: 1160px; margin: 68px auto 0; display: grid; grid-template-columns: repeat(3, 320px); justify-content: space-between; }
.btn-c { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 12px 14px; background: var(--accent); color: #fff; border-radius: 4px;
  font: 700 16px/1.2 var(--sans); letter-spacing: .3px; text-transform: uppercase; text-decoration: none; box-shadow: 0 8px 0 var(--dark); }
.btn-c svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn-c:hover, .btn-c:focus-visible { background: var(--accent-over); }
.btn-c:focus-visible, .hand:focus-visible { outline: 3px solid #111; outline-offset: 3px; }

.ftr { background: var(--accent); color: #fff; text-align: center; padding: 21px 20px; font: 400 12px/17.4px var(--sans); }
.ftr a { color: #fff; }
.ftr span { white-space: nowrap; }

@media (max-width: 1100px) {
  .duo-in, .duo.flip .duo-in { grid-template-columns: 1fr 1fr; gap: 44px; }
  .big { font-size: 48px; }
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .btns { grid-template-columns: repeat(3, 1fr); gap: 24px; }
}
@media (max-width: 900px) {
  .sec { font-size: 32px; line-height: 1.2; }
  .sec-sub, .duo .lines { font-size: 18px; }
  .meet { padding: 0 5px 40px; }
  .meet figure { margin-top: -18px; }
  .duo { padding: 40px 20px 64px; }
  .duo-in, .duo.flip .duo-in { grid-template-columns: 1fr; gap: 32px; margin-top: 36px; }
  .duo.no-head .duo-in { margin-top: 0; }
  .duo.flip .duo-pic { order: 0; }
  .duo-pic { margin: 0 -20px; }
  .duo-txt, .duo.flip .duo-txt { max-width: none; justify-self: stretch; }
  .big { font-size: 46px; letter-spacing: 1px; }
  .btn-w { display: table; margin: 28px auto 0; text-align: center; font-size: 17px; padding: 16px 14px; letter-spacing: .5px; }
  .more { margin: 22px 0 0; text-align: center; }
  .proof { padding: 40px 20px 56px; }
  .proof-grid { grid-template-columns: 1fr; gap: 36px; margin-top: 32px; }
  .quote { min-height: 620px; }
  .quote blockquote { margin-top: 300px; }
  .quote p { font-size: 24px; line-height: 1.4; }
  .follow { padding: 40px 20px 64px; }
  .tiles { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
  .btns { grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
  .ftr a { display: inline-block; padding: 12px 4px; }
}

/* tap targets and very small phones */
.hand, .more { padding: 10px 0; }
@media (max-width: 380px) {
  .btn-w { white-space: normal; }
  .hero-txt h1 { font-size: 32px; line-height: 34px; }
  .big { font-size: 38px; }
}

/* ---------- inner pages: the same reference's About, Show and Resources pages (jamiekernlima.com, measured 2026-11-10) ---------- */
.hero.in { height: 100vh; min-height: 560px; max-height: 900px; }
.hero.in::before, .hero.hres::before { background: linear-gradient(180deg, rgba(0,0,0,.6) 0, rgba(0,0,0,0) 260px); }
.hero.in .hero-bg, .hero.hres .hero-bg { object-position: var(--pos, 50% 30%); }
.hero.in.short { height: 420px; min-height: 0; }
.hero.hres { min-height: 700px; }

/* white card on the photo (Show page) */
.callout { width: 600px; margin: 52px 105px 0 auto; background: #fff; border: 6px solid var(--light); padding: 40px 20px; color: #333; text-align: center; }
.callout h1 { font: 700 36px/50.4px var(--serif); color: var(--dark); margin: 0 0 10px; }
.callout p { font: 400 17px/24.65px var(--sans); text-align: left; margin: 0; padding: 0 0 10px; }
.btn-y { display: inline-block; margin-top: 14px; background: var(--accent); color: #fff; padding: 20px 30px; text-decoration: none;
  font: 700 20px/24px var(--sans); letter-spacing: .2px; text-transform: uppercase; box-shadow: 0 3px 10px rgba(0,0,0,.18); }
.btn-y:hover, .btn-y:focus-visible { background: var(--accent-over); }
.btn-y:focus-visible, .btn-o:focus-visible { outline: 3px solid #111; outline-offset: 3px; }
.btn-y.sm { font-size: 16px; line-height: 20px; padding: 13px 26px; }

/* colour band: title, picture, text, two buttons (Show page) */
.band { background: var(--light); color: #151515; padding: 56px 20px 70px; text-align: center; }
.band .sec, .grid-sec .sec { font-weight: 700; color: var(--dark); }
.band-in { max-width: 860px; margin: 34px auto 0; }
.band-in img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.band-in p { font: 400 19px/27.55px var(--sans); text-align: left; margin: 22px 0 0; }
.band-in .lines { list-style: none; margin: 26px 0 0; padding: 0; font: 400 22px/1.7 var(--serif); }
.band-btns { display: flex; justify-content: space-around; gap: 24px; flex-wrap: wrap; margin-top: 14px; }

/* cards on grey (Show page) */
.grid-sec { background: #eeece9; padding: 70px 20px 80px; }
.grid-sec + .grid-sec { padding-top: 0; }
.cards { max-width: 1220px; margin: 62px auto 0; display: grid; grid-template-columns: repeat(3, 367px); justify-content: space-between; row-gap: 60px; }
.cards.two { grid-template-columns: repeat(2, 367px); justify-content: center; column-gap: 60px; }
.card { background: #fff; display: flex; flex-direction: column; text-align: center; }
.card img { width: 100%; aspect-ratio: 367 / 258; object-fit: cover; }
.card-in { padding: 20px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font: 700 20px/24px var(--sans); color: var(--dark); margin: 6px 0 12px; }
.card p { font: 400 16px/22px var(--sans); color: #333; margin: 0 0 10px; }
.card .when { font-weight: 700; }
.card blockquote { margin: 6px 0 12px; font: 400 21px/1.45 var(--serif); color: var(--dark); }
.card .go { margin-top: auto; padding-top: 16px; }

/* title on colour, then offers in turn: white card with picture left, dark card with picture right (Resources page) */
.res { background: var(--light); color: #151515; padding: 64px 20px 100px; }
.res h1 { font: 400 42px/58.8px var(--serif); text-align: center; margin: 0; }
.res .sub { font: 400 17px/24.65px var(--sans); text-align: center; max-width: 820px; margin: 20px auto 0; }
.offer { position: relative; max-width: 960px; margin: 80px auto 0; scroll-margin-top: 20px; }
.offer:first-of-type { margin-top: 70px; }
.offer-box { background: #fff; margin: 0 20px 0 233px; padding: 50px 90px 40px 170px; min-height: 420px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.offer > img { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); width: 328px; aspect-ratio: 328 / 361; object-fit: cover; box-shadow: 0 6px 18px rgba(0,0,0,.28); }
.offer.alt .offer-box { background: var(--dark); color: #fff; margin: 0 175px 0 20px; padding: 50px 170px 40px 90px; }
.offer.alt > img { left: auto; right: 20px; width: 270px; aspect-ratio: 270 / 346; }
.offer.plain .offer-box { margin: 0 20px; padding: 50px 70px 44px; min-height: 0; display: block; }
.offer h2 { font: 400 33px/39.6px var(--serif); margin: 0 0 12px; }
.offer p { font: 400 17px/24.65px var(--sans); margin: 0 0 10px; }
.offer ol { margin: 18px 0 0; padding: 0 0 0 22px; columns: 2; column-gap: 48px; font: 400 16px/22px var(--sans); }
.offer ol li { break-inside: avoid; margin: 0 0 14px; }
.offer ol b { display: block; font: 700 16px/22px var(--sans); }
.btn-o { display: inline-block; margin: 20px 0 8px; background: var(--accent); color: #fff; border-radius: 6px; padding: 18px 40px; text-decoration: none;
  font: 700 16px/19.2px var(--sans); letter-spacing: .4px; text-transform: uppercase; box-shadow: 0 8px 0 var(--dark); }
.btn-o:hover, .btn-o:focus-visible { background: var(--accent-over); }
.offer.alt .btn-o { box-shadow: 0 8px 0 var(--light); }
.offer.alt .btn-o:focus-visible { outline-color: #fff; }

/* one column of text on white (About page) */
.story { max-width: 960px; margin: 0 auto; padding: 60px 20px 70px; }
.story h1 { font: 400 36px/50.4px var(--serif); margin: 0 0 40px; }
.story h2 { font: 400 27px/1.3 var(--serif); margin: 34px 0 12px; }
.story h2.sec-l { font-size: 36px; line-height: 50.4px; margin: 0 0 26px; }
.story h3 { font: 700 17px/24.65px var(--sans); margin: 22px 0 4px; }
.story p { font: 400 17px/24.65px var(--sans); margin: 0 0 10px; }
.story .acts { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; margin-top: 18px; }
.story .hand { margin-top: 0; font-size: 26px; }
.story + .story { padding-top: 0; }
.story .tel { font: 700 17px/1.4 var(--sans); color: var(--dark); padding: 12px 0; }

@media (max-width: 1100px) {
  .callout { margin-right: 40px; }
  .cards { grid-template-columns: repeat(3, 1fr); column-gap: 24px; }
  .offer-box { margin-left: 180px; padding: 44px 40px 36px 190px; }
  .offer.alt .offer-box { margin-right: 150px; padding: 44px 160px 36px 40px; }
}
@media (max-width: 900px) {
  .hero.in { height: 100svh; max-height: 860px; }
  .hero.in.short { height: 300px; }
  .hero.hres { min-height: 520px; }
  .hero.in.show { height: auto; max-height: none; min-height: 0; background: var(--light); padding-bottom: 30px; overflow: visible; display: flex; flex-direction: column; }
  .hero.in.show .hdr { order: -1; }
  .hero.in.show::before { display: none; }
  .hero.in.show .hdr { background: var(--dark); padding-bottom: 12px; }
  .hero.in.show > .hero-bg { position: static; display: block; width: calc(100% - 20px); height: auto; aspect-ratio: 370 / 232; margin: 10px auto 0; }
  .callout { width: auto; margin: 22px 10px 0; padding: 26px 20px 30px; }
  .callout h1 { font-size: 34px; line-height: 40px; }
  .btn-y { display: block; font-size: 19px; }
  .band { padding: 40px 20px 50px; }
  .band-in { margin-top: 24px; }
  .band-in .lines { font-size: 19px; }
  .band-btns { flex-direction: column; gap: 0; }
  .grid-sec { padding: 46px 20px 56px; }
  .cards, .cards.two { grid-template-columns: 1fr; row-gap: 40px; margin-top: 34px; }
  .res { padding: 40px 20px 64px; }
  .res h1 { font-size: 34px; line-height: 42px; }
  .offer, .offer:first-of-type { margin-top: 48px; }
  .offer > img, .offer.alt > img { position: relative; left: auto; right: auto; top: auto; transform: none; display: block; width: 240px; margin: 0 auto -40px; z-index: 1; }
  .offer-box, .offer.alt .offer-box, .offer.plain .offer-box { margin: 0; padding: 64px 22px 30px; min-height: 0; display: block; }
  .offer.plain .offer-box { padding-top: 30px; }
  .offer h2 { font-size: 30px; line-height: 36px; }
  .offer ol { columns: 1; }
  .btn-o { display: block; text-align: center; padding: 18px 16px; }
  .story { padding: 40px 20px 50px; }
  .story h1 { font-size: 32px; line-height: 44.8px; margin-bottom: 28px; }
  .story h2.sec-l { font-size: 32px; line-height: 1.25; }
}
