@font-face {
  font-family: "Archivo";
  src: url("./brand/fonts/archivo.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Satisfy";
  src: url("./brand/fonts/satisfy.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --paper: #f4eedf;
  --paper-muted: #ded6c7;
  --ink: #20201d;
  --rust: #b64d35;
  --line: rgb(32 32 29 / 25%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Archivo", Arial, Helvetica, sans-serif; }
a { color: inherit; }
img { max-width: 100%; }
main { overflow: hidden; }

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 16px clamp(24px, 5vw, 76px);
  border-bottom: 1px solid var(--ink);
}

.identity { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; }
.identity img { width: 42px; height: 42px; }
.project-name {
  color: var(--rust);
  font-family: "Satisfy", cursive;
  font-size: clamp(1.8rem, 2.7vw, 2.45rem);
  line-height: 1;
  white-space: nowrap;
}

.header-instagram { font-size: .84rem; font-weight: 650; text-decoration: none; }
.header-instagram:hover { text-decoration: underline; text-underline-offset: 5px; }

.project-note {
  width: min(100%, 1420px);
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) clamp(24px, 5vw, 76px) clamp(72px, 9vw, 130px);
}

.opening { padding-bottom: clamp(72px, 9vw, 130px); }
.opening h1 {
  display: flex;
  flex-direction: column;
  width: min(100%, 880px);
  margin: 0;
  font-size: clamp(3.3rem, 6.6vw, 6.5rem);
  line-height: 1.02;
  letter-spacing: -.055em;
  font-weight: 540;
}

.mechanism {
  display: grid;
  grid-template-columns: minmax(230px, .42fr) minmax(0, 1fr);
  gap: clamp(45px, 8vw, 125px);
  padding: clamp(44px, 6vw, 78px) 0 clamp(62px, 8vw, 105px);
  border-top: 1px solid var(--ink);
}

.mechanism h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.7vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.045em;
  font-weight: 620;
}

.steps { list-style: none; margin: 0; padding: 0; }
.steps li {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  align-items: baseline;
  padding: 0 0 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.steps li > span { color: var(--rust); font-size: .82rem; font-weight: 700; }
.steps p { max-width: 820px; margin: 0; font-size: clamp(1.08rem, 1.75vw, 1.48rem); line-height: 1.45; }
.steps sup { margin-left: 2px; font-size: .65em; }
.deposit-note { margin: 4px 0 0 80px; font-size: .9rem; line-height: 1.5; }

.project-explanation {
  display: grid;
  grid-template-columns: minmax(230px, .42fr) minmax(0, 1fr);
  gap: clamp(45px, 8vw, 125px);
  align-items: start;
  padding-top: clamp(48px, 6vw, 76px);
  border-top: 1px solid var(--ink);
}

.devi-portrait { width: min(100%, 330px); aspect-ratio: 1; margin: 0; overflow: hidden; }
.devi-portrait img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 39%; }
.project-explanation-copy h2 {
  margin: 0 0 30px;
  color: var(--rust);
  font-family: "Satisfy", cursive;
  font-size: clamp(2.5rem, 4.7vw, 4.65rem);
  line-height: 1.05;
  font-weight: 400;
}

.project-explanation-copy .standalone-explanation {
  max-width: 820px;
  margin: 0 0 clamp(40px, 5vw, 64px);
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.55;
  letter-spacing: -.01em;
  font-weight: 400;
}

.why-format h3 {
  margin: 0 0 28px;
  font-size: clamp(2rem, 3.2vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  font-weight: 620;
}

.why-format p {
  max-width: 820px;
  margin: 0 0 1.15em;
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.55;
  letter-spacing: -.01em;
}

.why-format p:last-child { margin-bottom: 0; }

.project-explanation-copy .about-link {
  margin: 32px 0 0;
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
  line-height: 1.55;
  letter-spacing: -.01em;
}

.about-link a { text-underline-offset: 4px; }
.about-link a:hover { color: var(--rust); }

footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: baseline;
  padding: 25px clamp(24px, 5vw, 76px) 28px;
  border-top: 1px solid var(--ink);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

footer a { justify-self: end; text-decoration: none; text-transform: none; letter-spacing: .02em; }

@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  .identity img { width: 37px; height: 37px; }
  .mechanism, .project-explanation { grid-template-columns: 1fr; gap: 42px; }
  .devi-portrait { width: min(70%, 330px); }
  .deposit-note { margin-left: 80px; }
}

@media (max-width: 520px) {
  .project-name { font-size: 1.75rem; }
  .header-instagram { display: none; }
  .opening h1 { font-size: clamp(2.75rem, 13vw, 4.1rem); }
  .steps li { grid-template-columns: 42px 1fr; gap: 12px; }
  .deposit-note { margin-left: 54px; }
  footer { grid-template-columns: 1fr 1fr; gap: 18px 24px; }
  footer a { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
