:root {
    --primary-color: #000;
    --bg-color: #fff;
    --header-height: 60px;
    --section-spacing: 60px;
    --max-content-width: 1100px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 1rem;
    left: 1rem;
    z-index: 2147483647;
    padding: .75rem 1rem;
    color: #fff;
    background: #000;
    border-radius: .35rem;
    font: 700 1rem/1.2 Arial, sans-serif;
    transform: translateY(-200%);
}

.skip-link:focus {
    transform: translateY(0);
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
    outline: 3px solid #000;
    outline-offset: 4px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1 {
    font-size: 38px;
    margin-bottom: 7px;
    font-family: 'Helvetica Bold', sans-serif;
    font-family: 'Helvetica Bold', Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.06em;
    font-size: clamp(22px, 4vw, 56px);
    line-height: 1.05;
}

h2 {
    font-family: 'Helvetica Bold', sans-serif;
    font-size: 36px;
    margin-bottom: 10px;
    line-height: 1.1;
}

.h4 {
    font-family: 'Helvetica Bold', sans-serif;
    font-size: 14px;
    margin-bottom: 10px;
    line-height: 1.1;
}


.subtitle {
    font-family: 'Proxima Nova Semibold Italic', sans-serif;
    font-size: 14px;
}



.imageSubtitle {
    display: block;
    font-size: 0.8rem;
    font-style: italic;
    color: #444;
    text-align: center;
    margin-top: 0.5em;
    margin-bottom: 1.5em;
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    scrollbar-gutter: stable both-edges;
    overflow-y: auto;
    /* ensure a normal vertical scrollbar */
    overflow-x: hidden;
    /* avoid accidental horizontal scrollbars */

}

.header,
.breadcrumb,
.header-buttons {
    font-size-adjust: 0.5;
    /* tweak per your font (0.48–0.55 typical for neo-grotesques) */
}

html {
    scrollbar-gutter: stable both-edges;
}


body {
    font-family: 'Avenir Regular', sans-serif;
    line-height: 1.5;
    color: var(--primary-color);
    background: var(--bg-color);
    min-height: 100vh;
    padding-top: 20px;
}

li{
    font-family: 'Avenir Light', sans-serif;
    line-height: 1.5;
    color: var(--primary-color);
    background: var(--bg-color);
    font-size: smaller;
}


.titleSection {
    display: block;
    text-align: left;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top: 60px;
}

.number {
    font-size: 110px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Helvetica Neue Bold', sans-serif;

}

.design-type {
    font-family: 'Proxima Nova Bold', sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: bold;
}

p {
    font-family: 'Avenir Light', sans-serif;
    max-width: 421px;
    margin: 0 auto 29px;
    font-size: 12px;
    letter-spacing: 0.01em;
    line-height: 1.3;
    font-weight: 200;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}

/* Layout */

.header {
    position: sticky;
    /* your choice */
    z-index: 100;
    background: transparent;
}

.header-inner {
    max-width: 1200px;
    margin-inline: auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

.main {
    padding: var(--section-spacing) 0;
    max-width: var(--max-content-width);
    margin: 0 auto;
}


.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-right: 0;
    /* remove right margin */
}

.header-icon {
    width: 26px;
    height: 26px;
    margin-right: 10px;
    margin-left: 10px;
}

footer {
    position: relative;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 11px;
    text-align: center;
    padding: 20px;

}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-buttons {
    display: flex;
    gap: 15px;
}

.header-icon img {
    width: 26px;
    height: auto;
    display: block;
}

.project-list {
    gap: 20px;
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* hide native cursor (adjust for inputs if you want I-beam there) */
html,
body,
a,
button {
    cursor: none !important;
}

/* the dot */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    pointer-events: none;
    background: #000;
    /* black when NOT clickable */
    mix-blend-mode: normal;
    /* no blending in normal state */
    transform: translate(-50%, -50%) scale(1);
    transition: transform .18s ease, background-color .1s ease, mix-blend-mode .1s ease, opacity .2s ease;
    z-index: 2147483647;
    /* above everything */
}

/* when the thing under the pointer is clickable */
.custom-cursor.is-clickable {
    transform: translate(-50%, -50%) scale(3);
    /* bigger */
    background: #fff;
    /* WHITE makes difference invert */
    mix-blend-mode: difference;
    /* invert what’s behind it */
}

.custom-cursor.is-hidden {
    opacity: 0;
}


/* ===== Header bubble nav: tight + no layout shift ===== */
.header-buttons {
    display: flex;
    gap: 2px;
    /* VERY close together */
    align-items: center;
    position: relative;
}

/* Each icon reserves a SMALL fixed slot (so page never shifts) */
.header-buttons .header-icon {
    width: 24px;
    /* <-- controls how close they sit */
    height: 24px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 999px;
    overflow: visible;
    /* bubble can grow outside slot */
    transform: translateX(var(--repel, 0px));
    transition: transform .22s ease;
}

/* The bubble itself */
.header-buttons .header-icon::before {
    content: "";
    width: 10px;
    /* small dot */
    height: 10px;
    border-radius: 999px;
    background: #000;
    transition: transform .22s ease;
    transform: scale(1);
}

/* Icon (hidden until hover) */
.header-buttons .header-icon img {
    position: absolute;
    width: 18px;
    height: 18px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity .14s ease, transform .22s ease;
    pointer-events: none;
    filter: invert(1);
    /* white on black */
}

/* Hover: grow + show icon */
.header-buttons .header-icon:hover::before,
.header-buttons .header-icon:focus-visible::before {
    transform: scale(3.8);
    /* 10px * 3.8 ≈ 38px bubble */
}

.header-buttons .header-icon:hover img,
.header-buttons .header-icon:focus-visible img {
    opacity: 1;
    transform: scale(1);
}

/* ===== Home bubble (color-cycling) ===== */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* fixed slot so nothing shifts */
.home-bubble {
    width: 24px;
    height: 24px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    text-decoration: none;
    overflow: visible;
}

/* the bubble itself (animated outline + optional faint fill) */
.home-bubble::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;

    /* faint fill so you actually see the color cycling */
    background: rgba(255, 255, 255, 0.06);

    border: 1px solid #fff;
    /* will be overridden by animation */
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    /* stable */

    transition: transform .22s ease;
    animation: homeHue 6s linear infinite;
    will-change: border-color, background-color;
}

/* icon hidden until hover */
.home-bubble img {
    position: absolute;
    width: 18px;
    height: 18px;
    opacity: 0;
    transform: scale(0.9);
    transition: opacity .14s ease, transform .22s ease;
    pointer-events: none;

    /* default (not inverted) */
    filter: none;
}

/* Pause the cycling on hover/focus — freezes on current frame */
.home-bubble:hover::before,
.home-bubble:focus-visible::before {
    transform: scale(3.8);
    animation-play-state: paused;
}


.home-bubble:hover img,
.home-bubble:focus-visible img {
    opacity: 1;
    transform: scale(1);

    /* invert on hover */
    filter: invert(1);
}

/* color cycle animation (outline + subtle fill) */
@keyframes homeHue {
    0% {
        background: #f89344;
    }

    25% {
        background: #d4e6f8ff;
    }

    50% {
        background: #438dfbff;
    }

    75% {
        background: #335b93ff;
    }

    100% {
        background: #FF642F;
    }
}



/* TEXT LINKS ONLY */
a.text-link{
  color: #000;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 400;
  transition: font-weight 0.15s ease;
}

a.text-link:hover{
  -webkit-text-stroke: 0.8px black;
  font-synthesis: weight;
}

h1.name{
  margin-top: 0.7rem !important;
  margin-bottom: 0.7rem !important;
}

html, body {
  height: 100%;
  margin: 0;
}

/* flex column page layout */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* main content grows, footer sits at bottom */
main {
  flex: 1;
}

/* optional: full-width footer styling */
.site-footer {
  width: 100%;
}



/* Site-wide load reveal.
   Keep the page white until all requested resources finish loading,
   then fade the complete page in together. */
html {
  background: #fff;
}

body {
  transition: opacity 420ms ease;
}

html.site-loading body {
  opacity: 0;
}

html.site-loaded body {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  body {
    transition: none;
  }
}

/* Shared small-screen guardrails. Keep media and long labels inside the
   viewport even on older project pages with one-off markup. */
img,
video,
iframe,
svg {
  max-width: 100%;
}

@media (max-width: 760px) {
  .header-inner {
    width: 100%;
    padding-inline: 16px;
  }

  .main {
    width: 100%;
    padding-top: clamp(38px, 11vw, 64px);
    padding-bottom: clamp(44px, 12vw, 74px);
  }

  .titleSection {
    padding-inline: 16px;
  }

  h2 {
    font-size: clamp(27px, 9vw, 36px);
    overflow-wrap: anywhere;
  }

  .number {
    font-size: clamp(68px, 24vw, 100px);
  }
}

/* Touchscreens should use their native interaction model. The desktop dot
   cursor has no useful position on touch devices and can obscure controls. */
@media (hover: none), (pointer: coarse) {
  html,
  body,
  a,
  button,
  input,
  textarea,
  select,
  summary {
    cursor: auto !important;
  }

  .custom-cursor {
    display: none !important;
  }

  .header-buttons .header-icon,
  .home-bubble {
    width: 44px;
    height: 44px;
    margin: 0;
  }
}
