:root {
  --color-bg: #ffffff;
  --color-bg-surface: #F3F3F3;
  --color-border: #DCDCDC;
  --color-text: #666462;
  --color-text-dark: #343537;
  --color-text-light: #b0b0b0;
  --color-brand: #048752;
  --max-width: calc(50vw - 4rem);
  --gutter-size: 1.4rem;
}
@media (max-width: 600px) {
  :root {
    --max-width: 100%;
    --gutter-size: 0;
  }
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Noto Sans", "Roboto", "Helvetica Neue", sans-serif;
  font-optical-sizing: auto;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  margin: 0 auto;
  padding: 2rem;
  max-width: 1980px;
  font-variation-settings: "wdth" 100;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeIn 0.3s ease-out forwards;
}
ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
p {
  margin: 0;
  padding: 0;
}
a {
  color: var(--color-brand);
  border-bottom: 1px solid;
  text-decoration: none;
}
img.lazy,
img[data-src] {
  opacity: 1;
  filter: blur(10px);
  transition: opacity 0.5s ease-in, filter 0.5s ease-in;
}
img.lazy.loaded,
img[data-src].loaded {
  opacity: 1;
  filter: none;
}
hr {
  border: 0;
  border-top: 1px solid var(--color-bg-surface);
  margin: 2rem 0;
}
h1,
h2,
h3,
h4,
h5 {
  color: var(--color-text-dark);
  font-weight: 500;
  margin: 0;
  padding: 0;
}
h2 {
  margin-bottom: 1rem;
  margin-top: 2rem;
  font-size: 4rem;
  font-family: 'Noto Serif';
  font-weight: 700;
  letter-spacing: -0.1rem;
}
@media (max-width: 600px) {
  h2 {
    font-size: 2rem;
    text-align: center;
  }
}
.margin-bottom {
  margin-bottom: 2rem;
}
.phone {
  background: var(--color-text-dark);
  aspect-ratio: 0.85;
  border: 0.005em solid var(--color-text-dark);
  border-bottom: none;
  font-size: 300px;
  border-radius: 0.13em 0.13em 0 0;
  position: relative;
  width: 1em;
}
.phone::before,
.phone::after {
  content: '';
  display: block;
  border-radius: 0.005em 0 0 0.005em;
  width: 100%;
  height: 100%;
  background: var(--color-text);
  position: absolute;
  right: 100%;
  width: 0.012em;
  height: 10px;
}
.phone::before {
  height: 0.1em;
  top: 0.5em;
}
.phone::after {
  height: 0.3em;
  top: 0.7em;
}
.phone .screen {
  background: #000000;
  border-radius: 0.115em 0.115em 0 0;
  border: 0.001em solid var(--color-text);
  border-bottom: none;
  height: 100%;
  margin: 0.015em;
  margin-bottom: 0;
  padding: 0.015em;
  padding-bottom: 0;
  overflow: hidden;
}
.phone .screen img {
  width: 100%;
  border-radius: 0.092em 0.092em 0 0;
  object-fit: cover;
}
#masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}
#masthead h1 {
  color: var(--color-text-dark);
  font-family: "Noto Serif", serif;
  font-size: 2em;
  letter-spacing: -0.12rem;
  font-weight: 700;
}
#masthead h1 .splash {
  color: var(--color-text-light);
}
#masthead h1 a {
  border: none;
  color: unset;
  text-decoration: none;
}
#masthead h1 a:hover {
  opacity: 0.9;
}
#masthead nav ul {
  display: flex;
  font-size: 0.9rem;
  font-weight: 500;
  gap: 2rem;
}
#masthead nav ul li a {
  border: none;
  color: var(--color-text);
  text-decoration: none;
}
#masthead nav ul li a.button {
  background-color: var(--color-text-dark);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 1.5rem;
}
#footer {
  border-top: 1px solid var(--color-bg-surface);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 500;
  padding: 2rem 0;
  margin-top: 2rem;
}
@media (max-width: 600px) {
  #footer {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    text-align: center;
  }
  #footer .made-with {
    display: block;
  }
}
#footer ul {
  display: flex;
  gap: 2rem;
}
@media (max-width: 600px) {
  #footer ul {
    flex-direction: column-reverse;
    align-items: center;
    gap: 0.5rem;
  }
}
#footer .fa-heart {
  color: #EE5FA7;
}
#hero {
  display: grid;
  grid-gap: 1.5rem;
  align-items: center;
  justify-items: start;
  margin-bottom: 2rem;
}
#hero h1 {
  font-family: "Noto Serif", serif;
  letter-spacing: -0.2rem;
  font-size: 6rem;
  font-weight: 700;
  line-height: 1.2;
  position: relative;
}
@media (max-width: 600px) {
  #hero h1 {
    font-size: 3.2rem;
    text-align: center;
  }
}
#hero h1 b {
  display: block;
  font-weight: unset;
}
#hero h1 em {
  color: var(--color-text-light);
  font-style: normal;
}
#hero p {
  max-width: var(--max-width);
  padding-left: var(--gutter-size);
  width: 100%;
}
@media (max-width: 600px) {
  #hero p {
    text-align: center;
  }
}
#projects .projects-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem 2rem;
}
@media (max-width: 600px) {
  #projects .projects-list {
    grid-template-columns: 1fr;
  }
}
#projects .projects-list .project {
  --screenshot-padding: 1.5rem;
}
#projects .projects-list .project .screenshot-wrapper {
  aspect-ratio: 16/9;
  background-color: var(--color-bg-surface);
  border-radius: 1rem;
  margin-bottom: 1rem;
  position: relative;
}
#projects .projects-list .project .screenshot-wrapper .screenshot {
  background-color: var(--color-text-dark);
  border-radius: 1rem;
  overflow: hidden;
  height: 100%;
  width: 100%;
}
#projects .projects-list .project .screenshot-wrapper .screenshot img {
  width: 100%;
  object-fit: cover;
}
#projects .projects-list .project .screenshot-wrapper .phone {
  bottom: 0;
  font-size: 15vw;
  position: absolute;
}
@media (max-width: 600px) {
  #projects .projects-list .project .screenshot-wrapper .phone {
    font-size: 30vw;
  }
}
#projects .projects-list .project .screenshot-wrapper .phone.large {
  font-size: 23vw;
}
@media (max-width: 600px) {
  #projects .projects-list .project .screenshot-wrapper .phone.large {
    font-size: 40vw;
  }
}
#projects .projects-list .project .screenshot-wrapper .phone.centered {
  margin: 0 auto;
  left: 0;
  right: 0;
}
#projects .projects-list .project .screenshot-wrapper .phone.right {
  right: 1rem;
}
#projects .projects-list .project .screenshot-wrapper .phone.left {
  left: 1rem;
}
#projects .projects-list .project .project-details {
  padding: 0 var(--gutter-size);
}
#projects .projects-list .project .project-details h3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}
#projects .projects-list .project .project-details h3 .meta {
  color: var(--color-text-dark);
  font-size: 0.8rem;
}
#projects .projects-list .project .project-details .ps {
  padding-top: 1rem;
}
#services {
  --icon-size: 6rem;
}
#services .services-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
@media (max-width: 900px) and (min-width: 601px) {
  #services .services-list {
    grid-template-columns: repeat(2, 1fr);
  }
  #services .services-list li:last-child {
    grid-column: span 2;
  }
}
@media (max-width: 600px) {
  #services .services-list {
    grid-template-columns: 1fr;
  }
}
#services .services-list li {
  align-items: flex-start;
  background-color: var(--color-bg-surface);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
}
#services .services-list li .icon-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  height: var(--icon-size);
  padding-bottom: 1rem;
  position: relative;
}
#services .services-list li .icon-wrapper.flex-start {
  align-items: flex-start;
}
#services .services-list li .icon {
  border: 4px solid var(--color-text-dark);
  display: block;
  position: relative;
}
#services .services-list li .icon::after {
  color: var(--color-text-light);
  content: '';
  display: block;
  position: absolute;
}
#services .services-list li .icon.icon-browser {
  aspect-ratio: 9/6;
  border-radius: 0.5rem;
  width: var(--icon-size);
}
#services .services-list li .icon.icon-browser::after {
  content: '•••';
  font-size: 1.2rem;
  line-height: 0.2rem;
  left: 0.5rem;
  top: 0.5rem;
}
#services .services-list li .icon.icon-phone {
  aspect-ratio: 6/9;
  border-radius: 0.5rem;
  height: var(--icon-size);
}
#services .services-list li .icon.icon-phone::after {
  background-color: var(--color-text-light);
  height: 0.2rem;
  left: 1rem;
  right: 1rem;
  bottom: 0.5rem;
}
#services .services-list li .icon.icon-apps {
  border-color: var(--color-text-light);
  aspect-ratio: 1/1;
  border-radius: 0.5rem;
  width: calc(var(--icon-size) * 0.5);
}
#services .services-list li .icon.icon-apps:last-child {
  border-color: var(--color-text);
  left: 50%;
  top: calc(var(--icon-size) * 0.3);
  position: absolute;
}
#services .services-list li .icon.icon-search {
  aspect-ratio: 1/1;
  border-radius: var(--icon-size) var(--icon-size) var(--icon-size) 0.5rem;
  width: var(--icon-size);
}
#services .services-list li .icon.icon-search::after {
  aspect-ratio: 1/1;
  border: 0.2rem solid var(--color-text-light);
  border-radius: 100%;
  height: 40%;
  top: 25%;
  right: 25%;
}
#services .services-list li h3 {
  font-size: 1.5rem;
}
#services .services-addon {
  display: grid;
  grid-gap: 5rem;
  grid-template-columns: repeat(2, 1fr);
  padding: 2rem var(--gutter-size);
}
@media (max-width: 600px) {
  #services .services-addon {
    grid-template-columns: 1fr;
  }
}
#services .services-addon h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
#faq .faq-list {
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter-size);
  max-width: 100%;
  width: fit-content;
}
#faq .faq-list dt {
  color: var(--color-text-dark);
  cursor: pointer;
  display: flex;
  align-items: baseline;
  font-size: 1.2rem;
  gap: 1rem;
  line-height: 1.2;
  padding-bottom: 1rem;
  padding-top: 2rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
}
#faq .faq-list dt:first-child {
  padding-top: 0;
  margin-top: 0;
  border-top: none;
}
#faq .faq-list dt .icon {
  align-items: center;
  aspect-ratio: 1/1;
  border-radius: 100%;
  color: var(--color-text-light);
  display: inline-flex;
  height: 1.5rem;
  justify-content: center;
  width: 1.5rem;
}
#faq .faq-list dt .icon-plus {
  display: inline-flex;
}
#faq .faq-list dt .icon-minus {
  display: none;
}
#faq .faq-list dt.open .icon-plus {
  display: none;
}
#faq .faq-list dt.open .icon-minus {
  display: inline-flex;
}
#faq .faq-list dt.closed .icon-plus {
  display: inline-flex;
}
#faq .faq-list dt.closed .icon-minus {
  display: none;
}
#faq .faq-list dd {
  font-size: 1.2rem;
  margin: 0;
  padding: 0;
}
#faq hr {
  border-color: var(--color-border);
  margin-top: 1rem;
}
#contact p {
  padding-left: var(--gutter-size);
}
#contact form {
  max-width: var(--max-width);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-left: var(--gutter-size);
  position: relative;
}
#contact form label {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
#contact form label span {
  font-size: 1rem;
  font-weight: 500;
}
#contact form label span .required {
  color: #EE5FA7;
}
#contact form label input,
#contact form label select,
#contact form label textarea {
  background: var(--color-border);
  border: 2px solid var(--color-border);
  border-radius: 0.5rem;
  padding: 1rem;
  font-size: 1rem;
  font-family: "Noto Sans", "Roboto", "Helvetica Neue", sans-serif;
  font-weight: 500;
  line-height: 1.3;
}
#contact form label input:focus,
#contact form label select:focus,
#contact form label textarea:focus {
  border-color: var(--color-text);
  box-shadow: 0 0 5px 0 var(--color-text-light);
  outline: none;
}
#contact form button {
  background: var(--color-text-dark);
  color: #ffffff;
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  max-width: fit-content;
  margin-top: 1rem;
  border: none;
}
@media (max-width: 600px) {
  #contact form button {
    max-width: 100%;
    width: 100%;
  }
}
#contact form button:disabled {
  background: var(--color-text-light);
  cursor: not-allowed;
  opacity: 0.6;
}
#contact .success {
  background: var(--color-bg-surface);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
}
#contact .success .icon {
  font-size: 4rem;
  color: var(--color-brand);
}
#contact .success p {
  font-size: 1.2rem;
  font-family: "Noto Serif", serif;
}
#privacy {
  max-width: var(--max-width);
}
#privacy h2 {
  margin-bottom: 1rem;
}
#privacy h3 {
  color: var(--color-text-dark);
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  margin-top: 2rem;
}
#privacy p {
  margin-bottom: 1rem;
  padding: 0;
}
#privacy p strong {
  color: var(--color-text-dark);
  font-weight: 600;
}
#privacy ul {
  list-style: disc;
  margin-bottom: 1rem;
  padding-left: 1rem;
}
#privacy ul li {
  margin-bottom: 0.5rem;
}
