/* White, charcoal, and teal accent. Recolor the site from these variables. */
:root {
  --bg: #ffffff;
  --ink: #222a25;
  --muted: #5d6a63;
  --sage: #27a3a3;
  --sage-deep: #1f8282;
  --line: #e6ecec;
  --soft: #f3f6f6;
  --surface: #ffffff;
  --sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "Sitka Display", "Palatino Linotype", Palatino, Georgia, serif;
  --space: clamp(4.5rem, 9vw, 7.5rem);
  --wrap: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button,
.button,
input[type="submit"],
input[type="button"] {
  appearance: none;
  border: 0;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1;
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.35s ease, color 0.35s ease;
}

button:hover,
.button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
button:focus-visible,
.button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible {
  background: var(--sage-deep);
  color: #fff;
}

:focus-visible {
  outline: 2px solid var(--sage);
  outline-offset: 3px;
}

::selection {
  background: #d4ecec;
  color: var(--ink);
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.about .wrap,
.work .wrap,
.pricing .wrap,
.contact .wrap {
  text-align: center;
}

.section-label {
  margin: 0 0 1rem;
  color: var(--sage);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
.work-title {
  font-family: var(--serif);
  font-weight: 400;
  text-wrap: balance;
}

h1,
h2,
h3,
p {
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-height: 4.25rem;
  flex-wrap: wrap;
  padding-block: 0.85rem;
}

.logo {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.35s ease;
}

.logo:hover,
.logo:focus-visible {
  color: var(--sage);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.5rem;
}

.nav a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  text-decoration: none;
  background-image: linear-gradient(var(--sage), var(--sage));
  background-repeat: no-repeat;
  background-size: 0 1px;
  background-position: 0 100%;
  transition: background-size 0.35s ease, color 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.nav a:hover,
.nav a:focus-visible {
  background-size: 100% 1px;
}

.nav a.nav-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-inline-start: 0.15rem;
  padding: 14px 1.2rem;
  border: 1px solid var(--sage);
  border-radius: 10px;
  background-color: transparent;
  background-image: none;
  background-size: auto;
  line-height: 1;
  transition: color 0.35s ease, background-color 0.35s ease, border-color 0.35s ease;
}

.nav a.nav-contact:hover,
.nav a.nav-contact:focus-visible,
.nav a.nav-contact:active {
  color: #fff;
  background-color: var(--sage);
  border-color: var(--sage);
  background-size: auto;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  appearance: none;
  flex-shrink: 0;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  background: var(--surface);
  border-color: var(--sage);
  color: var(--ink);
}

.nav-toggle-bar {
  position: absolute;
  left: 50%;
  width: 1.15rem;
  height: 1.5px;
  border-radius: 999px;
  background: currentColor;
  transform: translateX(-50%);
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.nav-toggle-bar:nth-child(1) {
  top: calc(50% - 6px);
}

.nav-toggle-bar:nth-child(2) {
  top: 50%;
  margin-top: -0.75px;
}

.nav-toggle-bar:nth-child(3) {
  top: calc(50% + 6px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  top: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  top: 50%;
  transform: translateX(-50%) rotate(-45deg);
}

.about {
  padding-top: clamp(4.5rem, 10vw, 7rem);
}

.about h1 {
  font-size: clamp(3.2rem, 8vw, 5.75rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.interests {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 0;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.interests li:not(:last-child)::after {
  content: "·";
  margin-inline: 0.75rem;
  color: var(--sage);
}

.about-copy {
  max-width: 38rem;
  margin: 2rem auto 0;
  font-size: 1.15rem;
  line-height: 1.75;
  text-wrap: pretty;
}

.work {
  padding-top: var(--space);
}

.work h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pricing h2,
.contact h2 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.pricing {
  margin-top: var(--space);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  border-top: 1px solid var(--line);
}

.pricing-limited {
  margin: 0.7rem auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.pricing-intro {
  max-width: 36rem;
  margin: 1.15rem auto 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.7;
  text-wrap: pretty;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16.5rem), 1fr));
  gap: 1.25rem;
  margin-top: 2.75rem;
  text-align: left;
}

.price-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.6rem 1.45rem 1.7rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--ink) 3%, transparent);
}

.price-card__title {
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.price-card__subtitle {
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.price-card__price {
  margin-top: 0.35rem;
  color: var(--sage-deep);
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.4rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.price-card__list {
  display: grid;
  gap: 0.7rem;
  margin: 1.35rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
}

.price-card__list li {
  position: relative;
  padding-left: 1.15rem;
}

.price-card__list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--sage);
}

.pricing-disclaimer {
  max-width: 36rem;
  margin: 1.5rem auto 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 300;
  line-height: 1.65;
  text-wrap: pretty;
}

.pricing-disclaimer + .pricing-disclaimer {
  margin-top: 0.7rem;
}

.pricing-notes {
  display: grid;
  gap: 1.75rem;
  max-width: 42rem;
  margin: 2.25rem auto 0;
  text-align: left;
}

.pricing-note h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-wrap: balance;
}

.pricing-note p {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.7;
  text-wrap: pretty;
}

.pricing-note--cta {
  padding: 1.5rem 1.45rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
  text-align: center;
}

.pricing-note--cta .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1.25rem;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14.5rem), 18rem));
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.work-card {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.work-title {
  grid-row: 1;
  justify-self: center;
  margin: 0 0 0.85rem;
  padding-top: 0.22rem;
  padding-bottom: 0.13rem;
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 22%, transparent);
  color: var(--ink);
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.work-media {
  position: relative;
  grid-row: 2;
  grid-column: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid color-mix(in srgb, var(--brand-bg) 88%, #000 12%);
  border-radius: 8px;
  background: var(--brand-bg);
}

.work-card--muralo {
  --brand-bg: #76c8c7;
}

.work-card--abby {
  --brand-bg: #fbf3e6;
}

.work-card--tamar {
  --brand-bg: #fbf5f0;
}

.work-logo {
  max-width: min(52%, 8.5rem);
  max-height: 42%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.work-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: #fff;
  transition: transform 0.5s ease;
}

.work-brand-mark {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: #fff;
  color: #2a3538;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.work-brand-name {
  font-size: clamp(1.15rem, 2.6vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.placeholder-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 1;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 300;
  letter-spacing: 0.02em;
}

.overlay {
  grid-row: 2;
  grid-column: 1;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  border-radius: 8px;
  background: transparent;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.overlay span {
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  background: var(--sage);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 300;
  letter-spacing: 0.06em;
}

.contact {
  margin-top: var(--space);
  padding-top: clamp(3.5rem, 7vw, 5.5rem);
  padding-bottom: clamp(4.5rem, 10vw, 7rem);
  border-top: 1px solid var(--line);
}

.email {
  display: block;
  margin-top: 1.25rem;
  color: var(--ink);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 0.35s ease;
}

.email + .email {
  margin-top: 0.55rem;
}

.email:hover,
.email:focus-visible {
  color: var(--sage);
}

.work,
.pricing,
.contact {
  animation: fade-up 0.8s ease both;
}

.work {
  animation-delay: 0.08s;
}

.pricing {
  animation-delay: 0.11s;
}

.contact {
  animation-delay: 0.14s;
}

.about-name .char {
  display: inline-block;
}

.about-name .char--space {
  width: 0.28em;
}

@media (prefers-reduced-motion: no-preference) {
  html.is-intro .about-name .char {
    opacity: 0;
    transform: translateY(0.32em);
  }

  html.is-intro .about-name .char.is-in {
    opacity: 1;
    transform: none;
    transition:
      opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.is-intro .interests,
  html.is-intro .about-copy {
    opacity: 0;
    transform: translateY(12px);
    transition:
      opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  }

  html.is-intro .interests.is-visible,
  html.is-intro .about-copy.is-visible {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (hover: hover) and (pointer: fine) {
  .work-card:hover,
  .work-card:focus-visible {
    transform: translateY(-7px);
  }

  .work-card:hover .overlay,
  .work-card:focus-visible .overlay {
    opacity: 1;
  }

  .work-card:hover .work-logo,
  .work-card:focus-visible .work-logo,
  .work-card:hover .work-brand,
  .work-card:focus-visible .work-brand {
    transform: scale(1.07);
  }
}

@media (max-width: 600px) {
  .header-inner {
    position: relative;
    flex-wrap: nowrap;
    min-height: 3.75rem;
    gap: 1rem;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  .nav {
    position: absolute;
    top: calc(100% - 0.15rem);
    right: 0;
    left: auto;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    width: min(17.5rem, calc(100vw - 2rem));
    margin: 0;
    padding: 0.65rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow:
      0 10px 30px color-mix(in srgb, var(--ink) 8%, transparent),
      0 1px 0 color-mix(in srgb, var(--ink) 3%, transparent);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-0.55rem);
    transition:
      opacity 0.28s ease,
      transform 0.28s ease,
      visibility 0.28s ease;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .nav a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding: 0.7rem 0.95rem;
    border-radius: 10px;
    background-image: none;
    background-size: auto;
    letter-spacing: 0.03em;
  }

  .nav a:hover,
  .nav a:focus-visible {
    background-color: var(--soft);
    background-size: auto;
  }

  .nav a.nav-contact {
    margin: 0.25rem 0 0;
    justify-content: center;
    padding: 0.8rem 1rem;
    border: 1px solid var(--sage);
    color: var(--sage-deep);
    font-weight: 400;
  }

  .nav a.nav-contact:hover,
  .nav a.nav-contact:focus-visible,
  .nav a.nav-contact:active {
    color: #fff;
    background-color: var(--sage);
    border-color: var(--sage);
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(var(--wrap), calc(100% - 2rem));
  }

  .header-inner {
    min-height: 3.75rem;
  }

  .pricing-notes {
    margin-top: 2.25rem;
  }

  .about h1 {
    font-size: clamp(2.7rem, 14vw, 3.6rem);
  }

  .about-copy {
    font-size: 17px;
    line-height: 1.6;
  }

  .about-lead {
    font-size: 19px;
    line-height: 1.6;
  }

  .about-copy p + p {
    margin-top: 1.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .decor {
    --parallax-dots: 0;
    --parallax-lines: 0;
  }

  .interests,
  .about-copy {
    opacity: 1;
    transform: none;
  }

  .about-name .char {
    opacity: 1;
    transform: none;
  }
}

/* Decorations. Retune placement, density, and parallax here. */
.decor {
  --parallax-dots: -0.05;
  --parallax-lines: -0.14;
  --dot-strength: 1;
  --line-strength: 0.88;
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

main,
.contact {
  position: relative;
  z-index: 1;
}

.decor-dots,
.decor-lines {
  position: absolute;
  transform: translate3d(0, var(--shift, 0px), 0);
}

.decor-dots {
  --shift: var(--shift-dots, 0px);
  inset: -16vh 0;
}

.dot-patch {
  --dot-radius: 1.05px;
  --dot-space: 34px;
  --dot-opacity: 0.26;
  --ox: 0%;
  --oy: 40%;
  position: absolute;
  background-image: radial-gradient(
    circle,
    var(--sage) var(--dot-radius),
    transparent calc(var(--dot-radius) + 0.7px)
  );
  background-size: var(--dot-space) var(--dot-space);
  opacity: calc(var(--dot-opacity) * var(--dot-strength));
  -webkit-mask-image: radial-gradient(
    ellipse 130% 115% at var(--ox) var(--oy),
    #000 0%,
    rgba(0, 0, 0, 0.5) 16%,
    rgba(0, 0, 0, 0.16) 48%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 130% 115% at var(--ox) var(--oy),
    #000 0%,
    rgba(0, 0, 0, 0.5) 16%,
    rgba(0, 0, 0, 0.16) 48%,
    transparent 78%
  );
}

.dot-patch::before {
  content: "";
  position: absolute;
  inset: -14%;
  background-image: radial-gradient(circle, var(--sage) 0.7px, transparent 1.35px);
  background-size: 42px 42px;
  background-position: 12px 8px;
  opacity: 0.8;
  -webkit-mask-image: radial-gradient(
    ellipse 145% 125% at var(--ox) var(--oy),
    transparent 0%,
    rgba(0, 0, 0, 0.7) 22%,
    rgba(0, 0, 0, 0.2) 58%,
    transparent 90%
  );
  mask-image: radial-gradient(
    ellipse 145% 125% at var(--ox) var(--oy),
    transparent 0%,
    rgba(0, 0, 0, 0.7) 22%,
    rgba(0, 0, 0, 0.2) 58%,
    transparent 90%
  );
}

.dot-patch-top {
  top: 4vh;
  left: -10vw;
  width: min(68vw, 820px);
  height: min(58vh, 640px);
  --ox: 4%;
  --oy: 32%;
}

.dot-patch-mid {
  top: 42vh;
  right: -12vw;
  width: min(62vw, 740px);
  height: min(52vh, 560px);
  --ox: 96%;
  --oy: 40%;
  --dot-space: 38px;
  --dot-opacity: 0.22;
}

.dot-patch-low {
  top: 102vh;
  left: -9vw;
  width: min(52vw, 600px);
  height: min(42vh, 440px);
  --ox: 8%;
  --oy: 68%;
  --dot-space: 40px;
  --dot-opacity: 0.2;
}

.decor-lines {
  --shift: var(--shift-lines, 0px);
  opacity: var(--line-strength);
}

.decor-lines-left {
  top: 2vh;
  left: -8vw;
  width: min(70vw, 860px);
  height: min(72vh, 760px);
}

.decor-lines-right {
  top: 30vh;
  right: -10vw;
  width: min(66vw, 800px);
  height: min(68vh, 700px);
}

.decor-lines-low {
  top: 104vh;
  left: -8vw;
  width: min(48vw, 520px);
  height: min(34vh, 340px);
  opacity: calc(var(--line-strength) * 0.7);
}

@media (max-width: 640px) {
  .decor {
    --parallax-dots: 0;
    --parallax-lines: 0;
    --dot-strength: 0.55;
    --line-strength: 0.58;
  }

  .dot-patch-top {
    top: 6vh;
    left: -46px;
    width: 250px;
    height: 280px;
  }

  .dot-patch-mid {
    top: 52vh;
    right: -54px;
    width: 230px;
    height: 250px;
  }

  .dot-patch-low {
    top: 112vh;
    left: -42px;
    width: 210px;
    height: 220px;
  }

  .decor-lines-left {
    top: 8vh;
    left: -28px;
    width: 250px;
    height: 280px;
  }

  .decor-lines-right {
    top: 54vh;
    right: -32px;
    width: 230px;
    height: 250px;
  }

  .decor-lines-low {
    top: 118vh;
    left: -24px;
    width: 190px;
    height: 150px;
  }
}
