@font-face {
  font-display: swap;
  font-family: "Hyperlegible Sans";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/hyperlegible-sans/HyperlegibleSans-Regular.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Hyperlegible Sans";
  font-style: normal;
  font-weight: 700;
  src: url("/assets/fonts/hyperlegible-sans/HyperlegibleSans-Bold.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400;
  src: url("/assets/fonts/source-serif-4/source-serif-4-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-display: swap;
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 600;
  src: url("/assets/fonts/source-serif-4/source-serif-4-latin-600-normal.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --ink: #151617;
  --muted: #60656b;
  --paper: #f7f3ec;
  --stone: #e8dfd3;
  --clay: #9d563f;
  --clay-dark: #743b2e;
  --white: #fffaf3;
  --line: rgba(21, 22, 23, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}

a {
  color: inherit;
}

img {
  display: block;
  width: 100%;
}

.topbar {
  position: sticky;
  z-index: 80;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px clamp(18px, 4vw, 56px);
  color: var(--white);
  background: #111;
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.brand strong {
  font-size: 16px;
}

.brand span,
.nav a {
  color: rgba(255, 250, 243, 0.72);
  font-size: 13px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  text-decoration: none;
}

.blog-menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 250, 243, 0.24);
  border-radius: 8px;
  color: var(--white);
  background: transparent;
  font-size: 22px;
  cursor: pointer;
}

.wrap {
  width: min(1060px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  padding: clamp(72px, 7vw, 104px) 0 clamp(64px, 6vw, 88px);
  background: #111;
  color: var(--white);
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(255, 250, 243, 0.72);
  font-size: 13px;
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(40px, 7vw, 76px);
  line-height: 1;
  letter-spacing: 0;
}

h1,
h2,
h3 {
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
}

.hero p:not(.eyebrow) {
  max-width: 700px;
  color: rgba(255, 250, 243, 0.78);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(64px, 7vw, 92px) 0;
}

.blog-card {
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(21, 22, 23, 0.12);
  text-decoration: none;
}

.blog-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.blog-card div {
  padding: 20px;
}

.blog-card span,
.article-meta {
  color: var(--clay);
  font-size: 13px;
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.blog-card h2 {
  margin: 10px 0 10px;
  font-size: 24px;
  line-height: 1.1;
}

.blog-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) minmax(240px, 1fr);
  gap: clamp(32px, 5vw, 64px);
  padding: clamp(64px, 7vw, 92px) 0;
  align-items: start;
}

.article {
  padding: clamp(26px, 4vw, 42px);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(21, 22, 23, 0.1);
}

.article img {
  margin: 0 0 28px;
  border-radius: 8px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.article h2 {
  margin-top: 38px;
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.14;
}

.article h3 {
  margin-top: 28px;
  font-size: 21px;
}

.article p,
.article li {
  color: #383b3e;
  font-size: 18px;
  line-height: 1.72;
}

.article ul {
  padding-left: 22px;
}

.sidebox {
  position: sticky;
  top: 18px;
  padding: 24px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
}

.sidebox p {
  color: rgba(255, 250, 243, 0.72);
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--clay);
  color: var(--white);
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-weight: 700;
  text-decoration: none;
}

.related {
  padding: 46px 0 80px;
  border-top: 1px solid var(--line);
}

.related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.related-links a {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  text-decoration: none;
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-weight: 700;
}

.footer {
  color: rgba(255, 250, 243, 0.72);
  background: #111;
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-size: 13px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 5.5rem;
  padding: 24px 0;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px;
}

.footer a {
  color: rgba(255, 250, 243, 0.68);
  text-decoration: none;
}

.footer a:hover {
  color: var(--white);
}

.legal-layout {
  width: min(780px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 92px) 0;
}

.legal-layout h1 {
  margin-bottom: 36px;
  font-size: clamp(38px, 6vw, 66px);
  line-height: 1;
}

.legal-layout h2 {
  margin-top: 38px;
  font-size: 25px;
}

.legal-layout p,
.legal-layout li {
  color: #383b3e;
  font-size: 18px;
  line-height: 1.7;
}

.legal-note {
  padding: 18px;
  border-left: 4px solid var(--clay);
  background: var(--white);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  color: rgba(255, 250, 243, 0.66);
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-size: 13px;
}

.breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.project-hero h1 {
  max-width: 920px;
  font-size: clamp(38px, 6vw, 66px);
}

.blog-index-hero {
  position: relative;
  display: grid;
  min-height: clamp(25rem, 62svh, 31rem);
  align-items: end;
  overflow: hidden;
  padding: clamp(48px, 6vw, 72px) 0 clamp(42px, 5vw, 58px);
}

.blog-index-hero::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: rgba(10, 11, 12, 0.62);
  content: "";
}

.blog-index-hero-media,
.blog-index-hero-media picture,
.blog-index-hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.blog-index-hero-media img {
  object-fit: cover;
  object-position: center;
}

.blog-index-hero-content {
  position: relative;
  z-index: 2;
}

.blog-index-hero h1 {
  font-size: clamp(40px, 6vw, 68px);
}

.project-figure {
  margin: 0 0 30px;
}

.article .project-figure img {
  width: 100%;
  height: auto;
  max-height: 760px;
  margin: 0;
  border-radius: 8px 8px 0 0;
  aspect-ratio: auto;
  object-fit: contain;
  background: #171819;
}

.project-figure figcaption {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.topic-box {
  margin-top: 40px;
  padding: 20px;
  border-left: 4px solid var(--clay);
  background: #f0e9df;
}

.topic-box > strong,
.sidebox-label {
  display: block;
  margin-bottom: 12px;
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-size: 13px;
  text-transform: uppercase;
}

.topic-box div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.topic-box span {
  padding: 7px 9px;
  border: 1px solid rgba(21, 22, 23, 0.16);
  border-radius: 4px;
  color: #45484b;
  background: rgba(255, 255, 255, 0.55);
  font-size: 14px;
}

.faq {
  margin-top: 46px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  padding: 18px 34px 18px 0;
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.faq details p {
  margin: 0 0 18px;
  font-size: 16px;
}

.sidebox-label {
  color: #efb49f !important;
}

.sidebox .text-link {
  display: block;
  margin-top: 18px;
  color: rgba(255, 250, 243, 0.78);
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-size: 14px;
}

.eyebrow.dark {
  color: var(--clay-dark);
}

.editorial-section {
  padding: clamp(60px, 8vw, 94px) 0;
}

.section-intro {
  margin-bottom: 32px;
}

.section-intro h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.compact-grid {
  padding: 0;
}

.project-library {
  padding: clamp(72px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
  background: #ece9e2;
}

.project-library-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  gap: 36px;
  align-items: end;
}

.project-library-intro > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.6;
}

.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 32px 0 12px;
}

.project-filters button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #aaa9a5;
  border-radius: 6px;
  color: var(--ink);
  background: transparent;
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-weight: 700;
  cursor: pointer;
}

.project-filters button[aria-pressed="true"] {
  border-color: var(--ink);
  color: var(--white);
  background: var(--ink);
}

.project-count {
  margin: 0 0 20px;
  color: var(--muted);
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-size: 14px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 22, 23, 0.1);
  border-radius: 8px;
  background: var(--white);
}

.project-card[hidden] {
  display: none;
}

.project-card > a {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  color: inherit;
  text-decoration: none;
}

.project-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 60%;
  transition: transform 450ms ease;
}

.project-card:hover img {
  transform: scale(1.02);
}

.project-card > a > div {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.project-card span {
  color: var(--clay-dark);
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 9px 0 10px;
  font-size: 22px;
  line-height: 1.12;
}

.project-card p {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.project-card strong {
  margin-top: auto;
  color: var(--clay-dark);
  font-family: "Hyperlegible Sans", Arial, "Helvetica Neue", system-ui, sans-serif;
  font-size: 14px;
}

.project-filters button:focus-visible,
.blog-menu-toggle:focus-visible,
.project-card a:focus-visible,
.faq summary:focus-visible {
  outline: 3px solid #d38b70;
  outline-offset: 3px;
}

@media (max-width: 840px) {
  .nav {
    gap: 12px;
  }

  .blog-grid,
  .article-layout,
  .project-library-intro {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebox {
    position: static;
  }
}

@media (max-width: 520px) {
  .topbar {
    position: sticky;
    align-items: center;
    flex-direction: row;
  }

  .blog-menu-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: absolute;
    z-index: 20;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    flex-wrap: wrap;
    padding: 18px;
    border-top: 1px solid rgba(255, 250, 243, 0.16);
    background: #111;
  }

  .nav.is-open {
    display: flex;
  }

  .hero {
    padding-top: 58px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-filters button:first-child {
    grid-column: 1 / -1;
  }

  .article {
    padding: 18px;
  }

  .article p,
  .article li {
    font-size: 17px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer nav {
    justify-content: flex-start;
  }
}


/* batch3:start */
.project-card picture,
.guide-figure picture {
  display: block;
  overflow: hidden;
}

.project-card > a {
  height: auto;
  grid-template-rows: 15rem auto;
}

.project-card > a > img,
.project-card > a > picture {
  width: 100%;
  height: 15rem;
}

.project-card picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-card > a > img {
  width: 100%;
  height: 15rem;
  object-fit: cover;
}

.project-card {
  align-self: start;
}

.project-card h3 {
  min-height: 3.36em;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.guide-note {
  margin: 28px 0 34px;
  padding: 18px 20px;
  border-left: 4px solid var(--clay);
  background: #f1eee7;
  font-size: 16px;
}

.topic-box ul {
  margin: 14px 0 0;
  padding-left: 20px;
}

.topic-box li + li {
  margin-top: 8px;
}

.guide-page h1,
.guide-page h2,
.guide-card h3 {
  overflow-wrap: anywhere;
  hyphens: auto;
}

@media (max-width: 600px) {
  .project-card > a {
    grid-template-rows: 14rem auto;
  }

  .project-card > a > img,
  .project-card > a > picture {
    height: 14rem;
  }
}
/* batch3:end */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
}
