:root {
  color-scheme: light;
  --page: #f5f6f3;
  --surface: #ffffff;
  --surface-soft: #eef1ed;
  --ink: #172321;
  --ink-soft: #52615d;
  --muted: #78827e;
  --line: #e2e7e2;
  --accent: #287c68;
  --accent-dark: #1c5f50;
  --accent-pale: #dcece5;
  --dark: #172321;
  --font-body: "DM Sans", "Segoe UI", sans-serif;
  --font-display: "Manrope", "Segoe UI", sans-serif;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

button,
a {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

svg {
  display: block;
}

::selection {
  background: #cce4d9;
  color: var(--ink);
}

.container {
  width: min(var(--container), calc(100% - 64px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--dark);
  color: white;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  background: rgb(245 246 243 / 91%);
  border-bottom: 1px solid rgb(226 231 226 / 80%);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
}

.brand-mark {
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--dark);
  color: white;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -1.5px;
}

.brand-mark span,
.brand-mark + .brand-name {
  color: var(--ink);
}

.brand-mark span {
  color: #8ed3b2;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.15px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 600;
}

.main-nav > a:not(.nav-contact) {
  transition: color 160ms ease;
}

.main-nav > a:not(.nav-contact):hover {
  color: var(--accent);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border: 1px solid #d5dcd6;
  border-radius: 8px;
  color: var(--ink);
  transition: background 160ms ease, border-color 160ms ease;
}

.nav-contact:hover {
  border-color: #b7c9bd;
  background: var(--surface);
}

.text-link svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.menu-toggle {
  display: none;
}

.section-shell {
  position: relative;
}

.hero {
  overflow: hidden;
  padding: 78px 0 76px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  position: absolute;
  top: 16px;
  right: -230px;
  width: 650px;
  height: 650px;
  border: 1px solid #e8ece7;
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(410px, 0.9fr);
  align-items: center;
  gap: 50px;
}

.hero-copy {
  padding: 5px 0 0 4px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 21px;
  color: var(--accent-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.25px;
  line-height: 1.4;
  text-transform: uppercase;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #62a786;
  box-shadow: 0 0 0 4px #e1eee6;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
}

h1 {
  max-width: 610px;
  margin-bottom: 22px;
  font-size: clamp(42px, 5.2vw, 65px);
  font-weight: 700;
  letter-spacing: -3.5px;
  line-height: 1.08;
}

h1 span {
  color: var(--accent);
}

.hero-intro {
  max-width: 475px;
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 23px;
}

.button {
  display: inline-flex;
  min-height: 47px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.button-dark {
  background: var(--dark);
  color: white;
}

.button-dark:hover {
  background: #263a35;
  box-shadow: 0 8px 18px rgb(23 35 33 / 13%);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 700;
  transition: color 160ms ease;
}

.text-link:hover {
  color: var(--accent);
}

.hero-facts {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 49px;
}

.hero-facts > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-facts strong {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.6px;
}

.hero-facts span:not(.fact-divider) {
  color: var(--muted);
  font-size: 10px;
}

.fact-divider {
  width: 1px;
  height: 33px;
  background: #d8ded8;
}

.hero-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  place-items: center;
  isolation: isolate;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  width: 335px;
  height: 335px;
  border-radius: 50%;
  background: #e6eee8;
  content: "";
}

.visual-orbit {
  position: absolute;
  border: 1px solid #dbe3dc;
  border-radius: 50%;
}

.orbit-one {
  width: 440px;
  height: 290px;
  transform: rotate(-24deg);
}

.orbit-two {
  width: 410px;
  height: 350px;
  transform: rotate(45deg);
}

.visual-window {
  z-index: 1;
  width: min(390px, 83%);
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 90%);
  border-radius: 15px;
  background: rgb(255 255 255 / 93%);
  box-shadow: 0 30px 80px rgb(34 56 48 / 16%), 0 4px 14px rgb(34 56 48 / 7%);
  transform: rotate(-3deg);
}

.window-top {
  display: flex;
  height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  border-bottom: 1px solid #edf0ec;
  color: #87918c;
  font-size: 8px;
}

.window-dots {
  display: flex;
  gap: 4px;
}

.window-dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d9e0db;
}

.window-dots i:first-child {
  background: #d98d7a;
}

.window-dots i:nth-child(2) {
  background: #e6c374;
}

.window-lock {
  color: #80ae91;
  font-size: 7px;
}

.window-body {
  padding: 22px 24px 16px;
}

.window-greeting {
  display: flex;
  flex-direction: column;
  margin-bottom: 19px;
}

.mini-label {
  margin-bottom: 7px;
  color: #89938e;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: 1px;
}

.window-greeting strong {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: -0.8px;
  line-height: 1.4;
}

.window-greeting strong span {
  color: var(--accent);
}

.window-greeting small {
  color: #89938e;
  font-size: 9px;
}

.mini-project {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
  padding: 10px 11px;
  border: 1px solid #eef0ed;
  border-radius: 9px;
}

.mini-project-primary {
  border-color: #dce9e0;
  background: #f6faf7;
}

.mini-project-icon {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
}

.icon-store {
  background: #dcece5;
  color: #27705f;
}

.icon-organize {
  background: #e8e4f6;
  color: #665c9d;
}

.mini-project > span:nth-child(2) {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.mini-project b {
  font-size: 9px;
}

.mini-project small {
  color: #89938e;
  font-size: 8px;
}

.mini-arrow {
  margin-left: auto;
  color: #78857e;
  font-size: 13px;
}

.window-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 18px;
  color: #8b9690;
  font-size: 8px;
}

.window-bottom span:first-child {
  display: flex;
  align-items: center;
  gap: 6px;
}

.window-bottom i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #71a989;
}

.floating-note {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid rgb(255 255 255 / 90%);
  border-radius: 10px;
  background: rgb(255 255 255 / 94%);
  box-shadow: 0 12px 30px rgb(34 56 48 / 9%);
}

.floating-note > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}

.floating-note b {
  font-size: 9px;
}

.floating-note small {
  color: #86918b;
  font-size: 8px;
}

.note-top {
  top: 53px;
  right: 0;
}

.note-bottom {
  bottom: 8px;
  left: 0;
}

.note-icon {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  border-radius: 7px;
  background: #e8f1eb;
  color: var(--accent);
  font-size: 16px;
}

.note-chart {
  display: flex;
  height: 23px;
  align-items: end;
  gap: 3px;
  padding: 0 3px;
}

.note-chart i {
  width: 4px;
  border-radius: 3px 3px 1px 1px;
  background: #80b69a;
}

.note-chart i:nth-child(1) { height: 9px; }
.note-chart i:nth-child(2) { height: 15px; }
.note-chart i:nth-child(3) { height: 12px; }
.note-chart i:nth-child(4) { height: 21px; }

.visual-index {
  position: absolute;
  right: 10px;
  bottom: 13px;
  color: #89958e;
  font-size: 9px;
  letter-spacing: 1px;
}

.projects-section {
  padding: 95px 0 100px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 40px;
}

.section-heading .eyebrow,
.profile-heading .eyebrow {
  margin-bottom: 13px;
}

.section-heading h2,
.profile-heading h2,
.contact-panel h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3.4vw, 42px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.2;
}

.section-heading h2 span,
.profile-heading h2 span {
  color: var(--accent);
}

.section-intro {
  max-width: 360px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 21px;
}

.filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.filter-button {
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: #727d77;
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.filter-button:hover {
  border-color: #dfe5df;
  color: var(--ink);
}

.filter-button.is-active {
  border-color: #d8e6dd;
  background: #e7f0e9;
  color: var(--accent-dark);
}

.project-count {
  color: #8a948f;
  font-size: 10px;
  white-space: nowrap;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.project-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #e3e8e3;
  border-radius: 13px;
  background: var(--surface);
  box-shadow: 0 4px 14px rgb(30 45 38 / 2%);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: #cddbd1;
  box-shadow: 0 15px 32px rgb(30 45 38 / 8%);
}

.project-card[hidden] {
  display: none;
}

.project-card-link {
  display: block;
  outline-offset: -3px;
}

.project-preview {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.91 / 1;
  background: #e9eee9;
}

.project-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 400ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.project-card:hover .project-preview img {
  transform: scale(1.035);
}

.preview-tag {
  position: absolute;
  bottom: 13px;
  left: 14px;
  padding: 5px 9px;
  border: 1px solid rgb(255 255 255 / 55%);
  border-radius: 5px;
  background: rgb(255 255 255 / 86%);
  color: #374640;
  font-size: 9px;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.preview-arrow {
  position: absolute;
  top: 13px;
  right: 14px;
  display: grid;
  width: 29px;
  height: 29px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 45%);
  border-radius: 50%;
  background: rgb(255 255 255 / 80%);
  color: var(--ink);
  transition: transform 160ms ease, background 160ms ease;
}

.preview-arrow svg {
  width: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.project-card:hover .preview-arrow {
  transform: translate(2px, -2px);
  background: white;
}

.project-card-content {
  padding: 21px 22px 18px;
}

.project-title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.project-kicker {
  margin: 0 0 4px;
  color: #809087;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}

.project-card h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.75px;
  line-height: 1.35;
}

.project-number {
  padding-top: 4px;
  color: #abb4ae;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
}

.project-summary {
  min-height: 48px;
  margin: 12px 0 16px;
  color: #68756e;
  font-size: 12px;
  line-height: 1.75;
}

.stack-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-list li {
  padding: 5px 8px;
  border: 1px solid #e7ebe7;
  border-radius: 5px;
  background: #f8f9f7;
  color: #57635c;
  font-size: 9px;
  font-weight: 600;
  line-height: 1.3;
}

.project-card-footer {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 22px;
  border-top: 1px solid #edf0ed;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #859087;
  font-size: 9px;
}

.project-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #70ad87;
}

.details-toggle {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  gap: 6px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--accent-dark);
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
}

.details-toggle:hover {
  color: #124a3b;
}

.details-toggle svg {
  width: 13px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.details-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.project-details {
  padding: 1px 22px 18px;
  color: #68756e;
  font-size: 11px;
  line-height: 1.75;
}

.project-details p {
  margin: 0;
  padding-top: 13px;
  border-top: 1px dashed #e5e9e5;
}

.profile-section {
  padding: 86px 0 92px;
  border-top: 1px solid var(--line);
  background: #edf1ec;
}

.profile-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: 100px;
}

.profile-heading h2 {
  max-width: 480px;
  margin-bottom: 25px;
  font-size: clamp(30px, 3.3vw, 40px);
}

.profile-content {
  padding-top: 4px;
}

.profile-lead {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.4px;
  line-height: 1.55;
}

.profile-content > p:not(.profile-lead) {
  margin-bottom: 26px;
  color: #64716a;
  font-size: 13px;
  line-height: 1.9;
}

.capability-list {
  display: grid;
  gap: 0;
  border-top: 1px solid #d9e1d9;
}

.capability-list span {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 11px 0;
  border-bottom: 1px solid #d9e1d9;
  color: #33423a;
  font-size: 11px;
  font-weight: 600;
}

.capability-list i {
  color: #83948a;
  font-family: var(--font-display);
  font-size: 9px;
  font-style: normal;
  font-weight: 700;
}

.contact-section {
  padding: 75px 0;
}

.contact-panel {
  position: relative;
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  padding: 43px 52px;
  border-radius: 15px;
  background: var(--dark);
  color: white;
}

.contact-panel > div:first-child {
  position: relative;
  z-index: 1;
}

.eyebrow-light {
  margin-bottom: 12px;
  color: #95cbb0;
}

.contact-panel h2 {
  margin-bottom: 9px;
  font-size: clamp(28px, 3vw, 37px);
}

.contact-panel p:not(.eyebrow) {
  margin-bottom: 0;
  color: #b3c0b9;
  font-size: 12px;
}

.button-light {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
  background: #e7f1e9;
  color: #20352c;
}

.button-light:hover {
  background: white;
  box-shadow: 0 8px 18px rgb(0 0 0 / 15%);
}

.contact-decoration {
  position: absolute;
  right: 180px;
  bottom: -132px;
  color: rgb(255 255 255 / 3%);
  font-family: var(--font-display);
  font-size: 300px;
  font-weight: 800;
  letter-spacing: -30px;
  line-height: 1;
  pointer-events: none;
}

.contact-decoration span {
  color: rgb(142 211 178 / 18%);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-brand .brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  font-size: 14px;
}

.footer-brand .brand-name {
  font-size: 11px;
}

.footer-inner > p,
.footer-top {
  margin: 0;
  color: #7d8881;
  font-size: 10px;
}

.footer-top {
  font-weight: 600;
  transition: color 160ms ease;
}

.footer-top:hover {
  color: var(--accent);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #77aa92;
  outline-offset: 3px;
}

.will-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 500ms ease, transform 500ms ease;
}

.will-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(340px, 0.84fr);
    gap: 25px;
  }

  h1 {
    font-size: clamp(42px, 5vw, 56px);
  }

  .hero-visual {
    min-height: 350px;
  }

  .profile-grid {
    gap: 60px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 40px, var(--container));
  }

  .header-inner {
    min-height: 68px;
  }

  .menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid #dce2dc;
    border-radius: 8px;
    background: var(--surface);
    cursor: pointer;
  }

  .menu-toggle span {
    width: 16px;
    height: 1.5px;
    border-radius: 2px;
    background: var(--ink);
    transition: transform 160ms ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(3.25px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-3.25px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--page);
    box-shadow: 0 12px 18px rgb(32 48 40 / 5%);
  }

  .main-nav.is-open {
    display: flex;
    flex-direction: column;
  }

  .main-nav > a {
    padding: 13px 4px;
  }

  .main-nav .nav-contact {
    justify-content: center;
    margin-top: 5px;
    padding: 10px 14px;
  }

  .hero {
    padding: 64px 0 62px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero-copy {
    padding-left: 0;
  }

  .hero-intro {
    max-width: 560px;
  }

  .hero-facts {
    margin-top: 35px;
  }

  .hero-visual {
    min-height: 360px;
    margin-top: 4px;
  }

  .hero-visual::before {
    width: 290px;
    height: 290px;
  }

  .visual-window {
    width: min(390px, 78%);
  }

  .orbit-one {
    width: min(440px, 95vw);
  }

  .orbit-two {
    width: min(410px, 90vw);
  }

  .note-top {
    right: 2%;
  }

  .note-bottom {
    left: 1%;
  }

  .projects-section {
    padding: 72px 0 78px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
  }

  .section-intro {
    max-width: 490px;
  }

  .project-grid {
    gap: 14px;
  }

  .project-card-content {
    padding: 18px 17px 15px;
  }

  .project-card-footer {
    margin-inline: 17px;
  }

  .project-details {
    padding: 1px 17px 16px;
  }

  .profile-section {
    padding: 68px 0 72px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .profile-heading h2 {
    max-width: 550px;
  }

  .profile-content {
    max-width: 600px;
  }

  .contact-panel {
    min-height: 200px;
    padding: 34px;
  }

  .contact-decoration {
    right: 105px;
  }
}

@media (max-width: 540px) {
  .container {
    width: calc(100% - 36px);
  }

  .brand-name {
    font-size: 12px;
  }

  .hero {
    padding: 55px 0 48px;
  }

  .eyebrow {
    margin-bottom: 17px;
    font-size: 9px;
  }

  h1 {
    margin-bottom: 17px;
    font-size: clamp(39px, 11vw, 52px);
    letter-spacing: -2.6px;
  }

  .hero-intro {
    margin-bottom: 23px;
    font-size: 14px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
  }

  .hero-facts {
    gap: 16px;
    margin-top: 30px;
  }

  .hero-facts strong {
    font-size: 16px;
  }

  .hero-facts span:not(.fact-divider) {
    max-width: 128px;
    font-size: 9px;
  }

  .hero-visual {
    min-height: 310px;
    margin-inline: -7px;
  }

  .hero-visual::before {
    width: 245px;
    height: 245px;
  }

  .visual-window {
    width: min(350px, 84%);
  }

  .window-body {
    padding: 18px 17px 13px;
  }

  .window-greeting strong {
    font-size: 18px;
  }

  .floating-note {
    gap: 7px;
    padding: 8px 9px;
  }

  .note-top {
    top: 23px;
    right: 0;
  }

  .note-bottom {
    display: none;
    left: 0;
  }

  .visual-index {
    right: 0;
    bottom: 4px;
  }

  .projects-section {
    padding: 60px 0 65px;
  }

  .section-heading h2,
  .profile-heading h2 {
    font-size: 32px;
    letter-spacing: -1.4px;
  }

  .project-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 17px;
  }

  .filter-list {
    gap: 4px;
  }

  .filter-button {
    min-height: 32px;
    padding-inline: 9px;
    font-size: 10px;
  }

  .project-count {
    padding-left: 2px;
  }

  .project-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .project-preview {
    aspect-ratio: 1.72 / 1;
  }

  .project-card-content {
    padding: 19px 18px 15px;
  }

  .project-summary {
    min-height: 0;
    margin: 10px 0 14px;
  }

  .project-card-footer {
    margin-inline: 18px;
  }

  .project-details {
    padding-inline: 18px;
  }

  .profile-section {
    padding: 58px 0 62px;
  }

  .profile-grid {
    gap: 24px;
  }

  .profile-lead {
    font-size: 17px;
  }

  .profile-content > p:not(.profile-lead) {
    font-size: 12px;
  }

  .contact-section {
    padding: 52px 0;
  }

  .contact-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 23px;
    padding: 29px 24px;
  }

  .contact-panel h2 {
    max-width: 300px;
    font-size: 30px;
  }

  .contact-decoration {
    right: 15px;
    bottom: -96px;
    font-size: 210px;
  }

  .footer-inner {
    min-height: 78px;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    padding-block: 14px;
  }

  .footer-inner > p {
    order: 3;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

