/* ============================================================
   Avenir Hospitality — Journal
   Tokens mirror the live index.html so the journal reads as the
   same website, not a bolted-on blog. Design rules follow
   "Avenir Design System.md": no cards, no chips, no glass,
   no arrows on links, grouping by hairline and space only.
   ============================================================ */

:root{
  --cream:#f4eee2;
  --cream-soft:#efe7d7;
  --navy:#2f3b4a;
  --slate-2:#5a6b7d;
  --slate-3:#8a99a8;
  --ink:#27313d;
  --gold:#b8995f;
  --gold-soft:#c8b083;
  --driftwood:#6e5f3e;          /* the accent when it has to be text */
  --line:rgba(47,59,74,.18);
  --line-soft:rgba(47,59,74,.10);
  --font-serif:'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:'Jost', 'Helvetica Neue', Arial, sans-serif;
  --ease-out:cubic-bezier(.19,1,.22,1);
  --ease-fog:cubic-bezier(.33,.02,.2,1);
  --gutter:clamp(1.25rem,5vw,3.5rem);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:var(--font-sans);
  font-weight:300;
  background:var(--cream);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  font-variant-numeric:tabular-nums;
  overflow-x:hidden;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit}
::selection{background:var(--gold-soft);color:var(--navy)}

.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.skip{
  position:absolute;left:-9999px;top:0;z-index:100;
  background:var(--navy);color:var(--cream);padding:.75rem 1.25rem;
  font-size:.85rem;letter-spacing:.08em;text-transform:uppercase;text-decoration:none;
}
.skip:focus{left:var(--gutter);top:.75rem}

/* ---------- masthead ---------- */
.mast{
  display:flex;align-items:baseline;justify-content:space-between;gap:1.5rem;
  padding:1.75rem var(--gutter) 1.1rem;
  flex-wrap:wrap;
}
.mast__brand{
  font-family:var(--font-sans);
  font-weight:400;
  letter-spacing:.34em;
  text-transform:uppercase;
  font-size:.78rem;
  color:var(--navy);
  text-decoration:none;
  padding:.4rem 0;
  min-height:44px;
  display:inline-flex;
  align-items:center;
}
.mast__brand span{color:var(--slate-3)}
.mast__back{
  font-size:.74rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--slate-2);
  text-decoration:none;
  padding:.55rem 0;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  background-image:linear-gradient(var(--gold),var(--gold));
  background-repeat:no-repeat;
  background-position:0 100%;
  background-size:0% 1px;
  transition:background-size .42s var(--ease-out), color .42s var(--ease-out);
}
.mast__back:hover,.mast__back:focus-visible{background-size:100% 1px;color:var(--navy)}

.mast__rule{
  height:1px;background:var(--line);
  margin:0 var(--gutter);
  transform-origin:left center;
}
.js .mast__rule{transform:scaleX(0)}
.js.ready .mast__rule{transform:scaleX(1);transition:transform 1400ms var(--ease-mask,cubic-bezier(.77,0,.18,1))}

/* ---------- shared wrappers ---------- */
.wrap{max-width:1180px;margin:0 auto;padding:0 var(--gutter)}
.prose{max-width:34em}                 /* ~62ch at this size */

.eyebrow{
  font-family:var(--font-sans);
  font-weight:400;
  letter-spacing:.34em;
  text-transform:uppercase;
  font-size:.68rem;
  color:var(--driftwood);
  display:block;
}

h1,h2,h3{font-family:var(--font-serif);font-weight:400;color:var(--navy);text-wrap:balance}

/* ---------- journal opener ---------- */
/* padding-block only: the shorthand would wipe out .wrap's gutter */
.opener{padding-block:clamp(3rem,9vh,6.5rem) clamp(2.5rem,6vh,4rem)}
.opener__grid{display:grid;grid-template-columns:5fr 7fr;gap:clamp(1.5rem,5vw,4.5rem);align-items:end}
.opener h1{
  font-size:clamp(2.6rem,6vw,4.6rem);
  line-height:1.02;
  letter-spacing:.005em;
}
.opener h1 em{font-style:italic;color:var(--slate-2)}
.opener__lede{
  font-size:clamp(1.02rem,1.5vw,1.18rem);
  line-height:1.55;
  color:var(--slate-2);
  max-width:30em;                       /* ~42ch */
}
.opener__lede a{color:var(--driftwood);text-decoration:none;border-bottom:1px solid var(--gold-soft)}
.opener__lede a:hover{border-bottom-color:var(--navy)}

/* ---------- the index list ---------- */
.group{padding-block:clamp(2rem,5vh,3.25rem)}
.group__head{
  border-top:1px solid var(--line);
  padding-top:1rem;
  margin-bottom:.5rem;
  display:flex;align-items:baseline;justify-content:space-between;gap:1rem;flex-wrap:wrap;
}
.group__head h2{font-size:clamp(1.5rem,2.6vw,2.05rem);line-height:1.15}
.group__count{
  font-size:.7rem;letter-spacing:.2em;text-transform:uppercase;color:var(--slate-3);
}

.entry{
  display:grid;
  grid-template-columns:8.5rem 1fr;
  gap:clamp(1rem,4vw,3rem);
  padding:1.9rem 0;
  border-bottom:1px solid var(--line-soft);
  text-decoration:none;
  color:inherit;
  align-items:start;
}
.entry:last-child{border-bottom:0}
.entry__meta{
  font-size:.7rem;letter-spacing:.16em;text-transform:uppercase;color:var(--slate-3);
  padding-top:.45rem;line-height:1.8;
}
.entry__place{display:block;color:var(--driftwood)}
.entry h3{
  font-size:clamp(1.35rem,2.5vw,1.85rem);
  line-height:1.2;
  margin-bottom:.5rem;
  background-image:linear-gradient(var(--navy),var(--navy));
  background-repeat:no-repeat;
  background-position:0 92%;
  background-size:0% 1px;
  transition:background-size .42s var(--ease-out);
  display:inline;
}
.entry:hover h3,.entry:focus-visible h3{background-size:100% 1px}
/* block, so it clears the inline h3 above it instead of trailing the headline */
.entry__dek{
  display:block;
  font-size:.98rem;line-height:1.6;color:var(--slate-2);max-width:42em;margin-top:.6rem;
}
.entry:focus-visible{outline:2px solid var(--navy);outline-offset:6px}

/* ---------- article ---------- */
.article{padding-block:clamp(2.5rem,7vh,5rem) clamp(3rem,8vh,6rem)}
.article__head{max-width:46rem;margin-bottom:clamp(2rem,5vh,3.25rem)}
.article__head h1{
  font-size:clamp(2.15rem,5vw,3.6rem);
  line-height:1.06;
  margin:.85rem 0 1.15rem;
}
.article__dateline{
  font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;color:var(--slate-3);
  margin-top:1.25rem;padding-top:.85rem;border-top:1px solid var(--line);
}
.article__lede{
  font-family:var(--font-serif);
  font-size:clamp(1.24rem,2.2vw,1.6rem);
  line-height:1.42;
  color:var(--slate-2);
  font-style:italic;
  max-width:26em;
}

.body{max-width:34em}
.body p{font-size:1.03rem;line-height:1.72;color:var(--ink);margin-bottom:1.35rem}
.body p.first::first-letter{
  font-family:var(--font-serif);
  float:left;font-size:3.4em;line-height:.82;padding:.06em .1em 0 0;color:var(--navy);
}
.body h2{
  font-size:clamp(1.5rem,2.8vw,2.1rem);
  line-height:1.18;
  margin:2.9rem 0 .85rem;
}
.body h3{
  font-family:var(--font-sans);
  font-weight:500;
  font-size:.82rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:var(--driftwood);
  margin:2.2rem 0 .7rem;
}
.body a{
  color:var(--ink);
  text-decoration:none;
  background-image:linear-gradient(var(--gold-soft),var(--gold-soft));
  background-repeat:no-repeat;
  background-position:0 94%;
  background-size:100% 1px;
  transition:background-size .42s var(--ease-out),background-image .42s var(--ease-out);
}
.body a:hover,.body a:focus-visible{
  background-image:linear-gradient(var(--navy),var(--navy));
}
.body strong{font-weight:500;color:var(--navy)}
.body ul{margin:0 0 1.35rem 0;padding:0;list-style:none}
.body li{
  font-size:1.03rem;line-height:1.65;color:var(--ink);
  padding:.55rem 0 .55rem 1.35rem;position:relative;border-bottom:1px solid var(--line-soft);
}
.body li:last-child{border-bottom:0}
.body li::before{
  content:"";position:absolute;left:0;top:1.3em;width:.5rem;height:1px;background:var(--gold);
}

/* a quoted line from a named source — a rule and space, never a box */
.pull{
  margin:2.4rem 0;
  padding-top:1rem;
  border-top:1px solid var(--gold);
  max-width:32em;
}
.pull q{
  font-family:var(--font-serif);
  font-style:italic;
  font-size:clamp(1.2rem,2.2vw,1.5rem);
  line-height:1.38;
  color:var(--navy);
  quotes:"\201C" "\201D";
}
.pull cite{
  display:block;margin-top:.85rem;
  font-family:var(--font-sans);font-style:normal;
  font-size:.72rem;letter-spacing:.14em;text-transform:uppercase;color:var(--slate-3);
}

/* a fact line, written, never a badge */
.standfirst{
  border-top:1px solid var(--line);
  margin:2.6rem 0 0;
  padding-top:1.1rem;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.25rem 2.5rem;
  max-width:34em;
}
.standfirst div{font-size:.95rem;line-height:1.5;color:var(--slate-2)}
.standfirst b{
  display:block;font-family:var(--font-sans);font-weight:400;
  font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;color:var(--slate-3);
  margin-bottom:.3rem;
}

/* ---------- sources ---------- */
.sources{
  margin-top:clamp(2.5rem,6vh,4rem);
  border-top:1px solid var(--line);
  padding-top:1.4rem;
  max-width:46rem;
}
.sources h2{
  font-family:var(--font-sans);font-weight:400;
  font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;color:var(--slate-3);
  margin-bottom:1.1rem;
}
.sources ol{list-style:none;counter-reset:src;padding:0;margin:0}
.sources li{
  counter-increment:src;
  position:relative;
  padding:.85rem 0 .85rem 2.4rem;
  border-bottom:1px solid var(--line-soft);
  font-size:.92rem;line-height:1.55;color:var(--slate-2);
}
.sources li:last-child{border-bottom:0}
.sources li::before{
  content:counter(src);
  position:absolute;left:0;top:1rem;
  font-size:.7rem;color:var(--slate-3);letter-spacing:.05em;
}
.sources a{
  color:var(--ink);text-decoration:none;
  border-bottom:1px solid var(--gold-soft);
  transition:border-color .42s var(--ease-out);
}
.sources a:hover,.sources a:focus-visible{border-bottom-color:var(--navy)}
.sources em{color:var(--slate-3);font-style:normal;font-size:.85em}

/* ---------- read next: two, never three ---------- */
.next{
  margin-top:clamp(2.5rem,6vh,4rem);
  border-top:1px solid var(--line);
  padding-top:1.4rem;
}
.next h2{
  font-family:var(--font-sans);font-weight:400;
  font-size:.72rem;letter-spacing:.24em;text-transform:uppercase;color:var(--slate-3);
  margin-bottom:.4rem;
}
.next__pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(1.25rem,4vw,3rem)}
.next a{
  display:block;padding:1.4rem 0;text-decoration:none;color:inherit;
  border-bottom:1px solid var(--line-soft);
}
.next a span{
  display:block;font-size:.68rem;letter-spacing:.18em;text-transform:uppercase;
  color:var(--driftwood);margin-bottom:.5rem;
}
.next a h3{
  font-size:clamp(1.15rem,2vw,1.42rem);line-height:1.22;
  background-image:linear-gradient(var(--navy),var(--navy));
  background-repeat:no-repeat;background-position:0 94%;background-size:0% 1px;
  transition:background-size .42s var(--ease-out);display:inline;
}
.next a:hover h3,.next a:focus-visible h3{background-size:100% 1px}

/* ---------- footer ---------- */
.foot{
  margin-top:clamp(3rem,8vh,6rem);
  border-top:1px solid var(--line);
  padding:2rem var(--gutter) 3rem;
  background:var(--cream-soft);
}
.foot__in{max-width:1180px;margin:0 auto;display:flex;flex-wrap:wrap;gap:1rem 2.25rem;align-items:baseline}
.foot a{
  font-size:.78rem;letter-spacing:.1em;color:var(--slate-2);text-decoration:none;
  min-height:44px;display:inline-flex;align-items:center;
  background-image:linear-gradient(var(--navy),var(--navy));
  background-repeat:no-repeat;background-position:0 62%;background-size:0% 1px;
  transition:background-size .42s var(--ease-out),color .42s var(--ease-out);
}
.foot a:hover,.foot a:focus-visible{background-size:100% 1px;color:var(--navy)}
.foot__legal{
  flex-basis:100%;font-size:.72rem;line-height:1.6;color:var(--slate-3);
  max-width:52em;margin-top:.5rem;
}

/* ---------- the one orchestrated moment ---------- */
.js .rise{opacity:0;transform:translateY(18px);filter:blur(6px)}
.js .rise.in{
  opacity:1;transform:none;filter:blur(0);
  transition:opacity 900ms var(--ease-fog),transform 900ms var(--ease-fog),filter 900ms var(--ease-fog);
}

:focus-visible{outline:2px solid var(--navy);outline-offset:3px}

@media (max-width:820px){
  .opener__grid{grid-template-columns:1fr;gap:1.5rem;align-items:start}
  .entry{grid-template-columns:1fr;gap:.4rem}
  .entry__meta{padding-top:0}
  .entry__place{display:inline;color:var(--driftwood)}
  .entry__place::before{content:" · ";color:var(--slate-3)}
  .next__pair{grid-template-columns:1fr;gap:0}
  .standfirst{grid-template-columns:1fr}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  .js .rise{opacity:1;transform:none;filter:none}
  .js .mast__rule{transform:scaleX(1)}
}

@media print{
  .mast__back,.next,.foot__links{display:none}
  body{background:#fff}
}
