/* =====================================================================
   _scher.css  ·  MOCK ONLY, 12 October 2026

   Paula Scher's course notes applied to Open Nest. This is an OVERRIDE
   sheet. It changes nothing on the live pages. Delete the one <link> that
   loads it and the page is exactly as it was.

   WHAT SHE ACTUALLY TEACHES, and what each rule below is doing:

   1. "Words have meaning, type has spirit." Illustrate WITH type. So the
      headline stops being a label on top of a page and becomes the thing
      you look at.
   2. "Designs that play with scale never go out of style." The whole method
      is big against small. Not big. Big NEXT TO small.
   3. "If two things are big, there has to be more white space around it, or
      something has to crop in a dramatic way." This is the discipline that
      stops it looking shouty, and it is the rule most people skip.
   4. Editorial design is pacing. "What journey do you want the reader to go
      on? What is the pacing of the information and visuals?" So the sections
      alternate heavy and quiet instead of all sitting at one volume.
   5. Hierarchy gets solved with bars that hold things, the way she fixed
      The New School.

   🚨 NOT ONE NEW COLOUR. Every value here is already a token on her pages.
   Scher is about type and scale, and the last two visual experiments were
   rejected for adding colours. Keep it that way.
   ===================================================================== */

/* ---------- 1. THE HEADLINE IS THE IMAGE ----------
   Was clamp(40px, 5.5vw, 64px) capped at 28 characters a line, which makes
   it read as a caption. Off the cap, up the size, tighten the tracking and
   close the leading so the words lock into a block. */
.hero h1 {
  font-size: clamp(44px, 9.2vw, 132px) !important;
  max-width: 15ch !important;
  line-height: .88 !important;
  letter-spacing: -.045em !important;
  font-weight: 500 !important;
  text-wrap: balance;
}
/* the second half of the sentence drops to a whisper. That gap IS the design */
/* Both pages put the second half of the headline in an <em>, but they are
   doing different jobs, so they cannot take the same treatment:

     home   <em>without hiring a stylist.</em>        subordinate, shrink it
     sales  <em><span class="s hl">Pretty later.</span></em>   half the slogan,
                                                      and it carries a highlight

   Shrinking both made "Pretty later." tiny next to "Order first.", which is
   wrong: on the sales page they are two halves of one line, not a headline
   and a footnote. The highlight is what tells them apart. */
.hero h1 em {
  font-style: normal;
  display: block;
  /* 🔧 Plain display:block stretched the highlight the full width of the page.
     fit-content breaks the line but keeps the box hugging the words. Anything
     you turn into a block needs this if it might have a background. */
  width: fit-content;
  margin-top: .3em;
}
/* only the one without a highlight drops to a whisper */
.hero h1 em:not(:has(.hl)) {
  font-size: .42em;
  letter-spacing: -.01em;
  line-height: 1.1;
  margin-top: .32em;
  color: var(--peach);
}

/* ---------- 2. MORE AIR AROUND THE BIG THING ----------
   Her rule, word for word. If it is big it needs room, or it reads as noise. */
.hero { padding-top: clamp(48px, 7vw, 104px) !important;
        padding-bottom: clamp(48px, 7vw, 104px) !important; }
.hero p { max-width: 44ch; }

/* ---------- 2b. THE SCRIBBLE HAD TO COME OUT OF THE HEADLINE ----------
   🚨 It is absolutely positioned at a fixed top, which worked when the
   headline was 64px. At 132px the headline grew down into it and the words
   ran straight through "21 days,".

   Pinning it to a new fixed top would only work at one window width, because
   the headline wraps to a different number of lines as the window changes.
   So it comes out of absolute positioning and sits in the flow instead,
   pushed right. Now it cannot collide at any width, which is the only version
   worth shipping. */
.hero .hero-scrib {
  position: static !important;
  display: block;
  width: fit-content;
  margin: .25em 0 .1em auto;
  padding-right: clamp(0px, 4vw, 90px);
}

/* ---------- 2c. PAGES WITHOUT A HERO ----------
   🚨 Terms, for agents and welcome have no .hero, so the headline rule above
   never reached them and only the h2 rule did. Their section heads came out
   BIGGER than their page headline, 58 against 48 and 46, which is backwards.
   This gives every other h1 a floor so it always outranks its own h2.
   .hero h1 is more specific, so the marketing pages are untouched. */
h1 {
  font-size: clamp(38px, 6vw, 84px);
  line-height: .92;
  letter-spacing: -.04em;
  text-wrap: balance;
}

/* ---------- 3. SECTION HEADS, SAME TREATMENT ----------
   One size up and off the 18ch cap, so a section opens instead of labelling. */
h2 {
  /* 🚨 TWO SIZES, NOT ONE. 13 Oct, together.
     76px works where the page is built for it: the home and sales pages are
     designed around big type, their headings are statements and there is
     room around them. On Terms, Welcome and For Agents the headings are
     short utility labels on a page you READ, and 76px is just loud.
     One size for the whole site was the wrong answer.
     This is Scher's own pacing rule: alternate heavy and quiet rather than
     running everything at one volume.
     Selling pages keep 76. Reading pages drop to 58, below. */
  font-size: clamp(32px, 5.6vw, 76px) !important;
  max-width: 18ch !important;
  line-height: .92 !important;
  letter-spacing: -.04em !important;
  /* 🔧 Without this, "Steal the Photo Kill List" broke as Kill / List. in the
     centred band. Big type punishes a bad break far harder than small type
     does, so every heading that got bigger needs the wrap balanced. */
  text-wrap: balance;
}
/* a centred heading has to be allowed to centre, or the max-width pins it left */
[style*="text-align:center"] h2, .ctr h2, .mid h2,
section[class*="choc"] h2, section[class*="peach"] h2 { margin-inline: auto; }


/* the reading pages. They carry .readmode on <body>, set per page, so the
   split is explicit rather than guessed from what a page happens to contain. */
body.readmode h2 { font-size: clamp(28px, 3.9vw, 58px) !important; }

/* ---------- 4. PACING ----------
   Was a flat 76px between every section, which is one volume all the way
   down. Alternating it gives the page a rhythm: hold, breathe, hold. */
section { padding: 72px 0 !important; }
section.choc, section.peach { padding: clamp(80px, 11vw, 150px) 0 !important; }
section + section.pale { padding-top: 56px !important; }

/* ---------- 5. THE BAR, FOR HIERARCHY ----------
   Her New School fix. A rule that holds the small type and tells you a new
   movement has started. Cheaper and clearer than another heading size. */
.lbl {
  display: block;
  border-top: 3px solid currentColor;
  padding-top: 10px;
  margin-bottom: 22px;
  letter-spacing: .26em !important;
  font-size: 12px !important;
}

/* ---------- 6. THE SMALL TYPE GETS SMALLER ----------
   Scale is a relationship. Making the headline big does nothing unless the
   quiet type actually stays quiet. */
.seenin-k { letter-spacing: .34em !important; font-size: 11.5px !important; }
.btn-note, .fnote, .pcap { font-size: 14px !important; line-height: 1.5 !important; }

/* ---------- 7. NO RULE ON .price ----------
   🚨 There was one here and it wrecked the page. Two lessons, both worth
   keeping:

   1. I styled a class by its NAME without opening it. `.price` is not a price
      on either page. On the home page it is a two column layout block holding
      a paragraph and a button. On the sales page it wraps the whole offer,
      prose included. Read the markup, never the class name.

   2. LETTER-SPACING SET IN em ON A CONTAINER POISONS EVERY CHILD. It computes
      to a pixel value against the container's own font-size and then inherits.
      -.045em looks harmless until the container is 62px, at which point every
      paragraph inside inherits -2.81px and the words collapse into each other.
      If a big-type rule can contain prose, set the size and tracking on the
      text element itself, not on the wrapper. */

/* ---------- 8. LEAVE THE HANDWRITING ALONE ----------
   The scribble is the one human mark on the page and it is hers. Scher would
   not touch it either, it is the thing that is not a system. */

@media (max-width: 760px) {
  .hero h1 { font-size: clamp(38px, 12vw, 60px) !important; max-width: 13ch !important; }
  h2 { font-size: clamp(28px, 9vw, 42px) !important; }
}


/* ---------------------------------------------------------------
   THE FAQ, 14 Oct 2026. Her ask: it was left out of the new type.

   The page runs 118px headline, 72px section headings, then the FAQ
   dropped to 26. That is not big-against-small, that is the page
   forgetting itself halfway down.

   🚨 It does NOT go to 72. Fourteen questions stacked at that size is a
   wall, and rule 3 of the method is that two big things need air. The
   FAQ is a LIST, so it takes the list size: 36, which is clearly part of
   the same family and still reads as somewhere to skim.

   The plus sign grows with it, or it floats. */
.faq summary{font-size:clamp(26px,2.9vw,36px);line-height:1.12;letter-spacing:-.035em}
.faq summary:after{font-size:clamp(24px,2.4vw,30px)}
.faq details{padding:30px 0}
@media(max-width:760px){
  .faq summary{font-size:26px}
  .faq summary:after{font-size:24px}
}
