/* About on a phone. The page's phone layout lives in about.html beside the desktop one (.abm);
   this file lays it out for phones and, at the end, sizes it for computers.
   Same type as the phone Home, Work and project pages: serif italic for the lines,
   Founder's Hand for notes, 12px sans for the rest. Two gaps: about 114px between parts, 52px between writing. */
.abm{display:block}
/* The earlier desktop layout is retired. Its page still runs for the light and dark switch, which stays on screen on a computer. */
#app .se-root{min-height:0 !important}
#app .se-root > header,#app .se-root > main{display:none !important}
@media (hover: none), (max-width: 700px){#app{display:none !important}body{background:#F6F2EE !important}}
.abm{--bg:#F6F2EE;--ink:#2B2825;--muted:#6E6862;--t-a:#D8D1C8;--gap:clamp(88px,15svh,128px);min-height:100svh;background:var(--bg);color:var(--ink);font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;font-weight:400;font-size:12px;line-height:1.7;letter-spacing:.04em;-webkit-font-smoothing:antialiased}
.abm,.abm *{box-sizing:border-box;cursor:auto}
@font-face{font-family:'SE Hand';src:url('fonts/founders-hand.woff2') format('woff2');font-display:swap}
@font-face{font-family:'SE Display';font-style:italic;src:url('fonts/eb-garamond-italic.woff2') format('woff2');font-display:swap}
.abm a{color:inherit;text-decoration:none}
.abm header{display:flex;justify-content:space-between;align-items:center;height:60px;padding:0 20px}
.abm header nav{display:flex;gap:22px;font-size:13px}
.abm header a{display:inline-flex;align-items:center;min-height:44px}
.abm .ser{font-family:'SE Display','Adobe Caslon Pro',Georgia,serif;font-style:italic;font-weight:400;letter-spacing:0;text-wrap:balance}
/* the ampersand used across the phone pages: upright, a little smaller than the italic around it */
.abm .amp{font-family:Georgia,'Times New Roman',serif;font-style:normal;font-size:.8em}
.abm .hand{font-family:'SE Hand','Helvetica Neue',sans-serif;font-size:14px;line-height:1.3;letter-spacing:.01em;font-feature-settings:'calt' 1,'liga' 1}
.abm main{text-align:center}
/* opener: one line, the portrait, and the wordmark set across its lower edge */
.abm .ab-open{padding:clamp(40px,8svh,72px) 20px 0}
.abm .ab-open h1{margin:0;font-size:clamp(38px,11.5vw,50px);line-height:1.04}
.abm .ab-open h1 span{display:block;overflow:hidden;padding:.1em .1em .28em;margin-bottom:-.3em}
.abm .ab-open h1 i{display:block;font-style:inherit;transform:translateY(110%);animation:abm-rise .7s cubic-bezier(.22,1,.36,1) forwards}
.abm .ab-open h1 span + span i{animation-delay:.08s}
@keyframes abm-rise{to{transform:none}}
.abm .ab-por{position:relative;width:62%;margin:36px auto 0}
.abm .ab-por img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;object-position:68% 50%;background:var(--t-a)}
.abm .ab-por .hand{position:absolute;top:50%;white-space:nowrap;color:var(--ink)}
.abm .ab-por .l{right:calc(100% + 22px);transform:translate(50%,-50%) rotate(-90deg)}
.abm .ab-por .r{left:calc(100% + 22px);transform:translate(-50%,-50%) rotate(90deg)}
.abm .ab-school{margin:32px auto 0;max-width:14.5em;font-size:22px;line-height:1.25}
.abm .ab-major{margin:10px auto 0;max-width:22em;color:var(--muted);text-wrap:balance}
/* writing */
.abm .ab-part{padding:var(--gap) 28px 0}
.abm .ab-part.follow{padding-top:52px}
.abm .ab-part > *{max-width:24em;margin-left:auto;margin-right:auto}
.abm .ab-state{margin:0;font-size:24px;line-height:1.25}
.abm .ab-part p{margin-top:0;margin-bottom:0;text-wrap:balance}
.abm .ab-part .hand{margin:0 auto 10px}
.abm .ab-prac p{margin:0}
/* a note in her own hand, between two parts of the page */
.abm .ab-part .ab-note{max-width:15em;font-family:'SE Hand','Helvetica Neue',sans-serif;font-size:17px;line-height:1.45;letter-spacing:.01em;font-feature-settings:'calt' 1,'liga' 1}
.abm .ab-list{list-style:none;margin:0 auto;padding:0;font-size:22px;line-height:1.45}
.abm .ab-prac{display:flex;flex-direction:column;gap:18px}
.abm .ab-prac span{display:block;color:var(--muted)}
/* where I have been lately: the title arrives first and holds near the top; then the photographs
   rise past it, fading in as they come, thinning while they cross the title, and fading out as they leave */
.abm .ab-peek{position:relative;margin-top:var(--gap);padding:0 20px}
.abm .ab-peek h2{position:sticky;top:18svh;margin:0;font-size:clamp(40px,12vw,52px);line-height:1.02;z-index:0}
.abm .ab-peek-photos{position:relative;z-index:1;margin-top:20svh;padding-bottom:2svh}
.abm .ab-ph{margin:0;position:relative;will-change:transform,opacity}
.abm .ab-ph div{background:var(--t-a)}
.abm .ab-ph img{display:block;width:100%;height:auto}
.abm .ab-ph figcaption{margin-top:6px;text-align:center;font-family:'SE Hand',sans-serif;font-size:12px;line-height:1.3;letter-spacing:.01em}
/* Instagram: one row that moves across the page by itself and can be dragged; every picture opens the profile */
.abm .ab-ig{margin-top:var(--gap)}
.abm .ab-ig-row{display:flex;gap:10px;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.abm .ab-ig-row::-webkit-scrollbar{display:none}
.abm .ab-ig-t{flex:0 0 auto;display:grid;place-items:center;height:56vw;aspect-ratio:4/5;background:var(--t-a) center/cover;color:var(--muted)}
.abm .ab-ig-t img{display:block;width:100%;height:100%;object-fit:cover}
.abm .ab-ig-h{margin:14px 0 0}
.abm .ab-ig-h a{display:inline-flex;align-items:center;min-height:44px}
/* closing */
.abm .ab-links{display:flex;flex-direction:column;align-items:center;font-size:13px}
.abm .ab-links a{display:inline-flex;align-items:center;min-height:36px}
.abm .ab-legal{padding:var(--gap) 20px calc(40px + env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;align-items:center;color:var(--muted)}
.abm .ab-legal a,.abm .ab-legal span{display:inline-flex;align-items:center;min-height:28px}
@media (prefers-reduced-motion:reduce){.abm .ab-open h1 i{animation:none;transform:none}}

/* ---- On a computer: the same page, sized for a wide screen ---- */
@media (hover: hover) and (min-width: 701px){
  .abm{--gap:clamp(120px,19vh,184px);font-size:13px;transition:background-color .4s ease,color .4s ease}
  body:has(.se-root[data-theme="dark"]) .abm{--bg:#2B2825;--ink:#F6F2EE;--muted:#A9A199;--t-a:#3A3632}
  .abm,.abm *{cursor:url("media/89ac5c4b79e9789dfbe5b5af1c8830e2.svg") 6 6, auto}
  body:has(.se-root[data-theme="dark"]) .abm,body:has(.se-root[data-theme="dark"]) .abm *{cursor:url("media/48827d502db921276eb0b1d67f03e8c9.svg") 6 6, auto}
  .abm header{height:auto;padding:20px clamp(16px,2vw,28px)}
  .abm header svg{height:50px !important}
  .abm .hand{font-size:17px}
  .abm .ab-open{padding-top:clamp(48px,8vh,96px)}
  .abm .ab-open h1{font-size:clamp(64px,7vw,116px);line-height:1}
  .abm .ab-por{width:min(360px,26vw);margin-top:48px}
  .abm .ab-por .l{right:calc(100% + 36px)}
  .abm .ab-por .r{left:calc(100% + 36px)}
  .abm .ab-school{margin-top:44px;max-width:17em;font-size:clamp(28px,2.5vw,38px);line-height:1.2}
  .abm .ab-part.follow{padding-top:68px}
  .abm .ab-part > *{max-width:34em}
  .abm .ab-part .ab-school{max-width:17em}
  .abm .ab-part .hand{margin-bottom:14px}
  .abm .ab-list{font-size:clamp(28px,2.5vw,38px);line-height:1.4;max-width:none}
  .abm .ab-part .ab-note{max-width:17em;font-size:22px}
  .abm .ab-peek{padding:0 clamp(16px,2vw,28px)}
  .abm .ab-peek h2{top:22vh;font-size:clamp(72px,8.5vw,140px);line-height:1}
  .abm .ab-peek-photos{width:min(1080px,100%);margin:26vh auto 0;padding-bottom:8vh}
  .abm .ab-ph figcaption{margin-top:8px;font-size:15px}
  .abm .ab-ph:nth-child(1){width:26% !important;margin-left:4% !important;margin-top:0 !important}
  .abm .ab-ph:nth-child(2){width:20% !important;margin-left:70% !important;margin-top:-220px !important}
  .abm .ab-ph:nth-child(3){width:24% !important;margin-left:38% !important;margin-top:60px !important}
  .abm .ab-ph:nth-child(4){width:22% !important;margin-left:74% !important;margin-top:-80px !important}
  .abm .ab-ph:nth-child(5){width:22% !important;margin-left:8% !important;margin-top:-260px !important}
  .abm .ab-ph:nth-child(6){width:26% !important;margin-left:46% !important;margin-top:40px !important}
  .abm .ab-ph:nth-child(7){width:20% !important;margin-left:16% !important;margin-top:-320px !important}
  .abm .ab-ph:nth-child(8){width:24% !important;margin-left:72% !important;margin-top:-60px !important}
  .abm .ab-ig-row{gap:16px}
  .abm .ab-ig-t{height:clamp(300px,48vh,520px)}
  .abm .ab-ig-h{margin-top:18px}
  .abm .ab-links a{min-height:32px}
  .abm .ab-legal{padding-bottom:64px}
}

/* ---- On a computer the page is not centred. Same two lines as the project pages: the page margin,
   where the title and the handwritten labels start, and one text line further in. ---- */
@media (hover: hover) and (min-width: 701px){
  .abm{--m:clamp(16px,2vw,28px);--col:clamp(150px,15vw,230px);--line:calc(var(--m) + var(--col))}
  .abm main{text-align:left}
  .abm .ab-open{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);grid-template-rows:auto 1fr;padding:clamp(72px,13vh,140px) var(--m) 0}
  .abm .ab-open h1{grid-column:1;grid-row:1}
  .abm .ab-por{grid-column:2;grid-row:1 / span 2;margin:0 0 0 64px;width:min(400px,28vw)}
  .abm .ab-school{grid-column:1;grid-row:2;align-self:end;margin:0;max-width:11.5em;padding-right:24px;text-wrap:pretty}
  .abm .ab-part{display:grid;grid-template-columns:var(--col) minmax(0,38em);align-items:baseline;padding-left:var(--m);padding-right:var(--m)}
  .abm .ab-part > *{grid-column:2;margin-left:0;margin-right:0}
  .abm .ab-part > .hand{grid-column:1;margin:0}
  .abm .ab-part p{text-wrap:pretty}
  .abm .ab-part .ab-note{max-width:17em}
  .abm .ab-prac{gap:20px}
  .abm .ab-peek h2{text-align:left}
  .abm .ab-ig-h{padding-left:var(--line)}
  .abm .ab-links{align-items:flex-start}
  .abm .ab-legal{align-items:flex-start;padding-left:var(--line)}
}

/* ---- On a computer: the opening is set from the left; from "Rooted in" down, the page is centred ---- */
@media (hover: hover) and (min-width: 701px){
  .abm main > section:nth-of-type(n+3){text-align:center}
  .abm main > .ab-part:nth-of-type(n+3){display:block}
  .abm main > .ab-part:nth-of-type(n+3) > *{margin-left:auto;margin-right:auto}
  .abm main > .ab-part:nth-of-type(n+3) > .hand{margin:0 auto 14px}
  .abm main > .ab-part:nth-of-type(n+3) p{text-wrap:balance}
  .abm .ab-peek h2{text-align:center}
  .abm .ab-ig-h{padding-left:0}
  .abm .ab-links{align-items:center}
  .abm .ab-legal{align-items:center;padding-left:20px}
}

/* ---- On a computer: the opening (title, study line, portrait) is one group, centred on the page as a
   whole; inside it the writing is set from the left. The paragraph after it starts on the group's left edge. ---- */
@media (hover: hover) and (min-width: 701px){
  .abm{--grp:min(1040px,calc(100% - 2 * var(--m)))}
  .abm .ab-open{width:var(--grp);margin:0 auto;padding-left:0;padding-right:0;grid-template-columns:minmax(0,1fr) auto;column-gap:0}
  .abm .ab-por{margin:0 44px 0 72px;width:min(400px,28vw)}
  .abm main > .ab-part.follow{display:block;width:var(--grp);margin:0 auto;padding-left:0;padding-right:0;text-align:left}
  .abm main > .ab-part.follow > *{margin-left:0;margin-right:0}
}

/* ---- On a computer: the copyright and the two policy links share one line at the foot of the page, spread evenly across it ---- */
@media (hover: hover) and (min-width: 701px){
  .abm .ab-legal{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));align-items:center;padding:var(--gap) 72px 28px var(--m)}
  .abm .ab-legal > *{justify-self:center}
  .abm .ab-legal > :first-child{justify-self:start}
  .abm .ab-legal > :last-child{justify-self:end}
}

/* "Rooted in": lines rise from behind a mask as the list scrolls into view (about-mobile.js adds the classes) */
.abm .ab-list.ab-rise li{overflow:hidden;padding:.08em .15em .28em;margin-bottom:-.3em}
.abm .ab-list.ab-rise li > span{display:block;transform:translateY(115%);transition:transform .7s cubic-bezier(.22,1,.36,1);transition-delay:calc(var(--i) * 80ms)}
.abm .ab-list.ab-in li > span{transform:none}

/* ---- On a computer: the title's first letter sits on the same edge as the lines under it
   (its mask adds a little room on each side, which is taken back here) ---- */
@media (hover: hover) and (min-width: 701px){
  .abm .ab-open h1 span{margin-left:-.1em}
}
@media (hover: hover) and (min-width: 701px){
  /* the paragraph under the opening is short enough to be balanced, so it cannot end on two stray words */
  .abm main > .ab-part.follow p{text-wrap:balance}
}

/* ---- The menu is the same on every page. The page you are in is underlined, as on Work. ---- */
.abm header nav{letter-spacing:.48px}
.abm header nav .se-ul{line-height:1.5}
.abm header nav a[aria-current="page"] .se-ul::after{transform:scaleX(1)}
@media (hover: hover) and (min-width: 701px){
  /* on a computer it sits exactly where it does on Home and Work, with the light and dark switch beside it */
  .abm header{position:relative}
  .abm header nav{position:absolute;top:0;right:68px;height:56px;align-items:center;gap:24px}
  #app .se-root > button[aria-label^="Switch to"]{position:absolute !important;top:6px !important;right:16px !important;bottom:auto !important;left:auto !important}
}
