/* PHNTM One website, studio look (owner, 2026-11-28: new photographs; "build the website around the photos so they
   fit with everything and look like they are meant to be there"; chose the light studio look). Loaded LAST, after
   bright-20261120.css, on every page that carries the shell (scripts/apply-shell.py). It replaces the Midnight sheet.

   The ground is the colour of the photographs' own backdrop after the touch-up (median edge colour of the 16 shots,
   #e9e6e0), so a photo can sit on the page with feathered edges and read as the same room.
   Contrast (WCAG 2.x) on the darkest light surface used here (--sand #dfdad2): text #1b1e21 13.5, muted #474d53 6.6,
   accent #17664c 5.0, ember #96330f 5.6; white on the accent button 6.9. Dark band #1d1e20: #f2f0eb 15.6,
   #bdb8af 8.6, #86d9b8 9.9. Headlines are Instrument Serif (SIL Open Font License 1.1, self-hosted in /fonts). */

@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/instrument-serif-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Serif"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("/fonts/instrument-serif-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF;
}

:root, .ph-root {
  --cream: #e9e6e0; --sand: #dfdad2; --sage: #dde3dc; --card: #f4f2ee; --white: #fbfaf8;
  --ink: #e9e6e0; --ink2: #dfdad2; --panel: #f4f2ee; --panel2: #ece9e3;
  --edge: #d3cdc3; --edge2: #c2baad; --line: #9a9184; --hairline: #1b1e211a;
  --text: #1b1e21; --muted: #474d53; --faint: #50565c;
  --phosphor: #17664c; --phosphor-dim: #17664c; --phosphor-hover: #0f4f3a; --on-phosphor: #ffffff;
  --st-dark: #1d1e20; --st-dark-2: #27292c; --st-on-dark: #f2f0eb; --st-on-dark-muted: #bdb8af; --st-on-dark-accent: #86d9b8;
  --display: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --st-ease: cubic-bezier(.16, 1, .3, 1);
  --shadow-soft: 0 1px 2px rgba(40, 34, 26, .06), 0 10px 28px rgba(40, 34, 26, .08);
  --shadow-pop: 0 2px 6px rgba(40, 34, 26, .07), 0 22px 50px rgba(40, 34, 26, .13);
  color-scheme: light;
}
html, body { background: var(--cream); color: var(--text); }
::selection { background: #c9e3d6; color: #1b1e21; }
input, textarea, select { caret-color: var(--phosphor); }
html { scrollbar-color: #b9b1a4 var(--cream); }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: #c4bcaf; border-radius: 999px; border: 3px solid var(--cream); }
::-webkit-scrollbar-thumb:hover { background: #a89f91; }
a { text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--phosphor); outline-offset: 3px; }
.ph-hero, .product-hero, .home-store .product-hero { background: var(--cream) !important; }

/* headlines: the serif carries the voice; never faux-bold it */
h1, h2, .ph-h2, .ph-statement, .ph-local__title, .ph-frame__name, .flagship-section h2, .store-section h2,
:is(.ph-root, #ph) :is(h1, h2, .ph-h2, .ph-statement, .ph-local__title, .ph-frame__name) {
  font-family: var(--display); font-weight: 400; font-synthesis: none; letter-spacing: -0.012em; text-wrap: balance;
}
h1 b, h2 b, h1 strong, h2 strong { font-weight: 400; }
.ph-h2, .flagship-section h2, .store-section > .wrap > h2 { font-size: clamp(38px, 4.6vw, 66px); line-height: 1.02; }
p.ph-statement { font-family: var(--sans); font-size: clamp(19px, 1.6vw, 23px); line-height: 1.5; letter-spacing: 0; }

/* buttons */
.ph-btn, .button { background: var(--phosphor); color: var(--on-phosphor); border-color: transparent;
  box-shadow: 0 1px 2px rgba(18, 60, 45, .18), 0 8px 20px rgba(18, 60, 45, .14);
  transition: background-color .2s var(--st-ease), transform .2s var(--st-ease), box-shadow .2s var(--st-ease); }
.ph-btn:hover, .button:hover { background: var(--phosphor-hover); color: var(--on-phosphor); transform: translateY(-1px); }
.ph-btn:active, .button:active { transform: translateY(0); }
.ph-btn--ghost, button.ph-btn#watch-it { background: transparent; color: var(--text); border: 1px solid var(--edge2); box-shadow: none; }
button.ph-btn#watch-it:hover { background: var(--card); color: var(--text); }

/* ---------- photographs ---------- */
/* A studio photo is printed onto the page. The web copies have their white point on the backdrop (a Levels step), and
   multiply blending turns that white into whatever surface the photo sits on, so the black unit and its real shadows
   stand on the page instead of inside a lighter rectangle. Edges are feathered so the sweep's corner fades out. */
.st-photo { margin: 0; position: relative; }
.st-photo img, .st-band img, .st-strip__row img, .st-gallery img { mix-blend-mode: multiply; }
.st-photo img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-composite: intersect; }
.st-photo figcaption, .st-cap { margin-top: 10px; font: 400 13.5px/1.5 var(--sans); color: var(--muted); max-width: 62ch; }
.st-photo--fill { overflow: hidden; }
.st-photo--fill img { height: 100%; object-fit: cover; }

/* ---------- homepage ---------- */
.st-hero { padding: clamp(28px, 5vw, 64px) 0 clamp(36px, 5vw, 72px) !important; }
.st-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.st-hero__copy { display: grid; gap: 18px; align-content: center; }
.st-hero .holiday-price { margin: 0; font: 600 14px/1.45 var(--sans); color: var(--ember); max-width: 46ch; }
:is(.ph-root, #ph).st-hero .ph-frame__name, .home-store #hero.st-hero .ph-frame__name { white-space: normal; font-family: var(--display); font-weight: 400; font-size: clamp(54px, 7.2vw, 96px); line-height: .94; letter-spacing: -0.02em; margin: 0; max-width: 11ch; }
.st-hero .ph-lede { margin: 0; font-size: clamp(17px, 1.35vw, 19px); line-height: 1.55; color: var(--muted); max-width: 58ch; }
.st-hero .ph-hero__price { margin: 0; font-size: 15px; color: var(--muted); }
.st-hero .ph-hero__price strong { font: 400 30px/1 var(--display); color: var(--text); margin-right: 6px; }
.st-hero .ph-hero__price s, .st-hero .holiday-price s { color: var(--faint); }
.st-hero .rd-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 4px 0 0; }
.st-hero .ph-hero__sample { margin: 0; font-size: 14px; color: var(--muted); }
.st-hero__photo { align-self: stretch; display: grid; align-content: center; }
.st-hero__photo img { max-height: min(78vh, 820px); width: auto; max-width: 100%; margin: 0 auto; }
.st-hero__more { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 44px); align-items: start; margin-top: clamp(8px, 2vw, 24px); padding-top: clamp(20px, 3vw, 36px); border-top: 1px solid var(--hairline); }
.st-hero__more .rd-video { margin: 0; }
.st-hero__more .rd-video video { border-radius: 14px; box-shadow: var(--shadow-pop); width: 100%; height: auto; display: block; background: #101b25; }
.st-hero__more .rd-video figcaption { margin-top: 10px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.st-hero__more .ph-hero__notice { margin: 0; border: 1px solid var(--edge); background: var(--card); border-radius: 14px; padding: 18px 20px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.st-hero__more .ph-hero__notice strong, .st-hero__more .ph-hero__notice b { color: var(--text); }

/* three reasons, each led by its own photograph */
.st-three { padding: clamp(36px, 5vw, 72px) 0; }
.st-three__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 40px); }
.st-reason { display: grid; grid-template-rows: auto 1fr; gap: 14px; color: inherit; text-decoration: none; }
.st-reason .st-photo { aspect-ratio: 4 / 3.4; }
.st-reason .st-photo img { transition: transform .9s var(--st-ease); }
.st-reason:hover .st-photo img { transform: scale(1.025); }
.st-reason h2 { font-size: clamp(30px, 2.8vw, 42px); line-height: 1.02; margin: 0 0 8px; }
.st-reason p { margin: 0 0 10px; color: var(--muted); font-size: 16px; line-height: 1.55; max-width: 44ch; }
.st-reason .st-more { font-weight: 600; font-size: 15px; color: var(--phosphor); border-bottom: 1px solid currentColor; }
.st-reason:hover .st-more { color: var(--phosphor-hover); }

/* choose: the One card carries its photo */
#choose .ph-wrap > p:first-of-type { max-width: 70ch; color: var(--muted); }
.choose-card { background: var(--card); border: 1px solid var(--edge); border-radius: 18px; box-shadow: var(--shadow-soft); }
.choose-card .st-photo { margin: -6px -6px 14px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; }
.choose-card .st-photo img { -webkit-mask-image: none; mask-image: none; height: 100%; object-fit: cover; object-position: 50% 62%; }
.choose-card h3 { font: 400 34px/1.05 var(--display); }

/* full-bleed photo band between sections */
.st-band { margin: 0; position: relative; }
.st-band img { display: block; width: min(1180px, 94vw); height: auto; margin: 0 auto;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 10%, #000 90%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 9%, #000 91%, transparent 100%);
  mask-composite: intersect; }
.st-band figcaption { width: min(1180px, calc(100% - 44px)); margin: -18px auto 0; text-align: center; font-size: 13.5px; color: var(--muted); }

/* two-column story sections with a photo beside the copy */
.st-split { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(28px, 4.5vw, 72px); align-items: start; }
.st-split--photo-left { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
.st-split--photo-left > .st-photo { order: -1; }
.st-split > .st-photo { position: sticky; top: 110px; }
/* sticky makes the figure its own layer, so the multiply blend needs the section colour inside it */
.st-split > .st-photo { background-color: var(--cream); }
#flagship .st-split > .st-photo { background-color: var(--sand); }

/* offline band: light, photo-led (no longer a dark panel); resets the dark-band variables bright-20261120.css sets here */
#offline.ph-local.ph-root {
  --ink: #e9e6e0; --ink2: #dfdad2; --panel: #f4f2ee; --panel2: #ece9e3; --edge: #d3cdc3; --edge2: #c2baad; --line: #9a9184;
  --hairline: #1b1e211a; --text: #1b1e21; --muted: #474d53; --faint: #50565c;
  --phosphor: #17664c; --phosphor-dim: #17664c; --phosphor-hover: #0f4f3a; --on-phosphor: #ffffff;
  color-scheme: light; background: var(--cream) !important; color: var(--text); }
#offline.ph-local { background: var(--cream) !important; color: var(--text); }
#offline.ph-local::before { display: none; }
#offline.ph-local .ph-local__title, :is(.ph-root, #ph)#offline .ph-local__title { font-size: clamp(44px, 5.6vw, 84px); line-height: .98; color: var(--text); }
#offline .ph-local__title span { color: var(--phosphor); display: block; }
#offline .ph-local__lede { color: var(--muted); max-width: 62ch; }
#offline .ph-local__grid { grid-template-columns: 1fr; gap: 0; }
#offline .ph-local__grid > li { background: transparent; border: 0; border-top: 1px solid var(--hairline); border-radius: 0; box-shadow: none; padding: 18px 0; }
#offline .ph-local__grid strong { font: 400 26px/1.15 var(--display); color: var(--text); }
#offline .ph-local__grid p { color: var(--muted); }
#offline .ph-kicker { display: none; }
#offline .ph-link { color: var(--text); }

/* Teacher's Assistant */
#flagship.flagship-section { background: var(--sand); }
#flagship .flagship-lead { font-size: clamp(19px, 1.6vw, 23px); line-height: 1.45; color: var(--text); max-width: 46ch; }
#flagship h2 { font-size: clamp(46px, 6vw, 88px); line-height: .96; }
#flagship .flagship-figures > div { background: var(--card); border: 1px solid var(--edge); }
#flagship .flagship-figures dt { font: 400 clamp(44px, 4.4vw, 60px)/1 var(--display); color: var(--phosphor); }
#flagship .st-photo { top: 96px; }

/* Linux */
#linux .ph-h2 { font-size: clamp(44px, 5.4vw, 80px); line-height: .98; }

/* privacy statement: the one dark band, the colour of the device itself */
#pillars.ph-section { background: var(--st-dark); color: var(--st-on-dark); }
#pillars .ph-statement, #pillars h2, #pillars h3 { color: var(--st-on-dark); }
#pillars h2.ph-statement { font-size: clamp(44px, 5.6vw, 84px); line-height: .98; }
#pillars p, #pillars li { color: var(--st-on-dark-muted); }
#pillars .ph-tile { background: var(--st-dark-2); border-color: #3a3d41; box-shadow: none; }
#pillars .ph-tile p { color: var(--st-on-dark-muted); }
#pillars .ph-kicker, #pillars .ph-overline { color: var(--st-on-dark-accent); }
#pillars a, #pillars .ph-link { color: var(--st-on-dark); border-color: #6b6f74; }
#pillars a:hover, #pillars .ph-link:hover { color: var(--st-on-dark-accent); border-color: var(--st-on-dark-accent); }
#pillars ::selection { background: #2f5c4c; color: #fff; }
#pillars .flagship-points li::marker, #pillars .flagship-points li::before { color: var(--st-on-dark-accent); }

/* the photo strip that leads to /gallery */
.st-strip { padding: clamp(40px, 5vw, 76px) 0; }
.st-strip__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 22px; }
.st-strip__head h2 { margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1; }
.st-strip__head p { margin: 0; color: var(--muted); max-width: 52ch; }
.st-strip__row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 1.3fr; gap: 12px; align-items: stretch; }
.st-strip__row a { display: block; border-radius: 12px; overflow: hidden; background: var(--card); aspect-ratio: 3 / 4; }
.st-strip__row a:nth-child(1), .st-strip__row a:nth-child(5) { aspect-ratio: auto; }
.st-strip__row img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .9s var(--st-ease); }
.st-strip__row a:hover img { transform: scale(1.04); }

/* closing order block */
#close .st-split { align-items: center; }
#close .ph-h2 { font-size: clamp(48px, 6vw, 88px); line-height: .96; }

/* the facts strip under the hero */
.product-facts { background: var(--sand); border-top: 1px solid var(--edge); border-bottom: 1px solid var(--edge); }
.product-facts strong { color: var(--phosphor); }

/* one authored moment: the hero photograph settles in once, on load */
@media (prefers-reduced-motion: no-preference) {
  .st-hero__photo img { animation: st-settle 1.4s var(--st-ease) both; }
  @keyframes st-settle { from { clip-path: inset(6% 4% 0 4%); transform: translateY(18px); filter: blur(5px); } to { clip-path: inset(0 0 0 0); transform: none; filter: none; } }
}

@media (max-width: 960px) {
  .st-hero__grid, .st-hero__more, .st-split, .st-split--photo-left { grid-template-columns: 1fr; }
  .st-split--photo-left > .st-photo { order: 0; }
  .st-split > .st-photo { position: static; }
  .st-hero__photo img { max-height: 62vh; }
  .st-three__grid { grid-template-columns: 1fr; gap: 34px; }
  .st-reason .st-photo { aspect-ratio: 16 / 11; }
  .st-strip__row { grid-template-columns: repeat(5, 62vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .st-strip__row a { scroll-snap-align: start; aspect-ratio: 3 / 4 !important; }
}
@media (max-width: 560px) {
  :is(.ph-root, #ph).st-hero .ph-frame__name, .home-store #hero.st-hero .ph-frame__name { font-size: clamp(46px, 13vw, 60px); }
}

/* ---------- photo pages (gallery, specs, press) ---------- */
.st-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 16px; align-items: start; }
.st-gallery figure { margin: 0; background: var(--card); border: 1px solid var(--edge); border-radius: 14px; overflow: hidden; }
.st-gallery a { display: block; background: var(--card); aspect-ratio: 4 / 3; overflow: hidden; }
.st-gallery a img { height: 100%; object-fit: cover; }
.st-gallery img { display: block; width: 100%; height: auto; transition: transform .9s var(--st-ease), opacity .3s; }
.st-gallery a:hover img { transform: scale(1.02); }
.st-gallery figcaption { padding: 10px 14px 13px; font-size: 14px; line-height: 1.45; color: var(--muted); }
.st-gallery figcaption b { display: block; color: var(--text); font-weight: 600; }
.st-lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.st-lightbox::backdrop { background: rgba(233, 230, 224, .96); }
.st-lightbox__inner { position: relative; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 56px 64px 20px; }
.st-lightbox img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; }
.st-lightbox p { margin: 12px 0 0; color: var(--muted); font-size: 14.5px; text-align: center; max-width: 70ch; }
.st-lightbox button { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--edge2); background: var(--card); color: var(--text); font: 500 22px/1 var(--sans); cursor: pointer; display: grid; place-items: center; }
.st-lightbox button:hover { background: #fff; }
.st-lightbox [data-close] { top: 18px; right: 18px; transform: none; }
.st-lightbox [data-prev] { left: 10px; }
.st-lightbox [data-next] { right: 10px; }
.st-lightbox svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.st-add { margin-top: 28px; padding: 22px 24px; border: 1px dashed var(--edge2); border-radius: 14px; color: var(--muted); font-size: 14.5px; }

/* ---------- precedence fixes (the older sheets style these through :is(.ph-root, #ph), an id-weight selector) ---------- */
#pillars.ph-section.ph-root, :is(.ph-root, #ph)#pillars {
  --text: #f2f0eb; --muted: #bdb8af; --faint: #b0aba2; --phosphor: #86d9b8; --phosphor-hover: #a9e8cf; --on-phosphor: #10241c;
  --card: #27292c; --panel: #27292c; --edge: #3a3d41; --edge2: #4a4e53; --line: #6b6f74; --hairline: #ffffff17;
  color-scheme: dark; background: var(--st-dark); color: var(--text); }
:is(.ph-root, #ph)#pillars .ph-tile h3, #pillars .ph-tile .ph-h3 { color: var(--st-on-dark); }
:is(.ph-root, #ph) :is(#pillars, #offline) .ph-kicker { display: none; }
:is(.ph-root, #ph) .ph-footer h2, .ph-footer h2 { font-family: var(--sans); font-weight: 600; letter-spacing: .06em; }
.home-store .st-hero .rd-video { background: transparent; border-radius: 0; overflow: visible; margin: 0; }
.home-store .st-hero .rd-video figcaption { background: transparent; color: var(--muted); padding: 0; }
.home-store .st-hero .rd-video figcaption a { color: var(--text); }
:is(.ph-root, #ph) .st-hero__more .ph-hero__notice, .st-hero__more .ph-hero__notice { grid-column: auto; border-top: 1px solid var(--edge); }
#pillars .ph-kicker, #offline .ph-kicker { display: none !important; }

/* /gallery */
.st-gallery-intro { margin-bottom: clamp(24px, 3vw, 40px); align-items: end; }
.st-gallery-intro .ph-h2 { font-size: clamp(46px, 6vw, 88px); line-height: .96; margin: 0 0 14px; }
.st-gallery-facts p { margin: 0 0 14px; color: var(--muted); font-size: 15px; line-height: 1.55; }
.st-gallery-facts b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

/* /order: the older order sheet frames its photo (dark ground, rounded corners); the studio photo prints on the page instead */
.order-intro .st-photo img { mix-blend-mode: multiply !important; background: none !important; border-radius: 0 !important; box-shadow: none !important; }
/* /how-it-works: the hero wrapper is its own layer (z-index), so the photo needs the page colour under it to blend */
.sh-photo .hero-shot.st-photo { display: block; background-color: var(--cream); }

/* A photo taken in a room (gallery "scene"): its own colours, framed like a print, not blended onto the page */
.st-gallery figure.st-scene img { mix-blend-mode: normal; }
.st-gallery figure.st-scene a { background: var(--st-dark); border-radius: 4px; }
