:root {
  --paper: #f4f1ec;
  --ink: #20211f;
  --line: #d8d2c9;
  --focus: #ae614a;
}
body {
  font-family: "DM Sans", sans-serif;
  background: var(--paper);
  color: var(--ink);
}
header {
  padding: 30px 5vw;
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
header > a:last-child {
  font-size: 11px;
  text-decoration: none;
}
.g-logo {
  font:
    26px "Space Grotesk",
    sans-serif;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.g-logo span {
  font:
    8px "DM Sans",
    sans-serif;
  letter-spacing: 0.15em;
  display: block;
  margin-top: 6px;
}
.g-intro {
  padding: 70px 7vw 65px;
}
.g-intro > p,
.g-outro > p {
  font-size: 9px;
  letter-spacing: 0.18em;
}
.g-intro h1 {
  font:
    clamp(46px, 6.5vw, 96px)/1.04 "Playfair Display",
    serif;
  font-weight: 400;
  letter-spacing: -0.045em;
  margin: 30px 0 35px;
}
.g-intro h1 em {
  color: #9c5546;
  font-weight: 400;
}
.g-intro > div {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
}
.g-intro > div p {
  font-size: 13px;
  line-height: 1.8;
  max-width: 570px;
  margin: 0;
  color: #6f716b;
}
.g-intro > div span {
  font-size: 9px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  text-align: right;
}
.g-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 35px;
  padding: 0 5vw 80px;
}
.g-project {
  text-decoration: none;
  min-width: 0;
}
.g-preview {
  height: 400px;
  position: relative;
  overflow: hidden;
  border: 1px solid #0001;
  transition: transform 0.4s ease;
  isolation: isolate;
}
.g-project:hover .g-preview {
  transform: translateY(-5px);
}
.g-preview img {
  object-fit: cover;
}
.g-preview-label {
  font-size: 9px;
  letter-spacing: 0.15em;
  display: block;
}
.g-preview strong {
  font-weight: 400;
  display: block;
}
.g-preview-pill {
  display: inline-block;
  font-size: 9px;
  padding: 10px 14px;
  margin-top: 22px;
  border: 1px solid currentColor;
  border-radius: 50px;
}
.g-browser-link {
  font-size: 7px;
  letter-spacing: 0.13em;
}
.g-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 23px 0;
  border-bottom: 1px solid var(--line);
}
.g-caption div > span {
  font-size: 8px;
  letter-spacing: 0.13em;
  color: #74716b;
}
.g-caption h2 {
  font:
    30px "Playfair Display",
    serif;
  font-weight: 400;
  letter-spacing: -0.04em;
  margin: 10px 0;
}
.g-caption p {
  font-size: 11px;
  line-height: 1.8;
  max-width: 380px;
  color: #65665f;
  margin: 0;
}
.g-caption b {
  align-self: center;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.8;
  flex-shrink: 0;
}
.g-veloura .g-preview {
  background: #f5eee3;
  color: #40141b;
  padding: 27px 32px;
  text-align: center;
}
.g-veloura strong {
  font:
    40px/0.95 "Playfair Display",
    serif;
  margin: 22px 0;
}
.g-veloura strong em {
  color: #8c4a3e;
  font-weight: 400;
}
.g-veloura img {
  height: 185px;
  width: 100%;
  object-position: 75% center;
}
.g-veloura .g-browser-link {
  display: block;
  margin-top: 18px;
}
.g-mizu .g-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #d9eaec;
  color: #143d43;
}
.g-mizu .g-preview > div {
  padding: 35px 25px;
}
.g-mizu .g-preview-label {
  font:
    29px "Manrope",
    sans-serif;
  letter-spacing: -0.05em;
}
.g-mizu strong {
  font:
    56px/0.95 "Manrope",
    sans-serif;
  letter-spacing: -0.07em;
  margin-top: 65px;
}
.g-mizu img {
  width: 100%;
  height: 100%;
  object-position: 20% center;
}
.g-poplash .g-preview {
  background: #ff754f;
  color: #242057;
  padding: 25px 30px;
}
.g-poplash .g-preview-label {
  font:
    24px "Space Grotesk",
    sans-serif;
  font-weight: 700;
  letter-spacing: -0.05em;
}
.g-poplash strong {
  font:
    55px/0.9 "Space Grotesk",
    sans-serif;
  font-weight: 700;
  letter-spacing: -0.065em;
  margin: 42px 0 0;
  position: relative;
  z-index: 1;
  max-width: 90%;
  text-shadow: 2px 2px #fff362;
}
.g-poplash img {
  position: absolute;
  width: 48%;
  height: 270px;
  right: 20px;
  bottom: 20px;
  object-position: 75% center;
  border: 2px solid #242057;
  transform: rotate(8deg);
}
.g-poplash .g-preview-pill {
  position: absolute;
  bottom: 28px;
  left: 30px;
  z-index: 1;
  background: #fff362;
  border: 2px solid #242057;
  border-radius: 0;
  box-shadow: 3px 3px #242057;
  font-weight: 700;
}
.g-terra .g-preview {
  display: grid;
  grid-template-columns: 26% 1fr;
  background: #f3eadc;
  color: #423021;
}
.g-terra aside {
  background: #e1d2bb;
  padding: 30px 16px;
  font:
    33px/0.85 "Playfair Display",
    serif;
  letter-spacing: -0.045em;
}
.g-terra aside em {
  color: #9b563a;
  font-weight: 400;
}
.g-terra aside small {
  display: block;
  font:
    7px/3 "DM Sans",
    sans-serif;
  margin-top: 55px;
}
.g-terra .g-preview > div {
  padding: 35px 25px;
}
.g-terra strong {
  font:
    39px/1.05 "Playfair Display",
    serif;
  letter-spacing: -0.04em;
  margin: 12px 0 35px;
}
.g-terra strong em {
  color: #9b563a;
  font-weight: 400;
}
.g-terra img {
  width: 100%;
  height: 200px;
  object-position: 30% center;
}
.g-nocturne .g-preview {
  background: #090a0e;
  color: #e5e5e8;
  padding: 27px 30px;
}
.g-nocturne .g-preview img {
  position: absolute;
  top: 50px;
  right: 25px;
  width: 65%;
  height: 255px;
  object-position: 75% center;
}
.g-nocturne strong {
  font:
    62px/0.85 "Italiana",
    serif;
  letter-spacing: -0.03em;
  position: absolute;
  left: 30px;
  bottom: 65px;
  z-index: 1;
}
.g-nocturne strong em {
  color: #a598db;
  font-style: normal;
}
.g-nocturne .g-browser-link {
  position: absolute;
  bottom: 25px;
}
.g-sunday .g-preview {
  background: #fffaf0;
  color: #445040;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 20px;
  padding: 30px 25px;
}
.g-sunday .g-preview > div {
  align-self: center;
}
.g-sunday .g-preview-label {
  font:
    19px "Playfair Display",
    serif;
  letter-spacing: -0.03em;
}
.g-sunday strong {
  font:
    43px/1.03 "Playfair Display",
    serif;
  letter-spacing: -0.04em;
  margin: 45px 0 0;
}
.g-sunday strong em {
  color: #b5775d;
}
.g-sunday img {
  width: 100%;
  height: 310px;
  align-self: center;
  object-position: 75% center;
  transform: rotate(4deg);
  border: 8px solid #e5c9af;
  border-bottom-width: 35px;
  border-radius: 100px 100px 0 0;
}
.g-sunday .g-preview-pill {
  border-radius: 4px;
  background: #445040;
  color: #fffaf0;
  border: 0;
}
.g-outro {
  padding: 75px 7vw 105px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.g-outro a {
  font:
    clamp(40px, 5.5vw, 82px) "Playfair Display",
    serif;
  letter-spacing: -0.04em;
  text-decoration: none;
  display: inline-block;
  margin-top: 25px;
}
footer {
  display: flex;
  justify-content: space-between;
  padding: 26px 5vw;
  border-top: 1px solid var(--line);
  gap: 25px;
  font-size: 9px;
  color: #64675f;
}
footer p {
  margin: 0;
}
@media (max-width: 1000px) {
  .g-preview {
    height: 340px;
  }
  .g-mizu strong {
    font-size: 42px;
  }
  .g-terra strong {
    font-size: 30px;
  }
  .g-terra .g-preview > div {
    padding: 28px 18px;
  }
  .g-terra img {
    height: 160px;
  }
  .g-sunday strong {
    font-size: 34px;
  }
  .g-sunday img {
    height: 270px;
  }
  .g-veloura strong {
    font-size: 34px;
    margin: 20px 0;
  }
  .g-veloura img {
    height: 145px;
  }
  .g-poplash strong {
    font-size: 42px;
  }
  .g-poplash img {
    height: 220px;
  }
  .g-nocturne strong {
    font-size: 47px;
  }
  .g-nocturne img {
    height: 220px;
  }
  .g-grid {
    gap: 45px 25px;
  }
}
@media (max-width: 680px) {
  .g-intro {
    padding: 50px 6vw;
  }
  .g-intro h1 {
    font-size: 49px;
  }
  .g-intro > div {
    flex-direction: column;
    align-items: start;
    gap: 24px;
  }
  .g-intro > div span {
    text-align: left;
  }
  .g-grid {
    grid-template-columns: 1fr;
    padding-inline: 5vw;
    gap: 35px;
  }
  .g-preview {
    height: 345px;
  }
  .g-caption h2 {
    font-size: 29px;
  }
  .g-caption p {
    font-size: 10px;
  }
  .g-caption b {
    font-size: 10px;
  }
  .g-mizu strong {
    font-size: 46px;
  }
  .g-terra strong {
    font-size: 33px;
  }
  .g-sunday strong {
    font-size: 37px;
  }
  .g-poplash strong {
    font-size: 47px;
  }
  .g-nocturne strong {
    font-size: 52px;
  }
  .g-outro {
    padding: 60px 6vw 80px;
  }
  .g-outro a {
    font-size: 41px;
  }
  footer {
    flex-direction: column;
    gap: 12px;
  }
}
