@charset "UTF-8";
/* 1. Import Google variable-font subsets
   - latin + latin-ext cover English & Spanish
   - display=swap avoids FOIT
*/
/* 1. Google Fonts (latin + latin-ext) */
@import url("https://fonts.googleapis.com/css2?family=Big+Shoulders:opsz,wght@10..72,100..900&family=Lora:ital,wght@0,400;0,700;1,400&family=Roboto:wght@400;500;700&display=swap");
:root {
  --step--2: clamp(0.7813rem, 0.7757rem + 0.0279vw, 0.8rem); /* Step -2: 12.5px → 12.8px */
  --step--1: clamp(0.9375rem, 0.9189rem + 0.0929vw, 1rem); /* Step -1: 15px → 16px */
  --step-0: clamp(1.125rem, 1.0878rem + 0.1859vw, 1.25rem); /* Step 0: 18px → 20px */
  --step-1: clamp(1.35rem, 1.2868rem + 0.316vw, 1.5625rem); /* Step 1: 21.6px → 25px */
  --step-2: clamp(1.62rem, 1.5209rem + 0.4954vw, 1.9531rem); /* Step 2: 25.92px → 31.25px */
  --step-3: clamp(1.944rem, 1.7961rem + 0.7396vw, 2.4414rem); /* Step 3: 31.104px → 39.0625px */
  --step-4: clamp(2.3328rem, 2.119rem + 1.0691vw, 3.0518rem); /* Step 4: 37.3248px → 48.8281px */
  --step-5: clamp(2.7994rem, 2.4974rem + 1.5098vw, 3.8147rem); /* Step 5: 44.7898px → 61.0352px */
  --step-6: clamp(3.3592rem, 2.9402rem + 2.0954vw, 4.7684rem); /* Step 6: 53.7477px → 76.2939px */
  /* @link https://utopia.fyi/type/calculator?c=320,18,1.2,1396,20,1.2198,6,2,&s=0.75|0.5|0.25,1.5|2|3|4|6,s-l&g=xs,l,2xl,12 */
  --loose-title: -0.0396875rem;
  --tight-title:-0.04687rem;
  --tighter-title: -0.09375rem;
  --space-3xs: clamp(0.3125rem, 0.3125rem + 0vw, 0.3125rem);
  --space-2xs: clamp(0.5625rem, 0.5439rem + 0.0929vw, 0.625rem);
  --space-xs: clamp(0.875rem, 0.8564rem + 0.0929vw, 0.9375rem);
  --space-s: clamp(1.125rem, 1.0878rem + 0.1859vw, 1.25rem);
  --space-m: clamp(1.6875rem, 1.6317rem + 0.2788vw, 1.875rem);
  --space-l: clamp(2.25rem, 2.1757rem + 0.3717vw, 2.5rem);
  --space-xl: clamp(3.375rem, 3.2635rem + 0.5576vw, 3.75rem);
  --space-2xl: clamp(4.5rem, 4.3513rem + 0.7435vw, 5rem);
  --space-3xl: clamp(6.75rem, 6.527rem + 1.1152vw, 7.5rem);
  --space-3xs-2xs: clamp(0.3125rem, 0.2196rem + 0.4647vw, 0.625rem);
  --space-2xs-xs: clamp(0.5625rem, 0.451rem + 0.5576vw, 0.9375rem);
  --space-xs-s: clamp(0.875rem, 0.7635rem + 0.5576vw, 1.25rem);
  --space-s-m: clamp(1.125rem, 0.902rem + 1.1152vw, 1.875rem);
  --space-m-l: clamp(1.6875rem, 1.4459rem + 1.2082vw, 2.5rem);
  --space-l-xl: clamp(2.25rem, 1.8039rem + 2.2305vw, 3.75rem);
  --space-xl-2xl: clamp(3.375rem, 2.8917rem + 2.4164vw, 5rem);
  --space-2xl-3xl: clamp(4.5rem, 3.6078rem + 4.461vw, 7.5rem);
  --space-s-l: clamp(1.125rem, 0.7161rem + 2.0446vw, 2.5rem);
  --space-xs-l: clamp(0.875rem, 0.4267rem + 2.2414vw, 2.5rem);
}

:root {
  /* Neutrals */
  --neutral-dark: #393939;
  --neutral-dark-mod-1: #4D4D4D;
  --neutral-dark-mod-2: #747474;
  --neutral-light-mod-2: #EBEBEB;
  --neutral-light-mod-1: #F6F6F6;
  --neutral-light: #FFFFFF;
  --brand-primary-shade: #D7A330;
  --brand-primary: #FFBE2E;
  --brand-primary-tint: #FAE09C;
  --semantic-info: #0683DB;
  --semantic-info-tint: #DAECFA;
  --semantic-positive: #0CA626;
  --semantic-positive-tint: #DBF2DF;
  --semantic-caution: #EF7015;
  --semantic-caution-tint: #FDEADC;
  --semantic-negative: #F04150;
  --semantic-negative-tint: #FDE2E5;
  --shadow-xs: 0 1px 2px;
  --shadow-sm: 0 2px 4px;
  --shadow-md: 0 4px 8px;
  --shadow-lg: 0 8px 16px;
  --shadow-xl: 0 16px 32px;
  --shadow-2xl: 0 24px 48px;
  --shadow-opacity-subtle: rgba(57, 57, 57, 0.05);
  --shadow-opacity-light: rgba(57, 57, 57, 0.1);
  --shadow-opacity-medium: rgba(57, 57, 57, 0.15);
  --shadow-opacity-strong: rgba(57, 57, 57, 0.2);
  --shadow-opacity-heavy: rgba(57, 57, 57, 0.3);
  --shadow-subtle: var(--shadow-sm) var(--shadow-opacity-subtle);
  --shadow-soft: var(--shadow-md) var(--shadow-opacity-light);
  --shadow-medium: var(--shadow-md) var(--shadow-opacity-medium);
  --shadow-strong: var(--shadow-lg) var(--shadow-opacity-strong);
  --shadow-heavy: var(--shadow-xl) var(--shadow-opacity-heavy);
  --shadow-dramatic: var(--shadow-2xl) var(--shadow-opacity-heavy);
  --shadow-layered:
    var(--shadow-xs) var(--shadow-opacity-subtle),
    var(--shadow-md) var(--shadow-opacity-light),
    var(--shadow-lg) var(--shadow-opacity-medium);
  --shadow-brand: var(--shadow-md) rgba(255, 190, 46, 0.15);
  --shadow-info: var(--shadow-md) rgba(6, 131, 219, 0.15);
  --shadow-positive: var(--shadow-md) rgba(12, 166, 38, 0.15);
  --shadow-caution: var(--shadow-md) rgba(239, 112, 21, 0.15);
  --shadow-negative: var(--shadow-md) rgba(240, 65, 80, 0.15);
}

:root {
  --font-size-xs: var(--step--2);
  --font-size-sm: var(--step--1);
  --font-size-base: var(--step-0);
  --font-size-lg: var(--step-1);
  --font-size-xl: var(--step-2);
  --font-size-2xl: var(--step-3);
  --font-size-3xl: var(--step-4);
  --font-size-4xl: var(--step-5);
  --space-micro: var(--space-3xs);
  --space-tiny: var(--space-2xs);
  --space-sm: var(--space-s);
  --space-md: var(--space-m);
  --space-lg: var(--space-l);
  --stack-space-sm: var(--space-xs-s);
  --stack-space-md: var(--space-s-m);
  --stack-space-lg: var(--space-s-l);
  --stack-space-2xl: var(--space-2xl);
  --cluster-gap: var(--space-xs-s);
  --grid-gap: var(--space-s-l);
}

:root {
  --center-measure: 74em;
  --center-gutters: var(--space-l);
}

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

:root {
  --grid-max-width: 74rem;
  --grid-gutter: var(--space-xs-l, clamp(0.875rem, 0.4267rem + 2.2414vw, 2.5rem));
  --grid-columns: 12;
  --break-phone: 30rem;
  --break-tablet:48rem;
}

.layout {
  overflow-x: hidden;
}

.u-container {
  max-width: var(--grid-max-width);
  padding-inline: var(--grid-gutter);
  margin-inline: auto;
}

.u-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: var(--grid-gutter);
}

@media (max-width: 30em) {
  .u-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}
.above__content {
  position: relative;
  z-index: 10;
}

/* 2. Font stacks */
:root {
  --ff-display: "Big Shoulders", sans-serif;
  --ff-serif: "Lora", "Times New Roman", serif;
  --ff-sans: "Roboto", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}

/* 3. Base element defaults */
html {
  font-size: var(--step-0); /* fluid base from Utopia */
  line-height: 1.5;
}

body {
  margin: 0;
  font-family: var(--ff-serif); /* CHANGE: use Lora as default */
  background: var(--neutral-light-mod-1); /* CHANGE: light-grey background */
  color: var(--neutral-dark);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "liga", "kern";
}

/* 4. Headings */
h1, .h1 {
  font: 700 var(--step-6)/1 var(--ff-display);
  text-transform: uppercase;
  margin: 0 0 var(--space-xs);
  letter-spacing: var(--tight-title);
}

h2, .h2 {
  font: 600 var(--step-5)/1 var(--ff-display);
  margin: 0 0 var(--space-sm);
}

h3, .h3 {
  font: 500 var(--step-4)/1.1 var(--ff-display);
  margin: 0 0 var(--space-xs);
}

h4, .h4 {
  font: 500 var(--step-3)/1.1 var(--ff-display);
  margin: 0 0 var(--space-xs);
  letter-spacing: var(--tight-title);
}

h5, .h5 {
  font: 500 var(--step-2)/1.1 var(--ff-display);
  margin: 0 0 var(--space-2xs);
  letter-spacing: var(--tight-title);
}

h6, .h6 {
  font: 500 var(--step-0)/1.1 var(--ff-sans);
  margin: 0 0 var(--space-2xs);
  letter-spacing: var(--loose-title);
}

/* 5. Paragraphs & lists */
p, ul, ol, dl, blockquote {
  margin-block: 0 var(--space-s);
  max-inline-size: 65ch;
}

p {
  margin-block: 0;
}

dt, dd {
  margin-block: 0 var(--space-3xs);
  font-size: var(--step--2);
  font-family: var(--ff-sans);
  margin-inline-start: 0;
  line-height: 1.2;
}

dl, .side-content blockquote {
  break-inside: avoid-column;
  break-before: column;
}

dt {
  font-weight: 600;
}

dd:has(+ dd) {
  margin-block: 0 var(--space-xs);
}

dd:has(+ dt) {
  margin-block: 0 var(--space-s);
}

blockquote {
  font: 400 var(--step-0)/1.4 var(--ff-sans);
  margin-inline-start: 0;
  margin-top: 1.2em;
  margin-top: var(--space-xs);
}

blockquote::before {
  content: url("/images/quote.svg");
  display: block; /* Or block, depending on layout needs */
  width: 1.6rem;
  height: auto;
  margin-bottom: 0.5em; /* var(--space-xs) */
}

blockquote footer {
  font-size: var(--step--2);
  font-family: var(--ff-serif);
}

figcaption {
  font-family: var(--ff-sans);
  font-size: var(--font-size-xs);
  font-weight: 500;
  line-height: 1.2;
  margin-top: var(--space-xs);
  max-width: 40ch;
}
figcaption h6 {
  font-size: inherit;
  font-weight: 700;
}
figcaption p {
  margin-bottom: var(--space-xs);
}

/* 6. Utilities */
.lead {
  font-size: var(--step-1);
  line-height: 1.45;
}

.small {
  font-size: var(--step--1);
}

.smaller {
  font-size: var(--step--2);
}

.text-serif {
  font-family: var(--ff-serif);
}

.text-sans {
  font-family: var(--ff-sans);
}

/* 03-base / base-elements
   — standardises hr, buttons, etc. */
hr {
  border: none;
  border-block-start: 1px solid var(--neutral-dark, #393939);
  margin-block: none;
  inline-size: 100%;
}

/* Accessible primary button */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-xs) var(--space-md);
  font: 500 var(--font-size-sm)/1 var(--ff-sans);
  background: var(--brand-primary, #ffbe2e);
  border: 0;
  border-radius: 0.25rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease-in-out;
}
.button:link {
  color: var(--neutral-dark);
}
.button:hover {
  color: var(--neutral-dark-mod-1);
  background: var(--brand-primary-shade, #fae09e);
}
.button:focus-visibleFace {
  color: var(--neutral-dark-mod-1);
  background: var(--brand-primary, #ffbe2e);
  outline: 2px solid var(--semantic-caution);
  outline-offset: 2px;
  transition-duration: 0.05s;
}
.button:active {
  color: var(--neutral-dark-mod-1);
  background: var(--brand-primary, #ffbe2e);
  margin-top: 2px solid var(--brand-primary-shade, #fae09e);
  transition-duration: 0.05s;
}
.button:visited {
  color: var(--neutral-dark);
}
@media (max-width: 30rem) {
  .button {
    width: 100%;
  }
}

.button-small {
  padding: var(--space-2xs) var(--space-sm);
  font: 500 var(--font-size-xs)/1 var(--ff-sans);
}

_shadows .shadow-subtle {
  box-shadow: var(--shadow-subtle);
}

.shadow-soft {
  box-shadow: var(--shadow-soft);
}

.shadow-medium {
  box-shadow: var(--shadow-medium);
}

.shadow-strong {
  box-shadow: var(--shadow-strong);
}

.shadow-heavy {
  box-shadow: var(--shadow-heavy);
}

.shadow-dramatic {
  box-shadow: var(--shadow-dramatic);
}

.shadow-layered {
  box-shadow: var(--shadow-layered);
}

/* ---------------
   COLORED SHADOW CLASSES
   --------------- */
.shadow-brand {
  box-shadow: var(--shadow-brand);
}

.shadow-info {
  box-shadow: var(--shadow-info);
}

.shadow-positive {
  box-shadow: var(--shadow-positive);
}

.shadow-caution {
  box-shadow: var(--shadow-caution);
}

.shadow-negative {
  box-shadow: var(--shadow-negative);
}

/* ---------------
   INTERACTIVE SHADOW CLASSES
   --------------- */
.shadow-hover {
  box-shadow: var(--shadow-soft);
  transition: box-shadow 0.3s ease;
}

.shadow-hover:hover {
  box-shadow: var(--shadow-strong);
}

.shadow-lift {
  box-shadow: var(--shadow-medium);
  transition: all 0.3s ease;
}

.shadow-lift:hover {
  box-shadow: var(--shadow-heavy);
  transform: translateY(-2px);
}

.shadow-brand-lift {
  box-shadow: var(--shadow-brand);
  transition: all 0.3s ease;
}

.shadow-brand-lift:hover {
  box-shadow: var(--shadow-lg) rgba(255, 190, 46, 0.25);
  transform: translateY(-2px);
}

/* ---------------
   CONTEXTUAL SHADOW CLASSES
   --------------- */
/* Card shadows */
.card-shadow {
  box-shadow: var(--shadow-soft);
  border-radius: 8px;
  transition: box-shadow 0.2s ease;
}

.card-shadow:hover {
  box-shadow: var(--shadow-medium);
}

.card-shadow-strong {
  box-shadow: var(--shadow-medium);
  border-radius: 12px;
}

/* Button shadows */
.btn-shadow {
  box-shadow: var(--shadow-subtle);
  transition: all 0.2s ease;
}

.btn-shadow:hover {
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.btn-shadow:active {
  box-shadow: var(--shadow-xs) var(--shadow-opacity-light);
  transform: translateY(0);
}

.btn-shadow-brand {
  box-shadow: var(--shadow-brand);
  transition: all 0.2s ease;
}

.btn-shadow-brand:hover {
  box-shadow: var(--shadow-md) rgba(255, 190, 46, 0.25);
  transform: translateY(-1px);
}

/* Modal/Overlay shadows */
.modal-shadow {
  box-shadow: var(--shadow-dramatic);
}

.overlay-shadow {
  box-shadow: var(--shadow-heavy);
  backdrop-filter: blur(4px);
}

/* Dropdown shadows */
.dropdown-shadow {
  box-shadow: var(--shadow-strong);
  border-radius: 6px;
}

/* Image container shadows */
.image-shadow {
  box-shadow: var(--shadow-medium);
  border-radius: 4px;
  overflow: hidden;
}

.image-shadow-soft {
  box-shadow: var(--shadow-soft);
  border-radius: 8px;
  overflow: hidden;
}

.image-shadow-brand {
  box-shadow: var(--shadow-brand);
  border-radius: 8px;
  overflow: hidden;
}

/* ---------------
   DIRECTIONAL SHADOWS
   --------------- */
.shadow-bottom {
  box-shadow: 0 4px 4px var(--shadow-opacity-strong);
}

.shadow-top {
  box-shadow: 0 -4px 8px var(--shadow-opacity-medium);
}

.shadow-left {
  box-shadow: -4px 0 8px var(--shadow-opacity-medium);
}

.shadow-right {
  box-shadow: 4px 0 8px var(--shadow-opacity-medium);
}

/* ---------------
   INSET SHADOWS
   --------------- */
.shadow-inset {
  box-shadow: inset 0 2px 4px var(--shadow-opacity-light);
}

.shadow-inset-strong {
  box-shadow: inset 0 2px 8px var(--shadow-opacity-medium);
}

/* ---------------
   FOCUS SHADOWS
   --------------- */
.shadow-focus {
  transition: box-shadow 0.2s ease;
}

.shadow-focus:focus {
  box-shadow: var(--shadow-soft), 0 0 0 3px rgba(6, 131, 219, 0.2); /* Info color for focus ring */
  outline: none;
}

.shadow-focus-brand:focus {
  box-shadow: var(--shadow-soft), 0 0 0 3px rgba(255, 190, 46, 0.3); /* Brand color for focus ring */
  outline: none;
}

/* ---------------
   COMBINED UTILITY CLASSES
   --------------- */
.elevated-card {
  box-shadow: var(--shadow-medium);
  border-radius: 12px;
  background: var(--neutral-light);
  border: 1px solid var(--neutral-light-mod-2);
  transition: all 0.3s ease;
}

.elevated-card:hover {
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px);
}

.floating-panel {
  box-shadow: var(--shadow-layered);
  border-radius: 16px;
  background: var(--neutral-light);
  backdrop-filter: blur(8px);
}

.glass-card {
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
}

/* ---------------
   RESPONSIVE ADJUSTMENTS
   --------------- */
@media (max-width: 768px) {
  /* Reduce heavy shadows on mobile for performance */
  .shadow-heavy,
  .shadow-dramatic,
  .shadow-layered,
  .modal-shadow,
  .floating-panel {
    box-shadow: var(--shadow-medium);
  }
  /* Disable hover effects on touch devices */
  .shadow-hover:hover,
  .shadow-lift:hover,
  .shadow-brand-lift:hover,
  .card-shadow:hover,
  .elevated-card:hover {
    box-shadow: inherit;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  /* Disable transitions for users who prefer reduced motion */
  .shadow-hover,
  .shadow-lift,
  .shadow-brand-lift,
  .card-shadow,
  .btn-shadow,
  .btn-shadow-brand,
  .shadow-focus,
  .elevated-card {
    transition: none;
  }
}
.stack {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.stack > * {
  margin-block: 0;
}
.stack > * + * {
  margin-block-start: var(--stack-space, var(--space-xs));
}

.recursive > * {
  margin-block: 0;
}
.recursive > * + * {
  margin-block-start: var(--stack-space, var(--space-xs));
}

.stack--3xs {
  --stack-space: var(--space-3xs);
}

.stack--2xs {
  --stack-space: var(--space-2xs);
}

.stack--xs {
  --stack-space: var(--space-xs);
}

.stack--sm {
  --stack-space: var(--space-sm);
}

.stack--md {
  --stack-space: var(--space-md);
}

.stack--lg {
  --stack-space: var(--space-lg);
}

.stack--xl {
  --stack-space: var(--space-xl);
}

.stack--2xl {
  --stack-space: var(--space-2xl);
}

.center {
  box-sizing: content-box;
  margin-inline: auto;
  max-inline-size: var(--center-measure, 65ch);
}
.center[data-padding=true] {
  padding-inline: var(--center-gutters, var(--space-md));
}
.center[data-intrinsic=true] {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--cluster-gap, var(--space-xs-s));
  justify-content: var(--cluster-justify, flex-start);
  align-items: var(--cluster-align, center);
}

/* Cluster variations using semantic aliases */
.cluster--tight {
  --cluster-gap: var(--space-tiny);
}

.cluster--loose {
  --cluster-gap: var(--space-md);
}

.cluster--nav {
  --cluster-gap: var(--space-s-m);
}

.cluster--center {
  --cluster-justify: center;
}

.cluster--end {
  --cluster-justify: flex-end;
}

.cluster--space-between {
  --cluster-justify: space-between;
}

.cluster--baseline {
  --cluster-align: baseline;
}

.sidebar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sidebar-gap, var(--space-lg));
}

.sidebar > :first-child {
  flex-basis: var(--sidebar-width, 20rem);
  flex-grow: 1;
}

.sidebar > :last-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: var(--sidebar-threshold, 50%);
}

/* Sidebar variations using semantic aliases */
.sidebar--narrow {
  --sidebar-width: 15rem;
  --sidebar-gap: var(--space-md);
}

.sidebar--wide {
  --sidebar-width: 25rem;
  --sidebar-gap: var(--space-xl);
}

.sidebar--tight {
  --sidebar-gap: var(--space-sm);
}

.sidebar--reverse {
  flex-direction: row-reverse;
}

/* Content-first sidebar (main content on left) */
.sidebar--content-first > :first-child {
  flex-basis: 0;
  flex-grow: 999;
  min-inline-size: var(--sidebar-threshold, 50%);
}

.sidebar--content-first > :last-child {
  flex-basis: var(--sidebar-width, 20rem);
  flex-grow: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(var(--grid-min-width, 25rem), 1fr));
  gap: var(--grid-gap, var(--space-md));
  align-items: var(--grid-align, start);
}

/* Grid variations using semantic aliases */
.grid--tight {
  --grid-min-width: 12rem;
  --grid-gap: var(--space-l);
}

.grid--loose {
  --grid-gap: var(--space-xl);
}

.grid--small {
  --grid-min-width: 20rem;
  --grid-gap: var(--space-md);
}

.grid--large {
  --grid-min-width: clamp(12rem , 22rem , 30rem);
  --grid-gap: var(--space-m-l);
}

.grid--portfolio {
  --grid-min-width: 20rem;
  --grid-gap: var(--space-lg);
}

/* Grid alignment variations */
.grid--center {
  --grid-align: center;
}

.grid--end {
  --grid-align: end;
}

.grid--stretch {
  --grid-align: stretch;
}

/* Auto-fit variant for fewer items */
.grid--auto-fit {
  grid-template-columns: repeat(auto-fit, minmax(var(--grid-min-width, 25rem), 1fr));
}

.hero-text-subgrid > div {
  display: grid;
  grid-template-rows: subgrid;
  gap: 0;
  grid-row: span 2;
}
.hero-text-subgrid > div:has(:nth-child(3)) {
  grid-row: span 3;
}

.cover {
  display: flex;
  flex-direction: column;
  min-block-size: var(--cover-min-height, 100vh);
  padding: var(--cover-padding, var(--space-lg));
}

.cover > * {
  margin-block: var(--cover-spacing, var(--space-md));
}

.cover > :first-child:not([data-cover-center]) {
  margin-block-start: 0;
}

.cover > :last-child:not([data-cover-center]) {
  margin-block-end: 0;
}

.cover > [data-cover-center] {
  margin-block: auto;
}

/* Cover variations using semantic aliases */
.cover--tight {
  --cover-spacing: var(--space-sm);
  --cover-padding: var(--space-md);
}

.cover--loose {
  --cover-spacing: var(--space-xl);
  --cover-padding: var(--space-2xl);
}

.cover--hero {
  --cover-min-height: 100vh;
  --cover-spacing: var(--space-lg);
  --cover-padding: var(--space-xl);
}

.cover--section {
  --cover-min-height: 50vh;
  --cover-spacing: var(--space-md);
  --cover-padding: var(--space-lg);
}

.cover--no-pad {
  --cover-padding: 0;
}

/* Center multiple elements */
.cover--center-all > * {
  margin-block: auto;
}

.switcher {
  display: flex;
  flex-wrap: wrap;
  gap: var(--grid-gap);
  --threshold: 30rem;
}

.switcher > * {
  flex-grow: 1;
  flex-basis: calc((var(--threshold) - 100%) * 999);
}

.switcher > :nth-last-child(n+4),
.switcher > :nth-last-child(n+4) ~ * {
  flex-basis: 100%;
}

.switcher--tight {
  --threshold: 22rem;
}

header .section__inner {
  margin: var(--space-s-m) 0 0 0;
}

.site-name {
  grid-column: 4/span 4;
}

.logo {
  grid-column: 4/span 1;
  overflow: visible;
  height: var(--space-s);
  justify-self: center;
}
.logo img {
  display: block;
  margin-left: -328%;
  margin-top: -288%;
  width: 756%;
  max-width: initial;
}

.site-name {
  grid-column: 5/span 2;
  font-size: var(--step-0);
  font-weight: 600;
}

.top-nav {
  grid-column: 8/span 5;
  margin-bottom: 0;
}

.top-nav ul li {
  font-family: var(--ff-sans);
  font-size: var(--step--2);
  list-style-type: none;
  text-decoration: none;
  align-items: baseline;
  text-align: right;
  white-space: nowrap;
}

.top-nav ul li a {
  color: initial;
  text-decoration: none;
}

.has-submenu {
  position: relative;
}

.submenu {
  display: none; /* Hide submenus by default */
  margin-top: var(--space-sm);
  right: 0;
  position: absolute;
  /* Add styling for positioning, padding, etc. */
}

/* Show submenu when button is expanded */
.submenu-toggle[aria-expanded=true] + .submenu {
  display: flex;
}

/* Visually rotate the arrow when open */
.submenu-toggle[aria-expanded=true] span {
  transform: rotate(180deg);
  display: inline-block;
}

/* MOBILE */
@media (max-width: 30em) {
  header .u-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
  }
  .site-name {
    grid-column: 2/span 1;
    display: none;
  }
  .logo {
    grid-column: 1/span 1;
    overflow: visible;
    width: var(--space-lg);
    height: var(--space-lg);
    justify-self: start;
    margin: var(--space-s) 0 0 var(--space-s);
  }
  .top-nav {
    grid-column: 2/span 1;
    margin-bottom: 0;
  }
  .top-nav .box {
    width: 100%;
  }
  .has-submenu button {
    display: none;
  }
  .submenu {
    position: relative;
    display: none;
    margin-bottom: 0;
  }
}
/* footer LAYOUT */
.footer .section__container .grid--tight {
  --grid-min-width: 8rem;
}
.footer .section__container .grid--tight ul.box {
  margin: 0;
  padding-left: 0.5rem;
}
.footer .section__container .grid--tight ul li {
  list-style-type: none;
}
.footer .section__container .grid--tight ul li a {
  font-size: var(--step--2);
  font-family: var(--ff-sans);
  text-decoration: none;
  color: var(--neutral-light);
}
.footer .section__container .grid--tight ul li ul li a:link, .footer .section__container .grid--tight ul li ul li a:visited {
  color: var(--neutral-dark-mod-2);
}
.footer .section__container .grid--tight ul li ul li a:hover, .footer .section__container .grid--tight ul li ul li a:active {
  color: #bbb;
}

.footer h6 {
  font-family: var(--ff-sans);
  color: var(--brand-primary-shade);
}

.footer img.lin {
  max-width: none;
  width: var(--stack-space-md);
  height: var(--stack-space-md);
}

/* INTRO LAYOUT */
/* 12-column grid: 4 empty | 5 content | 3 empty translated to _utopia-mixins u-grid */
/* Area assignments - all content in columns 5-9 */
.intro__content {
  grid-column: 5/span 5;
}

/* TYPOGRAPHY */
.intro__title {
  color: var(--neutral-dark-mod-2);
}
.intro__title strong {
  color: var(--neutral-dark);
  font-weight: 700;
}

.intro__text {
  max-inline-size: 60ch;
}
.intro__text p {
  max-inline-size: 60ch;
}

/* DIVIDERS */
.intro__divider {
  border-color: var(--clr-text);
}

/* RESPONSIVE BEHAVIOR */
/* TABLET */
@media (max-width: 48rem) {
  .intro__content {
    grid-column: 6/span 6;
  }
}
/* PHONE */
@media (max-width: 30rem) {
  .intro__content {
    grid-column: 1/span 1;
  }
  .intro__container {
    --center-gutters: var(--space-md);
  }
}
.text-content {
  grid-column: 7/span 6;
}

.side-content {
  grid-column: 1/span 6;
}

.side-content hr {
  display: none;
}

.side-content blockquote {
  display: block;
}

.side-content blockquote h1 {
  font: 400 var(--step-0)/1.4 var(--ff-sans);
  text-transform: initial;
  letter-spacing: 0;
}

.side-content blockquote p {
  font: 700 var(--font-size-xs) var(--ff-sans);
  color: var(--neutral-dark-mod-2);
}

.side-content .square-picture {
  padding: 0 var(--stack-space);
}

.sidebar-img {
  display: block;
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 30rem) {
  .text-content,
  .side-content {
    grid-column: 1;
  }
  .content_container {
    --center-gutters: var(--space-md);
  }
}
.gallery-item {
  margin: 0;
}

.project-gallery {
  max-width: var(--grid-max-width);
  padding: var(--space-lg) 0;
}

.gallery-container {
  max-inline-size: none;
}

.image-container {
  max-width: 100%;
}
.image-container img[src$=".svg"] {
  min-width: clamp(12rem, 50.5vw, 57rem);
}

.gallery-layout-screenshots,
.gallery-layout-2columns {
  max-width: calc(54.375rem + var(--space-md) * 2 + var(--grid-gap) * 2);
  max-width: clamp(22.5rem, 54.375rem - var(--space-md) * 2, 98.125rem);
}
.gallery-layout-screenshots .grid--small,
.gallery-layout-2columns .grid--small {
  --grid-min-width: 14rem;
  --grid-min-width: clamp(12rem , 14rem , 13.5rem);
  --grid-gap: var(--space-md);
}

.gallery-background {
  background: var(--neutral-light) url("/images/bg-light.png") center repeat-x;
  background-size: cover;
}

.gallery-background-light {
  background-image: url("/images/bg-light.png");
}

.gallery-background-medium {
  background-image: url("/images/bg-medium.png");
}
.gallery-background-medium figure.gallery-item figcaption {
  color: var(--neutral-light);
}

.gallery-background-dark {
  background-image: url("/images/bg-dark.png");
}
.gallery-background-dark figure.gallery-item figcaption {
  color: var(--neutral-light);
}

.gallery-background-none {
  background-image: none;
}

.gallery-background-color-light {
  background-color: var(--neutral-light);
}

.gallery-background-color-medium {
  background-color: var(--neutral-dark-mod-2);
}

.gallery-background-color-dark {
  background-color: var(--neutral-dark-mod-1);
}

.gallery-background-color-none {
  background-color: transparent;
}

/* Gallery Cluster Styles */
.gallery-cluster {
  /* Ensure clusters behave like regular gallery items */
}

.cluster-container {
  /* Using stack class for vertical spacing */
}

/* Top + Side cluster specific styles */
.gallery-cluster--top-side .cluster-top {
  width: 100%;
}

.gallery-cluster--top-side .cluster-side {
  /* Using cluster class for horizontal distribution */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
}

.gallery-cluster--top-side .cluster-side .image-container {
  flex: 1;
  min-width: 0; /* Prevents flex items from overflowing */
}

/* Column cluster specific styles */
.gallery-cluster--column .cluster-container {
  /* Already using stack class, just ensure proper stacking */
  align-items: stretch;
}

.gallery-cluster--column .image-container {
  width: 100%;
}

/* Image container improvements for clusters */
.gallery-cluster .image-container {
  position: relative;
  overflow: hidden;
}

.gallery-cluster .image-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* Ensure figcaptions work properly with clusters */
/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-cluster--top-side .cluster-side {
    flex-direction: column;
  }
  .gallery-cluster--top-side .cluster-side .image-container {
    flex: none;
    width: 100%;
  }
}
/* hero LAYOUT */
/* Area assignments - all content in columns 5-9 */
.hero__container_devices {
  aspect-ratio: 1042/673;
  overflow: visible;
  display: flex;
  justify-content: center;
}

.hero__container_devices_position {
  grid-column: 4/span 9;
  grid-row: 1/-1;
  z-index: 10;
}

.hero__image_devices {
  max-width: none;
  aspect-ratio: 1280/700;
  width: 122.8406%;
  height: auto;
}

.hero__background_image {
  grid-column: 1/span 12;
  grid-row: 1/-1;
  align-self: stretch;
  background-color: var(--neutral-light-mod-2);
  z-index: 5;
  margin-bottom: calc(var(--space-s) * 5);
  overflow-x: visible;
  display: flex;
  justify-content: center;
}

.hero__background_image_wall {
  width: 100vw;
  align-self: stretch;
  background-image: url(/images/bg-light.png);
}

.hero__project_description {
  grid-column: 1/span 3;
  grid-row: 1/-1;
  align-self: end;
  margin-bottom: calc(var(--space-xs) + var(--space-3xs));
  z-index: 10;
}

.cta__holder {
  padding: var(--space-xs) 0;
}

/* TYPOGRAPHY */
.hero-grid p {
  font-family: var(--ff-sans);
  font-size: var(--step--1);
  line-height: 1.4;
  width: 20ch;
}
.hero-grid h3 {
  font-weight: 700;
  width: 20ch;
}
.hero-grid h5 {
  font-size: var(--step-1);
  line-height: 1.1;
  width: 20ch;
}

.hero-text-item h3, .hero-text-item h5, .hero-text-item h6 {
  width: auto;
  margin-bottom: var(--space-2xs);
  align-self: end;
}

/* DIVIDERS */
.hero__divider {
  border-color: var(--clr-text);
}

/* RESPONSIVE BEHAVIOR */
@media (max-width: 30rem) {
  .grid--hero {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
  .hero__container_devices_position {
    grid-column: 1;
  }
  .hero__container_devices {
    --center-gutters: var(--space-md);
  }
}
.hero__project_description {
  grid-column: 1/span 3;
  grid-row: 1/-1;
  align-self: end;
  margin-bottom: calc(var(--space-xs) + var(--space-3xs));
  z-index: 10;
}

.even_item .hero__project_description {
  grid-column: 10/span 3;
}

.even_item .hero__container_devices_position {
  grid-column: 1/span 9;
  grid-row: 1/-1;
  z-index: 10;
  display: flex;
  justify-content: center;
}

.hero__project_description .intro__title {
  text-transform: uppercase;
  font-weight: 700;
}

.hero__title {
  color: var(--neutral-dark-mod-2);
}
.hero__title strong {
  color: var(--neutral-dark);
}

.cta__holder {
  padding: var(--space-xs) 0;
}

/* TABLET */
@media (max-width: 48rem) {
  .project-blogitem .hero__project_description {
    grid-column: 1/span 5;
  }
  .project-blogitem .even_item .hero__project_description {
    grid-column: 7/span 5;
  }
  .project-blogitem .hero__container_devices_position {
    overflow-x: none;
    grid-column: 6/span 7;
  }
  .project-blogitem .even_item .hero__container_devices_position {
    grid-column: 1/span 6;
    justify-content: right;
  }
  .project-blogitem .hero__container_devices {
    height: 50svh;
  }
}
/* MOBILE */
@media (max-width: 30rem) {
  .project-blogitem .u-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    grid-auto-rows: auto;
    gap: var(--space-md);
  }
  .project-blogitem .hero__project_description,
  .project-blogitem .even_item .hero__project_description,
  .project-blogitem .hero__container_devices_position,
  .project-blogitem .even_item .hero__container_devices_position {
    grid-column: 1;
    z-index: unset;
  }
  .project-blogitem .hero__project_description,
  .project-blogitem .even_item .hero__project_description {
    grid-row: 2;
  }
  .project-blogitem .hero__container_devices_position,
  .project-blogitem .even_item .hero__container_devices_position {
    overflow-x: none;
    grid-row: 1;
    justify-content: right;
  }
  .project-blogitem .even_item .hero__container_devices_position {
    justify-content: right;
  }
  .project-blogitem .hero__image_devices {
    max-width: none;
    width: 122.8406%;
    height: auto;
  }
  .project-blogitem .hero__container_devices {
    --center-gutters: var(--space-md);
    height: 50svh;
  }
}
/* 16:9 Aspect Ratio Class - Crop to top-left */
.image-container.aspect-16-9 {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.image-container.aspect-16-9 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.image-container.constrain {
  aspect-ratio: 283/479;
  overflow: hidden;
}

/*# sourceMappingURL=main.css.map */
