/* ==========================================================================
   RHØS — Studio stylesheet
   Live Squarespace visual parity + foggy-glass header
   ========================================================================== */

/* Work Sans — self-hosted (latin / latin-ext / vietnamese) */
/* vietnamese */
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/work-sans/QGYqz_wNahGAdqQ43Rh_eZDkv_1w4A.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/work-sans/QGYqz_wNahGAdqQ43Rh_eZDlv_1w4A.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/work-sans/QGYqz_wNahGAdqQ43Rh_eZDrv_0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/work-sans/QGYqz_wNahGAdqQ43Rh_eZDkv_1w4A.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/work-sans/QGYqz_wNahGAdqQ43Rh_eZDlv_1w4A.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Work Sans';
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/work-sans/QGYqz_wNahGAdqQ43Rh_eZDrv_0.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/work-sans/QGYsz_wNahGAdqQ43Rh_c6Dpp_k.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/work-sans/QGYsz_wNahGAdqQ43Rh_cqDpp_k.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/work-sans/QGYsz_wNahGAdqQ43Rh_fKDp.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/work-sans/QGYsz_wNahGAdqQ43Rh_c6Dpp_k.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/work-sans/QGYsz_wNahGAdqQ43Rh_cqDpp_k.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/work-sans/QGYsz_wNahGAdqQ43Rh_fKDp.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/work-sans/QGYsz_wNahGAdqQ43Rh_c6Dpp_k.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/work-sans/QGYsz_wNahGAdqQ43Rh_cqDpp_k.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Work Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/work-sans/QGYsz_wNahGAdqQ43Rh_fKDp.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root{
  /* Squarespace site tokens (rhos.studio) */
  --white-hsl: 0, 0%, 98.04%;
  --black-hsl: 0, 0%, 0%;
  --darkAccent-hsl: 0, 0%, 10.98%;
  --lightAccent-hsl: 0, 0%, 100%;
  --accent-hsl: 0, 0%, 86.27%;

  --paper:        hsl(var(--lightAccent-hsl));
  --paper-soft:   #f5f5f5;
  --ink:          hsl(var(--black-hsl));
  --ink-soft:     #555555;
  --line:         #e5e5e5;
  --line-strong:  #cccccc;
  --dark-accent:  hsl(var(--darkAccent-hsl));
  --overlay:      rgba(0,0,0,0.35);

  --gradientHeaderBackgroundColor: hsla(0, 0%, 100%, 1);
  --gradientHeaderNavigationColor: hsla(var(--darkAccent-hsl), 1);
  --solidHeaderBackgroundColor: hsla(var(--black-hsl), 1);
  --solidHeaderNavigationColor: hsla(var(--white-hsl), 1);
  --headerDropShadowColor: hsla(0, 0%, 0%, 1);
  --headerBorderColor: hsla(var(--lightAccent-hsl), 1);

  --f-header:  'Work Sans', sans-serif;
  --f-body:    'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --f-typing:  'Century Gothic', 'Work Sans', sans-serif;

  --heading-font-font-family: 'Work Sans', sans-serif;
  --heading-font-font-style: normal;
  --heading-font-font-weight: 700;
  --heading-font-text-transform: none;
  --heading-font-letter-spacing: -0.07em;
  --heading-font-line-height: 1.2em;
  --heading-3-size: 2.2rem;
  --heading-3-size-value: 2.2;
  --body-font-font-family: 'Work Sans', sans-serif;
  --body-font-font-weight: 500;
  --body-font-line-height: 1.6em;
  --body-font-letter-spacing: 0em;
  --base-font-size: 16px;

  --portfolio-grid-overlay-title-color: hsla(var(--black-hsl), 1);
  --portfolio-grid-overlay-title-font-font-family: var(--heading-font-font-family);
  --portfolio-grid-overlay-title-font-font-style: var(--heading-font-font-style);
  --portfolio-grid-overlay-title-font-font-weight: var(--heading-font-font-weight);
  --portfolio-grid-overlay-title-font-text-transform: var(--heading-font-text-transform);
  --portfolio-grid-overlay-title-font-letter-spacing: var(--heading-font-letter-spacing);
  --portfolio-grid-overlay-title-font-line-height: var(--heading-font-line-height);
  --portfolio-grid-overlay-title-font-font-size: var(--heading-3-size);
  --portfolio-grid-overlay-title-font-font-size-value: var(--heading-3-size-value);

  --gutter: 2vw;
  --pagePadding: 2vw;
  --max: 1400px;
  --maxPageWidth: 1400px;
  --header-fade: 20px;
  --header-vert-padding: 0.65vw;
  --header-vert-padding-mobile: 4.5vw;
  --header-content-offset: calc(var(--header-fade) * 0.5);
  --header-logo-height: 60px;
  --header-mobile-logo-max-height: 16px;
  --portfolio-grid-gap: 70px;
  --portfolio-grid-padding-y: 3.3vw;
  --global-animation-duration: 1.2s;
  --global-animation-delay: 0.6s;
  --global-animation-easing: ease;
}

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

html{
  font-size: var(--base-font-size);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body{
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--body-font-font-family);
  font-weight: var(--body-font-font-weight);
  font-size: var(--base-font-size);
  line-height: var(--body-font-line-height);
  letter-spacing: var(--body-font-letter-spacing);
  -webkit-font-smoothing: antialiased;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; height: auto; }
ul{ margin: 0; padding: 0; list-style: none; }
p{ margin: 0 0 1.1em; }
p:last-child{ margin-bottom: 0; }

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

.wrap{
  max-width: var(--maxPageWidth);
  margin: 0 auto;
  padding-left: var(--pagePadding);
  padding-right: var(--pagePadding);
}

/* ==========================================================================
   Foggy-glass gradient header (Squarespace match)
   ========================================================================== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 10;
  background: transparent;
  border: none;
  box-shadow: none;
  line-height: 1;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  pointer-events: none;
  transition: transform 140ms ease-in-out;
  --headerDropShadowColor: hsla(0, 0%, 0%, 1);
  --headerBorderColor: hsla(var(--lightAccent-hsl), 1);
  --solidHeaderBackgroundColor: hsla(var(--black-hsl), 1);
  --solidHeaderNavigationColor: hsla(var(--white-hsl), 1);
  --gradientHeaderBackgroundColor: hsla(0, 0%, 100%, 1);
  --gradientHeaderNavigationColor: hsla(var(--darkAccent-hsl), 1);
}

/* Home: overlay hero like Squarespace absolute header */
.page-home .site-header{
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
}

.header-announcement-bar-wrapper{
  position: relative;
  z-index: 2;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  padding-top: var(--header-vert-padding);
  padding-bottom: var(--header-vert-padding);
  padding-left: var(--pagePadding);
  padding-right: var(--pagePadding);
  pointer-events: auto;
}

.header-inner,
.header-bar{
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: inherit;
  gap: 24px;
  min-height: calc(clamp(28px, 3.5vw, 48px) + 0.25vw);
  pointer-events: auto;
  margin-top: var(--header-content-offset);
}

.header-width-inset .header-inner,
.header-width-inset .header-bar{
  max-width: var(--maxPageWidth);
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
}

.header-border,
.header-dropshadow,
.header-blur-background,
.header-background-gradient,
.header-blur,
.header-gradient,
.header-background-solid{
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.header-blur-background,
.header-blur{
  bottom: calc(-1 * var(--header-fade));
  height: auto;
  overflow: hidden;
  z-index: 0;
}
@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){
  .header-blur-background,
  .header-blur{
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.header-background-gradient,
.header-gradient,
.header-announcement-bar-wrapper [data-header-style="gradient"][data-gradient-type="faded"].header-background-gradient,
.header-announcement-bar-wrapper [data-header-style="gradient"][data-gradient-type="faded"].header-gradient{
  bottom: calc(-1 * var(--header-fade));
  height: auto;
  z-index: 1;
  background: linear-gradient(var(--gradientHeaderBackgroundColor), transparent);
  opacity: calc(50 * .01);
}

.header-skip-link{
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  color: #fff;
  font-family: var(--body-font-font-family);
  font-weight: 500;
  font-size: 14px;
}
.header-skip-link:focus{
  left: var(--pagePadding);
  top: 8px;
}

.logo{
  display: inline-flex;
  align-items: center;
  align-self: center;
  font-family: var(--heading-font-font-family);
  font-weight: var(--heading-font-font-weight);
  font-size: clamp(20px, 3.3vw, var(--header-logo-height));
  letter-spacing: var(--heading-font-letter-spacing);
  line-height: 1;
  white-space: nowrap;
  color: var(--gradientHeaderNavigationColor);
  position: relative;
  z-index: 3;
}

.main-nav{
  display: flex;
  align-items: center;
  align-self: center;
  gap: clamp(18px, 2.4vw, 32px);
  margin-left: auto;
}
.nav-links{
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  font-family: var(--body-font-font-family);
  font-size: 16px;
  display: flex;
  align-items: center;
}
.nav-links a{
  position: relative;
  padding: 4px 0;
  color: var(--gradientHeaderNavigationColor);
}
.nav-links a::after{
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gradientHeaderNavigationColor);
  transition: right 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after{ right: 0; }

.social-links{
  display: flex;
  align-items: center;
  align-self: center;
  gap: 12px;
}
.social-links a{
  display: inline-flex;
  width: 30px;
  height: 30px;
  align-items: center;
  justify-content: center;
  color: var(--gradientHeaderNavigationColor);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.social-links a:hover{
  opacity: 0.65;
  transform: translateY(-1px);
}
.social-links svg{
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

.nav-toggle{
  display: none;
  width: 34px;
  height: 28px;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  z-index: 3;
  padding: 0;
  align-self: center;
  flex-shrink: 0;
}
.nav-toggle .burger-line{
  position: absolute;
  left: 4px;
  right: 4px;
  height: 3px;
  background: var(--gradientHeaderNavigationColor);
  transition: transform 0.2s ease, opacity 0.2s ease, width 0.2s ease, top 0.2s ease;
}
.nav-toggle .burger-line.top{ top: 4px; width: 50%; }
.nav-toggle .burger-line.mid{ top: 12px; }
.nav-toggle .burger-line.bot{ top: 20px; width: 50%; }
.nav-toggle[aria-expanded="true"] .burger-line.top{
  top: 12px;
  width: auto;
  transform: rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .burger-line.mid{ opacity: 0; }
.nav-toggle[aria-expanded="true"] .burger-line.bot{
  top: 12px;
  width: auto;
  transform: rotate(-45deg);
}

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--line);
  padding: 20px 0 18px;
  margin-top: 0;
}
.site-footer .wrap{
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.footer-meta,
#copyright-container{
  font-family: var(--f-header);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
}
#copyright-container{
  display: flex;
  justify-content: center;
  white-space: nowrap;
}
#copyright-text,
#start-year,
#current-year,
#company-name{
  display: inline-block;
}
.footer-nav,
.footer-social{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.footer-nav a:hover,
.footer-social a:hover{ opacity: 0.65; }
.footer-social a{
  display: inline-flex;
  width: 30px;
  height: 30px;
  color: var(--ink);
}
.footer-social svg{
  width: 100%;
  height: 100%;
  fill: currentColor;
  display: block;
}

/* ==========================================================================
   Home — full-bleed hero
   ========================================================================== */
.home-hero{
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  color: #f5f5f5;
}
.home-hero-bg{
  position: absolute;
  inset: 0;
  background: #8a8070 center / cover no-repeat;
}
.home-hero-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}
.home-hero-overlay{
  position: absolute;
  inset: 0;
  background: #000;
  opacity: 0.15;
  pointer-events: none;
}
.home-hero-content{
  position: relative;
  z-index: 1;
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: clamp(48px, 8vw, 100px) var(--gutter) clamp(40px, 6vw, 80px);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(10px, 1.5vw, 18px);
}
.home-hero-brand{
  font-family: var(--heading-font-font-family);
  font-weight: var(--heading-font-font-weight);
  font-size: clamp(64px, 14vw, 160px);
  line-height: 0.95;
  margin: 0;
  letter-spacing: var(--heading-font-letter-spacing);
  color: #f7f7f7;
  transition: transform 0.5s ease-out;
  will-change: transform;
}
.home-hero-kicker,
.home-hero-sub{
  font-family: var(--heading-font-font-family);
  font-weight: var(--heading-font-font-weight);
  margin: 0;
  letter-spacing: var(--heading-font-letter-spacing);
  color: #f7f7f7;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  will-change: opacity, transform;
}
.home-hero-kicker{
  font-size: clamp(18px, 2.4vw, 28px);
}
.home-hero-sub{
  font-size: clamp(14px, 1.6vw, 18px);
}

/* ==========================================================================
   Home — typing manifesto
   ========================================================================== */
.home-typing{
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  background:
    radial-gradient(ellipse at 30% 40%, #3a3a3a 0%, transparent 55%),
    radial-gradient(ellipse at 70% 60%, #2a2a2a 0%, transparent 50%),
    linear-gradient(160deg, #111 0%, #2c2c2c 45%, #1a1a1a 100%);
  color: #fff;
  overflow: hidden;
}
.typing-container{
  width: min(100%, 1100px);
  min-height: 42vw;
  max-width: 100%;
  text-align: left;
  margin: 0;
  position: relative;
}
#typed-text{
  display: inline-block;
  font-family: Arial, sans-serif;
  position: absolute;
  left: 0;
  top: 0;
  max-width: 100%;
}
#typed-text span{
  display: inline-block;
  font-family: var(--f-typing);
  font-weight: bold;
  font-style: normal;
  font-size: 11vw;
  white-space: pre-wrap;
  line-height: 1.02;
  overflow-wrap: break-word;
}
.gradient-1{
  background: linear-gradient(45deg, #fff, #656565);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-2{
  background: linear-gradient(45deg, #000, #d6d6d6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.gradient-3{
  background: linear-gradient(45deg, #656565, #fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ==========================================================================
   Home — Instagram strip
   ========================================================================== */
.home-instagram{
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 100px);
  background: var(--paper);
}
.home-instagram-title{
  text-align: center;
  font-family: var(--heading-font-font-family);
  font-weight: var(--heading-font-font-weight);
  font-size: clamp(20px, 2.4vw, 28px);
  letter-spacing: var(--heading-font-letter-spacing);
  margin: 0 0 clamp(28px, 4vw, 48px);
}
.home-instagram-title a:hover{ opacity: 0.7; }
.ig-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}
.ig-grid a{
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--paper-soft);
  display: block;
}
.ig-grid img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(.2,.7,.3,1);
}
.ig-grid a:hover img{ transform: scale(1.05); }

/* ==========================================================================
   Inner page shell
   ========================================================================== */
.page-hero{
  padding: clamp(40px, 6vw, 72px) 0 clamp(24px, 3vw, 40px);
}
.page-title{
  font-family: var(--f-header);
  font-weight: 700;
  font-size: clamp(32px, 4.5vw, 56px);
  margin: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.page-lede{
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(15px, 1.3vw, 17.5px);
  margin-top: 18px;
}
.section{ padding: clamp(40px, 6vw, 72px) 0; }

/* ==========================================================================
   Projects index — photographic grid + circle checkbox filters
   ========================================================================== */
#projectFilter,
.filter-row{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 20px;
  margin-bottom: clamp(28px, 4vw, 48px);
  font-family: var(--f-header);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.projects-page #projectFilter{
  margin-bottom: 0;
}
#projectFilter label{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  cursor: pointer;
  color: var(--ink);
  min-height: 44px;
}
#projectFilter input[type="checkbox"]{
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  top: 2px;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 4px solid #000;
  border-radius: 50%;
  background-color: #fff;
  flex-shrink: 0;
  cursor: pointer;
}
#projectFilter input[type="checkbox"]:checked{
  background-color: #fff;
}
#projectFilter input[type="checkbox"]:checked::before{
  content: '/';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(20deg);
  color: #000;
  font-size: 30px;
  line-height: 1;
  font-weight: 500;
}

.page-section .collection-content-wrapper,
.page-section .gallery-content-wrapper{
  width: 100%;
  box-sizing: border-box;
}

.project-grid,
.portfolio-grid-overlay{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-column-gap: var(--portfolio-grid-gap);
  grid-row-gap: var(--portfolio-grid-gap);
  grid-auto-rows: min-content;
}

@media (max-width: 1100px){
  .project-grid,
  .portfolio-grid-overlay{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.tweak-portfolio-grid-overlay-width-full .portfolio-grid-overlay{
  width: 100%;
  padding-left: var(--pagePadding);
  padding-right: var(--pagePadding);
}

.tweak-portfolio-grid-overlay-height-small .portfolio-grid-overlay{
  padding-top: var(--portfolio-grid-padding-y);
  padding-bottom: var(--portfolio-grid-padding-y);
  min-height: 33vh;
}

.preScale{
  opacity: 0;
  transform: scale(0.9);
  transition-property: transform, opacity;
  transition-duration: var(--global-animation-duration);
  transition-timing-function: var(--global-animation-easing);
}

.scaleIn{
  transform: scale(1) !important;
}

.scaleIn:not([data-override-initial-global-animation]),
.fadeIn:not([data-override-initial-global-animation]),
.slideIn:not([data-override-initial-global-animation]){
  opacity: 1 !important;
}

.projects-page{
  padding-top: calc(var(--header-fade) + clamp(16px, 2vw, 28px));
  padding-bottom: 0;
}

.projects-filter-wrap{
  margin-bottom: 0;
}

.projects-page.tweak-portfolio-grid-overlay-height-small .portfolio-grid-overlay{
  padding-top: clamp(6px, 0.8vw, 12px);
}
.project-card{
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--paper-soft);
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  color: #fff;
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
}
.project-card img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(.2,.7,.3,1);
  border-bottom-left-radius: 80px;
  border-bottom-right-radius: 80px;
}
.project-card::after{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.72) 0%,
    rgba(255, 255, 255, 0.28) 28%,
    rgba(255, 255, 255, 0) 55%
  );
  opacity: 1;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.3s ease;
}
.project-card:hover img{ transform: scale(1.04); }
.project-card:hover::after{ opacity: 0.85; }
.project-card-title,
.portfolio-grid-overlay .portfolio-title{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
  z-index: 100;
  margin: 0;
  padding: 7%;
  padding-top: 7%;
  padding-bottom: 0;
  font-family: var(--portfolio-grid-overlay-title-font-font-family);
  font-style: var(--portfolio-grid-overlay-title-font-font-style);
  font-weight: var(--portfolio-grid-overlay-title-font-font-weight);
  line-height: var(--portfolio-grid-overlay-title-font-line-height);
  letter-spacing: var(--portfolio-grid-overlay-title-font-letter-spacing);
  text-transform: var(--portfolio-grid-overlay-title-font-text-transform);
  text-align: left;
  color: #000;
  font-size: calc((var(--portfolio-grid-overlay-title-font-font-size-value) - 1) * 0.012 * min(100vh, 900px) + 1rem);
}

@media screen and (min-width: 768px), screen and (orientation: landscape){
  .project-card-title,
  .portfolio-grid-overlay .portfolio-title{
    font-size: min(
      calc((var(--portfolio-grid-overlay-title-font-font-size-value) - 1) * 1.2vw + 1rem),
      max(
        calc((var(--portfolio-grid-overlay-title-font-font-size-value) - 1) * 0.012 * var(--maxPageWidth) + 1rem),
        calc(var(--portfolio-grid-overlay-title-font-font-size-value) * 1rem)
      )
    );
  }
}

/* ==========================================================================
   Project detail pages — matches Squarespace portfolio item layout
   ========================================================================== */
.project-detail{
  padding-top: calc(var(--header-vert-padding) + var(--header-fade) + 8px);
  padding-bottom: clamp(24px, 3.5vw, 44px);
}
.project-detail-intro{
  padding: 0 0 clamp(28px, 4vw, 48px);
}
.project-detail-grid{
  display: grid;
  grid-template-columns: minmax(0, 13fr) minmax(0, 11fr);
  column-gap: clamp(16px, 2vw, 28px);
  align-items: stretch;
}
.project-hero-image{
  margin: 0;
  overflow: hidden;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  background: var(--paper-soft);
  min-height: 100%;
}
.project-hero-image img{
  display: block;
  width: 100%;
  height: 100%;
  min-height: clamp(420px, 62vh, 820px);
  object-fit: cover;
  object-position: center;
}
.project-detail-copy{
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding-top: clamp(4px, 0.6vw, 12px);
}
.project-detail-title{
  font-family: var(--f-header);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 48px);
  margin: 0 0 clamp(16px, 2vw, 28px);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.project-body{
  font-size: clamp(15px, 1.15vw, 17px);
  color: var(--ink);
  line-height: 1.65;
}
.project-body p{
  margin: 0 0 1.1em;
}
.project-body p:last-child{
  margin-bottom: 0;
}
.project-meta-divider{
  border: 0;
  border-top: 1px solid var(--line);
  margin: clamp(20px, 2.5vw, 32px) 0;
  width: 100%;
}
.project-meta-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 28px) clamp(20px, 4vw, 48px);
}
.project-meta{
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
}
.project-meta dt{
  font-family: var(--f-header);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  margin: 0 0 2px;
}
.project-meta dd{
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}
.project-gallery-section{
  padding: clamp(8px, 1.5vw, 20px) 0 0;
}
.project-gallery{
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.project-gallery .gallery-row{
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 10px;
  width: 100%;
  overflow: hidden;
}
.project-gallery img{
  display: block;
  margin: 0;
  padding: 0;
  flex: 0 0 auto;
  max-width: none;
  /* Exact box matches aspect ratio — never crop portrait into landscape or vice versa */
  object-fit: fill;
  object-position: center;
  background: var(--paper-soft);
  vertical-align: top;
}
/* Pre-JS fallback: simple wrap so images are visible before layout */
.project-gallery:not(.is-justified){
  flex-direction: row;
  flex-wrap: wrap;
}
.project-gallery:not(.is-justified) img{
  flex: 1 1 220px;
  width: auto;
  height: clamp(180px, 26vw, 360px);
  object-fit: contain;
}
.project-pager{
  display: flex;
  margin-top: clamp(20px, 3vw, 36px);
  padding-top: 16px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}
.project-pager a{
  font-family: var(--f-header);
  font-weight: 600;
  font-size: 15px;
  min-height: 44px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}
.project-pager a:hover{ opacity: 0.65; }
.project-pager .pager-text{
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.project-pager .pager-label{
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 0;
}
.project-pager .pager-title{
  display: block;
  line-height: 1.25;
}
.project-pager .pager-arrow{
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}
.project-pager .pager-arrow path{
  fill: currentColor;
}
.project-pager .pager-next{ text-align: right; margin-left: auto; }
.project-pager .pager-next .pager-text{ align-items: flex-end; }
.project-pager .pager-prev .pager-text{ align-items: flex-start; }

/* Back to top — project pages */
#backToTopButton{
  position: fixed;
  bottom: 15px;
  right: 25px;
  z-index: 1000;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  border: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #000;
  cursor: pointer;
}
#backToTopButton.is-visible{ display: flex; }
#backToTopButton:hover{ background-color: rgba(255, 255, 255, 0.75); }

/* ==========================================================================
   About — Squarespace layout parity
   ========================================================================== */
.about-page{
  padding-top: calc(var(--header-vert-padding) + var(--header-fade) + 8px);
}
body.page-about{
  background-color: hsl(var(--accent-hsl));
}
body.page-about .site-footer{
  background: transparent;
  border-top-color: transparent;
}
.about-intro{
  position: relative;
  background: transparent;
  padding: clamp(28px, 4vw, 48px) 0 0;
}
.about-intro-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vw, 36px);
  max-width: min(900px, 100%);
  margin: 0 auto;
}
.about-logo-mark{
  display: block;
  width: min(280px, 42vw);
  margin: 0 auto;
}
.about-logo-mark img{
  display: block;
  width: 100%;
  height: auto;
}
.about-lede{
  width: min(760px, 100%);
  text-align: justify;
}
.about-lede h3{
  font-family: var(--f-header);
  font-weight: 500;
  font-size: clamp(18px, 2.2vw, 26px);
  line-height: 1.45;
  margin: 0 0 1.15em;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.about-lede h3:last-child{ margin-bottom: 0; }
.about-lede-brand{ color: var(--ink); font-weight: 700; }

/* Soft-corners section dividers */
.has-section-divider{
  padding-bottom: 12vw;
}
.has-section-divider .section-divider.soft-corners{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12vw;
  z-index: 0;
  pointer-events: none;
  background: var(--dark-accent);
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
  transform: scaleX(-1);
}

.about-glance{
  position: relative;
  color: #fff;
  background:
    linear-gradient(
      180deg,
      hsl(var(--darkAccent-hsl)) 0%,
      hsl(0, 0%, 22%) 42%,
      hsl(0, 0%, 72%) 78%,
      hsl(var(--accent-hsl)) 100%
    );
  padding: clamp(8px, 1.5vw, 20px) 0 0;
}
.about-glance-layout{
  display: grid;
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 14fr) minmax(0, 9fr);
  grid-template-areas:
    "title   feature1"
    "banner1 feature1"
    "copy1   feature1"
    "banner2 feature2"
    "copy2   feature2";
  column-gap: clamp(16px, 2.2vw, 28px);
  row-gap: clamp(18px, 2.4vw, 32px);
  align-items: start;
}
.about-glance-title{
  grid-area: title;
  font-family: var(--f-header);
  font-weight: 700;
  font-size: clamp(22px, 2.8vw, 34px);
  margin: 0;
  color: #fff;
}
.about-banner{
  display: block;
  width: 100%;
}
.about-banner img{
  display: block;
  width: 100%;
  height: auto;
}
.about-banner-arch{ grid-area: banner1; }
.about-banner-interior{ grid-area: banner2; }

.about-feature{
  display: block;
  overflow: hidden;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  background: rgba(255,255,255,0.08);
}
.about-feature img{
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  min-height: 280px;
}
.about-feature-flat{
  grid-area: feature1;
  align-self: stretch;
}
.about-feature-flat img{
  min-height: clamp(360px, 48vw, 620px);
  object-position: 14% 72%;
}
.about-feature-museum{
  grid-area: feature2;
  align-self: stretch;
}
.about-feature-museum img{
  min-height: clamp(320px, 40vw, 520px);
  object-position: 40% 48%;
}

.about-copy{
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  line-height: 1.65;
}
.about-copy p{ margin: 0 0 1.1em; }
.about-copy p:last-child{ margin-bottom: 0; }
.about-copy-arch{
  grid-area: copy1;
  color: #fff;
}
.about-copy-interior{
  grid-area: copy2;
  color: var(--ink);
  background: transparent;
  border-radius: 0 0 100px 100px;
  padding: clamp(14px, 2vw, 22px);
}

/* ==========================================================================
   Contact — Squarespace fluid-engine parity
   ========================================================================== */
body.page-contact{
  background-color: hsl(var(--accent-hsl));
}
body.page-contact .site-footer{
  background: transparent;
  border-top-color: transparent;
}
.contact-page{
  padding-top: calc(var(--header-vert-padding) + var(--header-fade) + 8px);
}
.contact-section{
  background: transparent;
  padding: clamp(20px, 3vw, 36px) 0 clamp(40px, 6vw, 72px);
}
.contact-layout{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.contact-col-main{
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.2vw, 28px);
  min-width: 0;
}
.contact-heading{
  font-family: var(--f-header);
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 52px);
  letter-spacing: -0.07em;
  line-height: 1.15;
  margin: 0 0 0.45em;
}
.contact-lede{
  font-size: clamp(16px, 1.35vw, 19.2px);
  line-height: 1.6;
  color: var(--ink);
  margin: 0;
  max-width: 42ch;
}
.contact-social{
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-social a{
  display: flex;
  width: 20px;
  height: 20px;
  color: var(--ink);
}
.contact-social svg{
  width: 100%;
  height: 100%;
  fill: currentColor;
  transform: scale(2);
  transform-origin: center;
}
.contact-social a:hover{ opacity: 0.55; }

/* Accordion (Squarespace-style) */
.accordion-items{
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
}
.accordion-divider{
  height: 1px;
  background: var(--ink);
  opacity: 1;
}
.accordion-item__title-wrapper{
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}
.accordion-item__click-target{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 30px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  color: inherit;
  font: inherit;
}
.accordion-item__title{
  font-family: var(--f-header);
  font-weight: 700;
  font-size: clamp(16px, 1.35vw, 19.2px);
  letter-spacing: -0.04em;
  line-height: 1.3;
}
.accordion-icon{
  position: relative;
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}
.plus__horizontal-line,
.plus__vertical-line{
  position: absolute;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.plus__horizontal-line{
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  transform: translateY(-50%);
}
.plus__vertical-line{
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
}
.accordion-item.is-open .plus__vertical-line{
  transform: translateX(-50%) scaleY(0);
  opacity: 0;
}
.accordion-item__dropdown[hidden]{ display: none; }
.accordion-item__description{
  padding: 0 0 30px;
  max-width: 70%;
  font-size: clamp(14.5px, 1.15vw, 16px);
  line-height: 1.6;
}
.accordion-item__description p{
  margin: 0 0 0.35em;
}
.accordion-item__description p:last-child{ margin-bottom: 0; }
.accordion-item__description a:hover{ opacity: 0.65; }

.contact-careers{
  font-size: clamp(14.5px, 1.15vw, 16px);
  line-height: 1.65;
  color: var(--ink);
}
.contact-careers p{ margin: 0 0 1.15em; }
.contact-careers p:last-child{ margin-bottom: 0; }
.contact-careers a{
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-careers a:hover{ opacity: 0.65; }

.contact-col-aside{
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  min-width: 0;
}
.contact-map{
  width: 100%;
  aspect-ratio: 4 / 5.2;
  min-height: 420px;
  background: var(--paper-soft);
  overflow: hidden;
}
.contact-map iframe{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(100%);
}
.contact-logo-mark{
  display: block;
  width: min(180px, 42%);
  margin-left: auto;
}
.contact-logo-mark img{
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px){
  .contact-layout{ grid-template-columns: 1fr; }
  .contact-map{
    aspect-ratio: 16 / 12;
    min-height: 280px;
  }
  .contact-logo-mark{
    width: min(220px, 55%);
    margin: 0 auto;
  }
  .accordion-item__description{ max-width: 100%; }
  .ig-grid{ grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px){
  .about-page,
  .contact-page{
    padding-top: calc(var(--header-vert-padding-mobile) + var(--header-fade) + 12px);
  }
  .about-logo-mark{ width: min(220px, 70vw); }
  .about-lede{ text-align: left; }
  .about-glance-layout{
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "banner1"
      "feature1"
      "copy1"
      "banner2"
      "feature2"
      "copy2";
  }
  .about-feature img,
  .about-feature-flat img,
  .about-feature-museum img{
    min-height: 0;
    aspect-ratio: 16 / 10;
    height: auto;
  }
  .about-copy-interior{
    border-radius: 0 0 60px 60px;
  }
  .has-section-divider{ padding-bottom: 16vw; }
  .has-section-divider .section-divider.soft-corners{ height: 16vw; }

  .project-detail{
    padding-top: calc(var(--header-vert-padding-mobile) + var(--header-fade) + 12px);
  }
  .project-detail-grid{
    grid-template-columns: 1fr;
    row-gap: clamp(16px, 4vw, 28px);
  }
  /* Title → image → body → meta (Squarespace mobile order) */
  .project-detail-copy{ display: contents; }
  .project-detail-title{ order: 1; margin-bottom: 0; }
  .project-hero-image{ order: 2; }
  .project-hero-image img{ min-height: 0; aspect-ratio: 3 / 4; height: auto; }
  .project-body{ order: 3; }
  .project-meta-divider{ order: 4; margin: 8px 0 4px; }
  .project-meta-grid{ order: 5; }
}

@media (max-width: 720px){
  .header-announcement-bar-wrapper{
    padding-top: var(--header-vert-padding-mobile);
    padding-bottom: var(--header-vert-padding-mobile);
  }
  .logo{
    font-size: var(--header-mobile-logo-max-height);
  }
  .header-inner,
  .header-bar{
    min-height: 30px;
    margin-top: calc(var(--header-fade) * 0.4);
  }
  .nav-toggle{ display: block; pointer-events: auto; }
  .main-nav{
    position: fixed;
    inset: 0;
    top: 0;
    padding-top: calc(var(--header-vert-padding-mobile) + 48px);
    background: rgba(255,255,255,0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding-left: var(--pagePadding);
    padding-right: var(--pagePadding);
    gap: 30px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 2;
    pointer-events: auto;
  }
  .main-nav.is-open{ transform: translateX(0); }
  .nav-links{
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    font-size: 22px;
  }
  .social-links{ gap: 18px; }
  .social-links a{ width: 32px; height: 32px; }
  .ig-grid{ grid-template-columns: repeat(2, 1fr); }
  .home-hero{ min-height: 60vh; }
  .filter-row{ gap: 4px 16px; }
}

@media only screen and (max-width: 768px){
  #projectFilter{
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px 14px;
  }
  #projectFilter label{
    margin-right: 0;
    margin-bottom: 0;
    min-height: 0;
    padding: 2px 0;
    gap: 6px;
  }
}

@media only screen and (max-width: 767px){
  .projects-page{
    padding-top: calc(var(--header-vert-padding-mobile) + var(--header-fade) + 12px);
  }
  .project-grid,
  .portfolio-grid-overlay{
    grid-template-columns: 1fr;
    grid-column-gap: clamp(24px, 6vw, 70px);
    grid-row-gap: clamp(24px, 6vw, 70px);
  }

  .tweak-portfolio-grid-overlay-width-full .portfolio-grid-overlay{
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .projects-page.tweak-portfolio-grid-overlay-height-small .portfolio-grid-overlay{
    padding-top: clamp(8px, 2vw, 14px);
  }

  .project-card{
    border-bottom-left-radius: clamp(32px, 12vw, 80px);
    border-bottom-right-radius: clamp(32px, 12vw, 80px);
  }
  .project-card img{
    border-bottom-left-radius: clamp(32px, 12vw, 80px);
    border-bottom-right-radius: clamp(32px, 12vw, 80px);
  }

  #typed-text span{
    margin-bottom: 5px !important;
    font-size: 19.15vw !important;
  }
}
