@font-face {
  font-family: "Unbounded";
  src: url("/assets/akriven/Unbounded-wght.ttf") format("truetype");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #f4f2ed;
  --bone: #f5f2ea;
  --graphite: #191c1a;
  --muted: #666b67;
  --line: rgba(25, 28, 26, 0.2);
  --gimp: #5f61e8;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--canvas); }
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--graphite);
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(1480px, calc(100% - 64px));
  min-height: 112px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}
.brand-lockup { display: block; width: clamp(154px, 14vw, 206px); }
.brand-lockup img { display: block; width: 100%; height: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(26px, 5vw, 78px); }
.site-header nav > * {
  font-family: "Unbounded", sans-serif;
  font-size: 0.69rem;
  font-weight: 520;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}
.site-header nav a { transition: opacity 180ms ease; }
.site-header nav a:hover { opacity: 0.55; }
.site-header nav a span { margin-left: 0.45rem; color: #929691; }
.edition { color: #777c78; }

main { width: min(1480px, calc(100% - 64px)); margin: 0 auto; }
.hero {
  position: relative;
  display: grid;
  min-height: min(820px, calc(100svh - 112px));
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 0.55fr);
  grid-template-rows: auto 1fr auto;
  column-gap: clamp(44px, 8vw, 140px);
  padding: 38px 0 30px;
}
.hero::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 68%;
  width: 1px;
  background: var(--line);
  content: "";
}
.hero-kicker {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  font-family: "Unbounded", sans-serif;
  font-size: 0.63rem;
  font-weight: 520;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.hero-kicker span:last-child { color: #7a7f7b; }
.hero-copy { align-self: center; padding: 7vh 0 5vh; }
h1 {
  max-width: 1010px;
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(3.65rem, 7.9vw, 8.55rem);
  font-weight: 570;
  letter-spacing: -0.075em;
  line-height: 0.95;
}
h1 em { display: block; color: #777c78; font-style: normal; font-weight: 270; }
.hero-copy > p {
  max-width: 650px;
  margin: clamp(34px, 5vw, 70px) 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.45vw, 1.38rem);
  line-height: 1.62;
}
.working-frame {
  position: relative;
  display: flex;
  align-self: center;
  min-height: 330px;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 0 34px clamp(28px, 4vw, 70px);
}
.working-frame img { width: clamp(128px, 13vw, 202px); height: auto; }
.working-frame span {
  font-family: "Unbounded", sans-serif;
  font-size: clamp(0.72rem, 0.9vw, 0.88rem);
  font-weight: 390;
  letter-spacing: -0.025em;
  line-height: 1.6;
}
.hero-foot {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-family: "Unbounded", sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.work { padding: 110px 0 130px; }
.section-label {
  display: flex;
  justify-content: space-between;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--line);
  font-family: "Unbounded", sans-serif;
  font-size: 0.65rem;
  font-weight: 520;
  letter-spacing: 0.065em;
  text-transform: uppercase;
}
.section-label p { margin: 0; }
.section-label p:last-child { color: #858a86; }
.project-card {
  display: block;
  margin-top: 28px;
  padding: clamp(28px, 4vw, 60px);
  overflow: hidden;
  background: var(--graphite);
  color: var(--bone);
  transition: transform 260ms ease, box-shadow 260ms ease;
}
.project-card:hover { transform: translateY(-5px); box-shadow: 0 34px 90px rgba(25, 28, 26, 0.18); }
.project-card:focus-visible { outline: 4px solid var(--gimp); outline-offset: 5px; }
.project-topline,
.project-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Unbounded", sans-serif;
  font-size: 0.61rem;
  font-weight: 480;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.project-topline { padding-bottom: 28px; border-bottom: 1px solid rgba(245, 242, 234, 0.18); color: #a9ada9; }
.project-status { display: inline-flex; align-items: center; gap: 9px; color: var(--bone); }
.project-status i { width: 7px; height: 7px; border-radius: 50%; background: #87ba94; box-shadow: 0 0 0 4px rgba(135, 186, 148, 0.11); }
.project-main {
  display: grid;
  min-height: 440px;
  grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.7fr);
  align-items: center;
  gap: 8vw;
  padding: 72px 0;
}
.project-identity { display: flex; align-items: center; gap: clamp(28px, 4vw, 62px); }
.project-identity > img { width: clamp(118px, 15vw, 220px); height: auto; flex: 0 0 auto; }
.project-identity h2 {
  margin: 0;
  font-family: "Unbounded", sans-serif;
  font-size: clamp(4.1rem, 8.5vw, 9.2rem);
  font-weight: 540;
  letter-spacing: -0.085em;
  line-height: 0.86;
}
.project-identity p { max-width: 390px; margin: 28px 0 0; color: #b6bab6; font-size: 1rem; line-height: 1.55; }
.project-story > p { margin: 0; color: #d7d9d6; font-size: clamp(1.05rem, 1.4vw, 1.31rem); line-height: 1.65; }
.project-meta { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 46px; }
.project-meta span { padding: 10px 13px; border: 1px solid rgba(245, 242, 234, 0.18); color: #aeb2ae; font-size: 0.72rem; }
.project-footer { padding-top: 26px; border-top: 1px solid rgba(245, 242, 234, 0.18); }
.project-arrow { color: #8f96ff; font-family: Arial, sans-serif; font-size: 1.8rem; transition: transform 220ms ease; }
.project-card:hover .project-arrow { transform: translate(5px, -5px); }

footer {
  display: grid;
  min-height: 280px;
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  gap: 40px;
  padding: 52px max(32px, calc((100vw - 1480px) / 2));
  background: var(--graphite);
  color: var(--bone);
}
footer > img { width: clamp(150px, 16vw, 228px); }
footer > div { display: flex; flex-direction: column; gap: 8px; color: #aeb2ae; font-size: 0.78rem; line-height: 1.4; }
footer > span { font-family: "Unbounded", sans-serif; font-size: 0.62rem; letter-spacing: 0.06em; }

@media (max-width: 900px) {
  .site-header, main { width: calc(100% - 36px); }
  .site-header { min-height: 88px; }
  .edition { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 28px; }
  .hero::before { display: none; }
  .hero-copy { padding: 100px 0 55px; }
  h1 { font-size: clamp(3.2rem, 13.5vw, 6rem); }
  .working-frame { min-height: 250px; padding: 38px 0; border-top: 1px solid var(--line); }
  .working-frame img { width: 138px; }
  .project-main { grid-template-columns: 1fr; gap: 54px; padding: 58px 0; }
  .project-identity { align-items: flex-end; }
  .project-story { max-width: 600px; }
  footer { min-height: 240px; grid-template-columns: 1fr auto; }
  footer > div { display: none; }
}

@media (max-width: 560px) {
  .brand-lockup { width: 142px; }
  .hero-kicker span:first-child { display: none; }
  .hero-kicker { justify-content: flex-end; }
  .hero-copy { padding-top: 82px; }
  .hero-copy > p { font-size: 1rem; }
  .work { padding: 82px 0 90px; }
  .section-label p:last-child { display: none; }
  .project-card { padding: 22px; }
  .project-topline > span:first-child { max-width: 170px; line-height: 1.5; }
  .project-status { align-self: flex-start; }
  .project-main { min-height: 0; padding: 48px 0; }
  .project-identity { display: block; }
  .project-identity > img { width: 112px; }
  .project-identity h2 { margin-top: 48px; font-size: clamp(4rem, 23vw, 6rem); }
  .project-meta { gap: 6px; margin-top: 34px; }
  footer { min-height: 210px; padding-right: 18px; padding-left: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
