/* ============================================================
   White minimalism
   ============================================================ */

:root {
  --bg:        #ffffff;
  --bg-soft:   #f7f7f8;
  --text:      #111114;
  --muted:     #55595f;
  --faint:     #8a8f97;
  --rule:      #e7e8ec;
  --rule-soft: #f0f1f4;
  --accent:    #111114;
  --link:      #2f6bd0;

  --display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
          "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --max: 760px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.7 var(--body);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Links inside running copy have to look like links. Without this they
   inherit the body colour and read as plain text. */
.org a,
.entry li a,
p a:not(.feed):not(.mark) {
  color: var(--link);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  text-decoration-color: rgba(47, 107, 208, 0.38);
  transition: text-decoration-color .25s var(--ease);
}
.org a:hover,
.entry li a:hover,
p a:not(.feed):not(.mark):hover { text-decoration-color: var(--link); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 72px 32px 120px;
}

/* ---- nav ---- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule-soft);
}

.topbar .mark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text);
  white-space: nowrap;
}
.topbar .mark:hover { text-decoration: none; opacity: .65; }

.topbar nav { display: flex; flex-wrap: wrap; gap: 26px; }

.topbar nav a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.topbar nav a:hover { color: var(--text); text-decoration: none; }
.topbar nav a[aria-current="page"] { color: var(--text); font-weight: 500; }

/* ---- hero ---- */
.hero { text-align: center; padding-top: 20px; }

.portrait {
  width: 124px;
  height: 124px;
  margin: 0 auto 30px;
  border-radius: 50%;
  position: relative;
}
.portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 1px solid var(--rule);
}

.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(30px, 5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.headline {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}

/* the tagline — no artificial narrowing, the line breaks are authored */
.statement {
  max-width: none;
  margin: 30px auto 0;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(24px, 4.4vw, 34px);
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--text);
}
.statement em { font-style: normal; font-weight: 600; }

.statement-sub {
  max-width: 46ch;
  margin: 18px auto 0;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}

.meta {
  margin: 22px 0 0;
  font-size: 14.5px;
  color: var(--faint);
}

/* ---- link pills ---- */
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.links a {
  display: inline-block;
  padding: 9px 22px;
  border: 1px solid var(--rule);
  border-radius: 999px;
  font-size: 14.5px;
  color: var(--muted);
  transition: border-color .25s var(--ease), color .25s var(--ease),
              background-color .25s var(--ease);
}
.links a:hover {
  text-decoration: none;
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* ---- sections ---- */
section { margin-top: 76px; }

h2 {
  margin: 0 0 30px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
}

p { margin: 0 0 18px; }

/* ---- entries ---- */
.entry {
  margin-bottom: 14px;
  padding: 26px 28px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.entry:hover {
  border-color: #d8dade;
  box-shadow: 0 3px 18px rgba(17, 17, 20, 0.05);
}
.entry:last-child { margin-bottom: 0; }

/* logo + identity block */
.entry-head {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.logo {
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: contain;
  padding: 3px;
  background: #fff;
  border: 1px solid var(--rule);
}
.logo.invert { filter: invert(1); }

.entry-id { min-width: 0; }

.entry h3 {
  margin: 0 0 4px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.org { margin: 0; color: var(--muted); font-size: 15.5px; }

.dates {
  margin: 4px 0 0;
  font-size: 13.5px;
  color: var(--faint);
  font-variant-numeric: tabular-nums;
}

.entry ul { margin: 16px 0 0; padding: 0; list-style: none; }

.entry li {
  position: relative;
  margin-bottom: 10px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 16px;
}
.entry li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #c9ccd2;
}
.entry li b { color: var(--text); font-weight: 600; }

/* ---- tags ---- */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.tags li {
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--rule-soft);
  font-size: 12.5px;
  color: var(--muted);
}
.tags li::before { content: none; }

/* ---- film plate ---- */
.plate { margin: 0; }
.plate-single { max-width: 340px; margin: 0 auto; }

.deco-frame {
  padding: 0;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 30px rgba(17, 17, 20, 0.10);
}

.plate video {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: var(--bg-soft);
}

/* ---- footer ---- */
footer {
  margin-top: 90px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-soft);
  text-align: center;
  color: var(--faint);
  font-size: 14px;
}

/* ============================================================
   Motion
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

.rise { opacity: 0; transform: translateY(12px); animation: rise .75s var(--ease) forwards; }
.rise-1 { animation-delay: .04s; }
.rise-2 { animation-delay: .14s; }
.rise-3 { animation-delay: .24s; }
.rise-4 { animation-delay: .34s; }
.rise-5 { animation-delay: .44s; }

@keyframes rise { to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal.in { opacity: 1; transform: none; transition: none; }
  .rise { opacity: 1; transform: none; animation: none; }
  .entry, .links a, .plate video { transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 620px) {
  body { font-size: 16px; }
  .wrap { padding: 44px 20px 80px; }
  .topbar { padding: 13px 20px; gap: 14px; }
  .topbar nav { gap: 17px; }
  .topbar nav a { font-size: 13.5px; }
  .portrait { width: 100px; height: 100px; }
  .statement-sub { max-width: none; font-size: 16px; }
  section { margin-top: 56px; }
  .entry { padding: 20px 20px; }
  .entry-head { gap: 12px; }
  .logo { width: 46px; height: 46px; border-radius: 10px; }
}

@media (max-width: 420px) {
  .topbar { flex-direction: column; align-items: flex-start; gap: 9px; }
  .links a { padding: 8px 16px; font-size: 13.5px; }
}

/* ============================================================
   Elsewhere — social cards
   ============================================================ */

.feeds {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

.feed {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  color: inherit;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.feed:hover {
  text-decoration: none;
  border-color: #d8dade;
  box-shadow: 0 3px 18px rgba(17, 17, 20, 0.05);
}

.feed-pic {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--rule);
}

.feed-x {
  display: grid;
  place-items: center;
  background: var(--text);
  color: #fff;
  font-size: 19px;
  line-height: 1;
  border-color: var(--text);
}

.feed-text { min-width: 0; }

.feed .handle {
  display: block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: -0.01em;
  color: var(--text);
  overflow-wrap: anywhere;
}

.feed .what {
  display: block;
  margin-top: 1px;
  font-size: 13.5px;
  color: var(--faint);
}

/* ============================================================
   Picture frames
   ============================================================ */

.frames {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.frame { margin: 0; }

.frame img,
.frame video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  background: var(--bg-soft);
  box-shadow: 0 4px 22px rgba(17, 17, 20, 0.09);
}

.frame video { aspect-ratio: 1 / 1; object-fit: cover; }

.frame-wide { max-width: 460px; margin: 0 auto; }
.frame-wide img { border-radius: 16px; }

@media (max-width: 620px) {
  .frames { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================================================
   About — full-bleed opening photograph
   ============================================================ */

.hero-shot {
  margin: 0 0 40px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 34px rgba(17, 17, 20, 0.12);
}

.hero-shot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: cover;
  object-position: center 38%;
}

.hero-tight { padding-top: 0; }

@media (max-width: 620px) {
  .hero-shot { margin-bottom: 28px; border-radius: 14px; }
  .hero-shot img { max-height: 420px; }
}

/* ============================================================
   Pull quote
   ============================================================ */

.pull {
  margin: 24px 0 30px;
  padding: 22px 26px;
  border-left: 3px solid var(--text);
  background: var(--bg-soft);
  border-radius: 0 12px 12px 0;
}

.pull p {
  margin: 0 0 8px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 21px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: var(--text);
}

.pull cite {
  font-style: normal;
  font-size: 14.5px;
  color: var(--muted);
}

.frame figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--faint);
  text-align: center;
}

/* ============================================================
   Medium opening portrait
   ============================================================ */

.portrait-md {
  max-width: 300px;
  margin: 0 auto 34px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 26px rgba(17, 17, 20, 0.13);
}
.portrait-md img { display: block; width: 100%; height: auto; }

/* ============================================================
   Showcase — initiative / outcome / process / feedback
   ============================================================ */

.showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-top: 26px;
  align-items: start;
}

.step { margin: 0; }

.step-label {
  display: block;
  margin-bottom: 10px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--faint);
}

.step img,
.step video {
  display: block;
  width: 100%;
  height: 420px;
  object-fit: contain;
  border-radius: 12px;
  background: var(--bg-soft);
  border: 1px solid var(--rule);
}

.step figcaption {
  margin-top: 10px;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
}

@media (max-width: 620px) {
  .showcase { grid-template-columns: 1fr; gap: 26px; }
  .step img, .step video { height: 360px; }
  .portrait-md { max-width: 230px; margin-bottom: 26px; }
}
