/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme {
  :root,
  :host {
    --font-sans:
      ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono:
      ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: 0.25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *,
  :after,
  :before,
  ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }
  html,
  :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(
      --default-font-family,
      ui-sans-serif,
      system-ui,
      sans-serif,
      "Apple Color Emoji",
      "Segoe UI Emoji",
      "Segoe UI Symbol",
      "Noto Color Emoji"
    );
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1,
  h2,
  h3,
  h4,
  h5,
  h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b,
  strong {
    font-weight: bolder;
  }
  code,
  kbd,
  samp,
  pre {
    font-family: var(
      --default-mono-font-family,
      ui-monospace,
      SFMono-Regular,
      Menlo,
      Monaco,
      Consolas,
      "Liberation Mono",
      "Courier New",
      monospace
    );
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(
      --default-mono-font-variation-settings,
      normal
    );
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub,
  sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol,
  ul,
  menu {
    list-style: none;
  }
  img,
  svg,
  video,
  canvas,
  audio,
  iframe,
  embed,
  object {
    vertical-align: middle;
    display: block;
  }
  img,
  video {
    max-width: 100%;
    height: auto;
  }
  button,
  input,
  select,
  optgroup,
  textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not ((-webkit-appearance: -apple-pay-button))) or
    (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }
    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }
  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button,
  input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }
  ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button {
    height: auto;
  }
  ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer components;
@layer utilities {
  .visible {
    visibility: visible;
  }
  .relative {
    position: relative;
  }
  .start {
    inset-inline-start: var(--spacing);
  }
  .table {
    display: table;
  }
}
:root {
  --cream: #f6ede2;
  --paper: #fffaf4;
  --plum: #3f5145;
  --aubergine: #3a2f2a;
  --rose: #b86f52;
  --blush: #dce4d5;
  --coral: #c9785b;
  --line: #d8c9b8;
  --muted: #6b6258;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: var(--cream);
  color: var(--aubergine);
  font-family: var(--font-body), Arial, sans-serif;
  margin: 0;
  font-size: 16px;
  line-height: 1.6;
}
a {
  color: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
}
.skip-link {
  z-index: 100;
  background: var(--aubergine);
  color: #fff;
  border-radius: 0.5rem;
  padding: 0.7rem 1rem;
  position: fixed;
  top: 1rem;
  left: 1rem;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.site-header {
  border-bottom: 1px solid var(--line);
  z-index: 50;
  background: var(--cream);
  justify-content: space-between;
  align-items: center;
  height: 88px;
  padding: 0 max(5vw, 2rem);
  display: flex;
  position: sticky;
  top: 0;
}
@supports (color: color-mix(in lab, red, red)) {
  .site-header {
    background: color-mix(in srgb, var(--cream) 92%, transparent);
  }
}
.site-header {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.brand {
  font-family: var(--font-display), Georgia, serif;
  letter-spacing: -0.03em;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}
.desktop-nav {
  align-items: center;
  gap: clamp(1.6rem, 3vw, 3.2rem);
  display: flex;
}
.desktop-nav a {
  padding: 0.5rem 0.1rem;
  font-weight: 600;
  text-decoration: none;
  position: relative;
}
.desktop-nav a:after {
  content: "";
  background: var(--coral);
  height: 2px;
  transition:
    left 0.2s,
    right 0.2s;
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
}
.desktop-nav a:hover:after,
.desktop-nav a:focus-visible:after {
  left: 0;
  right: 0;
}
.desktop-nav .nav-contact {
  border: 1px solid var(--plum);
  border-radius: 999px;
  padding: 0.55rem 1.15rem;
}
.desktop-nav .nav-contact:after {
  display: none;
}
.desktop-nav .nav-contact:hover {
  background: var(--plum);
  color: #fff;
}
.mobile-menu {
  display: none;
  position: relative;
}
.hero {
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: clamp(2rem, 5vw, 6rem);
  min-height: calc(100vh - 88px);
  padding: clamp(4rem, 8vw, 7.5rem) max(5vw, 2rem) 2rem;
  display: grid;
  position: relative;
  overflow: hidden;
}
.hero-copy {
  z-index: 2;
  max-width: 720px;
  position: relative;
}
.eyebrow {
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin: 0 0 1.5rem;
  font-size: 0.78rem;
  font-weight: 700;
}
.eyebrow span {
  color: var(--coral);
}
h1,
h2 {
  font-family: var(--font-display), Georgia, serif;
  letter-spacing: -0.045em;
  margin: 0;
  font-weight: 600;
  line-height: 0.98;
}
h1 {
  max-width: 800px;
  font-size: clamp(4rem, 6.3vw, 7.25rem);
}
h2 {
  font-size: clamp(3.2rem, 5vw, 5.7rem);
}
.coral {
  color: var(--coral);
}
.hero-intro {
  max-width: 620px;
  margin: 2.1rem 0 0;
  font-size: clamp(1.08rem, 1.45vw, 1.35rem);
  line-height: 1.65;
}
.actions {
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.2rem;
  display: flex;
}
.button {
  border-radius: 0.65rem;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    transform 0.18s,
    box-shadow 0.18s,
    background 0.18s;
  display: inline-flex;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 12px 25px #c9785b38;
}
.button-primary:hover {
  background: #b96549;
  box-shadow: 0 16px 30px #c9785b4d;
}
.button-secondary {
  border: 1px solid var(--plum);
}
.button-secondary:hover {
  background: var(--blush);
}
.hero-art {
  align-self: center;
  min-height: 520px;
  position: relative;
}
.orbit {
  border: 1px solid #b86f5280;
  border-radius: 50%;
  position: absolute;
}
.orbit-one {
  inset: 4% -12% 6% 2%;
}
.orbit-two {
  width: 520px;
  height: 520px;
  top: 25%;
  left: -15%;
}
.shape {
  position: absolute;
}
.shape-blush {
  background: linear-gradient(140deg, #dce4d540, var(--blush));
  border-radius: 50% 0 0 50%;
  width: 43%;
  height: 48%;
  top: 11%;
  left: 17%;
}
.shape-rose {
  background: var(--rose);
  opacity: 0.85;
  border-radius: 0 70% 0 0;
  width: 45%;
  height: 45%;
  top: 19%;
  right: 4%;
}
.shape-plum {
  background: var(--plum);
  border-radius: 0 0 70%;
  width: 57%;
  height: 48%;
  bottom: 0;
  right: -5%;
}
.dot-grid {
  background-image: radial-gradient(var(--coral) 1.4px, transparent 1.4px);
  opacity: 0.6;
  background-size: 16px 16px;
  width: 110px;
  height: 160px;
  position: absolute;
  top: 7%;
  right: 0;
}
.data-card {
  z-index: 3;
  background: #fffaf4f5;
  border: 1px solid #3f514514;
  border-radius: 1rem;
  width: min(68%, 370px);
  padding: 1.35rem 1.5rem 1rem;
  position: absolute;
  top: 31%;
  left: 14%;
  box-shadow: 0 20px 50px #3f51452e;
}
.card-label {
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
}
.status {
  background: var(--blush);
  color: var(--plum);
  border-radius: 99px;
  padding: 0.15rem 0.55rem;
  font-size: 0.7rem;
}
.data-card p {
  color: var(--muted);
  margin: 1rem 0 0;
  font-size: 0.77rem;
}
.data-card strong {
  color: var(--coral);
  font-size: 2.1rem;
  line-height: 1.2;
}
.growth {
  color: var(--rose);
  margin-left: 0.5rem;
  font-size: 0.74rem;
}
.data-card svg {
  width: 100%;
  margin-top: 0.65rem;
  overflow: visible;
}
.grid-line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1px;
}
.chart-line {
  fill: none;
  stroke: var(--coral);
  stroke-width: 3px;
  stroke-linecap: round;
}
.chart-points circle {
  fill: var(--coral);
  stroke: #fff;
  stroke-width: 2px;
}
.chart-labels {
  color: var(--muted);
  justify-content: space-between;
  margin-top: -0.5rem;
  font-size: 0.65rem;
  display: flex;
}
.signal-strip {
  border: 1px solid var(--line);
  background: #fffaf48c;
  border-radius: 1rem;
  grid-column: 1/-1;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 1rem;
  display: grid;
}
.signal-strip span {
  border-right: 1px solid var(--line);
  flex-direction: column;
  padding: 1.25rem 1.5rem;
  display: flex;
}
.signal-strip span:last-child {
  border: 0;
}
.signal-strip b {
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.3rem;
}
.signal-strip small {
  color: var(--muted);
  font-size: 0.76rem;
}
.section {
  padding: clamp(6rem, 10vw, 10rem) max(5vw, 2rem);
}
.section-heading {
  max-width: 830px;
  margin-bottom: clamp(3.5rem, 6vw, 6rem);
}
.section-heading > p:last-child {
  max-width: 680px;
  color: var(--muted);
  margin: 2rem 0 0;
  font-size: 1.12rem;
}
.work-section {
  background: var(--paper);
}
.featured-project {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 7rem);
  padding: clamp(3rem, 5vw, 5.5rem) 0;
  display: grid;
}
.project-kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--rose);
  font-size: 0.73rem;
  font-weight: 700;
}
.project-kicker span {
  color: var(--coral);
}
h3 {
  font-family: var(--font-display), Georgia, serif;
  margin: 0.7rem 0 1.3rem;
  font-size: clamp(1.75rem, 2.7vw, 3rem);
  line-height: 1.05;
}
.project-copy > p:not(.project-kicker) {
  color: var(--muted);
  max-width: 630px;
}
.project-tags,
.skills-grid ul {
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.7rem 0;
  padding: 0;
  list-style: none;
  display: flex;
}
.project-tags li,
.skills-grid li {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  font-size: 0.76rem;
}
.project-proof {
  border-left: 3px solid var(--coral);
  flex-direction: column;
  margin-top: 2rem;
  padding-left: 1rem;
  display: flex;
}
.project-proof span {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--rose);
  font-size: 0.65rem;
  font-weight: 700;
}
.project-proof strong {
  margin-top: 0.35rem;
}
.project-visual {
  background: var(--plum);
  color: #fff;
  border-radius: 1.2rem;
  align-self: center;
  padding: clamp(1rem, 2.5vw, 2rem);
  box-shadow: 0 25px 60px #3f514533;
}
.visual-top {
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
}
.recording {
  color: #f2d4c7;
}
.frame-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  display: grid;
}
.frame {
  background: linear-gradient(145deg, #8fa08d, #34443a);
  border: 1px solid #ffffff1a;
  border-radius: 0.55rem;
  min-height: 95px;
  position: relative;
  overflow: hidden;
}
.frame-main {
  background: radial-gradient(circle at 50% 40%, #b8c3b3, #45584b 55%, #263129);
  grid-column: 1/-1;
  min-height: 220px;
}
.frame i {
  aspect-ratio: 1;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  width: 45%;
  position: absolute;
  top: 18%;
  left: 27%;
  box-shadow: inset 0 0 20px #ffffff14;
}
.frame span {
  z-index: 2;
  color: #f4eee6;
  font-size: 0.65rem;
  position: absolute;
  bottom: 0.45rem;
  left: 0.55rem;
}
.frame.flagged {
  border-color: var(--coral);
}
.visual-stats {
  color: #d9dfd4;
  justify-content: space-between;
  margin-top: 1rem;
  font-size: 0.72rem;
  display: flex;
}
.visual-stats b {
  color: #fff;
  font-size: 1.05rem;
  display: block;
}
.next-projects {
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
  display: grid;
}
.next-projects article {
  border: 1px solid var(--line);
  min-height: 320px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  position: relative;
}
.next-projects article > p:first-of-type {
  color: var(--rose);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 700;
}
.next-projects h3 {
  max-width: 420px;
}
.next-projects article > p:last-of-type {
  color: var(--muted);
  max-width: 520px;
}
.project-number {
  font-family: var(--font-display);
  color: var(--blush);
  font-size: 4rem;
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}
.coming-soon {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--coral);
  font-size: 0.7rem;
  font-weight: 700;
  position: absolute;
  bottom: 1.5rem;
}
.skills-section {
  background: var(--blush);
}
.narrow {
  max-width: 900px;
}
.skills-grid {
  border-top: 1px solid #3f514533;
  grid-template-columns: repeat(2, 1fr);
  display: grid;
}
.skills-grid article {
  border-bottom: 1px solid #3f514533;
  padding: 2.5rem 3rem 2.5rem 0;
}
.skills-grid article:nth-child(odd) {
  border-right: 1px solid #3f514533;
}
.skills-grid article:nth-child(2n) {
  padding-left: 3rem;
}
.skill-number {
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 700;
}
.skills-grid h3 {
  margin: 0.6rem 0 1rem;
}
.skills-grid article > p {
  color: var(--muted);
  max-width: 540px;
}
.skills-grid li {
  border-color: #3f514538;
}
.about-section {
  background: var(--paper);
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem 7rem;
  display: grid;
}
.about-copy {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}
.about-copy .about-intro {
  color: var(--aubergine);
  font-size: 1.28rem;
}
.values-list {
  grid-column: 2;
}
.values-list article {
  border-top: 1px solid var(--line);
  grid-template-columns: 60px 1fr;
  gap: 1rem;
  padding: 1.5rem 0;
  display: grid;
}
.values-list article > span {
  color: var(--coral);
  font-weight: 700;
}
.values-list h3 {
  margin: 0 0 0.35rem;
  font-size: 1.4rem;
}
.values-list p {
  color: var(--muted);
  margin: 0;
}
.contact-section {
  background: var(--plum);
  color: #fff;
  text-align: center;
  margin: 0;
  padding: clamp(6rem, 10vw, 10rem) max(5vw, 2rem);
}
.contact-section .eyebrow {
  color: #e7c8b7;
}
.contact-section h2 {
  max-width: 900px;
  margin: 0 auto;
}
.contact-section > p:not(.eyebrow) {
  color: #eee4da;
  max-width: 610px;
  margin: 2rem auto;
  font-size: 1.1rem;
}
.button-light {
  background: var(--cream);
  color: var(--plum);
}
.button-light:hover {
  background: var(--coral);
  color: #fff;
}
footer {
  background: var(--aubergine);
  color: #fff;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2.5rem max(5vw, 2rem);
  display: grid;
}
footer p {
  text-align: center;
  color: #d9dfd4;
  margin: 0;
  font-size: 0.78rem;
}
footer p:last-child {
  text-align: right;
}
@media (width<=980px) {
  .desktop-nav {
    display: none;
  }
  .mobile-menu {
    display: block;
  }
  .mobile-menu summary {
    cursor: pointer;
    border: 1px solid var(--plum);
    border-radius: 99px;
    padding: 0.45rem 0.9rem;
    font-weight: 700;
    list-style: none;
  }
  .mobile-menu summary::-webkit-details-marker {
    display: none;
  }
  .mobile-menu nav {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 0.8rem;
    width: 210px;
    padding: 0.5rem;
    display: grid;
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    box-shadow: 0 14px 35px #3f514529;
  }
  .mobile-menu nav a {
    border-radius: 0.4rem;
    padding: 0.7rem 0.8rem;
    font-weight: 600;
    text-decoration: none;
  }
  .mobile-menu nav a:hover {
    background: var(--blush);
  }
  .hero {
    grid-template-columns: 1fr;
    padding-top: 5rem;
  }
  .hero-art {
    justify-self: center;
    width: 100%;
    max-width: 700px;
    min-height: 470px;
  }
  .signal-strip {
    grid-template-columns: 1fr 1fr;
  }
  .signal-strip span:nth-child(2) {
    border-right: 0;
  }
  .signal-strip span:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .featured-project,
  .about-section {
    grid-template-columns: 1fr;
  }
  .values-list {
    grid-column: 1;
  }
  footer {
    text-align: center;
    grid-template-columns: 1fr;
  }
  footer p:last-child {
    text-align: center;
  }
}
@media (width<=640px) {
  .site-header {
    height: 74px;
    padding-inline: 1.2rem;
  }
  .brand {
    font-size: 1.45rem;
  }
  .hero,
  .section,
  .contact-section {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }
  .hero {
    padding-top: 4rem;
  }
  h1 {
    font-size: clamp(3.45rem, 16vw, 5rem);
  }
  h2 {
    font-size: clamp(2.8rem, 13vw, 4rem);
  }
  .actions {
    flex-direction: column;
  }
  .button {
    width: 100%;
  }
  .hero-art {
    transform-origin: 50%;
    min-height: 390px;
    transform: scale(0.94);
  }
  .data-card {
    width: 78%;
    left: 8%;
  }
  .signal-strip {
    grid-template-columns: 1fr;
  }
  .signal-strip span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .signal-strip span:nth-child(3) {
    border-bottom: 1px solid var(--line);
  }
  .featured-project {
    padding-top: 2.5rem;
  }
  .frame-main {
    min-height: 170px;
  }
  .next-projects,
  .skills-grid {
    grid-template-columns: 1fr;
  }
  .next-projects article {
    min-height: 300px;
  }
  .skills-grid article,
  .skills-grid article:nth-child(2n) {
    border-right: 0;
    padding: 2rem 0;
  }
  .values-list article {
    grid-template-columns: 42px 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  :before,
  :after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* ================================================================
   PORTFOLIO PROJECT LAYOUT
   ================================================================ */

.data-projects {
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.data-projects article {
  background: linear-gradient(145deg, var(--paper), var(--cream));
  border-color: var(--line);
}

.portfolio-group + .portfolio-group {
  margin-top: 5rem;
}

.portfolio-group > h3 {
  margin-bottom: 0.5rem;
}

.portfolio-group > p {
  max-width: 680px;
  margin: 0 0 2rem;
  color: var(--muted);
}

.web-group {
  border-top: 1px solid var(--line);
  padding-top: 4rem;
}

@media (max-width: 980px) {
  .data-projects {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .portfolio-group + .portfolio-group {
    margin-top: 3.5rem;
  }
}

/* ================================================================
   FOOTER LEGAL LINKS
   ================================================================ */

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 0.78rem;
  color: #d9dfd4;
}

.footer-legal a,
.legal-footer a {
  text-underline-offset: 0.25em;
}

/* ================================================================
   COOKIE NOTICE
   ================================================================ */

.cookie-notice {
  position: fixed;
  z-index: 1000;
  right: 1.5rem;
  bottom: 1.5rem;
  width: min(520px, calc(100vw - 3rem));
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  color: var(--aubergine);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(58, 47, 42, 0.22);
}

.cookie-copy {
  flex: 1;
}

.cookie-copy p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
}

.cookie-copy .cookie-title {
  margin-bottom: 0.3rem;
  font-family: var(--font-display), Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.cookie-copy a {
  color: var(--plum);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.cookie-button {
  min-height: 44px;
  padding: 0.65rem 1rem;
  color: white;
  background: var(--coral);
  border: 0;
  border-radius: 0.55rem;
  font-weight: 700;
  cursor: pointer;
}

.cookie-button:hover {
  background: #b96549;
}

/* ================================================================
   PRIVACY AND TERMS PAGES
   ================================================================ */

.legal-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem max(5vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.back-home {
  font-weight: 700;
  text-underline-offset: 0.25em;
}

.legal-main {
  width: min(880px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(5rem, 9vw, 8rem) 0;
}

.legal-main > h1,
.error-main > h1 {
  max-width: 860px;
  font-size: clamp(3.4rem, 8vw, 6.5rem);
}

.legal-updated {
  margin: 1.5rem 0 4rem;
  color: var(--muted);
}

.legal-content {
  display: grid;
  gap: 0;
}

.legal-content section {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.08;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
}

.legal-content p {
  margin: 0 0 1rem;
}

.legal-content ul {
  margin: 0;
  padding-left: 1.3rem;
  list-style: disc;
}

.legal-content a {
  color: var(--plum);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.legal-footer {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 2rem;
  color: #d9dfd4;
  background: var(--aubergine);
  font-size: 0.82rem;
}

/* ================================================================
   404 PAGE
   ================================================================ */

.error-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 78% 25%,
      rgba(201, 120, 91, 0.22),
      transparent 28%
    ),
    radial-gradient(circle at 18% 78%, rgba(63, 81, 69, 0.2), transparent 30%),
    var(--cream);
}

.error-main {
  min-height: 100vh;
  width: min(900px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 5rem 0;
}

.error-number {
  margin-bottom: -1.5rem;
  color: var(--blush);
  font-family: var(--font-display), Georgia, serif;
  font-size: clamp(8rem, 25vw, 17rem);
  font-weight: 700;
  line-height: 0.75;
}

.error-main > p:not(.eyebrow) {
  max-width: 640px;
  margin: 2rem 0;
  color: var(--muted);
  font-size: 1.1rem;
}

@media (max-width: 980px) {
  footer {
    grid-template-columns: 1fr;
  }

  .footer-legal {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .cookie-notice {
    right: 1rem;
    bottom: 1rem;
    width: calc(100vw - 2rem);
    align-items: stretch;
    flex-direction: column;
  }

  .cookie-button {
    width: 100%;
  }

  .legal-header {
    min-height: 74px;
    padding-inline: 1.2rem;
  }
}
