@charset "UTF-8";

:root {
  color-scheme: dark;
  --paper: #111110;
  --ink: #f1efe9;
  --muted: #a19e96;
  --accent: #f26b56;
  --hairline: #343330;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 280px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--paper); }

.page {
  width: min(100% - 96px, 1440px);
  min-height: 100svh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 100px;
  gap: 20px;
}

.signature {
  font-size: 22px;
  letter-spacing: -.025em;
  text-decoration: none;
  line-height: 1;
}
.signature span { color: var(--accent); }
.eyebrow, .section-label, .footer {
  font-family: "Courier New", Courier, monospace;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .075em;
}
.eyebrow { display: flex; align-items: center; gap: 9px; text-transform: uppercase; margin: 0; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

main { width: 100%; padding: 22px 0 50px; margin: auto 0; }
.collection { width: 100%; }
.section-label { text-align: center; text-transform: uppercase; color: var(--muted); margin: 0 0 21px; }
.section-label > span { color: var(--accent); margin-right: 10px; }
ul { list-style: none; padding: 0; margin: 0; }

.y-list { position: relative; width: min(100%, 860px); margin: 0 auto; }
.footer a:focus-visible, .footer button:focus-visible { outline: 1px solid var(--accent); outline-offset: 4px; }

.product {
  border: 0;
  background: none;
  padding: 0;
  text-decoration: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 2px;
  position: relative;
}
.y-row {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-size: clamp(34px, 5.3vw, 74px);
  line-height: 1.17;
  font-weight: 400;
  letter-spacing: -.025em;
  min-height: 44px;
  overflow: visible;
}
.y-product {
  display: inline-grid;
  grid-template-columns: repeat(3, max-content);
  column-gap: .04em;
  align-items: baseline;
  flex: 0 0 auto;
  width: max-content;
  min-height: inherit;
  font: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
  padding-inline-end: .6em;
  margin-inline-end: -.6em;
}
.y-balance { flex: 0 0 auto; visibility: hidden; pointer-events: none; user-select: none; white-space: pre; }
.prefix { justify-self: end; }
.letter { color: var(--accent); position: relative; letter-spacing: 0; background: transparent; }
.suffix { justify-self: start; align-self: start; position: relative; }
.launch {
  display: inline-block;
  position: absolute;
  font-size: .28em;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1;
  color: var(--accent);
  margin: .9em 0 0 .75em;
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity 180ms, transform 180ms;
}
.prefix, .suffix, .product-name { transition: color 180ms; }
.product:hover .prefix, .product:hover .suffix, .product:hover .product-name { color: var(--accent); }
.product:hover .launch, .product:focus-visible .launch { opacity: 1; transform: translate(0, 0); }
.product:focus-visible, .signature:focus-visible { outline: 1px solid var(--accent); outline-offset: 5px; }

.section-break { display: flex; justify-content: center; color: var(--muted); margin: 28px 0 29px; }
.section-break span { font-size: 17px; font-weight: 300; line-height: 1; }
.more-collection .section-label { margin-bottom: 13px; }
.more-list { display: flex; flex-direction: column; align-items: center; }
.portfolio-groups { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; width: min(100%, 1320px); margin: 0 auto; }
.more-product {
  display: block;
  font-size: clamp(27px, 2.6vw, 36px);
  line-height: 1.16;
  min-height: 44px;
  padding: 1px 8px;
  letter-spacing: -.025em;
  white-space: nowrap;
}
.more-product .launch { margin-top: .65em; font-size: .4em; }
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 62px;
  gap: 20px;
  border-top: 1px solid var(--hairline);
  color: var(--muted);
  letter-spacing: .025em;
}
.footer a { text-decoration: none; }
.footer a:hover, .footer button:hover { color: var(--ink); }
.owner-link { display: inline-flex; align-items: center; gap: 13px; min-height: 44px; }
.footer nav { display: flex; align-items: center; gap: 25px; }
.footer nav a, .footer nav button { display: flex; align-items: center; min-height: 44px; }
.footer button { border: 0; padding: 0; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.footer-mark { color: var(--accent); font-size: 18px; }
.notice {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translate(-50%, 12px);
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 13px 19px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 3px;
  box-shadow: 0 4px 20px #25252112;
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 180ms, transform 180ms;
  z-index: 10;
}
.notice.is-visible { opacity: 1; transform: translate(-50%, 0); }
.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; }
.noscript-note { text-align: center; font-size: 20px; line-height: 1.8; }

@media (min-width: 700px) and (max-height: 900px) {
  .masthead { min-height: 78px; }
  main { padding-top: 10px; padding-bottom: 20px; }
  .y-row { font-size: clamp(42px, 4.5vw, 54px); }
  .more-product { font-size: 29px; line-height: 1.13; min-height: 36px; }
  .section-break { margin-top: 24px; margin-bottom: 16px; }
  .section-label { margin-bottom: 15px; }
}

@media (max-width: 849px) {
  .footer { flex-direction: column; gap: 0; padding: 10px 0; }
  .footer nav { gap: 20px; justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 849px) { .portfolio-groups { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 38px; } }

@media (max-width: 699px) {
  .portfolio-groups { grid-template-columns: 1fr; gap: 37px; }
  .page { width: calc(100% - 40px); }
  .masthead { min-height: 80px; gap: 10px; }
  .signature { font-size: 18px; white-space: nowrap; }
  .eyebrow { font-size: 8px; letter-spacing: .04em; gap: 7px; }
  main { padding: 22px 0 30px; }
  .y-row { font-size: clamp(29px, 9.25vw, 60px); line-height: 1.2; min-height: 44px; }
  .section-label { font-size: 9px; margin-bottom: 18px; }
  .section-break { margin: 27px 0 20px; }
  .more-product { font-size: clamp(27px, 7.1vw, 35px); line-height: 1.12; }
  .footer { min-height: 58px; font-size: 9px; }
  .footer nav { gap: 16px; }
}

/* Legal pages share the same palette while allowing long text to wrap. */
.legal-page { width: min(100% - 40px, 760px); margin: 0 auto; }
.legal-page .masthead { min-height: 100px; }
.legal-content { padding: 35px 0 60px; font-size: 16px; line-height: 1.75; overflow-wrap: anywhere; }
.legal-content h1 { font-size: clamp(34px, 7vw, 58px); line-height: 1.2; letter-spacing: -.025em; font-weight: 400; margin: 0 0 30px; }
.legal-content h2 { font-size: 21px; font-weight: 400; line-height: 1.4; margin: 30px 0 10px; }
.legal-content p { margin: 0 0 15px; color: #c9c6be; }
.legal-content a { text-underline-offset: .2em; color: var(--ink); }
.draft-note { border-left: 2px solid var(--accent); padding: 12px 18px; background: #ffffff05; }
.legal-content .missing { color: var(--accent); }
.legal-content ul { list-style: disc; padding-left: 22px; color: #c9c6be; }

@media (max-width: 420px) {
  .masthead { flex-direction: column; justify-content: center; gap: 5px; padding: 18px 0 8px; }
}

@media (prefers-reduced-motion: no-preference) {
  .collection { animation: arrive 650ms both; }
  .more-collection { animation-delay: 100ms; }
  @keyframes arrive { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.collection-heading { display:flex; align-items:center; justify-content:center; gap:10px; margin-bottom:10px; }
.collection-heading .section-label { margin:0; }
.shuffle-control { border:0; background:transparent; color:var(--accent); min-width:44px; min-height:44px; padding:0; font-size:19px; cursor:pointer; }
.shuffle-control:focus-visible { outline:1px solid var(--accent); outline-offset:2px; }
@media (min-width:700px) and (max-height:900px) { .collection-heading { margin-bottom:3px; } }

/* Desktop type is about two thirds of the initial design and also follows viewport height. */
@media (min-width:850px) {
  .masthead { min-height:clamp(58px,8svh,86px); }
  main { padding:8px 0 12px; }
  .y-row { font-size:clamp(25px,min(3.5vw,calc((100svh - 215px) / 14)),49px); line-height:1.17; min-height:0; }
  .more-product { font-size:clamp(15px,min(1.8vw,calc((100svh - 215px) / 25)),24px); line-height:1.24; min-height:24px; padding:0; }
  .portfolio-groups { gap:20px; }
  .shuffle-control { min-width:32px; min-height:32px; font-size:16px; }
  .collection-heading { margin-bottom:3px; }
  .section-break { margin:18px 0 16px; }
  .footer { min-height:clamp(48px,6svh,62px); }
}
@media (min-width:850px) and (max-height:900px) {
  .y-row { font-size:clamp(25px,min(3.0vw,calc((100svh - 215px) / 14)),36px); }
  .more-product { font-size:clamp(15px,min(1.8vw,calc((100svh - 215px) / 25)),20px); }
}
@media (min-width:850px) and (max-height:650px) {
  .section-break { margin:12px 0; }
  .more-product { min-height:20px; }
}

/* A narrow desktop preview is still a mouse/keyboard surface, not a phone. */
@media (min-width:600px) and (max-width:849px) and (hover:hover) and (pointer:fine) {
  .page { width:calc(100% - 40px); }
  .masthead { min-height:58px; }
  .signature { font-size:18px; }
  main { padding:8px 0 12px; }
  .y-row { font-size:clamp(25px,min(5.5vw,calc((100svh - 215px) / 14)),36px); line-height:1.17; min-height:0; }
  .more-product { font-size:clamp(12px,min(2.2vw,calc((100svh - 215px) / 25)),17px); line-height:1.25; min-height:24px; padding:0; }
  .portfolio-groups { grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; }
  .portfolio-groups .section-label { font-size:8px; letter-spacing:.025em; }
  .section-label > span { margin-right:4px; }
  .collection-heading { margin-bottom:3px; }
  .shuffle-control { min-height:32px; min-width:32px; font-size:16px; }
  .section-break { margin:12px 0; }
  .footer { flex-direction:row; min-height:50px; padding:0; font-size:8px; }
  .footer nav { gap:14px; flex-wrap:nowrap; }
}
