/* ------------ GLOBAL RESETS */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-size: 0px;
  scroll-behavior: smooth;
}


/* ------------ UNIVERSAL */

body {
  background-color: var(--surface_white);
}

button {
  border: none;
  background-color: transparent;
  outline: none;
  text-align: left;
}


/* ------------ ROOT ------------------------------------------------------------------------------------------------ */
/* ------------ ROOT / REM SIZE */

:root {
  font-size: 14px;


/* ------------ VARIABLES ------------------------------------------------------------------------------------------------ */
/* ------------ VARIABLES / PRIMITIVES */
/* ------------ VARIABLES / PRIMITIVES / COLOURS */


  --primitive_colour_white: #FCFDFD;
  --primitive_colour_black10: #F4F4F3;
  --primitive_colour_black11: #F0F0F0;
  --primitive_colour_sand: #E2DED9;
  --primitive_colour_black50: #9C9E9D;
  --primitive_colour_black75: #747474;
  --primitive_colour_black100: #393732;
  --primitive_colour_black100_opacity: #393732EE;


/* ------------ VARIABLES / PRIMITIVES / TYPE */

  --primitive_type_family_figtree: "Figtree", sans-serif;
  --primitive_type_family_atkinson: "Atkinson Hyperlegible Mono", sans-serif;


/* ------------ VARIABLES / PRIMITIVES / SIZING */

  --primitive_sizing_nil: 0px;
  --primitive_sizing_min: 1px;
  --primitive_sizing_eighth: 0.125rem;
  --primitive_sizing_quarter: 0.25rem;
  --primitive_sizing_half: 0.5rem;
  --primitive_sizing_base: 1rem;
  --primitive_sizing_baseX1-5: 1.5rem;
  --primitive_sizing_baseX2: 2rem;
  --primitive_sizing_baseX3: 3rem;
  --primitive_sizing_baseX4: 4rem;
  --primitive_sizing_baseX5: 5rem;
  --primitive_sizing_baseX6: 6rem;
  --primitive_sizing_baseX7: 7rem;
  --primitive_sizing_baseX8: 8rem;
  --primitive_sizing_baseX9: 9rem;
  --primitive_sizing_baseX10: 10rem;
  --primitive_sizing_baseX15: 15rem;
  --primitive_sizing_baseX20: 20rem;
  --primitive_sizing_baseX25: 25rem;


/* ------------ VARIABLES / PRIMITIVES / RATIOS */

  --primitive_ratio_x_a: 16;
  --primitive_ratio_x_b: 8;
  --primitive_ratio_x_c: 4;
  --primitive_ratio_y: 9;


/* ------------ VARIABLES / PRIMITIVES / STROKE */

/* --TBC


/* ------------ VARIABLES / SEMANTICS */
/* ------------ VARIABLES / SEMANTICS / COLOURS */
/* ------------ VARIABLES / SEMANTICS / COLOURS / SURFACE */

  --surface_white: var(--primitive_colour_white);
  --surface_light: var(--primitive_colour_black10);
  --surface_sand: var(--primitive_colour_sand);
  --surface_dark: var(--primitive_colour_black100);
  --surface_dark_opacity: var(--primitive_colour_black100_opacity);


/* ------------ VARIABLES / SEMANTICS / COLOURS / BACKGROUND */

  --bg_onWhite_strong: var(--primitive_colour_black100);
  --bg_onWhite_subtle: var(--primitive_colour_black10);

  --bg_onLight_strong: var(--primitive_colour_black100);
  --bg_onLight_subtle: var(--primitive_colour_white);

  --bg_onSand_strong: var(--primitive_colour_black100);
  --bg_onSand_subtle: var(--primitive_colour_black10);

  --bg_onDark_strong: var(--primitive_colour_sand);
  --bg_onDark_subtle: var(--primitive_colour_black75);


/* ------------ VARIABLES / SEMANTICS / COLOURS / TEXT */

  --text_onWhite_strong: var(--primitive_colour_black100);
  --text_onWhite_default: var(--primitive_colour_black75);
  --text_onWhite_subtle: var(--primitive_colour_black50);

  --text_onLight_strong: var(--primitive_colour_black100);
  --text_onLight_default: var(--primitive_colour_black75);
  --text_onLight_subtle: var(--primitive_colour_black50);

  --text_onSand_strong: var(--primitive_colour_black100);
  --text_onSand_default: var(--primitive_colour_black100);
  --text_onSand_subtle: var(--primitive_colour_black75);

  --text_onDark_strong: var(--primitive_colour_black10);
  --text_onDark_default: var(--primitive_colour_black50);
  --text_onDark_subtle: var(--primitive_colour_black50);

    
/* ------------ VARIABLES / SEMANTICS / TYPE */

/* --TBC

/* ------------ VARIABLES / SEMANTICS / RATIOS */

  --ratio_wide_x: var(--primitive_ratio_x_a);
  --ratio_wide_y: var(--primitive_ratio_y);
  --ratio_square_x: var(--primitive_ratio_x_b);
  --ratio_square_y: var(--primitive_ratio_x_b);
  --ratio_tall_x: var(--primitive_ratio_x_c);
  --ratio_tall_y: var(--primitive_ratio_y);


/* ------------ VARIABLES / SEMANTICS / SIZING */

  --jsInitials_mob: var(--primitive_sizing_baseX4);
  --jsInitials_default: var(--primitive_sizing_baseX5);
  --icon_small: var(--primitive_sizing_baseX1-5);
  --icon_default: var(--primitive_sizing_baseX2);
  --icon_large: var(--primitive_sizing_baseX3);
  --footerButtonSmall: var(--primitive_sizing_baseX3);
  --footerButtonLarge: var(--primitive_sizing_baseX8);


/* ------------ VARIABLES / SEMANTICS / SPACING */

  --padding_none: var(--primitive_sizing_nil);
  --padding_smallest: var(--primitive_sizing_quarter);
  --padding_small: var(--primitive_sizing_half);
  --padding_mid: var(--primitive_sizing_base);
  --padding_large: var(--primitive_sizing_baseX2);
  --padding_larger: var(--primitive_sizing_baseX4);
  --padding_largest: var(--primitive_sizing_baseX10);



/* ------------ VARIABLES / SEMANTICS / STROKE */

  --stroke_thin:  var(--primitive_sizing_min);
  --stroke_default:  var(--primitive_sizing_eighth);
  --stroke_thick:  var(--primitive_sizing_quarter);



/* ------------ VARIABLES / SEMANTICS / RADIUS */

  --radius_square: var(--primitive_sizing_nil);
  --radius_quarter: var(--primitive_sizing_quarter);
  --radius_half: var(--primitive_sizing_half);
  --radius_full: var(--primitive_sizing_base);

}



/* ------------ TOKENS --------------------------------------------------------------------------------------------------- */
/* ------------ TOKENS / COLOURS */
/* ------------ TOKENS / COLOURS / SURFACE */

.surfaceWhite {
  background-color: var(--surface_white);
}

.surfaceLight {
  background-color: var(--surface_light);
}

.surfaceSand {
  background-color: var(--surface_sand);
}

.surfaceDark {
  background-color: var(--surface_dark);
}


/* ------------ TOKENS / COLOURS / BACKGROUND */

/* - onWhite - */

.surfaceWhite > .bgStrong {
  background-color: var(--bg_onWhite_strong);
}

.surfaceWhite > .bgSubtle {
  background-color: var(--bg_onWhite_subtle);
}

/* - onLight - */

.surfaceLight > .bgStrong {
  background-color: var(--bg_onLight_strong);
}

.surfaceLight > .bgSubtle {
  background-color: var(--bg_onLight_subtle);
}

/* - onSand - */

.surfaceSand > .bgStrong {
  background-color: var(--bg_onSand_strong);
}

.surfaceSand > .bgSubtle {
  background-color: var(--bg_onSand_subtle);
}

/* - onDark - */

.surfaceDark > .bgStrong {
  background-color: var(--bg_onDark_strong);
}

.surfaceDark > .bgSubtle {
  background-color: var(--bg_onDark_subtle);
}


/* ------------ TOKENS / COLOURS / TEXT / ON SURFACE */

/* - onWhite - */

.surfaceWhite > .textStrong {
  color: var(--text_onWhite_strong);
}

.surfaceWhite > .textDefault {
  color: var(--text_onWhite_default);
}

.surfaceWhite > .textSubtle {
  color: var(--text_onWhite_subtle);
}

/* - onLight - */

.surfaceLight > .textStrong {
  color: var(--text_onLight_strong);
}

.surfaceLight > .textDefault {
  color: var(--text_onLight_default);
}

.surfaceLight > .textSubtle {
  color: var(--text_onLight_subtle);
}

/* - onSand - */

.surfaceSand > .textStrong {
  color: var(--text_onSand_strong);
}

.surfaceSand > .textDefault {
  color: var(--text_onSand_default);
}

.surfaceSand > .textSubtle {
  color: var(--text_onSand_subtle);
}

/* - onDark - */

.surfaceDark > .textStrong {
  color: var(--text_onDark_strong);
}

.surfaceDark > .textDefault {
  color: var(--text_onDark_default);
}

.surfaceDark > .textSubtle {
  color: var(--text_onDark_subtle);
}


/* ------------ TOKENS / COLOURS / TEXT / ON BACKGROUND */

/* - bgStrong onWhite - */

.surfaceWhite > .bgStrong > .textStrong {
  color: var(--text_onDark_strong);
}

.surfaceWhite > .bgStrong > .textDefault {
  color: var(--text_onDark_default);
}

.surfaceWhite > .bgStrong > .textSubtle {
  color: var(--text_onDark_subtle);
}


/* - bgSubtle onWhite - */

.surfaceWhite > .bgSubtle .textStrong {
  color: var(--text_onLight_strong);
}

.surfaceWhite > .bgSubtle .textDefault {
  color: var(--text_onLight_default);
}

.surfaceWhite > .bgSubtle .textSubtle {
  color: var(--text_onLight_subtle);
}


/* - bgStrong onLight - */

.surfaceLight > .bgStrong > .textStrong {
  color: var(--text_onDark_strong);
}

.surfaceLight > .bgStrong > .textDefault {
  color: var(--text_onDark_default);
}

.surfaceLight > .bgStrong > .textSubtle {
  color: var(--text_onDark_subtle);
}


/* - bgSubtle onLight - */

.surfaceLight > .bgSubtle .textStrong {
  color: var(--text_onLight_strong);
}

.surfaceLight > .bgSubtle .textDefault {
  color: var(--text_onLight_default);
}

.surfaceLight > .bgSubtle .textSubtle {
  color: var(--text_onLight_subtle);
}


/* - bgStrong onSand - */

.surfaceSand > .bgStrong > .textStrong {
  color: var(--text_onDark_strong);
}

.surfaceSand > .bgStrong > .textDefault {
  color: var(--text_onDark_default);
}

.surfaceSand > .bgStrong > .textSubtle {
  color: var(--text_onDark_subtle);
}


/* - bgSubtle onSand - */

.surfaceSand > .bgSubtle .textStrong {
  color: var(--text_onLight_strong);
}

.surfaceSand > .bgSubtle .textDefault {
  color: var(--text_onLight_default);
}

.surfaceSand > .bgSubtle .textSubtle {
  color: var(--text_onLight_subtle);
}


/* - bgStrong onDark - */

.surfaceDark > .bgStrong > .textStrong {
  color: var(--text_onSand_strong);
}

.surfaceDark > .bgStrong > .textDefault {
  color: var(--text_onSand_default);
}

.surfaceDark > .bgStrong > .textSubtle {
  color: var(--text_onSand_subtle);
}


/* - bgSubtle onDark - */

.surfaceDark > .bgSubtle .textStrong {
  color: var(--primitive_colour_white);
}

.surfaceDark > .bgSubtle .textDefault {
  color: var(--primitive_colour_white);
}

.surfaceDark > .bgSubtle .textSubtle {
  color: var(--primitive_colour_white);
}




/* ------------ SECTIONS --------------------------------------------------------------------------------------------------- */
/* ------------ SECTIONS / COLUMNS */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 599px) {
  .workColumns {column-count: 1;}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .workColumns {column-count: 2;}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 1300px) {
  .workColumns {column-count: 3;}
} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 2400px) {
  .workColumns {column-count: 4;}
} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 3000px) {
  .workColumns {column-count: 4;}
}

/* ------------ SECTIONS / COLUMNS-ConDes */

/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 599px) {
  .workColumns.ConDes {column-count: 1;}
}

/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {
  .workColumns.ConDes {column-count: 2;}
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 1300px) {
  .workColumns.ConDes {column-count: 2;}
} 

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 2400px) {
  .workColumns.ConDes {column-count: 3;}
} 

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 3000px) {
  .workColumns.ConDes {column-count: 3;}
}


/* ------------ SECTIONS / SIZING */

main {
  width: 100vw;
  min-height: 100dvh;
  position: relative;
}

.maxWidth {
  max-width: 1200px;
}

footer {
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
}

.infoFull, .mainMenu, .homeFull {
  min-height: calc(100dvh - var(--padding_mid) - var(--padding_mid));
}

.mainMenu {
  flex-grow: 1; 
}

.mainMenu {
  max-height: calc(100dvh - var(--padding_mid) - var(--padding_mid));
}

.fillHeight {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}


/* ------------ SECTIONS / STACKING */

main {
    z-index: 1;
}

footer {
  z-index: 0;
}

.portOverlay {
  z-index: 2;
}

#mainMenuJsCall {
  z-index: 3;
}

#burgerMenu  {
  z-index: 4;
}


/* ------------ SECTIONS / SPACING */

main, #mainMenuJsCall {
  padding: var(--padding_mid);
}

nav {
  padding: var(--padding_mid);
}

footer {
  padding-top: var(--padding_large);
  padding-bottom: var(--padding_large);
}

.textHeader, .filterTags, .workColumns, .portMain, .infoContent {
  padding-left: var(--padding_mid);
  padding-right: var(--padding_mid);
}

.footerContent, .portInfo { 
  padding-left: calc(var(--padding_mid) + var(--padding_mid));
  padding-right: calc(var(--padding_mid) + var(--padding_mid));
}


.mainMenu .footerContent {
  padding-left: var(--padding_none);
  padding-right: var(--padding_none);
}

.textHeader {
  padding-bottom: var(--padding_larger);
}

.workColumns {
  column-fill: balance;
  column-gap: var(--padding_mid);
}

.infoContent {
  padding-bottom: var(--padding_mid);
}

.infoFull .footerContent { 
  padding-left: var(--padding_mid);
  padding-right: var(--padding_mid);
}

.workSection {
  margin-top: 140px;
  padding-bottom: 40px;
  padding-top: 100px;
}

.mainMenu .textSection {
  padding-left: var(--padding_larger);
  padding-right: var(--padding_larger);
  padding-bottom: var(--padding_large);
}

.homeFull .infoContent {
  padding-left: calc(var(--padding_mid) + var(--padding_small));
  padding-right: calc(var(--padding_mid) + var(--padding_small));
}


/* ------------ SECTIONS / SPACING / OFFSET */

.workSection > .workColumns, .workSection > .portMain {
  margin-top: -200px;
}


/* ------------ SECTIONS / LAYOUT */

.portMain article {
  display: inline-block;
}

.halfWidth p {
  width: 100%;
}

.quarterWidth p {
  width: 100%;
}


/* ------------ SECTIONS / ALIGNMENTS */

.textHeader, .filterTags, .workColumns, .portInfo, .portMain, .footerContent, .infoContent {
  margin: 0 auto;
}

.footerContent { 
  display: flex;
  flex-direction: column-reverse;
  justify-content: space-between;
  gap: var(--padding_large);
}

.mainMenu .footerContent { 
  display: flex;
  flex-direction: row-reverse;
  text-align: right;
}

.mainMenuList {
  text-align: right;
}

.infoFull .profileButton {
  justify-content: flex-start;
}

/* ------------ SECTIONS / COLOUR */

main, footer {
  background-color: var(--surface_white);
}

.workSection, .infoFull {
  background-color: var(--surface_light);
}



#mainMenuJsCall {
  background-color: var(--surface_dark_opacity);
}

.mainMenu {
  background-color: var(--surface_sand);
}


/* ------------ SECTIONS / STYLING */

.workSection, .infoFull, .mainMenu, .homeFull  {
  border-radius: var(--radius_full);
}


/* ------------ SECTIONS / INTERACTION */
/* ------------ SECTIONS / INTERACTION / OVERLAY */

dialog {
  border: none;
  outline: none;
}

#portOverlayAudiGood, #portOverlayBrisAirWalk, #portOverlayEntInnsChalk, #portOverlayGlamIamAdv, #portOverlayLexusGatwick, #portOverlayMartinJoking, #portOverlayMercMeasure, #portOverlayInchStandards, #portOverlayMiniChallenge, #portOverlaySomCareRipplies, #portOverlayVwNasty, #portOverlayVwJobDone, #portOverlayXographSystems, #portOverlayBoyCat, #portOverlayRoad2OutstandingPres, #portOverlayDunkleysPrezi {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--surface_white);
  cursor: pointer;
}

.portOverlayClose {
  position: absolute;
  top: calc(var(--padding_mid) + var(--padding_mid));
  right: calc(var(--padding_mid) + var(--padding_mid));
}

.portOverlayText {
  position: absolute;
  bottom: calc(var(--padding_mid) + var(--padding_mid));
  left: calc(var(--padding_mid) + var(--padding_mid));
}

.scrollContainer {
  overflow-x: auto;
  white-space: nowrap;
  padding: 20px;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: left;
  align-items: center;
  gap: var(--padding_mid);
  scroll-snap-type: x mandatory;
  -ms-overflow-style: none;
  scrollbar-width: none; 
}

.scrollContainer::-webkit-scrollbar {
  display: none;
}

.scrollContent {
  display: inline-block;
  scroll-snap-align: center;
}

.scrollContent img {
  width: 80vmin;
  height: 80vmin;
  object-fit: cover;
  border-radius: var(--radius_half);
}

.scrollContent video {
  width: 80vmin;
  height: 80vmin;
  object-fit: cover;
  border-radius: var(--radius_half);
}

.freezeScroll {
  overflow: hidden;
  scrollbar-gutter: stable; 
}

#mainMenuJsCall {
  display: none;
  position: fixed;
  top: 0vw;
  left: 0vw;
  justify-content: flex-end;
  width: 100vw;
}




/* ------------ SECTIONS / INTERACTION / FILTER TAGS */


.hiddenWithFilter {
  display: none;
}

.filterButton.active { 
  background-color: var(--bg_onWhite_strong);
  color: var(--text_onDark_strong);
}



/* ------------ ELEMENTS --------------------------------------------------------------------------------------------------- */
/* ------------ ELEMENTS / SIZING */
/* ------------ ELEMENTS / SIZING / TYPE */


h1, h2, h3, h4, h5, h6, p, a, button, li {
  font-family: var(--primitive_type_family_figtree);
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.4em;
  margin-bottom: 0.2em;
  text-wrap: balance;
}


h1 {
    font-size: 2.7rem;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: -0.01em;
}

a.oversize {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.2em;
    letter-spacing: -0.01em;
}

p.oversize {
    font-size: 2rem;
    font-weight: 400;
    line-height: 1.3em;
    letter-spacing: -0.01em;
}

h2, p.intro, .intro a {
    font-size: 1.3rem;
    font-weight: 400;
    line-height: 1.5em;
    letter-spacing: 0em;
    margin-bottom: 0.4em;
}

.homeContent p.intro, .homeContent .intro a {
    font-size: 1.3rem;
}


h3 {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.005em;
}

h4 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.005em;
}

h5 {
    font-size: 1.2rem;
    font-weight: 400;
    letter-spacing: 0.002em;
}

/* h6 {
    font-size: 1.1rem;
    font-weight: 300;
} */

p, a, button, li {
    font-size: 1.1rem;
    font-weight: 350;
}

.filterButton {
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--primitive_type_family_atkinson);
  letter-spacing: 0.02em;
  word-spacing: -0.25em; 
  text-transform: uppercase;
}

p.caption {
  font-size: 0.7rem;
  font-weight: 500;
  font-family: var(--primitive_type_family_atkinson);
  letter-spacing: 0.04em;
  word-spacing: -0.25em; 
  text-transform: uppercase;
}

.mainMenuList li {
  list-style-type: none;
}

/* ------------ ELEMENTS / SIZING / IMAGES  */

.jsInitials img {
  height: var(--jsInitials_mob);
}

.menuButton svg, .linkedInLink svg, .footerButtonIcon svg, .goToIndexButton svg, .portOverlayClose svg, .withHeaderIcon svg, .calComLink svg, .tallyFormLink svg  {
  height: var(--icon_default);
  width: var(--icon_default);
}

.withHeaderIcon svg  {
  height: var(--icon_small);
  width: var(--icon_small);
}

.workColumns svg  {
  height: 18px;
  width: 18px;
}

.workColumns img {
  width:100%;
}

.workColumns video {
  width:100%;
}

.portHero {
  width:100%;
  aspect-ratio: 2 / 3;
}

.portHero img, .portMain img, .footerButtonImage img, .profileImage img {
  width:100%; 
  height:100%;
  object-fit: cover;
}

.portHero video, .portMain video, .footerButtonImage video, .profileImage video {
  width:100%; 
  height:100%;
  object-fit: cover;
}


.portItemFull {
  width: 100%;
  aspect-ratio: var(--ratio_wide_x) / var(--ratio_wide_y);
}

.portItemHalf {
  width: 100%;
  aspect-ratio: var(--ratio_square_x) / var(--ratio_square_y);
}

.portItemQuarter {
  width: 100%;
  aspect-ratio: var(--ratio_tall_x) / var(--ratio_tall_y);
}

.footerButtonImage, .footerButtonIcon, .profileImage {
  height: var(--footerButtonLarge);
}

.footerButtonImage, .profileImage {
  aspect-ratio: var(--ratio_wide_x) / var(--ratio_wide_y);
}

.footerButtonImage {
  flex-shrink: 2;
  min-width: 0; 
  min-height: 0;
}

.blipper img {
  height: 280px;
  width: 100%;
}


/* ------------ ELEMENTS / SPACING */

.filterButton {
  padding: 0.5em 1em 0.5em 1em;
}

.workColumns figcaption { 
  margin-top: var(--padding_small);
  padding-bottom: var(--padding_large);
}

.portInfo {
  margin-top: var(--padding_larger);
  margin-bottom: var(--padding_largest);
}

.portMain article {
  padding: var(--padding_small);
}

.footerContact a {
  margin-top: none;
}

.footerButton {
  padding: var(--padding_small);
}

.profileButton {
  margin-bottom: var(--padding_large);
}

.footerButtonText {
  padding-left: var(--padding_large);
  padding-right: var(--padding_mid);
}

.footerButtonText.footerButtonImageIsIcon {
  padding-right: var(--padding_mid);
}

.footerContact p:nth-child(2){
  margin-bottom: var(--padding_mid);
}

.infoFull .footerContent {
  margin-top: var(--padding_large);
}

.infoFull {
  padding-bottom: var(--padding_large);
}

.footerButtonIcon {
  padding-right: var(--padding_large);
}

.workColumns h4 {
  margin-bottom: 0em;
}

.mainMenuList li {
  margin-bottom: var(--padding_small);
}

ul {
  margin-top: var(--padding_large);
}

li {
  margin-left: var(--padding_large);
}

/* ------------ ELEMENTS / LAYOUT */

#burgerMenu  {
  position: fixed;
  top: calc(0px + var(--padding_mid) + var(--padding_mid));
  right: calc(0px + var(--padding_mid) + var(--padding_mid));
}

.filterTags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: var(--padding_smallest);
}

.portInfo {
  display: flex;
  flex-direction: column;
}

.portInfo h3 {
  padding-right: var(--padding_large);
}

.footerButton {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.footerButtonStack {
  display: flex;
  flex-direction: column;
  gap: var(--padding_mid);
}

.goToIndexButton svg {
  position: fixed;
  bottom: calc(0px + var(--padding_mid) + var(--padding_mid));
  right: calc(0px + var(--padding_mid) + var(--padding_mid));
}

.canBeFiltered button {
  display: inline-block;
  width: 100%;
}

.canBeFiltered {
  break-inside: avoid;
}

.canBeFiltered picture img {
  width: 100%;
  height: auto;
  display: block; 
}

.canBeFiltered picture {
  width: 100%;
  height: auto;
  display: block; 
}

.workColumns article figure figcaption {
  display: flex;
  flex-direction: column;
}

.workColumns article figure figcaption section {
  display: inline-flex;
  justify-content: flex-start;
  align-items: flex-end;

  gap: var(--padding_smallest);
}

.workColumns article figure figcaption svg {
  flex-shrink: 0;
  margin-left: 2px;
  margin-bottom: 6px;
}

.ctaBlock {
  display: flex;
  flex-direction: column;
  gap: var(--padding_small);
  margin-top: var(--padding_large);
}

.ctaDescription {
  display: flex;
  flex-direction: row;
  align-items: center;
}



/* ------------ ELEMENTS / ALIGNMENTS */

nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.mainMenu nav {
  width: 100%;
  justify-content: flex-end;
}

.footerButton, .profileButton {
  display: flex;
  justify-content: space-between;
}

.footerButtonIcon {
  display: flex;
  align-items: center;
}

.homeFull {
  display: flex;
  flex-direction: column; 
}

.homeContent {
  display: flex;
  flex-direction: column; 
  flex: 1;
  align-items: space-between;

}

.blipper {
  display: flex;
  flex-direction: row; 
  justify-content: center;
  align-items: center;
  flex: 1;
}

/* ------------ ELEMENTS / STYLING */

.workColumns img, .portHero img, .portMain img {
  border-radius: var(--radius_half);
}

.workColumns video, .portHero video, .portMain video {
  border-radius: var(--radius_half);
}

.footerButton {
  border-radius: var(--radius_full);
}

.footerButton img, .profileButton img {
  border-radius: var(--radius_half);
}

.footerButton video, .profileButton video {
  border-radius: var(--radius_half);
}

.filterButton {
  border-radius: var(--radius_quarter);
}

.footerButtonImage {
  border-radius: var(--radius_half);
}

::-moz-selection { /* Code for Firefox */
  color: #E4572E;
  background: #F0F66E;
}

::selection {
  color: #E4572E;
  background: #F0F66E;
}


/* ------------ ELEMENTS / COLOUR */
/* ------------ ELEMENTS / COLOUR / TYPE DEFAULTS */

h1 {
  color: var(--text_onLight_strong);
}

h2 {
  color: var(--text_onLight_default);
}

h3 {
  color: var(--text_onLight_strong);
}

h4 {
  color: var(--text_onLight_strong);
}

h5 {
  color: var(--text_onLight_default);
}

p, li {
  color: var(--text_onLight_default);
}

p.intro {
  color: var(--text_onLight_default);
}

p.oversize,a.oversize {
  color: var(--text_onLight_strong);
}

a {
  color: var(--text_onLight_default);
}

button {
  color: var(--text_onLight_strong);
}


/* ------------ ELEMENTS / COLOUR / TYPE TWEAKS FROM DEFAULT */

.footerContent p, .footerContent h5 {
  color: var(--text_onLight_strong);
}

.difference h2, .difference p, .difference article p a {
  color: #FFFFFF;
}

.difference p.intro a {
  text-decoration-color: #FFFFFF;
}

.difference {
  mix-blend-mode: difference;
}


/* ------------ ELEMENTS / COLOUR / BACKGROUND */

.footerButton {
  background-color: var(--surface_light);
}

svg {
  fill: var(--text_onLight_strong);
}

.workColumns article svg, .withHeaderIcon svg  {
  fill: var(--text_onLight_subtle);
}

.filterButton {
  background-color: var(--bg_onWhite_subtle);
}

#burgerMenu, .goToIndexButton svg {
  fill: #FFFFFF;
  mix-blend-mode: difference;
}


/* ------------ ELEMENTS / INTERACTIONS */

a, button {
  cursor: pointer;
}

p.intro a {
  font-weight: 600;
  color: var(--text_onLight_strong);
  border-radius: var(--radius_quarter);
  text-decoration: underline;
  text-decoration-thickness: var(--stroke_default);
  text-decoration-color: var(--surface_sand);
  text-underline-offset: var(--padding_smallest);  
}

p.intro a:hover {
  text-decoration-color: var(--surface_dark);
}

.homeFull p.intro a{
  text-decoration-color: #FFFFFF55;
}

.homeFull p.intro a:hover {
  text-decoration-color: #FFFFFFFF;
}

a:link {
  color: inherit;
  text-decoration: none;
  background-color: none;
}

a:visited {
  text-decoration: none;
  background-color: none;
}

a:hover {
  color: var(--text_onLight_strong);
  text-decoration: underline;
  background-color: none;
}

a.linkedInLink:hover, a.calComLink:hover, a.tallyFormLink:hover {
  text-decoration: none;
}

a:active {
  color: inherit;
  text-decoration: underline;
  background-color: none;
}

.filterButton:hover {
  background-color: var(--bg_onWhite_strong);
  color: var(--text_onDark_strong);
}

.workColumns article:hover h5, .workColumns article:focus h5, .workColumns article:active h5 {
  color: var(--text_onLight_strong);
  text-decoration: underline;
}

.workColumns article:hover h4, .workColumns article:focus h4, .workColumns article:active h4 {
  color: var(--text_onLight_strong);
  text-decoration: underline;
}

.footerButton:hover, .footerButton:focus, .footerButton:active {
  background-color: var(--primitive_colour_black11);
}

.footerButton:hover svg, .footerButton:focus svg, .footerButton:active svg {
  fill: var(--primitive_colour_dark);
}

.workColumns article:hover svg, .workColumns article:focus svg, .workColumns article:active svg {
  fill: var(--primitive_colour_dark);
}

.ctaBlock a:hover p, .ctaBlock a:focus p, .ctaBlock a:active p {
  color: var(--text_onLight_strong);
  text-decoration: underline;
}


/* ------------ ELEMENTS / TIMINGS */

#homeSwap {
  transition: background-color 1s ease;
}




