@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Noto+Music&display=swap");

:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --ink: #172c26;
  --muted: #6f766b;
  --green: #284b3d;
  --orange: #e8b66d;
  --line: #dfded5;
  font-family: "DM Sans", "Segoe UI", sans-serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  width: min(100% - 112px, 1320px);
  min-height: 100px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  display: block;
}

.brand-name,
.footer-brand {
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.07em;
}

.brand-period,
.footer-brand span {
  color: #d2964a;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 48px);
}

.primary-nav a {
  color: #4c584e;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: color 160ms ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: #bf7a2c;
}

.primary-nav .nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding: 13px 17px;
  border: 1px solid #c9c8bd;
  border-radius: 4px;
  color: var(--ink);
}

.primary-nav .nav-cta:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.menu-toggle {
  display: none;
}

.home-hero {
  position: relative;
  display: grid;
  width: min(100% - 112px, 1320px);
  min-height: 618px;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  margin: 0 auto;
  padding: 60px 0 90px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 16px 0 0 3.2%;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 0;
  color: #657365;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 25px;
  height: 1px;
  background: #d2964a;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

.home-hero h1,
.portfolio-hero h1 {
  margin: 27px 0 24px;
  font-family: Manrope, "Segoe UI", sans-serif;
  font-size: clamp(64px, 8.3vw, 112px);
  font-weight: 600;
  letter-spacing: -0.09em;
  line-height: 0.99;
}

.home-hero h1 span,
.manifesto-copy span,
.contact-section h2 span {
  color: #c6823e;
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.075em;
}

.hero-lede {
  max-width: 420px;
  margin: 0 0 31px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  min-height: 49px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-dark {
  background: var(--ink);
  color: var(--paper);
}

.button-dark:hover {
  background: #2d4d40;
}

.button-light {
  border-color: #718477;
  color: #f5f3ed;
}

.button-light:hover {
  background: rgb(255 255 255 / 9%);
}

.hero-art {
  position: relative;
  width: min(100%, 530px);
  aspect-ratio: 1 / 0.9;
  justify-self: end;
  overflow: hidden;
  border-radius: 48% 52% 43% 57% / 49% 42% 58% 51%;
  background: #dce3d6;
}

.art-sun {
  position: absolute;
  top: 16%;
  right: 16%;
  width: 24%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #e5b872;
}

.art-orbit {
  position: absolute;
  inset: 14% 12%;
  border: 1px solid rgb(40 75 61 / 32%);
  border-radius: 50%;
  transform: rotate(-35deg);
}

.orbit-two {
  inset: 22% 6%;
  border-color: rgb(40 75 61 / 22%);
  transform: rotate(38deg);
}

.art-disc {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  width: 43%;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 25px 55px rgb(23 44 38 / 20%);
  color: #f7f3e8;
  font-family: Manrope, sans-serif;
  font-size: clamp(37px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.1em;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.art-spark {
  position: absolute;
  color: #bf7a2c;
  font-size: 33px;
}

.spark-one {
  top: 26%;
  left: 17%;
}

.spark-two {
  right: 17%;
  bottom: 20%;
  color: #596e59;
  font-size: 24px;
}

.art-caption {
  position: absolute;
  bottom: 14%;
  left: 12%;
  color: #526457;
  font-family: Georgia, serif;
  font-size: 13px;
  font-style: italic;
  line-height: 1.4;
  transform: rotate(-8deg);
}

.hero-index {
  position: absolute;
  bottom: 34px;
  left: 3.2%;
  color: #7a8075;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.15em;
}

.intro-section {
  display: grid;
  grid-template-columns: 0.65fr 1.35fr;
  gap: 8%;
  padding: 105px max(56px, calc((100% - 1320px) / 2 + 44px));
  background: #ebe9e1;
}

.section-kicker {
  padding-top: 12px;
  color: #747d70;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.intro-content {
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  align-items: end;
  gap: 40px;
}

.intro-content h2,
.contact-section h2 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(35px, 4.5vw, 57px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 1.08;
}

.intro-content h2 span {
  color: #778273;
  font-family: Georgia, serif;
  font-size: 0.9em;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.07em;
}

.intro-content p {
  max-width: 330px;
  margin: 0 0 5px;
  color: #6e7469;
  font-size: 13px;
  line-height: 1.8;
}

.service-grid {
  display: grid;
  width: min(100% - 112px, 1320px);
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 auto;
  padding: 74px 0 112px;
}

.service-card {
  display: flex;
  min-height: 370px;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 21px 22px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.websites-card {
  background: #e8e2d5;
}

.webapps-card {
  background: #dce3d6;
}

.mobile-card {
  background: #e7ddd0;
}

.service-card-top,
.service-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.service-card-top {
  color: #74796e;
  font-size: 10px;
  font-weight: 600;
}

.service-card-bottom p {
  margin: 0 0 6px;
  color: #72786d;
  font-size: 10px;
}

.service-card-bottom h3 {
  margin: 0;
  font-family: Manrope, sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.card-arrow {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgb(23 44 38 / 25%);
  border-radius: 50%;
  font-size: 14px;
}

.mini-window {
  position: relative;
  width: 83%;
  height: 174px;
  align-self: center;
  overflow: hidden;
  border: 5px solid #f5f3ed;
  border-radius: 5px;
  background: #f4f0e7;
  box-shadow: 0 15px 25px rgb(32 42 32 / 12%);
  transform: rotate(-3deg);
}

.dashboard-window {
  display: flex;
  width: 86%;
  height: 165px;
  border-color: #f1f3eb;
  background: #fcfcf8;
  transform: rotate(2deg);
}

.dashboard-side {
  display: flex;
  width: 26%;
  flex-direction: column;
  gap: 13px;
  padding: 11px 7px;
  background: #263d33;
}

.dashboard-side b,
.dashboard-side i {
  width: 75%;
  height: 4px;
  border-radius: 5px;
  background: #a4b3a5;
}

.dashboard-side b {
  height: 8px;
  margin-bottom: 5px;
  background: #e0b371;
}

.dashboard-main {
  flex: 1;
  padding: 13px 11px;
}

.dashboard-heading {
  width: 55%;
  height: 7px;
  margin-bottom: 12px;
  background: #405649;
}

.dashboard-stat {
  width: 100%;
  height: 35px;
  border: 1px solid #e8e9df;
  background: linear-gradient(90deg, #e1e9dd 40%, transparent 40%);
}

.dashboard-chart {
  display: flex;
  height: 51px;
  align-items: end;
  gap: 6px;
  padding-top: 8px;
}

.dashboard-chart i {
  flex: 1;
  height: 50%;
  background: #94a98d;
}

.dashboard-chart i:nth-child(2n) {
  height: 80%;
  background: #d6ad70;
}

.dashboard-chart i:nth-child(3n) {
  height: 65%;
}

.phone-pair {
  position: relative;
  display: flex;
  width: 170px;
  height: 205px;
  align-items: center;
  align-self: center;
  justify-content: center;
}

.phone {
  position: absolute;
  width: 91px;
  height: 175px;
  overflow: hidden;
  border: 5px solid #28352d;
  border-radius: 17px;
  background: #f7f3e7;
  box-shadow: 0 13px 22px rgb(33 39 29 / 18%);
}

.phone-back {
  margin-left: 53px;
  background: #cad7c1;
  transform: rotate(12deg);
}

.phone-front {
  margin-left: -35px;
  transform: rotate(-9deg);
}

.phone-island {
  position: relative;
  z-index: 1;
  width: 32px;
  height: 7px;
  margin: 3px auto 10px;
  border-radius: 6px;
  background: #28352d;
}

.phone-swatch {
  width: 53px;
  height: 53px;
  margin: 13px auto 8px;
  border-radius: 50%;
  background: #e8b66d;
}

.phone-line,
.phone-title {
  width: 59px;
  height: 4px;
  margin: 0 auto 6px;
  background: #879783;
}

.phone-title {
  width: 54px;
  height: 7px;
  margin-top: 13px;
  background: #3a5544;
}

.phone-sun {
  width: 43px;
  height: 43px;
  margin: 7px auto;
  border-radius: 50%;
  background: #e4b56d;
}

.phone-pill,
.phone-button {
  width: 54px;
  height: 15px;
  margin: 13px auto;
  border-radius: 10px;
  background: #405b48;
}

.manifesto {
  position: relative;
  padding: 85px max(56px, calc((100% - 1160px) / 2));
  background: #e8e6de;
}

.manifesto-copy {
  max-width: 890px;
  margin: 30px 0 0;
  font-family: Manrope, sans-serif;
  font-size: clamp(34px, 5.3vw, 67px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.2;
}

.manifesto-note {
  position: absolute;
  right: max(56px, calc((100% - 1160px) / 2));
  bottom: 45px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6c7569;
  font-size: 10px;
  line-height: 1.6;
}

.note-mark {
  color: #c6823e;
  font-size: 26px;
}

.contact-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr auto;
  align-items: end;
  gap: 42px;
  padding: 90px max(56px, calc((100% - 1160px) / 2));
  background: var(--ink);
  color: var(--paper);
}

.contact-section .eyebrow {
  color: #bec7b8;
}

.contact-section h2 {
  margin-top: 22px;
  font-size: clamp(48px, 6vw, 76px);
}

.contact-copy {
  max-width: 275px;
  margin: 0 0 5px;
  color: #bbc5ba;
  font-size: 13px;
  line-height: 1.8;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
}

.contact-phone {
  color: #d7dfd4;
  font-size: 13px;
  font-weight: 600;
  text-decoration-color: #718477;
  text-underline-offset: 4px;
}

.contact-phone:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.site-footer {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px max(56px, calc((100% - 1320px) / 2));
  color: #71796f;
  font-size: 10px;
}

.footer-brand {
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}

.portfolio-hero {
  position: relative;
  width: min(100% - 112px, 1200px);
  margin: 0 auto;
  padding: 91px 0 55px;
  border-bottom: 1px solid var(--line);
}

.portfolio-hero h1 {
  margin: 24px 0 15px;
  font-size: clamp(60px, 9vw, 104px);
}

.title-period {
  color: #c6823e;
}

.portfolio-hero > p:not(.eyebrow) {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.portfolio-count {
  position: absolute;
  right: 0;
  bottom: 60px;
  color: #737b70;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.portfolio-count span {
  margin-left: 10px;
  color: #c6823e;
}

.portfolio-list {
  display: grid;
  width: min(100% - 112px, 1200px);
  gap: 80px;
  margin: 0 auto;
  padding: 62px 0 90px;
}

.project-card {
  min-width: 0;
}

.project-offset {
  width: 73%;
  justify-self: end;
}

.project-visual {
  position: relative;
  display: grid;
  min-height: 440px;
  place-items: center;
  overflow: hidden;
}

.project-offset .project-visual {
  min-height: 380px;
}

.project-visual-link {
  color: inherit;
  text-decoration: none;
}

.project-visual-link:focus-visible,
.project-info h2 a:focus-visible {
  outline: 2px solid #bf7a2c;
  outline-offset: 4px;
}

.visual-sefer {
  background:
    radial-gradient(ellipse at 75% 20%, rgb(217 198 160 / 48%), transparent 32%),
    #e8e4d9;
}

.sefer-browser {
  position: relative;
  width: 82%;
  min-height: 315px;
  padding: 18px 22px 13px;
  background: #fbfaf6;
  box-shadow: 0 22px 50px rgb(42 52 41 / 14%);
  transition: transform 180ms ease;
}

.project-visual-link:hover .sefer-browser {
  transform: translateY(-4px);
}

.sefer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e6e2d9;
  color: #5e625c;
  font-size: 7px;
}

.sefer-top span:first-child {
  color: #344b3b;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sefer-content {
  display: flex;
  min-height: 205px;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.sefer-copy {
  position: relative;
  z-index: 1;
  flex: 1 1 56%;
}

.sefer-copy > span:first-child {
  color: #8a785f;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.11em;
}

.sefer-copy h3 {
  margin: 10px 0 13px;
  color: #28392e;
  font-family: Georgia, serif;
  font-size: clamp(20px, 3.3vw, 37px);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.sefer-copy h3 i {
  color: #a76e39;
  font-weight: 400;
}

.sefer-button {
  display: inline-block;
  padding: 9px 11px;
  background: #344b3b;
  color: #fbfaf6;
  font-size: 6px;
  letter-spacing: 0.07em;
}

.sefer-books {
  position: relative;
  flex: 0 0 36%;
  height: 145px;
}

.sefer-book {
  position: absolute;
  bottom: 13px;
  width: 72px;
  height: 106px;
  border: 1px solid rgb(45 53 42 / 19%);
  box-shadow: 3px 6px 9px rgb(48 43 34 / 16%);
}

.book-back {
  right: 4px;
  background: #c6b395;
  transform: rotate(12deg);
}

.book-middle {
  right: 41px;
  bottom: 5px;
  background: #536b57;
  transform: rotate(-8deg);
}

.book-front {
  right: 32px;
  bottom: 17px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #eee3cd;
  color: #654b34;
  transform: rotate(3deg);
}

.book-front span {
  font-family: Georgia, serif;
  font-size: 20px;
}

.book-front i {
  font-size: 5px;
  font-style: normal;
  letter-spacing: 0.1em;
}

.sefer-categories {
  display: flex;
  justify-content: space-between;
  gap: 7px;
  padding-top: 11px;
  border-top: 1px solid #e6e2d9;
  color: #6d7268;
  font-size: 6px;
  letter-spacing: 0.06em;
}

.sefer-visit {
  position: absolute;
  right: 15px;
  bottom: -13px;
  padding: 7px 10px;
  background: #e4b66f;
  color: #28392e;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.visual-fretboard {
  background:
    radial-gradient(ellipse at 75% 15%, rgb(198 243 106 / 12%), transparent 48%),
    #111511;
}

.fretboard-preview {
  display: flex;
  width: min(76%, 510px);
  min-height: 300px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px;
  border: 1px solid #303a31;
  border-radius: 16px;
  background: #1a201b;
  box-shadow: 0 22px 50px rgb(0 0 0 / 25%);
  color: #f0f1e8;
}

.fretboard-preview-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c6f36a;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.fretboard-preview-brand i {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border: 1px solid #49573a;
  border-radius: 8px;
  font-size: 14px;
  font-style: normal;
}

.fretboard-preview-brand small {
  margin-left: auto;
  color: #9da69a;
  font-size: 8px;
  font-weight: 600;
}

.fretboard-preview strong {
  margin-top: 30px;
  font-family: Manrope, sans-serif;
  font-size: clamp(24px, 3vw, 36px);
  letter-spacing: -0.05em;
}

.fretboard-preview-copy {
  margin-top: 6px;
  color: #9da69a;
  font-size: 12px;
}

.fretboard-preview-neck {
  width: 100%;
  height: auto;
  margin-top: 24px;
  overflow: visible;
}

.fretboard-headstock {
  fill: url("#headstock-wood");
  stroke: #b88d61;
  stroke-width: 2;
}

.fretboard-wood {
  fill: url("#neck-wood");
  stroke: #b88d61;
  stroke-width: 2;
}

.fretboard-edge {
  fill: none;
  stroke: rgb(244 221 181 / 55%);
  stroke-width: 1;
}

.fretboard-tuners path {
  fill: none;
  stroke: #c7c3b4;
  stroke-width: 3;
  stroke-linecap: round;
}

.fretboard-tuners circle {
  fill: #d9d4c3;
  stroke: #77786e;
  stroke-width: 2;
}

.fretboard-nut,
.fretboard-frets path {
  fill: none;
  stroke: #d7c8a9;
  stroke-width: 3;
}

.fretboard-frets path {
  stroke: #dbc9a6;
  stroke-width: 2;
}

.fretboard-inlays circle {
  fill: #d5c6a7;
  opacity: 0.88;
}

.fretboard-strings path {
  fill: none;
  stroke: url("#guitar-string");
  stroke-width: 1.35;
}

.fretboard-strings path:first-child,
.fretboard-strings path:last-child {
  stroke-width: 1.8;
}

.fretboard-notes circle {
  fill: #c6f36a;
  stroke: #f0ffc8;
  stroke-width: 2;
}

.visual-quote-demo { background: #e8dfd1; }
.visual-area-demo { background: #dce8df; }
.visual-maintenance-demo { background: #e8e8d9; }
.visual-materials-demo { background: #e8ddd2; }

.portfolio-demo-window {
  display: flex;
  width: min(76%, 520px);
  min-height: 300px;
  flex-direction: column;
  justify-content: center;
  gap: 13px;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgb(29 49 41 / 10%);
  border-radius: 14px;
  background: #fffefa;
  box-shadow: 0 22px 50px rgb(42 52 41 / 13%);
  color: #1d3129;
}

.portfolio-demo-label {
  color: #7d8277;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.13em;
}

.portfolio-demo-window > strong {
  font-family: Manrope, sans-serif;
  font-size: clamp(20px, 3vw, 30px);
  letter-spacing: -0.055em;
  line-height: 1.15;
}

.portfolio-demo-field {
  display: flex;
  min-height: 42px;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  border: 1px solid #d5dbd1;
  border-radius: 6px;
  color: #687368;
  font-size: 10px;
}

.portfolio-demo-field i {
  color: #345744;
  font-style: normal;
  font-weight: 700;
}

.portfolio-demo-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.portfolio-demo-options i {
  padding: 9px 5px;
  border: 1px solid #e0e5dd;
  border-radius: 5px;
  color: #58665b;
  font-size: 8px;
  font-style: normal;
  text-align: center;
}

.portfolio-demo-button {
  display: flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
  border-radius: 5px;
  background: #315343;
  color: white;
  font-size: 9px;
  font-weight: 700;
}

.area-window { background: #fffefa; }

.portfolio-map {
  position: relative;
  display: grid;
  min-height: 85px;
  grid-template-columns: repeat(4, 1fr);
  place-items: center;
  overflow: hidden;
  border: 1px solid #d8e1d8;
  border-radius: 7px;
  background:
    linear-gradient(28deg, transparent 47%, #cbd9c9 48% 50%, transparent 51%),
    linear-gradient(145deg, transparent 45%, #d2dfd0 46% 48%, transparent 49%),
    #edf2e8;
}

.portfolio-map::before,
.portfolio-map::after {
  position: absolute;
  width: 130%;
  height: 1px;
  background: #d3ddce;
  content: "";
}

.portfolio-map::before { transform: rotate(12deg); }
.portfolio-map::after { transform: rotate(-18deg); }

.portfolio-map i,
.portfolio-map b {
  z-index: 1;
  color: #789472;
  font-size: 10px;
  font-style: normal;
}

.portfolio-map b {
  color: #b87942;
  font-size: 18px;
}

.portfolio-demo-success {
  padding: 10px 12px;
  border-radius: 5px;
  background: #edf4e9;
  color: #345744;
  font-size: 9px;
  font-weight: 700;
}

.maintenance-window { background: #fffefa; }

.portfolio-check {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4a594d;
  font-size: 10px;
}

.portfolio-check i {
  display: grid;
  width: 16px;
  height: 16px;
  place-items: center;
  border: 1px solid #aebcad;
  border-radius: 4px;
  color: white;
  font-size: 9px;
  font-style: normal;
}

.portfolio-check:nth-of-type(2) i,
.portfolio-check:nth-of-type(3) i {
  border-color: #6a8b68;
  background: #6a8b68;
}

.portfolio-demo-progress {
  height: 6px;
  overflow: hidden;
  border-radius: 99px;
  background: #e5e9e1;
}

.portfolio-demo-progress i {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: #6a8b68;
}

.portfolio-demo-caption {
  color: #7d8277;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.paint-window { background: #fffaf3; }

.paint-room {
  position: relative;
  display: grid;
  min-height: 110px;
  grid-template-columns: 1fr 1fr;
  place-items: center;
  border: 1px solid #e4d7c8;
  background: linear-gradient(180deg, #f8efe2 0 74%, #b99a7c 75%);
  perspective: 300px;
}

.paint-room i {
  width: 90%;
  height: 66px;
  border: 1px solid #c9b29a;
  background: #f9f3ea;
}

.paint-room i:first-child { transform: skewY(-5deg); }
.paint-room i:nth-child(2) { transform: skewY(5deg); }
.paint-room i:nth-child(3) { display: none; }

.paint-room b {
  position: absolute;
  right: 12px;
  bottom: 8px;
  color: #725d48;
  font-size: 8px;
}

.paint-result {
  display: grid;
  gap: 3px;
  padding: 12px 14px;
  border-radius: 6px;
  background: #edf2e8;
}

.paint-result i {
  color: #718071;
  font-size: 7px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.paint-result b {
  color: #315343;
  font-family: Manrope, sans-serif;
  font-size: 22px;
}

.paint-result small {
  color: #69766c;
  font-size: 8px;
}

.fretboard-preview-action {
  margin-top: 17px;
  color: #c6f36a;
  font-size: 11px;
  font-weight: 700;
}

.visual-brightwords {
  background: #dfe8df;
}

.visual-figured-bass {
  background: #e9dfd0;
}

.project-visual-link {
  position: relative;
}

.app-visual-caption {
  position: absolute;
  top: 16px;
  right: 17px;
  z-index: 1;
  padding: 7px 9px;
  border: 1px solid rgb(23 44 38 / 16%);
  border-radius: 2px;
  background: rgb(245 243 237 / 78%);
  color: #697366;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.brightwords-preview {
  position: relative;
  width: 225px;
  height: 350px;
  padding: 20px 16px 14px;
  overflow: hidden;
  border: 6px solid #283a32;
  border-radius: 31px;
  background: #f8f6ef;
  box-shadow: 0 25px 50px rgb(42 52 41 / 18%);
  color: #344b3b;
  transform: rotate(-2deg);
  transition: transform 180ms ease;
}

.project-visual-link:hover .brightwords-preview,
.project-visual-link:hover .figured-preview {
  transform: translateY(-4px) rotate(0);
}

.brightwords-preview .mock-notch {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 67px;
  height: 14px;
  border-radius: 12px;
  background: #283a32;
  transform: translateX(-50%);
}

.brightwords-top,
.figured-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  color: #405c4c;
  font-family: Manrope, sans-serif;
  font-size: 11px;
  font-weight: 700;
}

.brightwords-top span:last-child {
  font-size: 8px;
}

.brightwords-label,
.figured-level {
  display: block;
  margin-top: 18px;
  color: #858b7c;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.brightwords-photo {
  position: relative;
  height: 157px;
  margin-top: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, #c8d8d1 0 56%, #b9c9ad 56% 100%);
}

.photo-sun {
  position: absolute;
  top: 17px;
  right: 23px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #f2d89d;
}

.photo-hill {
  position: absolute;
  right: -15px;
  bottom: -47px;
  left: -20px;
  height: 105px;
  border-radius: 50% 50% 0 0;
  background: #829879;
  transform: rotate(-6deg);
}

.photo-person {
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 64px;
  height: 87px;
  border-radius: 48% 48% 6px 6px;
  background: #8c624b;
  transform: translateX(-50%);
}

.photo-person::before {
  position: absolute;
  top: -32px;
  left: 12px;
  width: 40px;
  height: 42px;
  border-radius: 50%;
  background: #d7ad85;
  content: "";
}

.photo-person i {
  position: absolute;
  top: -34px;
  left: 10px;
  width: 43px;
  height: 20px;
  border-radius: 50% 50% 20% 20%;
  background: #6e4a39;
}

.brightwords-word {
  margin-top: 12px;
  color: #304638;
  font-family: Georgia, serif;
  font-size: 20px;
  text-align: center;
}

.brightwords-hint {
  display: block;
  margin-top: 4px;
  color: #7a8174;
  font-size: 7px;
  text-align: center;
}

.brightwords-actions {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-top: 12px;
}

.brightwords-actions span {
  padding: 9px 10px;
  border: 1px solid #d6dbd0;
  border-radius: 6px;
  color: #455b49;
  font-size: 8px;
}

.brightwords-actions span:last-child {
  flex: 1;
  border-color: #405c48;
  background: #405c48;
  color: #f8f6ef;
  text-align: center;
}

.figured-preview {
  width: min(84%, 390px);
  padding: 19px 20px 17px;
  border: 1px solid rgb(45 61 48 / 9%);
  border-radius: 12px;
  background: #fbfaf6;
  box-shadow: 0 22px 50px rgb(42 52 41 / 13%);
  color: #324839;
  transition: transform 180ms ease;
}

.figured-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.figured-app-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 9px;
  background: #304b3b;
  color: #f5f0e3;
  font-family: Georgia, serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.07em;
}

.figured-app-name {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 3px;
  color: #2f4134;
  font-size: 11px;
  font-weight: 700;
}

.figured-app-name small {
  color: #858b7c;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.figured-menu {
  align-self: flex-start;
  color: #818a7e;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.figured-session {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 11px;
  color: #657365;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.figured-session span:last-child {
  color: #364c3a;
  font-size: 10px;
  letter-spacing: 0;
}

.figured-session i {
  color: #92988c;
  font-size: 8px;
  font-style: normal;
  font-weight: 500;
}

.chord-card {
  padding: 13px 13px 12px;
  border: 1px solid #e8e8df;
  border-radius: 8px;
  background: #fffefa;
}

.chord-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: #778173;
  font-size: 6px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.chord-heading span:last-child {
  padding: 5px 6px;
  border-radius: 3px;
  background: #edf0e9;
  color: #60725e;
  font-size: 5px;
}

.music-staff {
  display: block;
  width: 100%;
  height: 116px;
  margin: 4px auto 0;
}

.staff-lines {
  fill: none;
  stroke: #c9cbbf;
  stroke-width: 1;
}

.bass-clef-glyph {
  fill: #405c48;
  font-family: "Noto Music", serif;
  font-size: 78px;
}

.whole-note {
  fill: #fffefa;
  stroke: #344b3b;
  stroke-width: 2.5;
}

.figured-question {
  margin: 1px 0 10px;
  color: #536151;
  font-size: 8px;
  text-align: center;
}

.figure-choices {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.figure-choices span {
  display: grid;
  min-height: 38px;
  place-content: center;
  border: 1px solid #e3e5dc;
  border-radius: 6px;
  color: #344b3b;
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 0.85;
  text-align: center;
}

.figure-choices .choice-selected {
  border-color: #7d947b;
  background: #edf2e9;
  color: #304b3b;
}

.figure-choices small {
  font-size: 10px;
}

.figured-progress {
  height: 3px;
  margin-top: 15px;
  overflow: hidden;
  border-radius: 2px;
  background: #e5e7df;
}

.figured-progress span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: #829579;
}

.figured-progress-label {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  color: #83897c;
  font-size: 5px;
  letter-spacing: 0.1em;
}

.project-info {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 2px 0;
}

.project-type {
  color: #7b8175;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.project-info h2 {
  margin: 8px 0 5px;
  font-family: Manrope, sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.06em;
}

.project-info h2 a {
  text-decoration: none;
}

.project-info h2 a:hover {
  color: #a7662b;
}

.project-info h2 a span {
  display: inline-block;
  color: #a7662b;
  font-size: 0.62em;
  vertical-align: 0.18em;
  transition: transform 160ms ease;
}

.project-info h2 a:hover span {
  transform: translate(2px, -2px);
}

.project-info .store-link {
  display: inline-block;
  margin-top: 7px;
  color: #a7662b;
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.project-info .store-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.project-info p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.project-number {
  padding-top: 5px;
  color: #9a9d91;
  font-size: 10px;
}

.portfolio-next {
  display: flex;
  align-items: center;
  gap: clamp(18px, 5vw, 65px);
  padding: 23px max(56px, calc((100% - 1200px) / 2));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.portfolio-next > span {
  margin-right: auto;
  color: #858a7d;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.portfolio-next a {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.portfolio-next a:hover {
  color: #bf7a2c;
}

@media (min-width: 1500px) {
  .home-hero {
    min-height: 700px;
  }
}

@media (max-width: 900px) {
  .site-header,
  .home-hero,
  .service-grid {
    width: calc(100% - 64px);
  }

  .home-hero {
    min-height: 540px;
  }

  .primary-nav {
    gap: 20px;
  }

  .primary-nav a {
    font-size: 12px;
  }

  .home-hero h1 {
    font-size: clamp(60px, 9vw, 82px);
  }

  .service-grid {
    gap: 12px;
  }

  .service-card {
    min-height: 330px;
    padding: 17px;
  }

  .intro-section {
    padding-right: 40px;
    padding-left: 40px;
  }

  .contact-section {
    grid-template-columns: 1fr 0.8fr;
    padding-right: 40px;
    padding-left: 40px;
  }

  .contact-actions {
    grid-column: 2;
    justify-self: start;
  }

  .site-footer {
    padding-right: 32px;
    padding-left: 32px;
  }

  .portfolio-hero,
  .portfolio-list {
    width: calc(100% - 64px);
  }

  .portfolio-next {
    padding-right: 32px;
    padding-left: 32px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 40px);
    min-height: 76px;
  }

  .brand {
    gap: 9px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand-name {
    font-size: 17px;
  }

  .menu-toggle {
    display: flex;
    width: 42px;
    height: 42px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid #d7d6cc;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    width: 16px;
    height: 1px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-last-child(2) {
    transform: translateY(3.5px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.5px) rotate(-45deg);
  }

  .primary-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: -20px;
    left: -20px;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 9px 20px 18px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
  }

  .primary-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .primary-nav a {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
  }

  .primary-nav .nav-cta {
    justify-content: space-between;
    margin-top: 12px;
    padding: 13px 15px;
    border: 1px solid #c9c8bd;
  }

  .home-hero {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 61px 0 66px;
  }

  .hero-copy {
    padding: 0;
  }

  .home-hero h1 {
    margin: 22px 0 18px;
    font-size: clamp(62px, 15vw, 88px);
  }

  .hero-lede {
    max-width: 390px;
    font-size: 14px;
  }

  .hero-art {
    width: min(88%, 430px);
    justify-self: center;
  }

  .hero-index {
    bottom: 23px;
    left: 0;
  }

  .intro-section {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 58px 25px;
  }

  .intro-content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .intro-content h2 {
    font-size: 43px;
  }

  .intro-content p {
    max-width: 390px;
  }

  .service-grid {
    width: calc(100% - 40px);
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 45px 0 63px;
  }

  .service-card {
    min-height: 315px;
    padding: 19px 20px;
  }

  .mini-window {
    width: min(74%, 300px);
  }

  .dashboard-window {
    width: min(78%, 320px);
  }

  .phone-pair {
    transform: scale(0.9);
  }

  .manifesto {
    padding: 60px 25px 115px;
  }

  .manifesto-copy {
    margin-top: 24px;
    font-size: clamp(36px, 10vw, 54px);
  }

  .manifesto-note {
    right: 25px;
    bottom: 27px;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 23px;
    padding: 62px 25px;
  }

  .contact-section h2 {
    font-size: 62px;
  }

  .contact-copy {
    margin: 0;
  }

  .contact-actions {
    grid-column: auto;
  }

  .site-footer {
    min-height: 120px;
    flex-wrap: wrap;
    gap: 12px 20px;
    padding: 22px 20px;
  }

  .site-footer > span:first-of-type {
    display: none;
  }

  .site-footer > span:last-of-type {
    margin-left: auto;
  }

  .portfolio-hero,
  .portfolio-list {
    width: calc(100% - 40px);
  }

  .portfolio-hero {
    padding: 63px 0 75px;
  }

  .portfolio-hero h1 {
    margin: 21px 0 14px;
    font-size: clamp(52px, 13vw, 78px);
  }

  .portfolio-hero > p:not(.eyebrow) {
    font-size: 14px;
  }

  .portfolio-count {
    right: auto;
    bottom: 26px;
    left: 0;
  }

  .portfolio-list {
    gap: 48px;
    padding: 35px 0 58px;
  }

  .project-offset {
    width: 90%;
  }

  .project-visual,
  .project-offset .project-visual {
    min-height: 300px;
  }

  .sefer-browser {
    width: 91%;
    min-height: 254px;
    padding: 14px 14px 11px;
  }

  .sefer-top {
    font-size: 5px;
  }

  .sefer-top span:first-child {
    font-size: 11px;
  }

  .sefer-content {
    min-height: 167px;
  }

  .sefer-copy h3 {
    font-size: clamp(18px, 6vw, 28px);
  }

  .sefer-books {
    flex-basis: 35%;
    height: 123px;
  }

  .sefer-book {
    width: 55px;
    height: 82px;
  }

  .book-middle {
    right: 32px;
  }

  .book-front {
    right: 24px;
  }

  .book-front span {
    font-size: 16px;
  }

  .sefer-categories {
    gap: 4px;
    font-size: 5px;
  }

  .sefer-visit {
    right: 10px;
    bottom: -11px;
    padding: 6px 7px;
    font-size: 6px;
  }

  .visual-brightwords {
    min-height: 330px;
  }

  .visual-figured-bass {
    min-height: 330px;
  }

  .app-visual-caption {
    top: 12px;
    right: 12px;
    font-size: 6px;
  }

  .brightwords-preview {
    width: 210px;
    height: 320px;
    padding: 18px 14px 12px;
  }

  .brightwords-photo {
    height: 130px;
  }

  .figured-preview {
    width: min(88%, 360px);
    padding: 16px 15px 14px;
  }

  .music-staff {
    height: 108px;
  }

  .chord-card {
    padding: 11px 10px 10px;
  }

  .figure-choices {
    gap: 5px;
  }

  .project-info h2 {
    font-size: 21px;
  }

  .project-info p {
    max-width: 340px;
    font-size: 11px;
  }

  .portfolio-next {
    flex-wrap: wrap;
    gap: 18px;
    padding: 19px 20px;
  }

  .portfolio-next > span {
    flex-basis: 100%;
  }

  .portfolio-next a {
    font-size: 11px;
  }
}

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