﻿@font-face {
  font-family: Manrope;
  src: url("../vendor/manrope.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}
:root {
  --ink: #11191e;
  --paper: #f7f7f4;
  --orange: #ff692d;
  --accent: #ac3a0f;
  --line: #d8dcd9;
  color: var(--ink);
  background: var(--paper);
  font-family: Manrope, Arial, sans-serif;
  line-height: 1.55;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body,
h1,
h2,
p {
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.skip {
  position: fixed;
  left: 0.75rem;
  top: -8rem;
  padding: 0.7rem;
  background: white;
  z-index: 5;
}
.skip:focus {
  top: 0.5rem;
}
.wrap {
  width: min(calc(100% - 4rem), 1180px);
  margin: auto;
}
.bar,
.intro,
footer {
  background: var(--ink);
  color: white;
}
.top,
.top a,
.topic,
.action,
footer .wrap {
  display: flex;
  align-items: center;
}
.top {
  min-height: 78px;
  justify-content: space-between;
  border-bottom: 1px solid #ffffff26;
}
.brand img {
  width: auto;
  height: 54px;
}
.back {
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 650;
}
.back:hover,
footer a:hover {
  color: var(--orange);
}
.back svg,
.action svg {
  width: 18px;
  height: 18px;
}
.intro-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 4rem;
  padding-block: clamp(3rem, 7vw, 6rem);
}
.kicker,
.topic,
aside h2 {
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 0.73rem;
}
.kicker {
  color: #ff9b72;
}
h1 {
  font-size: clamp(3.7rem, 7.2vw, 6.8rem);
  line-height: 0.99;
  letter-spacing: -0.075em;
  max-width: 10ch;
  margin: 1.2rem 0;
}
h1 em {
  color: var(--orange);
  font-style: normal;
}
.lede {
  color: #d6dbdc;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  max-width: 49ch;
}
.cover {
  position: relative;
  aspect-ratio: 1.72;
  overflow: hidden;
  border-radius: 4px 52px 4px 4px;
}
.cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.body-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 3fr);
  gap: clamp(2rem, 7vw, 7rem);
  padding-block: clamp(3rem, 6vw, 6rem);
}
aside nav {
  position: sticky;
  top: 1.5rem;
  display: grid;
}
aside h2 {
  padding-bottom: 1rem;
  color: #536169;
}
aside a {
  font-size: 0.93rem;
  font-weight: 650;
  border-left: 2px solid var(--line);
  padding: 0.55rem 0.8rem;
}
aside a:hover,
aside a[aria-current] {
  color: var(--accent);
  border-color: var(--orange);
  background: #efece6;
}
.projects {
  display: grid;
  gap: 3rem;
}
article {
  border-top: 2px solid var(--ink);
  padding: 1.6rem 0 0;
  scroll-margin: 1rem;
}
.topic {
  color: var(--accent);
  gap: 0.6rem;
}
.topic svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.7;
}
article h2 {
  font-size: clamp(1.9rem, 3.7vw, 3.15rem);
  line-height: 1.1;
  letter-spacing: -0.055em;
  margin: 0.7rem 0 1.1rem;
}
article p,
article li {
  color: #3e4a4f;
  max-width: 70ch;
}
article > p {
  margin-bottom: 1.3rem;
}
details {
  border-bottom: 1px solid var(--line);
}
summary {
  padding: 0.85rem 0.25rem 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  font-size: 1.3rem;
  color: var(--accent);
  line-height: 1;
}
details[open] > summary:after {
  content: "−";
}
details p,
details ul {
  margin: 0 0 1rem;
}
details ul {
  padding-left: 1.2rem;
}
details li + li {
  margin-top: 0.4rem;
}
.products img {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: 1.2rem;
  border-radius: 0.4rem;
}
.action {
  display: inline-flex;
  gap: 0.5rem;
  padding: 0.5rem 0;
  margin-top: 1.1rem;
  color: var(--accent);
  font-weight: 800;
}
.action:hover {
  text-decoration: underline;
}
footer .wrap {
  min-height: 88px;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
}
@media (max-width: 740px) {
  .wrap {
    width: calc(100% - 2.25rem);
  }
  .intro-layout,
  .body-layout {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }
  .intro-layout {
    padding-block: 2.6rem;
  }
  .cover {
    max-height: 190px;
    aspect-ratio: auto;
  }
  .cover img {
    height: 190px;
  }
  .top {
    min-height: 66px;
  }
  .brand img {
    height: 45px;
  }
  aside nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
  }
  aside h2 {
    width: 100%;
    padding: 0;
  }
  aside a {
    border: 1px solid var(--line);
    border-radius: 1.1rem;
    padding: 0.4rem 0.7rem;
    font-size: 0.82rem;
  }
  .projects {
    gap: 2.2rem;
  }
  .body-layout {
    padding-block: 2.5rem;
  }
  footer .wrap {
    flex-wrap: wrap;
    padding: 1.1rem 0;
  }
}
:root {
  --ink: #161515;
  --paper: #f5f2eb;
  --orange: #ff8b55;
  --line: #d9d5cd;
}
.intro {
  background:
    radial-gradient(ellipse at 84% 42%, #492b20, transparent 60%), #161515;
}
.intro-layout {
  position: relative;
}
h1 em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.cover {
  border-radius: 70px 12px 70px 12px;
  box-shadow: 9px 9px 0 #eb915136;
}
.cover img {
  transition: transform 0.8s;
}
.cover:hover img {
  transform: scale(1.05);
}
article h2 {
  font-family: Georgia, serif;
  font-weight: 400;
}
.action {
  border-radius: 30px;
}
aside a {
  transition:
    background 0.2s,
    padding 0.2s;
}
aside a:hover {
  padding-left: 1.15rem;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
