/* Lucy Loves It. Colours from brand.json (ics.ceo/brand/kits/lucylovesit.com Brand). */
:root {
  --navy: #1a2550;
  --ink: #0b1024;
  --silver: #a9adb5;
  --grey: #e9ebf1;
  --porcelain: #f7f6f3;
  --muted: #5b6072;
  --serif: "Bodoni Moda", Didot, "Bodoni 72", Georgia, serif;
  --sans: "Jost", Futura, "Helvetica Neue", Arial, sans-serif;
  --gut: clamp(16px, 4vw, 56px);
  --max: 1320px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--porcelain); color: var(--ink); font: 300 17px/1.7 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 9; }
:focus-visible { outline: 1px solid var(--navy); outline-offset: 4px; }

/* masthead */
.top { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0 0;
  font: 400 11px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.bar nav { display: flex; gap: 28px; }
.bar a { text-decoration: none; }
.bar a:hover { color: var(--navy); }
.mast { display: block; text-align: center; text-decoration: none; color: var(--navy);
  font: 400 clamp(52px, 13.2vw, 184px)/1 var(--serif); font-variation-settings: "opsz" 96; letter-spacing: -.02em;
  padding: clamp(18px, 3vw, 34px) 0 clamp(10px, 2vw, 22px); white-space: nowrap; }
.rule { display: flex; justify-content: center; gap: clamp(18px, 5vw, 64px); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--silver);
  padding: 10px 0; font: 400 11px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }

main { max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.kicker { font: 400 11px/1.2 var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--muted); margin: 0 0 18px; }
.dek { font: italic 400 clamp(19px, 1.9vw, 24px)/1.45 var(--serif); color: var(--navy); margin: 0 0 22px; }
.more { display: inline-block; font: 400 12px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; text-decoration: none;
  color: var(--navy); border-bottom: 1px solid var(--navy); padding-bottom: 6px; margin-top: 10px; }
.more::after { content: "  \2192"; }
.more:hover { color: var(--ink); border-color: var(--ink); }
.sect { display: flex; align-items: center; gap: 22px; margin: clamp(80px, 11vw, 150px) 0 clamp(34px, 5vw, 60px);
  font: 400 11px/1 var(--sans); letter-spacing: .34em; text-transform: uppercase; color: var(--muted); }
.sect::before, .sect::after { content: ""; flex: 1; border-top: 1px solid var(--silver); }

/* cover */
.cover { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-top: clamp(28px, 4vw, 56px); }
.cover-img img { width: 100%; }
.cover h1 { font: 400 clamp(36px, 4.4vw, 64px)/1.06 var(--serif); letter-spacing: -.015em; color: var(--ink); margin: 0 0 26px; }
.cover-copy > p:not(.kicker):not(.dek) { color: var(--muted); margin: 0 0 18px; max-width: 36em; }

/* contents */
.toc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); }
.toc a { display: grid; grid-template-columns: auto 1fr; gap: 2px 14px; padding: 20px 0 22px; border-top: 1px solid var(--grey); text-decoration: none; height: 100%; }
.toc .no { grid-row: span 2; font: italic 400 30px/1 var(--serif); color: var(--silver); }
.toc .t { font: 400 21px/1.2 var(--serif); color: var(--ink); }
.toc .d { font-size: 14px; line-height: 1.5; color: var(--muted); }
.toc a:hover .t { color: var(--navy); }

/* looks grid: a wide and a tall per row, alternating sides */
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(48px, 7vw, 110px) clamp(20px, 3vw, 44px); align-items: start; }
.card { text-decoration: none; display: block; }
.card.wide { grid-column: span 12; }
.card.wide img { aspect-ratio: 2 / 1; object-fit: cover; }
.card.wide .t, .card.wide .no, .card.wide .d { margin-left: auto; margin-right: 0; max-width: 34%; }
.card.tall, .card.sq { grid-column: span 6; }
.card.low { margin-top: clamp(0px, 9vw, 140px); }
.card img { width: 100%; background: var(--grey); transition: opacity .4s ease; }
.card:hover img { opacity: .9; }
.card .no { display: block; margin-top: 18px; font: italic 400 15px/1 var(--serif); color: var(--silver); }
.card .t { display: block; margin-top: 8px; font: 400 clamp(26px, 2.6vw, 36px)/1.1 var(--serif); color: var(--ink); }
.card .d { display: block; margin-top: 8px; font-size: 15px; color: var(--muted); max-width: 30em; }
.card:hover .t { color: var(--navy); }

/* pull quote */
.pull { margin: clamp(90px, 12vw, 170px) auto 0; max-width: 980px; text-align: center; }
.pull p { margin: 0; font: italic 400 clamp(28px, 4vw, 54px)/1.25 var(--serif); color: var(--navy); }
.pull p::before { content: ""; display: block; width: 1px; height: 64px; background: var(--silver); margin: 0 auto 36px; }

/* still life */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 44px); }
.trio img { aspect-ratio: 1; object-fit: cover; width: 100%; }
figcaption { font: italic 400 16px/1.4 var(--serif); color: var(--muted); margin-top: 12px; }

/* twin */
.twin { position: relative; margin-top: clamp(80px, 11vw, 150px); }
.twin img { width: 100%; }
.twin-copy { max-width: 440px; margin: 28px 0 0 auto; }
.twin-copy p:not(.kicker) { font: 400 clamp(20px, 2vw, 26px)/1.4 var(--serif); margin: 0 0 14px; }

/* look page */
.look-head { text-align: center; max-width: 820px; margin: clamp(46px, 7vw, 96px) auto clamp(34px, 5vw, 64px); }
.look-head h1 { font: 400 clamp(46px, 7.6vw, 108px)/1 var(--serif); letter-spacing: -.02em; margin: 0 0 22px; color: var(--ink); }
.look-hero { max-width: 980px; margin: 0 auto; }
.look-hero img { width: 100%; max-height: 88vh; object-fit: contain; margin: 0 auto; }
.look-body { max-width: 640px; margin: clamp(46px, 6vw, 80px) auto; font-size: 18px; }
.look-body p { margin: 0 0 1.25em; }
.look .look-body p:first-child::first-letter { float: left; font: 400 5.1em/.8 var(--serif); color: var(--navy); padding: .06em .1em 0 0; }
.look-second { max-width: 640px; margin: 0 auto; }
.look-second img { width: 100%; }
.next { display: block; text-align: center; text-decoration: none; margin: clamp(70px, 9vw, 120px) auto 0; padding: 40px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--silver); }
.next .kicker { display: block; margin-bottom: 14px; }
.next .t { font: 400 clamp(30px, 4vw, 52px)/1.1 var(--serif); color: var(--navy); }
.others ul { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 28px; }
.others a { text-decoration: none; font: 400 17px/1.4 var(--serif); color: var(--muted); }
.others a:hover { color: var(--navy); }
.others .no { font-style: italic; color: var(--silver); margin-right: 6px; }

/* index */
.index-list { list-style: none; margin: 0 auto; padding: 0; max-width: 980px; }
.index-list a { display: grid; grid-template-columns: 200px auto 1fr; grid-template-rows: auto 1fr; gap: 6px 22px; align-items: start; padding: 28px 0; border-top: 1px solid var(--grey); text-decoration: none; }
.index-list img { grid-row: span 2; width: 200px; height: 150px; object-fit: cover; }
.index-list .no { font: italic 400 34px/1 var(--serif); color: var(--silver); grid-row: span 2; }
.index-list .t { font: 400 clamp(26px, 3vw, 38px)/1.1 var(--serif); }
.index-list .d { color: var(--muted); font-size: 15px; }
.index-list a:hover .t { color: var(--navy); }

/* footer */
.foot { max-width: var(--max); margin: clamp(100px, 12vw, 170px) auto 0; padding: 56px var(--gut) 64px; border-top: 1px solid var(--ink); text-align: center; color: var(--muted); font-size: 15px; }
.foot img { margin: 0 auto 18px; border-radius: 10px; }
.foot-name { font: 400 30px/1 var(--serif); color: var(--navy); margin: 0 0 12px; }
.foot nav { display: flex; justify-content: center; gap: 28px; margin: 22px 0; font: 400 11px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; }
.foot nav a { text-decoration: none; }
.foot .small { font-size: 13px; color: var(--silver); margin: 0; }

@media (max-width: 900px) {
  .cover { grid-template-columns: 1fr; }
  .toc { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar > span { display: none; }
  .bar { justify-content: center; }
  .grid { grid-template-columns: 1fr; }
  .card.wide, .card.tall, .card.sq { grid-column: auto; }
  .card.low { margin-top: 0; }
  .card.wide .t, .card.wide .no, .card.wide .d { max-width: none; }
  .card.wide img { aspect-ratio: 3 / 2; }
  .toc { grid-template-columns: 1fr; }
  .trio { grid-template-columns: 1fr; }
  .index-list a { grid-template-columns: 110px 1fr; }
  .index-list img { width: 110px; height: 110px; }
  .index-list .no { display: none; }
  .rule { letter-spacing: .2em; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
