@font-face {
  font-family: "XinHammer Display";
  src: url("fonts/display.woff2") format("woff2");
  font-style: normal;
  font-weight: 560;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #faf9f5;
  --ink: #1c211e;
  --secondary: #515851;
  --rule: #d5d6cd;
  --cobalt: #1c43a9;
  --ultramarine: #1b3278;
  --oat: #eae5d9;
  --gutter: clamp(1.35rem, 5vw, 5.5rem);
  --sans: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", Arial, sans-serif;
  --serif: "XinHammer Display", "Songti SC", STZhongsong, "Noto Serif CJK SC", SimSun, serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.65 var(--sans); }
h1, h2, p, figure, fieldset { margin: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
::selection { background: #ffe29a; color: #1b2546; }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 5px; }
.wrap { width: min(85rem, calc(100% - var(--gutter) - var(--gutter))); margin-inline: auto; }
.display { font-family: var(--serif); font-weight: 560; letter-spacing: -.065em; }
.blue-stop, .accent-label { color: var(--cobalt); }
.visually-hidden, .moment-picker input {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link { position: absolute; inset: .5rem auto auto .5rem; z-index: 5; padding: .65rem 1.1rem; background: var(--paper); transform: translateY(-160%); }
.skip-link:focus { transform: none; }

/* The wordmark and the editorial grid run through all three pages. */
.site-header { display: flex; align-items: stretch; justify-content: space-between; gap: 1.5rem; min-height: clamp(5rem, 6.65vw, 6.4rem); border-bottom: 1px solid var(--rule); }
.identity { display: inline-flex; gap: clamp(.8rem, 1.45vw, 1.6rem); align-items: center; align-self: center; min-height: 44px; }
.wordmark, .footer-brand, .signature-name { font-family: Inter, Arial, sans-serif; font-weight: 750; letter-spacing: -.077em; line-height: 1; }
.wordmark { font-size: clamp(1.9rem, 2.75vw, 2.65rem); }
.brand-name { padding-left: clamp(.8rem, 1.45vw, 1.6rem); border-left: 1px solid var(--rule); font-size: .94rem; font-weight: 560; letter-spacing: .06em; }
.site-header nav { display: flex; align-items: stretch; gap: clamp(1.25rem, 2.75vw, 3rem); }
.site-header nav a { display: grid; position: relative; place-items: center; min-width: 44px; font-size: 1rem; font-weight: 530; }
.site-header nav a::after { content: ""; position: absolute; inset: auto .1rem 22%; height: 2px; background: var(--cobalt); transform: scaleX(0); transform-origin: left; transition: transform .18s; }
.site-header nav :is([aria-current="page"], .current-section)::after { transform: scaleX(1); }
.section-label, .feature-label { font-size: .875rem; font-weight: 600; letter-spacing: .08em; }

/* Cover photograph. The close-up and full figure are two framings of one asset. */
.cover { display: grid; grid-template-columns: minmax(0, .98fr) minmax(0, 1fr); gap: clamp(1.25rem, 3.8vw, 4.4rem); padding-block: clamp(1.75rem, 3.2vw, 3.6rem); }
.cover-copy { display: flex; flex-direction: column; justify-content: space-between; align-items: flex-start; gap: 2.3rem; padding-block: clamp(.5rem, 1.85vw, 1.9rem) clamp(.35rem, 1.15vw, 1.3rem); }
.cover-title { font-size: clamp(3.8rem, 7.35vw, 7.85rem); line-height: 1.15; }
.cover-lead { color: var(--secondary); font-size: clamp(1rem, 1.46vw, 1.31rem); line-height: 1.88; }
.hammer-object { position: relative; overflow: hidden; isolation: isolate; aspect-ratio: 1.3; align-self: center; width: 100%; background: var(--oat); }
.hammer-image { position: absolute; inset: 0 auto auto 0; width: 100%; transform-origin: left top; transform: translate(-25%, -5.4%) scale(2.35); transition: transform .62s cubic-bezier(.2,.76,.21,1); }
.full-view .hammer-image { transform: translate(13%, 1%) scale(.74); }
.lens-button {
  position: absolute; inset: clamp(.7rem, 1.05vw, 1.15rem) clamp(.7rem, 1.05vw, 1.15rem) auto auto;
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; padding: .42rem .9rem;
  border: 1px solid #cac6b9; border-radius: 2rem; background: #fbfaf4; color: #30372e; font-size: .875rem; font-weight: 540;
}
.lens-symbol { position: relative; width: .8rem; height: .8rem; }
.lens-symbol::before, .lens-symbol::after { content: ""; position: absolute; top: calc(50% - 1px); left: 0; width: 100%; height: 1.5px; background: currentColor; }
.lens-symbol::after { transform: rotate(0); transition: transform .22s; }
.full-view .lens-symbol::after { transform: rotate(90deg); }

/* The first work reads as one full-width entry. */
.featured-work { color: #fffdf5; background: var(--ultramarine); scroll-margin-top: .5rem; }
.featured-link { display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 1.1fr) minmax(7rem, .45fr); align-items: center; gap: clamp(1.1rem, 4.5vw, 5rem); min-height: clamp(8rem, 12.4vw, 12rem); padding-block: clamp(1.35rem, 2.15vw, 2.5rem); }
.featured-link:focus-visible { outline-color: #ffe38a; outline-offset: -5px; }
.featured-name h2 { font-size: clamp(1.8rem, 3.15vw, 3.25rem); font-weight: 630; letter-spacing: -.055em; line-height: 1.35; margin-top: .24rem; }
.feature-label { color: #d0dcff; font-weight: 500; }
.task-slip { width: 100%; max-width: 31rem; border-radius: .55rem; transform: rotate(-2deg); box-shadow: 0 8px 23px #0a1c4b26; transition: transform .23s; }
.feature-action { justify-self: end; padding-block: .18rem; border-bottom: 1px solid #cfdbff; font-size: 1rem; font-weight: 550; }

.editorial-row { display: grid; grid-template-columns: minmax(9.5rem, .62fr) minmax(0, 1.38fr); gap: clamp(1.75rem, 4.5vw, 5.5rem); padding-block: clamp(3.65rem, 6.9vw, 7.25rem); }
.editorial-row > .section-label, .editorial-row > div:first-child > .section-label { padding-top: .35rem; }
.editorial-text { max-width: 45rem; }
.editorial-text h2, .devices-heading h2, .character-layout h2 { font-size: clamp(1.85rem, 3.1vw, 3.25rem); line-height: 1.35; }
.editorial-text p, .founder-letter p, .body-copy, .devices-heading p { color: var(--secondary); font-size: clamp(1rem, 1.24vw, 1.125rem); line-height: 1.95; }
.editorial-text p { margin-top: 1rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-top: 1rem; color: var(--cobalt); font-weight: 560; text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 1px; }

/* Product case. The paired images come from the same review in the real product. */
.case-opening { display: grid; grid-template-columns: minmax(0, .99fr) minmax(0, 1.01fr); align-items: center; gap: clamp(2rem, 4.8vw, 6rem); padding-block: clamp(3rem, 6.1vw, 6.7rem); }
.case-title { margin-top: 1.1rem; font-size: clamp(2.1rem, 3.95vw, 4.35rem); line-height: 1.32; }
.case-copy .body-copy { max-width: 27em; margin-top: 1.4rem; }
.moment-picker { display: inline-flex; gap: .4rem; padding: 0; border: 0; border-bottom: 1px solid var(--rule); margin-top: 1.7rem; }
.moment-picker label { position: relative; cursor: pointer; }
.moment-picker label span { display: flex; align-items: center; min-height: 46px; padding: .4rem .75rem; border-bottom: 2px solid transparent; font-size: 1rem; }
.moment-picker input:checked + span { border-color: var(--cobalt); color: var(--cobalt); font-weight: 630; }
.moment-picker input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.moment-stage { display: grid; gap: 1.5rem; padding: clamp(1.15rem, 2.9vw, 3.2rem); background: #e1e6ef; color: #394661; }
.moment-stage[data-current="morning"] { background: #eae4d7; color: #584b35; }
.moment-stage figure img { width: 100%; aspect-ratio: 1050 / 670; object-fit: contain; filter: drop-shadow(0 7px 14px #19233712); }
.moment-stage figcaption { margin-top: 1.2rem; font-size: .875rem; }
.design-note { border-top: 1px solid var(--rule); scroll-margin-top: 2rem; }
.byline { display: inline-flex; align-items: center; min-height: 44px; color: var(--secondary); font-size: .875rem; }
.devices-section, .character-section { background: #eeeee8; }
.devices-section { padding-block: clamp(3rem, 5vw, 5.5rem); }
.devices-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.25rem; }
.devices-heading h2 { max-width: 18em; }
.devices-heading h2 span { display: inline-block; }
.device-spread { display: grid; grid-template-columns: minmax(0, 3.45fr) minmax(0, 1fr); gap: clamp(1rem, 3.9vw, 4.5rem); align-items: end; max-width: 71rem; margin: clamp(2rem, 4vw, 4.5rem) auto 0; }
.device-spread a { display: block; border: 1px solid #cbd0cd; overflow: hidden; border-radius: .55rem; box-shadow: 0 7px 24px #1923370e; }
.device-spread .phone-shot a { border-radius: 1.3rem; }
.device-spread img { width: 100%; }
.device-spread figcaption, .character-views figcaption { margin-top: .8rem; color: var(--secondary); text-align: center; font-size: .875rem; }

/* The founder's letter is typeset as a signed editorial page. */
.founder-article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr); gap: clamp(2rem, 6vw, 7rem); padding-block: clamp(3rem, 6.7vw, 7rem); }
.founder-title { margin-top: 1.15rem; font-size: clamp(3.1rem, 5.55vw, 5.75rem); line-height: 1.22; }
.founder-letter { max-width: 36em; }
.founder-letter p + p { margin-top: 1.1rem; }
.signature { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; margin-top: 2.1rem; }
.signature-name { font-size: 1.6rem; }
.signature span:last-child { font-size: .875rem; color: var(--secondary); }
.character-layout { display: grid; grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr); align-items: center; gap: clamp(2rem, 5.6vw, 6rem); padding-block: clamp(2.8rem, 4.8vw, 5rem); }
.character-layout h2 { margin-top: .6rem; }
.character-layout .body-copy { margin-top: .8rem; max-width: 26em; }
.character-views { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; }
.character-views img { width: 100%; }

.site-footer { display: flex; align-items: center; min-height: 6.1rem; gap: 1.35rem; padding-block: 1.15rem; border-top: 1px solid var(--rule); color: var(--secondary); font-size: .875rem; }
.site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-brand { color: var(--ink); font-size: 1.5rem; }
.site-footer a:last-child { margin-left: auto; }
@media (hover: hover) {
  .site-header nav a:hover::after { transform: scaleX(1); }
  .lens-button:hover { background: #fff; border-color: #95958a; }
  .featured-link:hover .task-slip { transform: rotate(0); }
  .text-link:hover, .site-footer a:hover, .byline:hover { color: #12348c; text-decoration: underline; text-underline-offset: .35em; }
  .device-spread a:hover { border-color: var(--cobalt); }
}

@media (max-width: 56rem) {
  .editorial-row { grid-template-columns: minmax(8rem, .5fr) minmax(0, 1.5fr); }
  .devices-heading { display: grid; gap: .9rem; }
  .devices-heading h2 { max-width: none; }
  .case-opening { gap: 1.75rem; }
}

@media (max-width: 45rem) {
  .site-header { min-height: 4.5rem; gap: 1rem; }
  .identity { flex-direction: column; align-items: flex-start; justify-content: center; gap: .25rem; }
  .wordmark { font-size: 1.72rem; }
  .brand-name { padding: 0; border: none; font-size: .78rem; letter-spacing: .05em; line-height: 1.2; }
  .site-header nav { gap: 1.05rem; }
  .site-header nav a { font-size: .94rem; }
  .site-header nav a::after { bottom: 16%; }
  .cover { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 1.8rem 1.35rem; }
  .cover-copy { padding: 0; gap: 1rem; }
  .cover-title { font-size: clamp(3.55rem, 13.8vw, 5.4rem); line-height: 1.12; }
  .cover-lead { line-height: 1.65; }
  .hammer-object { aspect-ratio: 1.72; }
  .hammer-image { transform: translate(-19%, -6.2%) scale(1.75); }
  .full-view .hammer-image { transform: translate(22%, 0) scale(.57); }
  .lens-button { inset: .65rem .65rem auto auto; padding: .35rem .75rem; }
  .featured-link { grid-template-columns: 1fr auto; gap: .9rem 1rem; min-height: 0; padding-block: 1.3rem 1.45rem; }
  .featured-name h2 { margin-top: .18rem; font-size: 1.9rem; }
  .task-slip { grid-row: 2; grid-column: 1 / -1; width: min(100%, 21.2rem); transform: none; border-radius: .4rem; }
  .feature-action { grid-row: 1; grid-column: 2; font-size: .94rem; }
  .editorial-row, .case-opening, .founder-article, .character-layout { grid-template-columns: 1fr; }
  .editorial-row { gap: 1rem; padding-block: 2.75rem; }
  .editorial-text h2, .devices-heading h2, .character-layout h2 { font-size: clamp(1.7rem, 6.7vw, 2.4rem); }
  .case-opening { padding-block: 2.25rem 2.5rem; gap: 1.5rem; }
  .case-title { font-size: clamp(2rem, 8.45vw, 3.15rem); margin-top: .8rem; }
  .case-copy .body-copy { margin-top: .9rem; }
  .moment-picker { margin-top: .9rem; }
  .moment-stage { padding: 1rem; }
  .moment-stage figcaption { margin-top: .65rem; }
  .design-note > div:first-child { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .design-note > div:first-child > .section-label { padding-top: 0; }
  .byline { min-height: 2.75rem; }
  .device-spread { gap: .9rem; }
  .device-spread .phone-shot a { border-radius: .55rem; }
  .founder-article { gap: 1.65rem; padding-block: 2.5rem; }
  .founder-title { font-size: clamp(3rem, 10.4vw, 4.6rem); }
  .character-layout { gap: 1.4rem; }
  .site-footer { flex-wrap: wrap; column-gap: .8rem; min-height: 5.3rem; font-size: .8rem; }
  .footer-brand { font-size: 1.22rem; }
}
@media (max-width: 31rem) {
  .device-spread { grid-template-columns: 1fr; gap: 1.75rem; }
  .device-spread .phone-shot { width: min(67%, 15rem); margin-inline: auto; }
}
@media (max-width: 22rem) {
  :root { --gutter: 1.05rem; }
  .site-header nav { gap: .7rem; }
  .case-title { font-size: 1.9rem; }
  .site-footer { gap: .6rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}

:root { --paper: #fff; }
.cover-title { font-size: clamp(2.9rem,5.7vw,6.1rem); }
.cover-copy { gap: 1.55rem; justify-content: center; }
.cover-lead { max-width: 29em; font-size: clamp(1rem,1.35vw,1.2rem); }
.actions { display:flex; align-items:center; gap:1.5rem; flex-wrap:wrap; }
.actions .text-link { margin:0; }
.primary { display:inline-flex; align-items:center; min-height:46px; padding:.6rem 1.25rem; background:var(--cobalt); color:white; border-radius:5px; font-weight:600; }
.brand-stage { position:relative; overflow:hidden; align-self:center; aspect-ratio:1.26; background:#edf1f7; width:100%; }
.hero-screen { position:absolute; width:40%; right:6%; top:10%; border-radius:12px; transform:rotate(5deg); box-shadow:0 16px 46px #18274f26; }
.hero-character { position:absolute; width:77%; left:-8%; bottom:3%; }
.try-task { position:absolute; right:4%; bottom:6%; display:flex; align-items:center; gap:.7rem; padding:.65rem 1rem; min-height:44px; border-radius:6px; background:white; box-shadow:0 5px 20px #27395526; font-weight:600; cursor:pointer; }
.try-task input { width:1.15rem; height:1.15rem; accent-color:var(--cobalt); }
.try-task:has(:checked) { text-decoration:line-through; color:var(--secondary); }
@media (prefers-reduced-motion:no-preference) {
  .brand-stage:has(:checked) .hero-character { animation:cheer .55s ease; }
  @keyframes cheer { 45% { transform:translateY(-4%) rotate(-3deg); } }
}
.product-story { background:#f3f5f8; padding-block:clamp(3rem,5vw,6rem); }
.product-story h2 { font-size:clamp(2.2rem,4.1vw,4.7rem); line-height:1.26; margin:1rem 0 1.45rem; }
.story-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(.6rem,2.6vw,3rem); margin-top:3rem; }
.story-steps figure { border-top:1px solid var(--rule); }
.story-steps figcaption { padding:.8rem 0; font-weight:600; }
.story-steps img { max-height:27rem; margin-inline:auto; border-radius:6px; }
.nickname { font:500 1rem var(--sans); letter-spacing:.03em; margin-left:1rem; }
.contact { border-top:1px solid var(--rule); margin-top:2rem; padding-top:1rem; display:flex; flex-wrap:wrap; align-items:center; gap:.75rem 1.5rem; }
.contact a,.news a { text-decoration:underline; text-underline-offset:.3em; }
.news { border-top:1px solid var(--rule); padding-block:2.5rem; }
.news time { margin-right:1.5rem; color:var(--secondary); }
@media(max-width:45rem){
  .cover-title {font-size:clamp(2.5rem,10.4vw,4.4rem);}
  .site-header nav { gap:.6rem; }
  .brand-stage { aspect-ratio:1.48; }
  .hero-character { width:68%; bottom:1%; }
  .try-task { font-size:.875rem; }
  .product-story .device-spread { grid-template-columns:3.4fr 1fr; }
  .product-story .phone-shot {width:100%;}
  .news time {display:block;}
}
